Add export controls with scoped asynchronous state #73

Merged
weichen merged 2 commits from feature/rdm-audit-export-entry into main 2026-10-14 02:49:17 +00:00
Owner

概览页在三条导出命令启用时提供生成、草稿确认、水位/校验和/有效期和下载。切换项目、身份或卸载后,旧请求不再更新新状态或触发下载;保留当前main的身份、项目、权限入口。

用户2026-10-14明确授权Root接管Dev#488及所需真实依赖,全部合入由智能体执行。当前固定HEAD 4e1eb39035e785810bfca02751cf29572c388768 包含main eb2d6d32f9323094d568bc9d80b4e5ed4f0af25b;UI组合 2c4322ef56df64ad72f65907d25b048a74bb5ffc。

SELF完整frontend263单测/build和6组件浏览器用例通过,原始收据 /tmp/mq-trial488-frontend-full-local-20261014-01.json、export-browser-green-02。REPLAY独立 /root/docs_delivery_review 对固定对象重放61相关单测及12延迟浏览器场景并Review通过,无剩余发现;完整报告 /tmp/mq-trial488-frontend-independent-review-20261014.json,原始收据仍SELF。

本仓CI=N/A:源码没有workflow、平台没有必需检查/当前状态/当前运行;未变更保护。独立组件夹具不冒充业务E2E,实际RDM浏览器和Dev固定组合完整CI另由#488完成。Root本次最终组件窗口只核验固定对象,force_merge=false,实际合入和回收随后核验。

概览页在三条导出命令启用时提供生成、草稿确认、水位/校验和/有效期和下载。切换项目、身份或卸载后,旧请求不再更新新状态或触发下载;保留当前main的身份、项目、权限入口。 用户2026-10-14明确授权Root接管Dev#488及所需真实依赖,全部合入由智能体执行。当前固定HEAD `4e1eb39035e785810bfca02751cf29572c388768` 包含main `eb2d6d32f9323094d568bc9d80b4e5ed4f0af25b`;UI组合 `2c4322ef56df64ad72f65907d25b048a74bb5ffc`。 SELF完整frontend263单测/build和6组件浏览器用例通过,原始收据 /tmp/mq-trial488-frontend-full-local-20261014-01.json、export-browser-green-02。REPLAY独立 /root/docs_delivery_review 对固定对象重放61相关单测及12延迟浏览器场景并Review通过,无剩余发现;完整报告 /tmp/mq-trial488-frontend-independent-review-20261014.json,原始收据仍SELF。 本仓CI=N/A:源码没有workflow、平台没有必需检查/当前状态/当前运行;未变更保护。独立组件夹具不冒充业务E2E,实际RDM浏览器和Dev固定组合完整CI另由#488完成。Root本次最终组件窗口只核验固定对象,force_merge=false,实际合入和回收随后核验。
weichen added 1 commit 2026-10-12 15:38:15 +00:00
Why: auditors need to generate and download a watermarked report from the overview, and that must not appear when the export commands are off or change whether the workspace itself opens.
Evidence: SELF npm test, 138 passed. Playwright download case is in e2e/rdm-audit.playwright.ts and runs under scripts/e2e.sh.
Impact: the overview shows type, generate, draft confirmation, watermark, sha256, expiry, and download only when the three export commands are enabled.
Refs: RDM pull request 301
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-14 02:48:12 +00:00
Why: Complete the authorized export entry while preserving current main project and session behavior.

Evidence: SELF full frontend tests and build, 263 unit tests; deferred browser races reproduced then all 6 passed. Raw records stay outside source until Dev task closure.

Impact: Export callbacks are invalidated on project, identity and unmount changes. Command readiness and current main security paths remain intact.

Refs: Dev PR #488; Frontend PR #73; user takeover authorization on 2026-10-14
weichen changed title from Add audit overview export without widening the readiness gate to Add export controls with scoped asynchronous state 2026-10-14 02:49:17 +00:00
weichen merged commit 5313cfad4e into main 2026-10-14 02:49:17 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Frontend#73