M-4: harness scenarios S-MEM-001..008 + S-MEM-CACHE-REGRESSION (UQ-5) #120

Open
opened 2026-05-12 19:37:14 +00:00 by KofTwentyTwo · 0 comments
KofTwentyTwo commented 2026-05-12 19:37:14 +00:00 (Migrated from github.com)

Goal

File harness scenarios S-MEM-001..008 including S-MEM-CACHE-REGRESSION. Vector-search scenarios gated JARVIS_REAL_MODELS=1; FTS-only path testable with StubEmbedder. Both transport modes for non-vector scenarios.

Scope

  • 8 scenarios incl. cache-eligibility regression
  • Vector scenarios skipped unless JARVIS_REAL_MODELS=1
  • StubEmbedder for FTS path
  • Both transport modes per UQ-5
  • M-4 PR description includes D-5/D-6/D-7 declaration

Files

  • packages/Harness/Tests/HarnessTests/MemoryScenarioTests.swift (new)

Acceptance

  • 8 scenarios filed
  • Non-vector scenarios run in both transport modes
  • Vector scenarios annotated JARVIS_REAL_MODELS=1
  • S-MEM-CACHE-REGRESSION green (BLOCKING)
  • getSelfState.memoryVectorAvailable boot assertion green

Test

swift test --package-path packages/Harness --filter MemoryScenarioTests green (vector subset skipped without env var).

Parent epic

#8

Source

.planning/architecture/JARVIS-API-MIGRATION-PLAN.md §2.5 (M-4.6) + §7 D-5/D-6/D-7

## Goal File harness scenarios S-MEM-001..008 including S-MEM-CACHE-REGRESSION. Vector-search scenarios gated JARVIS_REAL_MODELS=1; FTS-only path testable with StubEmbedder. Both transport modes for non-vector scenarios. ## Scope - 8 scenarios incl. cache-eligibility regression - Vector scenarios skipped unless `JARVIS_REAL_MODELS=1` - `StubEmbedder` for FTS path - Both transport modes per UQ-5 - M-4 PR description includes D-5/D-6/D-7 declaration ## Files - `packages/Harness/Tests/HarnessTests/MemoryScenarioTests.swift` (new) ## Acceptance - [ ] 8 scenarios filed - [ ] Non-vector scenarios run in both transport modes - [ ] Vector scenarios annotated `JARVIS_REAL_MODELS=1` - [ ] `S-MEM-CACHE-REGRESSION` green (BLOCKING) - [ ] `getSelfState.memoryVectorAvailable` boot assertion green ## Test `swift test --package-path packages/Harness --filter MemoryScenarioTests` green (vector subset skipped without env var). ## Parent epic #8 ## Source `.planning/architecture/JARVIS-API-MIGRATION-PLAN.md` §2.5 (M-4.6) + §7 D-5/D-6/D-7
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/Jarvis#120