Repository navigation
feat(checkpoints): 초안으로 넘어온 할 일에 에이전트의 체크포인트 판단을 항목마다 - #263
Merged
Merged
Conversation
completion 이 에이전트의 결과를 활동의 체크포인트로 항목마다 판단해, 못 채운 항목이 있으면 끝내지 않고
그 활동의 사람에게 초안으로 돌린다(초안에 checkpointCheck {met, unmet, notes}).
- shared/checkpointCheck: 할 일 행의 초안에서 판단을 읽고, 체크포인트 이름마다 채움 · 못 채움과 근거로.
- Checkpoints.vue: 검토 중인 할 일에 「N개 가운데 M개를 채우지 못해 초안으로 넘어왔어요」 한 줄과
항목 바로 아래 「에이전트 판단: 채움 / 못 채움 — 근거」. 체크 규칙은 그대로 — 판단이 채움이어도
미리 체크하지 않고, 모두 체크해야 제출한다. 끝난 할 일에는 보이지 않는다.
- agentSummary: checkpointCheck 는 폼 값이 아니다(초안에서 폼에 채우지 않는다).
- 문구 ko · en.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
무엇
에이전트의 결과가 체크포인트를 다 채우지 못해 사람의 초안으로 넘어온 할 일에서, 체크포인트 상자(
ui/Checkpoints.vue)에 에이전트의 판단을 항목마다 보인다.FormWorkItem.proceedExecuteProcess는 바꾸지 않았다). 끝난 할 일에는 보이지 않는다.판단과 초안으로 돌리기는 짝 PR uengine-oss/process-gpt-completion#10 에 있다. 그 PR 이 초안(
todolist.draft)에checkpointCheck: {met, unmet, notes}를 남긴다.왜
사용자 결정(2026-11-30):
Lite 처럼 에이전트 단계 끝에서 체크포인트를 판단해 못 채우면 사람에게 초안으로 넘기게 되면, 사람은 무엇이 왜 모자랐는지 보고 고쳐야 한다. 지금 화면은 체크 상자만 있어 그 까닭이 보이지 않는다.
어떻게
src/shared/checkpointCheck/index.js: 할 일 행(workItem.raw)의 초안에서checkpointCheck를 읽고(글로 저장된 초안도), 체크포인트 이름마다{met, note}로. 모양이 다르거나 없으면 아무것도 보이지 않는다. 판단에 없는 이름(그 뒤 정의가 바뀐 항목)은 건너뛴다.src/components/ui/Checkpoints.vue: 위 모듈로 판단을 계산해 머리 한 줄과 항목 아래 한 줄을 그린다. 기존 데이터 · 체크 로직은 손대지 않았다.src/shared/agentSummary:checkpointCheck를AGENT_META_KEYS에 더해, 초안에서 폼 값을 꺼낼 때(agentDraftValues) 폼에 채우지 않는다.Checkpoints.agentHandedOver·agentMet·agentUnmet).시험
이 저장소의 단위 시험 방식(
npm run test:unit=node --test)을 따랐다(vitest 는 쓰지 않는 저장소다).src/shared/checkpointCheck/checkpointCheck.test.js(4): 초안에서 꺼내기(글 초안 포함), 없거나 모양이 다르면 null, notes 없이도, 이름마다 채움 · 못 채움과 근거.src/shared/agentSummary/agentSummary.test.js(+1):checkpointCheck는 폼 값이 아니다(폼 id 가 맞을 때 · 다를 때 · 결과가 글일 때).npm run test:unit: 1139 개 중 1115 통과. 실패 24 개는 이 PR 과 상관없다 — 같은 머신에서origin/main을 깨끗이 꺼내 돌려도 1134 개 중 같은 24 개가 실패한다(새 작업 트리에node_modules가 없어linkedom·marked·dompurify·xml2js를 못 찾음, Node 25 의localStorage). 새 시험 5 개는 모두 통과.@vue/compiler-sfc로Checkpoints.vue템플릿 · 스크립트 · 스타일 컴파일 오류 0. Vuetify 를 대신한 SSR 렌더로 세 경우를 확인: 검토 중인 초안(머리 한 줄 + 항목마다 근거, 체크 0/2 그대로), 끝난 할 일(판단 안 보임), 판단 없는 할 일(예전과 같음).위험
checkpointCheck가 있는 초안이 없으므로 화면은 예전과 같다.checkpointCheck없이 덮이므로 판단이 사라진다(옛 판단이 남아 헷갈리지 않는다). 그동안(다시 하는 중)에는 옛 판단이 보인다.🤖 Generated with Claude Code