Skip to content

[User Story] Harden CLI command guidance, command inventory, and package-manager runtime checks #594

Description

@djm81

User Story

As a SpecFact CLI adopter working in a heterogeneous Python environment, I want command errors, command docs, generated command inventories, upgrade repair, and package-manager runtime checks to reflect the actual installed CLI so I can trust guidance from docs, prompts, and AI agents.

Parent Features

Source Tracking

Acceptance Criteria

  • Unknown commands, missing subcommands, and missing required parameters show relevant help plus actionable missing/invalid information.
  • Core publishes deterministic generated command overview artifacts for humans and AI agents.
  • Docs, prompts, templates, and code guidance are validated against the generated command contract.
  • CI blocks PRs on uv, pip, pipx, and hatch runtime mismatches.
  • Upgrade and semgrep diagnostics prefer the effective active environment over stale global package-manager inventory.
  • Pipx upgrades validate the installed specfact launcher and repair stale/broken pipx shims with pipx reinstall specfact-cli.

OpenSpec

  • Change: tester-cli-reliability

Metadata

Metadata

Assignees

Labels

QAQuality Assurancechange-proposalProposal for a new changedocumentationImprovements or additions to documentationenhancementNew feature or requestmodule-systemModule system and registryopenspec

Fields

No fields configured for User Story.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions