From 8f4f162759eb5ca845f46034d0a7b1939bac28a0 Mon Sep 17 00:00:00 2001 From: weichen Date: Thu, 8 Oct 2026 15:28:58 +0000 Subject: [PATCH] Fill the ext-8 task card with scope and stacking disclosure Why: EXT-8 is accepted (Documents #49) and is the U0 step-4 critical path; the backend branch stacks on the audit-fix head (parent PR #104) to avoid a second gitlink conflict. Evidence: Documents #49 and Dev #263 merged this session; parent head e0b1c27 pushed. Impact: Task card only. Refs: EXT proposal EXT-8; U0 section 5 C4 / section 10 step 4. --- .task/feature-ext-8-resource-authorizer.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.task/feature-ext-8-resource-authorizer.md b/.task/feature-ext-8-resource-authorizer.md index cfe6236d..7cfeb099 100644 --- a/.task/feature-ext-8-resource-authorizer.md +++ b/.task/feature-ext-8-resource-authorizer.md @@ -7,7 +7,13 @@ - 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)= 27885ceb3e6c774495b61e07f560efa1a51855fc - 工作区:/home/weichen/projects/Agent-System-Dev-wt-feature-ext-8-resource-authorizer(worktree);分支:feature/ext-8-resource-authorizer -- 授权与交付终点:<本次允许的动作与终点;未授权事项写明> +- 授权与交付终点:用户目标(含合入清理)+ 验证器指令「#49/#263 受理完成后按闭环启动 + EXT-8 实现任务」;Documents #49(EXT-6…12 申请包)与 Dev #263 已合入受理。 + 允许:Backend EXT-8 实现(红测先行)+ Backend PR + Dev gitlink PR + CI 绿后合入 + 清理。 +- **堆叠披露(collaboration.md 堆叠例外)**:backend 分支 feature/ext-8-resource-authorizer + 基于父分支 feature/command-audit-owner-scoping(`e0b1c27`,父 PR=Backend #104,未合入)—— + 避免 Dev gitlink 二次冲突;主干 R0=Dev `27885ce`。父 PR 合入前后本链均可独立合入 + (内容包含审计修复)。Dev #262 若与本 Dev PR 冲突,以本 PR 为准(包含其内容),#262 可作废。 - 交付模式:manual(逐阶段人工评审);明确授权后可记为 authorized-continuous - 自动推进授权:无;授权范围:无;授权来源:无;授权终点:无;停止条件:无(未授权) - 当前阶段:需求拆解;当前增量:I1(待定义) @@ -15,7 +21,14 @@ ## 目标与非目标 -<预期结果、受影响入口/模块/契约;明确不做什么。> +**需求**:EXT-8(Documents #49 受理,对应 U0 C4)——资源授权适配器:基座资源读取入口在 +owner 自有判定未命中时回调「owner×projectID 是否放行」;未注册=现状;回调失败=fail-closed。 +**本增量切片**:公开面(Registry.RegisterResourceAuthorizer + ResourceAuthorizer 类型, +SurfaceVersion 2.0.0→2.1.0-experimental,surface.txt 同步);Server.ProjectAuthz 注入; +咨询点=GET /api/projects/{id}、GET /api/projects/{id}/artifacts、GET /api/artifacts/{id}(+content)、 +SSE scope=project。**后续工作项(卡内登记)**:知识检索跨 owner(引擎层)、引用/图查询入口、 +hostapi 面——满足 EXT-8 验收全条前不关闭 EXT-8。 +**非目标**:写路径共享(适配器只读);RDM 侧成员表(下游任务)。 ## 关联方向与规划