Skip to content

Prime Agent 0.9.4 crewmate/scout adapter parity - #13

Merged
eduardstan merged 15 commits into
mainfrom
fm/prime-adapter-solid
Sep 14, 2026
Merged

eduardstan merged 15 commits into
mainfrom
fm/prime-adapter-solid

Conversation

@eduardstan

@eduardstan eduardstan commented Sep 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Keep Prime Agent limited to verified crewmate/scout work; secondmate launches remain refused.
  • Bind generated busy-state events to the owning Prime Agent session.
  • Hold busy state briefly through retry and queued-message transitions with cancellation-safe debouncing.
  • Require the verified openai-codex/<model> quota route and refuse unqualified or Anthropic routes.
  • Keep live evidence portable and prove the provider/model passed to the production launch.

Review-fix map

  • F1/F2: 8685c0ba restores the Prime Agent secondmate refusal in bin/fm-spawn.sh and bin/fm-control-lib.sh, with matching role tests and documentation.
  • F3/N1/N2/N3/N9: 3c45c021 binds events to the first session manager, adds error grace and debounced pending-message idle, adds lifecycle tests, and corrects evidence wording.
  • F4/N8: 2bc72e3a removes Prime Agent claude-bridge and Pi fallbacks, requires openai-codex/<model>, and aligns quota wording/tests.
  • F5/F6/F7/F8/F9/F10/F11/F12/N6/N7: 02890706 and 3c45c021 make the live guard portable, confirm worker retirement, narrow evidence to demonstrated crewmate/scout behavior, restore broad harness wording, correct supervision wording, and remove dead secondmate launch substitutions.
  • N5: PR title is Prime Agent 0.9.4 crewmate/scout adapter parity.
  • N-A: 2d4e2466 makes session isolation discriminating by asserting busy immediately after an ignored child-session end; the retained strict retirement helper is reserved for the later secondmate PR.

Verification

  • timeout 180 bin/fm-test-run.sh --jobs 1 tests/fm-busy-adapter-wiring.test.sh: FM_TEST_SUMMARY total=1 failed=0 after the final session-isolation test change.
  • Counterfactual evidence: temporarily removing the isBoundSession check produced not ok - prime-agent child session event changed parent state, got 'idle prime-ext'; restoring it produced FM_TEST_SUMMARY total=1 failed=0.
  • Earlier targeted aggregate: FM_TEST_SUMMARY total=6 failed=0.
  • Final live guard: FM_TEST_SUMMARY total=1 failed=0 with seven successful Prime Agent 0.9.4 checks.
  • ShellCheck 0.11.0, actionlint 1.7.12, and documentation audience checks passed.
  • No no-mistakes pipeline was run.

Direct PR requested. Upstream was not touched.

@eduardstan eduardstan changed the title Prime Agent 0.9.4 adapter parity and local secondmate support Prime Agent 0.9.4 crewmate/scout adapter parity Sep 14, 2026
@eduardstan
eduardstan merged commit 1ed9e6c into main Sep 14, 2026
13 checks passed
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.

1 participant