← Back to Pull requests

release: an unacknowledged post-tag check fails the gate #3545

Closed
unknown closed this pull request without merging on Oct 28, 2026 11:32 UTC
View on GitHub
unknown unknown commented on Oct 28, 2026 11:11 UTC
Author

Closes #3538.

What changes

The post-tag gate now fails closed. Twice, a post-tag request went to a soak thread whose mailbox wasn't linked, and the release kept reading it as "waiting".

New .agents/skills/soak/scripts/post-tag-gate <request-id> [timeout-minutes] reads the coord mailbox and prints one state:

| State | Exit | When |
| --- | --- | --- |
| ACKED | 0 | the recipient replied to the sender, naming the request id, within the timeout (default 15 min) |
| PENDING | 75 | no such reply yet, inside the timeout |
| FAILED | 1 | no such reply within the timeout, the recipient has no registered mailbox, or the request id is unknown |

FAILED is a failed release gate. The draft stays unpublished and release reports it to the coordinator. A late reply doesn't reopen it, and unrelated mail from the soak thread doesn't count as an ack. Only a new request acknowledged in time reopens the gate.

Process change: the soak supervisor's ack must quote the request's message id. Past acks didn't. soak-037's ack of release's v0.3.8 request, sent 8 min after it, now reads as FAILED because it has no id. The soak skill now says to quote the id. The soak skill's Release phases section and core/docs/RELEASE.md now say this.

Design bets

None touched. This is release-process tooling for agents. No Engine or Cloud behaviour changes.

Proof

Dry run on a throwaway COORD_MAIL_DIR, after round-1 fixes:

fresh, no reply                          PENDING  exit 75
fresh, unrelated mail only               PENDING  exit 75
20 min, unrelated mail only              FAILED: soak-x did not acknowledge req-old within 15 min   exit 1
20 min, ack sent at minute 19 (late)     FAILED   exit 1
ack at minute 5 of a 30-min-old request  ACKED    exit 0
fresh, acked with id                     ACKED    exit 0
unregistered recipient                   FAILED: soak-ghost has no registered mailbox, so the request was never delivered   exit 1
unknown id                               FAILED: request nope is not in the mailbox   exit 1
late ack with timeout 30                 ACKED    exit 0

Read-only against the real mailbox, release's v0.3.8 request to soak-037: FAILED, because that ack predates the id rule (see Process change). shellcheck is clean.

Review

Round 1, Codex: three BUG-class findings, all fixed. (1) Any later mail from the soak thread counted as an ack; an ack must now quote the request id. (2) A late ack reopened a failed gate; only acks inside the timeout count. (3) The docs said "never pending" but the script has a 15-min pending window; the docs now name it.

Round 1, Opus: two BUG-class findings, both closed by the id rule above. Unrelated status mail from the supervisor counted as an ack, and so did a same-second mail sent before the request. Also took three non-blocking notes: replies are checked before registration, so an ACKED result can't later turn into FAILED; a missing or invalid ts prints FAILED; and read/ is searched before inbox/, so a request moved by the delivery hook mid-check is still found. Dry-run: a same-second earlier status mail plus an undelivered request gives FAILED; acked then names file removed stays ACKED; a missing or garbage ts gives FAILED.

Round 2, Codex: two BUG-class findings, both fixed. A reply that quoted the id but had no ts read as midnight and passed as ACKED; replies without a valid ts are now ignored. A timeout of 08 crashed on octal; the timeout is now parsed as decimal, and 0 or non-numbers exit 2. Dry run: 13 cases, all as expected.

Round 3, Codex, on the last fix only: no BUG-class findings.

No release was cut, tagged or published.

Diff: 459 lines (+344 / -115) across 5 files Reviewer: nick-potts Review duration: 21m
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.46) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 459 lines diff across 5 files
0.46
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.367
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3545"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 45.5% (MEDIUM) · Higher = larger blast radius
45.5%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 18.0% · Safe to merge
18.0%
Repository