chore(harness): quietStartup + project-local trust for clean RPC spawn

Set quietStartup:true in .pi/settings.json to suppress Pi banner on RPC stdout.
Add test pinning both quietStartup and theme values. Document project-local trust
requirement (--approve) so no trust prompt blocks RPC loop iteration.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-27 20:33:03 +02:00
co-authored by Claude Opus 4.8
parent 5d9a0bb548
commit ae9308470b
3 changed files with 18 additions and 1 deletions
+6
View File
@@ -255,3 +255,9 @@ closed set; `ctx.ui.custom` is a no-op in RPC mode.
**Tasks 3–4 both require gate adaptation.** No part of the existing mechanism works in RPC
mode without changes.
---
## Project-local trust for clean RPC spawn
To ensure RPC stdout remains clean (no interactive trust prompts polluting the JSONL stream), project-local files must be pre-approved via the `--approve` flag or pre-trusted settings. Task 9 sets `quietStartup: true` in `.pi/settings.json` to suppress Pi's banner; access to this project-local config must be granted ahead of time so the RPC spawn does not pause for a trust confirmation, which would block the command loop.