Make generated run lifecycle autonomous

This commit is contained in:
npc0-hue
2026-08-06 18:57:42 +08:00
parent acec5e4367
commit 4e78957a60
22 changed files with 583 additions and 236 deletions
@@ -1,9 +1,9 @@
## 1. Runtime State Reconciliation
- [x] 1.1 Queue generated Run status reconciliation on registration when stored server state may be stale
- [x] 1.1 Prevent generated Run registration from queuing status reconciliation when stored server state may be stale
- [x] 1.2 Project `process.status` execution results into server lifecycle state using Run `processState`
## 2. Verification
- [x] 2.1 Add service tests for stale running correction and active-job dedupe
- [x] 2.1 Add service tests for no registration-time status dispatch and Run-fact state projection
- [x] 2.2 Run targeted Go tests, `openspec validate make-run-runtime-state-authoritative --strict`, and `scripts/check-structure.sh`