Dev 组合验证 + 真实部署可见性(genui:无声明区时行为不变;rdm1:分区出现在 /api/admin-zone/sections)
符合:本机 svc 部署面
中
make test 组合绿(GATE=CI);部署后 curl 记录(SELF)
R1–R4
纳入本增量
方案与计划
方案:声明即展示元数据——扩展面只加注册口与规格类型;记录与下发复用 WP3-I4 的注册面摘要通道(applyCompiled→srv.CompiledPlugins);前端按声明 id 映射内置组件(rdm.audit→RdmAuditWorkspace),未知 id 显式占位(版本不匹配可见可诊断);入口门控与 KTD4 一致:内置区仅 isAdmin,声明区全员,区内能力由组件命令面判定。
实施计划:Backend(extension.go/surface.txt/compiled.go/server.go + 单测)→ Frontend(contracts/api/store/TaskSidebar/AdminZone)→ RDM(pins bump + plugin.go 声明)→ Dev gitlink → make test → 证据三段 → PR。
测试计划:R1/R2 Go 单测;R3 vitest+tsc+knip+design-guard;R4 RDM make test+CI;R5 Dev 组合 make test(CI GATE)+ 部署 curl(SELF)。
Why: establish the authorized task workspace and its initial baseline.
Evidence: preserved precheck receipt in .task/feature-adminzone-plugin-sections.md; R0=3b6331d5849af411f7571410876d3c72558e577a.
Impact: task metadata only; the feature workspace starts at 3b6331d584.
Refs: .task/feature-adminzone-plugin-sections.md
Why: card sections were placeholders; gitlinks point the composite at
backend a80d3c3 / frontend c1225bb (both merged component mains) so
make test validates the shipping combination.
Evidence: make test green in this worktree at these gitlinks (local log
/tmp/i3-make-test.log; CI is authoritative); card edits are SELF.
Impact: task card content + submodule pointers.
Refs: WP3-I3; Backend #165, Frontend #63, RDM #240.
Why: Frontend #64 moved AdminZoneSection out of the generated contracts
mirror; the composite must validate against the fixed main.
Evidence: make test rerun follows via make evidence; CI is authoritative.
Impact: submodule pointer only (frontend c1225bb -> #64 merge).
Refs: WP3-I3.
Evidence: receipts for the contracts-mirror dirty-tree failure and the
green rerun at the final gitlinks, imported via IMPORT_RECEIPT (SELF).
Impact: task card evidence section only.
Refs: WP3-I3.
Why: include the current integration baseline before verification.
Evidence: fetched origin/main=475654363de3ec72df68d246ffab8217b1cfeab6.
Impact: integrate upstream changes without rewriting task history.
Refs: task-sync
Why: include the current integration baseline before verification.
Evidence: fetched origin/main=3fa0d3ade8beb6b534c7ffa7505426001c58e284.
Impact: integrate upstream changes without rewriting task history.
Refs: task-sync
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
feature/adminzone-plugin-sections 任务卡
任务主记录:<PR 链接,交付前填写>;状态:进行中;owner:weichen
基线与授权
权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)=
3b6331d584工作区:/home/weichen/projects/Agent-System-Dev-wt-feature-adminzone-plugin-sections(worktree);分支:feature/adminzone-plugin-sections
授权与交付终点:用户 2026-10-12「继续推进」——覆盖 WP3-I3 完成与合入(含 Backend/Frontend/RDM/Dev 四仓配套 PR);不覆盖高后果操作。
交付模式:manual(逐阶段人工评审);明确授权后可记为 authorized-continuous
自动推进授权:无;授权范围:无;授权来源:无;授权终点:无;停止条件:无(未授权)
当前阶段:实施与自检;当前增量:I3 AdminZone 通用声明分区
流程依据:仓库根目录 policy/delivery.md(归档后仍按仓库根目录定位)
目标与非目标
目标:基座管理区可承载编译插件声明的展示分区(通用声明机制,AdminZone 不硬编码任何领域):扩展面 2.9.0 新增
Registry.AddAdminZone+AdminZoneSpec;装载期声明记入注册面摘要,新端点GET /api/admin-zone/sections展平下发;前端 AdminZone 合并「管理员内置区」与「声明区」,系统管理入口在 isAdmin ∥ 存在声明区时可见;RDM 侧注册rdm.audit(项目追溯与审计)声明,复用 U4 工作台组件。对两类管理员(基座超管 + RDM 域管理员)开放(KTD4);能力由服务端下发、前端只消费不合并角色——分区内数据可见性仍由 rdm.inspect.* 命令面 fail-closed。非目标:不做分区级基座权限判定/角色合并(声明只携带展示元数据);不做目录插件 manifest 声明通道(后续按需扩展);不改 U4 工作台组件本体;不动 RDM 授权判定(U1 AuthorizeAudit 不变);不新增组件测试框架(组件级覆盖走 e2e 体系,本增量不建)。
关联方向与规划
modules/documents/docs/proposals/2026-10-11-rdm-two-trees-trace-audit-integration.mdr1:Entrances 节「RDM 域管理员与基座超管从管理区『项目追溯与审计』进入项目目录,选定项目后复用同一页面」+ KTD4 双层管理员裁定;Base Extension Requests 表「宿主页面展示 RDM 审计入口」。需求分析
方案与计划
阶段评审
探索试验与迭代
同步记录
3b6331d5843b6331d584证据(Evidence)
结果与验证(完成后填写)
规划进展与下一步
合入与清理
| 同步前验收 |
475654363d|a1d34bf8ab| 2026-10-12T02:53:46Z |配套子仓 PR(均已合入):Agent-System-Backend #165(扩展面 2.9.0);Agent-System-Frontend #63(AdminZone 声明分区)+ #64(contracts 镜像修正);Agent-System-RDM #240(rdm.audit 声明 + backend pin 推进)。
部署态验收(R5,SELF):
svc update rdm1(rdm@10dd6ac)后GET /api/admin-zone/sections→[{"id":"rdm.audit","title":"项目追溯与审计","icon":"search","order":20}];GET /api/plugins出现rdm编译条目(backend=inproc,provides.commands=108)。对照svc update genui(dev@28af351)sections →[](Dev 二进制无声明,行为不变)。