Skip to content

[Permissions] 模板删除:一次确认影响并统一回退继承 #4246

Closed

Description

@DoodleBears

Parent

#4203

适用已确认的 ADR-0342 与 Bot 审批目标设计。旧父规格中的两层叠加及每次 Human 限制不替代此次确认的选择关系与 ADR-0249 边界。

What to build

用户删除被引用模板时,一次看到全部引用与删除后各 Bot 的有效选择,二次确认后统一处理,无需逐个解除引用。

Acceptance criteria

  • CLI 与 Client 均先显示引用和有效结果,再显式确认;未经确认不删除、不切换。
  • 特定引用统一改继承;全局为另一模板时说明会使用它,删除全局默认则清空全局并说明继承者不再有 Reviewer。
  • 其他特定选择或 Off 不变;不撤销确定性授权或改变 Full Access。
  • 删除走生效策略管理授权;与意外缺失/读取失败转 Human 的路径分开。
  • 已开始的 Review 固定原模板版本,之后开始的按新有效选择;通过 Host、CLI 与一个 Client journey 验证。
  • 评估有多个引用时的删除与影响查询成本,加入与实际规模相符的性能回归保护。

Blocked by

发布仅表示可供 Agent 接手,不代表解除阻塞、已认领实施或已获运行权限变更授权;不推进 SQLite 迁移。新增或改变 Host 能力需同票交付在线 CLI,真实 Host 与 Client 验收、性能影响与回归保护随切片完成。

来源限定的验收记录(2026-11-16)

功能证据包含真实20引用确认、批量继承/global清空、版本隔离和管理边界;607 metadata恢复及最新并发删除/失败读回回归分别有来源。第6项的规模工作量保护不能替代承诺的匹配CLI/preview/delete时延基线,保持未勾选。

勾选针对上述来源范围,不表示所有平台、最新 APK 或未运行的测量均通过。剩余 iOS、当前源冷路径及三项匹配性能验收见 QA #2742。最终实现与源码限定说明见 PR #4266;本记录不改变原有规格正文。

Activity

  1. added this to the v2.0 milestone on Nov 15, 2026
  2. added
    ready-for-agentFully specified, ready for an AFK agent
    area:ui-uxInteraction and visual experience; may accompany a code-layer area
    area:fullstackEnd-to-end Host and Client implementation
    feature:workspaceWorkspace Grant and working-directory authority
    on Nov 15, 2026
  3. DoodleBears commented on Nov 15, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

    • Agent: Codex parent
    • AgentTask: codex/local/01a1df05-43d2-7380-84a0-99084cd0f49c (not a DSH Session)
    • Scope: [Permissions] 模板删除:一次确认影响并统一回退继承 #4246 only — canonical deletion impact preview, explicit CLI/Client confirmation and bulk fallback to global inheritance; fixed started-Review snapshots and existing management/execution fences retained.
    • Worktree: t3/bot-auto-approval-design; branch t3/bot-auto-approval-design.
    • Required development base: E3 28153fa; [Permissions E3] 首片:一个 Bot 的有效模板选择与真实审批 #4211 merge dependency remains. Commit-only development until E3 gates are satisfied, separate final-head review/CI/runtime/R2 screenshots before publication/merge.
    • Parent integrates parallel template-authoring changes later; no concurrent writes to its worktree. No SQLite migration, shared running permission changes or unrelated PR work.
    • State: active
  4. DoodleBears commented on Nov 16, 2026

    @DoodleBears
    ContributorAuthor

    Parent integration qualification update

    Task: codex/local/01a1df05-43d2-7380-84a0-99084cd0f49c (not a DSH Session). Parent integration branch: t3/bot-auto-approval-design. State: active. Returned child sources are integrated at clean local head b92c21e7da6742928edd3955d54e76ac636ddd6d; previous claims and immutable handoffs remain preserved.

    The parent integration includes deletion impact preview, explicit confirmation with revision, management admission and bulk fallback to inheritance. Real 20-reference, changed-preview refusal, deleted-global and remaining-global behavior passed on historical integrated 192237db; final b92 Web media remains in progress. The ordinary launcher/verification ownership checks remain unchanged. No migration, final native/Human acceptance, combined PR/CI or merge is claimed.

  5. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Nov 16, 2026
  6. DoodleBears commented on Nov 16, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Task: codex/local/01a1df05-43d2-7380-84a0-99084cd0f49c (not a DSH Session).
    • State: completed for implementation; remaining verification is explicitly retained in QA.
    • Delivery: PR #4266, with final integration/review fixes in PR #4266, head f1172fdaa3c40b2ace8473fc8152cce3da3e83e2, merge da257ad8b9317e41d2f14dce2fe63b9abe7c2202. Final CI result 11 executed CI checks passed; 4 checks were explicitly skipped, including paused CodeRabbit; independent Spec/Standards rechecks have 0 unresolved findings. CodeRabbit current-head status is recorded separately, not counted as a review pass when skipped.
    • Human accepted the physical Android retained full-card/details/disabled-selected-result experience at source a541133. Runtime/component/source qualifications remain explicit in the PR, not extrapolated to a new iOS run.
    • AC6的匹配20引用预览/删除性能仍未完成。 Full QA, current cold follow-up and three matched-performance gaps remain #2742. Unmeasured criteria stay unchecked; historical failures are retained.
    • Parent integrated the returned delegated sources and completed the live caller-bound/managed admission proofs, review repairs, screenshots/HTML and cleanup. Task-owned resources are stopped; Profiles/evidence remain under the QA hold. No SQLite migration was advanced.

    The implementation ticket closes on feature merge under repository policy. This outcome does not claim every platform or pending metric passed.

  7. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fullstackEnd-to-end Host and Client implementationarea:ui-uxInteraction and visual experience; may accompany a code-layer areafeature:workspaceWorkspace Grant and working-directory authorityready-for-agentFully specified, ready for an AFK agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions