fix(control-plane): resume unstarted cadence reservations #5966
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.55) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.55 · 585 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.381
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #5966"
general
weight: 0.35
BigDataDZ
Goal And Delivered Outcome
reservedrecord still passed through the minimum-interval check, although that reservation had advanced its own eligibility time.confirmAutomationStartblocked the same request until the interval elapsed. The same unstarted reservation now resumes after a 1 ms restart, while a different request still receivesminimum_interval_waitand a confirmed start remains closed.loopx-project/loopx:main.Author Declaration
Implemented against
| Criterion (spec clause) | Disposition | Symbol / path | Test or command |
| --- | --- | --- | --- |
| The same unstarted reservation resumes immediately | implemented |
admitAutomationStart|automation_cadence.test.ts|| A different request still obeys the interval | implemented |
admitAutomationStart|automation_cadence.test.ts|| Crashes before the first journal or attempt record recover | implemented | managed turn executor | Two focused
test_loopx_turn_executor.pycases || Resume keeps the original interval anchor | implemented | held reservation branch | Existing cadence state assertions |
Scope And Continuation
Validation
c1dea898b62f5d90233d4b87b68ac5e3cb4b37fa| Check kind | Result | Public-safe evidence / limitation |
| --- | --- | --- |
|
unit|passed|node --no-warnings --experimental-sqlite --experimental-strip-types --test tests/control_plane_ts/automation_cadence.test.ts: 7 passed. ||
integration|passed| Two managed executor crash-recovery tests passed with a 1 ms restart. ||
static|passed|npm run -s typecheck:control-plane. ||
real_entrypoint|passed|loopx canary premerge --from-git-diff --git-diff-base upstream/main: 16 selected checks passed with no manual hold. ||
real_backend|not_applicable| Cadence persistence uses the existing file-backed contract; no external provider path changed. |Frontend / Visual Evidence
Type of Change
LoopX Area
Technical Direction
Shared-authority RFC fixture impact
N/A. This PR changes the existing cadence state transition, not shared-authority routing or schemas.
Boundary Checklist
.loopx/,.codex/goals/, and liveACTIVE_GOAL_STATE.md).none.Signed-off-bytrailer (git commit -s).