fix(engine): wire TaskStore into runtime AgentStore so heartbeat auto-claim works
The InProcessRuntime constructed its AgentStore with only `rootDir`, leaving task-claim/checkout/release operations unconfigured. As a result, the heartbeat auto-claim scan logged "TaskStore not configured for task-claim operations" whenever a relevant todo was found. Pass the runtime's TaskStore through to the AgentStore so claimTaskForAgent succeeds. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
10
.changeset/heartbeat-auto-claim-taskstore.md
Normal file
10
.changeset/heartbeat-auto-claim-taskstore.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Wire `TaskStore` into the runtime's `AgentStore` so the heartbeat auto-claim
|
||||
path can call `claimTaskForAgent` without warning
|
||||
`TaskStore not configured for task-claim operations`. The `InProcessRuntime`
|
||||
previously built its `AgentStore` with only `rootDir`, which left task-claim,
|
||||
checkout, and release operations unconfigured even though the runtime had a
|
||||
`TaskStore` available.
|
||||
Reference in New Issue
Block a user