The JSON-based unit-claims storage had a lost-update race under concurrent multi-agent use: two agents could both read the file as unclaimed, then both write their claim, with the second silently overwriting the first. Replace with a SQLite-backed store using INSERT OR IGNORE on a PRIMARY KEY constraint for atomic first-writer-wins claim semantics. claimUnit() now returns boolean (true = claimed, false = already claimed by another agent). Closes #2728 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agents | ||
| extensions | ||
| skills | ||
| GSD-WORKFLOW.md | ||