Repository navigation
Closed
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/featureNew feature or capability requestNew feature or capability requestpriority/highImportant and time-sensitiveImportant and time-sensitivestatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
Description
Summary
Follow-on implementation issue from the provider declaration model decision record for issue #5898, merged in PR #8359 (doc/2026-11-11T00-18-00Z_decision_id5898_provider_declaration_model.md, merge 99d8b9a). The record's section 7 names this work as follow-on; this issue is its tracked home. Design questions are settled by the record — this issue is implementation only, and must hold the record's invariants I1-I10.
Scope
- Choose and standardise the canonical encoding for the declaration object inside the ID object model (record D3 assumes the model's usual canonical form; the concrete choice is this issue's).
- Define the signed provider manifest object with the record's D2 field set (provider block + per-capability entries + prohibited contents enforced).
- Project the compile-time
ProviderManifestentries inpkgs/id/crates/id-core/src/world_caps.rsinto the D2 shape at registry load (host-attested provenance,ttl_class: static), preserving the "one manifest entry" property the id: F12.4 provider registry — capabilities as manifest + provider components #1061 registry test provider proves. - Add the registry dynamic-filing path: signature verification at admission and on every manifest change (record D3), admission as a separate registry record citing the manifest digest, forward-only version/epoch enforcement (D4), and the D6 lifecycle states.
- Wire the declaration view so discovery (issue id: design: provider discovery & negotiation protocols (from #5686) #5899) reads filed declarations only (invariant I5).
Out of scope
- Re-deciding anything in the id: design: provider declaration model (from #5686) #5898 record or its siblings (issues id: design: provider discovery & negotiation protocols (from #5686) #5899, id: design: capability grants for providers (from #5686) #5900, id: design: embedded providers: engine & smartphone instantiation (from #5686) #5903, id: design: offline & degraded operation for providers (from #5686) #5904, id: design: provider security model (from #5686) #5905).
- The two open questions routed to parent issue design(id): client-side capability providers — one provider model for ESP32/MQTT, terminal, Bevy, smartphone, and web #5686 (key-rotation semantics; federation-scope admission) — implementation must not silently pick an answer; the record's conservative default (rotation = new provider) holds until the parent rules.
Acceptance
- A runtime-filed, signature-verified manifest is admitted, discovered, and grant-bindable by its (provider identity, capability id, manifest version) tuple, with tests naming those oracles.
- The static catalog behaves identically downstream of admission (record D1 degenerate case).
- Rollback of
manifest_versionorepochis refused with a stable code, covered by a test.
Metadata
Metadata
Assignees
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/featureNew feature or capability requestNew feature or capability requestpriority/highImportant and time-sensitiveImportant and time-sensitivestatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted tests
Activity
developing-today commentedon Nov 11, 2026
CODE-2496
dezren39 commentedon Nov 17, 2026
agent-note:v1
state: triaged
task: 18643 · lane: any-a · worker: repo-worker-code
issue: #8362
Verdict: CONFIRMED, real and unstarted. Work kind: small-fix (implementation of a settled decision record). Priority: high — the ID program's design tracks are Drew's priority line 2 (priorities brief, ratified 2026-11-07); no expedite/next-up label added (that set is Drew's alone). Effort: l.
Evidence checked this shift (2026-11-17):
Routing: scoped implementation packet enqueued as task 20124 (dedupe repo-health:v1:fix:developing-today/code:issue:8362, priority 20; packet hidden_files/packet-8362-fix.json), carrying the corrected world_caps.rs path and the acceptance oracles from the issue: filed + signature-verified manifest admitted, discovered, and grant-bindable by (provider identity, capability id, manifest version); static catalog identical downstream of admission; manifest_version/epoch rollback refused with a stable code, test-covered. First concrete step: standardise the canonical encoding for the declaration object (scope item 1), since D3 signing depends on it.
dezren39 commentedon Nov 17, 2026
agent-note:v1
state: correction
task: 18643 · lane: any-a · worker: repo-worker-code
issue: #8362
Correction to the triage note above (comment 6937809247): the follow-on implementation packet was enqueued as task 20129, not task 20124 as that note states. Dedupe key repo-health:v1:fix:developing-today/code:issue:8362; packet hidden_files/packet-8362-fix.json. Everything else in the triage note stands.
dezren39 commentedon Nov 17, 2026
🤖 Agent note · in progress
declarationmodule inid-capscovering all five scope items: canonical encoding choice, the signed D2 manifest object with prohibited-content enforcement, static-catalog projection (host-attested,ttl_class: static), the dynamic-filing path (signature verification at filing, separate admission record entering atexcluded, forward-only version/epoch with stable rollback codes, D6 lifecycle incl. signed withdrawal), and the filed-declaration view + tuple resolution discovery/grants read.Fixes #8362.Verification so far (2026-11-17)
cargo test -p id-caps --lib(frompkgs/id, laptop): 138 passed, 0 failed — including 12 new oracle-named declaration tests covering the issue's three acceptance criteria (filed manifest admitted/discovered/grant-bindable by tuple; static catalog parity downstream of admission; manifest_version/epoch rollback refused with stable codes).dezren39 commentedon Nov 17, 2026
state: parked (conflict-avoidance)
lane: any-b, worker: repo-worker-code, task 20129
The broker served task 20129 to lane any-b at 2026-11-17T04:44Z, but the work is already actively owned: lane any-k claimed this task, implemented all five scope items, and opened PR #10958 (note comment 6938137681, minutes before this claim), with
cargo test -p id-caps --libat 138 passed / 0 failed and bot review in progress on the PR. Per the queue rule against parallel work, any-b is NOT touching the PR or building anything alongside it — parking task 20129 for 30 minutes naming PR #10958 as the conflicting artifact. Resume: whoever claims next shepherds PR #10958 (disposition review findings, merge, close #8362 via the PR) or confirms any-k's session finished it.feat(id): implement provider declaration model from #5898 record (#10958
dezren39 commentedon Nov 17, 2026
🤖 Agent note · done
cc9e58859cd5223b11964d274651d08f3c182d46, 2026-11-17T04:21:50Z); this issue is closed by the PR.What landed
New
declarationmodule inpkgs/id/crates/id-caps(+ed25519-dalek/sha2deps, matching the workspace's versions):ttl_class: static) — the D1 degenerate case, proven identical downstream by test.excluded, never a countersignature), forward-only manifest_version/epoch with stable rollback codes, the D6 lifecycle, and signed withdrawals.Verification
cargo test -p id-caps --libfrompkgs/idon the laptop: 138 passed, 0 failed, including the 12 new oracle-named declaration tests. PR was MERGEABLE with no review threads; CI's flake checks run on main.