Skip to content

feat(#21): v0.7.0 - handoff commit/push offer + next-session briefing#22

Merged
jsirish merged 2 commits into
mainfrom
issue-21-handoff-commit-briefing
Jul 8, 2026
Merged

feat(#21): v0.7.0 - handoff commit/push offer + next-session briefing#22
jsirish merged 2 commits into
mainfrom
issue-21-handoff-commit-briefing

Conversation

@jsirish

@jsirish jsirish commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

  • throughline-handoff Phase 4 now emits a copy-pasteable next-session briefing (rendered from the session log's existing Next steps/Objective/gotchas - emit-only, no new file)
  • Phase 4 also offers (never auto-runs) to stage exactly HANDOFF.md + the new session log, commit, and push - guarded by git check-ignore so it correctly skips when the handoff dir isn't committable (this repo's own .agent/handoff/ is itself gitignored)
  • Version bump to 0.7.0 + CHANGELOG entry; one-line README commit-policy note tying the two together

Closes #21.

Test plan

  • shellcheck -s sh hooks/*.sh clean (exit 0)
  • bash tests/run.sh - 154/154 assertions PASS, unchanged (skill-content only, no hook logic touched)
  • Confirmed git check-ignore .agent/handoff/HANDOFF.md still returns 0 in this repo, matching the new guard's intended skip case
  • Reviewer: read through Phase 4 steps 6/7 in skills/throughline-handoff/SKILL.md for clarity and em-dash-free prose

🤖 Generated with Claude Code

https://claude.ai/code/session_01X9erLg8g4EG7W6Q9Tapw1a

jsirish and others added 2 commits July 8, 2026 01:52
Phase 4 of throughline-handoff now closes the loop after writing
HANDOFF.md + the session log: it emits a copy-pasteable next-session
briefing (rendered from the log's existing Next steps, emit-only, no
new file) and offers - never auto-runs - to stage exactly those two
committable artifacts, commit, and push, guarded by git check-ignore
so it correctly skips when the handoff dir isn't committable (as in
this repo's own gitignored .agent/handoff/).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
… ignores

Code review on PR #22 caught three defects in the new Phase 4 step 7:
git check-ignore has no case for THROUGHLINE_DATA_DIR pointing outside
the project's git tree (fatal error there, a scenario session-onboard.sh
already special-cases), the guard treated "either path ignored" as
"skip both" instead of checking each file independently, and the
staging instruction's glob could sweep in older, previously-declined
session logs instead of just the new one. Fixed all three.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@jsirish
jsirish merged commit 9940c2d into main Jul 8, 2026
1 check passed
@jsirish
jsirish deleted the issue-21-handoff-commit-briefing branch July 8, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant