navi-ops CLI
Operational CLI surface for release gating, regression checks, and dev→main promotion.
navi-ops CLI
What this does
In ArchonHQ, the operational CLI workflow is represented by the release/check scripts and Git hook safeguards used for dev→main promotion. This provides a repeatable command-line path for status checks, regression gates, and release safety checks.
In this repository, the integration is script-first (scripts/pre-release-check.sh, scripts/regression-test.sh) and hook-enforced (.git/hooks/pre-push) rather than a standalone binary stored in this repo.
How to use
Step 1: Run regression gate
Execute:
bash scripts/regression-test.sh
Step 2: Run pre-release gate
Execute:
bash scripts/pre-release-check.sh
Step 3: Push with branch protections
When pushing merges to main, the pre-push hook blocks direct pushes and runs pre-release checks automatically.
Step 4: Use npm helpers where needed
For related workflows, package scripts provide commands like billing setup and billing test runs.
Keep in mind
- Script-based CLI surface: Operational checks are shell scripts in
scripts/. - Gate before merge: Pre-release checks are mandatory for safe promotion.
- Hook enforcement: Direct pushes to
mainare blocked unless bypassed intentionally. - Environment validation: Checks include TypeScript, DB, API health, and deployment env sanity.
Current limits
- No single
navi-opsexecutable is implemented in this repository. - Some checks require local infrastructure and environment variables to be configured.
- Hook behavior depends on local Git hook installation in the working clone.