test(resource/broker): 验证隔离 Codex 客户端凭证代办 #22

Open
lanrtop wants to merge 0 commits from feat/project-resource-broker-r11 into master
Owner

变更

  • 添加仅测试用的临时 scoped MCP 宿主:内存 SQLite、随机合成 Windows 凭证、127.0.0.1 mock Gitea。
  • 记录 R11 实际 Codex CLI 客户端试点结果及审批门槛,关闭任务卡。

Agent 自验

  • cargo test isolated_scoped_mcp_client_pilot -- --ignored --nocapture --test-threads=1:1 passed;mock 端收到内部使用的合成 token,响应仅为 PR #43;正常退出断言凭证和临时目录清理。
  • 独立 Codex CLI 经临时 scoped URL 调用:readiness 为非秘密状态,跨项目返回 scope_violation,开启审批后模拟 PR 返回 #43;模型输出未出现 token。
  • 既有完整 Rust 测试 211 passed、2 ignored;前端 typecheck、6 tests、git diff --check 已通过。R11 测试提交的 push CI 成功;最终 SHA 的 PR CI 待验。

没验什么

  • 真实用户数据库/凭证迁移、正式安装版 UI、真实 Gitea 业务 PR、生产部署及数据库写入均未执行。
  • 同 Windows 用户进程不构成强秘密隔离;强制终止测试进程时合成 WinCred 的 Drop 清理不保证运行。

原日常工作区有既有未提交改动,本 PR 仅来自隔离工作树;没有启动第二个日常 Tauri 实例。请勿在未核对最终 head SHA、CI 和 review 前合并。

## 变更 - 添加仅测试用的临时 scoped MCP 宿主:内存 SQLite、随机合成 Windows 凭证、127.0.0.1 mock Gitea。 - 记录 R11 实际 Codex CLI 客户端试点结果及审批门槛,关闭任务卡。 ## Agent 自验 - `cargo test isolated_scoped_mcp_client_pilot -- --ignored --nocapture --test-threads=1`:1 passed;mock 端收到内部使用的合成 token,响应仅为 PR #43;正常退出断言凭证和临时目录清理。 - 独立 Codex CLI 经临时 scoped URL 调用:readiness 为非秘密状态,跨项目返回 scope_violation,开启审批后模拟 PR 返回 #43;模型输出未出现 token。 - 既有完整 Rust 测试 211 passed、2 ignored;前端 typecheck、6 tests、`git diff --check` 已通过。R11 测试提交的 push CI 成功;最终 SHA 的 PR CI 待验。 ## 没验什么 - 真实用户数据库/凭证迁移、正式安装版 UI、真实 Gitea 业务 PR、生产部署及数据库写入均未执行。 - 同 Windows 用户进程不构成强秘密隔离;强制终止测试进程时合成 WinCred 的 Drop 清理不保证运行。 原日常工作区有既有未提交改动,本 PR 仅来自隔离工作树;没有启动第二个日常 Tauri 实例。请勿在未核对最终 head SHA、CI 和 review 前合并。
lanrtop added 2 commits 2026-09-26 08:45:18 +08:00
test(resource/broker): 添加隔离客户端试点宿主
All checks were successful
Push & PR Check / check (push) Successful in 4m12s
7ae547e1f6
提供仅测试可用的 scoped MCP 临时宿主和合成凭证/Gitea fixture;保留 R11 进行中状态,等待真实客户端会话终验。

Rules-Applied: R02
docs(resource/broker): 记录 R11 客户端试点验收
All checks were successful
Push & PR Check / check (push) Successful in 3m13s
Push & PR Check / check (pull_request) Successful in 3m4s
c2b4c30f50
真实 Codex CLI 经临时 scoped MCP 完成非秘密 readiness、跨项目拒绝与模拟 PR;明确审批门槛及未验证边界。

Rules-Applied: R02,R03
All checks were successful
Push & PR Check / check (push) Successful in 3m13s
Push & PR Check / check (pull_request) Successful in 3m4s
This branch is already included in the target branch. There is nothing to merge.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/project-resource-broker-r11:feat/project-resource-broker-r11
git checkout feat/project-resource-broker-r11
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lanrtop/dev-manager-tauri#22
No description provided.