diff --git a/codev/projects/1940-tower-to-tower-messaging-proto/status.yaml b/codev/projects/1940-tower-to-tower-messaging-proto/status.yaml index f50e1db6c..50a710f1c 100644 --- a/codev/projects/1940-tower-to-tower-messaging-proto/status.yaml +++ b/codev/projects/1940-tower-to-tower-messaging-proto/status.yaml @@ -1,7 +1,7 @@ id: '1940' title: tower-to-tower-messaging-proto protocol: spir -phase: verify +phase: verified plan_phases: - id: phase_1 title: Shared address contract and parser @@ -41,12 +41,14 @@ gates: requested_at: '2026-11-24T18:36:35.026Z' approved_at: '2026-11-24T21:17:41.864Z' verify-approval: - status: pending + status: approved + requested_at: '2026-11-24T21:18:32.044Z' + approved_at: '2026-11-24T21:54:58.515Z' iteration: 1 -build_complete: false +build_complete: true history: [] started_at: '2026-11-21T01:30:58.126Z' -updated_at: '2026-11-24T21:17:44.001Z' +updated_at: '2026-11-24T21:55:00.602Z' context_refreshes: - boundary: enter:plan at: '2026-11-23T18:57:14.334Z' @@ -74,4 +76,6 @@ pr_history: pr_number: 1957 branch: builder/spir-1940 created_at: '2026-11-23T22:23:02.428Z' + merged: true + merged_at: '2026-11-24T21:18:08.940Z' pr_ready_for_human: false diff --git a/codev/state/spir-1940_thread.md b/codev/state/spir-1940_thread.md index 4dec378be..87fd85b94 100644 --- a/codev/state/spir-1940_thread.md +++ b/codev/state/spir-1940_thread.md @@ -1462,3 +1462,42 @@ Resumed after a context refresh at the phase boundary (`enter:review`). - Order from here: push, GitHub 8 of 8 on the new head, tell the architect, and on their confirmation `porch approve 1940 pr --a-human-explicitly-approved-this`, then `gh pr merge 1957 --merge --admin`, and tell them the merge commit. + +## 2026-11-24 — PR #1957 merged; in verify + +- 21:17Z: the architect confirmed the run on `c281d4884` (15 checks, Windows run 45485565786 + green) and that it stands without merging `main` again. `porch approve 1940 pr` run on the + owner's decision main-41; PR merged with `gh pr merge 1957 --merge --admin`, a merge commit, + not squashed: `707e0e904` (parents `fa4fc74ee` and `f56d6e42c`). Recorded with + `porch done 1940 --merged 1957`. `main` pulled into the worktree. +- I closed no issue and cleaned up nothing. The architect closes #1633, and #1605 only on the + owner's word. +- This entry is on the branch only: the PR had merged before it was written. +- Verify needs a Tower of this version, so a Tower restart, which is the owner's call. The two + checks: the installed `afx send :architect:` between two workspaces with the + reply command pasted back; sibling architects relaunching `main` first, then in registration + order. Next gate is `verify-approval`. Not "ready for cleanup" until it is approved. + +## 2026-11-24 — verify, on the installed Tower (3.3.8): one finding of mine + +- The architect ran check (1) on the installed Tower: whoami, the listing, a send to a named + architect in another workspace and its reply by the printed command, an unknown name and an + `afx://` address refused. All as built. Check (2), the relaunch order, is with the owner + (main-44) together with `verify-approval`. +- **My read-only check found that `afx workspace list` over-counts "running".** 46 of 52 + workspaces are listed as running; 12 have a live terminal (global.db has `terminal_sessions` + rows for exactly 12 workspaces). 14 of the 46 list no agents, 20 list only registered agents + marked `no live terminal`. +- Cause, read in the code: the address book's `running` is "the terminal map has an entry" + (`tower-address-book.ts`), and `getWorkspaceTerminalsEntry` is get-or-create and is called by + about 15 routes, so asking about a workspace gives it an empty entry. Which route made these + entries is inferred, not proved. My fixtures only ever put a workspace in the map with + terminals, so no test saw an empty entry. +- Consequences: mail to a stopped workspace with an empty entry is held `no-live-pty`, where one + with no entry is refused "not running"; the naming rules use the same set, so an empty entry can + make a shared directory name ambiguous (the old resolver iterated the same map, so not new); + whoami counts from `terminal_sessions` and can disagree with Tower in that edge. Nothing is + ambiguous on this machine today. No wrong recipient in any case. +- Changed nothing. Reported to the architect with a recommendation: a follow-up bugfix, one + definition of running ("has at least one terminal") for the listing and the naming rules. +- This entry is on the branch only.