Repository navigation
fix: hold and release a mission answer's draft as a letter's - #2044
Merged
Merged
Conversation
A mission answer held on a possible draft was never released: the doorbell read the composer only for a letter's recipient, so an emptied composer kept the operator's answer waiting until the Conductor's next submission. The answer now shares the letter's draft release and its last checks before typing (clear_to_type), and the Conductor's composer read is kept between passes like a recipient'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: #2038 (base: this PR sits on its composer guard)
Summary
미션 판단에 운영자가 답해도, Conductor 입력창에 무언가를 쳤다가 지운 적이 있으면 답이 영원히 들어가지 않았습니다.
편지는 이럴 때 실제 입력창을 읽어 비었으면 보류를 풀지만, 미션 답은 읽지 않고 기다리기만 했기 때문입니다.
또 미션 답은 입력 직전 확인도 빠져 있어, 반대로 사람이 쓰고 있던 글 위에 답이 입력될 수 있었습니다.
이제 미션 답도 편지와 같은 두 단계를 거칩니다: 보내지 않은 글로 잡히면 입력창을 읽어 보류를 풀고, 입력 직전에 입력창이 비었는지 한 번 더 확인합니다.
실제 사례(2026-11-04):
mission-29의 "이대로 승인" 답이mission.answer_held reason=draft로 몇 시간 동안 멈춰 있었습니다. Codex 입력창은 비어 있었습니다.Review
herdr-core/src/delivery/doorbell.rs- failure path. 입력 직전 확인을clear_to_type하나로 모아 편지 bell(deliver)과 미션 답(type_answer)이 같이 씁니다. 강제 편지의 deferral만 호출하는 쪽에 남깁니다.pass- 미션 답 목록을 pass 앞에서 한 번 읽어, Conductor pane의 입력창 읽기 기록도 편지 수신자처럼 pass 사이에 유지합니다. 이게 없으면 글이 남아 있는 입력창을 250 ms마다 다시 읽습니다.Evidence
verify-cargo.sh nextest -p herdr-core3942개 통과,verify-cargo.sh lint(fmt + clippy) 통과,check-no-workstation-identity.sh통과.