Chapter 18 / 21
Settings, Trust, Telemetry & Output Guard
Project trust gate & TUI output integrity
“output-guard owns stdout so the model never corrupts the TUI”
Key Source Files
core/settings-manager.ts (1234)
trust-manager.ts
project-trust.ts
telemetry.ts
output-guard.ts
http-dispatcher.ts
Total size ~ ~80KB
Run Demo
# Directly runnable
$ cd Pi-Agent-Site
$ npx tsx agents/s18_settings_trust.ts