Acceptance sweep (operator runbook)

Delivered work closes on delivery (since 2026-10-27)

A merged, green item is done, unless it is tagged contractual. Nobody needs to come back and prove it (founder direction 2026-10-27, BI-B1B44777 and BI-C899BB40). Only a failure recorded as the item’s newest evidence keeps it open. If something is still wrong later, whoever finds it reports it and that becomes a new item.

A contractual item still waits in awaiting acceptance for its check or its named accepter, as before.

Medium work can still list acceptance criteria in its body (an Acceptance heading with one criterion per bullet, or AC-<id>: bullets). They describe what done means. They are not a separate sign-off.

The acceptance-sweep-daily scheduled task (05:00 UTC, owned by the Portfolio Advisor, AGT-WS-PORTFOLIO) revisits a page of awaiting-acceptance backlog items each day. It records who owes each item’s acceptance, measures how long items have waited, and writes one summary to the standing Acceptance room. It runs without a model. Design: docs/superpowers/specs/2026-09-24-acceptance-accountability-design.md (§9 for closure on delivery and the customer question).

Closing items the gate already allows (off by default)

Some awaiting-acceptance items already pass their completion gate, for example platform work merged through CI and the merge queue. The sweep can close those for you, but only after you allow it.

Where: Admin > Platform Development, the card Let the acceptance sweep close finished work. It shows whether closing is on or off, who allowed it and when, their reason, the per-run limit, and how many items the last sweep closed (or why it closed nothing). Only people with both the manage_platform and manage_backlog permissions see the card.

Turn it on. On the card, say why (at least 12 characters) and choose Allow closing. To change the per-run limit, open Change how many it closes per run first. It is stored as the platform setting acceptance-sweep.close-authorisation.

Turn it off. On the same card, say why and choose Stop closing. The next run closes nothing. The record keeps who allowed it and who stopped it.

The card calls the server actions grantAcceptanceSweepCloseAuthorisation and revokeAcceptanceSweepCloseAuthorisation, which check both permissions again.

It also switches itself off if the person who allowed it is deactivated or loses manage_backlog, or if the Portfolio Advisor loses the grant that permits completing backlog items.

Customer-reported work: one question

An item a customer reported closes on delivery like any other. The sweep then asks the person who reported it one question, once. It recognises customer work from how it arrived: an ecosystem issue or demand intake, a founder demand cluster, or a product quality report.

The answer comes back on its own: the issue intake re-reads the issue’s state.

What happens Result
The issue is reopened after the question One corrective item is filed. The delivered item stays done
The reporter closes the issue Confirmed
Nothing for 14 days Settled by silence

Each item gets one question and one recorded outcome. After that the sweep never selects it again. The summary’s confirmation section counts the questions sent and not sent, the outcomes, and the items still waiting.

What the summary tells you

Each run’s summary in the Acceptance room has a closing section:

Field Meaning
enabled, disabledReason, because Whether closing was on, and if not, why: not-recorded, revoked, malformed, out-of-scope, operator-not-authorised, agent-not-granted, unavailable
authorisedBy Who allowed closing, and when
closed Items closed this run
refused Items the completion step refused when it checked again, with the reason code
skipped Items that had already left awaiting-acceptance
deferredByLimit Closable items left for the next run because the per-run limit was reached

The headline ends with either N closed under operator pre-authorisation or closing off (<reason>).

Who verifies an item that is not closable

An item stays awaiting acceptance only when it has no delivery evidence yet, or its newest evidence is a failure. With routing on, an item that has waited past the aged threshold gets its own Acceptance verification room, bound to one coworker who checks it on the live install and records the evidence. The sweep never picks the item’s author, an agent that runs only outside the platform (such as the external Claude, Codex or Grok agents), or a person.

When nobody qualifies, the summary lists the item as unroutable with the reason: no-eligible-reviewer (grant the lane to a coworker other than the author) or no-in-platform-coworker (only external agents hold it).

An item whose newest delivery or acceptance check is a recorded failure does not wait for the aged threshold. A merge cannot replace that failure; only a new passing check can. If a coworker can record that check, the item gets its room from its second day in awaiting acceptance, which gives the nightly upgrade a chance to put the fix on the live install first. This applies to every size of item. For medium and larger items, the failed delivery check goes to the same coworker that small items use (BI-1D5FCEBE).

The sweep binds a coworker only if its grants let it call record_workroom_evidence (the room’s own evidence writer) and the writer for each check it owes. Otherwise every run of the room is refused before it starts. The item is listed as unroutable with the reason verifier-missing-writer:<tool>. A room that is already bound to such a coworker is listed as routed-unresolved with the same reason, so the summary names the missing grant. The sweep does not change any coworker’s grants.

How the portal knows work was merged

Merged platform work closes on the merge signal: the portal checks whether the item’s branch head, or its linked pull request, is on origin/main. When no recorded pull request is found there, it searches origin/main for a commit that delivers the item: the item id in the commit title, or after a delivery word such as “Fixes” (a bare mention or a Refs: line does not count). A reverted commit, a commit made before the item was last reopened, and a docs commit for an item that is not documentation work do not count (BI-D9DC902E). On an install it reads the Build Studio workspace clone (/sandbox-workspace); a host with a source checkout can point DPF_HOST_SOURCE_ROOT at it instead.

Known limit

The sweep reads each item’s verdict from the same readiness view as get_backlog_item. That view does not yet check the merge signal for items still awaiting acceptance, so some items the completion step would allow may show as not closable here. After you turn closing on, compare the awaiting-acceptance count across two runs to see the effect.