adw-alerts had 92 runs and 92 startup failures since July 19, so the
external-alert loop had never once executed. The cause was its triggers:
dependabot_alert and code_scanning_alert are webhook events, not Actions
events, and an unrecognised trigger fails the workflow at startup on every
event that touches it. Both are dropped, along with the relay job and the
dead if: guards they existed to serve.
The supported daily whole-state poll becomes the sole automatic path, with
manual dispatch kept for diagnosis. Both alert queries now paginate — as the
sole security path, a repo with more than thirty open alerts would otherwise
drop every high-severity one past the first page while still claiming a
whole-state sweep. The roster, the reaction-workflow framing, and adw-plan's
relay comment are updated so the spec-of-record no longer names a trigger
that no longer exists.
Surface: .github/workflows/adw-alerts.yml, adw-plan.yml's relay comment, and
the roster + reaction table in AGENTIC-DEVELOPMENT.md.
33# only covers alerts present while a PR is open; this closes the gap the roster# only covers alerts present while a PR is open; this closes the gap the roster
44# always claimed security-reviewer owned but nothing wired.# always claimed security-reviewer owned but nothing wired.
1010# Needs the App to be granted "Dependabot alerts: read" and "Code scanning# Needs the App to be granted "Dependabot alerts: read" and "Code scanning
1111# alerts: read" (owner, #14) — without them the gh queries error (that error is# alerts: read" (owner, #14) — without them the gh queries error (that error is
55# The action serves only `workflow_dispatch` and `schedule` (same as adw-alerts), so# The action serves only `workflow_dispatch` and `schedule` (same as adw-alerts), so
66# the two events it rejects — `push` and `issues` — are relayed to a dispatch by# the two events it rejects — `push` and `issues` — are relayed to a dispatch by
77# plain no-Claude watchers that `gh workflow run` with the App token (the same relay# plain no-Claude watchers that `gh workflow run` with the App token (the same relay
8-# adw-alerts / adw-release use). Subscription auth; no CLI, no metered API.
8+# adw-release uses). Subscription auth; no CLI, no metered API.
108108| `planner` | spec change on `main`; a `needs:breakdown` epic; weekly `schedule` | interpret spec diffs into work-orders, slice epics into single work-orders, and groom the backlog + board | **Issues** + `docs/plans/*` | fable | xhigh || `planner` | spec change on `main`; a `needs:breakdown` epic; weekly `schedule` | interpret spec diffs into work-orders, slice epics into single work-orders, and groom the backlog + board | **Issues** + `docs/plans/*` | fable | xhigh |
109109| `surveyor` | `schedule` | measure the spec-vs-code gap and open the next unbuilt slice as a work-order | **one Issue** per tick | fable | high || `surveyor` | `schedule` | measure the spec-vs-code gap and open the next unbuilt slice as a work-order | **one Issue** per tick | fable | high |
110110| `reviewer` | `pull_request` | adversarial correctness review vs the spec — a *second* model | a **PR review** | opus | xhigh || `reviewer` | `pull_request` | adversarial correctness review vs the spec — a *second* model | a **PR review** | opus | xhigh |
111-| `security-reviewer` | PR on sensitive surface / `needs:security` / scanner alert | security review; escalate high severity | a **PR review** + `risk:*` | opus | high |
111+| `security-reviewer` | PR on sensitive surface / `needs:security` / `adw-alerts` daily sweep or manual dispatch | security review; escalate high severity | a **PR review** + `risk:*` | opus | high |
112112| `builder` (Claude) | issue labeled `ready` | build one **UI/UX** slice per `WALKING-SKELETON`, hardened, tested | a **branch + PR** | opus | high || `builder` (Claude) | issue labeled `ready` | build one **UI/UX** slice per `WALKING-SKELETON`, hardened, tested | a **branch + PR** | opus | high |
113113| `builder` (Codex) | issue labeled `codex` | build one **backend** slice per `WALKING-SKELETON`, hardened, tested | a **branch + PR** | terra | high || `builder` (Codex) | issue labeled `codex` | build one **backend** slice per `WALKING-SKELETON`, hardened, tested | a **branch + PR** | terra | high |
114114| `codex-review` | `pull_request` | cross-family second opinion (advisory; never a gate label) | a **PR comment** | sol | high || `codex-review` | `pull_request` | cross-family second opinion (advisory; never a gate label) | a **PR comment** | sol | high |
361362| `adw-docs` | merged PR touching **product code** (not docs/site/prototypes/config) | `docs-writer` updates docs + site to match, or no-ops | doc-only PRs are `paths-ignore`d, so `docs-writer`'s own PR can't re-trigger it || `adw-docs` | merged PR touching **product code** (not docs/site/prototypes/config) | `docs-writer` updates docs + site to match, or no-ops | doc-only PRs are `paths-ignore`d, so `docs-writer`'s own PR can't re-trigger it |
362363| `adw-release` | `v*` tag (the owner's release touchpoint) | `release-manager` drafts notes, verifies §14, publishes a Release | tag push is owner-made; relayed via dispatch (the action can't serve `push`) || `adw-release` | `v*` tag (the owner's release touchpoint) | `release-manager` drafts notes, verifies §14, publishes a Release | tag push is owner-made; relayed via dispatch (the action can't serve `push`) |
363364| `adw-comment` | **owner** writes `@smith …` on an issue/PR | routes the instruction to the fitting agent, or answers | locked to `author_association == OWNER` — a non-owner's comment does nothing; agents' own comments aren't the owner || `adw-comment` | **owner** writes `@smith …` on an issue/PR | routes the instruction to the fitting agent, or answers | locked to `author_association == OWNER` — a non-owner's comment does nothing; agents' own comments aren't the owner |
364-| `adw-alerts` | Dependabot / code-scanning alert (or daily) | `security-reviewer` sweeps open alerts, escalates real high-severity, ignores prototype-only ones | alert events relay to dispatch (action can't serve them); a schedule backstops missed events |
365+| `adw-alerts` | daily schedule / manual dispatch | `security-reviewer` sweeps open Dependabot + code-scanning alerts, escalates real high-severity, ignores prototype-only ones | one supported whole-state poll; dedupe against existing tracking issues |
365366| *CI self-heal* | — | folded into `sweeper` (hourly), not a per-event trigger | avoids the fiddly `check_suite`→PR mapping and its loop risk; fits the predictability dial || *CI self-heal* | — | folded into `sweeper` (hourly), not a per-event trigger | avoids the fiddly `check_suite`→PR mapping and its loop risk; fits the predictability dial |
367368The one deliberately-owner-gated reaction is `adw-comment`: because the repo isThe one deliberately-owner-gated reaction is `adw-comment`: because the repo is
368369public, a comment body is untrusted input, so only the owner may steer through it.public, a comment body is untrusted input, so only the owner may steer through it.
369-Everything else keys off structural events (a review verdict, a merge, a tag) that
370-agents produce as a matter of course, which is why the loop-guards matter — without
371-them, an agent's own review or merge would wake another agent without end.
370+Everything else keys off structural events (a review verdict, a merge, a tag) or
371+the deterministic alert schedule. The guards prevent agents from reacting to their