Repository navigation
Closed
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)Ordinary priority (the default)status/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)status:donework/assignedQueue worker lifecycle stateQueue worker lifecycle state
Milestone
Description
Part of the worlds design program: #5955. Statements S8–S16 of the 2026-11-04 brief.
Where we are (verified 2026-11-04)
An app's capabilities are already bounded upward by the platform used to compile it, and that bound can be securely listed per platform: the capability catalog and compile-time ceilings live in pkgs/id/crates/id-core/src/world_caps.rs.
Requirement (Drew, in substance)
- First, answer: do we currently have more than one platform? (S9 — an inventory fact this design starts from.)
- Direction: allow greater capabilities — this is a step towards reading and writing files from disk and using system resources. (S10)
- A world should be able to say what capabilities it requires — or, ideally, we can automatically derive and discover them. (S11)
- Capability vocabulary must at least express: standard, file read+write in the sandbox, arbitrary file read, arbitrary network out. (S12)
- The required capabilities are listed in the world's registry entry. (S13)
- If no existing platform fits, custom-compile the appropriate platform for that world. (S14)
- Handle the expansive-platform case: a user may give a world a platform with more capability than it uses. (S15)
- Therefore track two sets: requested (what the platform grants) and discovered-used (the exact functions really used). The registry says both: "it asks for all these, but it only uses this subset" — that helps users judge what they're connecting to. (S16)
Open questions
- Discovery mechanism: static analysis of the compiled world, platform-call instrumentation during a profiling run, or both? How are the two reconciled when they disagree?
- Is the used-set a property of the code (same for every run) or can it vary by path taken at runtime — and how does the registry present a path-dependent set honestly?
- Custom-platform compilation: who pays, how long does it take, is the result cached and shared across worlds with identical requirement sets (interacts with the compile-economics child of #5955)?
- How does the requested/used pair interact with writer-set authority (#5545) — is a capability grant an authority grant, or a separate axis?
Related
- Capability-provider parent: #5686; field survey #5931
- Provider registry (capabilities as manifest): #1061
- Core/app platform design: #2028
Done looks like
Design covering: platform inventory answer, capability vocabulary v1, declaration vs discovery, registry schema for requested/used sets, and the custom-platform compile path — each with the open questions above resolved or explicitly deferred with a reason.
Metadata
Metadata
Assignees
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)Ordinary priority (the default)status/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)status:donework/assignedQueue worker lifecycle stateQueue worker lifecycle state
Activity
developing-today commentedon Nov 5, 2026
CODE-1624
dezren39 commentedon Nov 5, 2026
Wave-2 tie-in (finding F10) + contradiction C2.
Settled architecture to cite: compile-time ceiling against the
world_caps.rscatalog; deterministic wasmtime fuel for Wasm guests; wall-clock deadlines + OS sandbox (no_new_privs, rlimits, seccomp allowlist with no open/sockets) for the admin-installed native tier, which is never peer-downloaded; presentation is data (record:workspace/scratch/worlds-capabilities-brief-2026-11-04/conversation-tie-ins.md, F10).C2 — WORKING INTERPRETATION — shown to Drew in the main chat 2026-11-04 ~23:06 and not objected to; recorded here as an interpretation, not a ruling. The brief's capability vocabulary for this design (standard, file read/write in the sandbox, arbitrary file read, arbitrary network out) is a deliberate posture change relative to the shipped catalog, which has no file or network capability at all and whose native-tier seccomp allowlist forbids open/sockets outright. Per the 2026-11-04 brief, this design proceeds on the new posture — the expansion is Drew's direction, recorded here so it isn't mistaken for silent catalog growth.
dezren39 commentedon Nov 5, 2026
Wave-2 follow-ups filed from the prior-art research (Lane B). Granular sub-scopes of this issue, each carrying the relevant research findings + citations:
Research source:
workspace/scratch/worlds-capabilities-brief-2026-11-04/prior-art-research.md. Full wave-2 mapping:workspace/scratch/worlds-capabilities-brief-2026-11-04/wave2-map.md.dezren39 commentedon Nov 5, 2026
Ruling — C2 capability posture (Drew, 2026-11-04 23:57 CST), with a correction to the working interpretation recorded earlier in this program.
Correction: the working interpretation said tonight's brief supersedes the shipped no-filesystem / no-network default. That is wrong. Per Drew's ruling, the default does not move:
34 remaining items
design(id): permission UX for worlds — pre-connect disclosure, grant …
docs(id): pure-package import policy and package classes across tiers (…
design(id): correct world-governance record against landed boards dec…
doc(id): distinguish built runtime derivation from the missing static…
docs(id): pure-package import policy and package classes across tiers (…
Merge pull request #7599 from developing-today/queue/12856-5958-capab…
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged / queue task done
dezren39 commentedon Nov 22, 2026
Merged work, still open. Every pull request that references this issue has merged (#7025, #7599, #7600, #7594, #7630, #7640) and none is open, but the issue kept
status:in-review. Tasks that name it as a blocker have been waiting on it.status:in-reviewis removed. Whoever takes this next: run the issue's done check against main. Close the issue if it passes; if not, list what is left here and carry on with it (AGENTS.md, "Finishing work").By: Claude, 2026-11-22 flow review.
Generated by Claude Code
dezren39 commentedon Nov 23, 2026
🤖 Agent note · done check run against main (Lane DV, via
fleet agent nextshortlist rank 5)Verdict: DONE — closing as completed
Per the 2026-11-22 note on this issue ("run the issue's done check against main; close if it passes"), each element of Done looks like was re-verified fresh against current main
ced8e85f3553(2026-11-22 22:02 CST, laptop git fetch):Design coverage — all five required elements are in the merged design record (
doc/2026-11-08T09-15-00Z_design_id_capability_model/2026-11-08T09-15-00Z_design_id_capability_model.md, 290 lines, merged via PR #7599; summary record at comment 6720327099):standard,fs.sandbox.readwrite,fs.read.any,net.out.any(the S12 set), expansions stored in the registry.used_static(upper bound) vsused_observed(lower bound with coverage metadata).Open questions — each resolved in §6 of the design or deferred with a reason (compile economics → #5965, above). Writer-set interaction (#5545) answered in §7: separate axes, neither implies the other. C2 compliance (§8 of the record): the shipped default posture does not move.
Premise re-verified on current main: the inventory fact still holds. The catalog moved in the crate split to
pkgs/id/crates/id-caps/src/world_caps.rsand grew from 19 to 34 entries (28 host providers + the same 6PlatformModuleentries: Key, Screen, RocJson, RocGrid, RocCap, RocText) — growth of the single catalog under the design's own "new providers join here first" rule, not a second platform.WANTS_VERSION = 1andUNKNOWN_CAP_USAGE_KEYare present as the design cites.Surrounding state: all six PRs referencing this issue are merged (#7025, #7594, #7599, #7600, #7630, #7640); no open PR references it; granular sub-scopes #5998, #5999, #6000, #6017 are all closed; capability-provider parent #5686 is closed. Implementation of the schema/profiler/compiler is follow-on work under the worlds programme #5955 (still open as the programme container) — explicitly out of scope for this design issue per the record's §8.
Closing as completed. Queue tasks dep-blocked on #5958 can proceed to their next gates.