Enhance /handoff-context with save-session structural patterns#49
Enhance /handoff-context with save-session structural patterns#49TechNickAI merged 2 commits intomainfrom
Conversation
Pulls the best ideas from affaan-m/everything-claude-code's save-session command to make handoffs more useful to the next session: - Evidence requirement on work_completed prevents hand-waved "done" status - Split attempted_approaches into failed_approaches + untried_approaches (different signals: don't-retry vs. maybe-try-next) - Dedicated decisions_made section so settled calls aren't relitigated - Dedicated blockers section distinct from work_remaining - Files as scannable table with Complete/In Progress/Broken/Not Started - Singular exact_next_step alongside priority-ordered recommendations - Honesty requirement: write "N/A" rather than skip sections silently Bumps version 1.0.1 -> 1.1.0. Keeps ephemeral /tmp + clipboard + XML structure intact; only the captured content expands. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Code Review —
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1ed35e3ba8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <work_completed> [Every item here MUST include evidence. "Confirmed by: test passed / | ||
| curl returned 200 / visible in Supabase / Postman response attached." Without evidence, | ||
| move the item to untried_approaches.] |
There was a problem hiding this comment.
Keep attempted-but-unverified work out of untried bucket
The instruction to move any work_completed item without evidence into untried_approaches causes factual misclassification: work that was already attempted (but not yet verified) will be labeled as “not yet attempted,” which can make the next session repeat work or miss partially implemented changes. This also conflicts with the later definition of untried_approaches as ideas that have not been attempted, so the handoff schema can become internally inconsistent.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 104dc4f. Changed the instruction to route unverified items to work_remaining as 'Attempted, unconfirmed: [what was tried and why verification was unclear]'. That preserves the semantic distinction: work_remaining = needs doing (including partially attempted), untried_approaches = never attempted.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1ed35e3. Configure here.
- Reroute unverified work_completed items to work_remaining instead of untried_approaches (they were attempted, not untried — both Codex and Cursor caught this contradiction) - Add bullet template to blockers section for consistent formatting - Restore system-state guidance in critical_context (services, migrations, feature flags — Cursor + Claude both flagged the current_state gap) - Drop markdown language tag from code block to reduce Prettier interference with template structure Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
Fixed in 104dc4f:
|
Follow-up Review — after 104dc4f fixesThe previous review covered the main concerns well and the author's fixes in 104dc4f are solid. Here's a clean read of the current state. Fixes confirmed good
Two remaining nits1.
|

Summary
affaan-m/everything-claude-code'ssave-sessioncommand into our/handoff-context— same ephemeral clipboard purpose, richer captured content.plugins/core/commands/handoff-context.mdfrom v1.0.1 → v1.1.0.What changed
work_completedfailed_approaches+untried_approachesdecisions_made(new)blockers(new)work_remaining— those are doable, these aren't yet.filestable| File | Status | Notes |instead of prose, with Complete / In Progress / Broken / Not Started.exact_next_step(new)honesty-requirementsectionWhat intentionally did NOT change
/tmp/context_handoff_[timestamp].mdpbcopyTest plan
/handoff-contexton an in-progress session, paste into a fresh session, verify the new Claude instance can continue without additional contextexact_next_stepprecision — resuming should require zero thinking🤖 Generated with Claude Code