Repository navigation
[A10][Draft] HumanGrant 回执校验、会话隔离与客户端恢复测试 - #880
Merged
LIghtJUNction merged 5 commits intoOct 18, 2026
Merged
Conversation
Restore the HumanGrant sign-in entry independently of OAuth, prevent stale availability responses, and guard owner setting writes with a single same-origin CSRF request and readback. Add 15 synthetic HTTP contract tests. This does not activate server-side grants or claim browser acceptance.
…sions Require main's JSON acknowledgement before readback. Preserve unknown outcomes without automatic PUT replay, and distinguish failed reads from false settings. Scope cookie/CSRF requests and page drafts to the initiating user and session. Discard late responses after account switches, including batched A-B-A changes. Map A02's explicit unsupported-registration error without resending a request. 27 transport/session tests and 4 isolated error-map tests passed with Node 22.16.0. Pinned Bun, full React build and real backend/browser acceptance remain pending.
13 tasks
Keep real client transport tests separate from browser and server acceptance. Include the complete seven-language patch as integration input, not runtime locale data. Document pinned-tool commands and outstanding integration work. The eight loopback TCP scenarios passed with Node 22.16.0 and the exact client source from 9ebd18e. They use a synthetic provider and Cookie/Origin adapter.
This was referenced Oct 12, 2026
Add an isolated synthetic browser runner and explicit scope/required-tool notes. Previous restricted browser attempt reached no business assertions; keep browser acceptance pending for S11.
10 tasks
Member
Author
|
已在本 PR 原分支追加并推送 这次只改 session scope 和其测试:在 JSON 解析前后重新验证会话归属,旧会话响应取消读取;保持 Cookie/CSRF transport、UI 和服务端授权职责不变。 本机固定工具检查:
保留一个具体验收差异,不弱化断言: README 中 Bun 1.3.14 的 TCP 入口在 lost-ack 场景观察到 writes=2,结果 7 pass / 1 fail;Node 入口为 writes=1。该 transport 模块未被本补丁修改,SHA-256 仍为 Draft 保留。真实 Core 人类 Cookie/CSRF、授权/撤销/关闭重开、实际浏览器及七语言 patch 接入仍未完成;这些测试不代表 A10 或 S11 整体通过。不触发或等待远程 CI。 |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
LIghtJUNction
marked this pull request as draft
October 18, 2026 17:01
Member
Author
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.
A10 Web 客户端兼容切片(仍未完成 A10)
此 PR 目标为
wip/rust-core-go-extensions,不是main,仅包含 Web 可独立审查改动;不改变 Core/Go 权限,不部署,不更新 CLI 子模块。已提交
enabled === true && ready === true,读取失败、过期与停用隐藏入口。X-HG-CSRF,不用控制台 Bearer;PUT 必须有 HTTP 200 JSON 业务回执,随后读取权威状态。未知结果不自动重发副作用请求。tests/e2e/a10/translations.json。核验分层
mise+ Bun 1.3.14 的全量 typecheck、lint、format、fullsuite、正式 build;没有真实 Core/Go/PG、真实审批/授权/claim/revoke、资金业务验收。集成前仍需
状态:Draft / BLOCKED,不是 A10 完成、可发布或生产部署的声明。 关联 #675;任务定义:
architecture-completion-prompts.md#a10。