Skip to main content
Inspect daemon state via prime-agent status. Capture TUI logs (PI_TUI_WRITE_LOG creates tui-<timestamp>-<pid>.log). Use tmux for controlled interactive tests (see AGENTS.md tmux commands). Inspect stream events in packages/agent/src/agent-loop.ts (AgentEvent emission points). For web adapter debugging, check web/server/src/event-mapper.ts for NDJSON/SSE mapping errors. Related: Testing, How to monitor
Last modified on August 17, 2026