Run CI Command
Analyze the current branch changes and run appropriate CI checks locally.
Base Handling
The repo's pre-push local validation command is .agents/bin/validate. It should
auto-detect the current PR base branch when the repo supports optimized routing.
Do not pass a base-ref argument to it unless that wrapper documents one. Use
.agents/bin/ci-detect only when you need to inspect the routing decision
directly and the script exists.
Before running commands, inspect:
.agents/bin/validate.agents/bin/ci-detectwhen present.agents/agent-workflow.ymlforbase_branchand CI policy notes
Apply the delivery coverage contract. Execute selection through the trusted-base wrapper or a protected repository entry point. The repository's wrappers define integration and complete promotion invocations; omission retains existing coverage. Missing or invalid routing evidence cannot select reduced checks.
Instructions
- First, run
.agents/bin/ci-detectto inspect what changed when the user asks for routing details and the script exists; otherwise select.agents/bin/validatefor execution in step 3 - Preview required checks, omissions, and the selection reason only when the detector has reported them; otherwise obtain them from the wrapper during step 3. Preserve mandatory lint, review, security, and current-head CI requirements.
- Execute the authorized repository invocation. Resolve a choice with the user only when the request and repository policy leave a material decision open. Promotion requires the documented complete suite; do not invent flags.
- Report phase, candidate/base identity, selected or full coverage, each required result, and omissions/reason. Selected success does not prove omitted checks passed.
- Diagnose failed jobs using
/verify's existing retry boundary. A stopping or review budget pauses for disposition with failures still blocking; it does not create a successful gate.
Options
.agents/bin/validate- Run local CI based on the repo wrapper contract- Other invocations exist only when the repository's command table documents them. Run selected integration checks or complete promotion checks as that table specifies.