fix: catch up missed nightly starts within the authorized window #195

Merged
severus-snape merged 3 commits from fix/night-start-catchup into main 2026-11-04 04:38:13 +00:00
Collaborator

Scope

Existing five-minute controller tick may start the current night only inside the enabled policy window. No window/budget/policy changes, replay, manual night, provider probe or live activation. Lost start-callback race reproduced; association with either historical missed night remains unknown.

Reuse of this original PR: older commit 2341ce9 inspected and adopted onto latest main c7e6dc0 in a separate clean worktree; original branch worktree untouched. Fast-forward branch refresh retains original ancestry. Product diff remains 20 lines; test expands busy-zero-turn and retained pending/budget checks with Berlin 23–05 and maxTurns 200.

Verified current head 17e989bc34

  • npm run typecheck; npm run build: passed.
  • Focused improvement/nightly tests: 46/46.
  • Full serial: 1364/1364, zero fail/cancel/skip, 147987.737 ms.
  • Supported createReviewEngine, explicit worktree, normal home and persistent ledger: passed, fingerprint d7b602a7b89deb0d8d7b9b24e3a26250849d350fa2e5b9a28f783bce6feb374a, one round, zero P0/P1. Optional P2 disabled-strategy fixture typing assessed and retained; tests excluded from project typecheck.
  • Fresh Forgejo policy: protected main, user_can_merge=true, required_approvals=0, enable_status_check=false; reviews empty, remote status count=0. Empty status is NOT green CI. No bypass/force merge.

Boundary

No deployment, pipeline, image, GitOps, restart, live configuration/state change or real night work. Source != live. Full evidence: /home/node/development-evidence/missing-night-work/FIX-RESULT.md.

## Scope Existing five-minute controller tick may start the current night only inside the enabled policy window. No window/budget/policy changes, replay, manual night, provider probe or live activation. Lost start-callback race reproduced; association with either historical missed night remains unknown. Reuse of this original PR: older commit 2341ce9 inspected and adopted onto latest main c7e6dc0 in a separate clean worktree; original branch worktree untouched. Fast-forward branch refresh retains original ancestry. Product diff remains 20 lines; test expands busy-zero-turn and retained pending/budget checks with Berlin 23–05 and maxTurns 200. ## Verified current head 17e989bc34df0293491f743de13cbfd4b0eb42c3 - npm run typecheck; npm run build: passed. - Focused improvement/nightly tests: 46/46. - Full serial: 1364/1364, zero fail/cancel/skip, 147987.737 ms. - Supported createReviewEngine, explicit worktree, normal home and persistent ledger: passed, fingerprint d7b602a7b89deb0d8d7b9b24e3a26250849d350fa2e5b9a28f783bce6feb374a, one round, zero P0/P1. Optional P2 disabled-strategy fixture typing assessed and retained; tests excluded from project typecheck. - Fresh Forgejo policy: protected main, user_can_merge=true, required_approvals=0, enable_status_check=false; reviews empty, remote status count=0. Empty status is NOT green CI. No bypass/force merge. ## Boundary No deployment, pipeline, image, GitOps, restart, live configuration/state change or real night work. Source != live. Full evidence: /home/node/development-evidence/missing-night-work/FIX-RESULT.md.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harness/core!195
No description provided.