Skip to content

Harden reliability gate policy and register merged terminal regression tests as gates - #7295

Merged
brennanb2025 merged 3 commits into
mainfrom
brennanb2025/reliability-gates-v2
Jul 4, 2026
Merged

brennanb2025 merged 3 commits into
mainfrom
brennanb2025/reliability-gates-v2

Conversation

@brennanb2025

Copy link
Copy Markdown
Contributor

Follow-up to #7001. No product code changes — checker policy, manifest, and plan doc only.

What this does

  1. Hardens the manifest checker: gates must declare protection: none | partial | active; command-backed gates need passed evidence runs whose command exactly matches; none gates cannot borrow credibility from evidence or assertion refs; declared test files must exist and be referenced by a command; covered platforms/providers must stay inside the declared risk scope; title selectors (--grep/-t) are banned in gate commands.
  2. Registers the merged terminal-regression tests as gate evidence. The stale-terminal-frame saga produced red-proven tests that were sitting on main unregistered. They now carry gates: Fix stale terminal frames on worktree return: clear alt screen on snapshot restore + WebGL reveal hardening #7133/Fix Codex pane output tearing after app occlusion #7173 restore + hidden-output ordering (terminal-output.scrollback-restore), Match main terminal mirror character widths to the renderer #7148 unicode width parity (terminal-mirror.parser-parity), Keep runtime mirror sized with desktop terminal resizes #7192 runtime-mirror geometry + reflow ordering (terminal-geometry.visible-convergence).
  3. Makes every coverage claim true on main. 9 gates are partial with fresh evidence runs from a clean checkout of main@1282f5c2d (1,470 tests, all passing, every command in single-digit seconds). 18 gates are honest registered gaps — including demotions for claims whose tests/hardening exist only on the pending fix-terminal-reliability stack (daemon batcher contracts, no-hot-listing counts, SSH unknown-liveness, degraded-daemon fail-closed, replay FIFO, hydration counters, live PTY E2E, lifecycle breadcrumbs).

Reliability proof

Made with Orca 🐋

brennanb2025 and others added 2 commits July 3, 2026 19:34
…n gates

Checker now enforces protection levels, evidence-run/assertion-ref coupling, covered-scope subsets, and command hygiene. Manifest v2 keeps partial protection only for gates whose tests exist on main (9 gates, fresh local evidence runs) and demotes branch-dependent claims to registered gaps (18). Registers #7133/#7173 restore ordering, #7148 mirror width parity, and #7192 mirror geometry as gate evidence.

Co-authored-by: Orca <[email protected]>
@coderabbitai

coderabbitai Bot commented Jul 4, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@brennanb2025, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 10 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: dba1fe8d-231f-410f-b0e2-de71b2241595

📥 Commits

Reviewing files that changed from the base of the PR and between b099e27 and b38d962.

📒 Files selected for processing (5)
  • .github/workflows/pr.yml
  • config/reliability-gates.jsonc
  • config/scripts/check-reliability-gates.mjs
  • config/scripts/check-reliability-gates.test.mjs
  • docs/reference/reliability-gates-implementation-plan.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@brennanb2025
brennanb2025 merged commit 5b5ce6c into main Jul 4, 2026
1 check passed
nwparker added a commit that referenced this pull request Jul 4, 2026
…guard gate validators (#7321)

Quality pass on main-process/build PRs merged 2026-07-03:

- ios-emulator-backend: resolve the serve-sim executable via a lazily-cached getter
  instead of eagerly in the constructor. The bridge is built before the main window
  is shown, so the one-time recursive copy + xattr subprocess (first launch after each
  version bump) no longer blocks macOS startup for a feature that may go unused (#7174).
- index: collapse the two near-identical `{webContentsId, until}` reload flags
  (expectedRendererReload / recoveryReloadInFlight) into one `createWebContentsTimedFlag`
  primitive; behavior preserved, including consume-on-read for the recovery reload (#7290).
- check-reliability-gates: coerce gate.commands/testFiles/platforms/providers with an
  `asArray` helper before `.includes`, so a hand-edited manifest with a missing/mistyped
  field reports a validation failure instead of throwing an uncaught TypeError; extract
  `hasCompleteRedGreenEvidence` for the duplicated status check (#7295).
- claude-pty: derive FABLE_WEEKLY_LABEL_RE from WEEKLY_RE.source so a future weekly-
  wording change stays in one place and can't reopen the parsing gap it just closed.
- macos-tcc-login-shell: trim the 30-line flag-by-flag JSDoc to the two non-obvious whys
  (TCC identity, env(1) SHELL re-assertion) per the repo comment guidance (#7003).

Typecheck, oxlint, oxfmt, `check:reliability-gates`, and touched unit suites all pass.
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…guard gate validators (stablyai#7321)

Quality pass on main-process/build PRs merged 2026-07-03:

- ios-emulator-backend: resolve the serve-sim executable via a lazily-cached getter
  instead of eagerly in the constructor. The bridge is built before the main window
  is shown, so the one-time recursive copy + xattr subprocess (first launch after each
  version bump) no longer blocks macOS startup for a feature that may go unused (stablyai#7174).
- index: collapse the two near-identical `{webContentsId, until}` reload flags
  (expectedRendererReload / recoveryReloadInFlight) into one `createWebContentsTimedFlag`
  primitive; behavior preserved, including consume-on-read for the recovery reload (stablyai#7290).
- check-reliability-gates: coerce gate.commands/testFiles/platforms/providers with an
  `asArray` helper before `.includes`, so a hand-edited manifest with a missing/mistyped
  field reports a validation failure instead of throwing an uncaught TypeError; extract
  `hasCompleteRedGreenEvidence` for the duplicated status check (stablyai#7295).
- claude-pty: derive FABLE_WEEKLY_LABEL_RE from WEEKLY_RE.source so a future weekly-
  wording change stays in one place and can't reopen the parsing gap it just closed.
- macos-tcc-login-shell: trim the 30-line flag-by-flag JSDoc to the two non-obvious whys
  (TCC identity, env(1) SHELL re-assertion) per the repo comment guidance (stablyai#7003).

Typecheck, oxlint, oxfmt, `check:reliability-gates`, and touched unit suites all pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant