mirror of
https://github.com/stablyai/orca.git
synced 2026-10-27 08:02:51 +00:00
* test: keep structured chat free of Electron imports
* test: widen runtime Electron ratchet to structured chat
* test: check whole structured-chat directories for Electron imports
Cover src/main/{native-chat,claude,codex}, src/shared and every structured-*
or agent-session-* file under src/main/runtime, so new files are checked by
default. A lane that exists today now fails loudly if it goes missing; only
the not-yet-landed acp/ and provider-process/ may be absent.
Move the test-only file rule into one classifier shared with the
localization audit, so -test-<thing> helpers and test doubles no longer
enter the production gate.
* test: run the Electron-import CLI path in tests and retire may-be-absent lanes
Export main() so the real-tree tests exercise the entry list CI uses,
check every required lane for the missing-directory error, and fail once
acp/ or provider-process/ exists while still allowed to be absent.
7 lines
400 B
Plaintext
7 lines
400 B
Plaintext
# Modules reachable from the Orca runtime or structured-chat code that import `electron`.
|
|
# Generated by config/scripts/check-runtime-electron-ratchet.mjs.
|
|
# This list is EMPTY and must stay that way: both run in orcad, the headless runtime,
|
|
# on plain Node (see `pnpm run build:orcad`). Any entry means that code got less portable;
|
|
# migrate the module behind a host port instead (src/main/host/).
|
|
|