Consolidate CLI output commands into results + query#80
Merged
DeveshParagiri merged 4 commits intomainfrom Feb 17, 2026
Merged
Conversation
Reduce CLI surface from 7 overlapping commands to 2 focused ones: - `results` becomes a sub-app with subcommands: summary (default), timeline, segment <attr>, agent <id>. Absorbs `report run` functionality via agent mode JSON output. - `query` absorbs `export` (agents/edges/states with --to for JSONL), `inspect` (summary/network/network-status), and gains study folder auto-detection (no more --study-db flag). SQL argument is now positional. Delete: report.py, export.py, inspect.py, migrate.py (dead code). Closes #72 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4d6ea48 to
ff11091
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
resultsconverted to sub-app with subcommands:summary(default),timeline,segment <attr>,agent <id>— replaces--timeline/--segment/--agentflagsqueryexpanded to absorbexport(agents/edges/states with--to),inspect(summary/network/network-status), andreport network— all with study folder auto-detectionreport.py,export.py,inspect.py,migrate.py(dead code)Test plan
pytest tests/test_cli.py— 27 tests pass (new tests for all subcommands)pytest— 823 tests passruff check . && ruff format --check .— cleantest-v2-e2e/study folderCloses #72
🤖 Generated with Claude Code