Skip to content

usage of "MEMORY.md" for capturing relevant details #318

@0ut5ider

Description

@0ut5ider

I see that in the latest release the /ce:compound and /ce:compound-refresh use the auto memory feature of claude code to store "relevant" information. PR #311

I want to push back on the current approach for 2 reasons:

  1. the auto memory "MEMORY.md" tool is only available to Claude Code, Windsurf and Copilot.
    Yet CE supports many other coding agents (OpenCode, Codex, Factory Droid, Pi, Gemini CLI, Kiro CLI, OpenClaw, and Qwen Code).
    Those agents don't benefit from this memory functionality.

  2. The auto memory feature leaves the model to decide what information is "relevant".
    Even if the other coding agents had some sort of memory feature, each coding agent harness will have it's own set of instructions on what the session should store in it's memory file.

I think we need to be more specific about gets recorded in a much more structured approach. After all, the entire COMPOUND ENGINEERING idea is to give the model some solid structured guidance to follow. Why would we leave the memory to be "decided by the model"?

What I think this boils down to it:

  • having a structured way to capture the important relevant details (we need to be specific about what is important, and not leave it the model to decide).
    The /ce:work step should be the primary driver of the memory system, and /ce:compound lilkely secondary.
  • For file structure of the memories, we should probably have the same name as the plan, but stored in separate folder /docs/memories/ where one file is generated during /ce:work and updated from /ce:compound and /ce:compound-refresh

Anyone else have any thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions