Skip to content

Feature Request: Add a core project memory system for cross-session retrieval and recording #551

Closed

Description

@LanternCX
  • I searched existing issues and this has not been proposed before

What problem does this solve?

The current Superpowers workflow has no general-purpose way for agents to recover small, relevant pieces of prior project history before making new design or implementation decisions, and no corresponding workflow for recording durable project memory after a change unit is complete.

In longer-running projects this creates two related failures:

  • new sessions repeat work because they do not know what was tried, decided, or ruled out before
  • finished work leaves behind commits and code, but not the durable reasoning future sessions need in order to stay consistent

Superpowers has strong process skills for planning, debugging, verification, and review, but no equivalent core system for carrying durable project memory across sessions.

Proposed solution

Superpowers needs a general-purpose memory system with these properties:

  • agents can retrieve relevant prior project history before making new decisions
  • agents can record durable memory after a closed, reviewable change unit is complete
  • the system keeps context use small instead of turning every session into a large history replay
  • the system preserves reusable reasoning, not just commits or long-form notes

The exact implementation can vary, but the core feature should include:

  • a repository-owned place for durable project memory
  • a way to discover relevant memory incrementally
  • a way to keep retrieval and recording disciplined
  • a way to preserve reusable historical context across sessions

What alternatives did you consider?

1. Treat spec and plan documents as the memory system

Specs and plans already preserve some reasoning, so I considered relying on them directly instead of introducing a dedicated memory system.

I rejected this because specs and plans are scoped to a specific design or implementation effort. They are not optimized for small, repeatable historical lookup across later sessions, and they do not give agents a clean way to record implementation outcomes after work is complete.

2. Treat git commits as the memory system

I also considered using commit history as the primary memory layer.

I rejected this because commit messages are intentionally short, uneven in detail, and optimized for version control rather than cross-session retrieval. They are useful evidence, but not a replacement for a structured workflow that helps agents discover relevant prior decisions and preserve reusable guidance.

3. Treat AGENTS.md, CLAUDE.md, or similar markdown files as the memory system

I also considered putting historical guidance directly into always-loaded markdown files such as AGENTS.md or CLAUDE.md.

I rejected this because it would mix durable history with always-present instructions, causing context rot. Over time those files would accumulate large amounts of project history that are not relevant to the current task, making the active context noisier and less reliable.

Is this appropriate for core Superpowers?

Yes.

This is not specific to one project, domain, or third-party tool. Many Superpowers users work across multiple sessions, iterate on designs, revisit failed paths, and need later agents to understand prior decisions without dragging large amounts of context into every conversation.

The proposed memory system is general-purpose infrastructure for agentic development, in the same sense that planning, debugging, verification, and code review are general-purpose workflow infrastructure.

Activity

  1. added
    enhancement
    on Feb 26, 2026
  2. LanternCX commented on Feb 26, 2026

    @LanternCX
    Author

    Quick update: I’ve prepared a focused draft PR for the first slice of this proposal.
    Scope for this first PR is intentionally minimal:

    • Add two skills:
      • progress-bootstrap
      • progress-tracker
    • Add minimal README documentation for workflow/library visibility
      Important scope refinement from the original issue:
    • Canonical path is now .progress/ (not .agents/)
    • No install/migration scripts in this PR
    • No changes to behavior of existing skills
      Draft PR: feat(skills): add progress bootstrap and tracker for .progress memory #555
  3. Nhangg commented on Mar 3, 2026

    @Nhangg

    +1 from me, i need this kind of persistent progress tracking.

  4. LanternCX commented on Mar 9, 2026

    @LanternCX
    Author

    Update: The PR #555 is no longer a draft. All initial review feedback has been addressed and it's now fully ready for review/merge. Closes this issue once merged.

  5. changed the title [-][Feature Request] Add progress-tracking skill for development memory management[/-] [+]Feature Request: Add progress-tracking skill for development memory management[/+] on Mar 9, 2026
  6. Koroqe commented on Mar 19, 2026

    @Koroqe

    The memory problem goes away when you treat development artifacts as the memory. Instead of trying to persist "learnings" separately, I have the pipeline write everything — requirements, architecture decisions, test plans, review findings — as markdown files in the repo. Next session, the agent reads the docs and has full context. No special memory system needed, just structured documentation that's also useful for humans. Check out https://github.com/Koroqe/claude-code-sdlc — it produces actual PRDs, architecture docs, and test plans as files before any code is written.

  7. LanternCX commented on Mar 19, 2026

    @LanternCX
    Author

    The memory problem goes away when you treat development artifacts as the memory. Instead of trying to persist "learnings" separately, I have the pipeline write everything — requirements, architecture decisions, test plans, review findings — as markdown files in the repo. Next session, the agent reads the docs and has full context. No special memory system needed, just structured documentation that's also useful for humans. Check out https://github.com/Koroqe/claude-code-sdlc — it produces actual PRDs, architecture docs, and test plans as files before any code is written.

    I believe this memory structure is too heavy and contains a lot of information that the agent doesn't actually need. Large documents lead to token waste. In my opinion, it's more reasonable to establish a distilled, project-specific memory and implement progressive disclosure, as suggested in this issue.

  8. changed the title [-]Feature Request: Add progress-tracking skill for development memory management[/-] [+]Feature Request: Add a core project memory system for cross-session retrieval and recording[/+] on Mar 22, 2026
  9. added
    claude-code
    skills
    on Mar 23, 2026
  10. jtkeyva commented on Mar 27, 2026

    @jtkeyva

    +1 i manually make local md files formemory/handoff progress/status tracker adr etc but it can get squirrelly as it's cumbersome to manually maintain

  11. johnoshea commented on Mar 29, 2026

    @johnoshea

    At first glance, it sounds like there's a lot of overlap between this request and what https://github.com/obra/episodic-memory and Anthropic's relatively new auto memory do?

  12. LanternCX commented on Mar 30, 2026

    @LanternCX
    Author

    At first glance, it sounds like there's a lot of overlap between this request and what https://github.com/obra/episodic-memory and Anthropic's relatively new auto memory do?

    I took a look at the episodic-memory and the Claude memory docs, and you're right—there is definitely a lot of overlap with the memory feature proposed in this issue.

    The structure of Claude's memory is actually very similar to my PR, and the episodic-memory repo offers a more independent and comprehensive solution.

    Given this high degree of overlap, it is indeed worth considering whether it still makes sense to integrate this feature directly into superpowers.

  13. LanternCX commented on Jun 6, 2026

    @LanternCX
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claude-codeenhancementskills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions