GeezerVison is showing github.com — id: design pass — capability class assignments for the 16 post-#5999 registrations (kv/blob/notify/form/device.info/speech/client.*) · Issue #13004 · developing-today/code
id: design pass — capability class assignments for the 16 post-#5999 registrations (kv/blob/notify/form/device.info/speech/client.*) #13004DescriptionRefs #5999 (§2.1–§2.2), #12982 (which landed the class field + shipped table), #12921, #5955.
The gap
#12982 shipped the class table exactly as #5999's record wrote it. Sixteen registered provider names were registered after that record and have no designed class assignment, so their manifests carry CLASS_UNKNOWN — they always disclose, fail-closed (#5959 §1) — until a design pass assigns them classes:
- World storage:
kv.get, kv.set, kv.delete, blob.put, blob.get, blob.delete
- User-facing effects:
notify, form.present, form.result, form.cancel
- Device data:
device.info, speech.transcribe, speech.capture, speech.synthesize
- Client-side providers:
client.file.read, client.notify
A test in cap_class.rs (names_without_a_designed_class_carry_unknown_until_assigned) pins this exact list as a tripwire.
What the pass must decide, per name or family
Landing shape
A design record in the #5999/#5959 shape (decision table per name), then a small implementation change: manifest class: values + the tripwire test list shrink in the same commit, and CAP_CLASS_TABLE_VERSION bumps if any class is added/split/merged. Until then the fail-closed state is correct behaviour, not a bug: these names prompt as unknown rather than slipping through silently. Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026
🤖 Agent note · design pass landed (Lane JM, archer)
Landed — PR #13018 merged (merge 7220745c6df3, verified on main): the design record at doc/2026-11-23T07-06-00Z_design_id_capability_class_assignments/ (PROPOSED, ratification pending), indexed in doc/README.md beside the #5999 record. Docs only, no code — per this issue's landing shape ("a design record … then a small implementation change").
The proposed table (reasoning per family in the record; every claim tied to the manifest/executor/provider design at 016078b81a2):
- Into existing classes:
kv.get, blob.get → world.records (message unchanged); device.info → cap.none under an affordances-only boundary condition (the v1 manifest is five affordance objects, no identity fields — a future identity-bearing manifest version voids the assignment).
- Eight new classes:
world.storage (kv.set/kv.delete/blob.put/blob.delete — persistence as its own consequence; the reserved fs.sandbox slot explicitly not spent on a non-filesystem store), world.notify (notify), device.form (form.present/result/cancel), device.microphone (speech.transcribe — on-device, text only), device.microphone.capture (speech.capture — raw audio leaves the device), device.speaker (speech.synthesize), fs.read.selected (client.file.read — user's own files under a user-selected root, explicitly not fs.read.arbitrary), device.notify (client.notify).
- Lattice: exactly one edge added,
device.microphone ≼ device.microphone.capture; every inferable non-edge (fs.* prefix, notify pair, form/screen) is declared incomparable. No reserved class gains a member, so reserved_fs_classes_have_no_members_yet still holds post-implementation.
Next slice (named, gated): ratification of the record — §9 names the three decisions to contest (device.info → cap.none; client.notify as disclosing vs cap.none; the world.storage split vs fold, with the fold's re-prompt cost priced). On ratification, the implementation slice in §8 of the record: eight class constants + table entries, the sixteen manifest class: values, the tripwire list emptied, section_22_assignments_hold_for_every_member extended with the sixteen pairs, CAP_CLASS_TABLE_VERSION 1 → 2, and the client sentences for #12921's tables. Until then the sixteen names correctly keep prompting as unknown. This issue stays open for the ratification + implementation remainder. dezren39 commented on Nov 24, 2026 Design record updated to meet the AUDIT-7 sufficient-design standard: Capability classes for the post-#5999 registrations. Added explicit problem/goals/non-goals, do-nothing and competing alternatives, dependency-ordered implementation slices with acceptance checks, rollout/rollback, verification, and named deciders for the three contested calls. This remains a proposed design; implementation is not included and remains gated on the recorded disposition. Unknown classes remain fail-closed until the coordinated implementation lands. dezren39 commented on Nov 24, 2026 Correction/link to the exact updated revision: the sufficient-design expansion is in PR #14161, at commit 5080c981. The previous link points to the already-merged baseline record on main; this PR contains the newly added standard sections. The design remains proposed and implementation remains out of scope. dezren39 commented on Nov 24, 2026 Triage verdict for #13004 (design pass: capability classes for 16 post-#5999 registrations).
Checked fresh 2026-11-24: #13004 is OPEN. The issue's gap is real: the test names_without_a_designed_class_carry_unknown_until_assigned in cap_class.rs pins the 16 names as CLASS_UNKNOWN. This is a design decision per name, not a code fix. Left open for a design pass (design home: #5999 record). No code change from this triage. dezren39 commented on Nov 24, 2026 Re-verify (oc-code-06, queue task 23125, 2026-11-24): still OPEN; the pinning test names_without_a_designed_class_carry_unknown_until_assigned in cap_class.rs still holds the 16 names at CLASS_UNKNOWN. Needs per-name design decisions, not a code fix. Remains open for the design pass on #5999. dezren39 commented on Nov 24, 2026 Correction (oc-code-06, 2026-11-24): PR #14161 (merged 2026-11-24T08:14Z, Refs #13004) completed the design doc sections (goals, rollout, named deciders, per-slice acceptance). The remaining work is the per-name decisions it lists, each with a named decider and default, plus the code slice that replaces the CLASS_UNKNOWN pin. Verdict: open, design decided in part, implementation slice not yet started. dezren39 commented on Nov 25, 2026 Claimed by lane 8, 2026-11-25T01:09Z. Implementing the §8 slice of the merged design record with its stated defaults (class constants + table, sixteen manifest class: values, tripwire emptied, CAP_CLASS_TABLE_VERSION 1 → 2). Builds and tests dispatched remotely.
Generated by Claude Code
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|