Repository navigation
feat: add deterministic route resolver - #85
Closed
JTInventory wants to merge 7 commits into
Closed
JTInventory wants to merge 7 commits into
JTInventory wants to merge 7 commits into
Conversation
…ration-pr2-0625 feat: record spawn route evidence
…ndary-fix-0626 Fix route cleanup boundary matching
…reconciliation Refuse stale task identity
Author
|
Closing because this work is maintained in the JTInventory fork. We are not expecting upstream review or merge for this branch. |
This was referenced Aug 9, 2026
This was referenced Aug 11, 2026
This was referenced Aug 12, 2026
This was referenced Oct 7, 2026
This was referenced Nov 2, 2026
fritznoff
pushed a commit
to fritznoff/starship
that referenced
this pull request
Nov 2, 2026
* feat: add one-tap photo drop to the phone bridge Let the captain send photos from a phone on the existing glance page while keeping every other route read-only and quarantining files in data/bridge-inbox/. Co-authored-by: Cursor <cursoragent@cursor.com> * no-mistakes(review): Ensure atomic inbox pair publication, captain * no-mistakes(document): Clarify photo upload rate limiting --------- Co-authored-by: Cursor <cursoragent@cursor.com>
fritznoff
pushed a commit
to fritznoff/starship
that referenced
this pull request
Nov 18, 2026
…akes (kunchenguid#85) * fix(bin): name the queued event in a watcher recovery wake instead of a bare rearm-resurface A recovery that finds a queued row now closes as 'check: queued wake: <row reason>', so a row another producer appended, or one a handling successor queued while no arm was attached to deliver its close, reaches the supervisor as that event. The close stays check-kind, so it still routes to main. Only a recovery with nothing usable queued (a genuine outage with work in flight) keeps 'check: rearm-resurface'. fm_wake_queue_newest_reason in bin/fm-wake-lib.sh owns how a row is named. * fix(bin): name the queued event in a watcher recovery wake instead of a bare rearm-resurface A recovery that finds a queued row now closes as 'check: queued wake: <row reason>', so a row another producer appended, or one a handling successor queued while no arm was attached to deliver its close, reaches the supervisor as that event. The close stays check-kind, so it still routes to main. Only a recovery with nothing usable queued (a genuine outage with work in flight) keeps 'check: rearm-resurface'. fm_wake_queue_newest_reason in bin/fm-wake-lib.sh owns how a row is named. * fix(bin): do not wake main for a recovery when nothing queued is main's to see A downtime recovery no longer wakes main when every queued row is held by a live supervision-branch grant (the branch presents and acknowledges those), and a fresh watcher no longer reopens an announced episode for rows main's drain already presented to the turn handling it. A recovery wake names the newest row main would be shown, preferring a real event over a bare heartbeat. Interrupted handling republished as downtime, and a genuine outage, still resurface. Tests assert the reasons literally instead of through the code under test. * no-mistakes(review): skip presented rows on re-arm while same session holds * no-mistakes(review): pair presented stamp with recorded session id * no-mistakes(review): share one recovery-row filter for count and label * no-mistakes(review): count an unreadable queue as one recovery row
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.
Summary
Firstmate can now resolve a task route without changing spawn behavior. The new read-only command classifies task text into
cheap,standard,deep, orcritical, reports the selected harness/model/effort/reason/override/risk flags, and refuses risky downgrades unless--captain-downgrade-okis 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.shbash tests/fm-route.test.shgit diff --checkbash -n bin/*.sh tests/*.shbash tests/fm-bootstrap.test.sh