Repository navigation
Open
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/featureNew feature or capability requestNew feature or capability requestpriority/normalOrdinary priority (the default)Ordinary priority (the default)queue/claimedQueue worker lifecycle stateQueue worker lifecycle statestatus/in-progressQueue worker lifecycle stateQueue worker lifecycle statework/assignedQueue worker lifecycle stateQueue worker lifecycle state
Milestone
Description
Implement: program update channels + update flow into worlds
Implementation next step from the Phase-14 Program ecosystem v2 step #6293 (gallery & updates); design of record: doc/2026-11-11T05-24-00Z_design_id_program_ecosystem_v2/ (Program ecosystem — v2 design: gallery & updates), refining core decision D4 from doc/2026-11-10T21-24-00Z_design_id_program_ecosystem/. The registry side of v2 is issue #8281; this issue is the update machinery the v1 design explicitly deferred ("v1 records the policy field but builds no channel machinery — that is v2", v1 record §3).
Scope
- Channel machinery behind the install record's policy field (v1 record §3 step 5): a channel is one author's version line for one program name — the (author key, name) pair of the D1 identity.
pinned(the default) never changes without a fresh install decision;trackingopts an install into update discovery for exactly that line. A fork is a different line: lineage is history, not a channel (v1 record §4) — no install ever tracks a parent or a fork. - Update discovery: a newer bundle for the tracked line, arriving by any path — a registry (id: implement gallery registry protocol + reference registry service (from #6278) #8281), pkarr, a self-hosted registry, or a local file — is an update candidate. Discovery is pull-based, at world-owner action; no background auto-fetch for any policy.
- Update application: the candidate runs the v1 import verification pipeline first (hash, F12.17 signature, F12.7 ABI fit, provenance check). Then the D4 envelope decides: an update that keeps the ABI descriptor, widens no required capabilities, and migrates state under the F12.9 (id: F12.9 program upgrade with state migration and rollback #1066) rules may apply under a tracking policy the owner chose; anything outside that envelope requires explicit world-owner approval, presented with the from→to identities, the author's changelog (signed manifest data; its absence is shown as "no changelog provided", never filled in), the ABI/capability delta, and the migration outcome. Rollback per F12.9 is part of the same act, and a failed update leaves the prior install untouched. Quotas re-check at apply time (F12.10, id: F12.10 fair scheduling and per-account quotas #1067).
- A bundle whose (author key, name) differs from the installed line is not an update — it is a new install through the ordinary v1 path.
Dependencies
- Issue id: implement signed program bundle format + sideload import (from #6278) #8280 (signed bundle format + sideload import) — the import pipeline and install record this builds on.
- F12.9 upgrade/migration/rollback (id: F12.9 program upgrade with state migration and rollback #1066, spec landed), F12.7 ABI (id: F12.7 ABI specification and conformance suite #1064, spec landed).
- Registry-fed discovery rides issue id: implement gallery registry protocol + reference registry service (from #6278) #8281; file/registry-free discovery must not wait for it.
Acceptance
- A tracking install discovers and applies an in-envelope update end to end; the install record after the act names the new D1 identity and preserves the policy.
- An out-of-envelope update (ABI widened, capabilities widened, or migration failure) does not apply without explicit owner approval; the refusal names the envelope term it breached.
- A pinned install is never modified by update discovery — discovery reports availability only.
- A failed or refused update leaves the previously installed version running, and rollback restores it byte-identically (F12.9 oracle).
- The same update offered via a local file and via a registry produces identical outcomes (path-independence oracle).
Metadata
Metadata
Assignees
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/featureNew feature or capability requestNew feature or capability requestpriority/normalOrdinary priority (the default)Ordinary priority (the default)queue/claimedQueue worker lifecycle stateQueue worker lifecycle statestatus/in-progressQueue worker lifecycle stateQueue worker lifecycle statework/assignedQueue worker lifecycle stateQueue worker lifecycle state
Activity
developing-today commentedon Nov 11, 2026
CODE-2551
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged
dezren39 commentedon Nov 17, 2026
Agent note — channel slice BLOCKED on #8280: the install record it extends does not exist yet (task 20169, lane any-j, 2026-11-17)
The channel slice's acceptance presupposes the v1 install record ("install records carry the channel policy with 'pinned' as the default") and the D1 program identity types from the signed-bundle work. Fresh verification this shift:
pkgs/id/crates— noInstallRecord/ProgramInstallrecord, no update-policy or channel types; the only program-install surface is theProgramInstalledworld event (module hash) inid-worlds. The v1 record's policy field is a design statement (v1 design §3), not landed code.Action: task 20169 is blocked on #8280 (
--blocked-by-issue developing-today/code#8280). Unblock condition: #8280 slice 2 (task 20112) lands the install record with its policy field and D1 identity; the channel slice then implements pinned-default immutability, tracking scoped to the (author key, name) line, and the fork-is-a-different-line rule against that record, with the packet's three tests. The rest of #8546 (discovery, D4-envelope application, rollback) remains beyond this slice regardless.dezren39 commentedon Nov 18, 2026
Claimed task 20169 and wrote its first checkpoint with
origin: openchamber-scheduled-lane. Fresh revalidation changes the previous dependency status: #8546 is OPEN; #8280 is CLOSEDstatus:done; PR #11498 (bundle format/export/verify/fork) and PR #11499 (sideload import/provenance) are MERGED. Current main containsProgramInstallRecordand the D1 identity/provenance types, so the prior #8280 blocker is cleared. No open PR for this slice was found. I am resuming the pinned/tracking channel policy against the landed record, keeping the scope to this slice.dezren39 commentedon Nov 22, 2026
Merged work, still open. Every pull request that references this issue has merged (#8547, #11725) 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