[GH-ISSUE #744] [Issue]: Split LTM routes and lifecycle scenarios #382

Closed
opened 2026-10-20 17:27:03 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Promansis on GitHub (Sep 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/744

Originally assigned to: @Promansis on GitHub.

What problem does this solve?

The Long-Term Memory routes and lifecycle regression suites are large, mutable, sequential direct-run programs. A failure in one scenario makes focused development slow and increases the chance that shared setup or an unresolved operation masks which contract failed.

Proposed change

Split tests/long-term-memory-routes.regression.ts into independent scenario suites for notes, imports, drafts, scope/identity, and backup/preflight behavior. Split tests/long-term-memory-lifecycle.regression.ts into browser workflow and installation/durability suites.

Each resulting direct-run file will own its setup, teardown, persistence fixtures, model mocks, and bounded completion. Route tests will retain request-to-service mapping assertions rather than reducing coverage to status codes. The test documentation and direct-run commands will be updated for the new inventory.

Scope and guardrails

  • Preserve the Phase 0 completion enforcement from #735 / PR #743.
  • Preserve authentication, permission, cancellation, stale-lineage, scope mapping, backup, review, mobile, loading, reinstall, and durable-byte contracts.
  • Do not introduce shared mutable global fixtures solely to move code between files.
  • No package payload, manifest, artifact, catalog, or version changes.

Validation

Run every new suite repeatedly, run the complete Long-Term Memory set, rerun npm run check, and record isolated failures and timing changes.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Sep 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/744 Originally assigned to: @Promansis on GitHub. ## What problem does this solve? The Long-Term Memory routes and lifecycle regression suites are large, mutable, sequential direct-run programs. A failure in one scenario makes focused development slow and increases the chance that shared setup or an unresolved operation masks which contract failed. ## Proposed change Split `tests/long-term-memory-routes.regression.ts` into independent scenario suites for notes, imports, drafts, scope/identity, and backup/preflight behavior. Split `tests/long-term-memory-lifecycle.regression.ts` into browser workflow and installation/durability suites. Each resulting direct-run file will own its setup, teardown, persistence fixtures, model mocks, and bounded completion. Route tests will retain request-to-service mapping assertions rather than reducing coverage to status codes. The test documentation and direct-run commands will be updated for the new inventory. ## Scope and guardrails - Preserve the Phase 0 completion enforcement from #735 / PR #743. - Preserve authentication, permission, cancellation, stale-lineage, scope mapping, backup, review, mobile, loading, reinstall, and durable-byte contracts. - Do not introduce shared mutable global fixtures solely to move code between files. - No package payload, manifest, artifact, catalog, or version changes. ## Validation Run every new suite repeatedly, run the complete Long-Term Memory set, rerun `npm run check`, and record isolated failures and timing changes. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:27:03 +07:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#382
No description provided.