wire: snake-case — one wire convention before the wire ossifies #126
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#126
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?
Parent
Standards debt (docs/CODING-STANDARDS.md: wire fields snake_case). Filed from Ben's rulings 2026-07-26 after the review sweep of
6596977..9e946b7: integration-last was deliberate seam-first sequencing — now build the integration layer; and pay all standards debt now.What to build
The split wire ends: the camelCase JSON tags in the backup, founding, member, rescue, update and monitor packages flip to snake_case, matching the packages that already comply (breakglass, clan, enroll, join, protocol). TS-side fixtures and parsers that mirror those frames follow in the same change. This lands before any real transport ships, while nothing external consumes the wire and no deployed state persists old-tag frames.
Acceptance criteria
Blocked by
None — can start immediately.
Task manifest
Done in
35d9477(onmain). One snake_case wire convention, CI-enforced..gofiles flipped to snake_case — backup, founding, member, rescue, update, monitor, plus the stragglers the body list missed (brandkit, breakglass, catalogue, fleetstate, provision). Only the tag name before the comma changed;,omitemptyand every Go type/identifier untouched. Verified no Go code references a tag name as a string literal, so persisted-state (resume blobs, ledgers) round-trips hold.internal/wireconvention/convention_test.gowalks the whole tree and fails on any camelCase wire tag — this test IS the acceptance sweep and the regression fence. Scoped to production (non-_test) files: the sole surviving camelCase tag,oneOfinbrandkit/validate_test.go, is a JSON Schema keyword decoded from an external document (not our wire) and must stay.lib/apitransport boundary), and no TS fixture/parser reads raw wire keys (noJSON.parse, no snake_case wire reads) — nothing to flip, suites unaffected.Acceptance: every clause met — sweep finds zero camelCase wire fields (guard green); no TS wire-key fixtures/parsers exist to update and TS suites stay green; Go marshal/round-trip tests pass on the new tags.
Verify:
go build/vet/test ./...green on both modules,gofmtclean,wireconventiontest green.golangci-lint/pnpmnot in the sandbox — CI (nix develop -c scripts/seam-smoke.sh) runs them. STATUS.md updated (header + milestone log).enroll-activate, before founding has supplied it — every fresh own-VPS founding reds (drive20260831T042600Z, sig073c79de3e67) #1056placeOptions/serverOffer/rentServerto the new enroll ops so the real panel opens the dialog on the place screen #1398userAgenttag breaks the repo-wide snake_case wire lint (#126) — rename touser_agenton both sides #1820