CI status
ci_statusCheck CI/checks status per repository to find failing, passing, or pending checks. Scope results with a selector and pass failing repos to other tools for action.
Instructions
CI / checks status per repo (GitHub-enriched: passing | failing | pending). Use for "which repos have red/failing CI?"; to then act on them, pass {"ci": "failing"} as a selector to another tool. Needs a token; repos without a GitHub remote are omitted. An optional selector scopes the set.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ci_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Predicate that selects repos across the fleet; set fields to AND them, omit a field for no constraint (ADR-024). Scope: all (bool — the whole fleet), ids[str], name (glob, e.g. "pay*"), path_glob (* stays within one path segment, ** crosses /), root, group (a config-defined cluster name, e.g. "payments"). Local state: dirty, ahead (alias unpushed), behind, diverged, no_upstream, unpublished (a branch never pushed although the repo has a remote), stale_fetch (remote not fetched for over 14 days), has_stash, detached, conflicted, in_operation (merge/rebase/… mid-flight), error, branch (exact name), attention ("any"|"notice"|"warn"|"risk"). Remote (needs a GitHub token): ci ("passing"|"failing"|"pending"|"none"), min_prs (int). Combine: any_of[selector] (OR), not (selector). The empty selector {} matches NOTHING by design — pass {"all": true} for the whole fleet. |