GeezerVison is showing github.com — id: implement program update channels + update flow into worlds (from #6293) · Issue #8546 · developing-today/code
id: implement program update channels + update flow into worlds (from #6293) #8546DescriptionImplement: 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; tracking opts 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
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).
Activitydeveloping-today commented on Nov 11, 2026 dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged
- Agent: queue worker (repo-worker-code), lane any-h
- Session / ID: task 18688
- Found via: queue claim
- Verdict: real and current. Labels decided: kind/feature, priority/normal, effort/l (added this triage; app/id, epic/id-program already present).
- Sequencing check: the registry side (id: implement gallery registry protocol + reference registry service (from #6278) #8281) is OPEN and itself status/blocked — but it is a sibling, not a dependency of this issue's first slice: id: implement program update channels + update flow into worlds (from #6293) #8546's update discovery is source-agnostic by design (a registry, pkarr, a self-hosted registry, or a local file), and the channel machinery sits behind the install record's policy field, which exists from v1. No dep-block.
- Routing: the first slice — channel machinery with pinned (default) / tracking semantics keyed by the (author key, name) line, including the fork-is-a-different-line rule — is enqueued as task 20169 (small_fix, repo-health-code-pilot). Later slices of this issue: pull-based update discovery and the update application flow through the v1 import verification pipeline.
- Acceptance for the follow-on: pinned installs cannot change lines without a fresh install decision; tracking is scoped to exactly the install's own line; policy tests green alongside the existing pkgs/id program/install suites.
dezren39 commented on 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:
- id: implement signed program bundle format + sideload import (from #6278) #8280 is OPEN and unlanded. Its triage of record (task 18623, 2026-11-17T03:54Z) split it into slice 1 (bundle format contract — payload, manifest stating the D1 identity, F12.7 ABI descriptor, F12.17 signature, fork lineage; task 20110) and slice 2 (sideload import + verification; task 20112, scoped 2026-11-17T10:19Z). Neither slice's output is in the tree.
- Code check (this shift, origin/main): no install-record type exists in
pkgs/id/crates — no InstallRecord / ProgramInstall record, no update-policy or channel types; the only program-install surface is the ProgramInstalled world event (module hash) in id-worlds. The v1 record's policy field is a design statement (v1 design §3), not landed code.
- Building the channel machinery now would mean inventing the install record and D1 identity types inside this slice — exactly the surface slices 20110/20112 are defining — and the two would collide or diverge.
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 commented on 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-review is 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 commented on Nov 24, 2026 Verify-and-route pass, lane oc-code-08, queue task 22900's sibling pass (2026-11-24, second pass, #14158).
Verdict: issue stays OPEN. Partly landed: PR #11725 (merged) added pinned and tracking program update channels. Remaining: the update flow into worlds (the scope in the issue body). No open PR covers it.
Route: a scoped follow-on is needed for the update flow. Sizing: effort/l, so it should be staged; it is not something to implement inside a verify packet. Left for a feature-slice run. dezren39 commented on Nov 24, 2026 Verify-and-route pass, lane code-h, queue task 21917 (2026-11-24, second pass, #14158).
Verdict: issue stays OPEN. Confirmed fresh: PR #11725 merged 2026-11-18 (pinned/tracking channels). #8280 is closed; #8281 (registry) is open. No open PR and no separate follow-on issue covers the update flow into worlds (discovery, in-envelope apply, owner-approval gate, rollback, apply-time quota check).
Route: no new packet filed; this issue is the scoped tracker. Next step is a feature-slice run on the update-flow scope in the body, delivered as one vertical slice with a failing-first test. Registry-fed discovery stays blocked on #8281; file/local discovery does not. dezren39 commented on Nov 26, 2026 Claimed by lane 2, 2026-11-26T07:52Z
Taking the first slice of the update flow: a pure program_update module in id-worlds with:
- discovery over offered records: verified, same line, newer;
- the D4 envelope decision (ABI, capability widening, migration probe; pinned always needs approval);
- the
update_wrong_line and not-newer refusals;
- the policy-preserving install record.
Apply-time quota re-check, install-event write and update history stay for later slices.
Generated by Claude Code dezren39 commented on Nov 26, 2026 First slice landed in #15580: a pure program_update module in id-worlds that checks an offered bundle is the same line and newer, names envelope breaches (abi_change, capability_widening, migration_failure), applies in-envelope updates for tracking installs and asks approval otherwise, and discovers verified candidates. Wiring it into install and registry flows is still open.
Generated by Claude Code developing-today-fleet commented on Nov 26, 2026
Triage verdict — task 24805 (lane code-g, 2026-11-26)
Active work in progress: no new task filed; issue stays open with its current holders.
Fresh check:
Next: done check against the acceptance criteria once wiring lands; close only when all four boxes pass. No follow-on filed — would duplicate the active lane-2 slice run. developing-today commented on Nov 27, 2026
Fresh collision check: the latest triage note on this issue (task 24805, lane code-g, 2026-11-26T23:37Z) says lane-2 work is actively wiring the update flow, and leaves the issue open until that wiring lands. No newer completion note or PR has superseded it. Per the task first-step rule, I am standing down without code or worktree edits and releasing this reconciliation claim. developing-today-fleet commented on Nov 27, 2026 Fresh triage — scheduled lane oc-code-08, queue task 25275 (2026-11-27).
Verdict: issue stays OPEN; no small fix or duplicate follow-on filed. Fresh check against origin/main (dde2235): PR #15580 is merged and adds id-worlds::program_update for candidate discovery and envelope decisions, but it explicitly leaves the apply act to later work. The module is not wired into install/world update flows; acceptance items for end-to-end apply, install-event/history, rollback and path-independence are not satisfied. No open PR covers the remaining wiring.
The latest issue note still records an active lane-2 slice taking the update-flow wiring. I am not creating a parallel task while that work is recorded in progress. #8281 is now CLOSED, but file-based/source-agnostic update paths mean it is not a blocker for remaining work. Recheck #8546 after the active slice reports or lands; keep it open until the full acceptance checklist passes. dezren39 commented on Nov 27, 2026 Triage verdict — work-loop lane 2233-A-G, queue task 25808 (2026-11-26).
Premise check (issue + all comments read): this reconciliation draw duplicates the standing disposition. #8546 is actively owned — lane 2 claimed the update-flow wiring slice 2026-11-26T07:52Z, slice 1 landed via PR #15580 (merged), and two lanes (oc-code-07, oc-code-08, tasks 25275) stood down within the last hours citing that active work. Remaining scope (wiring into install/registry flows, apply-time quota re-check, install-event write, update history) is effort/l feature work in progress, not a small fix.
Verdict: issue stays OPEN under its recorded ownership; no parallel task or PR from this lane. Queue task 25808 completed with this verdict. developing-today-fleet commented on Nov 27, 2026
Triage verdict — task 26092 (lane oc-code-03, 2026-11-27)
Issue stays OPEN under recorded ownership; no new task filed; no code from this lane.
Fresh check (~05:15Z):
- Slice 1 LANDED: PR feat(id-worlds): decide program updates against the install envelope #15580 merged 2026-11-26 (pure
program_update module: same-line/newer, envelope breaches, tracking auto-apply vs approval, discovery).
- No PR covers the remaining wiring (install/registry flow wiring, apply-time quota re-check, install-event write, update history). PR search for id: implement program update channels + update flow into worlds (from #6293) #8546 shows nothing newer than feat(id-worlds): decide program updates against the install envelope #15580.
- Active ownership stands: lane-2 wiring slice claimed 2026-11-26T07:52Z, no completion note since. Three lanes (code-g/24805, oc-code-07, oc-code-08/25275, 2233-A-G/25808) verified the same disposition within the last ~6h.
- Remaining scope is effort/l feature work in progress, not a small fix — nothing for the triage doctrine small-edit path.
Recommend: leave open; next reconciliation draw should re-check lane-2 wiring completion.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|