draft: revert #843 dispatch 422 classification#845
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 25, 2026, 12:01 AM ET / 04:01 UTC. ClawSweeper reviewWhat this changesThis draft exactly reverts the merged dispatch-422 repair by restoring top-level source-head dispatch data, older 422 classification, and the prior durable-state shape. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 10 items remain Keep this draft open as an incident-only contingency, not a merge candidate. Its body and diff explicitly restore the two dispatch failure modes that current Priority: P1 Review scores
Verification
How this fits togetherThe exact-review queue accepts repository events and explicit review commands, creates a GitHub workflow dispatch payload, and records dispatch results in durable queue state. The sweep workflow consumes that payload to start a targeted Codex review, so payload compatibility and retry classification determine whether legitimate review work runs or is parked. flowchart LR
Event[Repository event or command] --> Queue[Exact-review queue]
Queue --> Payload[GitHub dispatch payload]
Payload --> Workflow[Sweep workflow]
Workflow --> Review[Targeted Codex review]
Queue --> Outcome[Retry or parked outcome]
Outcome --> State[Durable queue state]
Decision needed
Why: The branch intentionally reintroduces known availability and payload-compatibility failures, so code review cannot decide whether an unobserved operational regression justifies that tradeoff. Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the draft only as a documented emergency option; if a current-main regression is observed, capture redacted runtime evidence and prefer the narrowest forward repair unless Martin explicitly approves this rollback. Do we have a high-confidence way to reproduce the issue? Yes. Current source and the merged regression coverage define the command-plus-synchronize payload and opaque-422 cases that this branch intentionally restores, but no fresh production regression caused by current main is provided. Is this the best way to solve the issue? No. An exact revert is not the best default because it knowingly restores the documented failure paths; a demonstrated regression should first receive the narrowest forward-compatible repair. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against df5ec544d6d6. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Draft rollback — do not merge pre-emptively
This draft exactly reverts squash commit
df5ec544d6d6220e84cc6886ee999dd0885b09abfrom #843. It exists only as a ready rollback if production evidence shows #843 is harmful. It must remain draft until Martin explicitly approves merging it after a demonstrated regression.What this restores
The revert restores the pre-#843 exact-review dispatch behavior, including:
source_head_shadispatch compatibility;Intentionally rejected Codex-review findings
Both dirty and branch review correctly identify that this exact revert would reintroduce the #843 failure modes:
client_payloadlimit and receive a 422.Those findings are intentionally not fixed because this is an exact emergency rollback of #843, requested in advance. They are the reason this PR must remain draft and must not be merged without an observed #843 regression and explicit maintainer approval.
Validation
All commands passed.
actionlintis unavailable on this host.Merge condition and rollout
Do not merge merely because this draft exists. First capture concrete evidence that #843 causes a production regression, identify why the safer forward fix cannot be used, and obtain Martin's explicit merge approval. No automerge, gates, or ClawSweeper command is requested for this draft.
Links