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
id: add class field to ProviderManifest + shipped/reserved class table (#5999 §2.4/§10 follow-up) #12982
Implement the first follow-up named in the #5999 diff-semantics record (§10): the record is a design deliverable and deliberately landed no code, and no implementation issue was ever filed for this follow-up — this issue is that filing, and its first slice.
class field on ProviderManifest (pkgs/id/crates/id-caps/src/world_caps.rs): a class id, as registry data — explicitly not prefix parsing (§2.4 rejects coupling to is_sensor_cap). Every registered provider entry carries its class from the §2.2 table.
The shipped class table: the nine classes of §2.2 (cap.none, world.presence, chat.read, chat.write, world.records, world.schedule, device.screen, device.keyboard, device.location) with their §2.2 member assignments for all 19 current registry names, plus the reserved classes of §2.3 (fs.sandbox, fs.read.arbitrary, net.out) so the first fs.*/net.* provider lands with a warning slot instead of none, plus the unknown class (§2.4: disclosing, subsumed by nothing).
Name → class lookup through the manifest field: an unregistered capability name maps to unknown (§2.4, mirroring the ledger's <unknown> usage bucket); a class id not in the shipped table also resolves to unknown at lookup time (fail-closed).
The registration-time "class id must exist in the shipped table" check (§9.3) — it belongs with whichever change first registers an fs.*/net.* provider.
Claiming the implementation slice (Lane HF, archer): add the class field to ProviderManifest, the shipped class table (§2.2 assignments for all current registry names), the §2.3 reserved classes, the unknown fail-closed mapping, and the table-version constant — per #5999 §2.2–§2.4 and §10 follow-up 1.
Premise verified fresh (2026-11-23 ~06:10Z): no class field exists on ProviderManifest on current main, no class table exists in id-caps, no open PR touches either, and #12921's dependency note names exactly this as its gate. Worktree off origin/main on the laptop; PR + tests to follow.
Activity
developing-today commentedon Nov 23, 2026
CODE-4750
dezren39 commentedon Nov 23, 2026
Claiming the implementation slice (Lane HF, archer): add the
classfield toProviderManifest, the shipped class table (§2.2 assignments for all current registry names), the §2.3 reserved classes, theunknownfail-closed mapping, and the table-version constant — per #5999 §2.2–§2.4 and §10 follow-up 1.Premise verified fresh (2026-11-23 ~06:10Z): no
classfield exists onProviderManifeston current main, no class table exists in id-caps, no open PR touches either, and #12921's dependency note names exactly this as its gate. Worktree off origin/main on the laptop; PR + tests to follow.