M-7: retire BusOutbound.hudState/sessionHistory; bump BUS_PROTOCOL_VERSION=2.4.0 strict (post-soak) #142

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

Goal

Retire BusOutbound.hudState + sessionHistory cases. Bump BUS_PROTOCOL_VERSION = 2.4.0 (drop 2.3.0 from accepted list). LAST commit in M-7 branch — lands only after N>=3-day soak with dual-channel transport active.

Scope

  • Delete BusOutbound.hudState case (already migrated to Diagnostics in M-3)
  • Delete BusOutbound.sessionHistory case (already migrated to Turn.listTurns in M-7.6)
  • BUS_PROTOCOL_VERSION = "2.4.0" strict (drops 2.3.0 from accepted set)
  • Dual-channel transport closes

Files

  • packages/Bus/Sources/Bus/BusOutbound.swift
  • packages/Bus/Sources/Bus/Protocol.swift
  • packages/Bus/Sources/Bus/WebviewBridge.swift

Acceptance

  • hudState + sessionHistory cases deleted from BusOutbound
  • BUS_PROTOCOL_VERSION = "2.4.0" strict
  • bash scripts/check-bus-protocol-version.sh green for 2.4.0 strict
  • N≥3 days of soak observed before this commit lands

Test

Soak: passive observation N≥3 days. Smoke test on develop tip post-bump.

Parent epic

#11

Source

.planning/architecture/JARVIS-API-MIGRATION-PLAN.md §2.8 (M-7.8) + §9 (lock criteria soak)

## Goal Retire BusOutbound.hudState + sessionHistory cases. Bump BUS_PROTOCOL_VERSION = 2.4.0 (drop 2.3.0 from accepted list). LAST commit in M-7 branch — lands only after N>=3-day soak with dual-channel transport active. ## Scope - Delete `BusOutbound.hudState` case (already migrated to Diagnostics in M-3) - Delete `BusOutbound.sessionHistory` case (already migrated to Turn.listTurns in M-7.6) - `BUS_PROTOCOL_VERSION = "2.4.0"` strict (drops `2.3.0` from accepted set) - Dual-channel transport closes ## Files - `packages/Bus/Sources/Bus/BusOutbound.swift` - `packages/Bus/Sources/Bus/Protocol.swift` - `packages/Bus/Sources/Bus/WebviewBridge.swift` ## Acceptance - [ ] `hudState` + `sessionHistory` cases deleted from `BusOutbound` - [ ] `BUS_PROTOCOL_VERSION = "2.4.0"` strict - [ ] `bash scripts/check-bus-protocol-version.sh` green for `2.4.0` strict - [ ] N≥3 days of soak observed before this commit lands ## Test Soak: passive observation N≥3 days. Smoke test on develop tip post-bump. ## Parent epic #11 ## Source `.planning/architecture/JARVIS-API-MIGRATION-PLAN.md` §2.8 (M-7.8) + §9 (lock criteria soak)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/Jarvis#142