Imported from sushikikun/RECORA (
scripts/AGENTS.md). Install upstream withnpx skills add sushikikun/RECORA --skill scripts. Copyright stays with the author.
Recora script rules
This file composes with root AGENTS.md for scripts/**. The sibling lib/recora/AGENTS.md is not inherited. Read the assigned Issue and the canonical contract owned by the code or operation the script supports.
- Scripts verify or operate existing authority; they do not create new Product meaning or a second domain authority.
- Any mutation-capable path defaults to Plan or dry-run and requires an explicit execution mode.
- Redact secrets, credentials, environment values, and user identity from output and receipts.
- Production, non-local DB, credentialed, destructive, or irreversible execution is RED.
- Do not hard-code user-specific absolute paths; use repository-relative or contracted locations.
- Promote recurring failures into focused checks or fixtures instead of adding per-task exceptions.
scripts/recora-ci-checks/*.check.tsfiles are auto-discovered byrecora:ci-checks.- Never weaken or bypass a check merely to make validation pass; fix the implementation or update an explicitly changed contract.