Skip to content

Add CLI version and distribution identity reporting - #96

Merged
stef-k merged 13 commits into
mainfrom
feature/91-cli-version
Aug 25, 2026
Merged

Add CLI version and distribution identity reporting#96
stef-k merged 13 commits into
mainfrom
feature/91-cli-version

Conversation

@stef-k

@stef-k stef-k commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Closes #91

Summary

  • Add deterministic code-guard --version and code-guard --version --json fast paths backed by installed distribution metadata.
  • Normalize unavailable, unreadable, and invalid metadata through the existing exit-3 error channels.
  • Preserve checkout-runner parity without configuration, scope, Git, provider, skill, or guard work.
  • Document the CLI contract and introduce a maintainable CHANGELOG.md Unreleased section.

Validation

  • python -m unittest tests.test_cli_version — 16 passed.
  • python -m unittest discover -s tests — 286 passed.
  • Fresh built-wheel suite in an isolated environment — 286 passed.
  • Installed-wheel human, JSON, and help probes from an unrelated directory — passed.
  • Wheel contents and console entry point inspection — passed.
  • git diff --check main...HEAD — passed.
  • Code Guard exact changed-file review — only the unchanged pre-existing print_text complexity REVIEW.

@stef-k
stef-k merged commit 37cba8b into main Aug 25, 2026
14 of 15 checks passed
@stef-k
stef-k deleted the feature/91-cli-version branch August 25, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CLI version and distribution identity reporting

1 participant