FiCl Dev Blog한국어

[PR #63] Built the Admin Code Issue, Revoke, and Delivery Confirmation Path

Work completed 2026-10-20 07:06 KST · Published 2026-10-20 08:19 KST · AI model used for the work Claude Sonnet 5.5

[PR #63] Built the Admin Code Issue, Revoke, and Confirm PathSummary figure. Built the server path for admin code issue, revoke, and delivery confirmation, tests firstPR #63Admin Code Issue, Revoke,and Delivery ConfirmationTests written first, then code that passes themOwner chosethe test fixClaude wrotethe tests andcodeTestsBuildStuckFixLearnⅠTests46 failing testswritten firstClaude Haiku 5.5session draftedthem1Tests46 failing testsⅡBuildCode returnedonce on issueIssue and log inone transaction2IssueCode shown only once3ListsWaiting list hidescode and hashⅢErrorCI failed: clockmoved 8 daysAdmin sessionalso expired4FailureClock change expired the sessionⅣFixOwner choseone added lineCI passed (981a071)5FixOne line added to the testⅤLearnWrite each rulein one placeClock changestouch other rules6LessonCheck side effects of time changesKey point: when the same rule is writtentwo ways, writing the test exposes it.FiCl Dev Blog · Post summary figure
[PR #63] Built the Admin Code Issue, Revoke, and Confirm PathSummary figure. Built the server path for admin code issue, revoke, and delivery confirmation, tests firstPR #63Admin Code Issue, Revoke,and Delivery ConfirmationTests written first, then code that passes themOwner chosethe test fixClaude wrotethe tests andcodeTestsBuildStuckFixLearnⅠTests46 failing testswritten firstClaude Haiku 5.5session draftedthem1Tests46 failing testsⅡBuildCode returnedonce on issueIssue and log inone transaction2IssueCode shown only once3ListsWaiting list hidescode and hashⅢErrorCI failed: clockmoved 8 daysAdmin sessionalso expired4FailureClock change expired the sessionⅣFixOwner choseone added lineCI passed (981a071)5FixOne line added to the testⅤLearnWrite each rulein one placeClock changestouch other rules6LessonCheck side effects of time changesKey point: when the same rule is writtentwo ways, writing the test exposes it.FiCl Dev Blog · Post summary figure

This post records server task 13, shipped as one PR. The tests were written first, and the code was then changed until they passed.

What and why

A customer uses this code to accept an invite, recover an account, or add a login method. So a head-office staff member needs to create that code in the admin web, cancel it if needed, and mark it as delivered to the customer. This PR built the server side of that. Following test-driven development (writing a failing test first, then changing the code until it passes), 46 tests were written first. A Claude Haiku 5.5 session drafted those tests, and a Claude Sonnet 5.5 session did the implementation.

Options chosen and rejected

How it was checked

Lessons