Automation Review
Description
Inspect repository automation before changing it. Inventory workflows, triggers, writers, permissions, concurrency, and release paths. Consolidation is safe only when every required output and trigger remains represented and the resulting CI behavior is verified.
- Inventory all workflow files and their triggers.
- Identify workflows that write repository state, publish artifacts, deploy pages, or release packages.
- Detect duplicate writers and competing publishers.
- Compare permissions and concurrency behavior before consolidation.
- Preserve every required output path when merging workflows.
- Verify changed workflows through actual CI runs after the change.
- Record material automation decisions in the repository decision log.
Runnable example
find .github/workflows -maxdepth 1 -type f -name '*.yml' -print
grep -RniE 'git push|contents: write|pages: write|workflow_dispatch|schedule:' .github/workflows
git diff -- .github/workflows
Inputs / outputs / failure modes
| Input | Output | Failure mode |
|---|---|---|
| Workflow inventory | Complete automation map | A workflow is overlooked |
| Trigger definitions | Preserved event coverage | Trigger behavior changes unintentionally |
| Permissions and writers | Reduced conflict risk | Multiple writers compete |
| Publish/release paths | Preserved outputs | Artifact or site output disappears |
| CI results | Post-change evidence | Workflow is assumed healthy without a run |
Failure modes
- Removing a workflow without mapping its outputs.
- Preserving duplicate writers that can race.
- Broadening permissions without a documented need.
- Assuming a successful YAML parse means the automation behavior is correct.
- Declaring consolidation complete before the affected workflows execute successfully.
Related
repository-state-load.mdevidence-verification.mddocumentation-drift-resolution.md
Evidence
- AI_CONSTITUTION.md
- AGENTS.md
- meta/AGENT_OPERATING_MODEL.md
- meta/CURRENT-STATE.md
- GitHub Actions workflow runs