Skip to content

test(tests): skip two suites cleanly when the machine cannot support the check - #86

Merged
EvanAgee merged 7 commits into
mainfrom
fm/fm-two-red-test-suites-v2
Sep 1, 2026
Merged

EvanAgee merged 7 commits into
mainfrom
fm/fm-two-red-test-suites-v2

Conversation

@EvanAgee

@EvanAgee EvanAgee commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Intent

Fix two test suites that fail on clean main for environment reasons, making every change look broken. This is firstmate's own repo, so firstmate-coding-guidelines applies.

Verified against clean origin/main with zero changes: tests/fm-calm-pi-extension.test.sh failed ONLY at 'could not render calm-mode HTML export DOM' (it needs a browser/DOM this machine lacks; every other assertion passed). tests/fm-omp-detection.test.sh failed at 'no markers should detect unknown, got: claude' because the machine's environment reports claude. Neither is broken product code.

Requirement: make each suite skip cleanly with an explicit printed skip reason when the environment cannot support the assertion, OR fix the detection so the assertion is environment-independent, whichever is the honest fix per suite. Do NOT weaken what the suites prove on machines that CAN run them.

Acceptance: both suites green (or explicitly, loudly skipped) on a machine without the browser DOM and with an ambient claude marker; still fully assertive where the environment supports them; bin/fm-lint.sh clean.

Accepted decisions made during this work, all authorized by the captain:

  1. Three review findings were authorized as fixes because each aligns the code with the stated intent (no product-contract change): (F1, omp) confirm a harness is genuinely in the process ancestry AND the detector command actually ran before skipping, instead of treating any non-unknown result as ambient; (F2, calm) render a minimal control page first and skip if that fails, then require the heavy export render to succeed; (F3, calm) treat a missing Chrome as an unavailable DOM capability that skips only the DOM assertion and lets the rest of the suite continue, rather than failing the whole suite.
  2. Review looped three rounds on the omp ancestry witness because the witness was re-implementing all of detect_own's precedence, which is fragile duplication and violates the one-owner rule. The captain chose FIX AT ROOT with a simpler seam: the witness proves only 'some harness process is in my ancestry' so the no-harness premise is false. It matches the same command NAMES and script-path patterns as detect_own's layer-2 walk (claude/codex/opencode/grok/kimi/pi/omp/muse names, node/python running a harness script path, cursor via fm_cursor argv0, and a bare bun/omp process), treating mere presence as sufficient, and deliberately NOT replicating OMP's strict launch-validity identity probes. Presence-only matching is the intended design, not an oversight.
  3. A pre-existing flaky assertion in tests/fm-calm-pi-extension.test.sh ('second /calm did not restore current operational kind CURRENT_LAUNCH_BRIEF_E2E') was folded into this task by explicit captain decision. It reads a live tmux pane and the last of five operational rows could still be scrolling in when the snapshot was taken. The branch did not introduce it; the base commit never reaches that line because it dies earlier at the DOM render step this task fixes. The authorized scope is narrow: make that one restore assertion wait for its row like its siblings already do, nothing broader.

Branch note: this work was previously on fm/fm-two-red-test-suites. A prior run went terminal with its commits preserved only in the gate repo, so the recovered lineage now lives on fm/fm-two-red-test-suites-v2. That rename is intentional and should be noted in the PR body.

Verified locally on this branch before this run: both suites pass, the calm suite passes 3 out of 3 consecutive runs (the folded flake fix holds), and bin/fm-lint.sh is clean.

What Changed

  • tests/fm-calm-pi-extension.test.sh now renders a tiny control page in headless Chrome before the real export. No browser, or a browser that cannot render the control page, prints a loud skip for that one DOM check and lets the rest of the end-to-end test run. If the control page does render, a failed export render still fails the suite. The shared render_dom helper holds the render-and-wait logic, and the "second /calm restored" loop now waits for each operational row instead of reading one snapshot for all five.
  • tests/fm-omp-detection.test.sh adds ambient_harness_in_ancestry, a second witness that walks this run's own parent processes and matches the same harness names and script paths as bin/fm-harness.sh detect_own. The no-marker "unknown" check skips only when the detector exits clean and that witness finds a real harness process, so a broken detector on clean CI still fails. The crew-resolution test now points FM_CONFIG_OVERRIDE at an empty config dir so a developer's real crew file cannot change the result.
  • bin/fm-harness.sh moved its private omp_launch_argv_shape into bin/fm-omp-process-lib.sh as fm_omp_launch_argv_shape, so every OMP ancestry probe reads one copy of the argv-shape rule. CONTRIBUTING.md and docs/scripts.md record the skip rule and the new helper.

Branch note: this work started on fm/fm-two-red-test-suites. That run went terminal with its commits kept only in the gate repo, so the recovered history now lives on fm/fm-two-red-test-suites-v2. The rename is intentional.

Risk Assessment

✅ Low: The change is confined to two test suites plus a pure code move of an existing function into its shared library, every new skip path is gated on independent evidence so it cannot mask a real regression, and the assertions stay fully enforced on machines that can run them.

Testing

This machine happens to reproduce both environment problems the intent describes, so it was a good place to validate. The omp suite fails on the base commit exactly as reported (got: claude) and passes on the branch with a loud skip; running it detached from the claude ancestor proves it stays fully assertive with no skip on a clean ancestry, and a deliberately regressed layer-2 detector still fails there, so real bugs on CI are not masked. The calm suite skips only the rendered-export DOM assertion here (the machine's chromium is a broken stub pointing at an uninstalled app) while the rest of the E2E runs; pointing FM_CHROME_BIN at the real Chrome that does exist forced the assertive path, giving 3 of 3 green runs with zero skip lines, and mutation-testing the DOM checker against four broken exports confirmed the assertion still catches every Calm boundary violation. The folded flake fix now matches its sibling assertions and held across all three consecutive assertive runs. I did not run bin/fm-lint.sh since linters are out of scope for this phase, and the worktree was left clean.

Evidence: Evidence summary (machine facts, both suites, skip-is-not-a-pass proof)

Source: Evidence summary (machine facts, both suites, skip-is-not-a-pass proof)

# Test evidence: two red suites now honest about environment

## Machine facts (why the suites were red)
- Ancestry of a test run here: `zsh` <- `claude` <- `no-mistakes`. A real
  `claude` process IS in the ancestry, so the no-marker walk cannot bottom out
  at `unknown`.
- `chromium` on PATH is a broken stub: it execs
  `/Applications/Chromium.app/Contents/MacOS/Chromium`, which is not installed.
  So a browser is "found" but cannot render anything.

## 1. omp detection suite

Base commit f72f767a, this machine -> FAILS (reproduces the reported bug):

    not ok - no markers should detect unknown, got: claude (missing: 'unknown')

Branch, same machine -> passes with a loud skip:

    skip: ambient harness (claude) confirmed in this run's process ancestry;
    the no-marker walk cannot bottom out at unknown here

\### The skip is not a blanket pass
Run detached from the claude ancestor (ancestry is just `bash`, no harness):
- branch suite -> passes, prints NO skip line, fully assertive.
- branch suite pointed at a detector whose layer-2 ancestry walk is regressed
  (always answers `claude` instead of walking) -> FAILS:

      not ok - no markers should detect unknown, got: claude (missing: 'unknown')

So a genuine detector regression on clean CI still fails. The skip only fires
when a harness really is in the ancestry.

## 2. calm Pi extension suite

Branch, this machine (broken chromium stub) -> passes, DOM assertion skipped
loudly, every other test still runs:

    skip: headless Chrome cannot render even a minimal control page in this
    environment; the rendered-export DOM assertion requires a working
    display/GPU, the rest of the E2E still runs

\### Still fully assertive where the browser works
Real Chrome exists at /Applications/Google Chrome.app and renders the control
page fine. Re-run with FM_CHROME_BIN pointed at it:
- 3 consecutive runs, all exit 0.
- ZERO skip lines. The rendered-export DOM assertion actually executed each time.

\### The DOM assertion still bites
Fed the suite's real DOM checker some deliberately broken exports:
- valid DOM                      -> exit 0
- hook-message leaked into chat  -> exit 1
- missing operational row        -> exit 1
- synthetic input leaked         -> exit 1

## 3. Folded flake fix
The restore assertion now uses `wait_for_text`, which re-captures the tmux pane
each poll, matching its two siblings a few lines above. 3 of 3 consecutive
assertive runs green, no flake.
Evidence: omp suite on base commit f72f767 — reproduces the reported failure

Source: omp suite on base commit f72f767a — reproduces the reported failure

not ok - no markers should detect unknown, got: claude (missing: 'unknown') --- output --- claude

not ok - no markers should detect unknown, got: claude (missing: 'unknown')
--- output ---
claude
Evidence: omp suite on branch — green with an explicit, loud skip

Source: omp suite on branch — green with an explicit, loud skip

skip: ambient harness (claude) confirmed in this run's process ancestry; the no-marker walk cannot bottom out at unknown here

skip: ambient harness (claude) confirmed in this run's process ancestry; the no-marker walk cannot bottom out at unknown here
Evidence: omp suite detached from the claude ancestor — passes with no skip, fully assertive

Source: omp suite detached from the claude ancestor — passes with no skip, fully assertive

(empty output, exit 0 — the suite is silent on pass; ancestry there was a bare `bash` with no harness)
Evidence: Skip does not mask a regression: regressed layer-2 detector in a clean ancestry still fails
=== detached ancestry (no harness expected) ===
1: pid=11869 comm=bash
=== regressed detector, detached: EXIT=1 ===
not ok - no markers should detect unknown, got: claude (missing: 'unknown')
--- output ---
claude
Evidence: calm suite on this machine — only the DOM assertion skips, rest of E2E runs

Source: calm suite on this machine — only the DOM assertion skips, rest of E2E runs

skip: headless Chrome cannot render even a minimal control page in this environment; the rendered-export DOM assertion requires a working display/GPU, the rest of the E2E still runs ok - Pi calm native E2E replaces the stock working row with a moving, resize-clamped working ship ... and preserves export plus Ctrl+O behavior

ok - Pi calm resolves its persistent home independently of Pi's launch directory
ok - Pi calm compatibility evidence never rejects a Pi version for being newer than 0.82.0, and still fails closed on a missing or malformed version
ok - a missing collapsed-thinking presentation API degrades only that Calm adapter with a clear skip reason, while the rest of Calm still registers
ok - missing Pi presentation class exports reach the independent adapter degradation path
ok - Calm registers none of its 7 built-in tool wrappers at load while config/calm is off, and all 7 synchronously at load while config/calm is on
ok - Calm's first same-session /calm activation claims every uncontested built-in, leaves a foreign bash tool fully intact and callable, warns prominently and logs the contested name, and only rows constructed before that activation - the documented bound - fail to retroactively collapse
ok - Pi calm centralizes transcript visibility, preserves execution/export data, keeps Pi's stock working row visible while no run is active, and persists its choice across session starts
ok - Pi calm on collapses mid-turn assistant working notes to zero height while Calm off keeps them, leaves streaming, truncated-final, and genuine final replies untouched, never mutates the messages, ignores every /calm argument, and restores a legacy persisted max as ordinary Calm on
ok - Pi operational follow-up E2E processes exact user-role notifications once while Calm hides current and adjacent rows, Calm off and absent render them, and restart preserves semantics
ok - Pi Calm native /skill:ahoy geometry keeps every collapsed thinking and tool block at zero height while preserving expansion, history, restart, and Calm-off rendering
ok - Pi Calm working ship moves on a slow independent cadence over faster fixed-cell blue water, paints the complete boat standard yellow with balanced resets, keeps ANSI-stripped width exact, flips the directional sail on the exact bounce at both edges and every width, clamps visible and hidden resizes, falls back deterministically when narrow, freezes and resumes column/direction across settle/start without hidden-time jumps or duplicate timers, resets only on a fresh session, and installs and removes one scheduler-owning widget across starts, settle, abort, failure, shutdown, reload, replacement, and Calm toggles while leaving Calm-off visibility untouched
skip: headless Chrome cannot render even a minimal control page in this environment; the rendered-export DOM assertion requires a working display/GPU, the rest of the E2E still runs
ok - Pi calm native E2E replaces the stock working row with a moving, resize-clamped working ship that freezes and resumes across two working periods in one Pi session, clears on abort, keeps captain turns visible, hides exact operational user rows without changing persistence, restores stock rendering Calm-off, survives restart, and preserves export plus Ctrl+O behavior
Evidence: calm suite with real Chrome — assertive run 1 of 3, zero skips (DOM assertion enforced)

Source: calm suite with real Chrome — assertive run 1 of 3, zero skips (DOM assertion enforced)

ok - Pi calm resolves its persistent home independently of Pi's launch directory
ok - Pi calm compatibility evidence never rejects a Pi version for being newer than 0.82.0, and still fails closed on a missing or malformed version
ok - a missing collapsed-thinking presentation API degrades only that Calm adapter with a clear skip reason, while the rest of Calm still registers
ok - missing Pi presentation class exports reach the independent adapter degradation path
ok - Calm registers none of its 7 built-in tool wrappers at load while config/calm is off, and all 7 synchronously at load while config/calm is on
ok - Calm's first same-session /calm activation claims every uncontested built-in, leaves a foreign bash tool fully intact and callable, warns prominently and logs the contested name, and only rows constructed before that activation - the documented bound - fail to retroactively collapse
ok - Pi calm centralizes transcript visibility, preserves execution/export data, keeps Pi's stock working row visible while no run is active, and persists its choice across session starts
ok - Pi calm on collapses mid-turn assistant working notes to zero height while Calm off keeps them, leaves streaming, truncated-final, and genuine final replies untouched, never mutates the messages, ignores every /calm argument, and restores a legacy persisted max as ordinary Calm on
ok - Pi operational follow-up E2E processes exact user-role notifications once while Calm hides current and adjacent rows, Calm off and absent render them, and restart preserves semantics
ok - Pi Calm native /skill:ahoy geometry keeps every collapsed thinking and tool block at zero height while preserving expansion, history, restart, and Calm-off rendering
ok - Pi Calm working ship moves on a slow independent cadence over faster fixed-cell blue water, paints the complete boat standard yellow with balanced resets, keeps ANSI-stripped width exact, flips the directional sail on the exact bounce at both edges and every width, clamps visible and hidden resizes, falls back deterministically when narrow, freezes and resumes column/direction across settle/start without hidden-time jumps or duplicate timers, resets only on a fresh session, and installs and removes one scheduler-owning widget across starts, settle, abort, failure, shutdown, reload, replacement, and Calm toggles while leaving Calm-off visibility untouched
ok - Pi calm native E2E replaces the stock working row with a moving, resize-clamped working ship that freezes and resumes across two working periods in one Pi session, clears on abort, keeps captain turns visible, hides exact operational user rows without changing persistence, restores stock rendering Calm-off, survives restart, and preserves export plus Ctrl+O behavior
Evidence: calm suite with real Chrome — assertive run 2 of 3

Source: calm suite with real Chrome — assertive run 2 of 3

ok - Pi calm resolves its persistent home independently of Pi's launch directory
ok - Pi calm compatibility evidence never rejects a Pi version for being newer than 0.82.0, and still fails closed on a missing or malformed version
ok - a missing collapsed-thinking presentation API degrades only that Calm adapter with a clear skip reason, while the rest of Calm still registers
ok - missing Pi presentation class exports reach the independent adapter degradation path
ok - Calm registers none of its 7 built-in tool wrappers at load while config/calm is off, and all 7 synchronously at load while config/calm is on
ok - Calm's first same-session /calm activation claims every uncontested built-in, leaves a foreign bash tool fully intact and callable, warns prominently and logs the contested name, and only rows constructed before that activation - the documented bound - fail to retroactively collapse
ok - Pi calm centralizes transcript visibility, preserves execution/export data, keeps Pi's stock working row visible while no run is active, and persists its choice across session starts
ok - Pi calm on collapses mid-turn assistant working notes to zero height while Calm off keeps them, leaves streaming, truncated-final, and genuine final replies untouched, never mutates the messages, ignores every /calm argument, and restores a legacy persisted max as ordinary Calm on
ok - Pi operational follow-up E2E processes exact user-role notifications once while Calm hides current and adjacent rows, Calm off and absent render them, and restart preserves semantics
ok - Pi Calm native /skill:ahoy geometry keeps every collapsed thinking and tool block at zero height while preserving expansion, history, restart, and Calm-off rendering
ok - Pi Calm working ship moves on a slow independent cadence over faster fixed-cell blue water, paints the complete boat standard yellow with balanced resets, keeps ANSI-stripped width exact, flips the directional sail on the exact bounce at both edges and every width, clamps visible and hidden resizes, falls back deterministically when narrow, freezes and resumes column/direction across settle/start without hidden-time jumps or duplicate timers, resets only on a fresh session, and installs and removes one scheduler-owning widget across starts, settle, abort, failure, shutdown, reload, replacement, and Calm toggles while leaving Calm-off visibility untouched
ok - Pi calm native E2E replaces the stock working row with a moving, resize-clamped working ship that freezes and resumes across two working periods in one Pi session, clears on abort, keeps captain turns visible, hides exact operational user rows without changing persistence, restores stock rendering Calm-off, survives restart, and preserves export plus Ctrl+O behavior
Evidence: calm suite with real Chrome — assertive run 3 of 3 (folded flake fix holds)

Source: calm suite with real Chrome — assertive run 3 of 3 (folded flake fix holds)

ok - Pi calm resolves its persistent home independently of Pi's launch directory
ok - Pi calm compatibility evidence never rejects a Pi version for being newer than 0.82.0, and still fails closed on a missing or malformed version
ok - a missing collapsed-thinking presentation API degrades only that Calm adapter with a clear skip reason, while the rest of Calm still registers
ok - missing Pi presentation class exports reach the independent adapter degradation path
ok - Calm registers none of its 7 built-in tool wrappers at load while config/calm is off, and all 7 synchronously at load while config/calm is on
ok - Calm's first same-session /calm activation claims every uncontested built-in, leaves a foreign bash tool fully intact and callable, warns prominently and logs the contested name, and only rows constructed before that activation - the documented bound - fail to retroactively collapse
ok - Pi calm centralizes transcript visibility, preserves execution/export data, keeps Pi's stock working row visible while no run is active, and persists its choice across session starts
ok - Pi calm on collapses mid-turn assistant working notes to zero height while Calm off keeps them, leaves streaming, truncated-final, and genuine final replies untouched, never mutates the messages, ignores every /calm argument, and restores a legacy persisted max as ordinary Calm on
ok - Pi operational follow-up E2E processes exact user-role notifications once while Calm hides current and adjacent rows, Calm off and absent render them, and restart preserves semantics
ok - Pi Calm native /skill:ahoy geometry keeps every collapsed thinking and tool block at zero height while preserving expansion, history, restart, and Calm-off rendering
ok - Pi Calm working ship moves on a slow independent cadence over faster fixed-cell blue water, paints the complete boat standard yellow with balanced resets, keeps ANSI-stripped width exact, flips the directional sail on the exact bounce at both edges and every width, clamps visible and hidden resizes, falls back deterministically when narrow, freezes and resumes column/direction across settle/start without hidden-time jumps or duplicate timers, resets only on a fresh session, and installs and removes one scheduler-owning widget across starts, settle, abort, failure, shutdown, reload, replacement, and Calm toggles while leaving Calm-off visibility untouched
ok - Pi calm native E2E replaces the stock working row with a moving, resize-clamped working ship that freezes and resumes across two working periods in one Pi session, clears on abort, keeps captain turns visible, hides exact operational user rows without changing persistence, restores stock rendering Calm-off, survives restart, and preserves export plus Ctrl+O behavior
Evidence: Rendered-export DOM assertion still bites (mutation test of the suite's own checker)
good DOM -> exit=0 (expect 0)
hook-message leak -> exit=1 (expect 1)
missing operational -> exit=1 (expect 1)
synthetic input leak -> exit=1 (expect 1)
Evidence: Root cause of the unrenderable browser on this machine
/opt/homebrew/bin/chromium: line 2: /Applications/Chromium.app/Contents/MacOS/Chromium: No such file or directory
/opt/homebrew/bin/chromium: line 2: exec: /Applications/Chromium.app/Contents/MacOS/Chromium: cannot execute: No such file or directory

(a real Chrome DOES exist at /Applications/Google Chrome.app and renders the control page fine, which is how the assertive runs were forced)

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

✅ **Test** - passed

✅ No issues found.

  • bash tests/fm-omp-detection.test.sh on the branch — exit 0, prints skip: ambient harness (claude) confirmed in this run&#39;s process ancestry
  • Base-commit reproduction: ran git show f72f767a:tests/fm-omp-detection.test.sh as a temp copy — exit 1, not ok - no markers should detect unknown, got: claude (missing: &#39;unknown&#39;)
  • Printed the live process ancestry of a test run to confirm a genuine claude process is present (zsh <- claude <- no-mistakes), so the skip is honest here
  • Clean-ancestry control: ran the branch omp suite double-forked/detached (ancestry reduced to bare bash) — exit 0 with NO skip line, i.e. fully assertive
  • Regression guard: ran the branch omp suite in that detached clean ancestry against a stub detector matching real detect_own precedence but with layer 2 regressed to always echo claude — correctly FAILED with not ok - no markers should detect unknown, got: claude
  • bash tests/fm-calm-pi-extension.test.sh — exit 0, DOM assertion skipped loudly via the control-page probe, all other tests still ran
  • Isolated the control-page probe by reimplementing render_dom against $(command -v chromium) — control page failed to render, taking the skip path
  • Captured chromium's stderr to identify the root cause: /opt/homebrew/bin/chromium execs a missing /Applications/Chromium.app/Contents/MacOS/Chromium
  • Verified real Chrome renders the control page: render_dom &#34;/Applications/Google Chrome.app/Contents/MacOS/Google Chrome&#34; returned the expected CALM_CHROME_CONTROL DOM
  • FM_CHROME_BIN=&#34;/Applications/Google Chrome.app/Contents/MacOS/Google Chrome&#34; bash tests/fm-calm-pi-extension.test.sh — 3 consecutive runs, all exit 0, all with zero skip: lines (DOM assertion genuinely enforced)
  • Mutation-tested the suite's extracted DOM checker (lines 3592-3603): valid DOM -> exit 0; leaked hook-message -> exit 1; missing CURRENT_LAUNCH_BRIEF_E2E -> exit 1; leaked [firstmate-synthetic-input] -> exit 1
  • Inspected wait_for_text and confirmed it re-captures the tmux pane each poll, and that the changed restore assertion now matches its siblings at tests/fm-calm-pi-extension.test.sh:3640 and :3642
  • git status --porcelain --untracked-files=all — clean after removing all transient probe artifacts
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

…easons

The omp-detection and calm-pi-extension suites each carried one assertion whose
verdict came from the machine, not the code, so any change looked broken when run
locally.

fm-omp-detection: the no-marker case reads the live process ancestry, which finds
the harness a developer runs the suite from (claude, pi); it now skips that one
assertion loudly when an ambient harness is in the chain and still asserts unknown
on a clean ancestry (CI). The crew-resolution case read whatever config the ambient
FM_HOME happened to carry; it now points config lookup at an empty dir so no crew
config is a fact of the test.

fm-calm-pi-extension: the rendered-export DOM check needs headless Chrome to finish
a heavy interactive page, which stalls on a machine with no usable display or GPU. It
now probes a minimal control page first: if even that cannot render, it skips only the
DOM assertion loudly and the rest of the test still runs; if the control renders but
the export does not, that is a real regression and still fails.

Both suites stay fully assertive where the environment supports them (CI runs the
no-marker and crew assertions in full and skips the pi/tmux E2E before the DOM check).
Address three review findings that the skips did not match the intent:

- omp no-marker test: skip only on independent evidence, not any non-unknown
  result. Require the detector command to have succeeded and a separate ancestry
  walk to confirm a harness process, so a real detector regression on clean CI
  still fails instead of passing as a skip.
- calm DOM assertion: render a minimal control page first, before the heavy
  export, so a stalled export render cannot poison the capability decision. Skip
  only when the control fails; once it renders, the export must render too.
- calm DOM assertion: a missing browser is an unavailable DOM capability that
  skips only that one assertion and lets the rest of the end-to-end test run,
  rather than failing the whole suite.
@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 32 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 7e6be418-da5c-4236-94e6-b43046466c75

📥 Commits

Reviewing files that changed from the base of the PR and between 88c5c6b and ef53971.

📒 Files selected for processing (6)
  • CONTRIBUTING.md
  • bin/fm-harness.sh
  • bin/fm-omp-process-lib.sh
  • docs/scripts.md
  • tests/fm-calm-pi-extension.test.sh
  • tests/fm-omp-detection.test.sh

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.

@EvanAgee EvanAgee added the agent-pr-watched An agent merge watch is armed on this PR label Sep 1, 2026
@EvanAgee
EvanAgee merged commit 78a2594 into main Sep 1, 2026
19 checks passed
EvanAgee added a commit that referenced this pull request Sep 21, 2026
…ender it

The calm interactive E2E failed hard whenever the installed Chrome or Chromium
could not render, which is not a Pi regression. On this Mac `find_chrome` returns
the Homebrew `chromium` wrapper, whose target is absent, so every render attempt
exited 126 and the whole suite failed for an environment reason.

The DOM assertion now renders a minimal control page first. A browser that cannot
render the control skips only that one assertion loudly and the rest of the E2E
still runs; once the control renders, the real export must render too, so a slow
or broken export is still a genuine failure.

This re-implements the calm-export half of the fork's commit 78a2594 (#86). The
other half of that commit moves OMP launch-shape evidence into
bin/fm-omp-process-lib.sh and rewrites tests/fm-omp-detection.test.sh; neither the
library nor that test exists on the root, whose native OMP ancestry probe lives
in bin/fm-harness.sh, so nothing there applies.

Refs #86
EvanAgee added a commit that referenced this pull request Sep 21, 2026
…ct map, and handover

Seed docs/specs/upstream-rebase.md from the fork's main, because the spec did not
exist on c/main, then add the sections this ticket calls for:

- A conflict map assigning all 138 conflicting files from `git merge-tree
  --write-tree c/main origin/main` to the C1 to C8 ticket that owns each one,
  with the six cross-cutting files that fit no ticket and the per-ticket totals.
- A running-the-suite section with the exact runner and CI-lane commands and the
  observed baseline from a full `bin/fm-test-run.sh --all` on this Mac: 219
  scripts, 18 failures, 28 gate skips, 4h07m under a machine load near 40, with
  every failure re-run alone and classified as root defect, missing tool,
  this-machine environment, or load.
- The trial-home handover: the exact remote, checkout, state-archive, and
  session-start steps firstmate runs at /Users/evanagee/Sites/firstmate-trial.
- The outcome of the four rideable fixes: #71, #90, and the calm half of #86
  ported; #77 dropped because the root already carries it.

Refs #77
Refs #71
Refs #90
Refs #86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-pr-watched An agent merge watch is armed on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant