claude-print/tests
jedarden 59e170ed03 Implement Phase 6: Stop Poller (bf-64s)
Add src/poller.rs with FIFO O_NONBLOCK open (read-end + keeper write-end),
Stop hook JSON payload parsing, transcript path derivation via cwd slug,
and StopInfo resolution. Wire poller into EventLoop via add_fifo_fd() which
was already present in event_loop.rs from Phase 3.

Update mock-claude to emit proper JSON Stop payloads (with and without
transcript_path via MOCK_OMIT_TRANSCRIPT_PATH=1) and update the pty_integration
assertion to match.

Tests test_stop_hook_fires and test_missing_transcript_path_derived both pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 00:05:14 -04:00
..
pty_integration.rs Implement Phase 6: Stop Poller (bf-64s) 2026-06-10 00:05:14 -04:00
startup.rs Add startup.rs: trust-keyword scanner with test_trust_dialog_* integration tests (Phase 5) 2026-06-08 10:05:27 -04:00
stop_poller.rs Implement Phase 6: Stop Poller (bf-64s) 2026-06-10 00:05:14 -04:00
terminal.rs Add terminal.rs: probe scanner with response table, dedup bitmask, unknown-probe passthrough (Phase 4) 2026-06-08 09:25:54 -04:00