# is-cli-agentic: git

- **slug:** `builtin/git`
- **ecosystem:** builtin · **package:** `git`
- **rubric:** 1.0.0
- **agentTested:** false
- **grade (deterministic only):** F (57/100)
- **status:** done

## Deterministic checks

### D1 Legibility — 20% (3/15)
- [FAIL] machine-readable schema (`schema` / `--describe` returns JSON) — no capability document; agent must parse help prose
  - **Fix:** Add a `schema` or `--describe` command that prints the complete command, option, input, and output schema as JSON.
- [FAIL] exposes an MCP surface — no
  - **Fix:** Expose the same command surface as MCP tools over stdio and make `tools/list` work without credentials.
- [PASS] help contains usage examples — yes

### D2 Structured I/O — 25% (5/20)
- [FAIL] documents a JSON output mode — no machine-parseable output documented
  - **Fix:** Add and document `--json` or `--output json`, then keep its keys and types stable for scripts and agents.
- [PASS] no ANSI escapes when the stream is piped — clean
- [FAIL] has a quiet mode — no
  - **Fix:** Add `--quiet` (or `--no-progress`) so stdout can contain only the requested result.

### D3 Non-blocking — 80% (16/20)
- [PASS] does not hang when stdin is a non-delivering pipe — ok
- [PASS] --help does not hang — ok
- [FAIL] documents a non-interactive escape hatch — no
  - **Fix:** Document a non-interactive mode that supplies defaults or exits with an actionable error whenever input is missing.
- [PASS] cold invocation under 3s — 0.09s

### D4 Context economy — 87% (13/15)
- [partial] help fits an agent context budget — 2271 bytes (~568 tokens)
  - **Fix:** Keep top-level help concise and move detail into subcommand help or machine-readable schema output.
- [PASS] does not reprint full help on every mistake — 62 bytes

### D6 Safety rails — 50% (5/10)
- [PASS] offers a dry-run — yes
- [FAIL] offers an explicit confirmation bypass — no
  - **Fix:** Add an explicit `--yes` confirmation bypass that is safe to use only when every required value is supplied.

### D7 Error recovery — 100% (20/20)
- [PASS] unknown subcommand exits non-zero — exit 1
- [PASS] unknown flag exits non-zero — exit 129
- [PASS] error message is terse — 62 bytes

### D9 Cold credentials — 30% (6/20)
- [FAIL] names its credential env var in its own help surface — agent must already know the variable name; undiscoverable from --help
  - **Fix:** Name the supported credential environment variable in `--help`, including its precedence over config files.
- [FAIL] offers a no-account or temporary-account path — no; the agent stops at the signup wall
  - **Fix:** Offer a documented temporary, guest, or claim-later path so a cold agent can complete one useful task without signup.
- [PASS] does not launch a browser auth flow in a headless context — ok

---
Every score links to the trajectory that produced it. The rubric is published and frozen before the first public score.