Repository navigation
fix: 补齐 BPS 工具参数诊断与授权保存结果确认 - #840
Merged
Merged
Conversation
…iagnostics-auth-20261114
12 tasks done
Owner
Author
定时维护 CI 复核(当前 head,未放行)本轮保存了完整分页检查及原始 job 日志,没有把重跑请求当作通过。
本维护继续负责 CI 原始证据复核及后续修复协调;当前两个实现名额属于 #838 CI 修复与 #846 HTTP2 后继修复,未另启竞争 writer。此评论不授予提前合并,不表示 UI 原生截图或独立源码审查完成。 Agent:Hermes Agent,模型 |
Owner
Author
维护已定位 CI 阻断(未放行)固定 head
本维护父级负责修复、验收与唯一merge操作;当前838/846两writer仍活跃,840修复在空闲名额承接,不启动竞争writer。production刚经独立验收合并843至 Agent:Hermes Agent父级及独立只读reviewer,模型 |
ranxi2001
marked this pull request as draft
November 14, 2026 08:17
ranxi2001
marked this pull request as ready for review
November 14, 2026 09:33
12 tasks done
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.
解决的问题与行为变化
BPS 模型输出的工具参数不合法时,原来只返回通用 schema 错误;现在附带脱敏工具名、参数路径和固定校验规则,保留原校验、批次原子性及重试行为。
授权连接回调可能已保存但浏览器丢失响应,原界面无法确认且可再次提交旧 code。本次在凭据同一次 CAS 中保存加密确认标记,提供只读状态查询;前端提交后清除回调、禁止重交,网络失败后先查本次授权结果。active 状态或 revision 变化不能冒充本次成功。
范围为上述两项修复;不包含服务端搜索、真实 OAuth/模型验收、发布或部署。
关联记录与来源
33babaf75556b04d8c09c707e462a282e4834f8b35feab335e1e7322facd6ca0。包没有 Go 业务源码;本 PR 在现有架构内独立实现,未嵌入或复制第三方二进制。管理员新功能提示
复现与验收
原始业务基线
production@0b9cbfbabb2d0ff03adc7f3f5f65b9b4edaa029b;当前 head 为e809afee5705d966c8e2f6363537d7ec62012c73,merge-base 为ea1f3a28d8d1839e92ac5e48c6e9d7aeb90b0fff。维护复核与production@b347249687db84dac3f5272189fda6cf86eb9035的合并树ac2bf5d79b7ce63c401bedee859dfee228792f36无冲突;基线增加的 BPS service_tier 修复保留,重叠 CI 镜像 helper 为等价修改。全部测试使用虚构工具和授权凭据。协议、调度或传输改动补充
tool_arguments结构,原 failure_stage、HTTP/终态、用量语义不变;JSON 聚合复用现有流处理。POST /api/v1/admin/accounts/:id/auth-connections/:connection_id/authorization-status,仅 body 传 session_id,返回 waiting/saved/unconfirmed;不兑换或刷新令牌。实际验证
以下远程结果均对应 head
e809afee5705d966c8e2f6363537d7ec62012c73。本轮维护读取原始 job 日志及截图产物,未运行本地测试或构建。go test -race ./internal/service/basispoints -count=1 -vgo test -race -tags=unit ./internal/service ./internal/handler/admin ./internal/server/middleware -run 'Test(ExcelBPSToolArgumentsDiagnostic|ConnectionAuthorizationStatus|OpenAIConnectionManagement|OpenAIConnectionHandlerAccountType|OpenAIAuthConnection|Audit)' -count=1 -v -timeout=10m.github/workflows/openai-connection-account-type-regression.yml.github/workflows/issue805-owner-policy.ymlpnpm --dir frontend exec vitest run src/components/account/__tests__/OpenAIAuthConnections.spec.ts src/i18n/__tests__/localeKeyCompleteness.spec.ts、pnpm --dir frontend typechecknode .github/scripts/bps-auth-preview.mjs "$GITHUB_WORKSPACE" "$RUNNER_TEMP/bps-auth-evidence"git diff --check origin/production...origin/pr-840-progress、合并树与变更调用链静态审查UI 对比
下面原生附件的捕获源码为
11aed07eb4ac0741388f7699fc0427b7328b01b7,before 基线为0b9cbfbabb2d0ff03adc7f3f5f65b9b4edaa029b。该源码至最终 head 仅改变三个 CI 文件,组件未变;最终 head 重新生成的 unconfirmed/saved 图片与原 artifact 的 SHA-256 相同。页面入口为账号编辑中的授权连接;这是实际组件及虚构 API 的预览,未验证完整后台导航或生产 OAuth。兼容性与运行影响
文档与用户可见变化
新增
docs/bps-diagnostics-authorization.md,中英授权结果提示同步。PR 原生附件及最终 head 的远程截图、来源和验证边界见上方。Agent 使用声明
本轮复核:Codex(角色声明 GPT-6;精确模型 ID 和推理强度未知,当前接口未提供),负责源码/原始 CI/截图审查、状态更新及合并推进;未使用子 Agent。下列为原实现及此前维护声明。
原实现及既往维护披露保留:Codex(角色标识 GPT-6),原运行的精确模型 ID/推理强度未公开,未知;参与业务实现、回归与此前 CI 跟进。历史父级 Hermes Agent 与只读审查者报告使用
gpt-6.1-sol,推理强度未知,范围为源码/CI 证据审查。本轮 sole writer:Codex CLI
0.164.0,实际会话模型gpt-6.1-sol、推理强度ultra,范围为三个 CI 文件修复、普通推送、PR 正文及远程原始证据记录。本轮只读子 Agent
readonly_workflow_review:gpt-6.1-sol、ultra,范围为工作流和完整 PR delta 的静态复核,无源码写入,不代表父级最终独立验收。本轮模型/推理值取自各自 rollout 与
thread_settings_applied元数据;启动请求service_tier=fast,实际运行设置记录为priority。子 Agent thread 设置为ultra,主线程的 SubAgentActivity 事件另记xhigh,保留该元数据差异,不混写请求值与运行记录。提交前自查