Repository navigation
fm-send: --resolve-key must not close a captain hold - #296
Merged
Merged
Conversation
…ding a captain answer A firstmate steer is not the captain's answer, so --resolve-key no longer feeds a captain-held task into the keyed-answer intake. It refuses before sending and points at fm-captain-hold.sh answer. Ordinary status-log decision keys close as before.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This was referenced Nov 4, 2026
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.
What changes
bin/fm-send.sh --resolve-key <key>no longer closes a captain-held task. Before, a firstmate steer that named a held task's key closed the hold and the status line read "captain hold ... answered" although the captain never answered, giving a parent firstmate a false approval record.Now that send refuses before delivering anything, writes nothing to the backlog, and names the answer path (
bin/fm-captain-hold.sh answer <task-id> --decision-file <path>). Ordinary worker decision keys (a needs-decision answered by firstmate) close exactly as before.Visual evidence
flowchart LR subgraph Before A[fm-send --resolve-key held-call] --> B[key resolved to captain-held task] --> C[hold closed, recorded as captain answered] end subgraph After D[fm-send --resolve-key held-call] --> E[key resolved to captain-held task] --> F[refused: nothing sent, hold stays open, points at fm-captain-hold.sh answer] G[fm-send --resolve-key ordinary-key] --> H[status-log decision closed as before] endRefusal output (from the new test
test_steer_never_closes_a_captain_hold):Tests
tests/fm-send-resolve-key.test.shpasses (0 failures), including the new case covering both the refused captain hold and the still-closing ordinary key. Docs and the captain-hold-lifecycle skill text updated where they described the chat channel.