<!-- Generated by scripts/build-client-adapters.py from clients/workflows.json; schema v1; client codex-cli. -->
Judge a staged diff
Reply in the language the user writes in; default to English. Keep command output, identifiers, paths, and ADR file content unchanged.
Invoke explicitly with $adr-kit:judge when needed.
Resolve <plugin-root> from this installed skill, and <python> to the
first of python3, python or, on Windows, py -3 that runs Python 3.10
or newer. Use only bundled, local ADR Kit tools and follow this canonical
workflow:
- Read the staged diff and stop clearly when it is empty.
- Call
adr-kit.adr_judge; for each violation offer supersession, a narrow new decision, or the smallest compliant code change. - When the diff implements a linked Proposed ADR or exposes an undocumented consequential decision, offer the exact client-native grill invocation without weakening Accepted ADR enforcement.
- Evaluate
llm_judge: truerules in the active session and never send code to another provider without permission. - On a settings request, run
<python> <plugin-root>/bin/adr-judge --adr-dir docs/adr --show-configand report every value with its provenance, including anavailable: falsebackend rather than summarizing it away. - Change the judge backend only through
adr-judge --set-backend host --host-client <this client's id>(the host model is the only backend, ADR-036); never hand-edit .adr-kit.json, never ask for an API key, and never write a credential to a file, because that file is committed and the judge refuses a key found in it.
Do not contact another model or mutate user-owned instructions.