docs: add .github/aw/memory.md — canonical guide for persistent memory strategies#22094
docs: add .github/aw/memory.md — canonical guide for persistent memory strategies#22094
Conversation
…e tool Adds a new .github/aw/memory.md prompt that documents all three persistent memory strategies (cache-memory, repo-memory, repo-memory + wiki), their tradeoffs, and when to use each. cache-memory is positioned as the first choice with explicit anti-pattern notes. Updates create-agentic-workflow.md to reference the new memory.md file. Closes #<issue>" Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/gh-aw/sessions/215228d5-1364-42f1-a891-7f2594269fab
|
Hey A couple of things to address before this is ready for review:
If you'd like a hand, you can assign this prompt to your coding agent: Note 🔒 Integrity filtering filtered 1 itemIntegrity filtering activated and filtered the following item during workflow execution.
|
There was a problem hiding this comment.
Pull request overview
Adds a canonical documentation guide clarifying persistent memory options for agentic workflows, aiming to prevent confusion between cache-memory and repo-memory.
Changes:
- Added
.github/aw/memory.mdas a detailed comparison/decision guide forcache-memoryvsrepo-memory(branch) vsrepo-memorywithwiki: true. - Updated
.github/aw/create-agentic-workflow.mdto recommendcache-memoryas the canonical persistence tool and point to the new guide.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/aw/memory.md |
New canonical reference doc explaining when/how to use each persistence option and their tradeoffs. |
.github/aw/create-agentic-workflow.md |
Updates workflow authoring guidance to explicitly recommend cache-memory and link to the new comparison doc. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Agents were hallucinating
repo-memoryas a synonym forcache-memory. These are distinct tools with different backends, persistence models, and permission requirements.Changes
.github/aw/memory.md(new)Prompt loaded by the agentic-workflows authoring agent when designing persistence strategies. Covers:
cache-memory— first choice; GitHub Actions cache backend, zero repo noise, works with all engines, up to 90-day retention. Includes a complete scheduled-workflow deduplication example and filename safety rules (no colons in artifact names).repo-memory— Git branch backend; indefinite persistence, auditable history, requirescontents: write. For long-lived knowledge bases, not ephemeral state.repo-memory+wiki: true— GitHub Wiki backend; human-browsable pages, Markdown-only.repo-memory≠cache-memory, don't userepo-memoryfor per-run state..github/aw/create-agentic-workflow.mdUpdated the caching hint to name
cache-memoryas the canonical persistence tool and link to the newmemory.mdcomparison guide.📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.