forked from EduCraft/curriculum-project-hub
docs: resolve run lifecycle audit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Make run, session, lock, and recovery transitions safe
|
||||
|
||||
Type: task
|
||||
Status: open
|
||||
|
||||
## Question
|
||||
|
||||
Implement and fault-test a centralized AgentRun lifecycle that enforces one
|
||||
active project/provider/role/model session, serializes provider-cursor updates,
|
||||
preserves the ADR-0002 lock invariant across every database failure, applies a
|
||||
real wall deadline and renewable lease, reconciles every non-terminal state on
|
||||
startup/watchdog, and cannot let a second Hub process invalidate live work.
|
||||
Reference in New Issue
Block a user