Subagents live at <session-uuid>/subagents/ (a sibling directory to
the session JSONL), not at <project-dir>/subagents/. Fix both
discover_agents_for_session and discover_all_agents to use the correct
path, and update integration tests accordingly.
Closes claudbg-33n0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Document camelCase JSONL field names that need serde renames
(durationMs, sessionId, parentUuid, etc.)
- Correct subagent disk structure: subagents live in
<session-uuid>/subagents/ (a sibling directory), not
<project-dir>/subagents/ as previously documented
- Note comfy-table is already in use (not a choice)
- Add discovery path note to agents architecture section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
All 7 epics and the v0.1.0 milestone bean are now marked completed.
All 37 beans across the project have been implemented.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Set a 200-column minimum width in render_table so comfy-table never
truncates cell content in the Nix build sandbox or other non-tty
contexts; also mark Wave 7 stub beans in-progress/completed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace stub implementations with full Wave 6 agent commands: list
discovers and renders agents for a session; dump reads agent JSONL
directly (no DB); transcribe shows stats header + chat log with
include guards; --follow variant polls the file at 500ms for both
dump and transcribe. Adds 10 new unit tests; total now 99, 0 warnings.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace stub sessions commands with full implementations
- sessions list: lazy-syncs all discovered sessions, queries DB sorted most-recent-first, supports table/json/xml output and --verbose full UUID display
- sessions dump: resolves 8-char prefix via LIKE query, fetches raw JSONL from DB, renders table/json/xml with content preview (truncated at 80 chars unless --verbose)
- sessions transcribe: prints stats header then chat log; thinking/tool-result blocks gated by --include flags; json/xml output serialize structured messages
- --follow for dump and transcribe: bypasses DB, polls file with byte-seek offset at 500ms intervals
- Update agents.rs stubs to accept &GlobalOpts (Wave 6 prep)
- Update main.rs to pass &cli.global to all session and agent commands
- 89 tests pass, 0 clippy warnings
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add src/output/ module with three renderers:
- table.rs: render_table() using comfy-table with dynamic column sizing
- json.rs: render_json<T: Serialize>() using serde_json pretty-print
- xml.rs: render_xml_rows() with XML-escaped headers and values
Each renderer has unit tests (17 new tests total); total test count: 79 passing, 0 clippy warnings.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mark claudbg-uls1, claudbg-g5uv, claudbg-jupi, claudbg-76fy, claudbg-d3aj
as completed with implementation summaries.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add src/parser/discovery.rs with SessionRef, AgentRef, discover_sessions(),
discover_agents_for_session(), and discover_all_agents(). Add
src/parser/reader.rs with async read_session_file() using tokio BufReader.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>