Skip to content

[Permissions] Bot 权限表:显示并撤销来自卡片的确定性授权 #4245

Open

Description

@DoodleBears

Parent

#4203

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

What to build

用户在现有审批卡点 Always allow 后,能在该 Bot 的 Always allow 表格看见带来源、范围的确定性授权,并通过 Client 或 CLI 撤销,下一次请求重新按现有流程审核。

Acceptance criteria

  • 从真实审批卡保存规则,经 Host 规范 owner 读回,显示来自卡片、作用范围及撤销入口;自然语言行与确定性规则执行语义不混淆。
  • 规则命中无需 LLM;模型单次 allow 不新增规则。
  • A 的规则不授予使用同模板的 B;不随模板复制传播,保留角色和授权范围。
  • Client 与在线 CLI 撤销同一规则后,再次调用恢复审核;实时撤销与执行 fence 保持有效。
  • 现有展示/审批 journey 前后基线可比,零模型快速路径有回归保护。

Blocked by

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

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

    User-authorized separate-checkout implementation under #4203. E3 PR #4250 runtime/CI/native acceptance remains a dependency; commit-only handoff to parent, no publication or merge.

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

    @DoodleBears
    ContributorAuthor

    Agent work outcome

    • Task: codex/local/t3-4b12395c-524bb9295bc69076
    • State: handed-off
    • Commit-only implementation: 92b817589b98df94e294f0aafd47baa3c0375f30; no push or PR.
    • Changed: exposes the existing Bot-owned card rule list in composer permissions with source, role, scope, canonical revoke/readback and Reload. Existing Host/online CLI owner and runtime fences remain unchanged.
    • Validation: 61 focused tests, additional Client/design-token tests, native typecheck, full build, touched lint, source-policy, CLI parity, feature-map and release-ledger guards passed. Isolated DSH authenticated health and online CLI list passed.
    • Remaining: real card→save→table→revoke journey, same-template/copy runtime checks, before/after performance, qualifying R2 screenshots, HTML publication/viewport review, and parent independent review. E3 runtime/CI/native acceptance remains a dependency. No issue closure or dependency-merge claim. Task Host stopped; private Profile/evidence retained.
  6. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Nov 15, 2026
  7. DoodleBears commented on Nov 15, 2026

    @DoodleBears
    ContributorAuthor

    Agent work continuation

    • Task: codex/local/t3-4b12395c-524bb9295bc69076
    • State: active, resumed by parent
    • Scope: real [Permissions] Bot 权限表:显示并撤销来自卡片的确定性授权 #4245 card→saved rule→Bot table→Client/CLI revoke→review proof on pinned 92b817589b98df94e294f0aafd47baa3c0375f30, plus privacy-reviewed R2 evidence and final-head HTML. No source changes planned.
    • Limits: E3 card-retention feedback is being implemented separately; current captures describe pre-feedback dependency UI only. No devices/native builds; timing/performance capture deferred while parent Gradle build is active. No push/PR/watch/merge.
  8. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Nov 15, 2026
  9. DoodleBears commented on Nov 15, 2026

    @DoodleBears
    ContributorAuthor

    Agent work outcome — pinned runtime qualification

    • Task: codex/local/t3-4b12395c-524bb9295bc69076
    • State: handed-off
    • Source remains 92b817589b98df94e294f0aafd47baa3c0375f30; no new source edit, push, PR, watch, merge or issue closure.
    • Real public bot-tool secret_cli + missing-reference fixture proved card Always allow → canonical source/role/scope table → Client revoke → new review. Online CLI revoke and open-table Reload also restored review. Same-template/copy Bot isolation and zero-Reviewer saved-rule reuse passed. Two real model allow-once outcomes left saved rules unchanged. No external program executed.
    • True matched base/head light/dark screenshots and downloadable CLI-generated exact-head HTML are on R2 with source provenance, public hash/decode/readback and desktop/narrow inspection.
    • E3 card-retention/compact-row feedback is separate: these runs use pre-feedback dependency UI, not final combined card/native/Human acceptance. Performance remains unmeasured under the parent Gradle constraint; declared budgets and guards retained. Parent owns fresh source review, final integration/replay, CI/publication/merge.
    • Owned Host and browsers stopped; both task ports verified free. Private Profile/evidence retained; source clean.
  10. removed
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Nov 15, 2026
  11. DoodleBears commented on Nov 15, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim — parent review fix

    • Agent: Codex parent
    • Task: codex/local/01a1df05-43d2-7380-84a0-99084cd0f49c (not a DSH Session)
    • Scope: fix confirmed P2 in [Permissions] Bot 权限表:显示并撤销来自卡片的确定性授权 #4245: decode existing wrapped canonical approval scope when displaying the directory; preserve full raw scope and existing authority. Cover explicit, browser, computer and null-device Tob scopes.
    • Branch: t3/bot-specific-approval-rules; source ownership returned clean at 92b81758.
    • State: active; parent performs the fix, then independent recheck and final integration/qualification. No issue delivery or merge claim.
  12. 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 the canonical Bot-owned rule table, source/role/full-scope display and existing Client/online CLI revoke owner. The real card → save → table → revoke → review and Bot/template-copy isolation journey passed on historical integrated 192237db; it remains labeled by that source. Final b92 Web before/after media is now being qualified. No final native/Human acceptance, CI for the combined branch, PR or merge is claimed.

  13. added
    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

    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDsarea: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