Repository navigation
fix: answer mission commands for workers, mission ids, stale CI letters and operator waits - #2323
Merged
Merged
Conversation
…rs and operator waits - hide mission show <mission id> reads that mission, as Hide's letters say (#2301) - a node's worker and checker read their mission, and the worker sets its own node's --pr, --branch and --line (#2302) - a CI letter not yet handed to the Conductor is withdrawn when a check runs again on its head, and told again once it ends (#2304) - the no-push warning and the worker's watch read one quiet rule: CI, review or merge waits, and a node waiting on the operator's answer (#2300)
…rop CI letter withdrawal
…nswers # Conflicts: # contracts/hide-cli.json
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Nov 9, 2026
…nswers # Conflicts: # contracts/hide-cli.json # hide-core/src/runtime/missions.rs
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.
Closes #2301
Closes #2302
Closes #2300
Closes with-hide/hide-private#684
Related: with-hide/hide-private#778 (짝 문서 PR, 서로 짝)
Summary
미션 명령이 틀린 답을 주던 세 가지를 고칩니다.
hide mission show mission-41처럼 Hide 편지가 안내하는 미션 id로 보면 그 미션 전체를 보여 줍니다(전에는mission_node_unknown).hide mission show로 자기 미션을 읽고, 작업자는hide mission node <자기 노드> --pr/--no-pr/--branch/--line을 직접 씁니다(전에는mission_none). 그 밖의 변경과 다른 노드는 계속 Conductor 몫입니다.--mission없이 쓴 명령은 정해진 순서로 미션을 고릅니다: 내가 지휘하는 열린 미션, 없으면 내가 작업·검사하는 열린 미션 하나, 없으면 마지막에 완료한 내 미션. 열린 미션 둘에 걸쳐 있으면 짐작하지 않고mission_ambiguous로 거절해--mission을 쓰게 합니다.decide --node)을 기다리는 동안에도 조용합니다.#2304(검사가 다시 돌기 전 "CI passed" 편지)는 이 PR에서 뺐고, 원인과 뺀 이유는 이슈에 남겼습니다.
스크린샷 없음: 화면 변경 없음, core·CLI 도움말·계약만 바뀝니다.
Review
hided/assets/mission/help.md)과 짝 문서에 순서를 적었습니다.decide --node로 올라가 있지 않았습니다. 운영자 대기를 조용히 하려면 결정을 노드에 걸어야 합니다(도움말에 적음).hide-core/src/runtime/mission_criteria.rs-Caller는 명령마다 원장 agents를 한 번만 훑어 호출자의 등록과 장부의 미션들이 가리키는 작업자·검사자 등록을 함께 읽고,mission_meant가 고르는 순서를 한 곳에 둡니다. show, node, record, skip이 이것으로 미션을 고르고 답(미션 보기, 노드 보기, 두 편지 목록)도 그립니다(mission_view_for).hide-core/src/runtime/missions.rs-show와show <node>는 한 번 읽은 등록으로 보기와 편지 목록을 같이 그리고, 작업자의node답도 그 등록으로 그립니다(작업자 patch는 에이전트를 바꾸지 않음). Conductor 경로는 전과 같이 답을 그릴 때 한 번 읽습니다.runtime/missions.rs의 충돌은 #2316의worker_life(닫힌 에이전트를 미션에선 끝남으로 읽음)와 이 PR의named_agents·편지 함수를 둘 다 남겨 풀었습니다.mission_view_for도sleeping_registrations의closed를 그대로 받아 닫힌 작업자를 끝남으로 그리고, 미션 고르는 규칙은 바뀌지 않았습니다.contracts/hide-cli.json은 병합된 소스로 다시 만들어 main과의 차이는mission_ambiguous네 곳뿐입니다.hide-core/src/mission_health.rs-quiet_waits가 no-push 경고와 watch(mission_worker_waits)의 한 규칙입니다. 전에는 두 곳이 따로 계산해 병합된 PR과 실패한 줄에서 서로 달랐습니다.Evidence
a_nodes_worker_and_checker_use_the_mission_commands_of_their_own_node,a_caller_in_two_open_missions_names_the_one_it_means,a_mission_workers_watch_is_quiet_while_its_node_waits_on_the_operator,a_node_waiting_on_the_operator_raises_no_quiet_warning)은 수정을 되돌리면 실패하고 수정으로 통과합니다. 다중 미션 시험은 거절 규칙을 끄면 작업자가 말없이 mission-1을 받아 실패합니다.hide-coremission·watch·quiet 시험 357개,hidedmission·cli_contract·guide 시험 35개(커밋된contracts/hide-cli.json비교 포함) 통과,verify-cargo.sh fmt-check,clippy -p hide-core -p hided --tests경고 없음.hideCLI로 미션 id show, 작업자·검사자의 이름 없는 show, 작업자 자기 노드 pr/branch/line 변경이 되고, 권한 밖 변경은mission_not_conductor로 거절됨(verify 검사자 기록, 끝난 뒤 후보 프로세스 0).src/missions.test.ts59개 통과, fix: decide a mission review line by its bound checkers on the newest head #2200 전 계산으로 바꾸면expected '1/2 passed', got '1/3 passed'로 실패.mission_ambiguous)은 core 시험으로만 확인했고 격리 후보 CLI로는 돌리지 않았습니다. 전체 verify 레인은 CI에 맡깁니다.