Repository navigation
Description
What this is
The implementation home for the feature-composition plan for the ID binary, prioritized by Drew 2026-11-23 (~21:27 CST) together with the Roc platform composer design it builds on.
Plan of record (landed): doc/2026-11-24T03-36-48Z_design_id-feature-composition/ — https://github.com/developing-today/code/tree/main/doc/2026-11-24T03-36-48Z_design_id-feature-composition (record PR #14055, merged 6b1f96b9).
Premise check: the existing feature-architecture design home is #5788 ("feature-leveled build variants on the crate split"), closed 2026-11-05 after its design task completed. This plan succeeds it — it keeps #5788's four levels as the founding profiles and revises what that design left open (§0.2 of the record). This issue is the open implementation tracker; #5788 stays closed as the predecessor record.
Shape of the plan
- Core: a plain, dumb client — local identity, basic store, provider link, CLI — with everything else behind features (§3 of the record).
- Feature catalogue: curated opt-in features with declared dependencies and exclusivity groups; alternate stores are the named mutually exclusive group (§4).
- Profiles:
plain(the user download),full(curated all-on server build — a profile, not--all-features),basement(headless),embedded(library only), plus served-environment compositionscomposer-host,alt-store-node,hosted-edge; every build is named by its composition hash (§5–§6). - The Roc platform composer is one feature of this binary (
roc-composer), with its own Rust plan at §8 of the record: manifest schema + canonical CBOR/BLAKE3 hashing first, per-target composability certification, the universal host never a production artefact, registry graduation/revocation at the grant layer.
Slices (§10 of the record — plan output, NOT yet queued)
- S1 — Catalogue + manifest + hash, as a design-of-record
- S2 — Feature hygiene
- S3 — The
worldsplit - S4 — The plain profile
- S5 — The full profile + composition stamping
- S6 — Store exclusivity, first alternate
- S7 —
id-composebuild tool + registry - S8 — CI matrix + cross-profile conformance
- S9 — Measurement + budgets
- S10 — Roc Composer v0
- S11 — Roc Composer v1
- S12 — Transport adapter features
- S13 — Hosted/alt-store served profiles
Slices get packetised from this issue when the programme is scheduled; the plan itself enqueues nothing.
Links
- Composer design record: PR docs: Roc platform composer — amendment to the composed-platform design #14029 (
doc/2026-11-24T02-45-34Z_design_roc-platform-composer/) - Design exploration it amends:
doc/2026-11-24T02-09-38Z_research_roc-investigation/platform-design-exploration-2026-11-23.md(Part 3) - Predecessor design: id: design: feature-leveled build variants on the crate split — client-only, server, headless, embedded (from #3447) #5788 (closed)
- Open decisions: §11 of the plan record — recorded there, not taken here.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T03:45:35Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}Acceptance criteria
- The cargo-feature catalogue exists and names the build profiles from the plan of record.
- The Roc composer is available as a feature per the plan, succeeding id: design: feature-leveled build variants on the crate split — client-only, server, headless, embedded (from #3447) #5788.
- The section 10 slices are filed as issues and queued (they are plan output, not yet queued, at filing).
Activity
developing-today commentedon Nov 24, 2026
CODE-5163
developing-today-fleet commentedon Nov 24, 2026
Amendment — Drew's refinements to the feature-composition plan (2026-11-23)
Recorded from Drew's direction in the main chat, 2026-11-23 ~22:02 CST, confirming the plan's reading and extending it. These points amend the plan of record (doc/2026-11-24T03-36-48Z_design_id-feature-composition/, PR #14055); the dated record is not rewritten — this comment is the amendment of record.
1. Features gate three distinct acts, not one
The plan's catalogue splits by role, because three different binaries (or three modes of one binary) need three different feature sets:
rustfeature may need to be enabled to compile a platform carrying a capability that needs it.2. Build/run asymmetry is first-class, in both directions
What a binary needs to build a platform and what it needs to run one are different sets, and neither implies the other:
3. Permissions inside ID: three request kinds
Authority lives inside the ID system as app permissions, separate from composability:
Each needs its app permission. A user requesting an app with a specific feature set needs permission to do so, and the feature set must be valid — composable as a platform under the catalogue's rules. Permission and validity are independent checks; either one failing stops the request. (This is the grant side of the composer's narrowing: composition ⊇ declaration ⊇ grant.)
4. Expected deployment shapes (the common cases stay simple)
Most scenarios are one of: (a) servers carrying just what their platform(s) need; (b) servers with everything enabled, able to launch any platform, running many different platforms across many clients; or (c) a mix of the two. Client builds mirror the same selection: e.g. ID as an Android app bakes in the Android platform capability and carries only compatibility layers to run as a terminal, while the ID executable in client form would carry nothing able to execute the Android platform.
5. Game-engine platforms go either way
For engine platforms (the Odin engine platform; the Bevy-based one): either the ID binary runs on the platform — the platform opens the appropriate protocol and has the API client built in, with whatever the capability needs enabled (e.g. physics) — or ID runs as a service and a separate game executable connects to it. The Bevy code itself contains nothing about platforms or Roc: platform handling is handed off to a service (on a laptop or elsewhere), or the platform component is built right into the Bevy app, in which case the ID executable is not used at all.
6. Precompile-first posture, dynamic as the escape hatch
For performance: precompile. ~90% of the time, runs use a preset list of precompiled platforms — hosted by the user, or accessed as hosted environments. Fully dynamic generation must nevertheless be possible end to end: dynamically generate a platform, execute a world against it, and dynamically execute sandboxed Roc code the world app was built for — via a compiled DLL of the client-side code built directly from the Roc code, compiled by us (a trusted backend), never by the submitting client — to prevent any hijinks.
7. The strategy-ID tick model (automated / AI-controlled competitive games)
developing-today-fleet commentedon Nov 24, 2026
Plan amendment — profile naming + open profile sets (Drew, 2026-11-23 23:21 CST)
Two changes to the plan's profile section (§6), in Drew's words: "make basement an alias for headless profile or something and allow simple config/way to make new profile sets."
1.
headlessis the canonical profile name;basementis an alias.headless.basementresolves to it as an alias, so anything written againstbasementkeeps working.2. Profile sets are open — defining a new profile is a config act, not a code act.
plain,full,headless,embedded) are expressed in the same config format, so built-in and user-defined profiles share one definition mechanism, one validation path, and one composition-hash treatment — a user profile's builds are named by their composition hash exactly like a built-in's.Plan impact: §6 gains alias resolution + the profile-definition config; the §10 slices that touch the catalogue/profiles carry both. Nothing else in the plan changes; the slices remain deliberately unqueued.
developing-today-fleet commentedon Nov 24, 2026
Amendment 3 — "server" and "client" are roles, not kinds of node (Drew, 2026-11-23)
Recorded from Drew's direction in chat, 2026-11-23 ~23:38 CST: "server and client is sort of arbitrary they are kind of all servers and can be clients etc p2p. but practically it's good to treat them as different in many cases."
What this changes in the plan:
This amends the framing of Amendment 1's three-sided matrix (compile / run a platform / run the client half): the three sides stand, but they are per-role feature sets that any node may hold in any combination.
developing-today-fleet commentedon Nov 24, 2026
Amendment 4 — the strategy-model behaviours are conventions, not hard-coded semantics (Drew, 2026-11-23)
Recorded from Drew's direction in chat, 2026-11-23 ~23:42 CST: "the waiting idling error worldside etc are examples of common conventions one might expect but aren't hard coded, world's might do all sorts of things but often these kinds of things."
This corrects the framing of Amendment 1's strategy model (comment 7121662656):
developing-today-fleet commentedon Nov 24, 2026
Amendment 5 — correction: "the rest feature" is the rust feature (Drew, 2026-11-23)
Resolves the one open term from Amendment 1 (comment 7121662656), where dictation rendered the compile-prerequisite feature's name as "the rest feature." Drew's correction, 2026-11-23 ~23:50 CST: "For the IDE [the ID binary] to even be able to compile a platform, it needs the rust feature, and depending on what's needed, the rust feature might need to be enabled in order to compile a platform with that capability."
What the record now says:
rustfeature. ID needs the rust feature enabled to compile platforms at all — it is the baseline prerequisite for the compile act, alongside the composer feature (roc-composer).rustexample in this light: the per-capability features a compile needs are the features of the selected capabilities, and for Rust-implemented capabilities that set includesrustitself — on top of its baseline role.dezren39 commentedon Nov 24, 2026
Hold — execution-risk check on the worktree checkout (xaltha lane, 2026-11-24 ~04:50 CST)
I was handed #14056 (shortlist, slice S1 — feature catalogue + manifest + hash) and booted a worktree from
origin/main(48e4feb2f) with an empty branchxaltha/14056-feature-cataloguepushed first. The checkout itself completed, but the result failed an execution-risk check, so I stopped immediately, removed the worktree, and deleted the local and remote branch. No code was written, no slice landed, and no further hands were taken this run.The notice, quoted in full and verbatim:
Drew — in plain words: should I go ahead and work this issue from a fresh checkout of
origin/main, or do you want a different way in (for example, working from an already-checked-out worktree)? I am waiting for your go-ahead and will not proceed on #14056 until you say so.Resume point if approved: S1 of the §10 slice list — the §4 catalogue as machine-readable data, the §5 manifest schema + canonical hashing spec, and the §0.2 reconciliation as an amendment to #5788's record, validated against today's tree. No lane claims on the issue; S1 is unclaimed.
dezren39 commentedon Nov 24, 2026
Triage verdict (task 22497, lane oc-code-08, 2026-11-24): NOT RESOLVED, sized and routed.
Fresh state: issue OPEN, plan record + 5 amendments on main/in issue, no PR references it, S1 unclaimed with no code landed. Routed: slice S1 packet (task queue, catalogue + manifest + hash design-of-record) under standard fleet worktree + shell rules. S2-S13 remain unscheduled per the issue.
S1 of #14056: feature catalogue + manifest + hash as design-of-record
Merge pull request #14324 from developing-today/oc-code-01/14056-s1-c…
developing-today-fleet commentedon Nov 24, 2026
S1 landed — design-of-record merged
Slice S1 (catalogue + manifest + hash) is complete. PR #14324 merged 2026-11-24T11:46:35Z, merge commit
33271cdbcdb5.oc-code-01/14056-s1-catalogue, commita01ed12e); the lane parked after pushing, and lane ITEM-WORK-107 took over the claim, independently re-verified, opened the PR, and merged it.python3 -I validate.pypasses (all 7 profiles resolve);golden/recheck.shreproduces the canonical 464 bytes and the BLAKE3 hash960b3f97…7f78.pkgs/id/composition/(catalogue.toml with 33 features, declared dependencies, roles, 3 exclusivity groups; manifest-schema.md; composition-hash-spec.md; examples; golden vector; validate.py), the S1 record note in the design folder, and the §0.2 reconciliation appended as an amendment to the id: design: feature-leveled build variants on the crate split — client-only, server, headless, embedded (from #3447) #5788 predecessor record.headlesscanonical +basementalias, roles-not-classes, conventions-not-semantics,rustfeature correction).This issue stays open: S2–S13 build on this record's shape. Known findings handed forward in the S1 record note:
id-web/sandboxforwarding gap → S2;worldconflation → S3; core-default group overlap warning until S6.dezren39 commentedon Nov 24, 2026
Triage verdict (task 23316, conductor, 2026-11-24)
NOT RESOLVED. Sized and routed to slice S2.
Fresh checks (gh, origin/main 2026-11-24):
doc/2026-11-24T03-36-48Z_design_id-feature-composition/is on main.33271cdbcdb5. It landedpkgs/id/composition/(catalogue, manifest schema, hash spec, golden vector, validate.py).Sizing: S2 is one queue packet (feature hygiene: resolver pin, id-web/sandbox forwarding decision, member-default divergences documented, Nix/just/build.sh generated from one profile source). It fits one session and one PR. S3 to S13 stay unpacketised until their predecessors land, per the plan.
Routed: queue packet
repo-health:v1:slice:developing-today/code:issue:14056:slice-2enqueued onrepo-health-code-pilot(kind feature_slice, priority 40). Done check: the Nix id-web and cargo web feature graphs match, andvalidate.pyplusgolden/recheck.shpass.Closing is not warranted: the issue tracks S2 to S13.
dezren39 commentedon Nov 24, 2026
Conductor binding: queue task 23316 claimed by conductor; worker session ses_e5df22e24acffe8pkD3IYVDyew on opencode-route/workhorse, worktree ~/git/fleet/task-23316-id-feature-composition. Session engaged the task (first assistant verdict: #14056 open; S1 merged via PR #14324; S2 sized). The bind verb refused (no lane ledger row), so this comment is the binding record.
dezren39 commentedon Nov 24, 2026
Triage verdict (lane code-i, task 23316, 2026-11-24): already routed — no new packet
Fresh state: OPEN, no blocker. This issue is the implementation home for the feature-composition plan; the plan of record landed at
doc/2026-11-24T03-36-48Z_design_id-feature-composition/(PR #14055, merged6b1f96b9), and the body states the §10 slices are plan output, deliberately unqueued until the programme is scheduled. Four amendments are recorded as comments on this issue (roles-not-nodes, open profile sets +headlessalias, strategy-model conventions,rustas the compile prerequisite).Routing decision: the work is already correctly routed — slices get packetised from this issue when the programme is scheduled, so coverage-reconciliation pass 2 needs no additional queue item for #14056. The only loose end is the S1 (catalogue + manifest + hash) hold recorded earlier by the xaltha lane; it stands as a recorded exception, and no code was written on it. Nothing here is blocked by me.
Size: XL programme (13 slices); S1 alone is a design-of-record, S2–S13 are implementation. Triage timebox respected; completing the triage packet with this verdict and no follow-on.
9 remaining items
developing-today-fleet commentedon Nov 26, 2026
Coverage triage refresh (OpenChamber lane oc-code-03, task 23316; 2026-11-26): fresh Fleet readback confirms #14056 remains OPEN. The issue is the implementation home for the 13-slice feature-composition plan; its body says the slices are deliberately packetised only when the programme is scheduled. S1 is merged in PR #14324 and S2 is now merged in PR #14503 (merge 2026-11-26T16:15:51Z; follow-up task 24063 is done). S3–S13 remain planned, not currently queued in repo-health-code-pilot; this triage does not create a duplicate or prematurely queue work contrary to the plan. Verdict: already correctly routed as an ongoing implementation tracker; no closure, no new packet. A later scheduled pass can packetise the next predecessor-ready slice.
developing-today-fleet commentedon Nov 26, 2026
Coverage triage recheck (code-h, task 24535, 2026-11-26): #14056 remains the open implementation tracker for the landed 13-slice plan. S1 (#14324) and S2 (#14503) are merged; S3–S13 are still plan output and the issue explicitly says they are packetised only when the programme is scheduled. The latest scheduled-pass verdict (task 23316, 22:49Z) remains current. No live slice task or new schedule authorization found; no duplicate packet created. Issue stays open as planned tracker.
developing-today-fleet commentedon Nov 26, 2026
Agent note — small_fix triage (lane oc-code-02, task 24929, follow-on of triage 24535)
State: assessed — no small fix applies; programme tracker stays open by plan.
Fresh evidence (checked 2026-11-27T00:02Z via fleet gh):
Small_fix assessment: there is no small-edit fix for this packet to carry — the next work (S3 world split onward) is programme-scheduled slice work, contradicting the plans explicit no-premature-queueing rule to start here. No code changed.
Disposition: task 24929 completes with no PR; S3+ packetisation belongs to the programme schedule, not to reconciliation follow-ons. user/review + meta/protocol-gap labels untouched (protocol-gap review is human/Muse business per the monitor note).
developing-today-fleet commentedon Nov 27, 2026
Triage re-verify — lane 1837-M, queue task 25481 (2026-11-26)
Verdict: programme tracker, gated — no lane-workable slice, no new packet.
Fresh check (1837-M): #14056 OPEN, labels
user/review+meta/protocol-gap. This agrees with the three same-day verdicts already on this issue (tasks 23316, 24535, and 24929 at 2026-11-27T00:02Z):user/reviewlabel = Drew-review gate under the standing workability filters; a lane does not take this over.Disposition for task 25481: triage complete; tracker stays open by plan until the programme is scheduled and the next predecessor-ready slice is packetised.
🤖 Agent note · triage · lane 1837-M · task 25481 · outcome: gated_tracker (user/review; S1/S2 merged, S3–S13 programme-scheduled)
developing-today-fleet commentedon Nov 28, 2026
Triage re-verify (lane code-f, queue task 25481): programme tracker, gated — no lane-workable slice, no new packet.
Fresh checks this claim (gh API, 2026-11-28 ~01:35Z):
Disposition: no small fix applies; tracker stays open by plan. Completing triage task 25481 with no follow-on packet.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (lane CEN-C14)
Verified firsthand (body + all comments). State: S1 (composition checker core) merged as PR #14324; S2 (four-layer stack proof) merged as PR #14503, both verified. S3-S13 exist as plan output only — by the plan's own recorded rule, slices packetise when the programme is scheduled, so their absence as issues is expected, not a stall.
Blocker (named): programme scheduling for the ID feature-composition track (the plan packetises S3+ at that point), plus the standing user/review gate this tracker carries.
Census action: added
priority/normal. Verdict: blocked (programme scheduling, by the plan's own rule).developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): rechecked in full (body, labels, comments, edges).
STRENGTHS: The premise discipline is exemplary: the plan of record is landed (PR #14055), the predecessor design home #5788 was checked and correctly kept closed (this plan succeeds it, keeping its four levels as founding profiles), and Drew's prioritisation of the plan (2026-11-23, with the Roc platform composer design) is recorded. Three triage verdicts concur: programme tracker, gated, no lane-workable slice right now.
GAPS: No priority/* and no kind/* label.
FIXES I APPLIED: Added priority/normal (default band) and kind/feature.
REMAINS: Nothing for Drewry. Slices file from the plan record as the composer work lands.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Census audit of #14056 (id: implement the feature-composition plan — cargo-feature catalogue, named build profiles, Roc composer as a feature; succeeds #5788).
Note: a parallel census comment by Felix is already on this issue today; this pass re-verified everything live.
Strengths: exemplary premise discipline — the plan of record is landed and linked, and the body states plainly that the section 10 slices are plan output, NOT yet queued; kind/feature, priority/normal and user/review set live.
Gaps found: no status/, effort/ or app/* labels; no acceptance-criteria section.
Blocker: none; the next step (filing and queueing the section 10 slices) is stated in the body.
Actions taken: added labels status/parked, effort/l, app/id; appended an Acceptance criteria section to the body (original text untouched).