- prep.go TrackWorkspace mirrors into queue + concurrency store groups
(previously only registry); hydrateWorkspaces reaps filesystem ghosts
(dead PID → failed, persisted back to status.json) so cmdStatus and
out-of-process consumers see coherent state (RFC §15.3)
- sync.go queue read/write goes through go-store first per RFC §16.5
("Queue persists across restarts in db.duckdb"), file remains fallback
for graceful degradation
- statestore.go stateStoreGet helper for go-store-first reads
- tests/cli/restart — new CLI test for RFC §15.7 "dispatch → kill →
restart → no ghost agents" dead-PID reap flow
- 4 new statestore tests: queue group mirror, concurrency refresh,
sync queue persistence, fs ghost reap with disk write-back
Co-Authored-By: Virgil <virgil@lethean.io>
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
version: "3"
|
|
|
|
tasks:
|
|
test:
|
|
cmds:
|
|
# application commands
|
|
- task -d version test
|
|
- task -d check test
|
|
- task -d env test
|
|
- task -d status test
|
|
# dispatch subsystem
|
|
- task -d dispatch test
|
|
# forge operations
|
|
- task -d scan test
|
|
- task -d mirror test
|
|
- task -d repo test
|
|
- task -d issue test
|
|
- task -d pr test
|
|
- task -d branch test
|
|
- task -d sync test
|
|
# brain subsystem
|
|
- task -d brain test
|
|
# plan subsystem
|
|
- task -d plan test
|
|
# workspace subsystem
|
|
- task -d workspace test
|
|
# state subsystem
|
|
- task -d state test
|
|
# restart lifecycle (RFC §15.7)
|
|
- task -d restart test
|
|
# language detection
|
|
- task -d lang test
|
|
# session subsystem
|
|
- task -d session test
|
|
# sprint subsystem
|
|
- task -d sprint test
|
|
# message subsystem
|
|
- task -d message test
|
|
# prompt subsystem
|
|
- task -d prompt test
|
|
# credits subsystem
|
|
- task -d credits test
|
|
# fleet subsystem
|
|
- task -d fleet test
|
|
# workspace extraction
|
|
- task -d extract test
|