You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e5b1c03
Browse filesBrowse the repository at this point in the historyBrowse files
feat(skills): group reviewers with implementers and flag stale author actions in PEW
PEW now places reviewer rows directly below the implementer they review and ranks the group by its newest member, shows a merged PR without CI, and uses 🔨 for implementers so they no longer resemble the 🧐 reviewer face. Each author_action carries author_action_at, and PEW flags the 🙋 for re-evaluation when that time is missing or any of the agent's PRs merged or closed after it. Campaign-level author actions get their own top-level ledger list and footnotes, and the skill tells the orchestrator to re-evaluate author_action when decisions resolve or PRs merge or close.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .agents/skills/orchestrate-sdlc/SKILL.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,13 +56,13 @@ Never drop a field to save width. Keep the ledger's next-step and last-action ph
56
56
57
57
The script renders only what the ledger holds, so keeping these fields current is the orchestrator's duty (schema in [watch.md](references/watch.md)):
58
58
59
-
-`last_update` and `last_action` change on each meaningful work-item event: code changes, PR/check-state transitions, new/edited comments, agent responses, and new agent instructions. Read-only polls, unchanged snapshots, and `PEW` itself do not change them. Rows sort newest first, not by issue priority.
59
+
-`last_update` and `last_action` change on each meaningful work-item event: code changes, PR/check-state transitions, new/edited comments, agent responses, and new agent instructions. Read-only polls, unchanged snapshots, and `PEW` itself do not change them. Rows sort newest first, not by issue priority; reviewer rows sit directly below the implementer they `review`, and the group ranks by its newest member.
60
60
-`state` is `working` or `idle`, the only two displayed worker states. Dormant, waiting, blocked, and completed are explained in `next_step` text. Worker activity is independent of PR state.
61
-
-`author_action` names what the change author running the orchestrator must do, such as reviewing a Draft or answering a pending decision, and adds `🙋` to the row. Other human reviewers are not operators: awaiting their approval or an unresolved review thread alone does not set it. Clear it after the author responds unless a further author action remains pending.
61
+
-`author_action` names what the change author running the orchestrator must do, such as reviewing a Draft or answering a pending decision, and adds `🙋` to the row. Other human reviewers are not operators: awaiting their approval or an unresolved review thread alone does not set it. Re-evaluate it whenever the author answers, a decision it names is resolved, or one of the agent's PRs merges or closes: clear it, or narrow it to what is still pending, and set `author_action_at` to the time it was set or last re-evaluated. A decision tied to no agent's open work, such as deleting a retired worktree, goes in the top-level `author_actions` list, which renders as `🙋 campaign:` footnotes, never on an unrelated agent's row. The renderer flags a 🙋 for re-evaluation when `author_action_at` is missing or any of the agent's PRs merged or closed after it.
62
62
-`artifacts` holds the latest final artifact of each kind (investigation report, implementation spec, review report), replaced when a new version is delivered, never a draft.
63
63
-`model` is the concrete model; when it is unknown the row shows `model?`, and the orchestrator asks that agent once when it next reports.
64
64
65
-
Role icons are fixed identity, not state: 🔎 investigator, 🧑💻 implementer, 🧐 reviewer. CI is 🟢 `pass` only when every required check explicitly passed on the current head; skipped is not passing. `Ready` is not approval or merge eligibility, so the review decision appears in a footnote.
65
+
Role icons are fixed identity, not state: 🔎 investigator, 🔨 implementer, 🧐 reviewer. CI is 🟢 `pass` only when every required check explicitly passed on the current head; skipped is not passing. A merged PR shows only 🟣 `Merged`, without CI. `Ready` is not approval or merge eligibility, so the review decision appears in a footnote.
66
66
67
67
Archived agents are omitted and counted in a footnote; retain their reports and transcripts. Merged implementer owners become eligible for archival only after one week from merge, with no active assignment, unresolved follow-up, or other/shared PR ownership; a bound reviewer is archived together with its implementer. Preserve their full historical record before removal; age alone never archives an active owner. Do not wake agents merely to list them; the one-off model question is the exception. `PEW` is read-only: it never grants mutation authority, restarts a watcher, or renews a watch window.
Copy file name to clipboardExpand all lines: .agents/skills/orchestrate-sdlc/references/watch.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
5
5
Keep one campaign ledger outside tracked files, at `.sdlc/campaign.json` in the main checkout (see Worktrees in [workflow.md](workflow.md)). The orchestrator is its writer; workers receive the absolute path and their operation/run IDs. Preserve the agent/issue/PR registry, permissions, exact heads/readiness/dependencies, feedback revisions and reply IDs, event cursors, retry budgets, and per-PR operation ownership. Keep tokens and other secrets out of it.
6
6
7
-
Keep these records separate: `agents` is keyed by agent name, and each entry holds its agent ID, task, worktree path and branch, `reviews` (a reviewer's bound implementer name), and the fields the [PEW renderer](../scripts/pew.py) reads: `role` (`investigator`, `implementer`, or `reviewer`), `model` (concrete model name: spawn-time resolution, replaced by the agent's self-report), `issue` (issue ID), `prs` (PR numbers), `artifacts` (kind to `{"path": absolute path, "at": UTC delivery time}`), `state` (`working` or `idle`), `archived` (boolean), `next_step` and `last_action` (short phrases), `last_update` (UTC time of the last meaningful event), and `author_action` (the pending change-author action, or null); `prs` includes the current head, readiness, dependencies, and owner; `parameters` (`display_timezone` and any per-role models), `permissions`, `feedback`, `reply_ids`, `cursors`, `budgets`, and `operations` retain their corresponding evidence. Register watcher/receiver identities and verification evidence under `watch.runtime`, tagged with the current run ID.
7
+
Keep these records separate: `agents` is keyed by agent name, and each entry holds its agent ID, task, worktree path and branch, and the fields the [PEW renderer](../scripts/pew.py) reads: `role` (`investigator`, `implementer`, or `reviewer`), `reviews` (a reviewer's bound implementer name), `model` (concrete model name: spawn-time resolution, replaced by the agent's self-report), `issue` (issue ID), `prs` (PR numbers), `artifacts` (kind to `{"path": absolute path, "at": UTC delivery time}`), `state` (`working` or `idle`), `archived` (boolean), `next_step` and `last_action` (short phrases), `last_update` (UTC time of the last meaningful event), `author_action` (the pending change-author action on that agent's work, or null), and `author_action_at` (UTC time it was set or last re-evaluated); top-level `author_actions` lists pending change-author actions tied to no agent's work; `prs` includes the current head, readiness, dependencies, and owner; `parameters` (`display_timezone` and any per-role models), `permissions`, `feedback`, `reply_ids`, `cursors`, `budgets`, and `operations` retain their corresponding evidence. Register watcher/receiver identities and verification evidence under `watch.runtime`, tagged with the current run ID.
8
8
9
-
Record each agent's `last_update`, `last_action`, and `author_action`; waiting for other reviewers is not operator input. A new event or instruction changes that record; an unchanged poll or `PEW` does not. Store absolute UTC times; render all displayed event/deadline/status output using the ledger's `display_timezone` (see Skill parameters in `SKILL.md`) with date, time, and short timezone abbreviation. A display-timezone change never changes an absolute deadline or watch window. After one week from merge, an inactive implementer with no other/shared ownership or unresolved follow-up may leave the active ledger only after its complete record is preserved in history.
9
+
Record each agent's `last_update`, `last_action`, `author_action`, and `author_action_at`, and campaign-level `author_actions`; waiting for other reviewers is not operator input. A new event or instruction changes that record; an unchanged poll or `PEW` does not. Store absolute UTC times; render all displayed event/deadline/status output using the ledger's `display_timezone` (see Skill parameters in `SKILL.md`) with date, time, and short timezone abbreviation. A display-timezone change never changes an absolute deadline or watch window. After one week from merge, an inactive implementer with no other/shared ownership or unresolved follow-up may leave the active ledger only after its complete record is preserved in history.
10
10
11
11
The control helper changes only the ledger's `watch`/`watch_history` fields and preserves other fields. It uses POSIX file locking and atomic replacement; use it from a POSIX checkout such as the repository's supported Linux environment. Run it through Bazel from the repository root:
0 commit comments