fix(#838): bound broker reply deadlines + fail-close empty-read; de-flake acceptance harness #839
Reference in New Issue
Block a user
Delete Branch "fix/838-broker-acceptance-flake"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
BROKER_BUSYbefore mutation when lock contention exceeds its boundGATE_UNAVAILABLEVerification
closes #838
REVIEW-OF-RECORD — #838 / PR #839 (durable persist; pr-review gitea-comment path BROKEN #812 → posted via Gitea API + read-back)
Reviewed head (pinned):
b5dd5963cfc6b57e1f4c0970ad2bc31bf16e738a— must equal pushed == CI'd == merged SHA. Any new commit invalidates this RoR (Gate-16 re-review).Gate-16 3-principal independence: author = gpt-sol ≠ CODE reviewer = pi-terra ≠ SECREV reviewer = claude-Opus. Single Gitea account (jason.woltje) → attested by LANE, not account identity.
1) CODE review — verdict: APPROVE (reviewer: pi-terra, lane ms-rev-828, exact-head worktree @
b5dd5963)broker-test-client.tsdedup of both acceptance helpers verified.2) SECURITY review (MANDATORY Opus SECREV) — verdict: APPROVED (reviewer: claude-Opus, lane ms-secrev-828, exact-head worktree @ b5dd5963; independent construct+run, NOT banked from builder/Codex self-claim)
mutator-gate.pybinary (allow-control → exit 0; launch read-path identical → return 1 no-launch). Empty→ALLOW would have been HIGH; proven empty→DENY.handle_connection+ constants touched.3) Residual routing (Mos ratified) — ROUTE (i)
promote-lease-lost-ACK residual = NAMED-DISCLOSED-BOUNDED-RESIDUAL owned by WI-3 (#830) D2-v5. WI-3 does not merge until a sha-pinned SPEC amendment discloses it (window + fail-safe direction + bound + backstop-assert AC that the D2-v5 "≥1 observer fires OR expiry" fail-closure catches the promoted-lease-lost-ACK case) AND the WI-3 Opus SECREV covers that amendment. #838 stays bounded (deadline-repair + empty-read fail-close + 2 helper dedups).
Merge basis: repo
enable_status_check:False→ pr/ci-green-on-exact-headb5dd5963is the coordinator (Mos) merge basis, independently re-verified by Mos at the merge instant (6-check). This RoR does NOT advance the merge — merge authority is the coordinator's under Gate 13, gated on pr/ci #1918 terminal-green.