M-0: Promote check-install-order.sh to behavioral probe (R-001) #96

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

Goal

Promote check-install-order.sh from grep-only to a behavioral test that boots harness and asserts log-line ordering with timing assertions. Mitigates R-001.

Scope

  • Harness probe boots a minimal JarvisHost; asserts install DAG log-line ordering
  • Timing assertions (e.g., audio install precedes voice register)
  • Grep gate retained

Files

  • scripts/check-install-order.sh (rewrite)
  • packages/Harness/Sources/Harness/Probes/InstallOrderProbe.swift (new)

Acceptance

  • Behavioral probe green on current develop
  • Probe fails when ordering is shuffled (negative test)
  • Existing grep gate still green

Test

Negative test: reorder install calls → probe fails. Positive: canonical order → green.

Parent epic

#4

Source

.planning/architecture/JARVIS-API-MIGRATION-PLAN.md §2.1 (M-0.7)
.planning/architecture/REVIEW-MIGRATION-RISK.md R-001

## Goal Promote check-install-order.sh from grep-only to a behavioral test that boots harness and asserts log-line ordering with timing assertions. Mitigates R-001. ## Scope - Harness probe boots a minimal JarvisHost; asserts install DAG log-line ordering - Timing assertions (e.g., audio install precedes voice register) - Grep gate retained ## Files - `scripts/check-install-order.sh` (rewrite) - `packages/Harness/Sources/Harness/Probes/InstallOrderProbe.swift` (new) ## Acceptance - [ ] Behavioral probe green on current develop - [ ] Probe fails when ordering is shuffled (negative test) - [ ] Existing grep gate still green ## Test Negative test: reorder install calls → probe fails. Positive: canonical order → green. ## Parent epic #4 ## Source `.planning/architecture/JARVIS-API-MIGRATION-PLAN.md` §2.1 (M-0.7) `.planning/architecture/REVIEW-MIGRATION-RISK.md` R-001
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/Jarvis#96