v0.5.1: disable apply_patch in agents prone to append-mode failures

Root cause: apply_patch finds anchor lines in read-cached file state,
but file may have been modified between read and patch, causing stalls.

Changes:
- dr-verifier: disable apply_patch AND edit; force read-then-write protocol for evidence file appends
- dr-analyst: document write-preferred protocol for sources.jsonl appends
- dr-polisher: disable apply_patch; keep edit for small string replacements
- dr-editor-in-chief / dr-translator: disable apply_patch

Recovery procedure documented in dr-verifier for write failures.
This commit is contained in:
kai
2026-04-21 14:44:03 +08:00
parent a092af4398
commit 333b7bb8d5
19 changed files with 2167 additions and 21 deletions
+1
View File
@@ -8,6 +8,7 @@ tools:
read: true
write: true
edit: true
apply_patch: false
bash: true
skill: true
permission: