Skip to content

feat: add OpenCode server backend - #46

Closed
ImZoomBoy wants to merge 18 commits into
kunchenguid:mainfrom
ImZoomBoy:codex/opencode-server-backend-clean
Closed

ImZoomBoy wants to merge 18 commits into
kunchenguid:mainfrom
ImZoomBoy:codex/opencode-server-backend-clean

Conversation

@ImZoomBoy

Copy link
Copy Markdown

Summary: Adds the OpenCode API-backed server backend for ordinary FirstMate tasks, including headless default operation, optional OpenCode Desktop visibility, send/peek/teardown/watch routing, stale capture detection, local-only auth metadata for non-loopback binds, and backend-aware bootstrap behavior. Tests: node --check bin/fm-opencode-server; bash -n bin/.sh tests/.test.sh; full tests/*.test.sh suite; no-mistakes review/test/document/lint passed before WSL GitHub push failed due unavailable HTTPS credentials, then branch was pushed from authenticated Windows Git.

@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: 9530f151dc

ℹ️ 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-bootstrap.sh
Comment on lines +99 to +102
TOOLS="opencode node no-mistakes gh-axi chrome-devtools-axi lavish-axi"
has_registered_secondmates && TOOLS="tmux $TOOLS"
;;
*) TOOLS="tmux node treehouse no-mistakes gh-axi chrome-devtools-axi lavish-axi" ;;

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 requiring the gh binary

When bootstrap builds the required tool list, gh is no longer included. gh-axi is not a replacement for the underlying GitHub CLI; its own setup docs say “You still need gh installed and authenticated via gh auth login” (https://github.com/kunchenguid/gh-axi). On a fresh machine with gh-axi installed but no gh, this now reports only NEEDS_GH_AUTH, so the captain is told to run gh auth login but that command is missing and all GitHub-backed workflows remain blocked. Add gh back to the tool list and install_cmd.

Useful? React with 👍 / 👎.

NewAiCoder added a commit to NewAiCoder/firstmate that referenced this pull request Sep 26, 2026
…is unresolvable (kunchenguid#46)

fm-crew-state.sh reported "no no-mistakes run found" for a task whose pipeline
run lives in a registered nm_clone or a firstmate-self pooled worktree, even
though `no-mistakes axi status` run directly in that same path found the run
every time. The existing head-equality and pipeline_owned checks both require
resolving the run's current/progressed head as a local git object, which
fails whenever the daemon advances fix-round commits in its own internal
checkout without fetching them back - the routine shape for a registered
clone, and an ordinary worktree mid-fix-round while branch_sync.state reads
"behind" rather than "pipeline_owned".

branch_sync.local is stamped once, at submission time, from whichever
worktree or clone actually ran `no-mistakes axi run`, so an exact match
against local.branch/local.head needs no object resolution and reliably
attributes the run regardless of how far the pipeline has since advanced.

Fixes NewAiCoder/firstmate#43.

Co-authored-by: NewAiCoder <claude@theinbtw.com>
fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 2, 2026
* feat: declare and enforce fork capability surface

* chore: bind fork surface to declaration commit

* chore: reconcile newly landed fork surfaces

* chore: bind concurrent fork capabilities
@mklgrw

mklgrw commented Nov 3, 2026

Copy link
Copy Markdown

Price change date: 2026-11-02. Sign-ups before and after this date were at different prices — don't compare as one group.

Tier Old price New price Files changed
Software $490 / month, 15 packages (~$33 each) $990 / month, 15 packages (~$66 each) src/sites/claimchase/config.ts, src/sites/claimchase/Landing.astro
Managed $1,190 / month, 20 packages (~$60 each) $125 / complete packet, custodian + copy fees at cost src/sites/claimchase/config.ts, src/sites/claimchase/Landing.astro

PR: https://github.com/mklgrw/smb-demand-pages/pull/52

@bronsonhill

Copy link
Copy Markdown

Pinned commits (profiles/mac.toml)

Each pin is what main resolved to in the Hugging Face cache of the development Mac on 2026-11-13, i.e. the revision the current unpinned code was already using, and each was still the head of main on the hub that day. For Nemotron the cache also holds an older snapshot (f667ed7); the pin takes the one refs/main points at.

Model Pinned commit
mlx-community/parakeet-tdt-0.6b-v3 ed2b7e8c15f9aaa0b5772e2efb986255eaef7e15
nvidia/Nemotron-3-Diarization 52a432672732425e4c19765b9fec9b5810e6f4ba
pyannote/wespeaker-voxceleb-resnet34-LM 837717ddb9ff5507820346191109dc79c958d614 (same commit as in stored voiceprint ids, so enrolled voices stay valid)
mlx-community/whisper-large-v3-turbo a4aaeec0636e6fef84abdcbe3544cb2bf7e9f6fb

Known follow-up for the app step

The Whisper fallback (about 1.6 GB) still downloads lazily the first time a chunk needs a language Parakeet does not cover. That download bypasses the first-run size prompt, so the app needs a plan for it (include it in the prompt, or disable the fallback in the mac profile).

Also: while models load, /v1/speakers reports every voiceprint as none; byte progress was checked against one real 26 MB download only.

fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 18, 2026
…rstmate to re-check a held question (kunchenguid#46)

* feat(bin): let the owner mark a Factory pane question as already settled so Starship re-checks it

An x key on a held question in NEEDS YOU files a reconcile request through
fm-captain-hold.sh reconcile-requests under the pane's own bound source, then
wakes Starship with an inbox note that names the call and says the owner thinks
it is already settled. The card reads checking until Starship closes the call
with evidence, notes what still stands, or holds it again with new words. The
key only asks; nothing is parsed from prose and nothing closes on its own.
Installing the pane binds its source and removing it unbinds it.

* no-mistakes(review): Wake Starship on settled presses after a reword; name retitle route

* no-mistakes(document): Name the Factory pane key as a reconcile request creator

* no-mistakes(review): Bind pane source only at install; ignore re-press while checking

* no-mistakes(review): Retry failed settled wakes; name pane-created requests in bearings

* no-mistakes(test): Keep pane card checking through refreshes read before press

* no-mistakes(document): Point fm-factory.py header to factory-pane.md checking rule
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