Skip to content

feat(spawn): support batch task dispatch - #33

Merged
kunchenguid merged 3 commits into
mainfrom
fm-spawn-batch-dispatch
Jun 21, 2026
Merged

kunchenguid merged 3 commits into
mainfrom
fm-spawn-batch-dispatch

Conversation

@kunchenguid

Copy link
Copy Markdown
Owner

Intent

The captain asked to make bin/fm-spawn.sh support spawning several tasks in one call by accepting multiple id=repo pairs, removing the recurring need to hand-write multi-task dispatch loops in the tool shell. Motivation: the interactive tool shell is zsh, which (unlike bash) does not word-split an unquoted $var, so ad-hoc 'for ... in $pairs' / 'set -- $pair' loops silently mangled arguments and repeatedly broke multi-task dispatch. Decisions/tradeoffs: (1) chose unambiguous id=repo pair syntax so single-task invocations ( [harness|--scout|raw-cmd]) are detected as NOT batch and stay byte-for-byte unchanged - detection requires the first positional to contain '=' with a slash-free id part; (2) implemented batch as a re-exec of this same script in single-task mode per pair (via the FM_ROOT path, not $0) so the single-task path stays the one source of truth instead of duplicating spawn logic; (3) a shared --scout applies to every pair; (4) continue-on-failure - a failed pair is reported ('batch: FAILED to spawn ...') and skipped while the rest still launch, non-zero exit if any failed; (5) the watcher guard runs once per batch (not per pair) via an FM_SPAWN_NO_GUARD env flag on the re-execed children. Scope deliberately limited to this batch helper: the captain explicitly chose NOT to add a broader zsh word-splitting convention note elsewhere. Added tests/fm-spawn-batch.test.sh (behavior tests exercising arg routing only - each spawn fails fast at the missing-brief check before any tmux/treehouse side effect, so no real worktrees/windows are created) and documented the batch form in AGENTS.md section 7.

What Changed

  • Added batch dispatch support to bin/fm-spawn.sh using id=repo pairs, with shared --scout, continue-on-failure behavior, and a single watcher guard for the batch.
  • Documented the new batch spawn form in AGENTS.md and README.md.
  • Added batch spawn behavior coverage and wired all shell behavior tests into CI.

Risk Assessment

✅ Low: Captain, the change is narrow, keeps single-task spawning as the source of truth, and the earlier CI coverage gap is now addressed.

Testing

Inspected the changed files, ran the targeted batch-spawn test and full behavior-test loop without lint/static analysis, captured CLI success and failure transcripts in the evidence directory, cleaned temporary data, state, and projects fixtures from the worktree, and ended with no actionable test failures.

Evidence: Targeted batch-spawn test output

ok - batch dispatch re-execs and reports every id=repo pair ok - a single id=repo pair routes through batch dispatch ok - single-task invocation (no '=') is untouched by batch detection ok - batch dispatch rejects an argument that is not id=repo ok - an arg whose id part contains '/' is not treated as a batch pair

ok - batch dispatch re-execs and reports every id=repo pair
ok - a single id=repo pair routes through batch dispatch
ok - single-task invocation (no '=') is untouched by batch detection
ok - batch dispatch rejects an argument that is not id=repo
ok - an arg whose id part contains '/' is not treated as a batch pair
Evidence: All behavior tests output

Behavior test loop covering batch spawn and wake queue tests passed.

ok - batch dispatch re-execs and reports every id=repo pair
ok - a single id=repo pair routes through batch dispatch
ok - single-task invocation (no '=') is untouched by batch detection
ok - batch dispatch rejects an argument that is not id=repo
ok - an arg whose id part contains '/' is not treated as a batch pair
ok - concurrent append plus drain preserves queue records
ok - signal written while no watcher runs is caught on next run
ok - stale wake is queued before suppressor state is advanced
ok - check output is queued before cadence suppression
ok - simultaneous watcher starts leave exactly one live process
ok - two atomic drains cannot consume the same records twice
ok - drain collapses obvious duplicate heartbeat and signal records
ok - killed watcher stale lock is reclaimed
ok - live watcher lock with stale heartbeat is actionable
ok - guard warns when queued wakes are pending
ok - guard orders watcher re-arm after queued wake drain
Evidence: CLI batch spawn success transcript

$ PATH=<fake-tmux>:$PATH bin/fm-spawn.sh batch-a=projects/demo-a batch-b=projects/demo-b --scout spawned batch-a harness=codex kind=scout mode=direct-PR yolo=off window=firstmate:fm-batch-a worktree=/var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVNX6QWGFN889JRHRQTH6A1Z/fake-worktrees/firstmate_fm-batch-a spawned batch-b harness=codex kind=scout mode=local-only yolo=on window=firstmate:fm-batch-b worktree=/var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVNX6QWGFN889JRHRQTH6A1Z/fake-worktrees/firstmate_fm-batch-b exit=0

$ PATH=<fake-tmux>:$PATH bin/fm-spawn.sh batch-a=projects/demo-a batch-b=projects/demo-b --scout
spawned batch-a harness=codex kind=scout mode=direct-PR yolo=off window=firstmate:fm-batch-a worktree=/var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVNX6QWGFN889JRHRQTH6A1Z/fake-worktrees/firstmate_fm-batch-a
spawned batch-b harness=codex kind=scout mode=local-only yolo=on window=firstmate:fm-batch-b worktree=/var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVNX6QWGFN889JRHRQTH6A1Z/fake-worktrees/firstmate_fm-batch-b
exit=0

$ sed -n "1,20p" state/batch-a.meta state/batch-b.meta
window=firstmate:fm-batch-a
worktree=/var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVNX6QWGFN889JRHRQTH6A1Z/fake-worktrees/firstmate_fm-batch-a
project=/Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/projects/demo-a
harness=codex
kind=scout
mode=direct-PR
yolo=off
window=firstmate:fm-batch-b
worktree=/var/folders/5x/4nqprlbx0518k3ybcb1sz6gr0000gn/T/no-mistakes-evidence/01KVNX6QWGFN889JRHRQTH6A1Z/fake-worktrees/firstmate_fm-batch-b
project=/Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/projects/demo-b
harness=codex
kind=scout
mode=local-only
yolo=on

$ cat fake-tmux-calls.log
tmux has-session -t firstmate
tmux list-windows -t firstmate -F \#\{window_name\}
tmux new-window -d -t firstmate -n fm-batch-a -c /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/projects/demo-a
tmux send-keys -t firstmate:fm-batch-a treehouse\ get Enter
tmux display-message -p -t firstmate:fm-batch-a \#\{pane_current_path\}
tmux send-keys -t firstmate:fm-batch-a -l codex\ --dangerously-bypass-approvals-and-sandbox\ -c\ \"notify=\[\\\"bash\\\"\,\\\"-c\\\"\,\\\"touch\ /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/state/batch-a.turn-ended\\\"\]\"\ \"\$\(cat\ /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/data/batch-a/brief.md\)\"
tmux send-keys -t firstmate:fm-batch-a Enter
tmux has-session -t firstmate
tmux list-windows -t firstmate -F \#\{window_name\}
tmux new-window -d -t firstmate -n fm-batch-b -c /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/projects/demo-b
tmux send-keys -t firstmate:fm-batch-b treehouse\ get Enter
tmux display-message -p -t firstmate:fm-batch-b \#\{pane_current_path\}
tmux send-keys -t firstmate:fm-batch-b -l codex\ --dangerously-bypass-approvals-and-sandbox\ -c\ \"notify=\[\\\"bash\\\"\,\\\"-c\\\"\,\\\"touch\ /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/state/batch-b.turn-ended\\\"\]\"\ \"\$\(cat\ /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/data/batch-b/brief.md\)\"
tmux send-keys -t firstmate:fm-batch-b Enter
Evidence: CLI batch failure transcript

$ FM_SPAWN_NO_GUARD=1 bin/fm-spawn.sh missing-a=projects/no-a missing-b=projects/no-b error: no brief at /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/data/missing-a/brief.md batch: FAILED to spawn missing-a (projects/no-a) error: no brief at /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/data/missing-b/brief.md batch: FAILED to spawn missing-b (projects/no-b) exit=1

$ FM_SPAWN_NO_GUARD=1 bin/fm-spawn.sh missing-a=projects/no-a missing-b=projects/no-b
error: no brief at /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/data/missing-a/brief.md
batch: FAILED to spawn missing-a (projects/no-a)
error: no brief at /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/data/missing-b/brief.md
batch: FAILED to spawn missing-b (projects/no-b)
exit=1

$ FM_SPAWN_NO_GUARD=1 bin/fm-spawn.sh mixed-a=projects/no-a bogus-no-equals
error: no brief at /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/data/mixed-a/brief.md
batch: FAILED to spawn mixed-a (projects/no-a)
error: batch dispatch expects every argument as id=repo; got 'bogus-no-equals'
exit=2
Evidence: Fake tmux calls from CLI success check

Fake tmux call log showing two batch children created windows, sent treehouse get, and launched codex from the normal single-spawn path.

tmux has-session -t firstmate
tmux list-windows -t firstmate -F \#\{window_name\}
tmux new-window -d -t firstmate -n fm-batch-a -c /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/projects/demo-a
tmux send-keys -t firstmate:fm-batch-a treehouse\ get Enter
tmux display-message -p -t firstmate:fm-batch-a \#\{pane_current_path\}
tmux send-keys -t firstmate:fm-batch-a -l codex\ --dangerously-bypass-approvals-and-sandbox\ -c\ \"notify=\[\\\"bash\\\"\,\\\"-c\\\"\,\\\"touch\ /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/state/batch-a.turn-ended\\\"\]\"\ \"\$\(cat\ /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/data/batch-a/brief.md\)\"
tmux send-keys -t firstmate:fm-batch-a Enter
tmux has-session -t firstmate
tmux list-windows -t firstmate -F \#\{window_name\}
tmux new-window -d -t firstmate -n fm-batch-b -c /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/projects/demo-b
tmux send-keys -t firstmate:fm-batch-b treehouse\ get Enter
tmux display-message -p -t firstmate:fm-batch-b \#\{pane_current_path\}
tmux send-keys -t firstmate:fm-batch-b -l codex\ --dangerously-bypass-approvals-and-sandbox\ -c\ \"notify=\[\\\"bash\\\"\,\\\"-c\\\"\,\\\"touch\ /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/state/batch-b.turn-ended\\\"\]\"\ \"\$\(cat\ /Users/kunchen/.no-mistakes/worktrees/016d88035d58/01KVNX6QWGFN889JRHRQTH6A1Z/data/batch-b/brief.md\)\"
tmux send-keys -t firstmate:fm-batch-b Enter

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

🔧 **Review** - 1 issue found → auto-fixed ✅
  • ⚠️ tests/fm-spawn-batch.test.sh:1 - The new batch-dispatch behavior test is not wired into the existing Behavior tests job, which still only runs tests/fm-wake-queue.test.sh; this means the branch's main regression coverage will be skipped by CI and can silently rot. Add tests/fm-spawn-batch.test.sh to the CI test step, or change the job to run all intended behavior tests.

🔧 Fix: Wire batch behavior tests into CI
✅ Re-checked - no issues remain.

✅ **Test** - passed

✅ No issues found.

  • tests/fm-spawn-batch.test.sh
  • for test_script in tests/*.test.sh; do "$test_script"; done
  • bin/fm-harness.sh crew
  • PATH=&lt;fake-tmux&gt;:$PATH bin/fm-spawn.sh batch-a=projects/demo-a batch-b=projects/demo-b --scout with temporary briefs/projects and captured state/*.meta plus fake tmux calls
  • FM_SPAWN_NO_GUARD=1 bin/fm-spawn.sh missing-a=projects/no-a missing-b=projects/no-b
  • FM_SPAWN_NO_GUARD=1 bin/fm-spawn.sh mixed-a=projects/no-a bogus-no-equals
  • git status --short && find data state projects config -maxdepth 1 -type e 2>/dev/null | sort
✅ **Document** - passed

✅ No issues found.

⚠️ **Lint** - 1 warning
  • ⚠️ .github/workflows/ci.yml:18 - Configured ShellCheck lint could not be run because shellcheck is not installed in PATH or common local locations; unresolved ShellCheck findings may remain.
✅ **Push** - passed

✅ No issues found.

fm-spawn.sh now accepts multiple id=repo pairs in one call, looping internally
(in bash) and re-execing the proven single-task path per pair. This removes the
need to hand-write multi-task dispatch loops in the tool shell (zsh), which does
not word-split unquoted $vars and silently mangles ad-hoc loops. A shared --scout
applies to all pairs; single-task invocations are unchanged. Adds behavior tests.
@kunchenguid
kunchenguid merged commit ceba3c8 into main Jun 21, 2026
4 checks passed
@kunchenguid
kunchenguid deleted the fm-spawn-batch-dispatch branch June 21, 2026 20:47
This was referenced Aug 7, 2026
NewAiCoder added a commit to NewAiCoder/firstmate that referenced this pull request Sep 26, 2026
… watch arming (kunchenguid#33)

* fix(supervision): notice stalled, failed, or gate-parked pipelines within minutes

- bin/fm-nm-watch.sh owns the pipeline-state watch: arm re-arms idempotently
  so a relaunch converges, an arm failure queues a durable check wake, and
  register-clone records where an out-of-worktree pipeline runs (nm_clone=).
- fm-crew-state.sh reads the run from the registered clone, and a paused:
  line claiming a no-mistakes run reads unknown when no run is found.
- The watcher and away-mode daemon honor a claimed-run pause only while crew
  state confirms a working run, rechecking it on the stale cadence.

* no-mistakes(review): {"summary": "Fix source-content test assertion and scope daemon locals"}

* no-mistakes(document): docs(configuration): sync ownership of nm watch with fm-nm-watch.sh

* no-mistakes(lint): Silence SC2016 false positive on literal sed pattern in test

* no-mistakes(ci): Fixed docs/architecture.md:57 — replaced the broken fragment link `configuration.md#pipeline-state-watch-when-nm-state-task-id` (unresolvable because fm-doc-audience-check.sh's slugifier strips `<task-id>` as HTML, so it never matches the actual heading anchor) with `[configuration.md](configuration.md) "Pipeline-state watch"`. Verified with `bin/fm-doc-audience-check.sh` (ok, 99 surfaces, 398 local links) and `bash tests/fm-documentation-audiences.test.sh` (all 4 assertions pass). No heading renamed, no other files touched

---------

Co-authored-by: NewAiCoder <170579485+NewAiCoder@users.noreply.github.com>
NewAiCoder added a commit to NewAiCoder/firstmate that referenced this pull request Sep 26, 2026
… watch arming (kunchenguid#33)

* fix(supervision): notice stalled, failed, or gate-parked pipelines within minutes

- bin/fm-nm-watch.sh owns the pipeline-state watch: arm re-arms idempotently
  so a relaunch converges, an arm failure queues a durable check wake, and
  register-clone records where an out-of-worktree pipeline runs (nm_clone=).
- fm-crew-state.sh reads the run from the registered clone, and a paused:
  line claiming a no-mistakes run reads unknown when no run is found.
- The watcher and away-mode daemon honor a claimed-run pause only while crew
  state confirms a working run, rechecking it on the stale cadence.

* no-mistakes(review): {"summary": "Fix source-content test assertion and scope daemon locals"}

* no-mistakes(document): docs(configuration): sync ownership of nm watch with fm-nm-watch.sh

* no-mistakes(lint): Silence SC2016 false positive on literal sed pattern in test

* no-mistakes(ci): Fixed docs/architecture.md:57 — replaced the broken fragment link `configuration.md#pipeline-state-watch-when-nm-state-task-id` (unresolvable because fm-doc-audience-check.sh's slugifier strips `<task-id>` as HTML, so it never matches the actual heading anchor) with `[configuration.md](configuration.md) "Pipeline-state watch"`. Verified with `bin/fm-doc-audience-check.sh` (ok, 99 surfaces, 398 local links) and `bash tests/fm-documentation-audiences.test.sh` (all 4 assertions pass). No heading renamed, no other files touched

---------

Co-authored-by: NewAiCoder <170579485+NewAiCoder@users.noreply.github.com>
NewAiCoder added a commit to NewAiCoder/firstmate that referenced this pull request Oct 1, 2026
… watch arming (kunchenguid#33)

* fix(supervision): notice stalled, failed, or gate-parked pipelines within minutes

- bin/fm-nm-watch.sh owns the pipeline-state watch: arm re-arms idempotently
  so a relaunch converges, an arm failure queues a durable check wake, and
  register-clone records where an out-of-worktree pipeline runs (nm_clone=).
- fm-crew-state.sh reads the run from the registered clone, and a paused:
  line claiming a no-mistakes run reads unknown when no run is found.
- The watcher and away-mode daemon honor a claimed-run pause only while crew
  state confirms a working run, rechecking it on the stale cadence.

* no-mistakes(review): {"summary": "Fix source-content test assertion and scope daemon locals"}

* no-mistakes(document): docs(configuration): sync ownership of nm watch with fm-nm-watch.sh

* no-mistakes(lint): Silence SC2016 false positive on literal sed pattern in test

* no-mistakes(ci): Fixed docs/architecture.md:57 — replaced the broken fragment link `configuration.md#pipeline-state-watch-when-nm-state-task-id` (unresolvable because fm-doc-audience-check.sh's slugifier strips `<task-id>` as HTML, so it never matches the actual heading anchor) with `[configuration.md](configuration.md) "Pipeline-state watch"`. Verified with `bin/fm-doc-audience-check.sh` (ok, 99 surfaces, 398 local links) and `bash tests/fm-documentation-audiences.test.sh` (all 4 assertions pass). No heading renamed, no other files touched

---------

Co-authored-by: NewAiCoder <170579485+NewAiCoder@users.noreply.github.com>
@AnalystTom

Copy link
Copy Markdown

Verification evidence (local build, Nicrron live, headless Chromium)

Fresh visitor on a local build (web Worker + orchestrator + SurrealDB, NICRRON_API_KEY live): entered a brief on /start, got a Nicrron-backed clarification and draft spec in the workspace. Also confirmed with live Nicrron: the plan call and the verifier return valid structured output. Not exercised locally (no Anchor key, no Daytona build): real capture and sandbox builds; those are covered by the live walk after the deploy. No horizontal overflow at any size; send, tabs, zoom and buttons are 44px on touch. Remaining small targets (card "Move" handles, inline text links) are follow-ups.

Mobile 390x844: landing Mobile 390x844: start Mobile 390x844: after sending a brief
Mobile 430x932: after sending a brief Desktop 1440x900: start Desktop 1440x900: after sending a brief

(Images live on the fm/rv-ready-evidence branch, pinned to commit d80b277; delete that branch after merge. No video: the installed Playwright ffmpeg did not match the runner.)

Calls that stay on OpenAI (OPENAI_API_KEY) and why

Everything else (orchestrator chat, plan, review, report dissection, web Worker verifier) goes through Nicrron (NICRRON_API_KEY, NICRRON_MODEL, default nicrron/auto).

  1. Report source web search (trace_report_sources): uses OpenAI's hosted web_search tool through the Responses API. Nicrron rejects web_search as a tool type on chat completions and has no /v1/responses route.
  2. Codex agents in the Daytona sandbox (run sandbox and pods): Codex 0.162 only speaks the Responses API, which Nicrron returns 404 for, so they sign in with OPENAI_API_KEY.

Keeping calls Nicrron cannot serve on their current key was decided up front, not by review.

After merge

Set NICRRON_API_KEY as a secret on both reversy and reversy-orchestrator before deploying, then deploy both Workers and walk the live journey on mobile and desktop.

fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 2, 2026
* fix: block primary-session delegation outside the fleet

Port upstream 50cc24a (kunchenguid/firstmate kunchenguid#854): a primary-home
PreToolUse guard that denies delegation-shaped harness tools so fleet
metadata and supervision stay intact. Merge the hook into this fork's
.claude/settings.json without dropping statusLine or Bash seatbelts.
Document Cursor primary as wired-via-shared-settings but live-unverified.

* fix: make fm-subagent-pretool-check test executable

CI runs tests/*.test.sh directly; without the executable bit the suite
fails with exit 126 before the assertions run.
fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 18, 2026
…ne (kunchenguid#33)

* feat(bin): add the Starship bridge strip, a read-only Herdr plugin pane

A slim strip across the top of a Herdr workspace with the STARSHIP
wordmark in the flight deck colours, three crew lamps (busy, waiting for
you, ready to merge) and the Mac's battery, which turns amber below 25%
and red below 10% on battery.

bin/fm-bridge-strip.sh renders it from the status bar's cached fleet
reading and pmset, and installs, shows and removes the Herdr plugin in
herdr-plugins/starship-bridge. fm-fleet-status-lib.sh can now report the
decisions inside its ready figure, so the strip can split waiting for you
from ready to merge; the status bar's nine fields are unchanged.

* no-mistakes(review): Rename decision lamp, fix 5s redraw, tighten strip pid match

* no-mistakes(review): Drop extra strip tier and fix stale lamp label comments

* no-mistakes(test): Return keyboard focus to the owner's pane after strip opens

* no-mistakes(test): Key bridge strip records on Herdr session as well as tab

* no-mistakes(ci): ci-2 (Declared fork surface): CI requires every changed source path to map to an owning test, and the new herdr-plugins/starship-bridge/herdr-plugin.toml had none. The fix is one row in tests/fork-test-registry.conf: `covers herdr-plugins/starship-bridge/herdr-plugin.toml tests/fm-bridge-strip.test.sh`, plus a comment in the same style as the desk-floater rows. The previous attempt had already written it. The row is accurate: the strip suite runs install, checks the plugin link to that directory, and runs the open and run commands the manifest names. With the row in place, the CI command `bin/fm-test-run.sh --list --changed --base 11666f6` exits 0. All the other new paths map too: bin/fm-bridge-strip.sh, docs/bridge-strip.md, tests/fm-bridge-strip.test.sh, bin/fm-fleet-status-lib.sh and fork-surface.conf. bin/fm-fork-surface.sh check prints OK, and tests/fm-bridge-strip.test.sh and tests/fm-fork-surface.test.sh both pass. ci-1 (Behavior portable serial 13): this branch does not cause it, so there is no code change. No bin/fm-watch* script and not tests/fm-watch-arm.test.sh source or call bin/fm-fleet-status-lib.sh or anything else this branch changes. The only link is a comment in bin/fm-classify-lib.sh, which is why the changed-test list pulls in the watch suites. Locally, tests/fm-watch-arm.test.sh failed twice on this branch with "re-append was not byte-identical to the inherited row". It fails the same way on an untouched copy of the PR base commit 11666f6, so that failure was already there before this branch. The CI failure, "successor did not notify about new work", is a different case and depends on timing. Re-running the lane should clear it. ci-3 (Full suite): this check only gathers the lanes above and fails because they failed. It needs no change of its own. ci-fix-agent-timeout: as instructed, I ran only the strip suite, the fork-surface suite, the surface check and the --list --changed command, plus the watch-arm re-runs on this branch and on the base. I did not run tests/fm-test-run.test.sh. The only file changed is tests/fork-test-registry.conf, and it is not committed yet
@simonKristensen

Copy link
Copy Markdown

GitHub Actions does not run on this account: every check on this PR stopped before starting because of an Actions billing or spending limit. None of them ran any code.

This change was checked locally instead, at head 847bee0b:

  • The no-mistakes test step passed. It ran tests/fm-status-quo.test.sh, tests/fm-omarchy-fleet-plugin.test.sh, tests/fm-decision-server.test.sh and tests/fm-fleet-snapshot-view.test.sh.
  • ShellCheck 0.11.0 with the bin/fm-lint.sh options passes on every changed shell file. The pipeline's own lint step could not run because ShellCheck is not installed for the pipeline service.
  • The web fleet page was checked in a browser in light and dark mode, at desktop and phone width, including the empty state and a refresh press.
  • The panel loads in the Omarchy shell with no QML errors. Its status box was rendered offscreen in both themes. preview.png still shows the panel without the box and will be refreshed in a follow-up.

@simonKristensen

Copy link
Copy Markdown

Local test results for this PR, run with bin/fm-test-run.sh on the PR head (847bee0b):

  • 12 of 13 suites pass: fm-status-quo, fm-omarchy-fleet-plugin, fm-decision-server, fm-fleet-snapshot-view, fm-inbox, fm-decide, fm-captain-hold-lifecycle, fm-pending-reply, fm-contributions, fm-plan, fm-home-summary-refresh and fm-remote-secondmate-lifecycle-e2e. That is 305 passing checks.
  • fm-bearings-snapshot fails one check: "a healthy snapshot did not issue exactly one remote file read per home". The same check fails the same way on main (9af3a1ee), so this PR did not cause it.

The suites cover every file the PR changes: the status script, the fleet snapshot, the answer page server, the fleet panel model and the inbox path behind the refresh button.

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.

3 participants