fix(KB-602): harden file operations for database-backed storage

- Create task directories on-demand when file operations need them\n- Handle missing directories gracefully for writes (PROMPT.md, task.json, agent.log, attachments)\n- Handle missing files gracefully for reads (empty string returns)\n- Add comprehensive tests for storage resilience (161 new assertions)\n- Add changeset for the patch release
This commit is contained in:
gsxdsm
2026-03-31 17:30:36 -07:00
parent 789cc519da
commit 0982ab74e3
3 changed files with 175 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
"@gsxdsm/fusion": patch
---
Fix file-based operations to work correctly with database-backed storage. Task directories are now created on-demand when file operations need them, preventing ENOENT errors when directories are missing.