mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-29 20:11:04 +08:00
docs: add core_memory session awareness to AGENTS.md
Document CMEM-* memory records, query pattern, and relationship to .workflow/ artifacts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -120,6 +120,12 @@ Before starting work, scan recent sessions (7 days) to avoid conflicts and reuse
|
|||||||
- Overlapping file scope → warn, suggest referencing prior session
|
- Overlapping file scope → warn, suggest referencing prior session
|
||||||
- Complementary findings → feed into current task context
|
- Complementary findings → feed into current task context
|
||||||
|
|
||||||
|
### Session Memory (`core_memory`)
|
||||||
|
|
||||||
|
- `core_memory` (MCP) stores session snapshots as `CMEM-*` records — use `/compact` to save, `core_memory export` to restore
|
||||||
|
- Query prior memories before complex tasks: `core_memory({ operation: "search", query: "..." })`
|
||||||
|
- `.workflow/` artifacts are session-specific; `core_memory` is cross-session — reference session IDs, don't duplicate
|
||||||
|
|
||||||
## Execution Checklist
|
## Execution Checklist
|
||||||
|
|
||||||
**Before**:
|
**Before**:
|
||||||
|
|||||||
Reference in New Issue
Block a user