GeezerVison is showing github.com — id: implement Phase 13 F13.7 client-side capability providers (design #789) · Issue #5532 · developing-today/code
id: implement Phase 13 F13.7 client-side capability providers (design #789) #5532DescriptionImplementation of an ID design that has not landed yet (zero implementation as of the 2026-11-04 inventory).
Design issue: #789
Design doc: doc/2026-11-01_design_id789.md (in developing-today/code)
Acceptance, in brief: client-side capability providers per the design, wired into the client capability model.
Current state: no capability-provider implementation exists (CapabilityProvider absent from the tree).
The design documents govern. If implementation shows the design is wrong or incomplete, file a design amendment rather than silently diverging.
Scope: pkgs/id and its tests. Filed 2026-11-04 under Drew's order to begin work on all not-implemented ID designs. Inventory: workspace/goals/keep-the-four-repos-healthy/files/id-design-implementation-inventory-2026-11-04.md (in the fleet workspace). Activitydeveloping-today commented on Nov 4, 2026 dezren39 commented on Nov 4, 2026 dezren39 commented on Nov 4, 2026 🤖 Agent note · blocked
- Agent: queue worker (repo-worker-code), lane code-i
- Session / ID: task 9599
- Found via: queue claim
- Task: Blocked task 9599: the F13.7 design (doc/2026-11-01_design_id789.md) gates implementation on prerequisites that have not landed. Fresh check: issue id: F12.4 provider registry — capabilities as manifest + provider components #1061 (F12.4 provider registry) OPEN/parked, issue id: F12.6 audit log and OpenTelemetry export #1063 (F12.6 structured audit) OPEN, issue id(world): capability requests in wants re-execute unattributed after a world reopen #839 (restart semantics) OPEN and claimed by another worker. Already met: issue id(world): default ceiling is the whole catalog, so F12.4 registry additions would widen every world #838 CLOSED, issue id(world): input carries no session identity (prerequisite for F13.7 routing and F13.8) #840 CLOSED. The acceptance criteria forbid adding a provider by editing the host CATALOG or the actor's provider match, so there is no in-scope implementation path until the registry exists.
- Expectation: re-enqueue once issue id: F12.4 provider registry — capabilities as manifest + provider components #1061, issue id: F12.6 audit log and OpenTelemetry export #1063, and issue id(world): capability requests in wants re-execute unattributed after a world reopen #839 close.
- Links: issue id: implement Phase 13 F13.7 client-side capability providers (design #789) #5532; design id: Phase 13 F13.7 client-side capability providers under the ceiling model #789; blockers issue id: F12.4 provider registry — capabilities as manifest + provider components #1061, issue id: F12.6 audit log and OpenTelemetry export #1063, issue id(world): capability requests in wants re-execute unattributed after a world reopen #839
dezren39 commented on Nov 17, 2026 agent-note:v1
task: 18318
lane: code-d
state: triaged
worker: repo-worker-code
finding: Fresh 2026-11-17 triage of bulk-intake task 18318 for issue #5532 (Phase 13 F13.7 client-side capability providers, design #789). Issue #5532 is OPEN with no hard-stop labels. Implementation is well advanced under task 9599: steps 1-4 of 6 are MERGED (step 2 PR #10855, step 3 PR #10862, step 4 PR #10867; all design gates #838/#839/#840/#1061/#1063/#10821 CLOSED). Task 9599 sat blocked escalated-to-user only on design s9 Q2 (may client.file.read result bytes become journaled world history). That gate is now CLEARED: Drew ruled on 2026-11-16 (ledger f137-q2-durability-5532; comment 6932644095 on issue #5532) - answer A, journaled results with opt-in disclosure, step 5 unblocked, implement now.
action: This shift unblocked task 9599 via fleet queue unblock (audited, reason citing the ruling); task 9599 is back in claimed state for its holder to resume at step 5. Stale labels status/blocked, queue/blocked and user/escalated were removed from issue #5532 and its labels synced to its claimed state.
next: Task 9599 holder implements step 5 (client.file.read adapter, mode A: journaled results with mandatory opt-in disclosure), then step 6 (end-to-end hardening + rollout docs). Task 18318 completes as triaged naming task 9599 as the follow-on.
dezren39 commented on Nov 17, 2026 [agent: repo-worker-code / lane code-a, task 9599] F13.7 step 5 implemented — PR #10925.
The §9 Q2 ruling A posted here 2026-11-16 (journaled results with opt-in disclosure) unblocked step 5; this PR implements exactly that semantics:
- Registry:
client.file.read registered as the first client-side manifest (side Client, Excluded from every default ceiling) via a new client segment of the assembled registry — the legacy host CATALOG view is untouched, so registration alone widens no world's authority.
- Executor: bounded read-only reads under one user-selected root; absolute paths, parent traversal, and symlink escapes refused; over-bound files refused whole, never truncated; audit carries no content or paths (unchanged step-4 adapter behavior).
- Disclosure: enforced in the executor and in the grant — without the local user's acknowledgment that returned bytes become journaled world data, every read refuses
content_disclosure_not_acknowledged. The shell opts in only via ID_SHELL_FILE_READ_ROOT; default is nothing registered, offered, or executed.
Verified: id-caps 126+1 tests, id-native-shell 37 (5 new), id-worlds 733 — all green; clippy clean. Remaining on this issue after the PR: step 6 (end-to-end hardening and rollout). Task 9599 parks awaiting CI on PR #10925. dezren39 commented on Nov 17, 2026 agent-note:v1
Agent: repo-worker-code / any-f
state: re-triaged — all recorded gates cleared, implementation routed (task 9599, lane any-f)
issue: #5532
Blocker re-triage (per the 2026-11-13 steer on task 9599): the gate has fully cleared
The recorded blocker named three prerequisites from design doc/2026-11-01_design_id789.md, last checked 2026-11-04. Fresh check 2026-11-17:
No checkable gate remains, and none of the three needs Drew: the fleet-side prerequisites have all landed. The design doc is on main (doc/2026-11-01_design_id789.md).
Routing
The F13.7 implementation itself (client-side capability providers per the design, wired into the client capability model) is now unblocked and is routed as a fresh scoped implementation packet in the fleet queue, referencing this clearance. This issue stays open as the implementation's home; status/in-progress stands.
dezren39 commented on Nov 17, 2026 agent-note:v1 — correction (task 9599, lane any-f)
Correction to my clearance note above: the follow-on enqueue was attempted with the canonical dedupe key repo-health:v1:fix:developing-today/code:issue:5532 and the broker deduped it against task 9599's lineage — no new queued row was created (verified: no queued task for #5532). So the implementation is NOT separately packeted; this issue remains the carrier, and a future intake can re-file it from this record. The gate clearance itself stands: #1061, #1063, and #839 are all CLOSED, and the design doc is on main.
dezren39 commented on Nov 17, 2026 Coordinator note (Archer/Muse, per Drew's order 2026-11-16 22:56 CST: "approved. route and claim and complete 5532"):
- Step 5 PR id: F13.7 step 5 — client.file.read provider (#5532) #10925 is MERGED (2026-11-17T04:57:52Z). Steps 1-5 are now all on main.
- Task 9599 is completed. The routed carrier for the remainder is fleet queue task 20063 (repo-health-code-pilot, revived from 9599's lineage).
- Remainder = step 6 ONLY: end-to-end hardening of the F13.7 provider path (assembled registry + client.file.read adapter + grant/disclosure flow exercised together; close gaps with tests) and rollout docs (opt-in via ID_SHELL_FILE_READ_ROOT, disclosure semantics — returned bytes become journaled world data, defaults off, operator verification steps).
- Step 6 is being worked now under this order; on merge of the step-6 PR this issue closes with a completion note naming the step PRs.
dezren39 commented on Nov 17, 2026 agent-note:v1
Agent: Archer/Muse (step-6 implementation, per Drew's 2026-11-16 order)
state: step 6 implemented — PR #11004 open, awaiting coordinator merge
issue: #5532
task: 20063
Step 6 (end-to-end hardening + rollout docs) is implemented
PR: #11004 — branch queue/20063-step6, one commit (16c201e950) off current main (includes step 5, PR #10925). Not merged; the coordinator merges. Task 20063 is left as-is for the coordinator.
Hardening gaps found and fixed
- Client refusal codes were journaled verbatim. The broker passed a client reply's refusal string unchecked into the guest result event's
reason, which lands in the durable journal — any joined session's client implementation could journal arbitrary text (a local path, file content) as a refusal reason. The broker now passes only stable-shaped codes (lowercase snake_case, ≤ 64 bytes) and substitutes provider_refused otherwise.
- Restarted refusals of client providers were missing from the host audit trail. Reopened-world wants are refused
actor_denied/restarted before the broker, leaving a gap in the F12.6 trail at reopen. The broker now records them (denied/restarted, args digest only) via a new note_restarted_refusal, called from the actor's stale-wants branch for client-side manifests.
Exercised end-to-end (new provider_file_read_e2e.rs, 6 tests, live host)
Happy path through both gates; the refusal matrix live (traversal, absolute path, symlink escape, missing, directory, over-bound file); world ceiling/grant refusing before any client frame; no local opt-in → provider_unavailable, with cross-session offer isolation; the disclosure gate holding end-to-end (content_disclosure_not_acknowledged); revocation at either gate. Broker unit tests now also run the real client.file.read manifest (schema validation, 8 KiB args bound, 32 KiB result bound) instead of only a fake one. One setup fact the exercise surfaced: the host gate is three layers — the provider must also be named in the server ceiling (serve --world-allowed-caps); the rollout doc documents this ordering.
Docs
doc/2026-11-17_runbook_id5532_f13-7_client_file_read_rollout.md — two-gate opt-in (server ceiling → world ceiling + grant → ID_SHELL_FILE_READ_ROOT), disclosure semantics (returned bytes become journaled world data; acknowledgment mandatory), bounds/path rules, revocation, operator verification checklist, refusal-code table.
Verification
- id-caps
--lib: 138 passed · id-worlds --lib: 745 passed (740 baseline + 5 new)
- id-native-shell full suite under
nix develop: 37 lib + 1 live_session + 3 parity + 6 e2e + 3 transcript, all passed
cargo fmt --check clean on touched crates; clippy (--all-targets --no-deps) has no findings in any file this PR touches (pre-existing clippy errors in untouched id-core/id-caps test code / id-store remain, identical on main).
On merge of #11004, steps 1–6 are all on main and this issue can close.
dezren39 commented on Nov 17, 2026 COMPLETE — F13.7 client-side capability providers implemented, all six steps merged:
Closed per Drew's order of 2026-11-16 (route, claim, and complete). Fleet queue carriers: task 9599 (through step 5) and task 20063 (step 6). dezren39 commented on Nov 17, 2026 agent-note:v1
Agent: Muse lane any-a (repo-queue-worker)
state: done — already_done, verified this shift
issue: #5532
task: 20063
Picked up task 20063 and revalidated against fresh GitHub state: issue #5532 is CLOSED (stateReason COMPLETED, closed 2026-11-17T05:48:12Z). All six F13.7 steps are merged: step 1 PR #10807, step 2 PR #10855, step 3 PR #10862, step 4 PR #10867, step 5 PR #10925, step 6 PR #11004 (merged 2026-11-17T05:47:59Z, merge commit 2a1fe2f). The closure note on this issue (2026-11-17T05:48:11Z) records the same evidence.
No new implementation work is needed for task 20063; completing it as already_done. Stale in-flight labels (status/in-progress, work/assigned) are being removed in the same pass.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|