Audit and classify the scripts called by CI and AI agents

Aperta
#2,767 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python, rust, shell
Ambito
ci-cd, tooling

Direzione di ricerca

Start with the two CLI output contract ADRs named in the issue, then inspect the scripts under contrib/dev-tools/ and .github/skills/ and trace which CI or agent calls each one. The spec PR under docs/issues/open/ contains the implementation and verification plan. Done means the audit lists every called script, its class, compliance finding, decision, and any follow-up issues, with no scripts changed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Part of EPIC #2758. Order 8 of 11, wave 1.

Goal

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/.

Lingua principale
Rust
Stelle
532
Fork
56
Merge medio
11h 20m
PR unite (30g)
282

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di torrust/torrust-tracker

Tutte le issue di torrust/torrust-tracker

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.