You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Audit and classify the scripts called by CI and AI agents #2767
Produce an audit document that lists the shell and Python scripts under contrib/dev-tools/ and .github/skills/ that CI or agents call, classifies each under the contract, and records a decision per script (migrate, rewrite in Rust, exempt with a reason, or follow-up issue).
Background
ADR docs/adrs/20261106102632_scope_the_cli_output_contract_and_keep_exit_codes_to_zero_one_two.md covers every first-party program that machines call, wherever it lives; maintainer decision (2026-11-06): audit the scripts in this EPIC, do not rewrite them here. Known examples: the resolve-review-threads/scripts/*.sh scripts (JSON on stdout, plain-text progress on stderr), contrib/dev-tools/git/hooks/*.sh, merge-pull-request.sh, github-merge.py, process-pr-review/scripts/validate-audit-record.py, contrib/dev-tools/checks/*.sh, and the container and runner scripts. Determine, per script, who calls it and whether a machine consumes its output or exit code.
The contract in short: see the ADRs docs/adrs/20260519000000_define_global_cli_output_contract.md and docs/adrs/20261106102632_scope_the_cli_output_contract_and_keep_exit_codes_to_zero_one_two.md.
In scope
Inventory the scripts and their callers.
Classify each (stdout-result-data, no-stdout-result, or developer-only/out of scope) and record compliance.
Decide per script and list the follow-up issues to open (do not open them in this issue unless the maintainer asks).
Out of scope
Changing any script.
Editing the ADR.
Acceptance criteria
Every script that CI or an agent calls appears in the audit.
Each has a class, a compliance finding and a decision.
No script is changed by this issue.
The full specification (implementation plan, verification plan, files this issue may touch) is added by the spec PR under docs/issues/open/.
Activity
Merge #2771: docs(issues): [#2758] add the specs of the CLI output co…
Merge #3007: docs(issues): [#2758] add #3004 and #3006 to the EPIC an…
Merge #3027: docs(issues): [#2758] start #2766 after #2387 SI-1 inste…