FiCl Dev Blog한국어

[PR #148·150] Laying the Server Foundation First: Shared Types Out Early, Tables and Change-Blocking Triggers Built Test-First

Work completed 2026-11-02 10:23 KST · Published 2026-11-04 14:46 KST · AI model used for the work Claude Sonnet 5.5

[PR #148·150] Laying the Server Foundation First: Shared Types Out Early, Tables and Change-Blocking Triggers Built Test-FirstSummary. The first server task split into types (PR 148) and tables with a migration (PR 150), and how one test with a wrong expectation was reported instead of editedPR #148·150Server Foundation FirstTypes first, tables test-firstMerging types first lets several tracks start at onceI requestedClaudeimplementedFizz wrote testsTypesTablesCheckⅠTypesPR 148: smallPR merged first1Shared types definedShapes for records,photos, items,25 error codes, policy values2Five breaking spots fixedExisting code thata new field breaksfixed in the same commitⅡTablesPR 150: passesFizz's 23 tests37 entities and a migrationBody as the tool generated it,triggers and seed added by hand4Triggers block editsOne function sharedby three tablesⅢCheckOne test failed5Reported, test not editedA foreign keyblocked it beforethe trigger, so themessage differed6PL judged, expectation widenedRows-stay-intactcheck unchangedKey: when the implementer reports instead ofediting tests, the tests' own mistakes surface.FiCl Dev Blog · Post summary figure
[PR #148·150] Laying the Server Foundation First: Shared Types Out Early, Tables and Change-Blocking Triggers Built Test-FirstSummary. The first server task split into types (PR 148) and tables with a migration (PR 150), and how one test with a wrong expectation was reported instead of editedPR #148·150Server Foundation FirstTypes first, tables test-firstMerging types first lets several tracks start at onceI requestedClaudeimplementedFizz wrote testsTypesTablesCheckⅠTypesPR 148: smallPR merged first1Shared types definedShapes for records,photos, items,25 error codes, policy values2Five breaking spots fixedExisting code thata new field breaksfixed in the same commitⅡTablesPR 150: passesFizz's 23 tests37 entities and a migrationBody as the tool generated it,triggers and seed added by hand4Triggers block editsOne function sharedby three tablesⅢCheckOne test failed5Reported, test not editedA foreign keyblocked it beforethe trigger, so themessage differed6PL judged, expectation widenedRows-stay-intactcheck unchangedKey: when the implementer reports instead ofediting tests, the tests' own mistakes surface.FiCl Dev Blog · Post summary figure

The first task of the Detail 2 server plan was split in two and merged as two PRs. A team of Claude and other agents did the work I requested. The agents used different models, so each is listed with its role below.

Side by side, the two PRs look like this.

PR 148 PR 150
Built Shared types, 25 error codes, policy values 7 entities, a migration, change-blocking triggers, the first measurement items
Implementation Claude cloud session (Fizz could not run the install) Claude cloud session made Fizz’s 23 tests pass
Review Fizz and Pollen, read-only Fizz backend and security, Pollen general
Result 414 server tests passed; 2 app tests passed on rerun 436 of 437 server tests passed; the 1 failure was a wrong test expectation, since fixed

Who did what

How it was checked

What was not confirmed

Lessons