✨ feat: P-25 review routine watched

Merged
AT
1mo ago
+345-28

Slice: #60

Built

  • The weekly job (decisions-weekly, with review on) labels needs-owner, with a comment, any open decision the routine reviews whose Review: date is over a week past with no Kept: or Settled: from an agent since. It takes off only a needs-owner it added itself, once an agent's verdict follows it; the routine's holds and the owner's vetoes stay.
  • Only an agent's comments count as verdicts. reviews-due still lists a decision the job labeled, until the agent comments on it (so the routine can answer it, and a hold isn't asked twice).
  • onboard, with review on, prints how to create the weekly routine and links the prompt at the release in use. The routine prompt, README and a 2026-11-01 decision record say all this.

Waits on P-22's proof
onboard --add review doesn't create or check the routine. Claude's routines (/schedule, the RemoteTrigger tool) call claude.ai's /v1/code/triggers with a Claude Code session's own sign-in, which a command like onboard can't reach. A routine also works as claude.ai's GitHub connection, which nothing reports and which hasn't been switched to the agent yet. Creating the routine and checking its identity wait on that switch and on P-22's proof in a cloud session.

pnpm check passes.

🤖 Generated with Claude Code


Summary by cubic

Adds a watch on the review routine to the weekly decisions-weekly job, so a routine that was never created or has stopped surfaces as needs-owner decisions instead of silently overdue reviews.

  • Labels needs-owner, with a comment, each open decision the routine reviews whose Review: date is over a week past with no Kept: or Settled: from an agent since, and removes only that label once an agent's verdict follows; the routine's holds and the owner's vetoes stay.
  • Only an agent's comments count as verdicts. reviews-due still lists a decision the job labeled, until the agent comments on it, so a hold isn't asked twice.
  • onboard, with review on, prints how to create the weekly routine (claude.ai/code/routines or /schedule) and links the prompt at the release in use. It can't create or check the routine itself: claude.ai's routines API answers only a Claude Code session's own sign-in, and a routine works as claude.ai's GitHub connection — creating it waits on P-22's proof of that connection.