This repository was archived by the owner on Aug 25, 2026. It is now read-only.
feat: add read-only supervision model - #25
Merged
Merged
Conversation
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Firstmate now has a passive supervision command that turns current fleet signals into one stable checklist and JSON contract. This gives Firstmate and future display tools a shared
firstmate.supervision.v1model without making Radar own task-state rules or changing runtime state.The model reads local state, status logs, tmux liveness, git worktrees, watcher proof files, treehouse status, and optional read-only GitHub PR data. GitHub and watcher proof failures degrade to
unknowndata, so the command keeps local visibility without pretending a merge or watcher state is proved.Notes
--external-pror environment-provided defaults.route_profile,route_harness,route_model,route_effort, and recorded branch) is preserved in task JSON.Validation
bash -n bin/fm-supervise.sh bin/fm-supervision-model.sh tests/fm-supervision-model.test.shbash tests/fm-supervision-model.test.shbin/fm-supervise.sh --json --no-default-reminders | python3 -m json.toolbin/fm-supervise.sh --schema | python3 -m json.toolbin/fm-supervise.sh --no-default-remindersbin/fm-supervise.sh --json --no-default-reminders --external-pr https://github.com/JTInventory/firstmate/pull/24 | python3 -m json.toolgit diff --checkFull
tests/*.test.shwas attempted. Two existing, untouched tests failed locally:tests/fm-secondmate-safety.test.sh(fm-pr-check failed under FM_HOME) andtests/fm-teardown.test.sh(could not determine head branch for PR https://github.com/example/repo/pull/7).shellcheckis not installed in this environment.