GeezerVison is showing github.com — Merge pull request #1097 from lidge-jun/codex/260806-disposition-sweep · lidge-jun/opencodex@7425855
File treeExpand file treeCollapse file tree Open diff view settings devlog/_plan/260806_disposition_sweep
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboard +65Lines changed: 65 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# 000 — Plan: 10-item disposition sweep (2026-08-06) | | 2 | + | | 3 | +## Objective | | 4 | + | | 5 | +Dispose of exactly the ten items surfaced in the 2026-08-06 triage report | | 6 | +(user steering: "모든 pr은 아니고 너가 제시한 것만 처리"), record every | | 7 | +action in this unit, and open the unit as a PR. **Nothing merges to dev in | | 8 | +this loop** — code changes and the devlog land via an open PR only. | | 9 | + | | 10 | +## Base | | 11 | + | | 12 | +| Fact | Value | | | 13 | +|------|-------| | | 14 | +| `origin/dev` | `b3a1d90a8` (bfbc9a405 + devlog-only ledger commits; re-frozen after audit finding 1) | | | 15 | +| Worktree | `/Users/jun/.codex/worktrees/37e6/opencodex`, branch `codex/260806-disposition-sweep` | | | 16 | +| Scope freeze | the 10 items below; later arrivals (e.g. #1092) are OUT | | | 17 | + | | 18 | +## Disposition rules (user authorization 2026-08-06) | | 19 | + | | 20 | +| Rule | Bucket | Action | | | 21 | +|------|--------|--------| | | 22 | +| R1 | INCOMPLETE | close with a detailed defect list + "complete and reopen" guidance | | | 23 | +| R2 | NON-BUG | comment evidence, close, invite reopen with repro | | | 24 | +| R3 | OWN-PR | rebase onto dev, terra-verify, push to the PR branch — **no merge** | | | 25 | +| R4 | ABSORBED | close with source-level evidence (file:line or merge SHA) | | | 26 | +| R5 | STALE-CLEAR | complete-quality code but undecided intent → stale-mark comment, keep open | | | 27 | +| R6 | SHELL | non-compiling / no-op / cosmetic-only → close | | | 28 | + | | 29 | +No merges this loop. Own-PR lanes end at "pushed, CI running, PR open". | | 30 | + | | 31 | +## The ten items | | 32 | + | | 33 | +| # | Item | Rule | Planned action | | | 34 | +|---|------|------|----------------| | | 35 | +| 1 | #1017 + PR #1036 (Cursor apply_patch) | R1-review | request-changes comment: synthetic-tool name provenance + final-catalog gaps; PR stays open (author active) | | | 36 | +| 2 | #919 (socket reset vs affinity) | R2 | close as intended-policy/enhancement with maintainer rationale; do NOT cite #914 as the successor (closed, pre-header scope only — audit finding 2); reopen path = concrete attribution-policy proposal or new repro | | | 37 | +| 3 | #1090 + #1091 (base_url injection) | R4-partial | #1090: regression test for the external-provider path on sweep branch + comment distinguishing attempt 1 (fixed, `inject.ts:74,636-658`) from attempt 3 (`model_provider="opencodex"` re-runs injection by design, `inject.ts:701-747`); close ONLY if attempt-3 scope proves by-design/resolved after full read — else keep open with status. #1091: status comment, keep open | | | 38 | +| 4 | #994 + PR #1068 (DeepSeek reasoning replay) | R1-review | comment: rebase required (CONFLICTING), Zen slice credible, Claude-path gap stays open | | | 39 | +| 5 | #936 (own, trust boundaries) | R3 | rebase onto dev, terra security audit, push — PR stays open for human security review | | | 40 | +| 6 | #1059 (Windows suite) | keep-open | status comment defining shard-by-shard burn-down expectation | | | 41 | +| 7 | #1008 (own, usage rollup) | R3 | rebase, triage 29 threads → fix-now vs redesign, implement fix-now, push — no merge | | | 42 | +| 8 | #1019 (account picker lifecycle, 106 files) | R5-adjacent | comment: split request into reviewable slices; hygiene gate noted; stays open | | | 43 | +| 9 | agentHits campaign: PRs #1084/#1083/#1081/#1079/#1077 | R6/R1 | close each with tailored, verified defect list + explicit "complete and reopen" guidance (user rule R1; author is active — audit finding 5 noted, tone must be respectful and specific). Linked issues #1062/#1063/#1060/#1058/#1076/#1082 are IN SCOPE as part of item 9: one policy comment each, stay open. Verified defects: #1084 cooldown no-op (`oauth-account-routes.ts:374` → `clearAnthropicAccountCooldown` Anthropic-only `anthropic-routing.ts:117`), #1081/#1079 invalid TS in six locales (bare string after value) | | | 44 | +| 10 | #1085 + #997 (easy rebases) | R5-adjacent | comment asking authors to rebase; note READY verdict; stay open | | | 45 | + | | 46 | +PR state re-verified post-audit: #936 CONFLICTING (rebase required), #1068 | | 47 | +CONFLICTING, #1036 now MERGEABLE/CLEAN. | | 48 | + | | 49 | +## Work-phase map | | 50 | + | | 51 | +| Phase | Doc | Content | | | 52 | +|-------|-----|---------| | | 53 | +| wp0 | 000-001 | this plan + per-item disposition matrix (docs-only cycle) | | | 54 | +| wp1 | 010 | GitHub dispositions for items 1,2,3(comment),4,6,8,9,10 | | | 55 | +| wp2 | 020 | #1090 regression test on sweep branch; close #1090 only if the attempt-3 scope proves by-design/resolved, else status comment + keep open | | | 56 | +| wp3 | 030 | #936 rebase + terra security audit + push (no merge) | | | 57 | +| wp4 | 040 | #1008 rebase + thread triage + bounded fixes + push (no merge) | | | 58 | +| wp5 | 050 | closeout ledger + open sweep PR + live end-state snapshot | | | 59 | + | | 60 | +## Out of scope | | 61 | + | | 62 | +Any merge into dev, main/preview promotion, releases, new feature | | 63 | +implementation, PRs/issues outside the ten items (incl. #1092, #557, | | 64 | +provider-preset drafts), the user's usage-log 500k cap edits, | | 65 | +account/identity actions. |
Collapse file Copy file name to clipboard +47Lines changed: 47 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# 001 — Disposition matrix (audited, terra PASS) | | 2 | + | | 3 | +Scope: exactly the ten items from the 2026-08-06 triage report. User rules: | | 4 | +incomplete → close + resubmit guidance; non-bug → close with evidence; own | | 5 | +PRs → rebase + terra audit + push (NO MERGE); absorbed → close with | | 6 | +evidence; complete-but-undecided → stale-mark; shell → close. | | 7 | + | | 8 | +Base: `origin/dev` = `b3a1d90a8`. Audit trail: initial terra audit FAIL | | 9 | +(7 findings), amended, FAIL (wp2 contradiction), amended, PASS. | | 10 | + | | 11 | +| # | Target | Bucket | Action | Executor phase | | | 12 | +|---|--------|--------|--------|----------------| | | 13 | +| 1 | PR #1036 (+#1017) | R1-review | request-changes: synthetic-tool provenance, final-catalog derivation; stays open | wp1 | | | 14 | +| 2 | issue #919 | R2 close | close as intended-policy/enhancement; no #914 citation; reopen = attribution proposal or new repro | wp1 | | | 15 | +| 3a | issue #1090 | R4-partial | wp2 test first; close only if attempt-3 (`model_provider="opencodex"`) proves by-design; else status comment | wp2 | | | 16 | +| 3b | issue #1091 | comment | status comment: legitimate ask, security-sensitive design (config.ts:1253 gate), keep open | wp1 | | | 17 | +| 4 | PR #1068 (+#994) | R1-review | comment: rebase required (CONFLICTING), Zen slice credible, Claude-path gap remains; stays open | wp1 | | | 18 | +| 5 | PR #936 (own) | R3 | rebase onto b3a1d90a8+, terra security audit, push; PR stays open, NO merge | wp3 | | | 19 | +| 6 | issue #1059 | keep-open | status comment: shard-by-shard burn-down plan expectation | wp1 | | | 20 | +| 7 | PR #1008 (own) | R3 | rebase, triage 29 threads fix-now/redesign, implement fix-now, terra audit, push; NO merge | wp4 | | | 21 | +| 8 | PR #1019 | R5-adjacent | comment: split into reviewable slices, hygiene gate noted; stays open | wp1 | | | 22 | +| 9 | PRs #1084/#1083/#1081/#1079/#1077 + issues #1062/#1063/#1060/#1058/#1076/#1082 | R1/R6 close (PRs) + comment (issues) | close each PR with verified defect list + reopen invitation; issues get policy comment, stay open | wp1 | | | 23 | +| 10 | PRs #1085, #997 | R5-adjacent | rebase-request comments, READY verdict noted; stay open | wp1 | | | 24 | + | | 25 | +## Verified defect evidence for item 9 closes | | 26 | + | | 27 | +- #1084: cooldown endpoint permits `google-antigravity` but calls | | 28 | + `clearAnthropicAccountCooldown` which only clears the Anthropic health map | | 29 | + (`src/server/management/oauth-account-routes.ts:374`, | | 30 | + `src/oauth/anthropic-routing.ts:117`) — functional no-op for the new | | 31 | + provider; no pool-routing consumer for the added config. | | 32 | +- #1083: selector changes a badge only; metrics remain provider-aggregated. | | 33 | +- #1081: six locale files contain a bare string literal after a value | | 34 | + (`"prov.expiresAt": "...", "Accounts ({n})",`) — invalid TS, does not | | 35 | + compile; token expiry mislabeled as subscription expiry. | | 36 | +- #1079: same six-locale breakage; promised daily breakdown absent; | | 37 | + "yesterday" is a rolling window. | | 38 | +- #1077: closest to viable, but accepts refresh tokens via argv (leaks into | | 39 | + shell history/process lists), missing required GUI evidence, credential | | 40 | + surface needs security review. | | 41 | + | | 42 | +## Constraints | | 43 | + | | 44 | +- NO merge into dev anywhere in this loop. | | 45 | +- All sweep-branch changes (devlog + #1090 test) land via an open PR only. | | 46 | +- #919 close and agentHits closes are owner-policy decisions recorded here; | | 47 | + comments must be respectful, specific, and carry explicit reopen paths. |
Collapse file Copy file name to clipboard +55Lines changed: 55 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +# 010 — wp1: GitHub dispositions (items 1,2,3b,4,6,8,9,10) | | 2 | + | | 3 | +All writes are comments/closes/reviews; no code, no merges. Every action | | 4 | +records its comment id in the ledger table at the bottom. | | 5 | + | | 6 | +## Planned actions | | 7 | + | | 8 | +1. PR #1036: review comment (request changes): (a) conversion keys on bare | | 9 | + tool name — a client-owned `edit_file` would be mistranslated; needs a | | 10 | + per-request synthetic-name set; (b) structured-edit availability derived | | 11 | + from the original request instead of the final prompt-filtered catalog. | | 12 | + Approach endorsed; stays open. | | 13 | +2. Issue #919: close (not-planned) — behavior is intended account-health | | 14 | + policy; reclassified enhancement; reopen path: concrete attribution | | 15 | + policy proposal or new repro isolating non-network cause. | | 16 | +3. Issue #1091: status comment — valid request; blocked on security design | | 17 | + (pool-eligibility gate at `src/config.ts:1253` is deliberate); keep open. | | 18 | +4. PR #1068: comment — rebase onto dev required (CONFLICTING); Zen registry | | 19 | + slice credible with tests; end-to-end Claude Messages continuation | | 20 | + regression still missing; #994 stays open either way. | | 21 | +5. Issue #1059: status comment — dispatch-only stands; expectation: | | 22 | + shard-by-shard burn-down, gate restored only after full green run. | | 23 | +6. PR #1019: comment — split request into reviewable slices (settings | | 24 | + schema / selector init / catalog convergence / GUI), hygiene gate must | | 25 | + pass; stays open. | | 26 | +7. agentHits PR closes (verified defects in 001): #1084, #1083, #1081, | | 27 | + #1079, #1077 — each closed with its specific defect list + explicit | | 28 | + "complete and reopen" invitation. Linked issues #1062/#1063/#1060/ | | 29 | + #1058/#1076/#1082: one policy comment each (ideas retained; small | | 30 | + independently-testable slices invited), stay open. | | 31 | +8. PRs #1085/#997: rebase-request comments; READY verdicts noted. | | 32 | + | | 33 | +## Ledger (filled during execution) | | 34 | + | | 35 | +| Target | Action | Comment/close id | Verified | | | 36 | +|--------|--------|------------------|----------| | | 37 | +| PR #1036 | review REQUEST_CHANGES | posted 2026-08-06 (gh pr review) | pending C | | | 38 | +| issue #919 | closed not-planned + comment | close via gh issue close | pending C | | | 39 | +| issue #1091 | status comment, open | 5199487703 | pending C | | | 40 | +| PR #1068 | rebase-request comment, open | 5199487780 | pending C | | | 41 | +| issue #1059 | status comment, open | 5199487879 | pending C | | | 42 | +| PR #1019 | split-request comment, open | 5199488679 | pending C | | | 43 | +| PR #1085 | security-pass comment, open | 5199488762 | pending C | | | 44 | +| PR #997 | rebase-request comment, open | 5199488854 | pending C | | | 45 | +| PR #1084 | closed + defect comment | gh pr close | pending C | | | 46 | +| PR #1083 | closed + defect comment | gh pr close | pending C | | | 47 | +| PR #1081 | closed + defect comment | gh pr close | pending C | | | 48 | +| PR #1079 | closed + defect comment | gh pr close | pending C | | | 49 | +| PR #1077 | closed + defect comment | gh pr close | pending C | | | 50 | +| issue #1062 | policy comment, open | 5199492623 | pending C | | | 51 | +| issue #1063 | policy comment, open | 5199492696 | pending C | | | 52 | +| issue #1060 | policy comment, open | 5199492785 | pending C | | | 53 | +| issue #1058 | policy comment, open | 5199492864 | pending C | | | 54 | +| issue #1076 | policy comment, open | 5199492948 | pending C | | | 55 | +| issue #1082 | policy comment, open | 5199493056 | pending C | |
|