Repository navigation
fix bootstrap sandbox gh diagnostic - #58
lmuehleisen wants to merge 3 commits into
Conversation
|
Thanks for the PR! This branch currently has a merge conflict with the base branch. When you get a chance, please rebase onto (or merge) the latest base branch, resolve the conflict, and push. After that, checks will re-run and the PR will get looked at again. Noted for firstmate#58 at |
|
Automated reminder: this PR still looks blocked on a rebase or merge conflict fix. If you are still interested, please rebase onto the current base branch, resolve the conflict, and push. If I do not hear back, I may close this as inactive. |
|
I am closing this because it has been waiting on a rebase or merge-conflict fix since 2026-07-10, and I have not seen a comment or push since then. If you still want to keep working on this, please reopen it or open a new PR and mention this one. Happy to take another look when there is an update. |
SummaryWatcher now raises one fleet-level dead-air alarm when in-flight non-secondmate work exists and no worker shows liveness for three consecutive cycles. This branch is rebased/merged onto current main so the alarm sits beside the already-landed prose-stall, child-heartbeat, and dispatch-nag paths. Integrated behavior
Test plan
|
…anded list (kunchenguid#58) * fix(bearings): keep a just-finished completion in the landed baseline The captain-facing "Recently Landed" section could omit a task that had just completed, telling the captain nothing landed immediately after they watched something finish. The pure-upstream trial recorded this live (data/fm-upstream-trial-verdict-v2/report.md), and our own surface shared it. Every landed view caps its list, so the newest-first ordering decides which rows survive the cap. The previous key, sort_by([(.completion.date // ""), .id]) | reverse, broke that invariant two ways: - A Done row with no completion date got the empty string, which sorts below every real date, so an undated completion ranked as the oldest thing in the fleet and was the first row the cap discarded. - Completion dates are day-granularity, so same-day completions tied and the tie was broken on id, which is unrelated to recency. A just-finished task with an alphabetically-low id lost its place to same-day completions that had finished earlier. This is the default tasks-axi path and reproduces the trial failure. Rank by completion date descending, then by recording position within the Done section, and date an undated row as of the snapshot's own generation time. Done is maintained newest-first, verified against tasks-axi 0.2.3, whose `done` prepends each newly completed row, so a lower recording position is more recent. The cap now always drops the oldest completions and never the newest. The rule lives in one place, bin/fm-landed-lib.sh, because three sort sites across two scripts would otherwise drift into disagreeing about which completion is newest. Also carries two related trial findings into the same surface: the bearings chat contract now forbids an all-clear while anything is unresolved, including when a state could not be read, and the skill is covered by the captain-facing translation contract test. * chore(fork-surface): declare the landed completion-truth capability Claims the shared completion-recency ordering library and its regression test so an upstream port cannot silently drop the guarantee that a just-finished task appears in the next captain-facing report. * no-mistakes(review): rank dated completions above undated and stop leaking order * no-mistakes(review): restore the dead manual-Done-pruning guard in teardown tests * no-mistakes(review): reserve the fleet-newest completion and scope the all-clear ban * no-mistakes(review): publish recency_rank and reserve same-date tied homes
Known remaining casesMeasured on the 47 audit menus (Vision boxes dumped on the Mac, The 32 split rows left are not reached by these rules:
Joining any short line in capitals under any short name reaches the caption stacks but merges consecutive dishes elsewhere (w F18 44.7%, z 51.8%), so it was not shipped. Same-row halves need a different join (pieces on one row), out of this change. |
Post-merge apply (operator, not run by this PR)make ci-runner-collections # installs jeffmlr.ci_runners 0.3.7 locally
make ci-runner-deploy-check # dry run against the VPS
make ci-runner-deploy # apply ci_vps_runnerExpected result: the collection reports 0.3.7, and the check/apply runs show no changes, or only version-related changes, to the VPS runner lane. |
…ream-catchup-20261115 feat(bin): catch up with upstream firstmate through 427056c
… lands
When a second mate reports into this home (state/<mate>.status), the captain
heard about it only after the watcher woke, the supervision branch drained and
checked, and main posted the branch's summary (median 25 s, p90 39 s over the
last three days). The mate's done:/failed: line is already its own checked
outcome, so the primary now appends it to main the moment the wake arrives, as
a display-only custom entry (fm-mate-terminal-notice): never sent to the model,
no turn, no tokens. The wake keeps its normal route, so the branch's checked
summary still follows.
- only tasks whose metadata says kind=secondmate, only done/failed verbs;
- its own byte cursor (state/.mate-terminal-notice-cursor): no history replay,
no repeats, partial lines wait, a replaced file restarts at its end;
- attended posture only; FM_MATE_TERMINAL_NOTICE=0 turns it off;
- any error yields no notice and never affects wake delivery.
The entry data is {version, mate, verb, key, corr, at, line, statusFile,
offset}; Firstmate Desktop renders it (firstmate-desktop PR kunchenguid#58).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Intent
Distinguish a real missing GitHub login from the Codex sandbox case where host GitHub credentials and network access are not directly available to the startup check.
Changes
Validation