Skip to content

feat: add memory context links for approval UI#172

Merged
Abernaughty merged 1 commit intomainfrom
feat/issue-110-memory-context-links
Apr 8, 2026
Merged

feat: add memory context links for approval UI#172
Abernaughty merged 1 commit intomainfrom
feat/issue-110-memory-context-links

Conversation

@Abernaughty
Copy link
Copy Markdown
Owner

Summary

  • Add source_step and source_output_ref fields to memory entries, threading through the full stack: protocol model → Chroma store → orchestrator write sites → flush_memory_node → API bridge (models/state/runner) → SSE events → dashboard types/store → MemoryDetailView UI
  • Developer node writes source_step: "developer", QA node writes source_step: "qa", with source_output_ref capturing a brief context snippet (e.g., "QA passed: 12 tests passed")
  • Dashboard shows a new "CONTEXT" section in the memory detail view between content and metadata grid, only when context data is available (backward-compatible with old entries)

Closes #110

Test plan

  • 6 new tests: L1/L0-Discovered/L2 context round-trip through Chroma, backward compat, model defaults
  • All 873 existing tests pass
  • Ruff lint clean
  • pnpm check — 0 TypeScript errors

🤖 Generated with Claude Code

Add source_step and source_output_ref fields to memory entries, threading
them through the full stack: protocol → Chroma store → orchestrator →
API bridge → SSE events → dashboard UI. Users can now see which pipeline
step (developer/qa) produced a memory entry and what output triggered it,
enabling informed approve/reject decisions.

Closes #110

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Abernaughty Abernaughty merged commit 4379bc1 into main Apr 8, 2026
3 checks passed
@Abernaughty Abernaughty deleted the feat/issue-110-memory-context-links branch April 8, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Memory approvals context links — file, terminal, and task references

1 participant