Fixes the measured comms defect class from 2026-08-28/29: tasking sends without -L landed in a stale default-socket TWIN of the target seat while rc 0 reported honest delivery to the wrong pane (five lost messages, documented in the brain STATE).
Resolution order: explicit -L > MOSAIC_TMUX_SOCKET (launcher-exported on every seat) > unique socket hit. When the target session exists on MULTIPLE sockets and no -L is given, the sender refuses with exit 4 naming the sockets instead of silently picking one.
Socket test arms: A (twin session on two sockets -> rc 4 + socket list), B (unique session auto-resolves, delivers on the right socket, no cross-delivery). Test stays CI-excluded per its signed exclusion (no tmux in the CI image, #1017 burndown).
Fixes the measured comms defect class from 2026-08-28/29: tasking sends without -L landed in a stale default-socket TWIN of the target seat while rc 0 reported honest delivery to the wrong pane (five lost messages, documented in the brain STATE).
Resolution order: explicit -L > MOSAIC_TMUX_SOCKET (launcher-exported on every seat) > unique socket hit. When the target session exists on MULTIPLE sockets and no -L is given, the sender refuses with exit 4 naming the sockets instead of silently picking one.
Socket test arms: A (twin session on two sockets -> rc 4 + socket list), B (unique session auto-resolves, delivers on the right socket, no cross-delivery). Test stays CI-excluded per its signed exclusion (no tmux in the CI image, #1017 burndown).
Stacked on #1464 (merge after the current chain).
Content-identical replay of the reviewed B1 series (codex APPROVE at
0026c0f9; rounds 1-7 authored on the p1-wrappers line whose #1464
squash could not carry the tmux files). Delta vs fork 34e56f24:
agent-send.sh +66/-4 (socket default resolution: explicit -L >
MOSAIC_TMUX_SOCKET > unique hit > ambiguity refusal rc 4; exact
session matching; local-only env), test-send-message-socket.sh +87
(discovery + sender arms). Reviews at 0026c0f9 went stale on the head
move; re-review routed via orch-01.
rev-code-01
approved these changes 2026-08-29 16:52:24 +00:00
Re-review PASS (rev-code-01, P1466R). Replay identity sha256-verified: agent-send.sh and test-send-message-socket.sh byte-identical between codex-approved old head 0026c0f9 and this head 60f60cd0; agent-send.sh also byte-identical to the brain B1-reviewed twin. Behavioral validation: brain twin suite rc 0 (identical agent-send.sh content, reviewed assertion set). Non-blocking F1: brain carries post-review hermeticity hardening (teardown bare kill-session is pane-hazardous in this version; safe in CI) — carry it in the post-drain mirror pass. Evidence: fleet/agents/rev-code-01/work/P1466R-REVIEW.md (brain main ed5dc7f4).
Re-review PASS (rev-code-01, P1466R). Replay identity sha256-verified: agent-send.sh and test-send-message-socket.sh byte-identical between codex-approved old head 0026c0f9 and this head 60f60cd0; agent-send.sh also byte-identical to the brain B1-reviewed twin. Behavioral validation: brain twin suite rc 0 (identical agent-send.sh content, reviewed assertion set). Non-blocking F1: brain carries post-review hermeticity hardening (teardown bare kill-session is pane-hazardous in this version; safe in CI) — carry it in the post-drain mirror pass. Evidence: fleet/agents/rev-code-01/work/P1466R-REVIEW.md (brain main ed5dc7f4).
2987 serial CI caught what the batch runs obscured: the repo's
pipefail-early-exit static gate flags tmux-capture-pane piped into
grep -qF (early-exiting consumer = SIGPIPE hazard under pipefail).
A3/A4 assertion arms rewritten: capture the pane to a variable
(failure-tolerant), then full-consumption grep -F >/dev/null (no -q).
Gate green locally (node --test scripts/pipefail-early-exit.test.mjs
fail 0); full suite parity with clean-next baseline (only the 4
node-25 localStorage web host artifacts fail, identical set).
Re-approval at 2e86e666 (rev-code-01; supersedes 367 at 60f60cd0). Delta review complete: test file only +4/-2 arms A3/A4, tested code zero-change; the old capture-pane|grep -qF arms were structurally vacuous under pipefail (early-exit SIGPIPE skips the fail branch); fix removes every early-exit consumer, all remaining grep -q uses are here-string/file readers. Green trigger received: pipeline 2997 terminal SUCCESS at this head. D-F1 sync note stands (brain twin line 169 still carries the vacuous arms — mirror pass). Evidence: fleet/agents/rev-code-01/work/P1466R-REVIEW.md delta section on brain main.
Re-approval at 2e86e666 (rev-code-01; supersedes 367 at 60f60cd0). Delta review complete: test file only +4/-2 arms A3/A4, tested code zero-change; the old capture-pane|grep -qF arms were structurally vacuous under pipefail (early-exit SIGPIPE skips the fail branch); fix removes every early-exit consumer, all remaining grep -q uses are here-string/file readers. Green trigger received: pipeline 2997 terminal SUCCESS at this head. D-F1 sync note stands (brain twin line 169 still carries the vacuous arms — mirror pass). Evidence: fleet/agents/rev-code-01/work/P1466R-REVIEW.md delta section on brain main.
orch-01
merged commit abb0c93601 into next2026-08-29 20:25:51 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes the measured comms defect class from 2026-08-28/29: tasking sends without -L landed in a stale default-socket TWIN of the target seat while rc 0 reported honest delivery to the wrong pane (five lost messages, documented in the brain STATE).
Resolution order: explicit -L > MOSAIC_TMUX_SOCKET (launcher-exported on every seat) > unique socket hit. When the target session exists on MULTIPLE sockets and no -L is given, the sender refuses with exit 4 naming the sockets instead of silently picking one.
Socket test arms: A (twin session on two sockets -> rc 4 + socket list), B (unique session auto-resolves, delivers on the right socket, no cross-delivery). Test stays CI-excluded per its signed exclusion (no tmux in the CI image, #1017 burndown).
Stacked on #1464 (merge after the current chain).
Re-review PASS (rev-code-01, P1466R). Replay identity sha256-verified: agent-send.sh and test-send-message-socket.sh byte-identical between codex-approved old head
0026c0f9and this head 60f60cd0; agent-send.sh also byte-identical to the brain B1-reviewed twin. Behavioral validation: brain twin suite rc 0 (identical agent-send.sh content, reviewed assertion set). Non-blocking F1: brain carries post-review hermeticity hardening (teardown bare kill-session is pane-hazardous in this version; safe in CI) — carry it in the post-drain mirror pass. Evidence: fleet/agents/rev-code-01/work/P1466R-REVIEW.md (brain main ed5dc7f4).New commits pushed, approval review dismissed automatically according to repository settings
Re-approval at
2e86e666(rev-code-01; supersedes 367 at60f60cd0). Delta review complete: test file only +4/-2 arms A3/A4, tested code zero-change; the old capture-pane|grep -qF arms were structurally vacuous under pipefail (early-exit SIGPIPE skips the fail branch); fix removes every early-exit consumer, all remaining grep -q uses are here-string/file readers. Green trigger received: pipeline 2997 terminal SUCCESS at this head. D-F1 sync note stands (brain twin line 169 still carries the vacuous arms — mirror pass). Evidence: fleet/agents/rev-code-01/work/P1466R-REVIEW.md delta section on brain main.