Repository navigation
feat: add context handoff compaction - #6
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThe changes introduce a new Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
There was a problem hiding this comment.
Pull request overview
Adds a new “Context Handoff” directive and wires it into the repo’s adaptive workflow routing and agent instruction templates, so long-running or multi-phase work can be compacted into an explicit handoff capsule instead of relying on accumulating chat history.
Changes:
- Introduces
directives/context-handoff.mddefining handoff capsule semantics and storage conventions. - Updates
directives/adaptive-routing.mdto include handoff requirements in routing output and path rules. - Updates templates and README to reference and document the new directive and workflow step.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| templates/copilot-instructions.md | Adds context-handoff awareness to routing guidance and Full Path workflow steps. |
| templates/CLAUDE.md | Updates Light/Full Path guidance and adds a HANDOFF step + directive reference. |
| templates/AGENTS.md | Same as CLAUDE template: clarified path selection + HANDOFF step + directive table entry. |
| directives/context-handoff.md | New directive defining when/how to compact task state and where to store it. |
| directives/adaptive-routing.md | Extends routing output and rules to include handoff requirement selection and usage. |
| README.md | Documents the new directive and updates included workflow directive count and quick start. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
directives/context-handoff.mdfor compacting task state at directive, phase, PR, or session boundaries..agents/handoff.mdas the active rewritten handoff and.agents/handoff-log.mdas optional historical audit trail.Verification
git diff --checkdirectives/context-handoff.mdreferences and removal of stale Light Path file-count heuristicsNotes
feat/adaptive-workflow-routingbecause context handoff depends on the adaptive router introduced there.Summary by CodeRabbit
New Features
context-handoffdirective for compacting and persisting task state across workflow phase and session boundaries.Updates