Skip to content

feat(spawn): add cb harness adapter for account-B crewmates - #40

Closed
jwalin-shah wants to merge 2 commits into
kunchenguid:mainfrom
jwalin-shah:fm/cb-harness-2w
Closed

jwalin-shah wants to merge 2 commits into
kunchenguid:mainfrom
jwalin-shah:fm/cb-harness-2w

Conversation

@jwalin-shah

Copy link
Copy Markdown

Adds the cb account as a verified crewmate harness.

Changes

  • bin/fm-spawn.sh: add cb case to launch_template() and to the turn-end hook case "$HARNESS" block
  • AGENTS.md: add cb adapter entry (section 4) noting it mirrors claude facts; marked needs-smoke-test

Notes

cb is ~/bin/claude-rollover run b --dangerously-skip-permissions — same Claude Code CLI as claude/pioneer, different account (account B, Pro OAuth). Harness facts are identical to claude: esc to interrupt, /exit, /<skill>.

…NTS.md

- fm-spawn: add pioneer harness template (cpion launch command) and include
  pioneer in the claude* turn-end hook branch so Stop hooks wire correctly
- fm-teardown: append structured outcome entry to data/learn-log.md on every
  teardown, recording task id, kind, mode, project, last status, and report
  summary for fleet-level reflection
- AGENTS.md: tighten ~27 lines across sections 1/4/6/8/9 without dropping
  any operational rules (fleet-sync exception, pi extension internals,
  project memory ownership, watcher guard, escalation list)
- Add cb launch template to fm-spawn.sh: launches via 'cb "$(cat __BRIEF__)"'
- Add cb to turn-end hook case alongside claude* and pioneer
- Document cb as ADDED in AGENTS.md section 4 harness table
  (needs smoke-test spawn for full verification)
- cb inherits all claude adapter facts (busy signature, exit, interrupt,
  skill invocation) since it wraps the same claude CLI under account B

No change needed to fm-harness.sh: the crew command echoes config/crew-harness
verbatim, so 'cb' already resolves correctly without a detection entry.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d020fc5a22

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bin/fm-spawn.sh
Comment on lines +73 to +74
pioneer) printf '%s' 'cpion "$(cat __BRIEF__)"' ;;
cb) printf '%s' 'cb "$(cat __BRIEF__)"' ;;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep unverified adapters behind the raw-launch path

Captain, this makes cb and pioneer first-class launch templates, so config/crew-harness=cb/pioneer or a per-task override will dispatch work through them without the raw-launch verification path. That conflicts with the adapter contract in AGENTS.md that says never dispatch an unverified adapter, and the new cb docs themselves still say it “Needs a smoke-test spawn”; pioneer has no matching documented adapter entry at all. Until these are empirically verified and documented, accepting them here can silently route real tasks to an adapter whose trust prompts, turn-end hook, or command availability have not been validated.

Useful? React with 👍 / 👎.

@jwalin-shah
jwalin-shah deleted the fm/cb-harness-2w branch June 27, 2026 02:53
@kunchenguid

Copy link
Copy Markdown
Owner

Closing WITHOUT merging as a temporary, reversible release-coordination step to create a zero-pipeline window for a no-mistakes pre-release install (v1.35.1-beta.1). The branch fm/macos-dist-update-w9 and its retrofit commits (process-cleanup + Keychain zero-prompt fix + RunAsNode fuse) are preserved. This PR will be reopened or replaced and fully re-validated with the new binary before any merge.

@kunchenguid

Copy link
Copy Markdown
Owner

Please disregard my previous comment on this PR - it was posted here in error and was intended for a different repository's PR. Apologies for the noise.

This was referenced Aug 7, 2026
NewAiCoder added a commit to NewAiCoder/firstmate that referenced this pull request Sep 26, 2026
… check (kunchenguid#40)

While away, fm-pr-merge refused any GitHub merge whose base-branch rules
could not prove there is no merge queue. On a private repo whose plan does
not expose branch rules, that read always fails, so even a task the captain
explicitly granted could never merge. A task in the away record's
merge-grant list now skips that proof; a standing yolo=on posture still
needs a provably clear queue, and --auto and --allow-red stay refused.

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

Copy link
Copy Markdown

From SHP-2 (#26, PR https://github.com/BarnabasTuzko/erpnext-extension-prorotype/pull/143): SHP-B010-AC1 and SHP-B010-AC2 end to end move here, because both need the label job and its hold step (SHP-B022).

SHP-2 builds the decision the hold step takes and proves it on its own: gs_erpnext_extensions.shipment.points.check_pickup_point(carrier, point_number, point_type=None) returns PointCheck(hold, problem, warning, stale) (also exported by shipment/interface.py, with POINT_PROBLEM and GLS_WARNING). It reads only the Pickup Point row and the age of its list and makes no call.

What the label job does with it (for a re-send or a new attempt whose route has a pickup point; carrier, point number and type are custom_route_carrier, custom_route_point_id, custom_route_point_type):

  • hold=True: no carrier call; route state "Point closed or changed", label state Held with problem POINT_PROBLEM ("pickup point closed or changed"), a continued attempt handled as SHP-B022 says. One alert per note is SHP-B035 (fix(supervision): add durable watcher loop #84).
  • warning set (GLS point on holiday or out of order): the label proceeds; show the warning on the note and the Packing screen.
  • stale=True (the list is more than 3 days past its last good download, or was never loaded): never holds.

What to prove here: SHP-B010-AC1 (no Foxpost call, label Held with the problem) and SHP-B010-AC2 (the label is made and the note shows the holiday warning), through the real label job. SHP-2's tests cite them only as "the decision of the hold step", and they are not in spec/coverage-scope.txt from SHP-2.

@dardant

dardant commented Nov 7, 2026

Copy link
Copy Markdown

Independent re-verification on the pushed head (a468bca)

Same screen as the report: Joel Greenblatt preset (4 filters, 180 results). Branch backend + frontend run locally against the live database in read-only mode. Light theme = lrt-default, dark = monochrome.

Before / after

Issue Before (captain's preview) After (a468bca)
Execution Time tile 0ms on every screen (field never sent; frontend fell back to 0) server-measured: 466ms fresh, 1-4ms cached; <1ms / – for 0 / missing
Right-edge sliver, 1600 MA 200w clipped to 9px; heat-filled rows (INFY, ABEV, GFI, ERIC, KGC, HPQ...) end in a coloured 9px strip MA 200w hidden in header + 50/50 rows, both themes; strip shows each row's own zebra colour, header and body end at the same edge
Right-edge sliver, 390 Sector clipped at 85px (readable) unchanged (85px > 24px, left alone); with Weekly% scrolled to a 10px sliver it is hidden in header + 50/50 rows, both themes
F-Score / Shr Chg% contrast (measured on rendered pixels, 24 rows) light: green-600 2.89:1, red-600 4.24:1; dark: green-600 4.34:1, red-600 2.97:1 light: green-800 6.26:1, red-700 5.68:1; dark: green-400 8.22:1, red-400 5.18:1

Before/after screenshots at 1600 and 390 in light and dark, with right-edge zooms, are kept with the task evidence (before/, after2/*-edge-zoom.png); the after-state images embedded above in the PR body come from the pipeline's own live run and match these.

fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 18, 2026
…id#40)

- Treehouse CI pin 3.1.3 -> 3.1.8 (bug-fix releases; release digests)
- herdr-core pin 0.1.14 -> 0.1.21 (official release tarballs)
- Vampire/setup-wsl v7.0.0 -> v7.2.0
- no-mistakes PR gate action v1.80.1 -> v1.106.1 (action files unchanged)

Issues opened since the last tidy (last 7 days): none. No earlier tidy
PR exists, so the window is the last 7 days.
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.

4 participants