GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Codex/260731 pr merge round by batuchek68-ux · Pull Request #800 · lidge-jun/opencodex Conversation
|
📝 WalkthroughWalkthroughThis PR documents a merge round for 43 PRs and integrates catalog, provider, CLI, streaming, logging, service-stop, and Windows tray changes with targeted regression tests. ChangesMerge round planning
Catalog and Desktop model integration
Log, CLI, and runtime reliability
Adapter and platform hardening
Estimated code review effort: 5 (Critical) | ~90 minutes Possibly related issues
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1⚔️ Resolve merge conflicts 💡
🧪 Generate unit tests (beta)
Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 19
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
src/adapters/openai-chat.ts (1)
176-217: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick winFix: the reasoning-only placeholder guard misses the empty-string content case.
Compare the two placeholder assignments:
- Line 209:
if (!chatMsg.content) chatMsg.content = emptyAssistantContent(provider);— falsy check.- Line 211:
if (chatMsg.reasoning_content !== undefined && chatMsg.content === undefined && chatMsg.tool_calls === undefined)— strictundefinedcheck.
chatMsg.contentis set at Line 183 astextParts.map(p => p.text).join(""). IftextParts.length > 0but every part'stextis"",chatMsg.contentbecomes"", notundefined. In that state, withreasoning_contentset and no tool calls, the guard at Line 211 evaluates tofalsebecausechatMsg.content === undefinedisfalse. The message is pushed withcontent: ""at Line 214. For a Volcengine Ark target, this reproduces the exactMissingParameter: input.content.texterror from#796thatemptyAssistantContentexists to prevent.Align the second guard with the first by using a falsy check.
🐛 Proposed fix: use a falsy check consistent with Line 209
- if (chatMsg.reasoning_content !== undefined && chatMsg.content === undefined && chatMsg.tool_calls === undefined) { + if (chatMsg.reasoning_content !== undefined && !chatMsg.content && chatMsg.tool_calls === undefined) { chatMsg.content = emptyAssistantContent(provider); }As per path instructions for
tests/**, "A behavior change in src/ should come with a focused regression test near the existing tests for that subsystem." Add a case totests/volcengine-ark-assistant-content.test.tscovering an assistant message with an empty-string text part plusreasoning_contentand no tool calls, targeted at an Ark provider, to lock in this fix.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@src/adapters/openai-chat.ts` around lines 176 - 217, Update the reasoning-only placeholder guard in the assistant handling case to use a falsy check for chatMsg.content, matching the earlier tool-call guard, so empty-string content receives emptyAssistantContent(provider). Add a focused regression case in the existing Volcengine Ark assistant-content tests covering an empty text part with reasoning_content and no tool calls.Source: Path instructions
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@devlog/_plan/260731_pr_merge_round/000_plan.md`:
- Around line 40-49: Define one complete CI gate covering typecheck, unit tests,
privacy scan, GUI tests, release-helper syntax, GUI lint, GUI build, and CLI
help, including the existing security-review requirements where applicable.
Update devlog/_plan/260731_pr_merge_round/000_plan.md:40-49 to contain or
reference this canonical definition, and update
devlog/_plan/260731_pr_merge_round/020_batch_a_restack.md:171-175 to reference
the same definition; do not only rename the typecheck command.
In `@devlog/_plan/260731_pr_merge_round/022_remote_test_offload.md`:
- Around line 71-81: Update
devlog/_plan/260731_pr_merge_round/022_remote_test_offload.md lines 71-81 to
record the exact pushed/tested commit SHA, each required command’s exit status
0, and required-check status before documenting --no-verify. Reconcile the
reported 6210 versus 6240 pass counts, and update
devlog/_plan/260731_pr_merge_round/040_round_outcome.md lines 6-7 to cite the
same resolved SHA and verified result.
In `@devlog/_plan/260731_pr_merge_round/030_batch_b_rebuild.md`:
- Around line 39-45: Mark the pagination-related entries in this plan as
superseded, including the limit/offset query parameters, ring-buffer expansion,
and pagination work in logs-usage-routes.ts and request-log.ts. Keep the
timezone formatting and existing useDataSurface integration notes intact, and
align the section with the out-of-scope status documented for `#784` and the
settings-only outcome for `#725`.
In `@devlog/_plan/260731_pr_merge_round/040_deferred_and_handoff.md`:
- Around line 6-10: Update the security-review section heading in the documented
handoff plan to state ten items, matching the listed PRs (`#782`, `#779`, `#775`,
`#778`, `#693`, `#616`, `#744`, `#750`, `#746`, and `#644`). Preserve the existing review
guidance and PR list.
In `@gui/src/pages/Logs.tsx`:
- Around line 362-377: Update the useEffect that fetches /api/settings to clear
serverTimeZone immediately when apiBase changes, before starting the request.
Guard the successful response’s setServerTimeZone update so it does not run
after controller.abort(), while preserving browser-local formatting when the
request fails or lacks a valid time zone.
In `@scripts/test.ts`:
- Around line 80-119: Replace the process-scan ownership check in
waitForExclusiveRun with an atomic, cross-platform lock acquired in a
machine-shared location before launching the child test suite. Keep the lock
held until that child exits, release it from the existing finally cleanup, and
use the existing maxWaitMs timeout only to recover stale locks rather than
permitting overlap between active runs; retain OCX_TEST_NO_QUEUE handling as
appropriate.
In `@src/adapters/anthropic.ts`:
- Around line 253-263: Update anthropicMessagesUrl to retain the parsed URL from
validation and apply trailing-slash and /v1/messages or /v1 normalization to its
pathname rather than the raw baseUrl string. Reconstruct the endpoint with the
normalized pathname before the existing query string and fragment, preserving
those components in the returned URL.
In `@src/cli/init.ts`:
- Around line 213-220: Track whether configuration persistence has completed
after saveConfig (including cleanupOpenAiTierBackupAfterInit). In the catch
block, keep the current interactive-terminal error and nonzero exit for stdin
closure before persistence; after persistence, report that the config was saved
and treat the command as successful with no nonzero exit.
In `@src/codex/catalog/metadata.ts`:
- Around line 126-129: Restrict desktopNativeModels handling to Claude Desktop:
in src/codex/catalog/metadata.ts lines 126-129, keep desktopVisibleNativeSlugs
for Desktop profile/config-writing paths, while Claude Code discovery in
src/server/index.ts uses visibleNativeSlugs or an explicit client-surface
distinction. In src/types.ts lines 458-462, retain the “only the Desktop model
list writer” wording once runtime behavior matches it. Add a server regression
test covering a claude-code user agent with anthropic-version when
desktopNativeModels is false, ensuring native aliases remain discoverable.
In `@src/oauth/kiro-credentials.ts`:
- Line 240: The platform fallback in resolveKiroCliExecutable must return the
bare kiro-cli on every platform so Windows PATHEXT can resolve command shims;
also add .cmd and .bat candidates to the PATH search loop in
src/oauth/kiro-credentials.ts at lines 207-212. Update
tests/kiro-windows-cli-executable-path.test.ts lines 66-74 to expect kiro-cli
and rename the test to describe Windows PATHEXT resolution.
In `@src/oauth/kiro.ts`:
- Around line 78-84: Memoize the result of resolveRuntimeKiroCliExecutable for
the process lifetime so repeated runner and logout calls reuse one resolved path
instead of rescanning PATH. Add cache invalidation when a spawn using the cached
executable fails, allowing the next attempt to resolve the path again; keep
resolveKiroCliExecutable’s existing inputs and behavior unchanged.
In `@src/providers/free-directory.ts`:
- Around line 122-124: Add focused coverage in tests/free-directory.test.ts for
the Baseten entry registered by openAi. Assert its signup-credit classification,
openai-chat adapter, endpoint, live discovery behavior, models URL, supported
support level, and official verification status.
In `@src/server/index.ts`:
- Line 409: Add coverage in tests/claude-models-discovery.test.ts for Anthropic
discovery with desktopNativeModels enabled and disabled, covering the native
visibility branches in the server discovery flow. Assert the native alias is
present when enabled and absent when disabled, then resolve the returned alias
through the Desktop registry to verify registry resolution.
In `@src/server/management/model-routes.ts`:
- Line 86: Extend the Bun regression tests for GET /api/catalog to start the
server via startServer, select a runtime version, and issue an actual request
through the server rather than calling handleManagementAPI directly. Assert the
response includes the x-opencodex-codex-version header, while preserving the
existing no-version coverage.
In `@src/server/management/shared.ts`:
- Around line 236-245: Update the family-default repair logic in
buildClaudeDesktopState to use the existing availability data: build the
available route set before this block and filter replacement candidates so only
routes where available.has(route) are considered. Preserve the current family
matching and sorting behavior, and add a regression case covering a native
default alongside an unavailable routed assignment in the same family.
In `@src/service.ts`:
- Around line 1660-1663: Update the proxy polling flow around findProxy and the
deadline check to track whether a probe completed successfully; if all probes
throw, return or throw an explicit error state instead of null. In
serviceCommand, catch that state, set a failing exit code, and skip native Codex
restoration in the affected 1997-2007 path. Add a regression test covering
probes that always throw.
- Around line 1994-2007: Update the stop flow before restoreNativeCodex() to
call proxyStillLiveAfterStop() after ops.uninstall(). If it reports a live
proxy, fail closed using the existing stop-path behavior from the survivor check
near the diff: log the listening port and guidance, set process.exitCode to 1,
and skip native restoration; only call restoreNativeCodex() when no proxy
remains.
In `@tests/init-eof.test.ts`:
- Around line 24-27: Update the Promise.race around proc.exited to retain the
timeout handle, clear it in a finally block regardless of which branch wins, and
kill proc when the timeout branch fires before rejecting. Preserve the existing
timeout error and successful exit behavior.
In `@tests/kiro-windows-cli-executable-path.test.ts`:
- Around line 40-53: Add a test alongside the existing Windows executable
resolution tests that makes both the LOCALAPPDATA and ProgramFiles Kiro CLI
candidates exist, then assert resolveKiroCliExecutable selects the LOCALAPPDATA
candidate. Preserve the documented precedence of PATH, LOCALAPPDATA, then
ProgramFiles and reuse the existing test setup symbols.
---
Outside diff comments:
In `@src/adapters/openai-chat.ts`:
- Around line 176-217: Update the reasoning-only placeholder guard in the
assistant handling case to use a falsy check for chatMsg.content, matching the
earlier tool-call guard, so empty-string content receives
emptyAssistantContent(provider). Add a focused regression case in the existing
Volcengine Ark assistant-content tests covering an empty text part with
reasoning_content and no tool calls.
Fix all unresolved CodeRabbit comments on this PR:
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: bff6e2e7-89a2-4ac9-97f7-7b470fe39b8d
devlog/_plan/260731_pr_merge_round/000_plan.mddevlog/_plan/260731_pr_merge_round/010_superseded_closeout.mddevlog/_plan/260731_pr_merge_round/020_batch_a_restack.mddevlog/_plan/260731_pr_merge_round/021_stream_tool_argument_validation.mddevlog/_plan/260731_pr_merge_round/022_remote_test_offload.mddevlog/_plan/260731_pr_merge_round/030_batch_b_rebuild.mddevlog/_plan/260731_pr_merge_round/031_log_timezone_no_layout_change.mddevlog/_plan/260731_pr_merge_round/040_deferred_and_handoff.mddevlog/_plan/260731_pr_merge_round/040_round_outcome.mddocs-site/src/content/docs/guides/codex-integration.mddocs-site/src/content/docs/guides/providers.mdgui/src/pages/Logs.tsxgui/src/pages/dashboard-shared.tsscripts/test.tssrc/adapters/anthropic.tssrc/adapters/openai-chat.tssrc/cli/claude-desktop.tssrc/cli/init.tssrc/codex/catalog.tssrc/codex/catalog/metadata.tssrc/lib/destination-policy.tssrc/lib/provider-outbound.tssrc/oauth/kiro-credentials.tssrc/oauth/kiro.tssrc/providers/free-directory.tssrc/server/index.tssrc/server/management/agent-settings-routes.tssrc/server/management/config-routes.tssrc/server/management/model-routes.tssrc/server/management/shared.tssrc/service.tssrc/tray/windows.tssrc/types.tstests/anthropic-stream-hardening.test.tstests/api-catalog-route.test.tstests/claude-desktop-cli.test.tstests/grok-management-api.test.tstests/init-eof.test.tstests/kiro-windows-cli-executable-path.test.tstests/logs-timezone.test.tstests/openai-chat-eof.test.tstests/provider-outbound-private-network.test.tstests/service-stop-verification.test.tstests/volcengine-ark-assistant-content.test.tstests/windows-tray-run-limit.test.tstests/windows-tray.test.ts
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| **CI 게이트** (`AGENTS.md` + `MAINTAINERS.md`): | ||
|
|
||
| - PR 타깃은 `dev`만. `enforce-target`이 `main` 조상 위에 있으면서 `dev`보다 한참 | ||
| 뒤처진 PR과 빈약한 설명을 거부한다. | ||
| - 인증/자격증명/OAuth/Actions/릴리스 자동화/의존성 설치를 건드리면 **명시적 보안 | ||
| 리뷰**가 필요하다. | ||
| - 새 provider preset은 자격증명 목적지 변경이다. 문서화된 엔드포인트, ToS와 법인, | ||
| 중개업체면 재판매·라우팅 권한, 유지보수 담당자, 인용 가능한 검증 날짜가 있어야 | ||
| canonical 등록이 된다. 증거가 부족하면 `free-directory.ts`의 비활성 행으로. | ||
| - `bun run typecheck`, `bun run test`, `bun run privacy:scan`이 게이트다. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🏁 Script executed:
printf '%s\n' '--- candidate files ---' git ls-files \ 'devlog/_plan/260731_pr_merge_round/000_plan.md' \ 'devlog/_plan/260731_pr_merge_round/020_batch_a_restack.md' \ 'AGENTS.md' 'MAINTAINERS.md' 'package.json' 'bun.lockb' 'bun.lock' \ | sort printf '%s\n' '--- central plan ---' cat -n devlog/_plan/260731_pr_merge_round/000_plan.md | sed -n '1,90p' printf '%s\n' '--- batch checklist ---' cat -n devlog/_plan/260731_pr_merge_round/020_batch_a_restack.md | sed -n '145,190p' printf '%s\n' '--- repository guidance ---' for f in AGENTS.md MAINTAINERS.md package.json; do if [ -f "$f" ]; then printf '\n--- %s ---\n' "$f" cat -n "$f" | sed -n '1,240p' fi done printf '%s\n' '--- related command references ---' rg -n --hidden -S \ 'lint:gui|privacy:scan|bun run typecheck|bun x tsc|bun run test|CI 게이트|merge.?gate|검증' \ -g '!node_modules' -g '!dist' -g '!build' .
Repository: lidge-jun/opencodex
Length of output: 50376
🏁 Script executed:
for f in \ devlog/_plan/260731_pr_merge_round/000_plan.md \ devlog/_plan/260731_pr_merge_round/020_batch_a_restack.md \ package.json \ AGENTS.md \ MAINTAINERS.md do if [ -f "$f" ]; then printf '\n--- %s ---\n' "$f" case "$f" in *000_plan.md) sed -n '32,58p' "$f" | nl -ba -v32 ;; *020_batch_a_restack.md) sed -n '165,182p' "$f" | nl -ba -v165 ;; package.json) sed -n '1,180p' "$f" ;; *) sed -n '1,220p' "$f" ;; esac else printf '\n--- missing: %s ---\n' "$f" fi done printf '\n--- focused workflow and hook references ---\n' rg -n -S \ 'typecheck|lint:gui|privacy:scan|bun run test|bun x tsc|prepush|pull_request|enforce-target' \ .github package.json scripts 2>/dev/null \ | head -n 240
Repository: lidge-jun/opencodex
Length of output: 24799
🏁 Script executed:
printf '%s\n' '--- central plan lines 35-55 ---' cat -n devlog/_plan/260731_pr_merge_round/000_plan.md | sed -n '35,55p' printf '%s\n' '--- batch checklist lines 165-182 ---' cat -n devlog/_plan/260731_pr_merge_round/020_batch_a_restack.md | sed -n '165,182p' printf '%s\n' '--- CI workflow relevant section ---' cat -n .github/workflows/ci.yml | sed -n '1,125p' printf '%s\n' '--- GUI workflow files and relevant commands ---' find .github/workflows -maxdepth 1 -type f -print | sort rg -n -C 4 -S 'lint:gui|bun run lint|bun run test|bun x tsc|typecheck|privacy:scan|doctor' \ .github/workflows printf '%s\n' '--- exact command definitions ---' python3 - <<'PY' import json from pathlib import Path scripts = json.loads(Path("package.json").read_text())["scripts"] for name in ("typecheck", "test", "privacy:scan", "lint:gui", "prepush"): print(f"{name}: {scripts.get(name)}") PY
Repository: lidge-jun/opencodex
Length of output: 13325
🏁 Script executed:
python3 - <<'PY' from pathlib import Path import json, re pkg = json.loads(Path("package.json").read_text()) print("package scripts:") for key in ("typecheck", "test", "privacy:scan", "lint:gui", "prepush"): print(f" {key}: {pkg['scripts'].get(key)}") print("\nroot test wrapper:") test_script = Path("scripts/test.ts") if test_script.exists(): for i, line in enumerate(test_script.read_text().splitlines(), 1): if i <= 130: print(f"{i:4}: {line}") print("\nplan command occurrences:") for name in ( "devlog/_plan/260731_pr_merge_round/000_plan.md", "devlog/_plan/260731_pr_merge_round/020_batch_a_restack.md", ): text = Path(name).read_text() print(f"\n{name}") for i, line in enumerate(text.splitlines(), 1): if 35 <= i <= 60 or 165 <= i <= 182: if re.search(r"\bbun\b|lint|GUI|게이트|검증|CI", line, re.I): print(f"{i:4}: {line}") print("\nCI run commands:") ci = Path(".github/workflows/ci.yml").read_text().splitlines() for i, line in enumerate(ci, 1): if 75 <= i <= 110: print(f"{i:4}: {line}") PY
Repository: lidge-jun/opencodex
Length of output: 7701
Align the merge-gate definitions with CI.
000_plan.md:40-49 lists only three gates, but .github/workflows/ci.yml:81-107 also requires GUI tests, release-helper syntax, GUI lint, GUI build, and CLI help. 020_batch_a_restack.md:171-175 omits these checks. Define the complete gate once, then reference it from both plan documents. bun x tsc --noEmit is equivalent to bun run typecheck through package.json; changing that spelling alone does not fix the scope mismatch.
devlog/_plan/260731_pr_merge_round/000_plan.md#L40-L49 (this comment)devlog/_plan/260731_pr_merge_round/020_batch_a_restack.md#L171-L175Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@devlog/_plan/260731_pr_merge_round/000_plan.md` around lines 40 - 49, Define
one complete CI gate covering typecheck, unit tests, privacy scan, GUI tests,
release-helper syntax, GUI lint, GUI build, and CLI help, including the existing
security-review requirements where applicable. Update
devlog/_plan/260731_pr_merge_round/000_plan.md:40-49 to contain or reference
this canonical definition, and update
devlog/_plan/260731_pr_merge_round/020_batch_a_restack.md:171-175 to reference
the same definition; do not only rename the typecheck command.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| ## 결과 | ||
|
|
||
| | | 로컬(4개 경합) | macmini-cf | | ||
| |---|---|---| | ||
| | 전체 스위트 | 13분+ (미완료) | **162초** | | ||
| | load average | 10.2 | 2.4 | | ||
| | 결과 | — | 6210 pass / 0 fail | | ||
|
|
||
| 푸시는 `--no-verify`로 했다. 게이트를 건너뛴 게 아니라 **원격에서 이미 통과**한 | ||
| 것을 로컬에서 다시 돌리지 않기 위해서다. typecheck / lint:gui / test / | ||
| privacy:scan 네 가지 모두 macmini에서 green이었다. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | 🏗️ Heavy lift
🏁 Script executed:
#!/bin/bash set -eu for f in \ devlog/_plan/260731_pr_merge_round/022_remote_test_offload.md \ devlog/_plan/260731_pr_merge_round/040_round_outcome.md do echo "===== $f =====" wc -l "$f" sed -n '1,120p' "$f" done echo "===== repository references =====" rg -n --hidden -S \ '6210|6240|--no-verify|macmini-cf|codex/260731-pr-merge-round|origin/dev|typecheck|lint:gui|privacy:scan' \ devlog/_plan/260731_pr_merge_round \ .github 2>/dev/null || true echo "===== concise git state =====" git status --short git rev-parse --show-toplevel git rev-parse HEAD git branch --show-current git show -s --format='%H%n%P%n%s' HEAD
Repository: lidge-jun/opencodex
Length of output: 7980
🏁 Script executed:
#!/bin/bash set -eu echo "===== round plan and nearby evidence =====" sed -n '1,70p' devlog/_plan/260731_pr_merge_round/000_plan.md sed -n '95,125p' devlog/_plan/260731_pr_merge_round/030_batch_b_rebuild.md echo "===== all repository references =====" rg -n --hidden -S \ '6210|6240|--no-verify|macmini-cf|codex/260731-pr-merge-round|356924263|required check|required-check|status check|exit status|exit code|tested commit|tested revision' \ . 2>/dev/null || true echo "===== CI gate definition =====" sed -n '65,105p' .github/workflows/ci.yml echo "===== current document commit =====" git show --stat --oneline --decorate HEAD git show --format= --name-status HEAD -- \ devlog/_plan/260731_pr_merge_round/022_remote_test_offload.md \ devlog/_plan/260731_pr_merge_round/040_round_outcome.md
Repository: lidge-jun/opencodex
Length of output: 20141
Bind the remote gate to the pushed commit before using --no-verify.
devlog/_plan/260731_pr_merge_round/022_remote_test_offload.md lines 56–65 show the transfer and test commands, but lines 71–81 record no resolved commit SHA or exit status.devlog/_plan/260731_pr_merge_round/040_round_outcome.md lines 6–7 reports 6240 passes, while 022_remote_test_offload.md reports 6210. Neither result identifies the tested revision.0, and required-check status. Reconcile the pass counts and cite the same SHA in both documents before bypassing local hooks with --no-verify.devlog/_plan/260731_pr_merge_round/022_remote_test_offload.md#L71-L81 (this comment)devlog/_plan/260731_pr_merge_round/040_round_outcome.md#L6-L7Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@devlog/_plan/260731_pr_merge_round/022_remote_test_offload.md` around lines
71 - 81, Update devlog/_plan/260731_pr_merge_round/022_remote_test_offload.md
lines 71-81 to record the exact pushed/tested commit SHA, each required
command’s exit status 0, and required-check status before documenting
--no-verify. Reconcile the reported 6210 versus 6240 pass counts, and update
devlog/_plan/260731_pr_merge_round/040_round_outcome.md lines 6-7 to cite the
same resolved SHA and verified result.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| - `src/server/management/logs-usage-routes.ts` — 배열 본문 유지, 헤더 추가. | ||
| `limit`/`offset` 쿼리 파라미터 수용. | ||
| - `src/server/request-log.ts:128-129` — 200건 링 버퍼 상한을 올린다. `:741-764`에 | ||
| 페이지네이션을 추가한다. | ||
| - `gui/src/pages/Logs.tsx` — HEAD의 `useDataSurface` 리팩터 위에 얹는다. | ||
| #784는 그 이전의 수동 `fetchLogs` 흐름을 가정하고 있어 그대로는 안 맞는다. | ||
| 타임스탬프를 서버 타임존으로 포맷(`:288-293`, `:366-371`). |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win
Mark the pagination plan as superseded.
At Line 39-45, this document includes limit/offset and ring-buffer pagination. devlog/_plan/260731_pr_merge_round/031_log_timezone_no_layout_change.md says #784 pagination is out of scope, and devlog/_plan/260731_pr_merge_round/040_round_outcome.md records #725 as a settings-only change. Mark this section superseded or align all three documents before handoff.
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@devlog/_plan/260731_pr_merge_round/030_batch_b_rebuild.md` around lines 39 -
45, Mark the pagination-related entries in this plan as superseded, including
the limit/offset query parameters, ring-buffer expansion, and pagination work in
logs-usage-routes.ts and request-log.ts. Keep the timezone formatting and
existing useDataSurface integration notes intact, and align the section with the
out-of-scope status documented for `#784` and the settings-only outcome for `#725`.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| ## 보안 리뷰가 필요한 6건 | ||
|
|
||
| `MAINTAINERS.md`는 인증·자격증명·OAuth·Actions·릴리스 자동화·의존성 설치를 | ||
| 건드리는 변경에 **명시적 보안 리뷰**를 요구한다. 리뷰는 메인테이너 판단이지 | ||
| 에이전트가 대신할 수 있는 게 아니다. 그래서 분석만 남기고 브랜치에 안 올린다. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win
Correct the security-review item count.
The heading says six, but the section contains ten PRs: #782, #779, #775, #778, #693, #616, #744, #750, #746, and #644. Keep the heading and handoff list aligned so security-sensitive work is not undercounted.
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@devlog/_plan/260731_pr_merge_round/040_deferred_and_handoff.md` around lines
6 - 10, Update the security-review section heading in the documented handoff
plan to state ten items, matching the listed PRs (`#782`, `#779`, `#775`, `#778`, `#693`,
`#616`, `#744`, `#750`, `#746`, and `#644`). Preserve the existing review guidance and PR
list.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| useEffect(() => { | ||
| const controller = new AbortController(); | ||
| void (async () => { | ||
| try { | ||
| const res = await fetch(`${apiBase}/api/settings`, { signal: controller.signal }); | ||
| if (!res.ok) return; | ||
| const body = await res.json() as { timeZone?: unknown }; | ||
| if (typeof body.timeZone === "string" && body.timeZone.trim()) { | ||
| setServerTimeZone(body.timeZone.trim()); | ||
| } | ||
| } catch { | ||
| // Offline or an older proxy without the field: keep browser-local formatting. | ||
| } | ||
| })(); | ||
| return () => controller.abort(); | ||
| }, [apiBase]); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Clear the previous server time zone when apiBase changes.
Line 362 keeps the previous serverTimeZone until the next request sets a new value. If the new request fails, all timestamps continue to render in the previous proxy's zone. Reset the state at the start of this effect. Also guard the state update after the request against an aborted controller.
useEffect(() => {
const controller = new AbortController();
+ setServerTimeZone(undefined);
void (async () => {
try {
const res = await fetch(`${apiBase}/api/settings`, { signal: controller.signal });
if (!res.ok) return;
const body = await res.json() as { timeZone?: unknown };
- if (typeof body.timeZone === "string" && body.timeZone.trim()) {
+ if (!controller.signal.aborted && typeof body.timeZone === "string" && body.timeZone.trim()) {
setServerTimeZone(body.timeZone.trim());
}
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| useEffect(() => { | |
| const controller = new AbortController(); | |
| void (async () => { | |
| try { | |
| const res = await fetch(`${apiBase}/api/settings`, { signal: controller.signal }); | |
| if (!res.ok) return; | |
| const body = await res.json() as { timeZone?: unknown }; | |
| if (typeof body.timeZone === "string" && body.timeZone.trim()) { | |
| setServerTimeZone(body.timeZone.trim()); | |
| } | |
| } catch { | |
| // Offline or an older proxy without the field: keep browser-local formatting. | |
| } | |
| })(); | |
| return () => controller.abort(); | |
| }, [apiBase]); | |
| useEffect(() => { | |
| const controller = new AbortController(); | |
| setServerTimeZone(undefined); | |
| void (async () => { | |
| try { | |
| const res = await fetch(`${apiBase}/api/settings`, { signal: controller.signal }); | |
| if (!res.ok) return; | |
| const body = await res.json() as { timeZone?: unknown }; | |
| if (!controller.signal.aborted && typeof body.timeZone === "string" && body.timeZone.trim()) { | |
| setServerTimeZone(body.timeZone.trim()); | |
| } | |
| } catch { | |
| // Offline or an older proxy without the field: keep browser-local formatting. | |
| } | |
| })(); | |
| return () => controller.abort(); | |
| }, [apiBase]); |
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@gui/src/pages/Logs.tsx` around lines 362 - 377, Update the useEffect that
fetches /api/settings to clear serverTimeZone immediately when apiBase changes,
before starting the request. Guard the successful response’s setServerTimeZone
update so it does not run after controller.abort(), while preserving
browser-local formatting when the request fails or lacks a valid time zone.
Source: Path instructions
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| if (config.claudeCode?.desktopNativeModels === false) { | ||
| for (const route of Object.keys(profile.assignments)) { | ||
| if (route.startsWith("native/")) delete profile.assignments[route]; | ||
| } | ||
| for (const family of ["opus", "fable", "sonnet", "haiku"] as const) { | ||
| const current = profile.defaults[family]; | ||
| if (current?.startsWith("native/")) { | ||
| profile.defaults[family] = Object.keys(profile.assignments) | ||
| .filter(route => profile.assignments[route]?.family === family) | ||
| .sort()[0] ?? null; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Select only available routes when repairing a family default.
When a native default is removed, this code selects from every remaining assignment. buildClaudeDesktopState retains unavailable routed assignments, so a stale routed route can become the new default and be exported or applied.
Build the available set before this block. Filter replacement candidates with available.has(route). Add a regression case with a native default and an unavailable routed assignment in the same family.
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@src/server/management/shared.ts` around lines 236 - 245, Update the
family-default repair logic in buildClaudeDesktopState to use the existing
availability data: build the available route set before this block and filter
replacement candidates so only routes where available.has(route) are considered.
Preserve the current family matching and sorting behavior, and add a regression
case covering a native default alongside an unavailable routed assignment in the
same family.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| } catch { | ||
| // A probe failure is not proof the proxy is gone; keep polling until the deadline. | ||
| } | ||
| if (now() >= deadline) return null; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
Fail closed when the final proxy probe fails.
Lines 1660-1663 return null after seven seconds even if every findProxy() call threw. Lines 1997-2007 then restore native Codex because null means no survivor. A persistent health-check failure leaves the proxy state unknown. It must not authorize restoration.
Track whether the final probe completed successfully. If it did not, return an error state or throw. Catch that state in serviceCommand, set a failing exit code, and do not restore native Codex. Add a regression test where every probe throws.
export async function proxyStillLiveAfterStop(/* ... */) {
+ let lastProbeFailed = false;
for (;;) {
try {
const live = await findProxy();
+ lastProbeFailed = false;
if (live) return live;
} catch {
- // A probe failure is not proof the proxy is gone; keep polling until the deadline.
+ lastProbeFailed = true;
}
- if (now() >= deadline) return null;
+ if (now() >= deadline) {
+ if (lastProbeFailed) throw new Error("Could not verify that the proxy stopped");
+ return null;
+ }
await sleep(1000);
}
}Also applies to: 1997-2007
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@src/service.ts` around lines 1660 - 1663, Update the proxy polling flow
around findProxy and the deadline check to track whether a probe completed
successfully; if all probes throw, return or throw an explicit error state
instead of null. In serviceCommand, catch that state, set a failing exit code,
and skip native Codex restoration in the affected 1997-2007 path. Add a
regression test covering probes that always throw.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // Verify rather than trust the stop command: a surviving wrapper respawns its child | ||
| // seconds later, and restoring native Codex on top of a live proxy is the failure #764 | ||
| // reports as "stop reports success without stopping the proxy". | ||
| const survivor = await proxyStillLiveAfterStop(); | ||
| if (survivor) { | ||
| console.error( | ||
| `❌ service stop did not take effect: a proxy is still listening on port ${survivor.port}.` | ||
| + "\nNative Codex was NOT restored, because doing so while the proxy is running leaves" | ||
| + " both pointing at each other. Check for a second service backend (`ocx service status`)" | ||
| + " or a manually started proxy, then re-run `ocx service stop`.", | ||
| ); | ||
| process.exitCode = 1; | ||
| break; | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🏁 Script executed:
#!/bin/bash set -euo pipefail ast-grep outline src/service.ts --items all --type function --match 'serviceCommand|proxyStillLiveAfterStop' rg -n -C 14 'case "uninstall"|case "remove"|restoreNativeCodex|proxyStillLiveAfterStop' src/service.ts rg -n -C 10 'uninstall\s*[(:]|schtasks|WinSW|Task Scheduler|stop\s*[(:]' src
Repository: lidge-jun/opencodex
Length of output: 50376
🏁 Script executed:
#!/bin/bash set -euo pipefail printf '%s\n' '--- service backend selection and uninstall flow ---' sed -n '1760,2060p' src/service.ts printf '%s\n' '--- Windows service implementations ---' fd -i 'service|scheduler|winsw|windows' src --type f rg -n -C 18 'uninstall|stopwait|schtasks|taskkill|/end|/delete|runWindowsElevated' src/service.ts src/lib src --glob '*.ts' \ | grep -E 'service\.ts|scheduler|winsw|windows' | head -n 500
Repository: lidge-jun/opencodex
Length of output: 44640
🏁 Script executed:
#!/bin/bash set -euo pipefail printf '%s\n' '--- platformOps and scheduler lifecycle ---' rg -n 'function platformOps|const platformOps|platformOps\(|uninstall\(\)|stop\(\)' src/service.ts sed -n '1180,1655p' src/service.ts printf '%s\n' '--- complete WinSW uninstall implementation ---' sed -n '300,350p' src/lib/winsw.ts printf '%s\n' '--- process liveness and tracked-proxy cleanup ---' rg -n -C 25 'stopTrackedProxyForServiceCommand|proxyStillLiveAfterStop|findLiveProxy' src/service.ts
Repository: lidge-jun/opencodex
Length of output: 39162
🏁 Script executed:
#!/bin/bash set -euo pipefail printf '%s\n' '--- Windows stop helper and dual-backend cleanup ---' sed -n '1688,1760p' src/service.ts printf '%s\n' '--- Read-only lifecycle verifier ---' python3 - <<'PY' from pathlib import Path import re service = Path("src/service.ts").read_text() winsw = Path("src/lib/winsw.ts").read_text() def body(text, signature): start = text.index(signature) brace = text.index("{", start) depth = 0 for i in range(brace, len(text)): if text[i] == "{": depth += 1 elif text[i] == "}": depth -= 1 if depth == 0: return text[start:i + 1] raise RuntimeError(signature) scheduler_stop = body(service, "function stopWindows():") scheduler_uninstall = body(service, "function uninstallWindows():") native_stop = body(winsw, "export function stopWinswService():") native_uninstall = body(winsw, "export function uninstallWinswService():") command = body(service, "export async function serviceCommand(") print("scheduler stop:", re.findall(r'schtasks\\(\\[[^\\]]+\\]\\)', scheduler_stop)) print("scheduler uninstall:", re.findall(r'schtasks\\(\\[[^\\]]+\\]\\)', scheduler_uninstall)) print("scheduler has post-delete liveness probe:", "proxyStillLiveAfterStop" in scheduler_uninstall) print("native stop uses stopwait:", '"stopwait"' in native_stop) print("native uninstall uses stopwait:", '"stopwait"' in native_uninstall) print("uninstall restores only after ops.uninstall:", command.index("ops.uninstall()") < command.index("restoreNativeCodex()", command.index("ops.uninstall()"))) print("uninstall invokes proxyStillLiveAfterStop:", "proxyStillLiveAfterStop()" in command[command.index('case "uninstall"'):]) PY
Repository: lidge-jun/opencodex
Length of output: 3474
🏁 Script executed:
#!/bin/bash set -euo pipefail nl -ba src/service.ts | sed -n '1510,1625p' nl -ba src/lib/winsw.ts | sed -n '305,348p' nl -ba src/service.ts | sed -n '2028,2050p'
Repository: lidge-jun/opencodex
Length of output: 197
🏁 Script executed:
#!/bin/bash set -euo pipefail awk 'NR >= 1510 && NR <= 1625 { printf "%d:%s\n", NR, $0 }' src/service.ts awk 'NR >= 305 && NR <= 348 { printf "%d:%s\n", NR, $0 }' src/lib/winsw.ts awk 'NR >= 2028 && NR <= 2050 { printf "%d:%s\n", NR, $0 }' src/service.ts
Repository: lidge-jun/opencodex
Length of output: 9310
🏁 Script executed:
#!/bin/bash set -euo pipefail grep -n -A8 -B4 'function uninstallWindows' src/service.ts
Repository: lidge-jun/opencodex
Length of output: 1065
Add the post-stop liveness gate before restoring native Codex.
src/service.ts:2031-2043 restores native Codex after ops.uninstall(), but the scheduler backend only runs schtasks /end (src/service.ts:1466) and schtasks /delete (src/service.ts:1469-1474). It does not prove that the wrapper and child exited. The WinSW fallback also uses non-waiting sc stop (src/lib/winsw.ts:329-333). Call proxyStillLiveAfterStop() before restoreNativeCodex() and fail closed when a proxy remains live, as the stop path does at src/service.ts:1997-2007.
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@src/service.ts` around lines 1994 - 2007, Update the stop flow before
restoreNativeCodex() to call proxyStillLiveAfterStop() after ops.uninstall(). If
it reports a live proxy, fail closed using the existing stop-path behavior from
the survivor check near the diff: log the listening port and guidance, set
process.exitCode to 1, and skip native restoration; only call
restoreNativeCodex() when no proxy remains.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const exit = await Promise.race([ | ||
| proc.exited, | ||
| new Promise<number>((_, reject) => setTimeout(() => reject(new Error("init did not exit after stdin EOF")), 8_000)), | ||
| ]); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🔵 Trivial | ⚡ Quick win
Clear the timeout timer and kill the child process.
The setTimeout at Line 26 is never cleared. When proc.exited wins the race, the 8-second timer stays pending. Bun keeps the event loop alive for that timer, so the test file takes up to 8 extra seconds to finish, and the losing branch rejects after the test has already completed. The timeout branch also leaves the spawned init process running, because nothing calls proc.kill().
Clear the timer in a finally block and terminate the child on timeout.
proc.stdin.end(); - const exit = await Promise.race([ - proc.exited, - new Promise<number>((_, reject) => setTimeout(() => reject(new Error("init did not exit after stdin EOF")), 8_000)), - ]); + let timer: ReturnType<typeof setTimeout> | undefined; + let exit: number; + try { + exit = await Promise.race([ + proc.exited, + new Promise<number>((_, reject) => { + timer = setTimeout(() => { + proc.kill(); + reject(new Error("init did not exit after stdin EOF")); + }, 8_000); + }), + ]); + } finally { + if (timer) clearTimeout(timer); + } expect(exit).toBe(1);
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| const exit = await Promise.race([ | |
| proc.exited, | |
| new Promise<number>((_, reject) => setTimeout(() => reject(new Error("init did not exit after stdin EOF")), 8_000)), | |
| ]); | |
| proc.stdin.end(); | |
| let timer: ReturnType<typeof setTimeout> | undefined; | |
| let exit: number; | |
| try { | |
| exit = await Promise.race([ | |
| proc.exited, | |
| new Promise<number>((_, reject) => { | |
| timer = setTimeout(() => { | |
| proc.kill(); | |
| reject(new Error("init did not exit after stdin EOF")); | |
| }, 8_000); | |
| }), | |
| ]); | |
| } finally { | |
| if (timer) clearTimeout(timer); | |
| } | |
| expect(exit).toBe(1); |
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@tests/init-eof.test.ts` around lines 24 - 27, Update the Promise.race around
proc.exited to retain the timeout handle, clear it in a finally block regardless
of which branch wins, and kill proc when the timeout branch fires before
rejecting. Preserve the existing timeout error and successful exit behavior.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| test("win32 falls back to Program Files\\Kiro-Cli when LOCALAPPDATA binary is absent", () => { | ||
| const exists = (path: string) => path === "C:\\Program Files\\Kiro-Cli\\kiro-cli.exe"; | ||
| expect(resolveKiroCliExecutable({ | ||
| env: { | ||
| PATH: "C:\\Windows\\System32", | ||
| LOCALAPPDATA: "C:\\Users\\u\\AppData\\Local", | ||
| ProgramFiles: "C:\\Program Files", | ||
| }, | ||
| platform: "win32", | ||
| home: WIN_HOME, | ||
| pathEntries: ["C:\\Windows\\System32"], | ||
| exists, | ||
| })).toBe("C:\\Program Files\\Kiro-Cli\\kiro-cli.exe"); | ||
| }); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win
Add a case where both Windows install candidates exist.
This test makes only C:\Program Files\Kiro-Cli\kiro-cli.exe exist, so it proves that the Program Files candidate is reachable. It does not prove the precedence between the two install candidates. If someone swaps the two installCandidates.push arguments in src/oauth/kiro-credentials.ts Lines 220-223, every test in this file still passes, and the documented Windows order (PATH, then %LOCALAPPDATA%\Kiro-Cli\kiro-cli.exe, then C:\Program Files\Kiro-Cli\kiro-cli.exe) silently breaks.
Add a case where both paths exist and assert that %LOCALAPPDATA% wins.
+ test("win32 prefers %LOCALAPPDATA% over Program Files when both exist", () => { + const exists = (path: string) => + path === "C:\\Users\\u\\AppData\\Local\\Kiro-Cli\\kiro-cli.exe" + || path === "C:\\Program Files\\Kiro-Cli\\kiro-cli.exe"; + expect(resolveKiroCliExecutable({ + env: { + PATH: "C:\\Windows\\System32", + LOCALAPPDATA: "C:\\Users\\u\\AppData\\Local", + ProgramFiles: "C:\\Program Files", + }, + platform: "win32", + home: WIN_HOME, + pathEntries: ["C:\\Windows\\System32"], + exists, + })).toBe("C:\\Users\\u\\AppData\\Local\\Kiro-Cli\\kiro-cli.exe"); + }); + test("linux keeps PATH-first resolution and falls back to ~/.local/bin", () => {
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@tests/kiro-windows-cli-executable-path.test.ts` around lines 40 - 53, Add a
test alongside the existing Windows executable resolution tests that makes both
the LOCALAPPDATA and ProgramFiles Kiro CLI candidates exist, then assert
resolveKiroCliExecutable selects the LOCALAPPDATA candidate. Preserve the
documented precedence of PATH, LOCALAPPDATA, then ProgramFiles and reuse the
existing test setup symbols.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: d380b1b0e3
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| 위협 모델: opt-in을 켜야만 열린다. 권한 없는 로컬 프로세스가 특권 Windows 서비스의 | ||
| 환경변수를 바꿀 수는 없다. 다만 다중 사용자 호스트에서 디렉터리/파일 ACL이 실제로 | ||
| 약한 상태로 이걸 켜면, 다른 로컬 사용자가 토큰 파일을 읽거나 재시작 전에 바꿔치기해 | ||
| 관리 API 전체를 얻는다. 네트워크 공격자는 여전히 토큰이 필요하다. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Move open security triage out of devlog
This newly tracked _plan note contains pre-disclosure security analysis for an unfixed admin-token ACL issue, including the threat model and concrete broken state for /api/settings; because devlog/ is public/tracked, committing this discloses material that the repository policy says must stay in scratch space until the fix has shipped. Please remove these open security-review notes from devlog/ and keep them under .tmp/ or another scratch path instead.
AGENTS.md reference: AGENTS.md:L61-L68
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| ? "desktop3p" as const | ||
| : (/^claude-code\//i.test(req.headers.get("user-agent") ?? "") ? "readable" as const : "desktop3p" as const); | ||
| const data = buildAnthropicModelInfos([...visibleNativeSlugs(config)], goOrdered, resolveAutoContext(config.claudeCode), idStyle, activeDesktop3pAlias); | ||
| const data = buildAnthropicModelInfos([...desktopVisibleNativeSlugs(config)], goOrdered, resolveAutoContext(config.claudeCode), idStyle, activeDesktop3pAlias); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Keep the Desktop toggle out of Claude Code discovery
When claudeCode.desktopNativeModels is false, this path now uses desktopVisibleNativeSlugs() for every Anthropic-style /v1/models response, but the same branch explicitly serves Claude Code CLI discovery when the user agent is claude-code/... or ?ids=cli; a config knob documented as only hiding native/* rows from Claude Desktop show/export/apply therefore also removes native OpenAI models from Claude Code’s model list. Use the desktop-filtered list only for the Desktop 3P registry/list and keep visibleNativeSlugs(config) for CLI/readable discovery.
AGENTS.md reference: src/AGENTS.md:L10-L10
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Closing. This pull request contains no work by its author. The head commit here is byte-identical to a branch that already exists in this repository and was authored by the maintainer. All six of these pull requests have the same shape: fork the repository, push the upstream branches back unchanged, and open them as incoming contributions.
Every listed SHA resolves to the same commit on the upstream branch of the same name. The commit authors inside them are This is not a rebase, a resubmission of stalled work, or a fork that drifted. It burns maintainer review time and CI minutes on a diff that is already in the tree, and it presents other people's commits under a new author's pull request. Repository access is being revoked for this account. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.