Skip to content

fix: let the Conductor relay the operator's pass on an open start gate - #2500

Merged
yansfil merged 2 commits into
mainfrom
fix/mission-start-gate-relay
Nov 12, 2026
Merged

yansfil merged 2 commits into
mainfrom
fix/mission-start-gate-relay

Conversation

@yansfil

@yansfil yansfil commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Related: mission-57 node presets-core, defect d1 (found by presets-stories on main 2359c77 after #2485)

Summary

When a deploy node's start gate was open (👁 볼 것, the operator's turn), the Conductor relaying the operator's OK from its conversation, hide mission gate <node> --pass --said "<words>", was refused mission_gate_not_open.
The pane path only accepted an end gate, so a start gate could be passed only from the card or the phone, though the help and the node's own waiting note tell the Conductor to relay it.
Now an open gate of either kind takes the relayed pass as it takes the card's; the early OK before a gate asks stays an end gate's only, so a start gate that is not open yet is still refused from every path.

No screenshot: core rule only

Review

  • Risky files: hide-core/src/runtime/mission_gates.rs - settle_gate, the one entry every gate answer goes through; the pane pass is now gate_open plus the existing early end-gate OK.

Tests

  • Layer: core runtime test beside the other gate tests (hide-core/src/runtime/tests/missions.rs).
  • Catches: the pane pass on an open start gate being refused; planted by restoring the old rule, the new test fails at the relay with mission_gate_not_open.
  • Repeat: does not apply: no e2e spec or tests/it module changed.
  • Waits: none.

Evidence

  • Verified: an_open_start_gate_takes_the_operators_ok_relayed_from_the_pane: refused before the dependency is done, then passed with the words and via: pane, question gone, worker binds, repeat changes nothing.
  • Verified: hide-core tests matching gate and start_gate pass; clippy -p hide-core --all-targets -D warnings clean.
  • Verified: hide mission help now says a start gate takes the relayed answer once it is open, as docs/ARCHITECTURE.md does.
  • Not verified: no live run in a candidate app (the relay goes through the same settle_gate the test drives); full workspace suite left to CI.
  • Not verified: no private doc change: with-hide/hide-private docs/missions.md already refuses the pane answer only "while the gate is not yet asked".
Verification record

Base 2359c77 (main), head 4d4c898. Filtered nextest and clippy through scripts/verify-cargo.sh.

settle_gate took a pass from the Conductor's pane only on an end gate, so an open start gate could be passed from the card or the phone alone. An open gate of either kind now takes the relayed pass as it takes the card's; the early OK before a gate asks stays an end gate's.
@yansfil
yansfil added this pull request to the merge queue Nov 12, 2026
Merged via the queue into main with commit 62a5c89 Nov 12, 2026
40 checks passed
@yansfil
yansfil deleted the fix/mission-start-gate-relay branch November 12, 2026 17:44
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