feat(#21): v0.7.0 - handoff commit/push offer + next-session briefing#22
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
throughline-handoffPhase 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)HANDOFF.md+ the new session log, commit, and push - guarded bygit check-ignoreso it correctly skips when the handoff dir isn't committable (this repo's own.agent/handoff/is itself gitignored)Closes #21.
Test plan
shellcheck -s sh hooks/*.shclean (exit 0)bash tests/run.sh- 154/154 assertions PASS, unchanged (skill-content only, no hook logic touched)git check-ignore .agent/handoff/HANDOFF.mdstill returns 0 in this repo, matching the new guard's intended skip caseskills/throughline-handoff/SKILL.mdfor clarity and em-dash-free prose🤖 Generated with Claude Code
https://claude.ai/code/session_01X9erLg8g4EG7W6Q9Tapw1a