Repository navigation
Keep only work outside the assigned task as missed work - #1092
Merged
Merged
Conversation
The END judgment filed every caveat from an agent's final report as a leftover: unrun checks, pending merge and install, and the task's own unfinished parts. Those already show through the task verdict, the pull request and CI, so the Sessions flag lit up for nearly every session. context_label.v10 drops the leftover kind and asks only for a problem found outside the assigned task or a separate follow-up nobody has taken. Stored v9 leftover records still read.
The second turn's fixture answer still named a leftover item, which the context_label.v10 END schema refuses, so that turn's judgment never landed and the record specs waited for a task that never came.
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.
Summary
Sessions의 missed work에 에이전트 완료 보고의 "알아두실 점"이 거의 그대로 들어가고 있었습니다.
확인하지 못한 검증, 남은 머지·설치, 맡긴 일 자체의 덜 끝난 부분이 그 예입니다.
2026-10-14 기준으로 열린 14건 중 실제로 별도 일이었던 것은 1~2건뿐이었습니다.
이제 missed에는 세션을 닫으면 아무도 들고 있지 않게 되는, 맡긴 일 밖의 일만 들어갑니다.
leftover종류는 END 스키마에서 빠집니다(context_label.v10).맡긴 일의 남은 부분은 작업 판정이, 검증은 PR과 CI가, 머지·설치는 PR 상태가 이미 보여 줍니다.
화면과 동작(
이슈로,무시, 닫힘 접기, 한 턴 최대 3건)은 그대로입니다.Review
herdr-core/src/labels/context_label.rs- 매 턴 END 호출의 프롬프트와 스키마입니다. 스키마 enum은 router가 다시 검증하므로 이제leftover답은 거절됩니다.web/e2e/session-work-fixture.ts- 웹과 데스크톱 세션 기록 e2e가 함께 쓰는 가짜 AI 답입니다. 둘째 턴의 missed 종류만 바꿨습니다.herdr-core/src/links/ledger.rs-MissedKind::Leftover는 v9가 저장한 기록을 읽기 위해 남겼습니다. 지우면 기존 기록을 읽을 때ledger_record_invalid가 납니다.Evidence
claude -p인자(sonnet, thinking off, 같은 스키마)로 v9와 v10을 각각 2~3번씩 돌렸습니다.developerrole과 links ledger 고장 3/3, 서명과 서버 잔존 이슈화 3/3, Developer ID 서명 2/3request()출력과 바이트 단위로 같은지 확인했습니다.labels::,links::,session_work테스트 165개 통과. 새 테스트는 END 스키마가problem과follow_up만 제시하는지 확인합니다.verify-cargo.sh lint(fmt, clippy workspace) 통과.leftover를 답해 v10 스키마에 거절당해 실패했습니다. 데이터를problem으로 바꾼 f28d97a52의verify는 전 lane 통과했습니다.leftover기록은 그대로 남습니다. 지우거나 다시 판정하지 않습니다.