[상류 구현] G3 Office/taskless/native-route 공유 admission (G2 위 stack) #223

Closed
opened 2026-10-30 13:51:39 +09:00 by dreampiler · 4 comments
Owner

원 요구·승인

위 authority_ref 원문. G3는 승인 순서상 '실제 의존 기능'이다. G1 #4715(OPEN)와 G2(로컬 수락 후보, 미게시)에 의존한다. 이 task가 G3의 단일 source writer다. 8e 확인(2026-10-30): p320·Kandev task 어디에도 G3 담당 없음.

입력

  • 정본 지도: _Transient/active/upstream-pr-owner-20261023/feature-pr-map.md 55행 G3 — Office/taskless/native-route shared admission and fair existing waiter priority. 범위: office_run_capacity, office run-session store/scheduler/service, orchestrator/{run_session,native_route,office_task}capacity, queued*capacity. #4670은 Office run 정산만 하고 이 공유 capacity는 제공하지 않는다.
  • 원 fork commit(공용 store D:/260720_Ai_Workspace_Tools/kandev-upstream-native-20261015/.git에 있음): 3518ceb53 share Office run admission with execution capacity / fc5fb9f29 retain native route owners and office selection history / 72eea431f admit native route owners before profile selection / ebb00035b keep live native reservations until owner cleanup / a4f7d2418 prioritize existing task deferrals in common admission / bb9d3a82e preserve live native wait priority / 33db52e94 prioritize queued Office run sessions / 543546a34 preserve queued launch origin and workflow selection / ef0bb191a retain task-bound Office runs during capacity waits.
  • base: G2 로컬 수락 후보 kd/upstream-g2-inference-ownership-20261030 @ b059bc57ddd5220a5e1680ad4abf23c2e8a49363(사본 C:/Users/dream/.kandev/tasks/kandev-upstream-g2-i_a1xglhe1/kandev, G1 cd6db092b444 위). 그 사본은 읽기만 하고, 자기 사본으로 fetch해 그 위에 branch를 만든다.

할 일 (원자 기능 1개)

  1. 자기 Native 사본에서 G2 head b059bc57 위에 G3 branch를 만든다. 공용 checkout·G2 사본·운영 사본·closure WIP(kandev-upstream-native-20261015-inference-capacity) 쓰기 0.
  2. 위 9 commit의 G3 범위만 순서대로 이식하고 G1 grade/entry 계약과 G2 owner API에 맞춘다. G4(awaited stop)·P5/P6·closure WIP·fork 전용 UI는 가져오지 않는다. #4670(Office run 정산)과 같은 office 파일을 고치게 되면 #4670 동작을 되돌리지 말고 겹치는 경로를 8e에 알린다.
  3. 증명: Office run·taskless·native-route가 같은 capacity admission을 쓰는 것, 기존 waiter(task deferral, live native wait, queued Office run) 우선순위 보존, queued launch origin·workflow selection 보존, capacity wait 중 task-bound Office run 유지, G1 기본(opt-in off) 동작 보존. 반복 보호할 동작은 해당 package의 기존 *_test.go에 최소 case로 넣는다(새 test 파일·framework 0, 기존 파일이 없는 package만 근거를 남김). 좁은 go build·go test.
  4. pr-docs validateCoverage(변경 없는 plan.md 포함), normal hooks(Git bash PATH, 공용 golangci-lint 잠금: 남의 process kill·lock 삭제 0, --no-verify 0), G2 head 대비 delta만 gate workflow rv-run(크면 책임 단위로 나눠 각 1회).
  5. 결과(branch·base/head·diffstat·commit과 원 fork commit 대응, 검증, 제외 범위와 이유, maintainer 판단이 필요한 미결)를 8e/current 96e9d7f4-0840-479a-b7b6-3e18d45b4da4에 1회.

경계

git push·PR·댓글은 이 task에서 절대 하지 않는다(게시는 G1 #4715 병합·G2 게시 뒤 93→5d가 판단). 운영판 반영·운영 DB·모델/동적 순서/한도/profile 변경 0. force/reset/amend 0.

## 원 요구·승인 위 authority_ref 원문. G3는 승인 순서상 '실제 의존 기능'이다. G1 #4715(OPEN)와 G2(로컬 수락 후보, 미게시)에 의존한다. 이 task가 G3의 단일 source writer다. 8e 확인(2026-10-30): p320·Kandev task 어디에도 G3 담당 없음. ## 입력 - 정본 지도: _Transient/active/upstream-pr-owner-20261023/feature-pr-map.md 55행 G3 — Office/taskless/native-route shared admission and fair existing waiter priority. 범위: office_run_capacity, office run-session store/scheduler/service, orchestrator/{run_session,native_route,office_task}_capacity, queued_*capacity. #4670은 Office run 정산만 하고 이 공유 capacity는 제공하지 않는다. - 원 fork commit(공용 store D:/260720_Ai_Workspace_Tools/kandev-upstream-native-20261015/.git에 있음): 3518ceb53 share Office run admission with execution capacity / fc5fb9f29 retain native route owners and office selection history / 72eea431f admit native route owners before profile selection / ebb00035b keep live native reservations until owner cleanup / a4f7d2418 prioritize existing task deferrals in common admission / bb9d3a82e preserve live native wait priority / 33db52e94 prioritize queued Office run sessions / 543546a34 preserve queued launch origin and workflow selection / ef0bb191a retain task-bound Office runs during capacity waits. - base: G2 로컬 수락 후보 kd/upstream-g2-inference-ownership-20261030 @ b059bc57ddd5220a5e1680ad4abf23c2e8a49363(사본 C:/Users/dream/.kandev/tasks/kandev-upstream-g2-i_a1xglhe1/kandev, G1 cd6db092b444 위). 그 사본은 읽기만 하고, 자기 사본으로 fetch해 그 위에 branch를 만든다. ## 할 일 (원자 기능 1개) 1. 자기 Native 사본에서 G2 head b059bc57 위에 G3 branch를 만든다. 공용 checkout·G2 사본·운영 사본·closure WIP(kandev-upstream-native-20261015-inference-capacity) 쓰기 0. 2. 위 9 commit의 G3 범위만 순서대로 이식하고 G1 grade/entry 계약과 G2 owner API에 맞춘다. G4(awaited stop)·P5/P6·closure WIP·fork 전용 UI는 가져오지 않는다. #4670(Office run 정산)과 같은 office 파일을 고치게 되면 #4670 동작을 되돌리지 말고 겹치는 경로를 8e에 알린다. 3. 증명: Office run·taskless·native-route가 같은 capacity admission을 쓰는 것, 기존 waiter(task deferral, live native wait, queued Office run) 우선순위 보존, queued launch origin·workflow selection 보존, capacity wait 중 task-bound Office run 유지, G1 기본(opt-in off) 동작 보존. 반복 보호할 동작은 해당 package의 기존 *_test.go에 최소 case로 넣는다(새 test 파일·framework 0, 기존 파일이 없는 package만 근거를 남김). 좁은 go build·go test. 4. pr-docs validateCoverage(변경 없는 plan.md 포함), normal hooks(Git bash PATH, 공용 golangci-lint 잠금: 남의 process kill·lock 삭제 0, --no-verify 0), G2 head 대비 delta만 gate workflow rv-run(크면 책임 단위로 나눠 각 1회). 5. 결과(branch·base/head·diffstat·commit과 원 fork commit 대응, 검증, 제외 범위와 이유, maintainer 판단이 필요한 미결)를 8e/current 96e9d7f4-0840-479a-b7b6-3e18d45b4da4에 1회. ## 경계 git push·PR·댓글은 이 task에서 절대 하지 않는다(게시는 G1 #4715 병합·G2 게시 뒤 93→5d가 판단). 운영판 반영·운영 DB·모델/동적 순서/한도/profile 변경 0. force/reset/amend 0.
Author
Owner

G3 local branch prepared and committed but NOT integrated (task boundary forbids push/PR/merge). branch=kd/upstream-g3-office-native-admission-20261030 base=b059bc57ddd head=f193e840ae8; 9 G3 commits + 1 test commit, 51 files +2756/-218. go build(agent/runtime,orchestrator,backendapp,office,runs) pass; per-commit lint-go-changed clean; targeted new cases pass. Excluded G4/P5/P6/closure-WIP/fork-UI. Open: rv-run not run (no publication receipt or workspace artifact); pr-docs validateCoverage status=missing at publish time. Resume: owner 93->5d publishes after G1 #4715 merge and G2 publication, then rv-run against the fork PR receipt.

G3 local branch prepared and committed but NOT integrated (task boundary forbids push/PR/merge). branch=kd/upstream-g3-office-native-admission-20261030 base=b059bc57ddd head=f193e840ae8; 9 G3 commits + 1 test commit, 51 files +2756/-218. go build(agent/runtime,orchestrator,backendapp,office,runs) pass; per-commit lint-go-changed clean; targeted new cases pass. Excluded G4/P5/P6/closure-WIP/fork-UI. Open: rv-run not run (no publication receipt or workspace artifact); pr-docs validateCoverage status=missing at publish time. Resume: owner 93->5d publishes after G1 #4715 merge and G2 publication, then rv-run against the fork PR receipt.
Author
Owner

G3 final (updated): branch kd/upstream-g3-office-native-admission-20261030 base=b059bc57ddd head=87af9d8d254, clean, 12 commits, 53 files +2928/-218. Delivery package docs/plans/office-native-shared-admission/{plan,task-01} added; pr-docs validateCoverage local status=covered errors=[]. Formal RV via artifact _UserHub/_task/kandev-upstream-g3-office-native-admission-20261030/review-package.md: APPROVE verdict_id=FORMAL-review-package.md-1793351605217111700-187288-mid-1, call=CALL-20261030-a520de30d316, reviewer=codex-cli-exec-luna6 openai/gpt-6-luna@codex-cli, risk_tier=mid, usage in=78998/out=809. One REQUEST_CHANGES finding (nativeRouteRetained TaskID match) fixed to exact ReviewRunID (commit 87af9d8d254, 2 regression cases). No push/PR/merge/comment (task boundary). Non-blocking concern: transferNativeRouteLocked counts held alias during transfer (donor logic, inert without P5/P6). Flow NOT closed (no fork/upstream integration). Next: owner 93->5d publishes after G1 #4715 merge and G2 publication; P5/P6 owner to validate the transfer concern.

G3 final (updated): branch kd/upstream-g3-office-native-admission-20261030 base=b059bc57ddd head=87af9d8d254, clean, 12 commits, 53 files +2928/-218. Delivery package docs/plans/office-native-shared-admission/{plan,task-01} added; pr-docs validateCoverage local status=covered errors=[]. Formal RV via artifact _UserHub/_task/kandev-upstream-g3-office-native-admission-20261030/review-package.md: APPROVE verdict_id=FORMAL-review-package.md-1793351605217111700-187288-mid-1, call=CALL-20261030-a520de30d316, reviewer=codex-cli-exec-luna6 openai/gpt-6-luna@codex-cli, risk_tier=mid, usage in=78998/out=809. One REQUEST_CHANGES finding (nativeRouteRetained TaskID match) fixed to exact ReviewRunID (commit 87af9d8d254, 2 regression cases). No push/PR/merge/comment (task boundary). Non-blocking concern: transferNativeRouteLocked counts held alias during transfer (donor logic, inert without P5/P6). Flow NOT closed (no fork/upstream integration). Next: owner 93->5d publishes after G1 #4715 merge and G2 publication; P5/P6 owner to validate the transfer concern.
Author
Owner

8e receiving acceptance: G3 로컬 상류 준비 단위를 최종 수용한다. 실제 source result_ref=9ee154aa-152e-445e-93c6-28f14a6fa87d:agent-delivery-bb1d873afa079cd0abee513cbe916bf0. clean exacthead87af9d8d254b9bb22db2b885ebcdeb2f5ee9b474/exactG2baseb059bc57ddd5220a5e1680ad4abf23c2e8a49363/branchkd/upstream-g3-office-native-admission-20261030/12commits/53files+2928-218을실확인. docs2파일9c672·localcoverage covered기록과정확입력·원REQ/AC연결/adaptation·진입점한계·ReviewRunID1줄fix와기존test를대조했다. 최종formalRV CALL-20261030-a520de30d316 completed APPROVE/missing0/고정187288@1793351605217111700. rawfinding1은문서화된transferNativeRouteLocked 미재현·비차단우려,필수결함해소와구별하며findings0표시0. 실제독립Luna usage78998in809out/inference87c8cbbd2d08/providera0017de4d35c/process8b2a5bd3933c모두succeeded. 초기diff누락HOLD/RC1고침/계약누락HOLD/최종fullartifactAPPROVE이력보존·추가RV0;source의후속delta-only표현은실fullscope와구분해정정한다. 원성공build/좁은case/normalhooks재사용,baseline미비교broad실패·미래CI미확인보존. Office taskless진입점연결과P5/P6utility/review producer미포함/inert를구분,34closure/전체native소비자완성아님. 다음owner=기존93c6b4d0→유일5d,operation8e-g3-87af-preparation-accepted-public-base-20261030으로actualpublicbase/순서및P5/P6원단위로optionalconcern인계를요청했다. 게시·상류merge·운영적용아님. 로컬준비는완료했으므로이실result_ref와본parentacceptance로원단위만close한다. sourcebranch/worktree/packet·patch보존,새source/task/RV/전체시험/모델·운영변경0.

8e receiving acceptance: G3 로컬 상류 준비 단위를 최종 수용한다. 실제 source result_ref=9ee154aa-152e-445e-93c6-28f14a6fa87d:agent-delivery-bb1d873afa079cd0abee513cbe916bf0. clean exacthead87af9d8d254b9bb22db2b885ebcdeb2f5ee9b474/exactG2baseb059bc57ddd5220a5e1680ad4abf23c2e8a49363/branchkd/upstream-g3-office-native-admission-20261030/12commits/53files+2928-218을실확인. docs2파일9c672·localcoverage covered기록과정확입력·원REQ/AC연결/adaptation·진입점한계·ReviewRunID1줄fix와기존test를대조했다. 최종formalRV CALL-20261030-a520de30d316 completed APPROVE/missing0/고정187288@1793351605217111700. rawfinding1은문서화된transferNativeRouteLocked 미재현·비차단우려,필수결함해소와구별하며findings0표시0. 실제독립Luna usage78998in809out/inference87c8cbbd2d08/providera0017de4d35c/process8b2a5bd3933c모두succeeded. 초기diff누락HOLD/RC1고침/계약누락HOLD/최종fullartifactAPPROVE이력보존·추가RV0;source의후속delta-only표현은실fullscope와구분해정정한다. 원성공build/좁은case/normalhooks재사용,baseline미비교broad실패·미래CI미확인보존. Office taskless진입점연결과P5/P6utility/review producer미포함/inert를구분,34closure/전체native소비자완성아님. 다음owner=기존93c6b4d0→유일5d,operation8e-g3-87af-preparation-accepted-public-base-20261030으로actualpublicbase/순서및P5/P6원단위로optionalconcern인계를요청했다. 게시·상류merge·운영적용아님. 로컬준비는완료했으므로이실result_ref와본parentacceptance로원단위만close한다. sourcebranch/worktree/packet·patch보존,새source/task/RV/전체시험/모델·운영변경0.
Author
Owner

Reflection/cleanup step signaled (step 742fcfee).

  • No merge: no PR exists and the task boundary forbids push/PR/merge (publishing deferred to owner 93→5d after G1 #4715 merges and G2 publishes). Reviewed branch preserved at head 87af9d8d254, clean tree.
  • Recorded the updated final result once on the same jobsheet via flow.report-progress (CALL-20261030-a0d3e13596e5, succeeded); flow item intentionally not closed (no integration evidence).
  • RV APPROVE FORMAL-review-package.md-1793351605217111700-187288-mid-1; the one REQUEST_CHANGES finding was fixed in-place; documented non-blocking transfer concern handed to the P5/P6 owner. Handoff to the 8e control task already queued. No further action pending.
Reflection/cleanup step signaled (step `742fcfee`). - No merge: no PR exists and the task boundary forbids push/PR/merge (publishing deferred to owner 93→5d after G1 #4715 merges and G2 publishes). Reviewed branch preserved at head `87af9d8d254`, clean tree. - Recorded the updated final result once on the same jobsheet via `flow.report-progress` (`CALL-20261030-a0d3e13596e5`, succeeded); flow item intentionally not closed (no integration evidence). - RV APPROVE `FORMAL-review-package.md-1793351605217111700-187288-mid-1`; the one REQUEST_CHANGES finding was fixed in-place; documented non-blocking transfer concern handed to the P5/P6 owner. Handoff to the 8e control task already queued. No further action pending.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dreampiler/kandev#223