Repository navigation
fix(upstream): 審視上游至 577e2df,移植定價、專案目錄解碼、續接與 keeper 修正 - #32
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a0355bf222
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
| return None | ||
| for entry in entries: | ||
| name = _encode(entry.name) | ||
| last = encoded == name or (truncated and name.startswith(encoded)) |
There was a problem hiding this comment.
Disambiguate truncated paths before accepting a project directory
When project paths share their first 200 encoded characters, this prefix match returns the first alphabetically sorted directory for all of them because the distinguishing hash was discarded. It also accepts an ancestor as the project when truncation occurs before the final path component: a 210-character parent containing actual-project resolves to the parent's name instead. These incorrect names are then cached and used by history and persona loading for records without cwd, merging or misattributing projects that previously retained distinct encoded fallback names. Validate the complete candidate against the hash, or retain the encoded fallback when the prefix cannot uniquely identify the actual project.
Useful? React with 👍 / 👎.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
處理 #26。404 本身已由 #30 修掉(sync point 少了後 33 碼);這個 PR 做的是 #26 真正要求的事:審視累積的 367 筆上游 commit、PR #157–#261、Issue #202。
採用(手工移植,上游已把根目錄模組搬進套件,diff 對不上)
xai/鍵-、.、非 ASCII、emoji、超長截斷)/resume~/.agentdeck/webview(新win_webview.py,因wintray.py已在行數上限)未採用/後續
逐筆理由與觸發條件在
docs/UPSTREAM.md新增的 2026-10-24 段。需維護者決定的一項:Antigravity 額度改打正式主機cloudcode-pa(本 forkproviders/agy_quota_probe.py:48仍是 daily 主機,Gemini 群組很可能缺),涉及把 OAuth token 送往另一個端點與SECURITY*.md的端點聲明,故未擅自改。驗證
pwsh tools/dev_check.ps1:1701 passed、8 skipped,全部閘門通過tools/check_upstream_updates.py對真實上游:has_updates=False,PR 軸通過 #261、issue 軸通過 #202🤖 Generated with Claude Code