@n12r/jarvis-control
v0.2.5
Published
Deterministic workflow gates for AI-assisted delivery
Maintainers
Readme
Jarvis Control Plane
Deterministic workflow gates for AI-assisted software delivery.
Commands
jarvis init- scaffold workflow files into the current project.jarvis status- show current stage and gate status.jarvis check [stage]- run gate checks for current or specified stage.jarvis promote <target-stage>- move to next stage if current stage passes.jarvis repo [owner repo-name --public|--private --template owner/repo]- create and clone a new repo (prompts interactively if args are omitted).npm run cp:codex-pr-check- validateworkflow/artifacts/codex-review.jsonagainst gate policy.
Local usage
npm install
npm run cp:init
npm run cp:status
npm run cp:checkStage model
discovery -> contract -> plan -> build -> harden -> release -> operate
Gate requirements are defined in workflow/gates.yaml.
Workflow state is tracked in workflow/state.yaml.
Transition history is tracked in workflow/history.yaml.
Note: workflow/ is runtime state and is intentionally not committed in this template repo.
Run jarvis init in each new repo to scaffold it.
How this controls AI-assisted work
- AI can generate code and docs.
- Promotion between stages is blocked until deterministic checks pass.
- Stage transitions are chain-validated from history to block stage jumps.
- CI runs the same checks to prevent bypass.
Codex PR Gate
harden stage includes a Codex review gate:
- Required artifact:
workflow/artifacts/codex-review.json - Required command:
npm run cp:codex-pr-check
Policy:
status: "fail"blocks gate pass unless override file exists.- Unresolved
highseverity findings block gate pass unless override file exists. - Optional override file:
workflow/artifacts/codex-override.md
Reuse Across New Repos
- Mark this repo as a GitHub Template Repository.
- Create a new repo from template:
jarvis repo <owner> <new-repo-name> --private- From any directory:
jarvis repo <owner> <new-repo-name> --private --template <owner/repo> - Optional env default:
export JARVIS_TEMPLATE_REPO=<owner/repo>
- Apply branch and environment protections:
scripts/apply-github-protections.sh <owner> <repo> main
- Follow the full checklist:
docs/REPO_BOOTSTRAP_CHECKLIST.md
Scripts
scripts/create-repo-from-template.sh- create/clone repos from this template.scripts/apply-github-protections.sh- enforce branch/environment protection via GitHub API.scripts/guard-state-change.js- CI guard to block invalidstate.yamledits.
Next steps
- Publish this package to npm.
- Use
npx jarvis-control@<version> initin any project. - Customize
workflow/gates.yamlper project domain.
