verify-desk
Run the post-merge VERIFY role of the process desk — the standing window that drains the "Awaiting verification / review" queue. Merging a brief-PR does NOT complete it; a NON-implementer must run the brief's Verify table on merged main, fill Evidence, and advance implemented-to-verified-to-done. Use when starting/resuming the verify window, when asked to "run the verifier loop / drain the awaiting queue / verify merged briefs / turn merged into done", or when the coordinator delegates the verify half. Mirrors pr-review-desk but POST-merge. Role window, no persona (Bob belongs to the-desk only); driver human:<name>.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 7
- Forks
- 5
01 前言 Front Matter
- name
- verify-desk
- description
- Run the post-merge VERIFY role of the process desk — the standing window that drains the "Awaiting verification / review" queue. Merging a brief-PR does NOT complete it; a NON-implementer must run the brief's Verify table on merged main, fill Evidence, and advance implemented-to-verified-to-done. Use when starting/resuming the verify window, when asked to "run the verifier loop / drain the awaiting queue / verify merged briefs / turn merged into done", or when the coordinator delegates the verify half. Mirrors pr-review-desk but POST-merge. Role window, no persona (Bob belongs to the-desk only); driver human:<name>.
02 资源文件 1
- 参考文档component.yaml632 B
03 SKILL.md 正文
Verify Desk
The post-merge verify half of the four-role pipeline: worker-desk implements behind draft PRs →
pr-review-desk reviews and flips ready → human:<name> merges → verify-desk (this skill, its own
window) runs each merged brief's Verify table on merged main as a NON-implementer, fills Evidence,
advances implemented → verified → done. Merging is deployment frequency, not completion, and an
unwatched Awaiting queue is how briefs rot at implemented; this loop is the Change Lead Time fix
and the Change Failure Rate sensor (the docs/streams/verify-outcomes/ record directory is its
input — one file per outcome, since #882; a legacy verify-outcomes.jsonl line still counts for as
long as that log is not yet retired). It does not run the
PR event watcher (capability:durable-monitor) — that is pr-review-desk's.
The stream board is a derived, generated surface — this desk's deliverable is the witness (the Evidence row, the verifyrun log, the App approval); it never hand-edits a board cell, and the board follows the witness.
Bindings for your harness — which mechanism each
capability:*names — are in../../references/<harness>.md.
Shell & transport mechanics every role re-derives — one call/one chain, workspace isolation and content-triggered write-guard refusals, per-commit inline identity, loop/session marker export, authenticated push/fetch transport, role/repo coverage, and running a
ghcall as the role App (never a human's CLI login: §Forge CLI as the role) — are in../../references/desk-shell.md.
Every
ghcall carries this role'sGH_TOKEN, reads included. When no desk verb covers a forge call, run it only through the recipe in §Forge CLI as the role, never a hand-typed shortcut. That recipe takes the role from$DESK_LOOP, mints it withdesktoken, scopes the token to that one command without exporting it, and stops beforeghunless the mint exited 0 and the token file holds a non-whitespace token. A bareghcall runs as the host's stored login, which is usually a human's, so a desk never runs one, not even for a read.
Disposable task output follows desk-shell.md §Managed task scratch. Use inherited owned scratch, complete canonical evidence handoff before acknowledgment, and let the runtime reclaim it. A delegated agent must never acknowledge its parent’s scratch.
The loop-continuity note this role writes at each iteration boundary and before any long wait — nine sections, re-probe rather than cache — is
../../references/standing-note.md.
In a cell, a drain asks this role for a handoff record before it is stopped, and the next boot reads it before the first sweep. The record's five sections, where it lives, and how it is reconciled and marked read are in
../../references/handoff-note.md.
Procedure every desk role shares — liveness, supervision and context, worktree hygiene, the driver-act runsheet entry — is stated once in
../../references/desk-common.md; read it at boot. Hard gates never move there: they stay resident in this body.
House rules live in the repo's own house-rules doc (CLAUDE.md) — git/PR discipline, identity and
posting, trust gate, filing and escalation, refresh-don't-remember, board hygiene, the console
noise-floor pointer, and worktree-sprawl ownership (the deskwt prune supervisor). This skill points at
them; it never restates them.
Autonomy. FILE, don't ask: a FAIL, a defect, a stale fact, an out-of-scope discovery is filed
immediately and the drain continues. DRAIN, don't wait is this desk's form of the reversibility test:
land the Evidence and make the flip on every reversible brief now — the Awaiting queue IS your
direction — and stop only for this desk's one-way set, the two flips it does NOT make (the
irreversible: yes flip and the CI-owned gate: model verified→done flip). Those are async — land
the Evidence, surface the wait, take the next brief. An escalation is a filed artifact you keep moving
past, and it goes to human:<name>, never to a bigger model.
A verdict judges the deliverable, never the hardening of the environment it ran in
(§A verdict judges the deliverable, not the environment).
HARD GATE — never claim "idle / caught up" without a fresh sweep
An idle claim is a claim about the Awaiting queue, and the only evidence about that queue is a fresh
sweep: before reporting "idle", "caught up", or "nothing awaiting", it is a HARD PRECONDITION that
verifyloop plan has just run and printed an empty queue. "My dispatched verifiers finished" is
NOT evidence — a verifier completing speaks only to the brief you already dispatched, never to briefs
merged since; that conflation is a silent outage reported as an all-clear. A plan run stopped
by a red preflight (exit 6) is could-not-check — blind, NEVER an empty queue, as is any errored
run: fix the check it names, re-run, then claim. An open verify-gate wait is a wait state, not idle.
Boot
WT=$(deskwt role-init --role verifier)— session-scoped locked worktree on a branch trackingorigin/main, with the worktree-scoped verifier-App bot USER identity. Idempotent: reuses your own valid tree instead of registering another. Never hand-rollgit worktree add;deskwtmissing is a preflight-class failure.deskboot verify-desk, from$WT— loop identity, prune, lock, roster registration, the five-check operating-envelope preflight, the token mint, the read-only board fetch, worktree currency, and the first sweep's prerequisites (roster forge mapping, desk-tools pin) in one verb. A red step iscould-not-runfor the WHOLE pass: report the one summary line and STOP — claim nothing, and file no issue about the desk's own envelope (each failing check names the issue that owns it). A probe REJECTION is a STOP; never retry under another identity.- Export the stream-root map BEFORE the first queue read —
DESK_ROOTS="<owner>/<repo>=<path>,…", one entry per checkout on this machine that carriesdocs/streams/; the project layer states the value (this desk never hardcodes a list). The shipped compiled defaults are a PLACEHOLDER topology, so withDESK_ROOTSunset a queue read either refuses outright ("root … is configured for<placeholder>but statusgen reports its stream … as<real repo>") or covers only the placeholder's roots — either way the cross-repo merge aborts and whole repos never appear in the Awaiting queue. Both outcomes are could-not-check, never an empty queue: prove the map by reading back therootsarray the queue prints and confirming every repo you expect is in it. - Resync before every wave, scoped to your worktree, identity guard FIRST — a mismatched origin is a
hard STOP, not a re-point, and a bare
git reset --hardfrom outside your own tree wipes another session's work (what the F-34 writeguard blocks; re-issue withgit -C "$WT", never bare):[ "$(git -C "$WT" remote get-url origin)" = "$(git -C <repo> remote get-url origin)" ] || { echo STOP; exit 1; } git -C "$WT" fetch origin && git -C "$WT" reset --hard origin/main - Arm the cadence tick — a REQUIRED, named boot step, BEFORE the first sweep
(
capability:cadence-tick; the harness binding in../../references/<harness>.mdnames the mechanism). This is the window's wake signal, and nothing else in this boot creates one: thecapability:durable-monitorloop §Liveness contract names is best-effort and is not armed by this desk at all, so a window that skips this step wakes only on a human keystroke. The tick re-prompts THIS window every 30 minutes (the fleet cadence floor the coordinator's tick already runs on) with the same prompt the coordinator's tick carries — freshverifyloop plansweep → drain what it prints, up to the declared width → ONE quiet line — copied, never redesigned. Read back that it is armed (the binding's check) and printcadence-tick: armed 30monce. A window that cannot arm it printscadence-tick: could-not-check — <reason>at boot and FILES it; it never runs keystroke-driven in silence. A width this desk set is re-asserted inside the same tick prompt (§The loop, item 3). A tick-mode run (§Tick mode) skips this step — the scheduled caller IS the tick, and a one-shot pass arms no wake.
Tick mode
A run is a TICK when the harness passes the literal argument --tick, or the environment
carries ASSAY_TICK compared EXACTLY to 1. Absent both, the run is a standing WINDOW and
every rule in this body holds unchanged — so the contract is inert until a caller asks for it,
and a loose truthiness test on that variable is what would silently convert a live window into
a one-pass run.
A tick is ONE bounded pass: boot, ONE fresh sweep of this desk's own queue with the instrument
this body already names, act on what that sweep made actionable up to this role's declared
width, wait bounded for what it dispatched, print the summary line, exit. In tick mode this
desk arms no capability:durable-monitor, schedules no wake-up, sleeps for no cadence, runs no
second sweep, and never waits in line for an answer — an escalation is a FILED issue and the
pass continues. It never claims idle or caught up: one fresh sweep supports a verdict about the
pass that ran, never a standing claim about the queue. A tick narrows the LOOP, never a
GATE — gates, budgets, stop flags, identity rules and escalation obligations are unchanged,
and a tick short of budget drops WORK, never a CHECK. Its last line of output is the summary
line, in which a pass that could not read its queue says so and is never reported as an empty
one.
The trigger predicate, the bounded pass, the budget arithmetic (ASSAY_TICK_DEADLINE and the
exit reserve) and the summary-line grammar are stated once in
../../references/tick-contract.md, whose grammar has one
executable form at ../../scripts/tick-summary.sh. This section states no rule that file does
not own.
Pre-work admission
A verifier starts only after the dispatcher has produced a successful pre-work stamp
receipt for its exact run. deskdispatch --kit verifier creates a typed attestation
record before emitting the prompt; it uses the existing desk custody even when this
standing desk and its child both use the verifier App. The record is dispatch provenance,
never verification evidence. Do not stamp an unrelated implementation PR or wait for
a future Evidence PR to establish admission. PENDING is not admission.
Before any Verify row or model-attested result, the verifier runs deskdispatch --check-verifier --root <home> --brief <path> and requires success. The witness runner
enforces that same execution-phase check; the Evidence verb runs the landing-phase check
at its --root, so the desk lands from the dispatched verifier home (see Landing
below), never from its own checkout. Retain the returned exact run/source/model/tier
binding in Evidence and the Evidence draft handoff. An edited record, changed source or
changed Verify commands stops the run. The verifier edits only the brief's Evidence
section and never the stream index: any stream-index change in the home refuses the
execution-phase check, so a verifier that edits its own row loses the run. After the
verifier returns, the desk edits the brief's own row's lifecycle cells in the home for the
row-scoped landing, and only the landing-phase check admits that edit. Verifier output files (logs, binaries and scratch
results) belong outside the admitted source worktree; additional files, including ignored
files, refuse admission at execution and landing. Admission binds the home's index to the
attested tree and compares every file's bytes against the attested commit, rendered with
that commit's own attributes and the checkout conversion pinned at dispatch, so index
edits, index flags, replacement objects and filter drivers cannot hide a changed input.
The home must be its own git work tree: a configured work tree (core.worktree, at any
scope) or none at all (core.bare) refuses, since a row's git would read elsewhere.
Rendering a converted file (an eol or encoding attribute) needs git 2.41 or later; an
older git refuses such a home rather than render it from attributes the home could move.
That refusal names the git, not a VERIFY FAIL: such a git cannot tell a converted file
from a changed one. Report it and re-run on git 2.41 or later (an upgraded verifier
image), where only a real change refuses; never relax admission to get past it.
A change to any other row of the stream index after dispatch, such as another brief's
landing, also refuses the home: re-dispatch from fresh main, which costs a new record
and stamp but no Evidence already landed. The record admits
Evidence only for its own brief: that brief, its stream-index row, or an outcome record
keyed to it. Landing Evidence for any other brief refuses, even with a valid record.
A runner inside a --network none container cannot reach the forge, so it never runs
the check itself. The host brackets the container run instead, within one dispatch and
with no edit to the home between the steps:
- Host open:
statusgen verifyrun --open-bracket --root <home> --brief <path> --out <receipt>, with<receipt>outside the home. It runs the check, digests the home's tree and writes the receipt. A refused check writes nothing. When the home lists Go module roots inimages/verify-runner/go-module-roots.txt, add--module-cache <dir>, a new empty directory outside the home (never the host's own module cache): the step downloads those modules there against the home'sgo.sumand prints the container flags that mount the cache read-only. A failed download is could-not-check; never fall back to the image's baked cache. - Container run:
statusgen verifyrun --sandbox=container-netns --brief <path> --admission-receipt <receipt> --container-image-digest sha256:<64 hex> --witness <file>, with the receipt mounted read-only, the flags the open step printed, and<file>a new file outside the home. It refuses before any row unless the mounted root digests to the receipt's tree, and refuses after the rows if they changed it, writing no attestation orTree-Digest. Without a receipt it refuses outright. - Host close:
statusgen verifyrun --close-bracket --root <home> --brief <path> --admission-receipt <receipt> --witness <file>. It re-runs the check and appends oneAdmission-Bracket:line only when the check re-admits the run the witness names and the home still digests to both the receipt's tree and the witness'sTree-Digest, read only from the span ending where the line goes (a span with a secondTree-Digest,Container-Imageor attestation line is refused). Itswitness=value is the digeststatusgen verifyrun --bracket-digest --witness <file>prints for that bracket (verdict=matchonce closed), which the landing's on-behalf-of stamp does not change.
Land the closed witness file's bytes, bracket line included, as the Evidence block. A
container row without its Admission-Bracket line is unattested and is not a Linux
witness. On the landed file, statusgen verifyrun --bracket-digest --witness <brief> must
report verdict=match and span-lines=tree-digest:1,container-image:1,attestation:1 on that
bracket's own bracket= line, and the bracket's opened must precede closed.
verdict=match shows only that the bracket is consistent with its span, not who wrote it:
the digest is keyless and computed from the file's own bytes. A row is credited only when
all of these conditions hold:
- The bracket line and every span line were landed by the verifier's landing step
(
deskevidence). Per line,git blame --line-porcelaingives anauthor-mailthat is the roster verifier's noreply address with its pinned numeric id, never judged by the display name. A roster human does not qualify. - The span's attestation matches the verifier's attestation record for that run. The whole
Verification-Attestation:line (run, source, brief, model and tier) equals the line rendered from the record its<repo>#<issue>names. That record passes every ruleReadVerifierAttestationapplies: titled exactly[verification-attestation] <run>, authored by the roster's dispatcher identity (distinct from the verifier), closed, never edited, and carrying the dispatcher's model stamp for that model and tier. A record by any other author, the verifier included, is not credit. - That attestation names the brief that contains it and the source under verification.
A bracket and span written outside the landing step, a bracketed block copied from another
brief or an earlier source, or an attestation that does not match its record is not credit,
even when the digest matches. Check all three with statusgen verifyrun --bracket-digest --witness <brief> --credit --source <40 hex> on the landed brief: each bracket's line ends
credit=credited, credit=not-credited or credit=could-not-check, with the reason on
standard error. Credit a row only on credit=credited, never on verdict=match alone. The
record must be in the brief's own repository and authored by the dispatcher; a login-only
verifier match, a shallow clone, a missing roster or an unreadable record is
credit=could-not-check, which is not credit. Condition 1 reads
the commit author git records, which is author-asserted attribution, not authorization: whoever can commit
to the brief can write the verifier's author address. The forge-attributed record in
condition 2 is the anchor. Only server-side rules on who may push to the brief's branch
prevent the forgery, and a verifier roster entry with no numeric id leaves condition 1
could-not-check. A version 2 (cross-repository) receipt runs the same bracket with --root
naming the deliverable home and --brief naming the tracking repository's brief outside it;
every step refuses unless both repositories are named and differ and the brief holds the
bytes the receipt admits. --credit credits such a span only when both repositories pass the
repository checks: the tracking repository, where the record lives, is the brief's own, and the
source repository (source-repo=) is in the configured repository set; otherwise it answers
credit=not-credited. A linked
worktree's git directory is not mounted in the container, so rows that need git history
run on the host.
When a Verify table mixes container-witnessable rows with host-only rows, assemble its
Evidence with statusgen verifyrun --rows <id>[,<id>...], which runs and records only the
named rows under the standard witness header and prints every other row as row <id>: not selected. Run the container bracket above with --rows naming the container-witnessable
rows, then a host statusgen verifyrun --rows naming the host-only rows. The two selections
are disjoint and together cover the whole table. Either landing order works; land both
tables in the same run before its verdict line. Before that verdict, statusgen verifyrun --check <brief> must accept the whole table: every owed row is satisfied and supplemental
rows remain explicitly uncredited. --bracket-digest must report verdict=match for the
container bracket. Never hand-paste or fence a witness table. --rows
narrows a run, never an audit: --check covers the whole table, the last witness for a row
wins, and the credit rule above is unchanged. A bad selector (an unknown, empty, repeated or
shared ID, a table with no # column, or --rows with an audit or bracket step) is refused
before any row runs.
For cross-repository coverage, host witnesses bind the whole tracking tree at the
admitted tracking-source. Any non-bookkeeping change there holds them at closure
and every later board read, requiring a fresh admitted run. Keep summaries in prose
or tables without Date/Runner headers, which the closure reader reserves for run
records. Repair a malformed summary through a fresh admitted run and append its
native evidence and verdict through deskevidence; retain the earlier record.
With --acceptance-record, execute the protected host rows in one host invocation on a
clean committed source, before inserting uncommitted Evidence. Include every supplemental
row so the producer records author-added; no acceptance credit. Select these host rows
with --rows; use --acceptance-forge when the descriptor names an approved transition.
A chain descriptor carries Acceptance-Transition: link=<k> amendment=<sha> approval=<url>
for each contiguous link after the one Verification-Table: line. Draft each link's
exact v2 payload for the driver; never post an approval. Link 1 alone may retain a v1
approval under its existing rules. The shared plan derives Command, Expect or
Command+Expect changes, and every original witness must follow the final amendment.
Then bracket the disjoint container-witnessable rows on that same source and land the
closed witness through the sanctioned Evidence path. The selections together cover the
whole protected table, and the assembled run carries exactly one Verification-Table:
descriptor. A second protected host invocation duplicates that descriptor or moves its
source and cannot close. Container execution may precede the host invocation if its
witness remains outside the home and the home stays clean; inserting it first makes the
protected host execution refuse. Never rewrite witness cells or receipt fields to make
sources agree. Outside a transition bracket, container rows execute the current table, so a row whose current definition
differs from its owed original definition still needs the existing protected acceptance
route; mixed assembly does not exempt that obligation. The whole-table audit and bracket
credit checks above remain mandatory.
A protected or transition record may instead run inside a closed container-netns transition bracket opened and closed with the same --acceptance-record descriptor.
The host steps plan through the canonical protected-acceptance evaluator and re-read
transition approval with --acceptance-forge; the container refuses that forge flag.
Inside the bracket the container executes the receipt's planned table, not the current
table, preserving every unamended Command and Expect and marking supplemental rows
author-added; no acceptance credit. Close re-plans and compares the descriptor,
source, exact table, changes and witness commands before appending the bracket.
deskdispatch --check-verifier runs only on the dispatch host; checking on another
runtime still refuses environment changed since admission: runtime. Never re-admit
inside the runner. --in-container, --check and cross-repository admission with the
record stay refused. Protected container execution requires explicit --root and
refuses --fail-first: baseline history is outside the bound plan; keep baseline
qualification on the host. Credit is unchanged: credit=credited only, never digest match
alone. Independent whole-table verification and human closure gates remain required.
On failed pre-work stamping, no verifier prompt is emitted and the claim is released.
Keep the retained worktree for recovery; return its real dispatch receipt to the coordinator
desk, which runs deskdispatch --attest-verifier --root <home>. This creates no replacement
claim, worktree or worker. Recover the same record, reacquire the original claim, then
check admission before launching. If an uncertain create cannot be found, hold recovery;
never create a new run to evade the missing receipt. Do not change identity to recover it.
Qualifying a repaired verifier installation
A source test proves the source under test, not the installed runner. When a tool or this procedure needs repair, keep this order: implementation PR merged → containing tool/plugin release published → consumer pin updated → installed tools, plugin and runner image confirmed against that pin → fresh independent qualification with new dispatch/admission → dependent brief verification. Record the actual versions and image identity used, not merely the desired pin. A pending release, stale installation or unavailable image is a BLOCKED qualification. Do not edit installed plugin caches or substitute a locally built binary in an admitted run. Historical Evidence and receipts remain immutable; neither a source-only regression test nor an old qualification becomes evidence for the new installation. After qualification succeeds, re-dispatch dependent briefs from current main with their own new admission and exact rows. These steps confer no merge, release, installation or lifecycle authority beyond each role's existing grants.
The loop
-
Sweep existing Evidence PRs before fresh verification dispatch. Across every configured repository, read this desk's authored open Evidence PRs, their current heads, real review-lane verdicts, checks and mergeability. Apply the ownership table under PR-based Evidence landing. A blocking verdict at the current head is this desk's repair work: assign a verifier correction on the SAME branch/PR, fix and push, then hand the new head back for review. Do not leave that work behind merely because
verifyloop planis empty or a receipt holds the brief. A correction that needs new verification gets fresh independent dispatch/admission; never replay an old receipt or relabel an old run. Review/ready/merge ownership remains unchanged. -
verifyloop plan --root <repo>from$WT: the deterministic scheduler prints the Awaiting queue, each item's tier, and the exact dispatch instruction (or human-route note). It spawns nothing and writes nothing. Do not hand-compute the queue — the plan IS the worklist. -
Dispatch what it prints, one verifier per item, via
deskdispatch <item-key> --kit verifier --model <actual-model> --tier <selected-tier> --brief <path> --perf-work '{"kind":"brief","repo":"<owner/repo>","brief":"<qualified-brief-id>"}'(claim → worktree → roster → decision gate → model stamp → prompt).<qualified-brief-id>is the brief file's frontmatterbrief:value with the number's leading zeros dropped (deskkitPerfBriefRef):assay:assay:desk-supervision:37, orassay:assay:graph-execution:2for graph-execution/02. perfrec silently drops a work ref carrying the<stream>/<NN>key or a zero-padded number, and thendeskperf rerunshas no cost row to join. The work ref is local perf context only. It changes nothing about what is credited. Tier 1 (implemented, empty Evidence) before Tier 2 (verified → donecloses), oldest-first within a tier; Tier 2 is never hidden — a filtered-out free close becomes permanent debt. A brief whose Verify table carries ≥4 risk-bearing rows fans out into per-row sub-verifications inside that dispatched pass (the table-size branch — see Verification quality below), still one verifier session per item. -
Land each verdict as it returns via
deskevidence(below) — never a wave buffered to the end. How many verifiers may be in flight at once isdeskroster width --role verify-desk, re-read every tick. This desk's declared default is the MEASURED SAFE WIDTH — the shipped default in the tools' width table is the number (measured: a parallel drain of six ran a full window without a rate-limit trip), and the width exists so the coordinator can move it whendeskboard throughputnames verify as the bottleneck, without this body carrying a number that could drift from the tools. A width this desk sets itself persists for the life of the window: a set width decays to the default after one hour by design, so the tick prompt (Boot step 5) re-asserts it —deskroster set --role verify-desk --width <N>on every tick, the same N — rather than letting a widening expire mid-drain with no session that knows why. Narrowing never stops a verifier mid-pass — stop dispatching and let the pool converge as verdicts land. A width that cannot be read is could-not-check: hold at the last-read number. -
Repeat as a CONTINUOUS drain, reporting incrementally. Never end a turn with a non-empty dispatchable queue: re-run
verifyloop planand dispatch the next batch in the SAME turn; a round summary ("all N of this round landed") is not a stopping point. Standing down is not something a turn drifts into — before ANY wrap-up the stand-down checklist below is printed, every line answered, and anoon any line means the turn continues with the next batch instead.verifyloop verdictis the deterministic-runner half; filing its signed payload is the autonomous cutover,gate: human.Stand-down checklist — printed before any wrap-up, never satisfied by a summary line:
stand-down: fresh sweep run this turn (verifyloop plan, exit 0, printed queue)? yes/no stand-down: Evidence PR rework swept; owned blockers assigned or filed? yes/no stand-down: dispatchable queue EMPTY on that sweep (every configured root)? yes/no stand-down: in-flight verifiers all landed or surfaced as open waits? yes/no stand-down: hand-off artifact written on the driver surface (§Liveness contract)? yes/no stand-down: cadence tick still armed (Boot step 5) to wake the next sweep? yes/noThe first four lines must read
yes; the fifth readsyes, orcould-not-checkciting the issue Boot step 5 filed. That is the precondition §Liveness contract already states, made printable; anything less and the desk is mid-drain, not standing down.
Wake receipts — a failed/blocked brief is not re-run just to reproduce its failure
(verify-wake-v1; canonical receipt contract). When a verifier run ends
verify-fail/blocked, its landed outcome sidecar row carries a WAKE RECEIPT: the inputs it
observed, the blocker class, and the checkable condition that must change before re-running is
worth a slot. verifyloop plan reads it and buckets the brief accordingly — consume the
plan's decision, do not second-guess it:
wait— a complete, still-UNCHANGED receipt. The line names the blocker and the next actor (worker / brief-author / human / operator) and what will wake it. It is VISIBLE but NOT dispatchable: do not re-dispatch it, and do not treat it as done — the failure stands, held until its wake condition is met. Route the next action to the named actor if it is not already moving (animplementation/check-definitionblocker is worker work;human-actionis a human gate;environmentis an operator/prerequisite condition: a missing prerequisite a row needs, never the hardening level of a runner that works, §A verdict judges the deliverable).could-not-checkon a wake reason — a declared input could not be read. Never rounded up to unchanged, never a pass; hold and surface it exactly as any other could-not-check.- A legacy or incomplete receipt (pre-v1 rows, or a receipt missing its schema/blocker/wake fields) is NOT held — it stays dispatchable for exactly one classification pass, which produces a complete receipt. This is the migration path: existing rows keep today's behaviour until the first complete receipt lands.
- Explicit recheck is the escape hatch: to force a held brief back into dispatch, land an
explicit-recheck-with-reasonreceipt (the reason is recorded). A receipt never grantsverified/done— it is scheduling evidence only; the flip stays the ordinary implemented→verified→done path a NON-implementer runs on merged main.
Writing a receipt: derive scope, then validate the bindings. Use the supported writer path before the outcome lands:
- Prefer the writer's automatic receipt derivation. For a non-pass outcome, supply the
observed outcome, row counts/results, real
blocker_kind/blocker_ref, run join keys, timestamps and full Evidence commitshatodeskevidence --outcome-record, without a hand-authoredwake_schemaorinputsmap. The supported derivation fills the receipt ID, schema, input revisions, tool version andrelevant-input-changedpredicate; it does not invent the blocker or acceptance evidence. A supplied complete receipt (for example, for another supported wake predicate) still passes the supplied-receipt checks; an incomplete suppliedverify-wake-v1receipt is refused, not completed by guessing. inputscovers the whole declared scope. The writer derives every selected existing file from the Context declarations at the admitted Source, plus the brief and tool. It also derivesscope:digests for declared path kinds, literal absence and sorted directory/glob membership. One file per directory is not coverage. Use the shareddocs/declared-input-scope.mdcontract; never manually forge a map, drop an unsupported declaration, or copy current target-branch hashes to make a receipt land. An unsupported or unreadable declaration is incomplete evidence, distinct from a successfully observed absent path or empty membership. Derivation refusal leaves the outcome unlanded.blocker_refis a real issue or PR reference:#N, or<owner>/<repo>#Nfor a sibling repo. When no tracking issue exists yet, file the bug first and cite its number. Never write a placeholder ("to file") or a sentence in this field; the blocker's description belongs innote.- The brief's
file:revision is the brief AS IT LANDS. That is the SHA-256 of the brief on your Evidence branch after your Evidence rows are appended, not the pre-Evidence copy at the admitted Source revision. The outcome'sshanames the successful Evidence commit; the brief input hashes its landed bytes. The wake reader hashes the file in the merged tree, which includes your append, so a hash of the pre-Evidence brief makes the receipt fire the moment it lands. Write the outcome row last, after every edit to the brief on that branch. A later merge of main into the branch is not such an edit: never re-hash over it. If that merge changed the brief, the receipt fires when it lands, which is correct, because the brief changed after the verify run.
deskevidence --outcome-record checks completeness, receipt validity and Evidence binding
before landing derived or supplied receipts. Observation-input re-derivation applies to
relevant-input-changed receipts; it is not a check of every wake predicate. A refusal names the violated field or binding; report it rather than weakening admission
or shrinking the declared inputs. Automatic derivation is not permission to skip that result.
After automatic derivation (or when a complete receipt is supplied), a verify-fail or
blocked outcome record MUST carry a complete receipt: the writer REFUSES (exit 5) a still
incomplete record, naming the first missing field (wake_schema, receipt_id, blocker_kind,
wake_predicate, then the predicate's own input). Every record that claims
wake_schema: "verify-wake-v1" also carries the run's join keys: prs (the merged changes that
delivered the brief, as {repo, number, merge_sha}; or an explicit prs: [] with
prs_unknown_reason: "no-pr-delivery" when nothing was delivered), verifier_tier (any or
strong, equal to your admitted tier; never a model name), started and finished (RFC3339 UTC,
started <= finished <= ts), plus the existing rows_passed / rows_total.
When rows is non-empty, row_results is required for ALL original Verify IDs and their observed results.
This includes non-contiguous numeric, suffixed and label inventories. Each exact result is
{row, result} (pass / fail / could-not-run / deferred); when rows is empty
or omitted, row_results remains optional.
rows names only exact identities still held by the receipt, never every covered row;
coverage belongs in row_results / rows_total. A verified record omits rows.
For draft payloads using covered rows, follow the producer migration in
the outcome-row producer migration: preserve the original payload and
witnesses, derive held identities only from that run's real results, and retain
incomplete evidence unlanded if it cannot establish them. Never rewrite historical
Evidence or guess PASS identities from counts. All native landing controls still apply.
Optionally add dispatch_ref (<claim_key>@<YYYYMMDDTHHMMSSZ>.<12 hex>, copied from your dispatch; it stays
self-reported). The writer reads each prs entry back from the forge (exists, merged, merge commit,
reachable as verify-wake-v1.md specifies: a same-repo GitHub change in the record's sha history, a
change in another repository in that repository's default branch, a GitLab change merged into its
default branch by the record's ts) and refuses one that fails; a forge it cannot read, including a
not-found answer for a repository other than the register, is could-not-check, not a pass. Never write withheld or dispatch_ref_sha256 yourself: the writer produces them when it
redacts the record for the register it lands in, and refuses them as input. A record that repeats a
key, or spells one in a different letter case, is refused. Field details: the verify-wake-v1.md
reference.
An outcome never substitutes for refused Evidence. Land the brief's Evidence first and check that write's actual exit/result. If it is refused or could-not-check, file the landing failure and do not publish an outcome for it. A new outcome must name the full Evidence commit SHA, and the target branch and that commit must carry this admitted run's exact Verification-Attestation line inside Evidence. The writer checks both copies before publishing the record. Refresh the brief from the successfully landed branch before deriving its input hashes; an older Evidence block or receipt from a previous run does not satisfy this check. An existing identical record remains an idempotent no-op.
Sibling repos are in scope (human:<name>, 2026-07-10, F-23): a brief whose deliverables land
cross-repo is verified in the sibling checkout — read the set from deskroster repos, never a
hardcoded list; an uncloned repo is could-not-check for that row, never a fail. Resync the
sibling, run its rows there, record sibling repo + SHA in Evidence beside the in-repo row.
"Resync" means confirmed-current, not merely attempted: git -C <sibling> fetch origin can
fail silently (a rewritten remote, a dead credential) and leave the tree exactly as stale as
before the fetch ran, and comparing the checkout's own HEAD to its own origin/main afterward
proves nothing — a silently-stale fetch moves neither, so they still agree. Cross-check instead
against an INDEPENDENT read of the same ref: git -C <sibling> rev-parse origin/main compared
against gh api repos/<owner>/<repo>/commits/main --jq .sha (a different protocol, so a rewrite
that misroutes the git fetch does not also misroute the API call). A mismatch this desk cannot
resolve is could-not-check for that row, never a row run against whatever the tree happened to
hold. The SHA recorded in Evidence is the one the cross-check confirmed, not the one requested.
The verifier dispatch — the moat
- ALWAYS dispatch; NEVER verify inline; never the implementer. An inline verdict lives in session
context and dies with it (an afternoon of correct verification,
capability:dispatch-workercalls 0, zero artifacts). A dispatched verifier returns a written verdict that outlives your context even if you never act on it. "It's only a one-liner, I'll just run it" is the failure mode, not an exception to it. Verifier ≠ author — a fresh agent, always (brief-16 attribution). - Isolation (
capability:isolate-workspace): its own TEMPORARY worktree under/private/tmpofforigin/mainat the merged head, never the shared checkout, removed when the pass ends. PRs viadeskpr, replies viadeskreply— never a raw forge call. - Evidence is
command → exit code → real observed output, one row per Verify item, dated and runner-attributed, never a bare ✓ and never a claim. A row that cannot run is recorded EXPLICITLY unrun with its reason — never silently skipped, never assumed-pass. Every submitted execution row has separateDateandRunnercells, including BLOCKED/unrun rows and supplemental host observations. For unrun rows they identify observation of the blocker, not execution. A dated heading or commit author is insufficient. Recover missing attribution from retained run records or rerun; never infer it. Preflight every submission withdeskevidence … --dry-runbefore publishing its Evidence PR; repair any refusal without advancing the brief. - The emitted verifier kit owns command preflight, row coverage and verdict spelling. Its sections 2 and 5 carry the execution procedure; dispatch it verbatim. This desk checks the returned accounting and routes the outcome as described below.
- Run
statusgen verifyrun --brief <path>— it IS the execution witness, not an optional extra. verifyrun re-executes each Verify row in a fresh subshell at the repo root and writes back the command, exit code, an output hash, the date and the runner identity; that witness table is what turns an Evidence row from prose into something a reviewer can re-run and compare. In a--network nonecontainer, run it only inside the admission bracket (§Pre-work admission); the closed witness file,Admission-Bracketline included, is what lands. Averified/doneclosure this branch makes with no witness for a Verify row is a hard lint PROBLEM, not the softer per-stream NOTICE the inherited backlog still gets. - Fail-first: a risk-bearing row must red on the base. When the table has a risk-bearing row
(any
risk:answeryes, or a row tagged risk-bearing, live, mutating or end-to-end), runstatusgen verifyrun --brief <path> --fail-firstbefore landing the Evidence, not the plain run. It checks a base out into a temporary worktree, runs each risk-bearing row there with the same sandbox and--cimode as the head run, then runs the table at head, and the witness gains aBasecolumn (base=<sha> red|green|unproven · head=<sha>) as its LAST column. A row green at base and at head is non-discriminating: it passes with or without the change, so it proves nothing about it. Name the base. The default base is the merge-base of HEAD andorigin/main. In this desk's flow the change is already merged, so the default base already CONTAINS the change and every row would be green. Pass--base <the parent of the delivering merge>. Resolve it from the forge, not from memory:gh pr view <N> --json mergeCommit --jq .mergeCommit.oidnames the delivering commit on main, and<that oid>^is the parent, which is the commit before it on main for a squash merge and the first parent for a merge commit. Pass--base "<oid>^"after resolving it to an object id withgit rev-parse. What the check does not prove. The runner and the lint accept only the merge-base or an ancestor of it that already holds the brief file at its current path; a base on the branch, HEAD itself, an object this clone does not hold, or a base older than the brief (the root commit, say) is refused. A brief created or renamed on the branch has no such ancestor, so only the merge-base itself is accepted for it. The lint does NOT check WHICH ancestor you chose: any ancestor from the brief's creation up to the merge-base passes. That the base is the tree without this change is your attestation, and the Base cell is self-attested Evidence text like every witness cell. So take the parent of the delivering merge, never a convenient old commit, and if you cannot resolve the delivering change, record the rowunprovenrather than guess. Only the LATEST witness for a row counts, and it must be for the row's current command: a later plain run, or an edited command, drops the fail-first record. Exit 1 means at least one risk-bearing row is non-discriminating. That is a VERIFY: FAIL on the row, not on the code: route it back to the implementer to strengthen the row (docs/verify-row-strength.md). Never land a closure on it. Exit 2 means a row could not run at base, which is could-not-check, not a pass. The lint refuses a new closure whose risk-bearing row has no current fail-first witness, is non-discriminating, or names a base that is not the merge-base or an ancestor of it that already holds the brief at its current path (for a brief created or renamed on the branch, only the merge-base itself). Side effects run twice. A live, mutating or end-to-end row is executed once more at base, so read each such row for side effects before running fail-first; a row that cannot safely run twice is recordedunprovenwith its reason, never skipped silently. - Tier — the two-stamp model. The routine drain runs at the LOCAL SESSION MODEL, never a
stronger external/paid tier (human:<name>, 2026-07-15). A risk-clear brief (gate
model, all risk answersno) is the normal path and most of the queue, and the local tier is its only stamp. A risk-flagged brief (gate: humanor anyyes) may have its Verify table RUN for the Evidence but cannot be signed off by a model — route it to the human gate — and agate: humanbrief carries TWO stamps before the human closes it: the drain's local-tier PASS (first stamp), then ONE floor-tier re-verify (second stamp), the single sanctioned pass above the local tier, one per human-gated brief — see "gate: human— the two stamps" below. Read each brief's own frontmatter; never default the queue to one treatment. - The prompt is a KIT, not prose written here.
deskdispatch --kit verifieremits the common-clauses kit (isolation floor, no-evasion, offline envelope, three-state instruments, escalate-durably) plus the verifier kit — Evidence format, run-every-row, and the risk-bearing value ENUMERATE → rank → derive procedure, verbatim. Declared source, in this package's tool home and embedded in the binary (deskdispatch --kits):tools/desk/cmd/deskdispatch/references/verifier-prompt.mdandcommon-clauses.md. Never paraphrase a kit clause at dispatch time — the wording IS the fix.
Verification quality — ground before you read, fan out, trace every row
Three procedures harden the verify pass against the failure modes a single sequential verifier holding the whole table in one context is prone to. Each fails on a DIFFERENT signal, so they layer rather than duplicate; each is neutral procedure — no new tooling, no new value — and the one threshold below is a default the adopter tunes.
-
Ground in the base branch — derive what SHOULD exist BEFORE you read the work. Before the verifier reads any diff, PR discussion, or the implementer's tests, it derives from the brief text +
origin/mainwhat the merged work should produce — the files, behaviours, and outputs the brief's Task and DoD call for — and writes that expectation down. Only THEN does it run the rows against merged main and compare. Reading order is the control: grounding first in the diff biases the verifier toward whatever solution the implementer happened to choose, so a wrong-but-plausible implementation reads back as correct. The expectation derived from the base branch is what each Evidence row is checked against. -
Per-row fan-out — one isolated sub-verification per risk-bearing row when the table is large. A Verify table with ≥4 risk-bearing rows (default; the adopter may tune the threshold) is run as independent per-row — or per-cluster-of-related-rows — sub-verifications rather than one pass over the whole table. Each sub-verification receives ONLY the brief text and its own row(s); it never sees a sibling row's outcome. The verifier session collects the sub-verdicts and lands them as one Evidence set. Below the threshold, run the table inline as a single pass, as before. Rationale: one context degrades across a long table — later rows get a rotted read of the brief and requirements get skipped; per-row isolation gives every row a fresh, full read of its own requirement, and a per-row fan-out is exactly the moat's dispatch shape applied within the pass.
-
Scope traceability — every Evidence row names the Verify row it discharges. When writing Evidence, each row cites the Verify row (and thus the DoD line) it satisfies. Verified work that maps to no Verify row is invented scope — reported in the verdict as a finding, never a silent pass; the verifier confirms the requirements the brief STATES, not requirements it imagines. The converse — a Verify row with no Evidence row — stays the existing unrun discipline: silence reads as unrun, never as pass.
Anti-gaming — re-derive expected values, never copy them from the work. Where a brief's DoD
gives example input → expected pairs, the verifier re-derives each expected value from the
brief text and compares; it never lifts the expected value out of the implementer's test code
or output. A value copied from the work under test verifies only that the work agrees with itself.
wrote-to-the-testlabelled brief — re-derive the table from the merge-base, never as merged. On a brief whose delivering PR carriespr-review-desk'swrote-to-the-testlabel (seedocs/protected-paths.md), rundeskpathguard rederive --root <this checkout> --brief <path/to/brief.md>BEFORE running any row. It reads the## Verifytable as it stood at the merge-base of the delivering PR withorigin/mainand diffs it against the table at HEAD: a row present only in the post-change table isauthor-added, and is reported that way in Evidence — neverpass, whatever it asserts. Every other row runs using the merge-base row's own command/expect text, not the (possibly edited) HEAD text — an edit to an existing row's assertion is bypassed rather than trusted. This is the SECOND layer the check's single-point-of-failure note names: the reviewer'sdeskpathguard checkis the one control until the paths land in branch protection, and this re-derivation catches an edit the check missed because it reads git history, not a label. The desk treats zero re-derived rows, a missing original row, or a filtered run with no required-row coverage as incomplete evidence regardless of exit status; it cannot land a passing verdict on that accounting. Before recording closure, followdocs/protected-paths.md§ "Recording closure after re-derivation" for the immutable table marker and explicit uncredited supplemental rows.
Risk-bearing value — desk-side routing
The gate essence, so the desk can read a verdict: a green Verify table proves the code matches the pinned
value, not that the value is right — green test ≠ correct constant — and naming a property,
invariant, or guard is NOT naming a risk-bearing value; the entry is the literal inside the guard, at
a file:line. The trigger is fail-safe: irreversible: yes, OR no risk: block at all (an
ABSENT field is not a no — reading it as one is the F-28 failure shape itself), OR a risk-classed path
in the diff (the repo's own list — auth/, billing/, deploy/ and the like), OR a value CLAUDE.md
pins as a hard constraint wherever it lives. Recover an already-merged diff from the PR number in the
stream-README notes cell or the Evidence (gh pr diff <N>); none recorded → git log --oneline -- <brief path>, then git show. Every verdict returns a RISK-VALUE: line, and the desk acts on it before any
status flip:
NAMED, NOT DERIVED+irreversible: yes→ value,file:line, and the missing derivation go verbatim into the Evidence on the brief; the verify-gate issue lifts Evidence into its body, so the open question reaches the human on the sign-off card. That issue IS the artifact.NAMED, NOT DERIVED+gate: model, irreversible: no→ file aquestionissue under the verifier App FIRST (brief, value,file:line, derivation needed), link it in the Evidence row, then flip. The brief still advances — never invent a gate it does not carry — but the un-interrogated number carries a durable pointer instead of vanishing into a green row. A flag with no artifact is the F-28 failure shape wearing the fix's clothes.DERIVED/N/A→ record in Evidence and proceed; no issue.
A verdict judges the deliverable, not the environment
Whether a brief's Verify rows pass is a question about the deliverable. Whether the runner or container this desk uses is hardened enough is a question about the project's infrastructure: a real one, tracked on its own, and never a hold on a verdict. Authority: the driver's standing ruling (2026-10-19), which applies to future cases too.
- Close on substance. A
gate: modelbrief with norisk: yes, held only because of where it could run, closesverifiedwhen every Verify row passes with 0 fail on a working runner. The execution witness is a mechanical re-run: no re-review and no new hold. The witness names the runner class it actually used, never one it did not. - The environment is part of the claim only when a row says so. A row whose own assertion is about the environment (it refuses network egress, it runs with no network) must run where that assertion can be exercised. That is substance, not posture; a row that could not run there is recorded unrun, as any other unrun row. Network is otherwise allowed where a row needs it.
- Still held, and asked as a one-line yes/no, "does it work?": a row that fails or never ran,
gate: human, anyrisk: yes, a tool refusal. This rule loosens none of them, nor the admission, two-stamp, irreversible-brief and risk-bearing-value rules above and below, nor the limits on live-cluster, production and billed endpoints (cluster rows and live probe rows, below). - A blocked outcome names a missing row, capability, definition or provenance. The hardening level of a runner that works is none of those: it is filed with the infrastructure work it belongs to and records no blocker, wake receipt or hold on the brief.
Classify the observed result before landing
Keep the verdict, Evidence prose, row accounting and outcome record consistent:
| Observed obligations | Verdict and outcome | Next action |
|---|---|---|
| An acceptance obligation was actually checked and failed, including an observed non-discriminating risk-bearing row | Strict **VERIFY: FAIL**; verify-fail |
Name the failed obligation and primary output; retain any other unrun rows separately |
| No obligation failed, but required evidence is unavailable or incomplete | Exact **VERIFY: BLOCKED**; blocked |
Name every uncovered row and the capability, definition or provenance needed to run it |
| Every required obligation has current admissible evidence and closure gates allow advancement | Strict **VERIFY: PASS**; verified only after the closure lands |
Follow the landing and closure checks below |
Write the one verdict marker you reached and no other VERIFY: token in this run's Evidence or
deliverable: not negated, not in inline code, not as "no PASS marker". The readers are lexical.
The strict gate matches **VERIFY: PASS** inside backticks, and the board reader takes the last
token it sees, so "No strict **VERIFY: PASS** marker" under a FAIL reads as a PASS to both.
Say what the verdict is not in words that carry no token ("this is not a pass").
For BLOCKED, retain command → could-not-run → reason for each uncovered obligation, file the
blocker and land the available Evidence without a lifecycle flip. Use the same admitted
Evidence-first outcome path below with outcome: blocked and a complete wake receipt. If the
Evidence landing itself refuses, retain the diagnostic and file the landing blocker; publish
no outcome in its place. A nonzero process exit alone does not decide which obligation failed,
and an exit 0 alone establishes neither row coverage nor qualification.
A BLOCKED or could-not-check re-run of a verified brief is recorded in the outcome record only;
only a reproducing FAIL or a fresh PASS earns an Evidence append. deskevidence refuses that
Evidence append on a verified or done brief; land the run with
--outcome-record <file> --outcome-only, whose record states
"evidence_withheld":"non-decisive-verdict-on-verified-brief" and names the admitted
observation commit as its sha, and open no Evidence PR.
On VERIFY: FAIL — a Change Failure, filed not buried
First, is it a STALE row rather than a Change Failure? A large share of FAILs are the same
shape — a row pins a path, a count, or a tool idiom the tree moved out from under it, so the table
fails AS WRITTEN while the work it checks is intact. On a FAIL whose row matches that stale shape,
run deskrebaseline <brief> --row K before filing. It classifies the row against a narrow safe
set and fails CLOSED: a safe:* verdict (add --open, run from a clean checkout at the fetched
refs/remotes/origin/main with --root set to the brief's own checkout — it refuses otherwise)
opens a one-row re-baseline draft PR — as the verifier App, reviewed and human-merged like any PR, never landed on main by the verb — and a
refused:* verdict means this is NOT a stale oracle. On any refused:* (or a non-stale FAIL), file
the issue exactly as below, carrying the verb's reason. See docs/rebaseline.md for the safe/refusal
sets and the PR shape.
Otherwise the brief does NOT advance. File a bug immediately (deskfile new -R <owner/repo> --raised-by verifier --label bug) with the failing command and its real output, then continue the drain — the filed issue
IS the report. The body carries each failed row in the Evidence form, one line per row:
`<command>` → exit <N> → <verbatim output>. That is the triple the fixer re-runs and compares
against, so never split it into prose ("its exit code, 6") or drop the exit code. In addition write one outcome record and land it with deskevidence --outcome-record (since
#882: one NEW file per outcome, landed under docs/streams/verify-outcomes/<stream>/, single-writer = this
desk; the VERIFY FAIL commit-subject convention is grep-fragile, so bounce-back rate is not
computable from prose). Write the record to the dispatcher-named outcome path from your prompt —
never invent one, and never write it inside the home, where it is an untracked file that refuses
admission; with --root, deskevidence refuses a relative or in-home --outcome-record. The record carries
attempts: one entry per run of the Verify table in the dispatch, as the verifier reported them (window,
rows_run, disposition and reason; a discarded run keeps its entry). deskperf reruns counts them. On PASS write the same row's shape with "outcome":"verified" only AFTER
the Evidence, execution witnesses, Status verified (or done), and dated Verified stamp have
landed on the target branch and statusgen --lint accepts that same tree. Before writing,
refresh only the brief in the verifier home from the target branch
(git -C <home> fetch origin <branch>, then git -C <home> show FETCH_HEAD:<path> > <home>/<path>).
Use the full git -C <home> rev-parse FETCH_HEAD as the record's Evidence commit SHA.
The writer binds that commit to this run's landed Evidence, while deriving deliverable input
hashes from the admission's Source commit, which is the tree the verifier actually observed.
The brief input still hashes its landed Evidence bytes. An existing-file content repair between observation and Evidence therefore wakes the failure.
If the declared paths, path kinds or directory file membership change between Source and
Evidence, the outcome writer requires fresh independent verification on the current target
branch. Re-dispatch and rerun the Verify table before retrying the outcome; never add hashes
for files the old run did not observe, or treat a refused record as landed.
Supplied input-change receipts must describe the same admitted inputs. Never check out, pull or merge in
the home, because moving its detached HEAD refuses admission. Leave the stream README as the run left it: its attested bytes plus this brief's own
row's lifecycle cells, which the row-scoped landing already put on the target branch. Admission
refuses any other change to it (another row, prose, or this row's authoring cells), and before
execution it refuses any change at all. deskevidence --root <home> checks the closure and compares
the brief and stream README with the target branch; if another row of that README moved on the
target branch after dispatch, the outcome record refuses, and the brief is re-dispatched from the
current target branch rather than the README being refreshed. Evidence-only landings that leave Status implemented MUST NOT record a
verified outcome. A PASS awaiting a closure gate is not yet a completed verification; verify-fail
recording is unchanged. Records are immutable — a correction is a NEW record (a fresh ts), never an
edit of one already landed.
Core outcome fields below are schematic, not a complete writer input: add the real blocker
and run join keys described above for automatic non-pass derivation. Use blocked instead of
verify-fail when no acceptance obligation failed.
{"ts":"<ISO8601Z>","brief":"<brief-key>","outcome":"verify-fail","rows_passed":<n>,"rows_total":<N>,"sha":"<full-evidence-commit-sha>","attempts":[{"attempt":1,"disposition":"discarded","reason":"env-fault","cause_ref":"<owner/repo#N>","started":"<ISO8601Z>","finished":"<ISO8601Z>","rows_run":<k>},{"attempt":2,"disposition":"credited","started":"<ISO8601Z>","finished":"<ISO8601Z>","rows_run":<N>}]}
<brief-key> is the register's own <stream>/<NN> key (the record's file path derives from it),
never the qualified --perf-work brief id.
A failed/blocked verify also creates a durable REPAIR OBLIGATION (repair-obligation-v1;
docs/streams/desk-supervision/repair-obligation-v1.md) — a versioned marker in the sibling
docs/streams/repair-obligations.jsonl projection, keyed by (repo, brief, source receipt, failing
rows) so a re-land of the same failure reconciles to the SAME obligation, never a second. It is the
durable unit that stops a filed failure from sitting unassigned while new briefs consume workers: an
implementation/check-definition blocker becomes worker rework (worker-desk row 5b), a
human-action/environment blocker stays waiting-external with its exact required action, and an
unknown blocker is explicit triage — never an invented implementation bug. A merge WAKES
reverification, it does not resolve the obligation: only a valid INDEPENDENT verification at the
repaired revision resolves it (a same-actor or wrong-revision pass is refused) — which is this desk's
own reverification pass, run as a NON-implementer on merged main. In the reference/interim build the
obligation-creating sink is a SAFE dry-run default; the real filing sink is the human-gated cutover.
Landing — deskevidence is the SOLE main-push carve-out (narrow, dated)
The witness lands WITH the Evidence, in the same file, same invocation. verifyrun's output rows
(Result/Output/Date/Runner) ARE the Evidence table's rows — there is no separate landing step for the
witness. Commit it alongside the Evidence row it backs; an Evidence row landed without first running
verifyrun is the self-report this desk exists to replace.
The whole fleet is branch + draft PR; push-to-main and merge are human-gated. The one exception, and it
is this desk's alone: deskevidence Evidence-row landings and the status flips that accompany them
commit straight to main as the verifier App — human:<name>'s authorization of 2026-07-09, restated
2026-08-24 (audit ruling 3). Nothing else, nobody else: not another verb, not another file
class, not another desk, not a wider branch grant.
Interface: deskevidence --help — positional <owner/repo> <branch>, --evidence-file required (plus
--brief-path to merge a row into a brief's Evidence section), ONE file per invocation, and it mints
its own verifier App token in-process and does NOT read GH_TOKEN (prefixing it with a token cat
only misleads). Set VERIFIER_MAIN_OK=1. Every landing passes --root <the dispatched verifier home>,
where admission is checked. The admitted forms are:
- Evidence rows:
--brief-path <brief> --evidence-file <absolute fragment path>, with the fragment written to the desk's own scratch OUTSIDE the home (a fragment inside the home is an untracked file and refuses admission). - Stream-index flip: edit the home's tracked
README.mdrow, then--evidence-file docs/streams/<stream>/README.md --row <NN>. - Outcome record:
--outcome-record <absolute file outside the home>. Release the home only after the last landing for its run.
Leave Runner cells unannotated; deskevidence owns the on-behalf-of principal. Never type an
on-behalf-of annotation into a Runner cell; pre-check with deskevidence … --dry-run instead.
The tool stamps the roster's principal into every App-run row the landing adds. It restamps a
planted or non-principal annotation, and refuses (nothing written) a row naming a different roster
human. The dry-run runs every refusing gate on the stamped content and prints each stamped row. Do not
pre-check by linting the home, where App rows read as unstamped PROBLEMs that the landing itself fixes.
A sanctioned channel is not a way around a blocked write. deskevidence is where the real guards
live and fire — VERIFIER_MAIN_OK, the repo allowlist, the BodyCheck secret/impersonation scan, the
outward-write rate limit, the post-commit attribution check (author = the App's bot USER id), the
audit line — so use it because it enforces those. A guard- or classifier-BLOCKED git push is a
STOP-and-escalate; never route the same write through another tool to get past a block.
A PASS is a flip signal only when its own Evidence agrees. A PASS whose Evidence still carries an
un-deferred HELD/could-not-check line is not a flip signal. Clear every such line first, in one of two
ways. Run it, then strike the old line through: a later run does not clear an earlier hold by
itself, because the tooling does not infer that the new row supersedes the old one, so wrap the
earlier HELD/could-not-check text in ~~…~~ and name the run that settled it (~~could-not-check — no runner online~~ superseded by the 2026-07-10 run below). Or formally defer it: route it to a named
follow-up with a reference (deferred to <stream>/<NN> or #N). A bare "deferred", or a row left
HELD, is neither. The read is lexical: the words HELD and could-not-check anywhere in unstruck,
unquoted Evidence prose count, so do not use them for status wording such as a run heading. Fenced
code, blockquotes and inline code spans are quotation and do not count, except a span holding only
the word itself (HELD), which reads as your own status token; a disposition of yours inside a
longer span is not read, so keep it out of code formatting. Land
implemented → verified only once every such line is cleared. The tooling refuses the same
contradiction downstream: the model autoflip, the verify-gate card, and statusgen --close-verify
from verified as well as from implemented. On the verified close the row's own status is the pass
claim, so a loosely worded PASS or no marker at all does not switch the read off, and a FAIL counts
until a later strict **VERIFY: PASS** marker answers it. A flip over an open hold only parks the
brief at verified with a refused close.
Land as each verdict arrives. A PASS in hand and not on main within one landing cycle is a defect:
the board shows phantom verification debt, other sessions re-report "stuck" briefs, and merged→verified
lead time inflates by pure reporting latency. The Age column measures exactly that. Everything else this
desk posts goes out under the role App via the desk verbs (deskpr / deskreply /
deskfile --raised-by verifier), resolved with desktoken --no-rotate verifier --repo <slug> —
never a bare forge call.
For comments, use deskfile attach on issues or deskreply on this desk's own PRs;
deskpost comment is reserved for pr-review-desk.
Standing-doctrine pointer (2026-08-17): the verdict-transcription lane (docs/streams/verdict-lane/,
ruling R-6) would replace this path with signed verdict issues and a main-side sole writer; until R-6 is
SIGNED and the lane armed (cutover = verdict-lane/06), this section stands unchanged.
Public repo (PR-required main) — Evidence lands by PR
Some repos' main refuses a direct App push outright: a branch ruleset requires a pull request, an
approving review that is not the last pusher, and a named status check, with the verifier App on no
bypass list. deskevidence's direct-to-main commit is REJECTED there (GH013), and that rejection is
a STOP — never a prompt to seek a bypass grant. The carve-out above is not widened by this
subsection: it stays exactly what it was, and on these repos this desk does not push main at all.
Precondition — a recorded ruling. This lane is available for a repo only when a human ruling on the record names that repo and this landing shape. Without one the brief is surfaced as awaiting a decision and the drain moves on; do not open Evidence PRs on a repo speculatively.
Once the ruling exists, land each verdict as a PR instead of a push — same deskevidence, same guards,
a branch as the target instead of main:
-
Cut the branch FIRST, server-side, from the current main.
deskevidencewrites to a branch that already exists and REFUSESmain/masteroutright, so this step is a precondition, not a convenience — and cutting server-side from the fetched remote head keeps the Evidence off a tip that has already moved:git push origin refs/remotes/origin/main:refs/heads/verify-desk/<stream>-<NN>-evidence-<YYYYMMDD>Spell the source
refs/remotes/origin/mainin full: a bareorigin/mainresolves to a stray LOCAL branch of that name wherever one exists, and the push then silently seeds the branch from a stale commit. -
deskevidence <owner/repo> verify-desk/<stream>-<NN>-evidence-<YYYYMMDD>, ONE invocation per file — the same one-file-per-call interface and--root <verifier home>landing forms as Interface above, just aimed at the branch: first the brief's## Evidencerows (--evidence-fileplus--brief-path), then the stream README row flipimplemented → verified. Both land on the SAME branch and ride in the SAME PR — an Evidence PR that carries the rows but not the flip leaves the board lying, and a flip without the rows is a stamp.VERIFIER_MAIN_OKis a main-push switch and is irrelevant here; every other guard (repo allowlist, BodyCheck, the outward-write rate limit, the bot-USER attribution check, the audit line) fires exactly as before. -
Open the DRAFT PR under THIS DESK'S OWN token. The PR's AUTHOR identity is load-bearing: an Evidence-landing lane keys on the verifier App having authored the PR, so a PR opened under any other role's identity is not an Evidence PR and will not be treated as one. Check what your PR verb authenticates as before you use it — where it mints a FIXED role's token rather than the session's, it is the wrong tool here, and the stopgap is a plain forge
pr create --draftwith the verifier token exported. Titleverify(<stream>/<NN>): evidence + implemented→verified; body carrying EXACTLY ONEBrief: <stream>/<NN>trailer. On a public repo the body must be SELF-CONTAINED — no private repo names, no internal ids, no local paths — and the stopgap path has no body scan in front of it, so run the project's own leak sweep over the body and the branch tree yourself before opening. Read back the PR's author login and confirm it is the verifier App; anything else is a STOP, not a "close enough". -
Hand off and move on. The review desk owns the verdict and the ready-flip; this desk never approves, never flips ready, never merges. Where the project has armed an Evidence auto-merge lane, merge follows the reviewer's approval and the required status with no further action; where it has not, the PR waits on a human merge. Either way the brief's row is
verifiedthe moment the Evidence PR merges, and thegate: modelverified→done flip stays CI's (see below). -
Keep a reviewed Evidence PR mergeable: every state has exactly one owner. Since #882, an Evidence PR that writes ONLY the per-file layout no longer conflicts on outcomes: each writes one NEW file under
docs/streams/verify-outcomes/<stream>/, named by a pure function of its own content, so two PRs only ever add the same path when they carry byte-identical content, and two identical adds merge cleanly with no driver. (Before #882, every Evidence PR appended to one shared outcomes log, and the forge computed mergeability and performed the merge server-side with no.gitattributesdriver applied — the log'smerge=unionresolved a LOCAL merge only — so an open Evidence PR wentCONFLICTINGwhenever a sibling landed. That class is closed FOR NEW WORK using the per-file layout.) For such a PR, aCONFLICTINGverdict now means a REAL content conflict — two PRs editing the same brief's## Evidencesection, or an unrelated file — never the outcomes shape.Transition window: the shared
docs/streams/verify-outcomes.jsonllog stays on disk, unretired, until every open PR still touching it has landed (#882's follow-up, #1802) — a PR still appending to it still conflicts with every sibling PR that also touches it, exactly as before #882. Resolve that the pre-#882 way: merge main locally and push (themerge=uniondriver resolves a LOCAL merge). A receipt correction on such a PR is a NEW--outcome-recordrecord with a laterts, never an edit of the existing log line.Read each of your open Evidence PRs against the table below and act on the rows this desk owns: merge main and push, merge-never-rebase, resolve whatever conflicts for real (or, for a still-on-the-shared-log PR, resolve via the local merge above), and say so on the PR.
A PR's state is three facts. Verdict: none (some required review lane has never given a
verdict and none is blocking), blocking (any lane's latest verdict is a CHANGES_REQUESTED, an open
finding or a security fail), or clear (every required lane's latest verdict passes). At head:
whether the current head is the head that latest verdict was given at. A push after the verdict, a
fix or a merge of main, makes it no. Mergeable: MERGEABLE, CONFLICTING or UNKNOWN, as the
forge reports it. Read the rows top to bottom; the first match is the state.
| # | State | Owner | Next move |
|---|---|---|---|
| 1 | Merged or closed | nobody | done |
| 2 | Mergeable UNKNOWN |
whoever reads it | nothing: re-read on the next pass |
| 3 | Verdict none |
review desk | first review of each missing lane, at any mergeability |
| 4 | Verdict blocking, at head yes (not yet answered by a push) |
this desk | fix and push |
| 5 | CONFLICTING, and verdict clear, or at head no (answered by a push, awaiting re-review) |
this desk | merge main and push, whether or not an approval is at the current head |
| 6 | MERGEABLE, at head no |
review desk | re-review the delta |
| 7 | MERGEABLE, verdict clear, at head yes |
review desk | flip |
The rows are exclusive, because the first match wins, and exhaustive. Over the 18 combinations of
verdict × at head × mergeable: the 6 UNKNOWN ones are row 2; the 4 none ones are row 3;
blocking at head, MERGEABLE or CONFLICTING, are row 4; the 3 other CONFLICTING ones
(blocking not at head, clear at head, clear not at head) are row 5; the 2 MERGEABLE ones
not at head are row 6; clear at head MERGEABLE is row 7. 6 + 4 + 2 + 3 + 2 + 1 = 18.
A PR whose fix is pushed and which re-conflicts before its re-review is row 5, not row 4: the
finding still stands formally, but it has been answered, so this desk merges main. One at a time:
merge main into the oldest row-5 PR only. Take the next one only after that PR has been flipped,
merged or closed, or has gone back to row 4. When it re-conflicts, merge it again at once. Stop
condition: stop merging main into a PR once it is MERGEABLE, while it is in row 4 (fix first),
and once it is merged or closed. Never merge main into a PR in any other row: a row-3 PR is reviewed
as it is, and an extra merge only adds another re-review round.
Land-as-each-verdict-arrives still applies — the PR replaces the push, not the cadence. Buffering a wave of Evidence PRs to the end of the pass is the same defect as buffering pushes: a PASS in hand and not on a branch within one landing cycle is phantom verification debt. One brief = one branch = one draft PR, as everywhere else in the fleet.
gate: human — the two stamps: local-tier drain, floor-tier re-verify, THEN the sign-off card
A human done close on a gate: human brief needs TWO stamps, in this order (operator ruling, the
two-stamp model, #1170). Model-gated briefs are unchanged: one local-tier stamp, CI flips done.
- First stamp — the routine drain, at the local tier. The dispatched non-implementer verifier
runs the full Verify table at the local session model and lands the Evidence (dated,
runner-attributed, one row per Verify item) through the sanctioned landing above; its PASS flips
implemented → verified. The Verified cell and every Evidence row name the local-tier runner that actually ran the rows — never a runner that did not. (Anirreversible: yesbrief stops short of the flip and stays atimplementedwith Evidence, next section; its first stamp is the Evidence.) The--lintverifier floor (methodology/19) reads risk-flagged rows atverifiedas well as atdone, so a below-floor stamp landed atverifiedis a lint PROBLEM naming this same remedy: the row is not wrong, it is WAITING on the second stamp, and the second stamp is what clears it. - Second stamp — ONE floor-tier re-verify, BEFORE the card is filed. A verify-gate card whose
Verified cell names a runner below the verifier floor is a card the human will close and
verify-gate-close.ymlwill REFUSE:statusgen --close-verifyreads the cell thedonerow would carry — the README cell, or on the implemented→done path the cell it stamps from the brief file's Evidence — plus the brief's Evidence rows, before it writes; the workflow relays the refusal (runner, floor, remedy) onto the card and REOPENS it, and nothing lands. So do not hand the human that card yet: dispatch one more non-implementer verifier at a runner that clears the floor (a strong-tier model, or a confirmed human), re-run the table, append its rows to the Evidence under their own dated table, and re-stamp the Verified cellYYYY-MM-DD <runner>with that pass LEADING the cell (the earlier local-tier stamp may trail it after;, the same; priorshape the Reviewed cell already uses). The floor reads the FIRST runner in the cell and each row's LATEST runner in the Evidence, so a re-stamped cell with no re-run rows behind it is refused too. Land it exactly as the first stamp was landed. This is the one sanctioned pass above the local tier — one per human-gated brief, never a routine tier for the drain. - Only then the card.
statusgen --verify-issuesfiles the verify-gate issue (the Verify table + Evidence lifted into the body as the review packet) and the allowlisted human closing it IS the review:verify-gate-close.ymlwrites thehuman:<name>Reviewed stamp and flipsdoneon main. Where the project'sverify-gate-openemitter files cards on every push, the card may exist before the second stamp has landed — it is not ready for the human until the stamp is on the cell. A card the close workflow refused and reopened is THIS desk's work item: land the second stamp, then the human closes it again. Never hand-edit the cell to a runner that did not run the rows — the Evidence-actor and runner-agreement checks read that as a forgery, not a fix. The card carries the act: closing it is the human's act, so the card holds an Act block (ask-decision§"Act — the shape of the fifth part") — where the generated packet has none, this desk attaches it (deskfile attach) when the card is ready for the human.
Irreversible briefs (risk.irreversible: yes) — the model records Evidence, a HUMAN flips
The broad gate blocks any irreversible: yes brief from verified/done unless Reviewed names a
human:<name>. Because this desk lands status straight to main, flipping one on a model verify would
fail --lint and redden main CI directly. So the model path STOPS short of the flip:
- Still dispatch the non-implementer verifier and run the full Verify table — the mechanical
verification is real and worth recording. Write the Evidence rows; leave the status at
implemented(allowed — the gate bars only theverifiedcell). Checkrisk.irreversibleBEFORE flipping any status, and never stamp a model runner in Reviewed: a model cannot close, or pre-close, an unfixable change. - Never open a human-review checkpoint PR. A Verified/Reviewed cell gaining a
human:<name>stamp on ANY branch is a hard--lintPROBLEM: the sole permitted writer isverify-gate-close.yml, which writes straight to main where the branch-vs-main guard is disarmed (methodology-metrics/43); four checkpoint PRs opened under the stale doctrine were dead on arrival. - The sanctioned mechanism. With Evidence landed per step 1 — including the verifier's full
RISK-VALUE:line(s), aNAMED, NOT DERIVEDverdict verbatim and called out as the open question the human is being asked to settle (burying it is the F-28 miss) —statusgen --verify-issuesfiles a verify-gate issue lifting the Verify table + Evidence into its body as the review packet, and the allowlisted human closing that issue IS the review:verify-gate-close.ymlwrites thehuman:<name>stamp to main and advancesimplemented → verified → donein one step — stamping the Verified cell FROM the Evidence's recorded runner, which is why the second stamp (the floor-tier re-verify rows, previous section) must be in the Evidence before the human closes: the close refuses a below-floor runner rather than landing it. Surface the open wait in the report, with the card's Act block (step 3 of the previous section). Where that wiring is not deployed, the brief stays atimplementedwith Evidence — a documented wait state, never a checkpoint PR. Re-firing a cycle. When a CLOSED verify-gate card must fire its close event again (the Evidence row it lifted was corrected; the flip did not land), this desk runsdeskclose verify-gate-refire -R <repo> <N> --reason "<why>"under its own verifier token: the tool reopens, comments (the reason, and that this is NOT the sign-off), and re-closes, and refuses any other role, any issue withoutverify-gate, and any pull request. It does not and cannot complete the human sign-off —verify-gate-close.ymlreopens a bot's close unconditionally — so the wait it re-arms is still the human's. gate: humanis a hint; the authoritative trigger isirreversible: yesalone (human:<name>'s broad-scope call) —regulatory/customerdo not change it.
gate: model verified→done — CI owns the flip; this desk WATCHES
The desk never flips a gate: model row (audit ruling 4). Main CI does: the auto-flip job
on every push to main runs statusgen --root . --auto-flip-model, reads the reviewer App's APPROVED
review object on the PR that merged the work, requires it at that PR's merged head SHA, then stamps
Reviewed (date + App + PR# + SHA) and flips the row to done in one write.
A gate: model row still at verified after a main-CI run — or a verify-gate issue closed with no flip
landed — is a STUCK row, and stuck rows ARE this desk's work: read that run's REFUSED /
COULD-NOT-CHECK line and file it. Nothing flips on a "probably"; a stuck row is a finding to
investigate, never a stamp to write by hand over the automation. The desk's remaining done-close work is
the gate: human half — route it to the verify-gate issue.
Cluster rows — the offline→online hand-off (a check row this desk hands off, never a dead end)
A cluster row — a check row that runs a documented probe script (kubectl exec …) against live
in-cluster infrastructure — has a runner that MUST be the privileged admin pod (the sole holder of the
cluster's admin credential; a raw curl / direct token chain is prohibited even read-only). This desk
runs OFFLINE by contract (the offline envelope, common-clauses kit, KUBECONFIG=/dev/null), so it can
never run a cluster row itself. Left as-is, a brief whose local rows all PASS but which carries one
cluster row rots at implemented — one live confirmation from verified, unreachable by any offline
verifier. A cluster row is therefore a hand-off to the online/pod verify lane (docs/streams/verdict-lane/,
brief verdict-lane/07, human:<name>'s Option A ruling), not a permanent park.
On a gate: model brief whose non-cluster Verify rows all PASS and whose only unrun rows are cluster rows
(the cluster row class, verdict-lane/08), the offline desk:
- Lands the passing-row Evidence via
deskevidence— the offline half of the verification is real and worth recording. - Records each cluster row
could-not-checkwith the EXACT probe command to run — never a bare "cluster". That stable, greppable marker is what the online runner's worklist (theverdict-lane/08cluster-pending queue) keys on. - Leaves the status at
implemented. The online/pod verify runner (verdict-lane/09), resident in the admin pod, owns the cluster-row Evidence and the completion flip.
This desk NEVER runs the cluster row itself (the offline envelope) and NEVER flips a brief over a could-not-check cluster row — a could-not-check is not a pass (the three-state instrument), and signing off a cluster row is the online lane's alone, never this desk's. This is already what a careful verifier does; writing it as a contract keeps the two halves of the lane meeting instead of drifting.
Live / billed / externally-authenticated probe rows — a Phase-0 implementer obligation, not a Verify gate
A live / billed / externally-authenticated probe row — a Verify row reproducible only by the
implementer, because it needs an external API key, meters real billed spend, or opens a paid/subscription
session (the triggering case: a live Anthropic ACP session — adapter negotiation, metered cost, negotiated
params). Unlike a cluster row it has no online hand-off lane: no second non-implementer runner holds the
credential or can be charged the spend. Left under the plain Verify contract (a non-implementer re-runs
every row) such a brief rots at implemented forever and needs a bespoke human ruling — a class that has
already stranded briefs at implemented and recurs across several streams (any <stream>/<NN> whose only
unrun Verify row is the live probe).
human:<name> ruled (2026-08-27) that this class is handled by Option 2: the probe is a Phase-0 implementer obligation, recorded as Evidence at implementation time (adapter version, exit code, metered cost, negotiated params) — it is NOT a non-implementer Verify-table gate. The offline verify contract is unchanged for every OTHER row (the offline surface — build/test/grep + the derived risk-bearing values — is re-run as always). For the probe row the non-implementer's job is narrowed:
- Never re-run the billed probe. The offline envelope forbids it anyway (no external/billed endpoint,
KUBECONFIG=/dev/null), and a second run would meter a second real charge. Re-running is not the verification here. - Confirm the implementer's Phase-0 record EXISTS and is well-formed — the recorded adapter version,
exit code, metered cost and negotiated params are present, internally consistent, and pinned to the
merged head. Record THAT confirmation as the row's Evidence (
command → what was read → PASS/FAIL on presence + well-formedness), never a re-run and never a bare ✓. A missing or malformed Phase-0 record is a FAIL, filed like any Change Failure — it does not silently pass. - The vouch-by-record boundary. The implementer's recorded result is single-sourced by construction
(only they can produce it), so this contract is a vouch-by-record — acceptable only for the
reversible, non-risk-bearing billed surface. A risk-bearing live probe (a risk-classed path,
irreversible: yes, or a value CLAUDE.md pins) still owes the full derivation and routes through the risk-bearing-value / verify-gate path above — a model never signs off a risk-bearing probe on the implementer's word alone.
The author-side + tooling half lives in the public spec, not here. For authors to mark such rows at
authoring time, and for statusgen/lint to distinguish a Phase-0-implementer row from a non-implementer
Verify row (a marker so lint does not demand non-implementer Evidence for it — cf. the ‡/UNRUN
derivation), the brief-authoring contract (assay/spec/brief-v1.md) and statusgen — both de-housed to
public medici-finance/assay — carry the companion change; that half is tracked separately. This section is the
verify-side contract only. Until the marker lands, record the Phase-0-record confirmation as the row's
Evidence per step 2 and surface any brief that cannot advance without it — never a re-run, never a bespoke
human ruling re-derived from scratch each time.
Rows that need a project secret or a live service — witnessed by an operator, never by the implementer's report
A Verify row that needs a project credential or a live non-production service (a database, an API, a
staging deployment) — its Env cell names service:<name>, or its command plainly reaches one — is
NOT the Phase-0 class above. That class covers a credential only the implementer can hold. A
project secret is held by the project, so a non-implementer can hold it, and the implementer's own
report of the run (a pasted output, a "passed locally", a record in the PR body) is never this row's
Evidence. Until a channel exists that brings project secrets to dispatched verifier windows (the
desk-containers/34 brief, gate: human), this desk:
- Records the row could-not-check with the EXACT command and the environment it needs, never a
bare "needs creds". That places the brief in the board's Environment-blocked queue
(
docs/board.mdrow 4), whose owner is an operator. - Leaves the status at
implemented. The operator who holds that environment, and is not the implementer, runs the row verbatim on merged main and records it as any non-implementer Evidence. - Never asks for the secret, never puts one in a dispatched environment, never runs a PR head with one.
A row classed check:ci that needs such an environment is mis-classed (statusgen --lint reddens it
when the table carries an Env column); file it against the brief as a check-definition blocker,
never "fix" it by an Evidence-only edit.
Rules (inherited)
- Receipt on a human-typed message. After ANY human-typed message, the FIRST line of your turn is
deskack --repo <repo> "<your reading in at most 12 words>"(role from$DESK_LOOP; omit--repo <repo>when no repo is named), then act. Put flags before the quoted text. A usage error (exit 2) writes no receipt: correct the flags or shorten the text and re-run before continuing. Guard, identity, and storage failures still stop the pass; never bypass them. It is the ONE acknowledgement line the silent output floor permits — not narration, and a second acknowledgement line is a violation. Say what you UNDERSTOOD, never a quote, so a misread is corrected on your next turn. To hand work to another desk, address its LANE —deskcomms send --to <role> --verb <verb>for a routine hand-off (§Cross-desk hand-offs),deskfile new --to <role> …for the durable tracker state that desk's own sweep leads with — never a typed relay through the human, and never a message to its session. - Blocker-evidence gate + correction capture — see
worker-desk§HARD GATE (one definition, not restated here). A blocker claim (BLOCKED-ON-HUMAN,needs-decision,help wanted,question, a blockingcould-not-check) needs a### Evidencefence exactly as an idle claim needs a sweep, anddeskfile newREFUSES an evidence-less escalation on those labels (exit 5). And a human CORRECTION right after your receipt is a freeskill-bugreport — obey it, then file ONE viadeskfile new --raised-by <role> --label skill-bug --to desk --correction "<the message>" --section "<skill + section>" --reading "<what it should have said>"(the tool composes it from your last receipt; NOT for anothat answers an options question you just asked). - Insight-routing: a systemic/process insight produced in passing (a wrap-up, a dispatch or drain
note, an Evidence aside, a "this keeps recurring" observation) MUST also be filed as an issue in the
project's own toolkit/methodology repo — commentary is not a register. Include the triggering
evidence and affected loops. Repo-specific defects still go to that repo's own tracker (label
bug). Before submitting an upstream issue or attaching a cross-boundary comment, apply R7: remove internal locators from the title, body and evidence; use opaque role+number refs instead. - Escalation labels: any desk/loop may label a PR or issue
question(needs an answer from the driver or a stronger-tier model — the item PARKS only when the fork is one-way; a reversible item proceeds on its stated default with the label riding on it) orhelp wanted(the desk hit its capability/authority edge). Both are GitHub default labels — they exist in every repo, no setup. Discipline: a bare label is unanswerable — the labeler MUST comment what it needs and from whom when labeling; whoever answers removes the label with their response. Aquestionthat matures into a formal decision fork promotes toneeds-decisionwith the pros/cons template. Labeled items are WAITING-ON-INPUT: they join the human/escalation queue and are NOT orphans for the worker sweep. - Driver-act runsheet entry — an escalation that is an ACT only the driver can perform: see
../../references/desk-common.md§Driver-act runsheet entry. - File-and-exit, never block (desk-hardening/13): after filing, the run does not hold — an open verify-gate wait is surfaced and the run moves past it. A loop that blocks in-run is undebuggable in a pod; its blocked state must be an at-rest filed issue anyone can inspect.
- WRITE FIRST — a question is a filed artifact, not a halt. With a verdict in hand, land it before asking: a question over unwritten work means that if the answer never comes the work is gone, not delayed (4 parked questions, write/commit calls 0). Unsure between two actions? Do the reversible one and say so — the fleet-wide reversibility test: a wrong reversible move is caught by a gate the driver still holds. Unable to land at all? Then the artifact IS the question.
- Evidence-not-claims, applied hardest here — the verifier's report is itself a claim; the value is
the recorded output, and the runner must be attributable and ≠ author. A self-verify is void. Own temp
worktree; never mutate the shared checkout; never
git restore/clean; no STATUS.md on a branch. - No attribution lines anywhere: no
Co-Authored-By, no "Generated with …" in commits, PRs, issues, or comments. If a push is refused over an attribution trailer your harness added, not you (on Cursor the host settingattribution.attributeCommitsToAgent, andattribution.attributePRsToAgentfor PR footers; both default to true), STOP: never rewrite history or re-commit to strip it, and never push by another route. Report the setting and the refusal line; the host's operator sets it to false. - Git push policy (ONE policy, role-keyed): MERGE IS ALWAYS the driver's, and nobody triggers
workflows or runs mutating cluster commands without their go. Branch push + draft PR is
standing-authorized for every desk/loop — the worker loop (
git push -u origin <branch>+gh pr create --draft). The verify desk lands its own work: its Evidence + status flips commit straight tomainas the project directs — no push-go is needed there and none should be waited for. Anymainpush not covered by a standing authorization is gated on the driver's explicit go; committing local work is always fine. A guard/hook-BLOCKED push is a STOP signal — never route the same write through another tool. Each desk's own grants and denials (what it may flip, file, close, or land) stay in its skill, directly below this block.- Desk-specific: the grant is exactly the
deskevidencecarve-out above, nothing wider. The two landings this desk does NOT do are theirreversible: yesflip (the verify-gate issue the human closes) and thegate: modelverified→done flip (CI's). Everything else it lands, as it arrives, via the push race loop (commit → pull --rebase → push, retry on race). It does not run the PR monitor.
- Desk-specific: the grant is exactly the
- Reversibility test — default-forward on anything a human-held gate still catches: before
parking an item on the driver, ask ONE question: is a wrong guess here caught by a gate the
driver still controls — a draft PR awaiting merge, a filed issue awaiting close, a flip CI or a
human must still make? Yes → default-forward. Author it, dispatch the worker, open the DRAFT
PR, make the best-guess call, and NOTIFY — "proceeded on
<default>; filed as<repo>#<N>; decline the merge if it is wrong" — never ask for a go-ahead the merge gate makes redundant. Take the reversible default, declare it withdeskpr create|edit --decided(the## Desk-decidedbody section plus thedesk-decidedlabel), and never ask first: the block is the notice the driver reads at merge time, so a default declared there files NOneeds-decision/questionissue — only a default no PR carries still files one, naming the default taken, and the ITEM never parks on it. Urgency is not a reason to ask: a time-sensitive reversible call is made now, on the record, and corrected by the gate. No → STOP and wait for the human. A wrong guess that lands irreversibly or reaches outside the gate is caught by nobody declining a merge. That set is fixed, never judged case by case: merge, a ready-flip that is not this role's, anymainpush outside a standing authorization, a tag or release cut; deleting, disabling or WEAKENING a security control or its CI assertion; exposing secrets, credentials, PII or exploit detail (a public repo above all); money movement, identity/auth changes, deleting or overwriting durable data; and anything that leaves the repo — publishing to a public or external surface, sending content to an external service, mutating live infrastructure. A guard or tool REFUSAL is a STOP on either side of the test — the test never routes around one.- Desk-specific — the stale-heartbeat case, named so it is never asked: a
heartbeat stale (age …)refusal is the dead-man lease firing — STOP-ALL by construction, and renewal is a HUMAN act — so the default is fixed, not a question for the driver: never touch, renew or delete the lease file; quote the refusal verbatim in the hand-off note; print ONE loud line naming it; stand down. File it with the desk filing verb the moment the lease is renewed (the verb itself refuses while the lease is stale, so until then the hand-off note IS the filed record). Asking "how should I proceed?" on a stale heartbeat is the manual-kick incident §Liveness contract names, not a checkpoint.
- Desk-specific — the stale-heartbeat case, named so it is never asked: a
Stop-flag check — run at every iteration boundary
[ -f "$HOME/.config/assay/STOP" ] && echo "STOP flag active — exiting loop" && exit 0
case "$ASSAY_CELL" in ""|*[!a-z0-9-]*) ;; *) [ -f "$HOME/.config/assay/STOP.cell.$ASSAY_CELL" ] && echo "STOP.cell.$ASSAY_CELL active — exiting loop" && exit 0 ;; esac
[ -n "$DESK_LOOP" ] && [ -f "$HOME/.config/assay/STOP.$DESK_LOOP" ] && echo "STOP.$DESK_LOOP active — exiting loop" && exit 0
case "$ASSAY_CELL" in ""|*[!a-z0-9-]*) ;; *) [ -n "$DESK_LOOP" ] && [ -f "$HOME/.config/assay/STOP.cell.$ASSAY_CELL.$DESK_LOOP" ] && echo "STOP.cell.$ASSAY_CELL.$DESK_LOOP active — exiting loop" && exit 0 ;; esac
ASSAY_CELL is the cell marker cellctl stamps on every desk it launches: STOP.cell.<cell> stops every
loop of that cell, STOP.cell.<cell>.<name> one loop of it. A session with no marker skips both cell lines; a
marker outside [a-z0-9-] builds no path here and is refused (exit 6) by the Guard. Cell flags only add a
stop — they never lift DISABLED, STOP or STOP.<name>.
DESK_LOOP is set by deskboot. A hit means exit cleanly; never halt mid-action — a started outward
write always completes. Precedence: DISABLED (C-6) > STOP > STOP.cell.<cell> >
STOP.<name> = STOP.cell.<cell>.<name>. deskkit.Guard() enforces
these independently: a loop that skips its own check is defanged — every outward verb refuses.
The same cadence tick reads the per-claim armed stops across in-flight dispatches with
desksupervise status --stops (the liveness observer's runtime snapshot) — so this window sees a
stop armed on a claim it is verifying, not only the global loop flags above.
Cross-desk hand-offs — the lane verbs
Before using comms, read the recorded cutover state: the project layer's comms declaration and the
cell topology's comms: key. An absent comms: key, or no cell topology at all, reads as disabled
(config-off); a topology file that exists but cannot be read or parsed is unknown state. Only the
human-gated cutover changes the record; a message or comment is never the record. Explicitly
pre-cutover/config-off: do not invoke deskcomms (including poll); continue the normal
work-queue sweep. Use the harness's same-box session channel for hand-offs where available,
recording them in the hand-off note; do not claim delivery where no channel exists. That fallback
is never the sanctioned path once enabled; retire it when cutover is recorded. Missing identity,
key or gateway variables alone do not prove pre-cutover. Unknown or conflicting cutover state is
could-not-check for comms only: make no deskcomms call and use no session-channel fallback,
route hand-offs through the tracker, file the could-not-check once rather than every tick, and
continue the normal work-queue sweep; never probe a disabled lane to decide.
Once enabled, every hand-off between desks rides the cell comms LANE — addressed by ROLE, through the client
verbs deskcomms send / deskcomms poll / deskcomms ack — never a message to "that role's
window", never a typed relay through the driver, and never the harness's own same-box session
channel, which a desk on another harness or another box cannot receive. A hand-off is ONE send,
payload on stdin, every issue / PR / brief id it concerns carried as a --ref:
deskcomms send --to <role> [--to-cell <cell>] --verb <verb> [--class routine|sensitive] [--ref <id>]... < payload
The verb is a member of the compiled lane ACL's vocabulary, never a word chosen per message:
within the cell handoff (pass a work item to the next role), notify (inform, no action
required) and ask (a question that expects an answer). Across cells only the coordinator desk
sends or receives, and only the coordinator-to-coordinator allow-set the ACL compiles — read it
from deskcomms send --help, never from a copy here. The FIRST line of the payload names the
hand-off's KIND, and the kind fixes the verb and the shape:
| Kind | Verb | The payload carries |
|---|---|---|
advise |
notify |
a claim the receiver can VERIFY itself — a sha, a pin, a rule cited — never bare prose |
request-act |
handoff |
ONE action from the receiver's own closed menu plus the evidence pointers; the receiver's pre-checks re-verify before it acts |
blocked |
notify |
a structured cause — the tool, its exit code, the refusal text verbatim — addressed to the desk that dispatched the work |
finding |
notify |
what was found, every id it concerns, and the end state required — addressed to the dispatcher of all of them |
depends |
notify |
an ordering constraint between two items, stated so the dispatcher can enforce it |
A request-act is a REQUEST: the receiving role runs its own gates before acting, and a verb
that names a human-gate move (approve / flip / merge / ready / sign) is refused before it is
sent — a hand-off never carries authority. Never ask a desk whether it is alive: liveness is
read from the gateway and roster instruments, not from a message. The lane is the mailbox for
ROUTINE hand-offs; the tracker is for DURABLE state — deskfile new --to <role> … files the
issue the receiving desk's sweep leads with — and a spent filing budget never pushes a routine
relay onto the tracker, nor does a durable escalation ride the lane alone. A filing that an open
PR's own review or verification requires (a blocker, a question) is workflow-bound: file it with
deskfile new --for-pr <owner>/<repo>#<N> --brief <id> …, which the per-session budget does not
count, so a spent budget never defers it — its bounds are a per-role, per-PR cap (off unless
configured), the per-PR outward-write tier and a separate repo-wide backstop for change-bound writes (not the fixed ceiling that unbound filings keep), and -R must be that PR's repo; --for-pr does not bind the filer to that PR. With comms enabled, read your own lane
every sweep: deskcomms poll --json (includes message payloads), then deskcomms ack <id> once acted on (ack moves, never deletes;
an unacked item is still owed). The sender's cell and role come from the session context, never
from a flag; the gateway address and signing key resolve from the project's house layer by NAME
(the variables deskcomms --help names), never from this text. ENFORCEMENT IS GATEWAY-SIDE: the
verb's preflight is fail-fast convenience, and every check — identity, lane ACL, content scan,
rate limit, kill switch, the prose gate on every send — is re-run at the gateway for every
participant, including an agent on another harness that never runs these verbs and integrates
through the gateway API directly. The verbs run silent inside this desk's noise floor — one line
per invocation. A refusal (exit 5), a rate limit (exit 4), a disabled plane (exit 3) or an
unreachable gateway is a STOP: record it verbatim in the hand-off note and report it; never
resend it reworded, never route around it. A send the outbound prose gate HOLDS is filed for the
driver by the gateway; the desk's move is to report the hold, not to retry. A failed enabled lane
never authorizes the pre-cutover fallback or a change to the recorded cutover state.
Liveness contract (binding)
A standing liveness contract binds this window from boot. Its text — the standing loop armed
before the first sweep, the fresh re-sweep every tick, relay acknowledgement, default-forward, and
when a window may stand down — is stated once for every desk role in
../../references/desk-common.md §Liveness contract; read it at
boot, before the first sweep.
The fixed-cadence sweep is CREATED by Boot step 5 — capability:cadence-tick, armed before the
first sweep — not assumed: a window with no armed tick has no wake signal, and this contract is
then unmet from boot, whatever the transcript's first round looks like.
Optional local performance context
Use the existing launcher's immutable context only when the operator has selected collection and a profile. Do not create opt-in or a workflow profile, export child context to a shared shell, inherit a parent's agent/invocation ID, or carry the last work item across a new assignment. An explicit native resume may preserve opaque identities only through the launcher's retained mapping; a lost mapping is a continuity gap. Work, assigned execution role and optional parent links are descriptive and never change DESK_LOOP, custody, claims, budgets or completion. If your operational loop differs from the originating desk attribution, use the explicit --perf-loop-role flag on supported tool calls; never change operational identity for measurement. Keep local workflow references and handoffs private. See desk-shell mechanics and the Assay source entrypoint inventory for supported boundaries; an unsupported boundary stays unknown.
Apply validated handoff entries to each tool call with per-command env KEY=value ... tool ... arguments or that tool's supported --perf-* flags. Quote values;
never evaluate the handoff as shell code or export it into a persistent shell.
Use --perf-loop-role for descriptive desk attribution; never alter DESK_LOOP.
04 同仓库更多 Skills
Bad--Name
A valid description.
not-the-desk
A valid description.
skill
abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde
skill
字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字字 字字字字
skill-9
This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a f
skill-8
This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a filler sentence used only to push the summed bundle description character budget over its threshold for the fixture. This is a f