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
Should a successful Run notification say a session's background work was stopped and resumed? #2238
The Spec review of pull request #2237 (for #2231) found a possible gap. A Run notification for a successful Ticket run does not say that a session's background work was stopped at Claude Code's background wait ceiling and then resumed.
Its acceptance criterion is narrower: "A Claude session whose output includes the background-tasks-stopped line has that fact in the Command log and, on failure, in the cause."
The Command log says implement: background work was killed as the session ended; resuming it once.
On failure, the cause names the stopped work, and so does the Run notification's Cause line.
On success, though, the Run notification says nothing about the Resume or the ceiling. rg -n -i "killed|resum|ceiling" src/notification.rs finds nothing, and the notification's account has no field for session Resumes.
The Desired behaviour and the acceptance criterion disagree on whether a successful run's notification should mention this. Adding it would need new plumbing from sessions into the Run notification's account, for Resumes generally, not only ceiling stops. That changes what every successful Run notification can say. Whether that's wanted is a product decision for the Day shift.
Checked against main (dbf17d2). The finding holds as stated.
Confirmed facts
Resume already exists on main for any session Step, not only implement sessions (src/session.rs:674-710; GLOSSARY.md Resume). Its only trace on a successful run is a progress line in the Command log: {label}: background work was killed as the session ended; resuming it once (src/session.rs:694, also :1643 for implement).
RunNotification (src/notification.rs:132-142) has no field for Resumes or killed work. rg -n -i "killed|resum|ceiling" src/notification.rs finds nothing.
Inference: if success notifications are to mention it, the right unit is Resumes in general. Every session Step can get one, and a Resume that itself ends killed is currently recorded only in a progress line. Reporting only ceiling stops in implement sessions would make notifications inconsistent across Steps.
B: add a Resumes section to the notification. Make this a Ticket: record each Resume, its Step label, the killed work and whether that Resume also ended killed. Carry this from sessions into the Run notification's account, including child Ticket runs reported by Spec, Pickup and Architect runs. Render it on every outcome. Update GLOSSARY.md Run notification and Resume, docs/guide.md (then regenerate the site docs) and any hand-written site pages that describe notification contents.
C: implement sessions only. Narrower plumbing, but notifications would differ by Step.
If B or C is chosen, relabel this issue ready-for-agent with the chosen scope, or split it into a Ticket, after #2237 lands, since it builds on #2237's killed-work plumbing.
Activity
JacobStephens2 commentedon Nov 15, 2026
Investigation summary
Checked against
main(dbf17d2). The finding holds as stated.Confirmed facts
mainfor any session Step, not only implement sessions (src/session.rs:674-710; GLOSSARY.md Resume). Its only trace on a successful run is a progress line in the Command log:{label}: background work was killed as the session ended; resuming it once(src/session.rs:694, also:1643for implement).RunNotification(src/notification.rs:132-142) has no field for Resumes or killed work.rg -n -i "killed|resum|ceiling" src/notification.rsfinds nothing.Inference: if success notifications are to mention it, the right unit is Resumes in general. Every session Step can get one, and a Resume that itself ends killed is currently recorded only in a progress line. Reporting only ceiling stops in implement sessions would make notifications inconsistent across Steps.
Decision needed from the Day shift
docs/guide.md(then regenerate the site docs) and any hand-written site pages that describe notification contents.If B or C is chosen, relabel this issue
ready-for-agentwith the chosen scope, or split it into a Ticket, after #2237 lands, since it builds on #2237's killed-work plumbing.