Rename optimize analyzers to product names + positional args (v0.3.1)#75
Merged
Conversation
Drops the `--finding NAME` flag and accepts analyzer names as positional arguments — `tj optimize downsize` instead of `tj optimize --finding model-downgrade`. Renames the analyzer registration strings to match the user-facing product names used in docs, the website, and `docs/optimize/*.md`: model-downgrade → downsize cache-efficacy → cache workflow-restructure → script prompt-bloat → trim `cache-recommend` and `budget-projection` keep their names (sub-finding and infra concept respectively, neither has a product page). `tj report --bloat` becomes `tj report --trim` for the same reason — "bloat" doesn't appear in any user-facing surface. No back-compat aliases. We have zero external users on 0.3.0; renaming is free. Honesty discipline preserved: MODEL_DOWNGRADE_CAVEAT constant stays put (it's an internal symbol, not a CLI surface); all "structural match — review before applying" framing is unchanged. This is a CLI rename only — no behavior or rendering changes. Bumps version to 0.3.1. Closes #74. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Closes #74.
Summary
`cache-recommend` (sub-finding) and `budget-projection` (infra concept) keep their names. No back-compat aliases — we have zero external users on 0.3.0.
Honesty discipline preserved: `MODEL_DOWNGRADE_CAVEAT` constant stays (internal symbol). All "structural match — review before applying" framing unchanged.
Test plan
🤖 Generated with Claude Code