Skip to content

research: MobiMem routing patterns never see research-derived task categories — experience patterns trained on CLI sequences on... #3234

@williamzujkowski

Description

@williamzujkowski

Severity: MED | Area: modularity | Exec phase: P0

Evidence: src/context/routing-memory.ts recordExperience() takes workflow + model sequence but ignores research/domain context. src/context/mobimem.ts experience.recordExecution() stores action sequence and outcome but has no facility for research-informed task typing. src/cli-adapters/task-classifier.ts (TaskCategory inference) happens at routing, but routing→experience feedback loop ignores research classification.

Fix: Extend recordExperience signature to include optional researchContext?: { topic: ResearchTopic; techniques: string[] }. Store in MobiMem experience metadata so getExperiencePatterns() can filter by research alignment. Wire cli-adapters/task-classifier results → RoutingMemory so learned patterns are tagged with research domain (e.g., 'memory' domain tasks prefer Opus over Sonnet).


Finding from the 2026-05-31 system review. Domain: research-memory-context (parent #3161). Initiative: epic #3143. Sequenced in the Execution Tracker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2Priority 2 - Medium impact, moderate changes needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions