[상류 구현] G2 inference attempt ownership·shared admission·ordered settlement (G1 #4715 위 stack) #218

Open
opened 2026-10-30 01:39:51 +09:00 by dreampiler · 3 comments
Owner

원 요구·승인

소유자 직접 지시(운영 대화 2026-10-30, 원문): 「게시 가능한 V1부터 상류 PR로 올리고, 나머지 미제출 수정과 미완성 원본도 승인한 순서대로 완성·검증해서 PR 반영까지 계속 진행해줘. maintainer 답이 필요한 부분만 구분하고 가능한 작업은 이어가줘. 기존 기능·이력은 보존하고 중복 PR은 만들지 마.」 승인 순서상 G2는 '실제 의존 기능'이며 G1 #4715(opt-in total·execution-grade limits, OPEN·미병합, head cd6db092b444)에 의존한다. 이 task가 G2의 단일 source writer다. 2026-10-30 8e 확인: p320/p330·archived queue에 G2 소유 task 없음.

입력

  • 정본 지도: _Transient/active/upstream-pr-owner-20261023/feature-pr-map.md G2 행(54행), 75행(closure WIP는 G2/G3/P6 뒤 원자 출시), 88행(G1 병합 후 G2→G3 게시).
  • 깨끗한 원 source: worktree D:/260720_Ai_Workspace_Tools/kandev-upstream-native-20261015-inference, branch codex/inference-attempt-ownership, 단일 commit 5bedc0ade4cf(base 561c00afc 2026-10-15), 27 files +1154/-13 — agentctl child owner·utility attempt·journal + docs/plans/inference-attempt-ownership(task-01-child-owner)·specs. 2026-10-30 status clean. 이 worktree는 읽기 전용 입력이다(쓰기·branch 이동 0).
  • 이식할 fork 후속 commit(현재 5bedc0에 없음, fork 통합 branch claude/native-work 등에만 있음): fbddd02ab c6d5785e8 2eadac0a9 08d759a34 5da687559 f19efc47a ad5d109c1 92b85790b 535b8f29c b814c0aaf aeec884a0 5a53455d1 da1476d5d c919da14a 0f45381a6 33dcdbf20 — CAS 보존, exact child transport·terminal proof, task/inference 공유 소유, native utility entry, shared admission·ordered settlement, stop proof teardown, predecessor child settle, read-failure isolation, current population/history 분리, owner continuity·legacy empty owner, bounded diagnostics, stopped run census 제거.

할 일 (원자 기능 1개)

  1. 자기 Native 사본을 만들고 G1 head cd6db092b444(fork branch codex/upstream-execution-grades-20261023)를 base로 G2 branch를 만든다. 공용 checkout·운영 사본·남의 dirty worktree(특히 kandev-upstream-native-20261015-inference-capacity의 closure WIP, kandev-upstream-native-20261015-integration) 쓰기 0.
  2. 첫 동작: 5bedc0을 G1 위로 가져와 G1의 grade/entry 계약(owner API·admission)과 맞춘다. 이어 위 fork commit의 G2 범위만 순서대로 이식한다(runtime/agentctl/inference_, lifecycle/inference_, agentctl server process/utility ownership, backendapp/inference_, orchestrator/inference_capacity.go, sessioncapacity/inference). fork 전용 control UI·K18·운영 전용 코드, G3/G4·#4721 provider-usage(P2) 범위, closure WIP는 가져오지 않는다. 경계가 애매하면 8e에 경로를 알린다.
  3. 증명할 것: child owner exact identity·terminal proof, task/inference 공유 admission과 ordered settlement, current population과 history 구분, 한 execution 읽기 실패가 전체 population을 비우지 않음, stopped run census 제거, G1 기본(opt-in off) 동작 보존. 기존 관련 test 파일과 좁은 build(go build·해당 package go test, Windows/unix 분기 파일 포함)를 재사용한다. 일회성 확인은 자동 수집 밖 임시 위치에서 하고 정리한다. 새 상시 test 파일·framework 0.
  4. 상류 pr-docs.cjs validateCoverage를 로컬로 돌려(변경 안 된 plan.md도 fileContents에 포함) 최소 linked work order를 맞춘다. normal hooks, 바뀐 delta만 gate workflow rv-run, 필수 지적만 고친다.
  5. 결과(branch·base/head·diffstat·commit 목록과 원 fork commit 대응, 검증 이름·결과, 제외한 범위와 이유, maintainer 판단이 필요한 미결)를 8e/current 96e9d7f4-0840-479a-b7b6-3e18d45b4da4에 1회.

경계

공개 PR/issue/comment/push 0 — 게시는 G1 #4715 병합 뒤 93→5d 단일 경로로 별도 판단(중복 PR 금지). 운영판 반영·교체·재시작 0, 운영 DB write 0. 새 권한·역할·schema·비밀·설정 잠금 우회 0. 모델·동적 순서·한도·profile 변경 0. force/reset/amend·미반영 branch 삭제 0. V1(#4950 review local source)·P50(sqlite reader pool)·P52b(deferred launch discard) writer와 같은 파일·Git ref 동시 쓰기 0(겹치면 8e에 알림).

## 원 요구·승인 소유자 직접 지시(운영 대화 2026-10-30, 원문): 「게시 가능한 V1부터 상류 PR로 올리고, 나머지 미제출 수정과 미완성 원본도 승인한 순서대로 완성·검증해서 PR 반영까지 계속 진행해줘. maintainer 답이 필요한 부분만 구분하고 가능한 작업은 이어가줘. 기존 기능·이력은 보존하고 중복 PR은 만들지 마.」 승인 순서상 G2는 '실제 의존 기능'이며 G1 #4715(opt-in total·execution-grade limits, OPEN·미병합, head cd6db092b444)에 의존한다. 이 task가 G2의 단일 source writer다. 2026-10-30 8e 확인: p320/p330·archived queue에 G2 소유 task 없음. ## 입력 - 정본 지도: _Transient/active/upstream-pr-owner-20261023/feature-pr-map.md G2 행(54행), 75행(closure WIP는 G2/G3/P6 뒤 원자 출시), 88행(G1 병합 후 G2→G3 게시). - 깨끗한 원 source: worktree D:/260720_Ai_Workspace_Tools/kandev-upstream-native-20261015-inference, branch codex/inference-attempt-ownership, 단일 commit 5bedc0ade4cf(base 561c00afc 2026-10-15), 27 files +1154/-13 — agentctl child owner·utility attempt·journal + docs/plans/inference-attempt-ownership(task-01-child-owner)·specs. 2026-10-30 status clean. 이 worktree는 읽기 전용 입력이다(쓰기·branch 이동 0). - 이식할 fork 후속 commit(현재 5bedc0에 없음, fork 통합 branch claude/native-work 등에만 있음): fbddd02ab c6d5785e8 2eadac0a9 08d759a34 5da687559 f19efc47a ad5d109c1 92b85790b 535b8f29c b814c0aaf aeec884a0 5a53455d1 da1476d5d c919da14a 0f45381a6 33dcdbf20 — CAS 보존, exact child transport·terminal proof, task/inference 공유 소유, native utility entry, shared admission·ordered settlement, stop proof teardown, predecessor child settle, read-failure isolation, current population/history 분리, owner continuity·legacy empty owner, bounded diagnostics, stopped run census 제거. ## 할 일 (원자 기능 1개) 1. 자기 Native 사본을 만들고 G1 head cd6db092b444(fork branch codex/upstream-execution-grades-20261023)를 base로 G2 branch를 만든다. 공용 checkout·운영 사본·남의 dirty worktree(특히 kandev-upstream-native-20261015-inference-capacity의 closure WIP, kandev-upstream-native-20261015-integration) 쓰기 0. 2. 첫 동작: 5bedc0을 G1 위로 가져와 G1의 grade/entry 계약(owner API·admission)과 맞춘다. 이어 위 fork commit의 G2 범위만 순서대로 이식한다(runtime/agentctl/inference_*, lifecycle/inference_*, agentctl server process/utility ownership, backendapp/inference_*, orchestrator/inference_capacity.go, sessioncapacity/inference*). fork 전용 control UI·K18·운영 전용 코드, G3/G4·#4721 provider-usage(P2) 범위, closure WIP는 가져오지 않는다. 경계가 애매하면 8e에 경로를 알린다. 3. 증명할 것: child owner exact identity·terminal proof, task/inference 공유 admission과 ordered settlement, current population과 history 구분, 한 execution 읽기 실패가 전체 population을 비우지 않음, stopped run census 제거, G1 기본(opt-in off) 동작 보존. 기존 관련 test 파일과 좁은 build(go build·해당 package go test, Windows/unix 분기 파일 포함)를 재사용한다. 일회성 확인은 자동 수집 밖 임시 위치에서 하고 정리한다. 새 상시 test 파일·framework 0. 4. 상류 pr-docs.cjs validateCoverage를 로컬로 돌려(변경 안 된 plan.md도 fileContents에 포함) 최소 linked work order를 맞춘다. normal hooks, 바뀐 delta만 gate workflow rv-run, 필수 지적만 고친다. 5. 결과(branch·base/head·diffstat·commit 목록과 원 fork commit 대응, 검증 이름·결과, 제외한 범위와 이유, maintainer 판단이 필요한 미결)를 8e/current 96e9d7f4-0840-479a-b7b6-3e18d45b4da4에 1회. ## 경계 공개 PR/issue/comment/push 0 — 게시는 G1 #4715 병합 뒤 93→5d 단일 경로로 별도 판단(중복 PR 금지). 운영판 반영·교체·재시작 0, 운영 DB write 0. 새 권한·역할·schema·비밀·설정 잠금 우회 0. 모델·동적 순서·한도·profile 변경 0. force/reset/amend·미반영 branch 삭제 0. V1(#4950 review local source)·P50(sqlite reader pool)·P52b(deferred launch discard) writer와 같은 파일·Git ref 동시 쓰기 0(겹치면 8e에 알림).
Author
Owner

G2 준비 완료(로컬, 미게시). branch kd/upstream-g2-inference-ownership-20261030, base cd6db092b444 (G1 #4715 OPEN), head b059bc57ddd, 71 files +4754/-76, 35 commits. RV workflow rv-run CALL-20261030-cc35488af700, verdict_id FORMAL-review-package.md-1793320376022459900-161086-upper-1, both reviewers APPROVE, findings 0, coverage unmatched 0. Persistent regression cases added to existing test files. push/PR 0 per boundary. Handoff to 8e/current 96e9d7f4 sent. Open: publication after G1 merge via 93→5d; #4721 manager.go hunk preserved.

G2 준비 완료(로컬, 미게시). branch kd/upstream-g2-inference-ownership-20261030, base cd6db092b444 (G1 #4715 OPEN), head b059bc57ddd, 71 files +4754/-76, 35 commits. RV workflow rv-run CALL-20261030-cc35488af700, verdict_id FORMAL-review-package.md-1793320376022459900-161086-upper-1, both reviewers APPROVE, findings 0, coverage unmatched 0. Persistent regression cases added to existing test files. push/PR 0 per boundary. Handoff to 8e/current 96e9d7f4 sent. Open: publication after G1 merge via 93→5d; #4721 manager.go hunk preserved.
Author
Owner

8e 수락(G2 로컬 후보, 공개 전): e21426f5 최종 보고. 사본 kandev-upstream-g2-i_a1xglhe1 branch kd/upstream-g2-inference-ownership-20261030 HEAD b059bc57ddd5 clean, base G1 cd6db092b444(#4715 OPEN) 위 35 commits 71 files +4754/-76. 원 5bedc0(docs만 채택, 코드는 chain A가 상위 집합) + fork 16 commit 이식(G3·P2·execution-flow 추적 제외 근거 기록). 상시 test: 기존 파일 4개에만 case 추가(sessioncapacity/store_test.go, orchestrator/ceiling_release_test.go, backendapp/message_queue_settings_test.go, agentctl/server/utility/runtime_observation_test.go), 새 test 파일 0. 8e 재실행 go test sessioncapacity·agentctl/server/utility PASS. RV CALL-20261030-cc35488af700 FORMAL-review-package.md-1793320376022459900-161086-upper-1 APPROVE(qwen mid + codex high) findings 0, 이전 필수 지적 9건 수정. lifecycle/manager.go #4721 hunk 비간섭. 게시 조건: G1 #4715 병합(또는 maintainer 지정 base) 뒤 재기준 확인 → 93->5d. 외부대기, flow open.

8e 수락(G2 로컬 후보, 공개 전): e21426f5 최종 보고. 사본 kandev-upstream-g2-i_a1xglhe1 branch kd/upstream-g2-inference-ownership-20261030 HEAD b059bc57ddd5 clean, base G1 cd6db092b444(#4715 OPEN) 위 35 commits 71 files +4754/-76. 원 5bedc0(docs만 채택, 코드는 chain A가 상위 집합) + fork 16 commit 이식(G3·P2·execution-flow 추적 제외 근거 기록). 상시 test: 기존 파일 4개에만 case 추가(sessioncapacity/store_test.go, orchestrator/ceiling_release_test.go, backendapp/message_queue_settings_test.go, agentctl/server/utility/runtime_observation_test.go), 새 test 파일 0. 8e 재실행 go test sessioncapacity·agentctl/server/utility PASS. RV CALL-20261030-cc35488af700 FORMAL-review-package.md-1793320376022459900-161086-upper-1 APPROVE(qwen mid + codex high) findings 0, 이전 필수 지적 9건 수정. lifecycle/manager.go #4721 hunk 비간섭. 게시 조건: G1 #4715 병합(또는 maintainer 지정 base) 뒤 재기준 확인 → 93->5d. 외부대기, flow open.
Author
Owner

CM re-entry reassessment 2026-10-31 08:21 KST: same G2 task e21426f5 source actual clean b059bc57ddd5220a5e1680ad4abf23c2e8a49363 preserved; prior formal CALL-20261030-cc35488af700 completed APPROVE and receiving CALL-20261030-83939cb6ee47/note20261030T003908351936Z remain valid. Actual source primary37081ed4 WFI, no new writer/test/RV/task. Official G1 PR4715 currently OPEN MERGEABLE at2d724313f32b6b351f1100275d895e9f791457c9, mergedAt/mergeCommit null; checked issue comments contain no newer maintainer topic-base designation. Corrected source Plan top from old24ad/922 to current prerequisite and explicit owner/date/resume condition. Keep public dependency wait: actual G1 main merge or validated maintainer topic base, then same G2 normal-history necessary delta only,93 acceptance and sole5d publication. Keep local b059 acceptance/G3/G4/V1 partial results and original scope; no duplicate source/review, operating change, premature close or public push. Queue intake is neither start nor completion.

CM re-entry reassessment 2026-10-31 08:21 KST: same G2 task e21426f5 source actual clean b059bc57ddd5220a5e1680ad4abf23c2e8a49363 preserved; prior formal CALL-20261030-cc35488af700 completed APPROVE and receiving CALL-20261030-83939cb6ee47/note20261030T003908351936Z remain valid. Actual source primary37081ed4 WFI, no new writer/test/RV/task. Official G1 PR4715 currently OPEN MERGEABLE at2d724313f32b6b351f1100275d895e9f791457c9, mergedAt/mergeCommit null; checked issue comments contain no newer maintainer topic-base designation. Corrected source Plan top from old24ad/922 to current prerequisite and explicit owner/date/resume condition. Keep public dependency wait: actual G1 main merge or validated maintainer topic base, then same G2 normal-history necessary delta only,93 acceptance and sole5d publication. Keep local b059 acceptance/G3/G4/V1 partial results and original scope; no duplicate source/review, operating change, premature close or public push. Queue intake is neither start nor completion.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dreampiler/kandev#218