singularity-forge/src/resources
Tom Boucher e71de432ab fix: migrate unit ownership from JSON to SQLite to eliminate read-modify-write race (#3061)
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>
2026-03-30 14:43:44 -06:00
..
agents fix: replace web_search with search-the-web in prompts and agent frontmatter (#2920) (#3245) 2026-03-30 14:30:01 -06:00
extensions fix: migrate unit ownership from JSON to SQLite to eliminate read-modify-write race (#3061) 2026-03-30 14:43:44 -06:00
skills fix(docs): use ~/.pi/agent/extensions/ for community extension install path (#3131) (#3259) 2026-03-30 13:50:25 -06:00
GSD-WORKFLOW.md feat: meaningful commit messages from task summaries (#803) 2026-03-16 23:30:33 -06:00