diff --git a/MemoryVision.md b/MemoryVision.md index 37d59a0..448ad57 100644 --- a/MemoryVision.md +++ b/MemoryVision.md @@ -108,6 +108,31 @@ This is the correct starting point. Real integration will be done as a subsequen --- +## Agentic Memory Research & Profile Directions (2026-05) + +**Date:** 2026-05-28 (ralph start for CYA-WP-0005) +**Related:** `history/2026-05-28-CYA-Agentic-Memory-Research-Variations.md`, CYA-WP-0003 (activation + retrospection), CYA-WP-0005 + +Building directly on the 0002 integration contract (below), the 0003 contextual activation + `cya retrospect` continuous optimization loop, and the post-0004 gap analysis (memory moved from large gap to small-medium), deep research into agentic/self-improving memory architectures was performed and persisted. + +The research synthesizes three canonical patterns for closed self-improving loops in LLM agents (Trial → Evaluation/Feedback → Reflection/Synthesis → Memory Update → Improved future behavior): + +- **Profile 1 — Reflexion-style verbal self-improvement** (lightweight, high-explainability): Store natural-language self-reflections/lessons (leveraging existing `KIND_RETROSPECTION` + `remember_retrospection_outcome` + `cya retrospect`). Preferentially activate them via kinds + activation_context in future turns. Plain-English "verbal reinforcement" that users can inspect and edit. + +- **Profile 2 — Generative-Agents-style hierarchical synthesis**: Treat assistance outcomes, retrospections, and explicit remembers as an episodic stream. Periodic (user-triggered or planner-driven) LLM synthesis produces higher-order abstractions (project conventions, workflow patterns, "in this scope we always...") with citations, stored in stabilized phases. Multi-factor retrieval (recency + importance + relevance + profile/scope match) + the existing activation boost. + +- **Profile 3 — Procedural / meta-policy evolution** (highest leverage, highest guardrail needs): First-class evolvable "how I should behave" rules and procedures as a distinct tier. Meta-reflection (after retrospection or explicit "improve my rules") proposes patches to the procedural layer. Strong dry-run + user veto + safety impact analysis required; changes can only tighten (or maintain) the rule-based risk posture by default. + +Detailed definitions, cya-specific implementation mappings (ports, kinds, orchestrator wiring, safety invariants), capability matrix, and phase-memory interface requirements live in the persisted research document and are executed via CYA-WP-0005 tasks T02–T05. + +This directly addresses several Open Questions above (profile authoring, granularity of project memory, safety signals as first-class memory, observability of memory influence, participation in planning/compaction) while preserving all cya invariants (user control, full provenance/explainability, rule-based safety that memory can only strengthen). + +**Next in this workplan:** T02 formalizes the current post-0003 implementation as explicit **Profile 0** baseline (the stable foundation everything else builds on). T03 adds the full profile definitions + matrix. T04 delivers the concrete optimization suggestions for the phase-memory sister repo. + +See also the full research artifact and CYA-WP-0005 for acceptance criteria and cross-links. + +--- + ## cya ↔ phase-memory Integration Contract (CYA-WP-0002 T01) **Date:** 2026-05-26 (ralph iter 1) diff --git a/workplans/CYA-WP-0005-agentic-memory-profiles-and-phase-memory-feedback.md b/workplans/CYA-WP-0005-agentic-memory-profiles-and-phase-memory-feedback.md index 63220e2..ba10ced 100644 --- a/workplans/CYA-WP-0005-agentic-memory-profiles-and-phase-memory-feedback.md +++ b/workplans/CYA-WP-0005-agentic-memory-profiles-and-phase-memory-feedback.md @@ -4,7 +4,7 @@ type: workplan title: "Agentic Memory Profiles (0–3) and phase-memory Interface Optimization" domain: capabilities repo: can-you-assist -status: proposed +status: active owner: grok topic_slug: foerster-capabilities created: "2026-05-28" @@ -52,9 +52,11 @@ This workplan turns the research into an executable, reviewable plan while keepi ```task id: CYA-WP-0005-T01 -status: todo +status: done priority: high state_hub_task_id: "69f8a82d-4e3d-4590-bdf9-d59a5fff00c6" +started: "2026-05-28 ralph iter 1" +completed: "2026-05-28 ralph iter 1" ``` **Description**: Ensure the deep agentic memory research is first-class and referenceable. Create (or confirm) the persisted research document and add a short "Agentic Memory Research" section to MemoryVision.md that introduces the three profile directions with links.