GeezerVison is showing github.com — Bounded delegation chains and two-key control transfer · Issue #10239 · developing-today/code
Bounded delegation chains and two-key control transfer #10239DescriptionProblem and goal
Implement scoped attenuation and distinct accepted transfer with replay protection, signed expiry, cycle rejection, finite chain budget and latest-frontier revocation freshness.
Version and design basis
Version: V3. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/versioned-design.md#11-9132--delegation-transfer-and-cross-signing (section: 11. #9132 — delegation, transfer, and cross-signing).
Tier: recommended.
Statement IDs: S5.56, S5.57, S5.61, S5.64
Enables: A location write can be delegated without conflating a continuing grant with replacement ownership.
Scope and ownership
Parent: #9132 (native component/meta parent).
pkgs/id/crates/id-core/src/graph/delegation.rs (new; owner: A-GRAPH-9132-01)
pkgs/id/crates/id-core/tests/delegation_model.rs (new; owner: A-GRAPH-9132-01)
Hard dependencies (native blockers): A-GRAPH-9131-01 — Immutable signer-bound address and successor presentation.; A-GRAPH-9125-01 — Canonical signed identities and typed array-address terms.
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/crates/id-core/tests/delegation_model.rs first. Proposed command: cargo test -p id-core --test delegation_model
Oracle: model — expected No grant exceeds parent scope; nonce replay, cycles, expiry, stale frontier and over-depth chains fail closed; transfer requires both keys over identical transfer/scope/challenge/domain/expiry bytes.; verifier: Independent authority-chain model with nonce uniqueness and signed-time/frontier rules..
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 delegation/transfer authorization and require original controller authorization; preserve all signed grant/transfer evidence.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Activitydeveloping-today commented on Nov 14, 2026 dezren39 commented on Nov 14, 2026
Agent note — task 17080 preflight recorded (lane any-a): A-GRAPH-9132-01 native blockers #10196 + #10224 OPEN — task self-blocked
Native-blocker preflight (fresh, 2026-11-14T17:50Z):
Result: the blocker gate is NOT clear. Per the packet's mandatory preflight instruction, no implementation was performed and task 17080 is self-blocked as a broker dependency block on #10196 + #10224; the broker returns it to the pool automatically when both close, and the preflight then re-runs fresh. dezren39 commented on Nov 17, 2026
Agent note — triage (lane any-j, task 19175)
State: triaged — a fully specified granular slice (A-GRAPH-9132-01) from the #9106 ID/Atlas mill, already routed and dep-blocked under its own task (status/blocked + queue/blocked, left untouched by this triage).
Fresh evidence (checked 2026-11-17):
- Issue Bounded delegation chains and two-key control transfer #10239 is OPEN, labels status/blocked + queue/blocked + work/assigned from its own task lifecycle; no held / user/owned / do-not-merge / do-not-auto-edit labels, and no priority/effort labels yet.
- The body specifies the slice completely: goal (scoped attenuation + distinct accepted transfer with replay protection, signed expiry, cycle rejection, finite chain budget, latest-frontier revocation freshness); settled design basis (part-a-graph versioned design section 11, design(id): delegation + cross-signed identity ceremony #9132 delegation/transfer/cross-signing, V3, tier recommended, statements S5.56/S5.57/S5.61/S5.64); owned files (pkgs/id/crates/id-core/src/graph/delegation.rs + tests/delegation_model.rs, both new); a named oracle (model: no grant exceeds parent scope; nonce replay, cycles, expiry, stale frontier, and over-depth chains fail closed; transfer requires both keys over identical bytes; exact cargo test command given); and a rollback that disables delegation/transfer authorization while preserving all signed evidence.
- Hard dependencies recorded in the body: A-GRAPH-9131-01 (immutable signer-bound address + successor presentation) and A-GRAPH-9125-01 (canonical signed identities + typed array-address terms). Parent: design(id): delegation + cross-signed identity ceremony #9132. The dep-block is consistent with those still being open.
Triage verdict:
- Work kind: design (id-core delegation/transfer slice) — no new packet: the slice IS the packet.
- Priority: priority/high — the ID program's design tracks are band 2 in Drew's priorities brief (2026-11-07).
- Effort: effort/m — one module plus its model test, once the blockers land.
- First concrete step for the claiming lane: re-check A-GRAPH-9131-01 and A-GRAPH-9125-01 fresh, then create the model test first per the body's test-first rule.
- Acceptance check for this triage: this note + the slice spec + its recorded dependencies; task 19175 completes as
triaged.
Queue: task 19175 (lane any-j) — claimed, triaged inline per runbook §1c. dezren39 commented on Nov 17, 2026 agent-note:v1
lane: openchamber-scheduled-lane (code-h), worker repo-worker-code, queue task 17080
state: blocked (reason_class: blocked)
preflight: native blockers checked 2026-11-17T17:55Z — #10196 OPEN, #10224 OPEN. No implementation started (A-GRAPH-9132-01 stays out of scope).
resume: when #10196 and #10224 are closed, requeue or re-claim task 17080 and re-run the preflight. dezren39 commented on Nov 18, 2026 agent-note:v1
lane: openchamber-scheduled-lane (code-j) · worker repo-worker-code · queue task 20527
kind: pickup → already_done (triaged)
state: fresh revalidation found #10239 OPEN and already triaged by task 19175. The issue contains a complete follow-on slice (A-GRAPH-9132-01), already represented by its own dependency-blocked task 17080; current native blockers #10224 and #10196 are both OPEN. No new packet is needed, and I left the existing queue/blocked, status/blocked and work/assigned labels untouched. Evidence: issue triage comment #10239 (comment); current blocked_by API check. dezren39 commented on Nov 20, 2026 agent-note:v1 | action: picked-up | worker: repo-worker-code | lane: oc-code-06
Claimed queue task 17080 for mandatory preflight of slice A-GRAPH-9132-01. Checking native blockers #10196 and #10224 before any implementation; task will be self-blocked if either remains open. dezren39 commented on Nov 20, 2026 agent-note:v1 | action: blocked | worker: repo-worker-code | lane: oc-code-06
Preflight re-check for slice A-GRAPH-9132-01 (2026-11-20): fresh GitHub state shows both blockers OPEN — #10196 (typed triple identity and canonical signed records) and #10224 (immutable signer-bound space address and local petnames). The queue task is self-blocked (reason-class: blocked, dep-linked to #10196/#10224) and no implementation was started, per the slice contract. Queue-side recheck interval 900s; unblocks when both blockers close. dezren39 commented on Nov 22, 2026 agent-note:v1 | action: picked-up | worker: repo-worker-code | lane: code-g | task: 17080
Fresh preflight: #10239 is OPEN and has no hard-stop labels. Native blockers #10196 and #10224 are both CLOSED. The approved slice is fully specified; proceeding within its scope, starting with the model test at pkgs/id/crates/id-core/tests/delegation_model.rs and oracle cargo test -p id-core --test delegation_model. No production rollout. dezren39 commented on Nov 22, 2026 Verified completion: implementation is already merged in PR #11981 (d8e87d9). Exact acceptance test passed from pkgs/id: cargo test -p id-core --test delegation_model (18 passed, 0 failed). No duplicate implementation changes were needed. dezren39 commented on Nov 22, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|