M-7: harness scenarios S-TURN-001..018 (R-002 BLOCKING, B-06 partial, full regression) #143

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

Goal

File harness scenarios S-TURN-001..018 — full set + B-06 turnTextComplete + bargeIn-cancels-TTS + cache-eligibility + post-cancel silence + per-turn seq monotonicity. Both transport modes mandatory. Includes BLOCKING regression submit-cancel-submit within 30 ms (R-002 mitigation).

Scope

  • 18 scenarios covering full Turn surface
  • R-002 BLOCKING regression
  • F-005 post-cancel silence
  • F-018 seq monotonicity
  • B-06 partial (turnTextComplete ordering)
  • R-018 bargeIn cancels TTS
  • All M-1..M-6 scenarios still pass (regression)
  • Both transport modes per UQ-5

Files

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

Acceptance

  • 18 scenarios filed
  • All run in both transport modes
  • R-002 BLOCKING: submit-cancel-submit within 30 ms — no cross-turn token leak
  • F-005: post-cancel silence asserted
  • F-018: seq monotonicity asserted
  • B-06 partial: turnTextComplete ordering asserted
  • Closes #51 partial (B-06)

Test

swift test --package-path packages/Harness --filter TurnScenarioTests green; all M-1..M-6 regression scenarios still green.

Parent epic

#11

Source

.planning/architecture/JARVIS-API-MIGRATION-PLAN.md §2.8 (M-7.9)
.planning/architecture/JARVIS-API-DESIGN-v0.2.md F-005, F-018
.planning/architecture/REVIEW-MIGRATION-RISK.md R-002, R-018

## Goal File harness scenarios S-TURN-001..018 — full set + B-06 turnTextComplete + bargeIn-cancels-TTS + cache-eligibility + post-cancel silence + per-turn seq monotonicity. Both transport modes mandatory. Includes BLOCKING regression submit-cancel-submit within 30 ms (R-002 mitigation). ## Scope - 18 scenarios covering full Turn surface - R-002 BLOCKING regression - F-005 post-cancel silence - F-018 seq monotonicity - B-06 partial (turnTextComplete ordering) - R-018 bargeIn cancels TTS - All M-1..M-6 scenarios still pass (regression) - Both transport modes per UQ-5 ## Files - `packages/Harness/Tests/HarnessTests/TurnScenarioTests.swift` (new) ## Acceptance - [ ] 18 scenarios filed - [ ] All run in both transport modes - [ ] **R-002 BLOCKING:** submit-cancel-submit within 30 ms — no cross-turn token leak - [ ] **F-005:** post-cancel silence asserted - [ ] **F-018:** seq monotonicity asserted - [ ] **B-06 partial:** turnTextComplete ordering asserted - [ ] Closes #51 partial (B-06) ## Test `swift test --package-path packages/Harness --filter TurnScenarioTests` green; all M-1..M-6 regression scenarios still green. ## Parent epic #11 ## Source `.planning/architecture/JARVIS-API-MIGRATION-PLAN.md` §2.8 (M-7.9) `.planning/architecture/JARVIS-API-DESIGN-v0.2.md` F-005, F-018 `.planning/architecture/REVIEW-MIGRATION-RISK.md` R-002, R-018
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/Jarvis#143