feat(gate): add Engine gate launch check (S2.1)
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Block every app launch behind an Engine gate per wayfinder map #12: discover the user-installed hermes binary via the documented six-path probe (#36), health-check it with acp --check (stdin closed, 5 s per-candidate timeout, exit-status branching), version via acp --version, and record every completed check in Application Support state.json (#39). The gate is a blocking sheet with checking/pass/fail cards (#38/#40), app-scoped so only the first window per launch auto-checks (#41); an About window mirrors the state file read-only. Provisioning (#13) has a stub seam at onEnginePass. 12 unit tests drive the real Process path with fake hermes binaries; build, tests, swiftformat, swiftlint all green. Closes #42 [Generated by AI]
This commit is contained in:
1 parent
232ac9d722
commit
753da2135a
11 files changed
+832
-3
No files matched your search
@@ -17,6 +17,7 @@ Owned by the root AGENTS.md contract.
|
||||
## Work Guidance
|
||||
|
||||
- Non-trivial logic leaves one runnable check behind: the smallest test that fails if the logic breaks. No fixtures or per-function suites unless asked.
|
||||
- `EngineGateTests.swift` builds fake `hermes` shell scripts in temp dirs and runs them through the real `Process` path — copy that pattern for any future child-process testing.
|
||||
|
||||
## Verification
|
||||
|
||||
|
||||
Reference in new issue
Block a user