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: implement signed program bundle format + sideload import (from #6278) #8280
Implement: signed program bundle format + sideload import
Implementation next step from the Phase-14 Program ecosystem core topic #6278; design of record: doc/2026-11-10T21-24-00Z_design_id_program_ecosystem/ (Program ecosystem — share, fork, gallery: first-pass research + design), decisions D1–D2.
Export: produce a bundle from an installed/authored program.
Sideload import: import a bundle from a local file into a world with no server involved — verify signature + content hash, check the ABI descriptor against the world's host ABI, record provenance in the world's install record. Sideloading must always work (Phase-14 principle from id: next horizons — what comes after Phase 13 (discussion with Drew) #1240: the app must not technically need us).
Bundle round-trip: export → sideload import into a fresh world yields a runnable install whose recorded identity, hash, signature, and lineage match the bundle.
Tampered payload or manifest fails verification and is refused with the failing check named.
[agent: repo-worker-code / lane code-a, task 18623] Triage of #8280: all gates closed, nothing built yet — routed in two slices.
Fresh checks (2026-11-17): issue OPEN (app/id, epic/id-program; no hold labels) with only its filing comment. Gates verified CLOSED today: #1069 (F12.17 module signatures — machinery in pkgs/id/crates/id-sync, artifact.rs/envelope.rs), #1064 (F12.7 ABI specification), #6278 (the Phase-14 core topic). No program-bundle code exists in pkgs/id/crates yet; the design of record is doc/2026-11-10T21-24-00Z_design_id_program_ecosystem/ (D1–D2).
Routing:
Slice 1 — bundle format + export/verify library (single-file bundle: payload, manifest, F12.17 signature, F12.7 ABI descriptor, fork lineage; library-level round-trip + tamper refusals named by check, fully offline): enqueued as small_fix task 20110.
Slice 2 — sideload import into a world (host-ABI check + install-record provenance; the world-level round-trip in id: implement signed program bundle format + sideload import (from #6278) #8280's acceptance): follow-on triage enqueued immediately after this task completes (standard triage key), to scope it against the landed slice-1 format.
Slice 2 is scoped against slice 1's format contract (task 20110: single-file bundle — payload, manifest stating the D1 identity, F12.7 ABI descriptor, F12.17 signature over manifest + payload, fork lineage — plus the export/verify library) and the design of record (doc/2026-11-10T21-24-00Z_design_id_program_ecosystem/, D1/D2/D4):
Import: read a bundle from a local file into a world, no server/gallery, fully offline (D2).
Verification at import via slice 1's library: F12.17 signature + content hash against the D1 identity (author public key, name, version, content hash); refusals named by the failing check.
ABI fit: the bundle's F12.7 descriptor checked against the target world's host ABI; mismatch refuses, naming the divergence.
Provenance rule (D1): same (author, name, version) with a different hash is a provenance violation — surfaced, never silently resolved.
Install record (D4): names the D1 identity, the hash installed, the bundle's lineage, and the install policy (default pinned).
Acceptance: the world-level round-trip — export → sideload into a fresh world → runnable install whose recorded identity/hash/signature/lineage match the bundle — plus tests for the four refusal paths.
Routing state: the slice-2 fix packet is written and validated (packet valid (repo-task/v1)), but it cannot be enqueued yet — the standard fix dedupe key for this issue is held by slice 1's task 20110 (queued), and the broker dedupe-hit confirms it. The packet (which itself declares depends_on: [20110]) is preserved in the goal workspace (hidden_files/packet-8280-slice2.json), and task 20112 is blocked on 20110: when slice 1 completes, the packet is enqueued and this triage completes naming the new task.
Activity
developing-today commentedon Nov 10, 2026
CODE-2464
dezren39 commentedon Nov 17, 2026
[agent: repo-worker-code / lane code-a, task 18623] Triage of #8280: all gates closed, nothing built yet — routed in two slices.
Fresh checks (2026-11-17): issue OPEN (app/id, epic/id-program; no hold labels) with only its filing comment. Gates verified CLOSED today: #1069 (F12.17 module signatures — machinery in
pkgs/id/crates/id-sync, artifact.rs/envelope.rs), #1064 (F12.7 ABI specification), #6278 (the Phase-14 core topic). No program-bundle code exists inpkgs/id/cratesyet; the design of record isdoc/2026-11-10T21-24-00Z_design_id_program_ecosystem/(D1–D2).Routing:
dezren39 commentedon Nov 17, 2026
Slice 2 scoped — task 20112 (follow-on triage from task 18623)
Slice 2 is scoped against slice 1's format contract (task 20110: single-file bundle — payload, manifest stating the D1 identity, F12.7 ABI descriptor, F12.17 signature over manifest + payload, fork lineage — plus the export/verify library) and the design of record (
doc/2026-11-10T21-24-00Z_design_id_program_ecosystem/, D1/D2/D4):Routing state: the slice-2 fix packet is written and validated (
packet valid (repo-task/v1)), but it cannot be enqueued yet — the standard fix dedupe key for this issue is held by slice 1's task 20110 (queued), and the broker dedupe-hit confirms it. The packet (which itself declaresdepends_on: [20110]) is preserved in the goal workspace (hidden_files/packet-8280-slice2.json), and task 20112 is blocked on 20110: when slice 1 completes, the packet is enqueued and this triage completes naming the new task.dezren39 commentedon Nov 18, 2026
🤖 Agent note · picked up (already completed on GitHub)