learning_ai_common_plat/docs/ecosystem/delegation/cursor/TASK.md

2.4 KiB

Cursor Task

Role: Cursor Repo: learning_multimodal_memory_agents Priority: current Phase 1 blocker

Goal

Finish the narrow MindLyst verification path for the note -> memory step so the Phase 1 flow is locally testable.

Owned Files And Modules

  • mindlyst-native/web/src/lib/ecosystem-phase1.*
  • mindlyst-native/web/src/app/api/memory/route.ts
  • mindlyst-native/web/src/__tests__/api-memory.test.ts
  • minimal web test/tooling config only if required for this exact path

Do Not Touch

  • mobile/native app code
  • unrelated product features
  • shared ecosystem contracts in learning_ai_common_plat
  • broad web toolchain churn unrelated to the Phase 1 path

Required Outcome

  • focused tests run for the Phase 1 memory import path
  • memory.entry.created keeps upstream note-linked event causation when available
  • latest memory event index persistence is covered
  • any tooling fix stays minimal and local to this path

Verification

Run the narrowest focused test command that proves the path works. Target files:

  • mindlyst-native/web/src/lib/ecosystem-phase1.test.ts
  • mindlyst-native/web/src/__tests__/api-memory.test.ts

Record the exact command and result.

Tracker Update

If verification changes from blocked to verified, update:

Review Gate

Return the result to Codex for review before claiming completion.

Completion Rule

Do not report this task as complete only because a test script was added.

Completion requires one of these:

  • the exact focused verification command was run successfully and the result was reported
  • the exact verification command failed and the environmental blocker was reported clearly

Launch One-Liner

git pull origin main && read /Users/saravana/BytelystAI/learning_ai/learning_ai_common_plat/docs/ecosystem/delegation/cursor/TASK.md and /Users/saravana/BytelystAI/learning_ai/learning_ai_common_plat/docs/ecosystem/delegation/cursor/FEEDBACK.md, execute within ownership boundaries, and update /Users/saravana/BytelystAI/learning_ai/learning_ai_common_plat/docs/ecosystem/delegation/cursor/STATUS.md