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 Programs as websites in id serve (design #2146) #5537
Implementation of an ID design that has not landed yet (partial implementation as of the 2026-11-04 inventory).
Design issue: #2146
Design doc: doc/2026-11-01_design_id2146.md (in developing-today/code)
Acceptance, in brief: programs served as websites in id serve per the design's model.
Current state: app serving exists; the full programs-as-websites model is incomplete.
The design documents govern. If implementation shows the design is wrong or incomplete, file a design amendment rather than silently diverging.
Scope: pkgs/id and its tests. Filed 2026-11-04 under Drew's order to begin work on all not-implemented ID designs. Inventory: workspace/goals/keep-the-four-repos-healthy/files/id-design-implementation-inventory-2026-11-04.md (in the fleet workspace).
Fresh verification: issue #5537 is OPEN with no hard-stop labels or assignee. Design issue #2146 is CLOSED, and no open PR titled “Programs as websites” or matching #5537 was found. The task is scoped to pkgs/id and tests, following doc/2026-11-01_design_id2146.md; no design amendment is indicated yet.
next: inspect the settled design, existing id serve implementation, and task-specific worktree state; implement only the documented gap and run targeted tests.
What landed (PR #11284, 3 files, +360/−21): segment-boundary dispatch already existed (publication_mount_layer resolves via PublicationMounts::lookup(), longest whole-segment prefix, program-only router scoped under the prefix) — the missing phase-4 layer was validation/conflict handling, now in:
id-web: PublicationMounts::mount() returns Result<()> — a path mounted to a different world is refused (table unchanged on error); same-world re-mount idempotent; nested mounts legal.
id-cli: ServeMountSink propagates the result (publication manager already reverts its persisted entry on sink error).
Tests:cargo test -p id-web 704 passed / 0 failed; cargo test -p id-cli 686+7+7 passed / 0 failed (verified at base c91a8ba; the three touched files are byte-identical on current main). New tests cover the canonical accept/reject matrices, the reserved-route matrix, different-world remount refusal, and sibling-mount segment isolation. Codex review was quota-blocked (two attempts, zero findings produced); CodeRabbit rate-limited with no findings.
Agent note — lane any-l · task 19857 · state: stood down (task completed by the owning session)
I claimed task 19857 at 12:05Z after lane any-n's capacity park, resumed from the shared worktree (preserved and committed the sub-session's phase-4 work), and was mid-verification when the owning session (the 11:20Z claim lineage) completed the task at 12:35Z: PR #11284 merged (6c20bab1de4bf5d7431f182447a477e20f3b22be), with cargo test -p id-web (704 passed) and -p id-cli (686+7+7 passed) recorded in the completion. My next heartbeat returned the verdict "not claimed by repo-worker-code" and I stopped work on the task per protocol. My duplicate local commit of the same implementation was not pushed.
One acceptance item from the task packet was not in PR #11284: the unauthorized/authorized session round-trip under a mount test (and router-level sibling-mount isolation). I had both written against the merged tree (diff vs origin/main: +121/−0, tests only), so they land as a small follow-on PR from branch queue/5537-mount-session-tests rather than being dropped. The WebSocket-under-mount residual is already owned by issue #11290 / task 20759.
Merged work, still open. Every pull request that references this issue has merged (#5590, #5606, #6809, #11284, #11300) 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").
Done check against current main: the #2146 design criteria for #5537 are covered by merged PRs #5590, #5606, #6809 (phases 1–3), #11284 and #11300 (phase 4 mounts, validation/conflicts, authorized session round-trip and sibling isolation). The remaining mounted WebSocket round-trip was completed by #11482; its merged test and documented verification are on #11290. Runtime publication integration (design phase 5) belongs to companion #2147, which is closed with the live publish/unpublish acceptance walk recorded there. No #5537 acceptance work remains, so closing this tracker per the Nov 22 done-check note.
The done check recorded on this issue at 2026-11-23T05:59:10Z concluded "No #5537 acceptance work remains, so closing this tracker" — but the issue state never flipped. I re-verified the verdict first-hand just now and am completing the close:
Activity
developing-today commentedon Nov 4, 2026
CODE-1364
dezren39 commentedon Nov 4, 2026
agent-note:v1
event: picked up
task: 9604 (small_fix; queue repo-health-code-pilot; worker repo-worker-code; lane 9aca43b4-5439-4939-9f71-323f5d32521b — OpenChamber scheduled lane; attempt 1)
by: repo-worker-code
Fresh verification: issue #5537 is OPEN with no hard-stop labels or assignee. Design issue #2146 is CLOSED, and no open PR titled “Programs as websites” or matching #5537 was found. The task is scoped to
pkgs/idand tests, followingdoc/2026-11-01_design_id2146.md; no design amendment is indicated yet.next: inspect the settled design, existing id serve implementation, and task-specific worktree state; implement only the documented gap and run targeted tests.
dezren39 commentedon Nov 4, 2026
🤖 Agent note · picked up
Merge pull request #5590 from developing-today/queue/9604-5537-progra…
dezren39 commentedon Nov 4, 2026
🤖 Agent note · done
WebContentTarget(Explorer /Program(world)) onWebBinding,[web_bindings]lines may carry a target inside the line, stable binding identitytarget@addr, bound-listener log names the target. No routing change, by design (phase 1 of the design's phased plan).228 remaining items
Merge pull request #11284 from developing-today/queue/19857-5537-phas…
dezren39 commentedon Nov 17, 2026
🤖 Agent note · done — phase 4 landed: PR #11284 MERGED (merge 6c20bab), queue task 19857 complete as fixed_merged
What landed (PR #11284, 3 files, +360/−21): segment-boundary dispatch already existed (
publication_mount_layerresolves viaPublicationMounts::lookup(), longest whole-segment prefix, program-only router scoped under the prefix) — the missing phase-4 layer was validation/conflict handling, now in:id-web:canonicalize_mount_path()— rejects relative paths, empty/./..segments, trailing slash except root, whitespace/control/?/#/\.id-web: reserved Explorer-route shadow refusal at mount time (RESERVED_EXPLORER_ROUTES, either-direction segment-boundary relation). The acknowledged override remains the id(serve): dynamic publish/unpublish — bind and unbind programs and pages to ports, interfaces, and paths at runtime #2147 publication operation only — not implemented here, per packet scope.id-web:PublicationMounts::mount()returnsResult<()>— a path mounted to a different world is refused (table unchanged on error); same-world re-mount idempotent; nested mounts legal.id-cli:ServeMountSinkpropagates the result (publication manager already reverts its persisted entry on sink error).Tests:
cargo test -p id-web704 passed / 0 failed;cargo test -p id-cli686+7+7 passed / 0 failed (verified at base c91a8ba; the three touched files are byte-identical on current main). New tests cover the canonical accept/reject matrices, the reserved-route matrix, different-world remount refusal, and sibling-mount segment isolation. Codex review was quota-blocked (two attempts, zero findings produced); CodeRabbit rate-limited with no findings.Residuals, routed not dropped:
publication_mount_layer) — filed as id: WebSocket upgrades under a publication mount do not complete (#5537 phase-4 residual) #11290, enqueued as queue task 20759.Issue #5537 stays open as the program tracker; phases 1–4 of design #2146 are now landed.
dezren39 commentedon Nov 17, 2026
Agent note — lane any-l · task 19857 · state: stood down (task completed by the owning session)
I claimed task 19857 at 12:05Z after lane any-n's capacity park, resumed from the shared worktree (preserved and committed the sub-session's phase-4 work), and was mid-verification when the owning session (the 11:20Z claim lineage) completed the task at 12:35Z: PR #11284 merged (
6c20bab1de4bf5d7431f182447a477e20f3b22be), withcargo test -p id-web(704 passed) and-p id-cli(686+7+7 passed) recorded in the completion. My next heartbeat returned the verdict "not claimed by repo-worker-code" and I stopped work on the task per protocol. My duplicate local commit of the same implementation was not pushed.One acceptance item from the task packet was not in PR #11284: the unauthorized/authorized session round-trip under a mount test (and router-level sibling-mount isolation). I had both written against the merged tree (diff vs origin/main: +121/−0, tests only), so they land as a small follow-on PR from branch
queue/5537-mount-session-testsrather than being dropped. The WebSocket-under-mount residual is already owned by issue #11290 / task 20759.Merge pull request #11300 from developing-today/queue/5537-mount-sess…
dezren39 commentedon Nov 22, 2026
Merged work, still open. Every pull request that references this issue has merged (#5590, #5606, #6809, #11284, #11300) 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
Done check against current main: the #2146 design criteria for #5537 are covered by merged PRs #5590, #5606, #6809 (phases 1–3), #11284 and #11300 (phase 4 mounts, validation/conflicts, authorized session round-trip and sibling isolation). The remaining mounted WebSocket round-trip was completed by #11482; its merged test and documented verification are on #11290. Runtime publication integration (design phase 5) belongs to companion #2147, which is closed with the live publish/unpublish acceptance walk recorded there. No #5537 acceptance work remains, so closing this tracker per the Nov 22 done-check note.
dezren39 commentedon Nov 23, 2026
state: closed (done-check close-out)
lane: archer, worker: muse (Lane HG)
The done check recorded on this issue at 2026-11-23T05:59:10Z concluded "No #5537 acceptance work remains, so closing this tracker" — but the issue state never flipped. I re-verified the verdict first-hand just now and am completing the close:
Closing as completed.