Skip to content

throughline-handoff: offer to commit+push handoff changes, and emit a next-session briefing message #21

Description

@jsirish

Two related gaps in the throughline-handoff skill's Phase 4 wrap-up, found while dogfooding it at the end of a multi-hour session.

1. Offer to commit + push the handoff changes

Today Phase 4 ends at "Report, then let the user review. After writing, show the HANDOFF.md diff + session-log path." — the skill writes HANDOFF.md and the new session log, but doesn't do anything with them beyond leaving them in the working tree.

In practice, every session that uses this skill ends up manually committing (and often pushing) those two files as a docs: session handoff — ... commit, so the durable record actually lands on the remote for the next session/teammate to see. Right now that's an ad-hoc step the calling agent has to remember and re-derive each time (commit message convention, whether to push, respecting the repo's existing push-gate/CI conventions if any).

Ask: after Phase 4 writes HANDOFF.md + the session log and shows the diff, have the skill explicitly offer (not auto-execute) to:

  • stage exactly those two files (not a broad git add -A)
  • commit with a conventional message (e.g. docs: session handoff — <brief summary>)
  • push to the current branch's remote

Should respect whatever git safety norms the calling agent already follows (ask before destructive/remote-affecting actions, don't bypass any repo-configured push gates without explicit authorization each time). This is a natural extension of the existing "Report, then let the user review" step, not a new autonomous-write path — the write already happened, this is just closing the loop on getting it committed.

2. Emit a next-session briefing message, separate from the session summary

Phase 4 currently produces one thing for the user: the diff + session-log path, which the calling agent typically turns into a short prose summary of what happened this session.

That's useful for the person who was in this session, but not directly useful for priming a brand-new agent in a brand-new session to continue the work — a new session either has to run throughline-onboard and re-derive "what should I do next" from HANDOFF.md's prose, or the user has to manually write a kickoff prompt themselves.

Ask: have Phase 4 also produce a second, distinct artifact: a compact, copy-pasteable next-session briefing — essentially a pre-written kickoff prompt a user could paste into a fresh session (or hand to a scheduled/cron agent) to pick up exactly where this one left off, without that new session needing full onboarding first. Something like:

## Next session briefing — <project>
Continuing: <one-line objective>
Last done: <what just landed — PRs merged, deploys done>
Next: <ordered, specific next steps — exact commands/paths where known>
Watch out for: <the sharpest gotcha from this session, if any>

This should draw from the same "Next steps" section already synthesized for the session log (Phase 3 template already has a ## Next steps section) — it doesn't need new information, just a second, more compact rendering aimed at "handing to a new agent" rather than "documenting for a human reader."

Context

Hit both of these at the tail end of a session in dynamic/sheboygan-youth-sailing-installer (image-loading optimization, issue #154) — had to manually work out the commit message/push flow, and there was no ready-made "start here" prompt to carry into whatever session picks up Phase 3/4 of that work next.

🤖 Filed via Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions