- Update handoff and boundary references across active skills and draft-curation from git-commit and git-workspace to git-manager - Align diagnose and inspect-flake-update approval checkpoints with profile/AGENTS.md commit autonomy
4.9 KiB
4.9 KiB
name, description
| name | description |
|---|---|
| verify-slice | Runs risk-proportional verification and pull request review across behavioral, state, security, ergonomic, and regression perspectives using falsifiable assertions. Use when verifying a vertical feature slice, reviewing a pull request before merge, or planning QA checks. Not for root-cause debugging; use diagnose. |
Verify Slice
Use when
- Verifying a vertical feature slice or pull request before human release review.
- Building or executing risk-proportional QA checks against acceptance criteria.
- Not for investigating an unknown failure from raw symptoms: use
diagnose.
Steps
- Size checks to risk and evaluate review handshake. Inspect touched files, boundaries, and failure consequences, then apply the matching minimum check set in perspectives (
Lightweight,Standard, orHigh-Assurance) plus only the perspectives warranted by the diff. Reuse a precedingcode-reviewreport for static provenance only when its status isReady(completed across all four axes, no unresolved blocking findings remain, and covered scope is identified), the reviewed base and head revisions match, and the current relevant working-tree diff is unchanged from the reviewed diff. Proceed directly on routine checks within authorized scope; pause for confirmation only when verification would materially expand scope, requirelive-infraauthorization, incur substantial setup or subagent cost, or introduce a trade-off. - Write falsifiable assertions. Convert acceptance criteria,
code-reviewStep 6 fenced checks (when present), and selected perspectives into concrete checks with explicit failure conditions (FAIL if ...), scope classification (localvs.live-infra), and required evidence. Never use open-ended observational prompts ("record what happens"). - Verify runtime behavior. Execute
localbehavioral, state, and persistence checks against the live system when the tier requires it, confirming mutations via both UI state and authoritative backend reads. Executelive-infrachecks only when the human owner has explicitly authorized the target environment and operation; otherwise recordBLOCKED (out-of-bounds)with the preserved command and criteria. Execute directly by default; use a clean subagent (withholding the diff, PR narrative, and author self-audit) only when independent execution is likely to expose blind spots in stateful workflows orHigh-Assurancechanges. - Inspect the diff (unless handshake invariant holds). When Step 1 verified a reusable
Readyreview on the exact unchanged diff, bypass static diff re-inspection and cite that review as static provenance (runtime verification provides behavioral evidence and never substitutes for static review). Otherwise (standalone run, non-Readyreview, revision mismatch, or changed working-tree diff), audit the changed delta or full diff against the selected code-level perspectives (untrusted data and URL sinks, authoritative state reconciliation, scope containment, and test coverage claims). - Record dispositions honestly. Score every check as
PASS,FAIL,BLOCKED(env/fixturevs.out-of-bounds), orINCONCLUSIVEwith evidence (see perspectives). Never rationalize an unexpected result as a design trade-off, treat a missing orBLOCKEDcheck as passing, or treat either static provenance or runtime evidence as release approval. - Present the evidence packet. Distinguish static provenance (
diffaudit vs.code-reviewhandshake) from runtime evidence, note discrepancies against the implementer's self-audit, separateBLOCKED (env/fixture)repairs fromBLOCKED (out-of-bounds)operator checks, and recommend a disposition without waiving failed criteria.
Your call
- Expanded verification scope and
live-infraauthorization: approve before runninglive-infraoperations against privileged or external environments, spinning up costly test setups, or launching isolated subagents outside previously authorized boundaries. - Handling non-passing checks: decide whether a
FAIL,BLOCKED, orINCONCLUSIVEcheck triggers a repair loop, an environment fix, an authorized operator window, a tracked follow-up issue, or an explicit waiver. - Release decision: decide whether to accept residual risks and merge; neither static review nor runtime verification authorizes release on its own.
Done when
- Every required check has an evidence-backed disposition (
PASS,FAIL,BLOCKED (env/fixture),BLOCKED (out-of-bounds), orINCONCLUSIVE), static provenance and runtime evidence are clearly distinguished, and the human owner has reviewed the packet to decide release or rework.
Hands off to
diagnose: when a failed or blocked check needs root-cause investigation.git-manager: when committing verified repair changes or managing test branches.document: when verification uncovers a durable architectural insight or decision.