Files
Jarvis/scripts
james.maesandClaude Opus 4.7 b7255c57a7 test(03-05): end-to-end smoke script scripts/smoke-test-hud.sh
Post-build smoke (invoke after `xcodebuild build`) verifies the built
Jarvis.app has:
  * Contents/Resources/webview/ directory present (blue-folder wiring OK)
  * index.html present (scripts/build-webview.sh rsync OK)
  * assets/ subdirectory with >=1 *.js chunk (Vite build OK)
  * index.html references ./assets/ relative paths (Vite base: './')
  * index.html does NOT reference absolute /assets/ src|href paths
  * bus-harness.html still present (02-04 parity script invariant preserved)

Covers the gap left by the Xcode 26 `xcodebuild test` RunningBoard blocker
(.planning/debug/xctest-launch-runningboard-error-5.md). XCTest-level
assertions are structural (read repo tree); this script asserts the
BUILT .app shape, which is what the user's cold-launch actually sees.

Runs green against the Debug build produced by Task 1.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-24 15:54:53 -05:00
..