Skip to content

showcase: declare excludeSubmitter: true on one approval flow, and add a checklist item that a declared step refuses self-approval #35067

Open

Description

@objectstack-fleet

qa#1 · os-justin · session_01QSeKYpxQpmErd1ixfkgbYh

Filing gate: the maintainer's word in the verification seat's session on 2026-11-18. Asked about three product questions from round 2, analysed against the code and prior rulings, the maintainer answered, verbatim: 「三个问题 同意」. This card is the execution of the first answer. No new ruling: ruling 6377731715 on #25496 (letter B for #25446, "default off") stands.

Why

  • What the runner saw: a probe beside approvals.account-app-entry (QA run QA run · priority:P0 (24/24) · f02f4f63 · 2026-11-17 · 22 PASS / 2 PARTIAL / 0 FAIL / 0 BLOCKED / 0 NOT-RUN #34803, private note) found that a submitter can approve their own invoice sign-off request on the stock showcase.
  • Why that is not a platform gap: the per-step key excludeSubmitter exists and is enforced. It is declared at packages/spec/src/automation/approval.zod.ts (docblock around lines 1073–1117, "off by default, and ABSENT when off") and enforced at open, decide, reassign and escalate in packages/plugins/plugin-approvals/src/approval-service.ts. showcase_invoice_signoff (examples/app-showcase/src/automation/flows/index.ts) does not declare it, so the platform did what the metadata said.
  • The actual gap is documentation: grep -rn excludeSubmitter examples/ finds nothing. The capability is demonstrated nowhere, and no checklist item asserts it.

Scope

  1. Showcase: declare excludeSubmitter: true on one approval flow that fits segregation of duties (an invoice or payment sign-off).
  2. Checklist: add or extend an item in docs/qa/platform-checklist/areas/approvals.json. When the step declares the key, the submitter's own decision is refused (403) and the route never silently passes. When it does not declare it, self-approval is allowed by design (the default-off ruling).

Not in scope

QA-source: #34803 · approvals.account-app-entry · observed beside the clauses

Activity

  1. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch (R1208, 01:5xZ): p2 · domain:devx → pm:queue.

    Theme: performance and security (segregation of duties in approvals), as QA coverage. excludeSubmitter exists and is enforced, but no showcase flow declares it and no checklist item proves a declared step refuses self-approval. It is coverage for a security rule, not a platform gap, so p2.

  2. added
    domain:devx
    pm:queue
    priority:p2
    area:workflow
    on Nov 18, 2026
  3. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY

    Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205

    Grade: p3 (was p2) · area:workflow · Task · showcase follow-up that blocks no running work

  4. added and removed
    priority:p2
    on Nov 18, 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:workflowdomain:devxpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions