feat(hooks): add active working context section to compaction summary

Include files, code in progress, external references, and state/variables
in compaction summary for seamless continuation after context compaction.
This commit is contained in:
justsisyphus
2026-01-26 14:23:05 +09:00
parent 5c7eb02d5b
commit 9d66b80709

View File

@@ -33,7 +33,13 @@ When summarizing this session, you MUST include the following sections in your s
- Pending items from the original request
- Follow-up tasks identified during the work
## 5. MUST NOT Do (Critical Constraints)
## 5. Active Working Context (For Seamless Continuation)
- **Files**: Paths of files currently being edited or frequently referenced
- **Code in Progress**: Key code snippets, function signatures, or data structures under active development
- **External References**: Documentation URLs, library APIs, or external resources being consulted
- **State & Variables**: Important variable names, configuration values, or runtime state relevant to ongoing work
## 6. MUST NOT Do (Critical Constraints)
- Things that were explicitly forbidden
- Approaches that failed and should not be retried
- User's explicit restrictions or preferences