orca/config/scripts
Neil f311307560
Add max-lines ratchet CI gate to block new line-limit bypasses (#7608)
oxlint already fails any file over max-lines that is not suppressed, so the
only way to grow past the budget is to add an eslint/oxlint-disable max-lines
comment or a per-file max-lines bump in mobile/.oxlintrc.json. This adds a CI
gate that freezes the current set of suppressions (config/max-lines-baseline.txt,
355 grandfathered entries) and fails the build when a NEW one appears — with a
loud, actionable message pointing at 'split the file'. Existing oversized files
are untouched; the baseline may only shrink (pnpm check:max-lines-ratchet --prune).

Wired into the root lint script and as a dedicated pr.yml step. Unit-tested
(15 cases) and verified against all three failure paths + clean-tree pass.

Co-authored-by: Orca <help@stably.ai>
2026-07-06 17:12:27 -07:00
..
styled-scrollbars
windows-apphang-repro Improve Windows terminal performance: retain WebGL contexts, warm first ConPTY (#7085) 2026-07-02 18:41:23 -04:00
audit-localization-coverage.mjs
benchmark-artifact-comparison.test.mjs Reduce git trace and branch compare polling churn (#6002) 2026-06-22 19:13:32 -07:00
bootstrap-locale-catalog.mjs
bootstrap-zh-catalog.mjs
build-computer-macos.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
build-native-for-platform.mjs
build-relay.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
check-feature-wall-assets.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
check-max-lines-ratchet.mjs Add max-lines ratchet CI gate to block new line-limit bypasses (#7608) 2026-07-06 17:12:27 -07:00
check-max-lines-ratchet.test.mjs Add max-lines ratchet CI gate to block new line-limit bypasses (#7608) 2026-07-06 17:12:27 -07:00
check-reliability-gates.mjs cleanup(main): defer serve-sim materialization, dedupe reload flags, guard gate validators (#7321) 2026-07-03 22:32:11 -07:00
check-reliability-gates.test.mjs Harden reliability gate policy and register merged terminal regression tests as gates (#7295) 2026-07-03 19:58:07 -07:00
check-styled-scrollbars.mjs
check-styled-scrollbars.test.mjs
check-terminal-perf-report-budgets.mjs Reduce git trace and branch compare polling churn (#6002) 2026-06-22 19:13:32 -07:00
check-terminal-perf-report-budgets.test.mjs
codemod-settings-search-keywords.mjs
compare-benchmark-artifacts.mjs Reduce git trace and branch compare polling churn (#6002) 2026-06-22 19:13:32 -07:00
computer-e2e-workflow.test.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
computer-use-skill-guidance.test.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
computer-use-smoke.mjs
computer-use-smoke.test.mjs
create-draft-release.mjs fix: bound release notes by published releases (#7311) 2026-07-03 20:53:16 -07:00
create-draft-release.test.mjs fix: bound release notes by published releases (#7311) 2026-07-03 20:53:16 -07:00
dev-fresh-profile.sh
electron-builder-config.test.mjs revert: back out the Windows terminal update-survival chain (#7421→#7499) (#7505) 2026-07-05 22:50:48 -07:00
electron-builder-native-rebuild.cjs
electron-builder-native-rebuild.test.mjs
ensure-native-runtime.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
ensure-native-runtime.test.mjs
file-explorer-tree-projection-benchmark.mjs
hibernation-output-epoch-leak-benchmark.mjs perf(renderer): drop per-tick matchMedia alloc + purge hibernation epoch map (#6696) 2026-06-28 21:16:02 -07:00
idle-cpu-synthetic-spinners.mjs
install-dev-cli.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
install-electron-package-binary.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
install-electron-package-binary.test.mjs
latest-stable-release.mjs
latest-stable-release.test.mjs
lint-react-doctor-changed.mjs
linux-wayland-renderer-diagnostics.mjs fix(linux): disable GPU sandbox to stop terminal input freeze on Wayland (#5319) 2026-06-28 19:43:18 -07:00
linux-wayland-terminal-exercise.mjs fix(linux): disable GPU sandbox to stop terminal input freeze on Wayland (#5319) 2026-06-28 19:43:18 -07:00
linux-wayland-validation-watchdog.mjs fix(linux): disable GPU sandbox to stop terminal input freeze on Wayland (#5319) 2026-06-28 19:43:18 -07:00
locale-cjk-latin-spaced-terms.mjs
locale-cross-locale-key-overrides.mjs
locale-ja-phrase-fixes.mjs
locale-ja-value-overrides.mjs
locale-key-override-merge.mjs
locale-key-overrides.mjs
locale-ko-key-overrides.json fix(pet): stop i18n from corrupting CSS keyframes 2026-07-04 14:43:57 -07:00
locale-ko-key-overrides.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
locale-ko-key-overrides.test.mjs
locale-ko-phrase-fixes-round5.mjs
locale-ko-phrase-fixes.mjs
locale-ko-value-overrides.mjs
locale-phrase-fixes.mjs fix(i18n): correct Spanish "PR" mistranslated as "relaciones públicas" (#6749) 2026-06-29 11:56:26 -07:00
locale-screen-cursor-exemptions.mjs
locale-search-keyword-overrides.mjs
locale-translation-policy-ko-round5.test.mjs
locale-translation-policy.es-pr.test.mjs fix(i18n): correct Spanish "PR" mistranslated as "relaciones públicas" (#6749) 2026-06-29 11:56:26 -07:00
locale-translation-policy.es-round5.test.mjs
locale-translation-policy.ja-round5.test.mjs
locale-translation-policy.mjs fix(i18n): correct Spanish "PR" mistranslated as "relaciones públicas" (#6749) 2026-06-29 11:56:26 -07:00
locale-translation-policy.test.mjs
locale-translation-policy.zh-round5.test.mjs
locale-value-overrides.mjs
locale-zh-phrase-fixes-round5.mjs
locale-zh-value-overrides.mjs
localize-renderer-strings.mjs
macos-launch-diagnostics.sh
marine-creatures-parity.test.mjs
markdown-toc-parse-benchmark.mjs perf(editor): skip markdown TOC parse while the panel is closed (#6695) 2026-06-28 21:19:10 -07:00
mjpeg-frame-parser-alloc-benchmark.mjs perf(emulator): return MJPEG frames as views instead of per-frame copies (#6707) 2026-06-28 23:40:55 -07:00
node-old-space-limit.mjs
node-old-space-limit.test.mjs
orca-cli-skill-guidance.test.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
orca-dev
orca-dev-bin.test.mjs
orca-dev.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
orca-linear-skill-guidance.test.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
orchestration-skill-guidance.test.mjs Clarify Orca orchestration tool boundary and sidebar lineage (#7522) 2026-07-06 00:05:49 -07:00
package-electron-runtime-contract.test.mjs revert: back out the Windows terminal update-survival chain (#7421→#7499) (#7505) 2026-07-05 22:50:48 -07:00
pty-batch-flush-benchmark.mjs
publish-complete-draft-releases.mjs
publish-complete-draft-releases.test.mjs
rebuild-native-deps.mjs
rebuild-native-deps.test.mjs
release-mac-build-workflow-dispatch.test.mjs ci: isolate Blacksmith mac release build (#6962) 2026-06-30 16:36:59 -07:00
release-rc-history.mjs
release-rc-history.test.mjs
repair-locale-catalog.mjs
repro-windows-apphang-terminal-activation.mjs Improve Windows terminal performance: retain WebGL contexts, warm first ConPTY (#7085) 2026-07-02 18:41:23 -04:00
run-electron-vite-build.mjs
run-electron-vite-dev.mjs lint(unicorn): enable prefer-number-properties, prefer-array-find, prefer-array-index-of (#7516) 2026-07-05 23:56:37 -07:00
run-idle-cpu-benchmark.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
run-internal-dev-setup.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
run-internal-dev-setup.test.mjs
run-release-mac-build-workflow.mjs ci: isolate Blacksmith mac release build (#6962) 2026-06-30 16:36:59 -07:00
run-ssh-codex-artifacts-repro-e2e.mjs
run-ssh-docker-perf-e2e.mjs
run-terminal-scale-perf-e2e.mjs
run-terminal-scale-perf-report-gate.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
run-terminal-scale-perf-report-gate.test.mjs
run-vite-web-build.mjs
serve-sim-seen-keys-leak-benchmark.mjs perf(emulator): prune serve-sim dedupe keys on worktree forget (#6708) 2026-06-28 23:41:14 -07:00
smoke-packaged-cli.mjs
summarize-terminal-perf-report.mjs Reduce git trace and branch compare polling churn (#6002) 2026-06-22 19:13:32 -07:00
summarize-terminal-perf-report.test.mjs Reduce git trace and branch compare polling churn (#6002) 2026-06-22 19:13:32 -07:00
terminal-e2e-helpers.mjs chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
terminal-perf-report-annotations.mjs Reduce git trace and branch compare polling churn (#6002) 2026-06-22 19:13:32 -07:00
terminal-perf-report-annotations.test.mjs Reduce git trace and branch compare polling churn (#6002) 2026-06-22 19:13:32 -07:00
trim-windows-icon-source.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
trim-windows-icon-source.test.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
vendor-feature-wall-assets.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
verify-cli-bin.mjs fix: pin CLI build output to CommonJS (#6656) 2026-06-28 22:58:27 -07:00
verify-cli-bin.test.mjs fix: pin CLI build output to CommonJS (#6656) 2026-06-28 22:58:27 -07:00
verify-computer-native.mjs
verify-linux-wayland-gpu-sandbox.mjs fix(linux): disable GPU sandbox to stop terminal input freeze on Wayland (#5319) 2026-06-28 19:43:18 -07:00
verify-localization-catalog.mjs
verify-localization-catalog.test.mjs
verify-macos-entitlements.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
verify-macos-release-env.mjs
verify-release-required-assets.mjs lint(unicorn): enable prefer-number-properties, prefer-array-find, prefer-array-index-of (#7516) 2026-07-05 23:56:37 -07:00
verify-release-required-assets.test.mjs
verify-telemetry-constants.mjs chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
verify-web-build.mjs chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
verify-windows-inner-signature.mjs Fix Windows inner signature PowerShell path (#7136) 2026-07-02 12:11:58 -07:00
verify-windows-inner-signature.test.mjs Fix Windows inner signature PowerShell path (#7136) 2026-07-02 12:11:58 -07:00
wrap-localized-search-exports.mjs