Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

chore: refresh PR 1446 against current main

vastsa34210921e22c
diff --cc docs/spec/06-delivery/04-e2e-test-plan.md
index b7964fd45,505ab5906..ad338a39c
--- a/docs/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/spec/06-delivery/04-e2e-test-plan.md
@@@ -16929,16 -16929,11 +16929,26 @@@ host-created files. The full app's file
default-model-picker.test.mjs, and scripts/e2e-composer-model-selection.mjs.
+ ## BOM-marked UTF-16 text tools
+
+ - Create a UTF-16LE PowerShell build log with a BOM and CRLF, then ask the agent
+ to Read it. The tool and the next model request contain readable log lines.
+ - Edit a displayed line. The original BOM, endian and CRLF bytes are preserved.
+ - Repeat with UTF-16BE Chinese text. Ordinary binary files remain rejected.
+ - Automated coverage: `read_powershell_utf16le_log`,
+ `read_and_edit_utf16be_chinese_text`, and the existing binary/CRLF tool tests.
++
++
+## Delegate mutation recovery isolation
+
+- Start two Task delegates editing the same file. Delegate A produces text and
+ fails three Edits; B fails twice and then completes. A is failed with
+ `MUTATION_RETRY_BUDGET_EXHAUSTED`, B completes, and the parent has no mutation
+ error. Resume A with a corrected task and verify successful completion.
+- Run the same flow with failing shell patch commands. Repeat with one delegate
+ to prove that text preceding exhaustion does not become a completed report.
+- While a delegate continues, a new parent prompt resets only the parent's
+ recovery counters. Both default and explicit delegate permissions retain the
+ same isolation.
+- Automated provider-boundary flow: `node scripts/e2e-subagent-edit-isolation.mjs`
+ with optional `--single` and `--patch`; runtime tests cover parent restart.