Repository navigation
fix: let the Conductor relay the operator's pass on an open start gate - #2500
Merged
Merged
Conversation
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.
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.
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 refusedmission_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
hide-core/src/runtime/mission_gates.rs-settle_gate, the one entry every gate answer goes through; the pane pass is nowgate_openplus the existing early end-gate OK.Tests
hide-core/src/runtime/tests/missions.rs).mission_gate_not_open.Evidence
an_open_start_gate_takes_the_operators_ok_relayed_from_the_pane: refused before the dependency is done, then passed with the words andvia: pane, question gone, worker binds, repeat changes nothing.gateandstart_gatepass;clippy -p hide-core --all-targets -D warningsclean.hide mission helpnow says a start gate takes the relayed answer once it is open, asdocs/ARCHITECTURE.mddoes.settle_gatethe test drives); full workspace suite left to CI.docs/missions.mdalready 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.