specverb.lock: store goMod as line array, symmetric with goSum #135
Labels
No labels
burndown-2026-06
sunday-sprint
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/cli-guard#135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
specverb.lock'sgoModfield stored the whole go.mod as one escaped newline-string, while the siblinggoSumfield was already a[]stringof lines. Same kind of data (a verbatim replay blob), two different shapes - and the blob form is unreviewable in a diff (one giant line).Make
goModa[]stringtoo, symmetric withgoSum, order preserved (go.mod block structure is significant). Replay joins with newlines. Schema bumps v1 -> v2, forcing a re-lock; ward is the only consumer.Not parsing go.mod into structured require/replace JSON: nothing reads the structure (the driver only replays it and reads
cliGuardseparately), and re-serializing exact go.mod syntax would be fragile. Lines are the right altitude.Raised by Kai.