P37 upstream prep: bound session admission behind stuck holders #90

Closed
opened 2026-10-14 16:12:54 +09:00 by dreampiler · 3 comments
Owner

Owner goal: move the approved P37 queue/session-admission defect upstream and reduce fork-only behavior. Candidate P37, proposal.md row 104: fix(queue): bound session admission so queue operations cannot hang behind a stuck holder. Historical fork source 0797bea018 / fork PR #91 plus #100 / prior W020 are not an upstream assignment. Compare current upstream/main and all live upstream PRs, including #4479/#4480, to avoid overlapping their queue/recovery fixes. Prepare only residual P37 behavior if not already present. The old candidate depends on fork-only test file I1; rewrite or replace only that narrow test dependency using existing upstream test patterns. Design pointer: 설계색인.md:25 → docs/features.md §Agent And Task Workflows; compare card invariant 5 (worktree isolation) only if the queue admission change actually touches it. Identify contract and source files:lines, prepare minimal upstream-ready branch, focused tests, and independent review. No upstream GitHub write, new PR, ledger/status edit, force push, shared-checkout write, or new test framework.

Owner goal: move the approved P37 queue/session-admission defect upstream and reduce fork-only behavior. Candidate P37, proposal.md row 104: fix(queue): bound session admission so queue operations cannot hang behind a stuck holder. Historical fork source 0797bea018 / fork PR #91 plus #100 / prior W020 are not an upstream assignment. Compare current upstream/main and all live upstream PRs, including #4479/#4480, to avoid overlapping their queue/recovery fixes. Prepare only residual P37 behavior if not already present. The old candidate depends on fork-only test file I1; rewrite or replace only that narrow test dependency using existing upstream test patterns. Design pointer: 설계색인.md:25 → docs/features.md §Agent And Task Workflows; compare card invariant 5 (worktree isolation) only if the queue admission change actually touches it. Identify contract and source files:lines, prepare minimal upstream-ready branch, focused tests, and independent review. No upstream GitHub write, new PR, ledger/status edit, force push, shared-checkout write, or new test framework.
Author
Owner

P37 기존36e→77d 후보의 외부 단일 source 준비 완료. base15ed289c/head50dab93ae056389580e00d0082dbd63d3933d97d, fork branchcodex/upstream-p37-1015 정상push/clean. production6+package4+publicdocs1, 11files464+/17-. 기존 집중/임시7/web30/splitlint/정상hooks와독립source검토필수0 실제인수. 새standingcase0. 93/5d에실제패키지전달했으며fresh상류중복·cap확인뒤게시/CI/리뷰는같은전담이계속. 운영반영/상류merge/전체종결아님.

P37 기존36e→77d 후보의 외부 단일 source 준비 완료. base15ed289c/head50dab93ae056389580e00d0082dbd63d3933d97d, fork branchcodex/upstream-p37-1015 정상push/clean. production6+package4+publicdocs1, 11files464+/17-. 기존 집중/임시7/web30/splitlint/정상hooks와독립source검토필수0 실제인수. 새standingcase0. 93/5d에실제패키지전달했으며fresh상류중복·cap확인뒤게시/CI/리뷰는같은전담이계속. 운영반영/상류merge/전체종결아님.
Author
Owner

P37 상류PR4503 OPEN/head7fb36ac129344d73b4a996f782a6c7e678e386d8 실제GitHub원응답확인. existing5d가게시했고rootPR첨부/actualsourceclean/push확인. 문서연결fix existingcoverage covered/errors[], production/code독립review및기존/임시검증재사용. 새standingcase0. 원논리36e→77d/queue유지,CI·bot/maintainer응답및후속source는same전담/단일writer로계속. 상류merge/운영반영/전체후보종결은아님.

P37 상류PR4503 OPEN/head7fb36ac129344d73b4a996f782a6c7e678e386d8 실제GitHub원응답확인. existing5d가게시했고rootPR첨부/actualsourceclean/push확인. 문서연결fix existingcoverage covered/errors[], production/code독립review및기존/임시검증재사용. 새standingcase0. 원논리36e→77d/queue유지,CI·bot/maintainer응답및후속source는same전담/단일writer로계속. 상류merge/운영반영/전체후보종결은아님.
Author
Owner

별도 Codex 코드관리의 P37 후속 완료. upstream4503 actualhead ad57ce7416b111b40702168ca7db2fc70c58934a/OPEN 직접확인. 공개지적3묶음(2requests35000ms, edit-lease미실행budget제외, failedrequeuecompensation동안reservation유지/existingStopowner재사용) 최소수정. fixup7files184+/28-, fullPR13files668+/37-. source독립검토2artifact잔여필수0/기존web30+handler6/임시edit·realSQLiteworker61s FIFO복원·Stopcanceljoin/data보존/callerterminal분리·기존recovery4/vet/lint/normalhooks PASS. 초기fixture실패와mixedcommand실패는분리기록/전체shutdown성공주장안함. 새standingcase0, 기존assert만수정, 임시잔여0. finalpr-docs13pathscovered/errors0. 정상commit/push/sourceclean, exacthead와지적별근거를 codex_p37_ad57_three_findings_fixed_1015.md로5d·93에전달. 5d동일4503본문/답글/현headCI인수, 새PR/task0/운영변경0. 원소스보존. Root는77d의새nativewriter를만들지않음.

별도 Codex 코드관리의 P37 후속 완료. upstream4503 actualhead ad57ce7416b111b40702168ca7db2fc70c58934a/OPEN 직접확인. 공개지적3묶음(2requests35000ms, edit-lease미실행budget제외, failedrequeuecompensation동안reservation유지/existingStopowner재사용) 최소수정. fixup7files184+/28-, fullPR13files668+/37-. source독립검토2artifact잔여필수0/기존web30+handler6/임시edit·realSQLiteworker61s FIFO복원·Stopcanceljoin/data보존/callerterminal분리·기존recovery4/vet/lint/normalhooks PASS. 초기fixture실패와mixedcommand실패는분리기록/전체shutdown성공주장안함. 새standingcase0, 기존assert만수정, 임시잔여0. finalpr-docs13pathscovered/errors0. 정상commit/push/sourceclean, exacthead와지적별근거를 codex_p37_ad57_three_findings_fixed_1015.md로5d·93에전달. 5d동일4503본문/답글/현headCI인수, 새PR/task0/운영변경0. 원소스보존. Root는77d의새nativewriter를만들지않음.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dreampiler/kandev#90