feat(FN-5216): sanitize duplicate paths in file scope when parsing task sto
The merge adds a file scope sanitizer to the task store that deduplicates and normalizes path entries, with test coverage in `store-parsing.test.ts`; a small documentation fix accompanies the change in AGENTS.md. Fusion-Task-Id: FN-5216
This commit is contained in:
committed by
gsxdsm
parent
37d4115bb6
commit
35b2971f54
8
.changeset/FN-5216-file-scope-duplicate-sanitize.md
Normal file
8
.changeset/FN-5216-file-scope-duplicate-sanitize.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Duplicating or restoring a task no longer fails when the source PROMPT.md
|
||||
contains legacy/invalid File Scope tokens. Invalid tokens are dropped from
|
||||
the rewritten PROMPT.md with a `[file-scope-sanitize]` log entry. Authoring
|
||||
paths (createTask, updateTask) continue to reject invalid tokens strictly.
|
||||
Reference in New Issue
Block a user