chore!: rename to caia-cli — repo, distribution, and import package (3.0.0) - #11
Merged
Merged
Conversation
…3.0.0) The command has always been `caia`; the repo, the uv/pip distribution name, and the import package still carried the long form. Align all three: repo xavient/cisco-advisory-impact-agent -> xavient/caia-cli distribution cisco-advisory-impact-agent -> caia-cli package cisco_advisory_impact_agent/ -> caia/ The product name "Cisco Advisory Impact Agent" is unchanged — caia-cli names the artifact, not the product. BREAKING CHANGE: existing installs cannot reach this through `caia --update`, because the distribution name changed and uv fails on the name mismatch. Users remove the old tool with `uv tool uninstall cisco-advisory-impact-agent` and install `caia-cli`. The per-user config directory is already named `caia`, so saved credentials survive the move; README.md and docs/index.html both carry that migration note. Historical spec and BRD records under specs/ and brds/ are left as written, matching the existing precedent for the earlier `cisco-advisory-impact-analyzer` name. Constitution 2.2.0 -> 2.2.1 (PATCH): the install command in the Distribution constraint, which the Documentation gate requires to stay accurate. Co-Authored-By: Claude Opus 5 <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.
The command has always been
caia. The repo, the uv/pip distribution name, and the import package still carried the long form. This aligns all three.xavient/cisco-advisory-impact-agentxavient/caia-cli(already renamed)cisco-advisory-impact-agentcaia-clicisco_advisory_impact_agent/caia/caiacaia— unchangedcaia-clinames the artifact; "Cisco Advisory Impact Agent" remains the product name and is what the splash banner prints under theCAIAwordmark. Everything already user-facing — the command,CAIA_*environment variables, and the per-user config directory — wascaiabefore this change and is untouched.Breaking change
Existing installs cannot reach 3.0.0 through
caia --update. GitHub redirects the old repo URL, so the git fetch succeeds, but uv then fails on a distribution name mismatch (caia-cli!=cisco-advisory-impact-agent). The failure is loud and non-destructive: the current install keeps working. Users migrate withUninstall-first rather than
--force, because two uv tools both providing acaiaexecutable is the one messy state here, and because it sidesteps the Windows self-uninstall file lock. Saved credentials survive — the per-user config directory was already namedcaiaand neither step touches it, so no re-running--config.VERSIONgoes to 3.0.0: the documented install path breaks for existing installs, which is MAJOR under the repo's own semver rule.Changes
pyproject.toml— dist name, script target,packages, Homepage, Repositorycisco_advisory_impact_agent/->caia/—git mv, so all 13 modules record as renames andgit blamesurvivescaia/version.py—DIST_NAME,DEFAULT_REPO,UA, the three constants driving--version/--update/--uninstalltests/— imports across 10 files, plus the two dist-name string assertions intest_version.pyREADME.mdanddocs/index.html— install commands, all repo links, the releases-API fetch behind the version pill, and a migration note in both (the constitution's Documentation gate requires the two to mirror each other)tools/install-test.sh—REPO_URL,RELEASES_API, install command.specify/memory/constitution.md— 2.2.0 -> 2.2.1 (PATCH) for the install command in the Distribution constraint, with a Sync Impact Report entry. No principle or gate changes in substance.Needed no changes: both workflows,
CONTRIBUTING.md,.env.example,.gitignore,tools/release.py— all use<repo>placeholders, globs, or were alreadycaia-based.specs/andbrds/are left as written. They are frozen spec-kit records that already carry an even earlier name (cisco-advisory-impact-analyzer) which was never retro-edited; rewriting them would falsify the record.Verification
python -m unittest discover -s tests)pip install .-> metadata resolves ascaia-cli == 3.0.0, thecaiaentry point lands on PATH, and the documentedpython -m caia.clifallback works.calloutstyling--versionswallows the failed latest-check and just prints the version;--updatereports "Could not determine the latest version" and exits 3 rather than crashing, until the 3.0.0 Release is publishedAfter merge
Tag 3.0.0 (
python tools/release.py) so the version check resolves, confirm GitHub Pages now serves atxavient.github.io/caia-cli, then send existing users the migration command above.🤖 Generated with Claude Code