Skip to content

feat: standardize worker-owned crewmate workflow - #1

Merged
Ospeto merged 9 commits into
mainfrom
fm/fm-brief-subagent-routing
Aug 2, 2026
Merged

Ospeto merged 9 commits into
mainfrom
fm/fm-brief-subagent-routing

Conversation

@Ospeto

@Ospeto Ospeto commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • standardize Gemini 3.6 Flash high crewmate dispatch
  • keep specialist fixer, explorer, plan, designer, and Oracle work worker-owned
  • require exact-range Oracle review before direct-PR push
  • keep post-PR Lelouch review optional and Firstmate-requested
  • preserve direct-PR +yolo defaults and safe malformed-mode fallback

Verification

  • focused brief, safety, and lifecycle tests passed
  • bin/fm-lint.sh passed
  • git diff --check passed
  • Oracle reviewed the exact committed range and reported clean

kunchenguid and others added 9 commits July 31, 2026 22:41
…uid#1447)

* Preserve task contract in no-mistakes intent

* no-mistakes(review): Preserve complete current task contract in no-mistakes intent
…nguid#1452)

* fix: centralize secondmate registry parsing

* no-mistakes(review): Centralize secondmate registry binding validation

* no-mistakes(review): Harden registry EOF and symlink validation

* no-mistakes(review): Reject unreadable registries before parsing

* no-mistakes(document): Document punctuation-safe secondmate registry validation

* no-mistakes: apply CI fixes
@Ospeto
Ospeto merged commit 2c39bd7 into main Aug 2, 2026
Ospeto added a commit that referenced this pull request Aug 4, 2026
* fix(bin): preserve full task contract in no-mistakes intent (kunchenguid#1447)

* Preserve task contract in no-mistakes intent

* no-mistakes(review): Preserve complete current task contract in no-mistakes intent

* fix(bin): parse punctuated secondmate registry entries safely (kunchenguid#1452)

* fix: centralize secondmate registry parsing

* no-mistakes(review): Centralize secondmate registry binding validation

* no-mistakes(review): Harden registry EOF and symlink validation

* no-mistakes(review): Reject unreadable registries before parsing

* no-mistakes(document): Document punctuation-safe secondmate registry validation

* no-mistakes: apply CI fixes

* feat: route brief research and specialist reviews

* fix: keep review guidance within delivery authority

* fix: authorize specialist review and inspect full range

* test: make gamma delivery mode explicit

* fix: reject malformed project mode tokens

* feat: standardize crewmate specialist workflow

* fix: tighten brief and mode contracts

---------

Co-authored-by: Kun Chen <3233006+kunchenguid@users.noreply.github.com>
Ospeto pushed a commit that referenced this pull request Sep 8, 2026
…nguid#3681)

* fix(bin): recognize active pipeline fix rounds with unfetched run heads

A no-mistakes fix round advances the run head beyond the submitted head,
and the pipeline commits in its own checkout, so the task copy never
receives the new commit object. fm-crew-state's strict head rule rejected
the active row, the coarse runs-list scan skipped it and matched the
older failed row at the submitted head, and an active validation read as
failed (observed on model-routing-benchmark-hardening: active head
ac61c64b vs task copy at fb47636d).

fm_nm_runs_status_for_worktree in bin/fm-nm-run-lib.sh now owns
runs-ledger attribution: the branch's newest row alone decides, and a
newest row whose head cannot resolve locally is recognized only as a
provable pipeline-owned continuation - active (running) and anchored by
the immediately older row for the same branch having ended at exactly
this worktree's HEAD. The reader keeps the axi TOON as full detail for
that proven same-branch run. Unanchored, ancestor-anchored, and terminal
unresolvable rows stay unattributed, so branch-name coincidence and other
tasks' runs never match, and fm_nm_head_matches_worktree keeps its exact
prior semantics for teardown (verified by the full teardown suite).

Tests: reproduction regression for the unfetched active fix head (reads
working via full run-step detail), coarse-path continuation when axi
answers another branch, and negative controls for the unanchored active
row and the unresolvable terminal row with the historical fallback
preserved.

Ported onto upstream/main f4d7875, where kunchenguid#3194 independently added the
branch_sync custody exemption on the full axi-status path: both mechanisms
now coexist, each owning one surface (TOON custody on the full path, the
runs ledger on the coarse path). The port deletes the superseded coarse
scan-and-skip (nm_runs_status_for_branch) and its now caller-less helpers
(fm_nm_head_resolvable, nm_coarse_head_matches_worktree), renames the
exemption comment's "the one exemption" phrasing now that a second
complementary exemption exists, and points the stale
FM_CREW_STATE_RUNS_LIMIT comment at fm_nm_runs_status_for_worktree
(judge follow-up #1). The parent coarse-guard test's fixture is the
ledger-anchored continuation shape, so its expectation flips to the fixed
behavior (working via run-step, never the older failed row); a new
mismatched-anchor coarse negative control preserves that guard's original
no-anchor protection (pane answers, never the older row).

* no-mistakes(document): Clarify pipeline attribution documentation
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.

2 participants