Skip to content

feat: add deterministic route resolver#85

Open
JTInventory wants to merge 7 commits into
kunchenguid:mainfrom
JTInventory:fm/firstmate-route-resolver-pr1-0625
Open

feat: add deterministic route resolver#85
JTInventory wants to merge 7 commits into
kunchenguid:mainfrom
JTInventory:fm/firstmate-route-resolver-pr1-0625

Conversation

@JTInventory

Copy link
Copy Markdown

Summary

Firstmate can now resolve a task route without changing spawn behavior. The new read-only command classifies task text into cheap, standard, deep, or critical, reports the selected harness/model/effort/reason/override/risk flags, and refuses risky downgrades unless --captain-downgrade-ok is explicit.

The resolver fails closed for production/runtime, money, credential/auth, security, external side-effect, Git danger, and Firstmate core safety signals. Read-only scout work can still take a cheaper route when no high-risk or deep-planning signals are present.

Validation

  • bash -n bin/fm-route.sh tests/fm-route.test.sh
  • bash tests/fm-route.test.sh
  • git diff --check
  • bash -n bin/*.sh tests/*.sh
  • bash tests/fm-bootstrap.test.sh

Compound Engineering
Codex

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