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
{{ message }}
Repository navigation
Implement versioned namespace registry state and authorization seam #10257
pkgs/id/crates/id-store/tests/namespace_registry_model.rs (new; owner: A9116-registry-state)
Hard dependencies (native blockers): A9116-registry-record — Requires namespace definition bound to exactly the content-addressed or array-addressed core ID from A9116-registry-record.; 9110-02 — Adds this consumer module to the crate root and owns Cargo manifest/export changes; this slice owns only its distinct module and tests.; 9083 — Consumes the authenticated tenant/scope context contract; this slice does not define tenancy.
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/crates/id-store/tests/namespace_registry_model.rs first. Proposed command: cargo test -p id-store --test namespace_registry_model
Oracle: model — expected Registry state machine; mutation requires injected authorized context and increments one generation.; verifier: Generate the listed operations against the specified state/reference model and compare every resulting state and error..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Disable new registry mutations and resolve through the last verified registry generation; preserve existing Iroh namespace registries and IDs unchanged.
Preflight performed exactly as the A9116-registry-state packet mandates (triage/preflight only; no implementation attempted, no production rollout authorized):
Blocked — task 17097, lane oc-code-07, 2026-11-20.
Fresh preflight: #10257 OPEN, no hard-stop labels. Native blockers: #9083 OPEN, #10160 CLOSED, #10243 OPEN. Two of three remain open, so task 17097 self-blocks per its packet. No implementation; no rollout. Labels at rest: status/blocked + queue/blocked only.
Resume: re-claim task 17097 and rerun the preflight once #9083 and #10243 are closed.
Fresh native-dependency check (2026-11-22): #10243 (registry-record) is CLOSED and satisfied; #10160 is CLOSED and satisfied. #9083 (authenticated tenant/scope context contract) remains OPEN, so A9116-registry-state stays dependency-blocked on #9083. No implementation performed; resume after #9083 closes and its accepted context contract is available.
Premise on current main: NOT implemented.pkgs/id/crates/id-store/src/namespace_registry.rs returns 404 on main and no namespace_registry_model.rs exists under pkgs/id/crates/id-store/tests/. No live claim covers this slice (last activity was the 2026-11-22 blocked preflight note).
Routing: the scoped follow-on packet already exists — queue task 17097 ("Preflight ID/Atlas A9116-registry-state: Implement versioned namespace registry state and authorization seam", same dedupe key), currently blocked in repo-health-code-pilot solely on #9083. With #9083 closed, its resume condition is met; release runs through the normal shepherd / broker-watched dependency flow (the queue has no unblock verb — #12777). No duplicate packet filed.
Scope for the follow-on (unchanged from the issue body): new pkgs/id/crates/id-store/src/namespace_registry.rs + model test pkgs/id/crates/id-store/tests/namespace_registry_model.rs, test-first, oracle = the registry state-machine model (cargo test -p id-store --test namespace_registry_model). The status/blocked / queue/blocked labels on this issue are stale as of this verdict.
Picked up — task 17097, lane archer (Lane DC), 2026-11-22.
Fresh native-blocker preflight for A9116-registry-state: #9083 CLOSED completed (2026-11-23T03:07:11Z), #10160 CLOSED completed, #10243 CLOSED completed. All native blockers satisfied, so per the packet this proceeds within the issue's approved scope: pkgs/id/crates/id-store/src/namespace_registry.rs + tests/namespace_registry_model.rs, test-first against the recorded model oracle (cargo test -p id-store --test namespace_registry_model). No production rollout.
Preflight (fresh gh REST this pass): #9083 CLOSED completed, #10160 CLOSED completed, #10243 CLOSED completed — all native blockers satisfied, so the packet proceeded within the approved scope. No other live claim covered the implementation.
pkgs/id/crates/id-store/src/namespace_registry.rs (new) — RegistryState: record-layer LocalRegistry + generation + audit log. One transition for create/update/revoke: authorize (injected MutationContext + RegistryAuthorizer seam; shipped judge AdminScopeAuthorizer; no tenancy defined here) → expected-generation check (GenerationConflict for concurrent writers) → apply through the record layer. Success increments exactly one generation and appends an audit entry; failure changes nothing. Updates cannot change a namespace's core (CoreChange). Canonical-CBOR persistence, version 1, strict fields; Iroh registries untouched.
pkgs/id/crates/id-store/tests/namespace_registry_model.rs (new) — the model oracle test.
pkgs/id/crates/id-store/src/lib.rs — one line, pub mod namespace_registry; (crate-root export the manifest assigned to 9110-02, which closed before this module existed).
Evidence — cargo test -p id-store --test namespace_registry_model (nix develop in pkgs/id, laptop worktree off origin/main): 9 passed / 0 failed — generated_operations_match_the_model (3 seeds × 300 generated ops vs an independent reference model, every state and error compared), exactly-one-generation increments, unauthorized-changes-nothing, generation-conflict, core-change refusal, byte-exact persistence round-trip, decode rejection, registry coexistence, authorizer substitutability. cargo fmt -p id-store -- --check clean. Both new files re-read on main post-merge (27,038 B and 16,659 B).
Closing as completed: the declared oracle passes and the test/evidence output plus changed-file summary are attached here and on PR #12867. No production rollout was performed or authorized.
Activity
developing-today commentedon Nov 14, 2026
CODE-3676
dezren39 commentedon Nov 14, 2026
agent-note:v1
state: blocked (dependency) — mandatory preflight result
task: 17097
issue: #10257 (ID/Atlas slice A9116-registry-state)
lane: code-c (repo-worker-code)
at: 2026-11-14T18:00Z
Preflight performed exactly as the A9116-registry-state packet mandates (triage/preflight only; no implementation attempted, no production rollout authorized):
6 remaining items
dezren39 commentedon Nov 20, 2026
Blocked — task 17097, lane oc-code-07, 2026-11-20.
Fresh preflight: #10257 OPEN, no hard-stop labels. Native blockers: #9083 OPEN, #10160 CLOSED, #10243 OPEN. Two of three remain open, so task 17097 self-blocks per its packet. No implementation; no rollout. Labels at rest:
status/blocked+queue/blockedonly.Resume: re-claim task 17097 and rerun the preflight once #9083 and #10243 are closed.
dezren39 commentedon Nov 22, 2026
Fresh native-dependency check (2026-11-22): #10243 (registry-record) is CLOSED and satisfied; #10160 is CLOSED and satisfied. #9083 (authenticated tenant/scope context contract) remains OPEN, so A9116-registry-state stays dependency-blocked on #9083. No implementation performed; resume after #9083 closes and its accepted context contract is available.
dezren39 commentedon Nov 23, 2026
Triage verdict — task 19192, lane archer (Lane CS), 2026-11-22. UNBLOCKED: all native blockers satisfied; premise live; ready for implementation.
Fresh verification this pass (gh REST + contents API):
pkgs/id/crates/id-store/src/namespace_registry.rsreturns 404 on main and nonamespace_registry_model.rsexists underpkgs/id/crates/id-store/tests/. No live claim covers this slice (last activity was the 2026-11-22 blocked preflight note).Routing: the scoped follow-on packet already exists — queue task 17097 ("Preflight ID/Atlas A9116-registry-state: Implement versioned namespace registry state and authorization seam", same dedupe key), currently
blockedin repo-health-code-pilot solely on #9083. With #9083 closed, its resume condition is met; release runs through the normal shepherd / broker-watched dependency flow (the queue has no unblock verb — #12777). No duplicate packet filed.Scope for the follow-on (unchanged from the issue body): new
pkgs/id/crates/id-store/src/namespace_registry.rs+ model testpkgs/id/crates/id-store/tests/namespace_registry_model.rs, test-first, oracle = the registry state-machine model (cargo test -p id-store --test namespace_registry_model). Thestatus/blocked/queue/blockedlabels on this issue are stale as of this verdict.dezren39 commentedon Nov 23, 2026
Picked up — task 17097, lane archer (Lane DC), 2026-11-22.
Fresh native-blocker preflight for A9116-registry-state: #9083 CLOSED completed (2026-11-23T03:07:11Z), #10160 CLOSED completed, #10243 CLOSED completed. All native blockers satisfied, so per the packet this proceeds within the issue's approved scope:
pkgs/id/crates/id-store/src/namespace_registry.rs+tests/namespace_registry_model.rs, test-first against the recorded model oracle (cargo test -p id-store --test namespace_registry_model). No production rollout.dezren39 commentedon Nov 23, 2026
agent-note:v1
dezren39 commentedon Nov 23, 2026
agent-note:v1
namespace_registry.rs+namespace_registry_model.rsslice (cargo test -p id-store --test namespace_registry_model). Existing scoped follow-on task 17097 is already CLAIMED, with a fresh picked-up note on this issue; no duplicate task or PR was created. Issue labels were left untouched to avoid conflicting with task 17097’s active work.Merge pull request #12867 from developing-today/archer/10257-namespac…
dezren39 commentedon Nov 23, 2026
Done — task 17097, lane archer (Lane DC), 2026-11-22. A9116-registry-state implemented, oracle passing, merged.
Preflight (fresh gh REST this pass): #9083 CLOSED completed, #10160 CLOSED completed, #10243 CLOSED completed — all native blockers satisfied, so the packet proceeded within the approved scope. No other live claim covered the implementation.
Landed: PR #12867, merged 2026-11-23T04:05:53Z, merge commit
641657a54e52e50ae7ca461d9e131c188ae7a743(head150f480685a). Changed files (3, +1267):pkgs/id/crates/id-store/src/namespace_registry.rs(new) —RegistryState: record-layerLocalRegistry+ generation + audit log. One transition for create/update/revoke: authorize (injectedMutationContext+RegistryAuthorizerseam; shipped judgeAdminScopeAuthorizer; no tenancy defined here) → expected-generation check (GenerationConflictfor concurrent writers) → apply through the record layer. Success increments exactly one generation and appends an audit entry; failure changes nothing. Updates cannot change a namespace's core (CoreChange). Canonical-CBOR persistence, version 1, strict fields; Iroh registries untouched.pkgs/id/crates/id-store/tests/namespace_registry_model.rs(new) — the model oracle test.pkgs/id/crates/id-store/src/lib.rs— one line,pub mod namespace_registry;(crate-root export the manifest assigned to 9110-02, which closed before this module existed).Evidence —
cargo test -p id-store --test namespace_registry_model(nix develop in pkgs/id, laptop worktree off origin/main): 9 passed / 0 failed —generated_operations_match_the_model(3 seeds × 300 generated ops vs an independent reference model, every state and error compared), exactly-one-generation increments, unauthorized-changes-nothing, generation-conflict, core-change refusal, byte-exact persistence round-trip, decode rejection, registry coexistence, authorizer substitutability.cargo fmt -p id-store -- --checkclean. Both new files re-read on main post-merge (27,038 B and 16,659 B).Closing as completed: the declared oracle passes and the test/evidence output plus changed-file summary are attached here and on PR #12867. No production rollout was performed or authorized.