Repository navigation
feat: add authoritative review diff helper - #17
Merged
Merged
Conversation
This was referenced Aug 4, 2026
vipentti
pushed a commit
to vipentti/firstmate
that referenced
this pull request
Aug 5, 2026
* Add authoritative review diff helper * no-mistakes(document): Document fm-review-diff helper
This was referenced Aug 7, 2026
This was referenced Aug 12, 2026
|
Rebased onto current main; no-mistakes attestation parked until Codex reset 2026-09-15 08:24 ICT. |
NewAiCoder
pushed a commit
to NewAiCoder/firstmate
that referenced
this pull request
Sep 26, 2026
…henguid#17) fm-spawn.sh launch_template() now includes attribution commit/pr empty and sessionUrl false in the inline --settings JSON for the minimal-surface and full claude launch variants, so spawned workers never write attribution trailers. Test on the rendered launch command.
What this doesWS-2/T0 golden-epic decomposition eval: the measuring stick every later Shop Lead prompt gets scored against. Versioned golden-epic fixtures plus a human-judged rubric for plan quality (task boundaries, workbench assignments, verification coverage, escalation honesty), with a harness for running a plan against the rubric. Review path (in this order)
How to verify
Decisions to opine on
|
This was referenced Oct 7, 2026
This was referenced Oct 18, 2026
fritznoff
pushed a commit
to fritznoff/starship
that referenced
this pull request
Nov 2, 2026
) * fix(afk): deliver escalations on Claude framed composers The Pi incomplete-separator wipe was clearing Claude's live bare ❯ when full-width frame rules sat below it, so away-mode injection deferred forever (0 deliveries). Keep bare agent glyphs, refuse idle+unknown at daemon startup, and clear .afk on refused starts. Co-authored-by: Cursor <cursoragent@cursor.com> * no-mistakes(review): add bounded retries to startup delivery probe on transient unknown * fix(composer): make idle glyph classify locale-safe under LC_ALL=C Bracket-class bare-prompt matching and ${var#??} glyph strips walked UTF-8 bytes under C locale, so box-drawing borders and ❯ placeholders misread as pending and blocked away-mode delivery classification. Co-authored-by: Cursor <cursoragent@cursor.com> * no-mistakes(review): defer away-mode delivery probe to first idle cycle * no-mistakes(review): reap watcher child on deferred delivery probe abort * test: stub compatible tasks-axi for scout teardown under sanitized PATH Gate worktrees often lack host nvm tasks-axi, so fm-decision-hold verify refused Orca/zellij/backend scout teardown success cases. Install a shared compatible stub into those fixtures' fakebins. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
fritznoff
pushed a commit
to fritznoff/starship
that referenced
this pull request
Nov 2, 2026
…ream-catchup-2026-11-01 feat(bin): merge upstream firstmate through 49dc31b
ghazni101
pushed a commit
to ghazni101/firstmate-dsh
that referenced
this pull request
Nov 19, 2026
…estore spawn suites' (kunchenguid#17) from fm/spawn-surfaces-green into main
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Add a read-only bin/fm-review-diff.sh helper so firstmate reviews crewmate branches against the authoritative base instead of a stale pooled clone local default ref. The helper should resolve worktree and project from state/.meta, detect the default branch with the same origin/HEAD then main/master fallback used by fm-merge-local.sh and fm-teardown.sh, verify fm/ or fall back to the worktree current branch, fetch only origin/ for remote-backed projects, use the local default branch for local-only projects, print a header naming the base, support --stat mode, show no changes gracefully, and avoid pulls, merges, or working-tree mutation. Update AGENTS.md so local-only review and general branch diff review use the helper, with a concise stale-local-ref note, while matching existing bin script conventions.
What Changed
bin/fm-review-diff.sh, a read-only helper that resolves a task worktree fromstate/<id>.meta, comparesfm/<id>or the current branch against the authoritative default branch, and supports full patch or--statoutput.origin/<default>, handles local-only projects against the local default branch, and reports unchanged branches gracefully.Risk Assessment
✅ Low: The change is a small, bounded read-only review helper plus documentation updates, and it follows the existing default-branch and guard conventions without introducing material risks.
Testing
Baseline inspection confirmed only
AGENTS.mdandbin/fm-review-diff.shchanged; end-to-end CLI fixtures exercised remote-backed stale-base fetching, local-only review, no-change output, current-branch fallback,--stat, default full diff, andmasterfallback successfully, with temporary working-tree artifacts cleaned up afterward.Evidence: fm-review-diff end-to-end CLI transcript
Transcript shows staleorigin/mainbefore helper, updatedorigin/mainafter helper, correct diff bases for remote/local/master, no-change handling, current-branch fallback, stat output, and full patch output. Guard warnings appear because the isolated test created fake task metadata without running the normal supervisor loop; they did not affect helper behavior.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.
git status --short && git diff --stat 1d1db259114a47af8a7190f051dc8de94bec4905..21fb0fde44252c8059811df0e587090fe8c551d1Temporary remote-backed git fixture: created a stale localorigin/main, ran./bin/fm-review-diff.sh remote-stale --stat, and verified the helper fetched only the authoritative default branch before diffingfm/remote-stale.Temporary remote-backed no-change fixture: ran./bin/fm-review-diff.sh no-changeand verified it printedno changes vs origin/maingracefully.Temporary local-only fixture: ran./bin/fm-review-diff.sh local-only --statand verified it used localmainas the base without a remote fetch.Temporary fallback fixture: ran./bin/fm-review-diff.sh fallback --statwith nofm/fallbackbranch and verified it diffed the current branch againstmain.Temporarymasterfallback/full-output fixture: ran./bin/fm-review-diff.sh master-fulland verified default output included both stat and full patch againstmaster.git status --shortafter testing to verify transient working-tree artifacts were removed.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.