@@ -76,10 +76,11 @@ readiness controller and the agentic orchestrator must both respect this file.
7676## Event Fast Paths
7777
7878- ` pull_request ` activity types: not wired in the gh-aw Evergreen workflow.
79- PR activity is covered by schedule/manual/default-branch reconciliation to
80- avoid gh-aw confused-deputy activation on bot-authored PRs.
81- - Default-branch ` push ` policy: ` push ` to ` main ` wakes the reconciliation loop
82- because it can make labeled PRs stale or conflicted.
79+ PR activity is covered by schedule/manual reconciliation to avoid gh-aw
80+ confused-deputy activation on bot-authored PRs.
81+ - Default-branch ` push ` policy: not wired in v1; the schedule covers ` main `
82+ changes that can make labeled PRs stale or conflicted. Use manual dispatch
83+ for urgent reconciliation.
8384- ` workflow_run ` policy: not wired in v1; the schedule covers CI state changes.
8485- Review event policy: not wired (reviews are not merge gates here).
8586- Deployment event policy: not wired (no deployment gates).
@@ -106,14 +107,18 @@ readiness controller and the agentic orchestrator must both respect this file.
106107## Repair Policy
107108
108109- Allowed edits: source, tests, playground, config, and workflow files needed to
109- clear a configured gate. Keep changes small and targeted (one feature/fix per
110- commit per repo convention).
110+ clear a configured gate. Keep changes targeted to the failing gate, but a
111+ single Evergreen run may edit multiple files and fix multiple diagnostics when
112+ they come from the same failing command.
111113- Protected files: ` README.md ` and ` .autoloop/programs/** ` must not be modified
112114 unless explicitly requested. ` .autoloop/** ` and ` memory/autoloop ` branch state
113115 are Autoloop-owned. Issue #1 (program definition) must not be modified.
114116- High-risk file policy: dependency manifests and lockfiles (` package.json ` ,
115117 ` bun.lock ` , ` bunfig.toml ` ) may be edited only when the failing gate requires
116118 it; prefer deterministic tooling.
119+ - Safe-output patch budget: ` 10240 ` bytes, the current gh-aw maximum. This is
120+ intentionally large enough for one coherent lint/typecheck gate-clearing patch
121+ instead of tiny symptom commits.
117122- Deterministic commands (repo-native, run before agentic edits):
118123 - Install: ` bun install `
119124 - Typecheck: ` bun run typecheck `
@@ -126,7 +131,9 @@ readiness controller and the agentic orchestrator must both respect this file.
126131- CI/lint diagnosis policy: when a CI gate fails, fetch the exact failing job
127132 logs and run the targeted repo command locally before editing. For lint
128133 failures, ` bun run lint ` is the source of truth; do not guess from truncated
129- GitHub summaries.
134+ GitHub summaries. For lint and typecheck gates, iterate locally until the
135+ current command passes, only non-mechanical blockers remain, or a stop rule
136+ applies.
130137- Generated file policy: recompile committed lockfiles/snapshots when their
131138 sources change. After editing any ` .github/workflows/*.md ` workflow, recompile
132139 and commit the generated ` .lock.yml ` .
0 commit comments