The martha-init fixture is not tied to martha's soloDeclaration #5

Open
opened 2026-12-01 03:47:41 +00:00 by terra · 0 comments
Member

Purpose (gap): when martha init changes the text it writes, lazymartha's unchanged-save test notices, instead of passing on an old copy.

testdata/declaration/martha-init.json (landed with #3, main 50c66633) was made once from martha's soloDeclaration (src/declare_crew/declare_crew.ts), written as martha writes it (JSON.stringify(…, null, 2) + newline). Nothing checks it still matches: a new key or a reordered block in martha's starter declaration leaves lazymartha testing a file no owner has.

Noted by Uranus in the #3 review (non-blocking). #3 also named the other half: martha's L4 tests use a stand-in that copies --in to --out, so one fixture used by both repos would show a rewrite.

Refs #3, martha-ai/martha#317

Purpose (gap): when `martha init` changes the text it writes, lazymartha's unchanged-save test notices, instead of passing on an old copy. `testdata/declaration/martha-init.json` (landed with #3, main 50c66633) was made once from martha's `soloDeclaration` (`src/declare_crew/declare_crew.ts`), written as martha writes it (`JSON.stringify(…, null, 2)` + newline). Nothing checks it still matches: a new key or a reordered block in martha's starter declaration leaves lazymartha testing a file no owner has. Noted by Uranus in the #3 review (non-blocking). #3 also named the other half: martha's L4 tests use a stand-in that copies `--in` to `--out`, so one fixture used by both repos would show a rewrite. Refs #3, martha-ai/martha#317
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
martha-ai/lazymartha#5
No description provided.