GeezerVison is showing github.com — impl(id): build-time defaults.json — typed parse, pair-atomic cascade, provenance (#5916 follow-on) · Issue #10345 · developing-today/code
impl(id): build-time defaults.json — typed parse, pair-atomic cascade, provenance (#5916 follow-on) #10345DescriptionImplementation follow-on of the #5916 design pass. The design record (doc/2026-11-14T19-05-00Z_design_id_build_defaults) settles all six questions; this issue is its §8 brief.
Scope
- Replace
pkgs/id/crates/id-core/src/defaults.conf + hand parser with defaults.json + typed serde parse (deny_unknown_fields); Defaults gains relay, gossip, mode; field-compatible otherwise.
- Pair-atomic resolution in
resolve_config per design §5 (one layer supplies the whole topic/secret pair; a single-half layer is an error naming layer + missing half) — closes audit defects D1 (mixed pair in the default path) and D2 (--replace-defaults leaking to consts).
- Remove the runtime
--replace-defaults flag (build-time "mode" in the file replaces it); keep --no-default-bootstrap / --no-default-topic.
- Wire
relay (RelayPolicy selector) and gossip build defaults; launch flags override.
- Provenance: SHA-256 of the embedded file at first parse; serve startup log + version surface report
defaults: file sha256=… mode=… or defaults: consts.
- Tests: equivalence flag-matrix (empty file ≡ const build; const-valued file ≡ const build); replace-mode missing-half error; file-layer single-half pair error (D1 regression); unknown-field rejection; checked-in defaults.json parses.
Acceptance
A binary built with a custom defaults.json reports its provenance, resolves the topic/secret pair atomically from one layer, and a {} build is indistinguishable from the const build across the serve-flag matrix.
Design: doc/2026-11-14T19-05-00Z_design_id_build_defaults (PR for #5916). Parent: #5916. Relates #4756. Activitydeveloping-today commented on Nov 14, 2026 dezren39 commented on Nov 17, 2026
state: triaged — routed as follow-on implementation task 20567
lane: any-b, worker: repo-worker-code, task 19234
Triage verdict for #10345 (checked fresh this shift, 2026-11-17): real, ready, settled-design implementation — routed as a follow-on packet.
- The design record is merged on origin/main (
doc/2026-11-14T19-05-00Z_design_id_build_defaults, all six questions settled), and the implementation is verifiably unstarted: pkgs/id/crates/id-core/src/defaults.conf is still the live source and no defaults.json exists in id-core.
- Work kind: task/small_fix (multi-part but bounded by the §8 brief). Priority: priority/normal. Effort: effort/l — typed-parse swap, pair-atomic cascade in
resolve_config, --replace-defaults removal, relay/gossip wiring, provenance surface, and the §6 equivalence flag-matrix make this a full implementation session, not an in-claim fix.
- Follow-on packet enqueued: task 20567 (kind small_fix, dedupe
repo-health:v1:fix:developing-today/code:issue:10345, status queued), carrying the issue's acceptance verbatim (custom-file provenance reported; pair resolved atomically from one layer; {} build indistinguishable from the const build across the serve-flag matrix) and its D1/D2 regression tests.
dezren39 commented on Nov 18, 2026
Picked up — work #10345 (task 20567, lane oc-code-01).
Revalidating prior parked reason: #10345 is effort/l and spans typed serde config migration, pair-atomic resolution, CLI flag removal, relay/gossip wiring, provenance surface and an equivalence flag matrix. The implementation needs a dedicated build session with Cargo available; this scheduled lane cannot safely deliver or test it within the 20-minute lease. dezren39 commented on Nov 18, 2026
Parked — work #10345 (task 20567, lane oc-code-01).
Effort/l implementation requiring a dedicated build session with Cargo available. Design record doc/2026-11-14T19-05-00Z_design_id_build_defaults remains the settled source of truth; issue #10345 carries the §8 brief and acceptance. Resume in a dedicated implementation session against the #5916 design record and task acceptance. dezren39 commented on Nov 18, 2026 agent-note:v1
state: parked
task: 20567
lane: oc-code-01 (OpenChamber scheduled lane, worker repo-worker-code)
stage: fresh_revalidation -> parked
Fresh 2026-11-18 verification: #10345 remains OPEN, assigned to dezren39, labeled priority/normal, effort/l, and queue/queued; no matching open PR exists. The #5916 design is settled, but acceptance spans the typed serde migration, pair-atomic cascade, flag removal, relay/gossip wiring, provenance, and test matrix. This needs a dedicated Cargo implementation session rather than partial work in this scheduled lane; no edits started. Park the queue task and sync issue labels accordingly. Resume against the existing design and packet acceptance.
backlog_updated: false dezren39 commented on Nov 21, 2026 agent-note:v1
state: picked_up
task: 20567
lane: oc-code-01 (OpenChamber scheduled lane)
stage: claimed -> verified
Claimed task 20567 and freshly revalidated issue #10345 as OPEN with no hard-stop labels. Canonical implementation PR #12096 is now MERGED at 02ce490 (base 8216302). Its latest Codex summary reports no unresolved findings. No source edits or duplicate PR were made; completing this queue item as already_done based on the merged implementation. dezren39 commented on Nov 21, 2026 agent-note:v1
state: done
task: 20567
lane: oc-code-01
stage: verified -> already_done
Fresh terminal verification: issue #10345 remains OPEN; canonical PR #12096 is MERGED (merge commit 3812072). Queue task 20567 is complete as already_done. Sandbox backlog/sweep-log bookkeeping is deferred to fleet reconciliation. dezren39 commented on Nov 24, 2026
Second-pass verify-and-route (queue task 22022, lane any-o, 2026-11-24).
dezren39 commented on Nov 25, 2026 Closing as done (lane 1). I checked main at acd5137 today: pkgs/id/crates/id-core/src/defaults.json replaces the old conf file, and discovery.rs parses it with deny_unknown_fields and reports defaults: file sha256=… mode=…. The implementation landed in PR #12096 (merge 3812072, 2026-11-21), and the second-pass verify on 2026-11-24 reached the same verdict. Reopen it if anything in the §8 brief is still missing.
Generated by Claude Code
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|