[P1-03] Unify memory selection and restore true abstention #26

Closed
opened 2026-08-28 20:54:34 +01:00 by conductor · 1 comment
Owner

Plain summary

One memory-selection API with a real relevance threshold, and true abstention: a trivial task can legitimately receive ZERO recalled memories. Old-task retrieval can never override the active TaskState.

Example

Asking 'what time is it' retrieves nothing from memory — no fallback injection just because a memory is 'important'.

Technical details

Parent epic: #16

Manifest ID: P1-03

Priority: P1
Problem: multiple memory paths inject data; operator injects top warm neurons even when irrelevant.

Action:

  • one memory-selection API;
  • relevance threshold;
  • memory-type targeting;
  • no fallback injection merely because a memory is important;
  • ContextBroker owns final memory budget.

Acceptance criteria:

  • trivial task can legitimately receive zero recalled memories;
  • irrelevant-memory rate is measured;
  • old-task retrieval cannot override TaskState.

Dependencies: P0-02, P0-03.


Resolved dependency references

  • Depends on: #18 (P0-02), #19 (P0-03)
  • Blocks: #27 (P1-04), #38 (P2-04)

Relevant source files

Not specified in the handoff. P0-01 must identify authoritative paths before implementation; do not guess by adding another path.

Do not do

  • Do not begin this issue before its dependencies are complete.
  • Do not create a parallel authority path; replace, extend, or remain dormant.
  • Do not add unrelated cognitive subsystems or additive feature growth.
  • Do not treat module/schema existence, background activity, or model self-report as acceptance evidence.

Source directive

Preserved from /home/nick/Desktop/rune_v1_course_correction_handoff.md, Section 14. The handoff is authoritative if this issue summary is ambiguous.

Pipeline requirements

  • TDD: frozen/regression tests written first, red → green
  • ruff check and ruff format --check clean
  • Spec-compliance review gate: PASS
  • Code-quality review gate: Approved
  • Full orchestration suite regression green
  • Canary passes (where applicable)
  • Closed with a properly formatted closing comment + commit/PR references
## Plain summary One memory-selection API with a real relevance threshold, and true abstention: a trivial task can legitimately receive ZERO recalled memories. Old-task retrieval can never override the active TaskState. ## Example Asking 'what time is it' retrieves nothing from memory — no fallback injection just because a memory is 'important'. ## Technical details Parent epic: #16 Manifest ID: **P1-03** **Priority:** P1 **Problem:** multiple memory paths inject data; operator injects top warm neurons even when irrelevant. **Action:** - one memory-selection API; - relevance threshold; - memory-type targeting; - no fallback injection merely because a memory is important; - ContextBroker owns final memory budget. **Acceptance criteria:** - trivial task can legitimately receive zero recalled memories; - irrelevant-memory rate is measured; - old-task retrieval cannot override TaskState. **Dependencies:** P0-02, P0-03. --- ## Resolved dependency references - Depends on: #18 (P0-02), #19 (P0-03) - Blocks: #27 (P1-04), #38 (P2-04) ## Relevant source files Not specified in the handoff. P0-01 must identify authoritative paths before implementation; do not guess by adding another path. ## Do not do - Do not begin this issue before its dependencies are complete. - Do not create a parallel authority path; replace, extend, or remain dormant. - Do not add unrelated cognitive subsystems or additive feature growth. - Do not treat module/schema existence, background activity, or model self-report as acceptance evidence. ## Source directive Preserved from `/home/nick/Desktop/rune_v1_course_correction_handoff.md`, Section 14. The handoff is authoritative if this issue summary is ambiguous. ## Pipeline requirements - [ ] TDD: frozen/regression tests written first, red → green - [ ] `ruff check` and `ruff format --check` clean - [ ] Spec-compliance review gate: PASS - [ ] Code-quality review gate: Approved - [ ] Full orchestration suite regression green - [ ] Canary passes (where applicable) - [ ] Closed with a properly formatted closing comment + commit/PR references
conductor added the P1 — highv1-course-correction labels 2026-08-28 20:54:34 +01:00
gitea-actions Bot added the featuregrowthmemory labels 2026-08-28 20:55:00 +01:00
gitea-actions Bot added the custodian label 2026-09-03 22:53:53 +01:00
Author
Owner

Frontier addendum (ARCHITECTURE_FRONTIER_HANDOFF — Amendment #26)

Prior addenda stand. Net-new: the unified memory-selection API must separate: candidate generation / retrieval intent / relevance scoring / current applicability / final ContextBroker admission. Current canonical TaskState/conversation state OUTRANKS stale historical memory when they conflict. True abstention (zero memories) must remain a first-class result. Storage-backend note: this API must sit ABOVE the backend abstraction (#161) so retrieval semantics survive any storage migration.

## Frontier addendum (ARCHITECTURE_FRONTIER_HANDOFF — Amendment #26) Prior addenda stand. **Net-new:** the unified memory-selection API must separate: candidate generation / retrieval intent / relevance scoring / **current applicability** / final ContextBroker admission. Current canonical TaskState/conversation state OUTRANKS stale historical memory when they conflict. True abstention (zero memories) must remain a first-class result. Storage-backend note: this API must sit ABOVE the backend abstraction (#161) so retrieval semantics survive any storage migration.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: conductor/rune#26