Repository navigation
fix(draft): prevent non-exhausted legacy dispatch compensation - #66
Conversation
|
Independent exact-head acceptance readback — 2026-11-13 ~04:00 UTC
|
|
Independent release-gate exact-head update — 2026-11-13 04:29–04:32 UTC (read-only on production). PR #66 exact head: Separate fail-closed gate remains defective: exact-head CertForge check Fresh FORGE production facts: current symlink resolves to deployed SHA Review requests before release: Decision: HOLD / NOT_READY. CI and GHAS passing on #66 do not grant protected review, resolve parent #64 security finding, validate Sentinel, or authorize production promotion. |
Independent CertForge release-gate follow-up (source only; NO production admission)
Exact candidate head:
dd54ff11f7ed5a6d6169c79170834809aefecf1fBase integration PR: #64 at
e6b51c683c0027cab3ed446a26fdd614476a32c6Owning tracked recovery: #49 / #41 / issue #50.
Why
The historical
FAILED/BOUND/QUEUEDorphan sweep in PR #64 requires no active execution/ownership markers, but does not require exhausted dispatch attempts before compensating and terminalizing a run. A non-exhausted failed row can be ambiguous; it must not be automatically refunded merely because its lease fields are empty.Least-change safeguard
d.attempts >= self.policy.max_dispatch_attemptsto the existing historical-orphan selection query, with a bound SQL parameter.FAILED/BOUND/QUEUEDrow with one of three attempts remains QUEUED/BOUND, metered, unaudited as reconciled after a recovery trigger.NOT solved by this patch
Recognized-failure reason restriction / old-age qualification, deterministic bounded batch size / lock budget, failing GHAS CodeQL on integration PR #64, false-green deployed Release Sentinel, independent protected review, signed worker heartbeat, two-phase admission, genuine 40-model participation and signed production attestation all remain separate hard gates.
Verification pending: hosted CI/CodeQL at this exact new head; no claim of passing new tests until independently observed. FORGE disposable pytest launch was inconclusive due to an execution-tool failure and was terminated rather than falsely reported as passing. Request independent review before integrating. No production merge or deployment authorized.