You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implementation breakdown item 1 of 5 from the discovery/registry/federation v1 design record for #6287 (doc/2026-11-16_design_id6287_discovery_registry_federation_v1.md, §3, merged in PR #10703).
Scope: the world announcement object in id-sync — the exact §3 field set (world_id, name, description, endpoint, coarse occupancy enum, tags, visibility, issued_at/expires_at ≤ 7 days, monotone seq), CBOR encoding sized to the BEP44 budget, signing/verification via the existing envelope machinery (#1069 pattern), and known-answer vectors. Program announcements are the same object with a content hash in place of the endpoint.
Acceptance: schema + codec + verify implemented with KAT vectors; an over-budget or expired or seq-regressing announcement is rejected by construction/test.
Inline triage (fresh-verified 2026-11-17; issue OPEN, no hard stops, parent #6287 CLOSED with its design merged in PR #10703):
Work kind: task/small-fix (bounded implementation slice from a settled design). Kind: kind/enhancement. Priority: priority/high — priorities-brief line 2, the ID program's design tracks carry Drew's standing fleet-weight order and this is a phase-14 implementation slice of it. Effort: effort/m. All four labels applied (app/id, design/id-phase-14, epic/id-program already present).
First concrete step: implement the section-3 announcement object in id-sync (field set + validation: expiry at most 7 days, monotone seq), then the BEP44-budget CBOR codec, then envelope sign/verify per the id: F12.17 trust and provenance — module signatures against an admin trust list #1069 pattern, with KAT vectors including the program-announcement variant.
Acceptance: schema + codec + verify with KAT vectors; over-budget, expired, and seq-regressing announcements rejected by construction/test (the issue's own acceptance).
Follow-on: fix packet enqueued as task 20693 (repo-health-code-pilot, kind small_fix, priority 20; packet preserved at hidden_files/19350-fix-packet-10705.json in the goal workspace). Queue was scanned first — no other live task for id(phase-14): announcement schema + signing in id-sync (#6287 breakdown 1/5) #10705. The implementation is a separate packet because it is a full crate-level build with crypto/wire-format care, outside this triage claim's scope.
Disposition: task 19350 completes as triaged with follow-on task 20693 named. Issue #10705 stays OPEN for the fix.
implemented: pkgs/id/crates/id-sync/src/announcement.rs (new, wired as pub mod announcement): the exact design section-3 field set on the id-core canonical CBOR profile; ed25519 sign/verify via the envelope pattern (signer must be the world key, refused at sign time otherwise); the BEP44 1,000-byte budget enforced at encode, sign, and decode; field caps (name 64 / description 200 / 8 tags); lifetime at most 7 days; expiry rejected at verify_at; seq regression rejected by check_seq_after; the program variant carries a content hash in place of the endpoint. Tests cover KAT vectors (world body + signature + packet, program body), roundtrips, over-budget, expired, over-lifetime, seq regression, field caps, tamper, wrong-key, and unknown/missing-field rejection.
committed: branch queue/20693-10705-id-sync-announcement, commit ddb7b18, pushed. Worktree on the laptop: ~/git/fleet/queue-20693-10705-id-sync-announcement.
remaining step (exact): run cargo test -p id-sync announcement (via ~/tools/fleet-build-lock, from pkgs/id). The four __KAT_* hex placeholders in the module tests must be pinned from the first run's assertion output; then re-run to green, open the PR, and merge under the standing criteria. A detached run of that test command is already queued on the laptop under fleet-build-lock and writes /tmp/test-20693.log — read it first; if it is absent or stale, re-run the command.
why parked: the test build waited ~50 minutes for a fleet build slot (two slots; holders are other lanes' long builds; laptop load average ~80). Parking with the resume condition above rather than holding the claim idle.
Resumed by lane code-b (task 20693) from the parked state. Verified fresh: branch queue/20693-10705-announcement (commit a391aee) carries the announcement schema + CBOR codec + envelope signing implementation in pkgs/id/crates/id-sync/src/announcement.rs, and the detached print_vectors run in /tmp/ann-test.log passed with all six vectors printed.
This pass: pinned the six KAT constants (WORLD_BODY/SIGNATURE/PACKET, PROGRAM_BODY/SIGNATURE/PACKET) from that verified run into the test module; the KAT tests assert them exactly, so any staleness would fail the run. Running cargo test -p id-sync now; on green, the branch is finalized and the PR opened.
Task: resume to a terminal state — PR feat(id-sync): announcement schema + CBOR codec + envelope signing (#10705) #11305 (branch queue/20693-10705-announcement) already carries the section-3 announcement schema + CBOR codec + envelope signing with pinned KAT vectors; verify targeted tests/checks and merge under the standing criteria, or park for CI with a resume brief.
Closed: implemented and merged in PR #11305 (merge commit 313302d). Section-3 announcement schema, BEP44-budget CBOR codec, envelope signing/verification, and pinned KAT vectors (world + program variants), with rejection tests for over-budget, expired, seq-regressing, tampered, and foreign-key packets. Targeted cargo test -p id-sync green on the laptop build host (announcement module 10/10).
Session / ID: ses_e5e164397d1ffe3H9iKMdCtOvZ, run 2026-11-17 07:40 CST (origin: openchamber-scheduled-lane)
Found via: claimed queue task 20693 fresh this run (unscoped one-queue claim, filter repo=code); resumed from the WIP branch the prior muse-lane claim opened and left parked.
Test evidence: branch merged up to current main (0e5f… check: clean, 98 commits), then cargo test -p id-sync under the fleet build lock on the laptop: full crate suite green (all unit/integration/doc suites ok), and the announcement module specifically 10/10 passed — kat_world_announcement_vectors, kat_program_announcement_vectors, packet_round_trips_through_bytes, a_tampered_announcement_does_not_verify, signing_with_a_foreign_key_is_refused, an_expired_announcement_is_void, seq_must_advance_per_world, over_budget_packets_are_rejected, construction_caps_are_enforced, print_vectors. Per .github/ci-policy.md (2026-11-13 ruling) no PR-level CI is a merge gate; the targeted local run is the verification venue.
Links:PR #11305 merged as 313302dbf1e03f919adb5a072c5f94c2d74a916d; pkgs/id/crates/id-sync/src/announcement.rs verified present on origin/main.
Activity
developing-today commentedon Nov 16, 2026
CODE-3879
dezren39 commentedon Nov 17, 2026
agent-note:v1
state: triaged
task: 19350 (repo-health-code-pilot, lane code-d)
issue: #10705 — id(phase-14): announcement schema + signing in id-sync (#6287 breakdown 1/5)
Inline triage (fresh-verified 2026-11-17; issue OPEN, no hard stops, parent #6287 CLOSED with its design merged in PR #10703):
Disposition: task 19350 completes as triaged with follow-on task 20693 named. Issue #10705 stays OPEN for the fix.
dezren39 commentedon Nov 17, 2026
Agent note — lane any-y, task 20693
pkgs/id/crates/id-sync/src/announcement.rs(new, wired aspub mod announcement): the exact design section-3 field set on the id-core canonical CBOR profile; ed25519 sign/verify via the envelope pattern (signer must be the world key, refused at sign time otherwise); the BEP44 1,000-byte budget enforced at encode, sign, and decode; field caps (name 64 / description 200 / 8 tags); lifetime at most 7 days; expiry rejected at verify_at; seq regression rejected by check_seq_after; the program variant carries a content hash in place of the endpoint. Tests cover KAT vectors (world body + signature + packet, program body), roundtrips, over-budget, expired, over-lifetime, seq regression, field caps, tamper, wrong-key, and unknown/missing-field rejection.queue/20693-10705-id-sync-announcement, commit ddb7b18, pushed. Worktree on the laptop: ~/git/fleet/queue-20693-10705-id-sync-announcement.cargo test -p id-sync announcement(via ~/tools/fleet-build-lock, from pkgs/id). The four__KAT_*hex placeholders in the module tests must be pinned from the first run's assertion output; then re-run to green, open the PR, and merge under the standing criteria. A detached run of that test command is already queued on the laptop under fleet-build-lock and writes /tmp/test-20693.log — read it first; if it is absent or stale, re-run the command.13 remaining items
dezren39 commentedon Nov 17, 2026
state: resumed
task: 20693
lane: code-b
worker: repo-worker-code
Resumed by lane code-b (task 20693) from the parked state. Verified fresh: branch queue/20693-10705-announcement (commit a391aee) carries the announcement schema + CBOR codec + envelope signing implementation in pkgs/id/crates/id-sync/src/announcement.rs, and the detached print_vectors run in /tmp/ann-test.log passed with all six vectors printed.
This pass: pinned the six KAT constants (WORLD_BODY/SIGNATURE/PACKET, PROGRAM_BODY/SIGNATURE/PACKET) from that verified run into the test module; the KAT tests assert them exactly, so any staleness would fail the run. Running cargo test -p id-sync now; on green, the branch is finalized and the PR opened.
test(id-sync): pin the six announcement KAT constants (#10705)
dezren39 commentedon Nov 17, 2026
🤖 Agent note · in-progress (resumed)
~/git/fleet/queue-20693-10705-announcementfeat(id-sync): announcement schema + CBOR codec + envelope signing (#…
dezren39 commentedon Nov 17, 2026
Closed: implemented and merged in PR #11305 (merge commit 313302d). Section-3 announcement schema, BEP44-budget CBOR codec, envelope signing/verification, and pinned KAT vectors (world + program variants), with rejection tests for over-budget, expired, seq-regressing, tampered, and foreign-key packets. Targeted
cargo test -p id-syncgreen on the laptop build host (announcement module 10/10).dezren39 commentedon Nov 17, 2026
🤖 Agent note · done
0e5f…check: clean, 98 commits), thencargo test -p id-syncunder the fleet build lock on the laptop: full crate suite green (all unit/integration/doc suites ok), and the announcement module specifically 10/10 passed —kat_world_announcement_vectors,kat_program_announcement_vectors,packet_round_trips_through_bytes,a_tampered_announcement_does_not_verify,signing_with_a_foreign_key_is_refused,an_expired_announcement_is_void,seq_must_advance_per_world,over_budget_packets_are_rejected,construction_caps_are_enforced,print_vectors. Per.github/ci-policy.md(2026-11-13 ruling) no PR-level CI is a merge gate; the targeted local run is the verification venue.313302dbf1e03f919adb5a072c5f94c2d74a916d;pkgs/id/crates/id-sync/src/announcement.rsverified present onorigin/main.