Audit
Establishes the requested coverage, selects the engine, preserves uncertainty, then routes the exit by shape. Quick looks and cross-cutting static reviews can run inline.
The workbench flow's door A: turn "something to check" into a sized, engine-run,
evidence-grounded investigation. The user supplies scope and authority; use the
applicable engine and ask only for missing decisions that change the investigation.
Steps
Ask the user to size the workload: skip the question only when they
already stated or clearly implied the coverage (such as "full audit"). The tiers:
| Tier |
Engine |
Fits |
| quick look |
inline, this session: a few reads/greps, minutes |
"is this config even used?", a suspicion worth five minutes |
| deep audit |
the claim-check skill |
one premise investigated to evidence-graded verdict: a bug to pin down, a ticket to validate, "is the refactor complete?" |
| static review |
inline or independent readers where delegation is authorized |
cross-cutting instruction, configuration, or document review |
| team sweep |
the qa-sweep skill |
a broad, decomposable surface: a release, a feature area, corroborated findings at team scale |
Ask with a structured question tool (AskUserQuestion or the host's
equivalent) when one is available: one option per tier, the recommended
tier first and marked; otherwise present the tiers as a numbered list and
wait for the pick. Recommend a tier with one line of reasoning, but the
pick is the user's.
Runtime modality flag. The tiers size breadth; this flags where the
evidence must come from. When the thing to check is behavior a real
client can drive (an endpoint, a flow in the running app, a CLI) code
reading alone cannot settle it: say so in the recommendation and confirm,
as part of the same sizing question, whether the check should drive the
booted app. A confirmed runtime check is part of the workload handed to
the engine (a team sweep is runtime by construction; for the other tiers,
pass the confirmation along so the evidence comes from the running
surface, not reading alone).
Run the engine. Static review: inventory the requested surface, inspect its contracts and interactions, and report coverage and source evidence. Quick look: investigate inline and keep it genuinely
quick, if it starts growing past its size, stop and say so; growing the
workload is the user's call, not drift. Deep audit / team sweep: invoke the
engine skill and let it run per its own rules (they own their rigor;
this skill adds none on top).
Collect findings and flag uncertainty. Separate what the evidence
settles from what it doesn't: ambiguous reproductions, contested
assumptions, results that surprised you, anything where two readings
survive. Those are the flags.
Resolve flags according to what is missing. Investigate reachable evidence.
Ask the user when an unresolved preference or intended behavior changes the
verdict or next action. An ambiguous reproduction remains an evidence gap in
the report; do not ask the user to certify it as true. Continue independent
findings while a needed answer is pending.
Route the exit:
- The audit was the ask → deliver the report (verdict-first, per the
engine's own output shape when one ran) and stop.
- Work was revealed, feature/refactor-shaped → hand into
brainstorming with the findings and confirmed flags as its context; it
must not re-derive them.
- Repairs already authorized → continue confirmed in-scope fixes; use brainstorming only for unsettled design.
- Work was revealed without implementation authority, a confirmed fix → skip the design debate; present
the route pick (direct / plan / handoff-goal) directly: asked like the
sizing question: structured question tool when available, with
user-facing labels (Direct, Plan, Long-running goal) and the
recommended route first and marked; a numbered list otherwise.
Output
- The sized tier and engine that ran, with the runtime modality when it was
flagged.
- Findings, verdict-first; flagged uncertainties with the user's resolutions.
- The exit taken: report-and-done, handed to brainstorming, or at the route
gate.
Boundaries
- Inline investigation is limited to quick look and static review: deep and sweep
work belongs to the engines.
- Never grows the workload silently. A quick look that wants to become a
deep audit is a question for the user, not a decision.
- Preserve unresolved evidence in the report; ask only for decisions the user can supply and pause dependent work.
- An audit-only assignment ends in its report or recommendation. Existing implementation authority carries into the supported repair afterward.
1---2name: audit3description: Use for a requested investigation or audit; routine checks and known fixes stay in their ordinary workflow. Not for work that starts from an idea to build (that path grounds against the codebase and goes to brainstorming).4---56# Audit78Establishes the requested coverage, selects the engine, preserves uncertainty, then routes the exit by shape. Quick looks and cross-cutting static reviews can run inline.910The workbench flow's door A: turn "something to check" into a sized, engine-run,11evidence-grounded investigation. The user supplies scope and authority; use the12applicable engine and ask only for missing decisions that change the investigation.1314## Steps15161. **Ask the user to size the workload**: skip the question only when they17 already stated or clearly implied the coverage (such as "full audit"). The tiers:1819 | Tier | Engine | Fits |20 | --- | --- | --- |21 | **quick look** | inline, this session: a few reads/greps, minutes | "is this config even used?", a suspicion worth five minutes |22 | **deep audit** | the `claim-check` skill | one premise investigated to evidence-graded verdict: a bug to pin down, a ticket to validate, "is the refactor complete?" |23 | **static review** | inline or independent readers where delegation is authorized | cross-cutting instruction, configuration, or document review |24 | **team sweep** | the `qa-sweep` skill | a broad, decomposable surface: a release, a feature area, corroborated findings at team scale |2526 Ask with a structured question tool (`AskUserQuestion` or the host's27 equivalent) when one is available: one option per tier, the recommended28 tier first and marked; otherwise present the tiers as a numbered list and29 wait for the pick. Recommend a tier with one line of reasoning, but the30 pick is the user's.3132 **Runtime modality flag.** The tiers size breadth; this flags *where the33 evidence must come from*. When the thing to check is behavior a real34 client can drive (an endpoint, a flow in the running app, a CLI) code35 reading alone cannot settle it: say so in the recommendation and confirm,36 as part of the same sizing question, whether the check should drive the37 booted app. A confirmed runtime check is part of the workload handed to38 the engine (a team sweep is runtime by construction; for the other tiers,39 pass the confirmation along so the evidence comes from the running40 surface, not reading alone).41422. **Run the engine.** Static review: inventory the requested surface, inspect its contracts and interactions, and report coverage and source evidence. Quick look: investigate inline and keep it genuinely43 quick, if it starts growing past its size, stop and say so; growing the44 workload is the user's call, not drift. Deep audit / team sweep: invoke the45 engine skill and let it run per its own rules (they own their rigor;46 this skill adds none on top).47483. **Collect findings and flag uncertainty.** Separate what the evidence49 settles from what it doesn't: ambiguous reproductions, contested50 assumptions, results that surprised you, anything where two readings51 survive. Those are the **flags**.52534. **Resolve flags according to what is missing.** Investigate reachable evidence.54 Ask the user when an unresolved preference or intended behavior changes the55 verdict or next action. An ambiguous reproduction remains an evidence gap in56 the report; do not ask the user to certify it as true. Continue independent57 findings while a needed answer is pending.58595. **Route the exit:**60 - **The audit was the ask** → deliver the report (verdict-first, per the61 engine's own output shape when one ran) and stop.62 - **Work was revealed, feature/refactor-shaped** → hand into63 `brainstorming` with the findings and confirmed flags as its context; it64 must not re-derive them.65 - **Repairs already authorized** → continue confirmed in-scope fixes; use brainstorming only for unsettled design.66 - **Work was revealed without implementation authority, a confirmed fix** → skip the design debate; present67 the route pick (direct / plan / handoff-goal) directly: asked like the68 sizing question: structured question tool when available, with69 user-facing labels (**Direct**, **Plan**, **Long-running goal**) and the70 recommended route first and marked; a numbered list otherwise.7172## Output7374- The sized tier and engine that ran, with the runtime modality when it was75 flagged.76- Findings, verdict-first; flagged uncertainties with the user's resolutions.77- The exit taken: report-and-done, handed to brainstorming, or at the route78 gate.7980## Boundaries8182- **Inline investigation is limited to quick look and static review**: deep and sweep83 work belongs to the engines.84- **Never grows the workload silently.** A quick look that wants to become a85 deep audit is a question for the user, not a decision.86- Preserve unresolved evidence in the report; ask only for decisions the user can supply and pause dependent work.87- An audit-only assignment ends in its report or recommendation. Existing implementation authority carries into the supported repair afterward.