Repository navigation
feat: support remote OMP secondmates - #3
Merged
Merged
Conversation
eugenelo
commented
Sep 17, 2026
eugenelo
added a commit
that referenced
this pull request
Sep 18, 2026
## Intent Support remote OMP secondmates through the existing SSH and Herdr lifecycle. This PR targets `eugenelo/firstmate:main` and does not deploy or merge the change. ## What changed - Accept OMP in remote readiness, managed-tool repair, launch, and relaunch checks. - Update the entrypoint's pinned doctor checksum. - Cover OMP readiness and restart continuity in the existing regression tests. - Document requirements and real-host verification, and clarify that GUI-session ownership applies to macOS. ## Risk assessment Low, according to the automated review. The change reuses existing lifecycle paths and preserves unsupported-agent, placement, and sibling-protection checks. It adds no transport or configuration schema. ## Testing - The publication run passed readiness, lifecycle, transport, and local OMP regression checks, plus canonical local-branch lint and documentation checks. - Earlier independent Linux verification exercised real OMP-only readiness, extension loading, supervision, correlated replies, SSH disconnect survival, restart preservation, and isolated retirement against the same runtime code. See the [maintained verification record](https://github.com/eugenelo/firstmate/blob/31c6d519d54d4200926b512a180705d540b1617a/docs/verification/runtime-backends.md#remote-secondmate-lifecycle-on-linux). - The publication run reused that remote verification rather than repeating it. Its live-test warning below records the absence of a new remote execution, not a failed remote scenario. - GitHub has not registered CI checks yet, so this PR is not being reported as CI-green. Earlier full CI-mode local lint attempts hit resource limits; local-branch lint passed. Private transcripts, machine identities, and operational records are excluded. ## Pipeline Updates from [git push no-mistakes](https://github.com/kunchenguid/no-mistakes) <!-- no-mistakes-pipeline-attestation:v1 {"head_sha":"31c6d519d54d4200926b512a180705d540b1617a","steps":[{"step":"intent","status":"completed"},{"step":"rebase","status":"completed"},{"step":"review","status":"completed"},{"step":"test","status":"completed"},{"step":"document","status":"completed"},{"step":"lint","status":"completed"},{"step":"push","status":"completed"},{"step":"pr","status":"running"},{"step":"ci","status":"pending"}]} --> <details> <summary>✅ **intent** - passed</summary> ✅ No issues found. </details> <details> <summary>✅ **Rebase** - passed</summary> ✅ No issues found. </details> <details> <summary>✅ **Review** - passed</summary> ✅ No issues found. </details> <details> <summary>⚠️ **Test** - 1 warning</summary> -⚠️ Full remote OMP behavior remains unverified in this run. Provide a disposable SSH account with authenticated OMP and required tools, plus authorization to create runtime state outside this worktree, to verify supervision, correlated replies, disconnect survival, restart continuity, and sibling preservation. -⚠️ live validation verdict: inconclusive (3 of 6 scenarios were driven live against the product); untested: Repair an OMP-only remote account and obtain complete worker readiness, Launch remote OMP, load supervision, exchange correlated messages, and survive SSH disconnection, Relaunch OMP preserving home, model, effort, and marker data, then retire without disturbing siblings - Live validation:⚠️ inconclusive - 3 of 6 scenarios driven live against the product | Scenario | Result | Live | Evidence | | --- | --- | --- | --- | | Run the tool-readiness probe with OMP as the sole installed agent; eligibility succeeds | ✅ pass | live | Live OMP eligibility and missing-tool refusals | | Remove OMP or a required tool; readiness reports the missing dependency and exits unsuccessfully | ✅ pass | live | Live OMP eligibility and missing-tool refusals | | Request non-Herdr placement or an unsupported launch/relaunch harness; control refuses without creating endpoint metadata | ✅ pass | live | Live lifecycle safety refusals | | Repair an OMP-only remote account and obtain complete worker readiness | ⏸️ untested | no | Requires a disposable remote account and authority to create its worker and Herdr state outside the worktree. Only tool eligibility was driven live here. | | Launch remote OMP, load supervision, exchange correlated messages, and survive SSH disconnection | ⏸️ untested | no | No disposable authenticated SSH/OMP account was supplied within the permitted write boundary. Provide that account and authorize its runtime state changes. | | Relaunch OMP preserving home, model, effort, and marker data, then retire without disturbing siblings | ⏸️ untested | no | Requires a real disposable remote OMP session and sibling endpoint, with authorization for remote runtime writes. | - `bash tests/fm-remote-doctor.test.sh` - `bash tests/fm-remote-secondmate-lifecycle-e2e.test.sh` - `bash tests/fm-remote-transport-lanes.test.sh` - <code>`bash tests/fm-omp-harness.test.sh` initially failed due to the runner&kunchenguid#39;s Codex ancestry; rerunning detached from that ancestry passed</code> - <code>`bin/fm-remote-doctor.sh --worker-tool-probe` with isolated HOME and real executable symlinks, then with OMP and treehouse individually removed</code> - <code>`bin/fm-remote-secondmate-control.sh` launch/relaunch refusal checks in a disposable worktree-local home</code> - <code>Removed disposable verification files and confirmed clean `git status --short`</code> 🔧 No changes applied. 1 warning still open: -⚠️ live validation verdict: inconclusive (0 of 6 scenarios were driven live against the product); untested: Repair an OMP-only environment and obtain complete worker readiness, Remove the only supported harness and confirm readiness refuses, Launch remote OMP, receive supervision, and exchange correlated requests and replies, Disconnect SSH and confirm remote OMP keeps running, Restart OMP with retained configuration and data, then reject duplicate spawning, Exercise placement refusals and retire OMP without disturbing other agents - Live validation:⚠️ inconclusive - 0 of 6 scenarios driven live against the product | Scenario | Result | Live | Evidence | | --- | --- | --- | --- | | Repair an OMP-only environment and obtain complete worker readiness | ⏸️ untested | no | The prior payload cites historical doctor repair and worker probe results but does not establish live execution in this run. | | Remove the only supported harness and confirm readiness refuses | ⏸️ untested | no | The prior payload cites historical harness removal and restoration results but does not establish live execution in this run. | | Launch remote OMP, receive supervision, and exchange correlated requests and replies | ⏸️ untested | no | The prior payload cites historical extension loading, supervision, and correlated replies but does not establish live execution in this run. | | Disconnect SSH and confirm remote OMP keeps running | ⏸️ untested | no | The prior payload cites historical survival of SSH disconnections but does not establish live execution in this run. | | Restart OMP with retained configuration and data, then reject duplicate spawning | ⏸️ untested | no | The prior payload cites historical restart continuity and duplicate-spawn rejection but does not establish live execution in this run. | | Exercise placement refusals and retire OMP without disturbing other agents | ⏸️ untested | no | The prior payload cites historical placement refusals and isolated retirement but does not establish live execution in this run. | - `git diff --stat 75fdb94 3de9cee` - `Inspected the scoped production and documentation diff against the base commit.` - <code>`sed -n &kunchenguid#39;2011,2055p&kunchenguid#39; docs/verification/runtime-backends.md`: reconciled prior observed outcomes against the required scenarios.</code> - <code>`git rev-parse HEAD` and `git status --short`: confirmed the target commit and unchanged worktree.</code> </details> <details> <summary>✅ **Document** - passed</summary> ✅ No issues found. </details> <details> <summary>🔧 **Lint** - 1 issue found → no changes applied (3) ✅</summary> -⚠️ linter found issues (exit code 1) 🔧 No changes applied. 1 warning still open: -⚠️ linter found issues (exit code 1) 🔧 No changes applied. 1 warning still open: -⚠️ linter found issues (exit code 1) 🔧 No changes applied. ✅ Re-checked - no issues remain. </details> <details> <summary>✅ **Push** - passed</summary> ✅ No issues found. </details>
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
Support remote OMP secondmates through the existing SSH and Herdr lifecycle.
This PR targets
eugenelo/firstmate:mainand does not deploy or merge the change.What changed
Risk assessment
Low, according to the automated review.
The change reuses existing lifecycle paths and preserves unsupported-agent, placement, and sibling-protection checks.
It adds no transport or configuration schema.
Testing
See the maintained verification record.
Its live-test warning below records the absence of a new remote execution, not a failed remote scenario.
Earlier full CI-mode local lint attempts hit resource limits; local-branch lint passed.
Private transcripts, machine identities, and operational records are excluded.
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
bash tests/fm-remote-doctor.test.shbash tests/fm-remote-secondmate-lifecycle-e2e.test.shbash tests/fm-remote-transport-lanes.test.shbash tests/fm-omp-harness.test.shinitially failed due to the runner's Codex ancestry; rerunning detached from that ancestry passedbin/fm-remote-doctor.sh --worker-tool-probewith isolated HOME and real executable symlinks, then with OMP and treehouse individually removedbin/fm-remote-secondmate-control.shlaunch/relaunch refusal checks in a disposable worktree-local homeRemoved disposable verification files and confirmed cleangit status --short🔧 No changes applied.
1 warning still open:
git diff --stat 75fdb9434c99694b8b67a792a0ee6d29a464db03 3de9ceea2f923bc9ff053b21f4c463b8f90f3f39Inspected the scoped production and documentation diff against the base commit.sed -n '2011,2055p' docs/verification/runtime-backends.md: reconciled prior observed outcomes against the required scenarios.git rev-parse HEADandgit status --short: confirmed the target commit and unchanged worktree.✅ **Document** - passed
✅ No issues found.
🔧 **Lint** - 1 issue found → no changes applied (3) ✅
🔧 No changes applied.
1 warning still open:
🔧 No changes applied.
1 warning still open:
🔧 No changes applied.
✅ Re-checked - no issues remain.
✅ **Push** - passed
✅ No issues found.