Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
修复 T3 Code 移除或切换账号(例如旧
grok切到acpRegistry_grok)后残留缓存长时间被当成可用实例、重名下拉无法区分、以及折叠态工位看不到异常的问题,并补齐同类隐患(Python 后台选位过滤、T3 推理参数 ID 不匹配、通用决策工位折叠告警)。Evidence
acpRegistry_grok后,残留的caches/grok.json在 24 小时内仍被托盘当成活账号,下拉框出现两个重名Grok;Pythont3_cache.py完全不检查过期/移除,recommend_seat持续推荐旧grok。reasoningEffortvsreasoning_effort)。uv run ruff format --check .、uv run ruff check .、uv run pyright:0 错误。uv run pytest:1386 passed(含tests/test_members.py新增 T3 缓存过期/移除/停用用例;首次并行跑时test_agy_acp.py2 条超时,单独重跑全绿)。uv run python scripts/review_checks.py --base origin/main:通过。cargo fmt --check、cargo clippy --all-targets -- -D warnings、previewclippy、cargo test:全绿(含t3_models新增用例)。node --test apps/tray/ui/tests/*.test.cjs:429/429 通过。scripts/preview_tray.sh)实机验证:折叠态直接显示不可用/部分不可用/有候选不可用,展开后旧账号标为Grok · grok(T3 未列出)与新账号清晰区分。Merge Danger
Door: two-way(纯只读探测规则与前端展示改动,不修改任何持久化文件格式或用户配置,可随时回退)。
Blast Radius: low(仅影响 T3 实例可用性判定与设置页折叠工位状态展示;保持原有隐私白名单边界,不读取账号凭据、环境变量或邮箱)。