Compare commits
2
Commits
f43146bb18
...
2a3cf40d27
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a3cf40d27 | ||
|
|
09911e8d9e |
No files matched your search
@@ -16,7 +16,7 @@ description: >-
|
|||||||
- Not for debugging an unknown symptom: use `diagnose`.
|
- Not for debugging an unknown symptom: use `diagnose`.
|
||||||
|
|
||||||
## Steps
|
## Steps
|
||||||
1. **Pin the fixed point and scope.** Resolve the base ref and record its commit SHA via `git rev-parse <base>`. Inspect working-tree state (`git status --short`, unstaged `git diff`, staged `git diff --cached`) alongside committed history (`git diff <base>...HEAD` and `git log <base>..HEAD --oneline`). Report findings distinguished across committed, staged, and unstaged changes.
|
1. **Pin the fixed point and scope.** Resolve the base ref and record exact base and head commit SHAs (`git rev-parse <base> HEAD`). Inspect working-tree state (`git status --short`, unstaged `git diff`, staged `git diff --cached`, and relevant untracked files) alongside committed history (`git diff <base>...HEAD` and `git log <base>..HEAD --oneline`). Record the covered revisions and working-tree diff state (for example, clean tree or diff fingerprint) so downstream tools can verify whether the reviewed diff remained unchanged, and distinguish findings across committed, staged, and unstaged changes.
|
||||||
2. **Select execution tier.** Match the change to the risk tiers from [axes](references/axes.md) (`Lightweight`, `Standard`, or `High-Assurance`). Single-agent sequential pass for Lightweight; independent review passes for Standard; isolated subagents per axis for High-Assurance.
|
2. **Select execution tier.** Match the change to the risk tiers from [axes](references/axes.md) (`Lightweight`, `Standard`, or `High-Assurance`). Single-agent sequential pass for Lightweight; independent review passes for Standard; isolated subagents per axis for High-Assurance.
|
||||||
3. **Inspect the four axes.** Evaluate the diff against each axis independently using [axes](references/axes.md):
|
3. **Inspect the four axes.** Evaluate the diff against each axis independently using [axes](references/axes.md):
|
||||||
- **Spec & Scope**: originating requirements satisfied, minimal shared-file footprint, zero scope creep.
|
- **Spec & Scope**: originating requirements satisfied, minimal shared-file footprint, zero scope creep.
|
||||||
@@ -25,8 +25,8 @@ description: >-
|
|||||||
- **Defensive Invariants**: system properties from [defensive-invariants](references/defensive-invariants.md) (trust boundaries, authority, consistency, failure semantics, resource limits).
|
- **Defensive Invariants**: system properties from [defensive-invariants](references/defensive-invariants.md) (trust boundaries, authority, consistency, failure semantics, resource limits).
|
||||||
4. **Record structured findings.** Record every finding using the schema in [finding-schema](references/finding-schema.md) (`ID`, `Axis`, `Severity`, `Evidence`, `Invariant`, `Impact`, `Disposition`). A strong pass on one axis never compensates for a failure on another.
|
4. **Record structured findings.** Record every finding using the schema in [finding-schema](references/finding-schema.md) (`ID`, `Axis`, `Severity`, `Evidence`, `Invariant`, `Impact`, `Disposition`). A strong pass on one axis never compensates for a failure on another.
|
||||||
5. **Aggregate without silent resolution.** When multiple reviewers or passes disagree, keep the disagreement visible under `Unresolved` until evidence settles it.
|
5. **Aggregate without silent resolution.** When multiple reviewers or passes disagree, keep the disagreement visible under `Unresolved` until evidence settles it.
|
||||||
6. **Recommend runtime verification scenarios.** Identify stateful or high-risk paths that static inspection cannot prove and list them as suggested scenarios for `verify-slice`.
|
6. **Emit executable runtime checks.** For stateful or high-risk paths that static inspection cannot prove, emit runnable fenced shell commands for `verify-slice` following the Step 6 contract in [finding-schema](references/finding-schema.md) (stating purpose, `local` vs. `live-infra` scope classification, explicit pass condition, and explicit failure signal).
|
||||||
7. **Present the review summary.** Group findings by axis and apply the decision matrix from [axes](references/axes.md): `Needs Rework` (confirmed defects require changes), `Blocked` (unresolved Critical/High risks or unestablished scope), or `Ready` (no blocking defects; documented trade-offs accepted by owner). Never authorize release: the human owner decides release.
|
7. **Present the review summary.** Group findings by axis and apply the decision matrix from [axes](references/axes.md): `Needs Rework` (confirmed defects require changes), `Blocked` (unresolved Critical/High risks or unestablished scope), or `Ready` (all four axes completed, no confirmed or unresolved blocking findings remain, and exact covered revisions plus working-tree state are recorded). Static review establishes static provenance for that diff only; never authorize release.
|
||||||
|
|
||||||
## Your call
|
## Your call
|
||||||
- **Handling findings**: decide whether confirmed findings block merge, trigger a rework loop, or become tracked follow-up issues.
|
- **Handling findings**: decide whether confirmed findings block merge, trigger a rework loop, or become tracked follow-up issues.
|
||||||
@@ -34,7 +34,7 @@ description: >-
|
|||||||
- **Authorizing release**: verification and review evidence inform decisions, but the human owner remains the sole release authority.
|
- **Authorizing release**: verification and review evidence inform decisions, but the human owner remains the sole release authority.
|
||||||
|
|
||||||
## Done when
|
## Done when
|
||||||
- All four axes have been inspected across working-tree and committed changes, every finding is recorded with evidence and disposition, candidate runtime scenarios are passed to `verify-slice` if needed, and the human owner has reviewed the findings.
|
- All four axes have been inspected across working-tree and committed changes, every finding is recorded with evidence and disposition, executable Step 6 runtime checks are emitted for `verify-slice` if needed, and the human owner has reviewed the findings.
|
||||||
|
|
||||||
## Hands off to
|
## Hands off to
|
||||||
- `diagnose`: when a finding exposes a root cause that requires deeper troubleshooting.
|
- `diagnose`: when a finding exposes a root cause that requires deeper troubleshooting.
|
||||||
|
|||||||
@@ -32,6 +32,9 @@ The distinction between recommendations is clear: `Needs Rework` means an establ
|
|||||||
| **Scope Inability or Missing Base Ref** | `Blocked` | Establish base commit and diff boundaries before reviewing. |
|
| **Scope Inability or Missing Base Ref** | `Blocked` | Establish base commit and diff boundaries before reviewing. |
|
||||||
| **No Blocking Findings** | `Ready` | Implementation is structurally sound; proceed to `verify-slice` or release. |
|
| **No Blocking Findings** | `Ready` | Implementation is structurally sound; proceed to `verify-slice` or release. |
|
||||||
|
|
||||||
|
### `Ready` Semantics and Downstream Reuse
|
||||||
|
`Ready` means the review completed across all four axes, no confirmed or unresolved blocking findings remain (`Needs Rework` or `Blocked`), and the report explicitly identifies the base revision, head revision, and relevant working-tree state it covered. `Ready (Conditional)` qualifies as `Ready` for downstream handshake reuse only after the human owner adjudicates the open Medium/Low items (`Accepted Trade-off` or `Rejected`). A `Ready` review establishes static provenance for that exact diff; it does not substitute for runtime verification or authorize release.
|
||||||
|
|
||||||
### Documented Trade-Off Acceptance
|
### Documented Trade-Off Acceptance
|
||||||
When a human owner accepts a documented trade-off for a Medium or Low finding, record the finding disposition as `Accepted Trade-off` (distinct from `Rejected`). This preserves audit traceability without misclassifying an intentional compromise as a disproven defect.
|
When a human owner accepts a documented trade-off for a Medium or Low finding, record the finding disposition as `Accepted Trade-off` (distinct from `Rejected`). This preserves audit traceability without misclassifying an intentional compromise as a disproven defect.
|
||||||
|
|
||||||
@@ -50,4 +53,4 @@ To keep review overhead proportional to risk, execution mode reuses the tiers es
|
|||||||
When multiple passes or subagents inspect a change:
|
When multiple passes or subagents inspect a change:
|
||||||
1. **Never silently resolve disagreements**: If Reviewer A flags a pattern as a defect and Reviewer B considers it acceptable, record the finding under `Unresolved` with both perspectives cited. The human owner adjudicates.
|
1. **Never silently resolve disagreements**: If Reviewer A flags a pattern as a defect and Reviewer B considers it acceptable, record the finding under `Unresolved` with both perspectives cited. The human owner adjudicates.
|
||||||
2. **Preserve exact evidence**: Every finding must include exact file paths, line numbers, and code snippets demonstrating the condition.
|
2. **Preserve exact evidence**: Every finding must include exact file paths, line numbers, and code snippets demonstrating the condition.
|
||||||
3. **Recommend runtime verification**: Where static analysis cannot verify dynamic timing, rendering, or network failure modes, formulate concrete candidate assertions and pass them to `verify-slice`.
|
3. **Emit executable runtime checks**: Where static analysis cannot verify dynamic timing, rendering, or network failure modes, formulate runnable Step 6 checks formatted per [finding-schema](finding-schema.md) and pass them to `verify-slice`.
|
||||||
@@ -37,7 +37,7 @@ The final review summary presented to the user must follow this structure:
|
|||||||
|
|
||||||
## Overview & Scope State
|
## Overview & Scope State
|
||||||
- **Base Commit**: `<base-ref>` (`<base-commit-sha>`) -> `<HEAD>` (`<head-commit-sha>`)
|
- **Base Commit**: `<base-ref>` (`<base-commit-sha>`) -> `<HEAD>` (`<head-commit-sha>`)
|
||||||
- **Working Tree State**: Clean / Staged Changes / Unstaged Changes (`git status --short`)
|
- **Covered Working-Tree State**: `Clean` | Staged, unstaged, and relevant untracked summary plus content fingerprint (covering staged changes, unstaged changes, and relevant untracked file contents so downstream tools can verify zero state drift)
|
||||||
- **Assigned Risk Tier**: `Lightweight` | `Standard` | `High-Assurance`
|
- **Assigned Risk Tier**: `Lightweight` | `Standard` | `High-Assurance`
|
||||||
- **Execution Mode**: `Sequential` | `Independent Passes` | `Subagent Reviewers`
|
- **Execution Mode**: `Sequential` | `Independent Passes` | `Subagent Reviewers`
|
||||||
|
|
||||||
@@ -65,12 +65,31 @@ The final review summary presented to the user must follow this structure:
|
|||||||
- **Seam & Test Integrity**: Evaluation of test boundaries, tautological assertions, and vertical slice evidence.
|
- **Seam & Test Integrity**: Evaluation of test boundaries, tautological assertions, and vertical slice evidence.
|
||||||
- **Defensive Invariants**: Status of trust boundaries, authority, consistency, failure semantics, and resource limits.
|
- **Defensive Invariants**: Status of trust boundaries, authority, consistency, failure semantics, and resource limits.
|
||||||
|
|
||||||
## Recommended Runtime Scenarios for verify-slice
|
## Executable Runtime Checks for verify-slice
|
||||||
List concrete runtime checks or adversarial test cases that static inspection identified as necessary for runtime verification:
|
Every candidate runtime check must be directly consumable by `verify-slice` without reinterpreting narrative prose. Commands must assume execution from the repository root and use repository-relative paths (if an external path or environment dependency is genuinely required, declare that dependency and scope explicitly). Each entry requires:
|
||||||
1. Scenario: Verify out-of-band 409 conflict handling with simultaneous check-in attempts.
|
- **Purpose** in the check header (`Check RV-XX: <purpose>`).
|
||||||
2. Scenario: Verify input sanitization with payload `<img src=x onerror=alert(1)>`.
|
- **Scope**: `local` (safe workstation or isolated fixture execution) or `live-infra` (touches privileged permissions, host state, or external/production infrastructure; executable when the human owner explicitly authorizes the target environment and operation, otherwise recorded by `verify-slice` as `BLOCKED (out-of-bounds)`).
|
||||||
|
- **Pass Condition**: explicit observable output or state transition.
|
||||||
|
- **Failure Signal**: explicit contradiction condition.
|
||||||
|
- **Command**: copy-pasteable fenced shell block.
|
||||||
|
|
||||||
|
### Check RV-01: Out-of-band conflict handling on concurrent submission
|
||||||
|
- **Scope**: `local`
|
||||||
|
- **Pass Condition**: First request returns HTTP `200`; concurrent duplicate returns HTTP `409` with JSON code `conflict` and persisted count increments by `1`.
|
||||||
|
- **Failure Signal**: Duplicate returns `200` or `500`, unhandled traceback, or persisted count increments by `2`.
|
||||||
|
```sh
|
||||||
|
./scripts/test-concurrency-check.sh --endpoint /api/check-in
|
||||||
|
```
|
||||||
|
|
||||||
|
### Check RV-02: Privileged service reload and health verification
|
||||||
|
- **Scope**: `live-infra`
|
||||||
|
- **Pass Condition**: Target service reloads cleanly and health endpoint returns `200 OK`.
|
||||||
|
- **Failure Signal**: Non-zero exit status, permission refusal, or failed unit healthcheck.
|
||||||
|
```sh
|
||||||
|
systemctl reload app-daemon.service && systemctl is-active --quiet app-daemon.service
|
||||||
|
```
|
||||||
|
|
||||||
## Overall Recommendation
|
## Overall Recommendation
|
||||||
- **Status**: `Ready` | `Needs Rework` | `Blocked`
|
- **Status**: `Ready` | `Needs Rework` | `Blocked`
|
||||||
- **Next Action**: State whether to hand off to `verify-slice` for runtime verification, `diagnose` for root-cause fixes, or present to human owner for adjudication.
|
- **Next Action**: State whether to hand off to `verify-slice` for runtime verification, `diagnose` for root-cause fixes, or present to human owner for adjudication. Static provenance and runtime verification remain distinct inputs; neither authorizes release on its own.
|
||||||
```
|
```
|
||||||
@@ -16,20 +16,20 @@ description: >-
|
|||||||
- Not for investigating an unknown failure from raw symptoms: use `diagnose`.
|
- Not for investigating an unknown failure from raw symptoms: use `diagnose`.
|
||||||
|
|
||||||
## Steps
|
## Steps
|
||||||
1. **Size checks to risk.** Inspect touched files, boundaries, and failure consequences, then apply the matching minimum check set in [perspectives](references/perspectives.md) (`Lightweight`, `Standard`, or `High-Assurance`) plus only the perspectives warranted by the diff. Proceed directly on routine checks within authorized scope; pause for confirmation only when verification would materially expand scope, incur substantial setup or subagent cost, or introduce a trade-off.
|
1. **Size checks to risk and evaluate review handshake.** Inspect touched files, boundaries, and failure consequences, then apply the matching minimum check set in [perspectives](references/perspectives.md) (`Lightweight`, `Standard`, or `High-Assurance`) plus only the perspectives warranted by the diff. Reuse a preceding `code-review` report for static provenance only when its status is `Ready` (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, require `live-infra` authorization, incur substantial setup or subagent cost, or introduce a trade-off.
|
||||||
2. **Write falsifiable assertions.** Convert acceptance criteria and selected perspectives into concrete checks with explicit failure conditions (`FAIL if ...`) and required evidence. Never use open-ended observational prompts ("record what happens").
|
2. **Write falsifiable assertions.** Convert acceptance criteria, `code-review` Step 6 fenced checks (when present), and selected perspectives into concrete checks with explicit failure conditions (`FAIL if ...`), scope classification (`local` vs. `live-infra`), and required evidence. Never use open-ended observational prompts ("record what happens").
|
||||||
3. **Verify runtime behavior.** Run required behavioral, state, and persistence checks against the live system when the tier requires it, confirming mutations via both UI state and authoritative backend reads. 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 or `High-Assurance` changes.
|
3. **Verify runtime behavior.** Execute `local` behavioral, state, and persistence checks against the live system when the tier requires it, confirming mutations via both UI state and authoritative backend reads. Execute `live-infra` checks only when the human owner has explicitly authorized the target environment and operation; otherwise record `BLOCKED (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 or `High-Assurance` changes.
|
||||||
4. **Inspect the diff.** Audit the actual code diff and commit history against the selected code-level perspectives (untrusted data and URL sinks, authoritative state reconciliation, scope containment, and test coverage claims).
|
4. **Inspect the diff (unless handshake invariant holds).** When Step 1 verified a reusable `Ready` review 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-`Ready` review, 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).
|
||||||
5. **Record dispositions honestly.** Score every check as `PASS`, `FAIL`, `BLOCKED`, or `INCONCLUSIVE` with evidence (see [perspectives](references/perspectives.md)). Never rationalize an unexpected result as a design trade-off, treat a missing check as passing, or convert an aggregate score into release approval.
|
5. **Record dispositions honestly.** Score every check as `PASS`, `FAIL`, `BLOCKED` (`env/fixture` vs. `out-of-bounds`), or `INCONCLUSIVE` with evidence (see [perspectives](references/perspectives.md)). Never rationalize an unexpected result as a design trade-off, treat a missing or `BLOCKED` check as passing, or treat either static provenance or runtime evidence as release approval.
|
||||||
6. **Present the evidence packet.** Group confirmed findings by source (runtime vs. diff), note discrepancies against the implementer's self-audit, surface blocked or unverified areas, and recommend a disposition without waiving failed criteria.
|
6. **Present the evidence packet.** Distinguish static provenance (`diff` audit vs. `code-review` handshake) from runtime evidence, note discrepancies against the implementer's self-audit, separate `BLOCKED (env/fixture)` repairs from `BLOCKED (out-of-bounds)` operator checks, and recommend a disposition without waiving failed criteria.
|
||||||
|
|
||||||
## Your call
|
## Your call
|
||||||
- **Expanded verification scope**: approve before spinning up costly test environments, isolated subagents, or checks outside previously authorized boundaries.
|
- **Expanded verification scope and `live-infra` authorization**: approve before running `live-infra` operations 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`, or `INCONCLUSIVE` check triggers a repair loop, an environment fix, a tracked follow-up issue, or an explicit waiver.
|
- **Handling non-passing checks**: decide whether a `FAIL`, `BLOCKED`, or `INCONCLUSIVE` check 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; verification evidence never authorizes release on its own.
|
- **Release decision**: decide whether to accept residual risks and merge; neither static review nor runtime verification authorizes release on its own.
|
||||||
|
|
||||||
## Done when
|
## Done when
|
||||||
- Every required check has an evidence-backed state (`PASS`, `FAIL`, `BLOCKED`, or `INCONCLUSIVE`) and the human owner has reviewed the evidence packet to decide release or rework.
|
- Every required check has an evidence-backed disposition (`PASS`, `FAIL`, `BLOCKED (env/fixture)`, `BLOCKED (out-of-bounds)`, or `INCONCLUSIVE`), static provenance and runtime evidence are clearly distinguished, and the human owner has reviewed the packet to decide release or rework.
|
||||||
|
|
||||||
## Hands off to
|
## Hands off to
|
||||||
- `diagnose`: when a failed or blocked check needs root-cause investigation.
|
- `diagnose`: when a failed or blocked check needs root-cause investigation.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Reference for `verify-slice`. Keep effort proportional to failure consequences a
|
|||||||
|
|
||||||
## 1. Operational Rigor Tiers
|
## 1. Operational Rigor Tiers
|
||||||
|
|
||||||
Each tier defines the minimum required checks. Escalate individual perspectives when a small diff touches a high-risk boundary (for example, a two-line auth or URL sanitizer change).
|
Each tier defines the minimum required checks. Escalate individual perspectives when a small diff touches a high-risk boundary (for example, a two-line auth or URL sanitizer change). When a reusable `Ready` `code-review` handshake covers the exact unchanged base, head, and working-tree diff (see `SKILL.md` Steps 1 and 4), that review satisfies the tier's static diff audit as static provenance while `verify-slice` supplies runtime behavioral evidence; if any relevant file changed post-review, audit at least the changed delta.
|
||||||
|
|
||||||
| Tier | Typical Slice | Minimum Required Checks | Execution Mode |
|
| Tier | Typical Slice | Minimum Required Checks | Execution Mode |
|
||||||
| :--- | :--- | :--- | :--- |
|
| :--- | :--- | :--- | :--- |
|
||||||
@@ -23,16 +23,24 @@ Select only the perspectives relevant to the slice's risk profile. Give each sel
|
|||||||
| **Security Boundaries** | Can untrusted data execute code, break attributes, or route to unsafe destinations? | Trace every dynamic value into DOM/template sinks: verify safe DOM APIs or HTML escaping for text and quoted attributes, context-appropriate URL validation for `href`/`src`/`action` (never relying on HTML escaping alone for URLs), and at least one adversarial payload check. |
|
| **Security Boundaries** | Can untrusted data execute code, break attributes, or route to unsafe destinations? | Trace every dynamic value into DOM/template sinks: verify safe DOM APIs or HTML escaping for text and quoted attributes, context-appropriate URL validation for `href`/`src`/`action` (never relying on HTML escaping alone for URLs), and at least one adversarial payload check. |
|
||||||
| **Ergonomics & Accessibility** | Is the slice usable on narrow screens, with touch, and via keyboard/assistive tech? | Check narrow mobile viewport (`375px`) for overflow, `>= 44x44px` touch targets, sequential keyboard `Tab` focus, visible `:focus-visible` outlines, and `aria-live` announcements for dynamic feedback. |
|
| **Ergonomics & Accessibility** | Is the slice usable on narrow screens, with touch, and via keyboard/assistive tech? | Check narrow mobile viewport (`375px`) for overflow, `>= 44x44px` touch targets, sequential keyboard `Tab` focus, visible `:focus-visible` outlines, and `aria-live` announcements for dynamic feedback. |
|
||||||
| **Scope & Regression** | Did the slice disturb adjacent features or smuggle unrelated refactors? | Inspect shared files (`main`, routers, shared types/styles) for minimal additive footprint; run targeted smoke checks on neighboring views/endpoints. |
|
| **Scope & Regression** | Did the slice disturb adjacent features or smuggle unrelated refactors? | Inspect shared files (`main`, routers, shared types/styles) for minimal additive footprint; run targeted smoke checks on neighboring views/endpoints. |
|
||||||
| **Commit & Evidence Hygiene** | Are commits localizable and does claimed test coverage match reality? | Check that commits separate coherent boundaries where practical and compare author self-audit claims against what unit/integration tests actually assert. |
|
| **Commit & Evidence Hygiene** | Are commits localizable and does claimed test coverage match reality? | Separates two distinct responsibilities: (1) **Static review** (commit structure, diff scope, source and test inspection) is covered by a matching `Ready` review handshake. (2) **Runtime evidence reconciliation** verifies that reported outcomes are supported by executed checks and relevant test assertions substantiate claimed contracts. |
|
||||||
|
|
||||||
## 3. Four-State Disposition Contract
|
## 3. Four-State Disposition Contract and Boundary Matrix
|
||||||
|
|
||||||
Every required assertion ends in exactly one state:
|
Every required assertion ends in exactly one disposition. `BLOCKED` records an honest execution boundary, never permission to assume correctness or count an unexecuted check as `PASS`:
|
||||||
|
|
||||||
- `PASS`: Assertion satisfied with observable proof (command output, HTTP response, DOM measurement, or screenshot).
|
| Situation | Disposition | Required Action |
|
||||||
- `FAIL`: Assertion violated with reproducible steps and observed vs. expected output.
|
| :--- | :--- | :--- |
|
||||||
- `BLOCKED`: Check could not run due to an environmental, fixture, or dependency problem (distinct from a product bug; diagnose the blocker before judging the implementation).
|
| Check executes (`local`, or `live-infra` explicitly authorized by the human owner) and satisfies expected condition | `PASS` | Attach observable proof (command output, HTTP status, DOM measurement, or screenshot). |
|
||||||
- `INCONCLUSIVE`: Check ran, but collected evidence is insufficient to prove or falsify the assertion.
|
| Check executes and contradicts expected behavior | `FAIL` | Record reproducible steps and observed vs. expected output. |
|
||||||
|
| Local fixture, seed, or tool setup prevents execution | `BLOCKED (env/fixture)` | Diagnose and repair the local blocker before judging the implementation (distinct from a product bug). |
|
||||||
|
| `live-infra` check requires permissions or infrastructure (host rebuilds, production migrations, privileged network changes) unavailable or not explicitly authorized for this run | `BLOCKED (out-of-bounds)` | Do not fabricate execution or mark `PASS`; preserve the exact command and pass/fail criteria for an authorized operator run or maintenance window. |
|
||||||
|
| Check executes, but available evidence cannot prove or falsify the assertion | `INCONCLUSIVE` | State what signal is missing and how to make the check deterministically falsifiable. |
|
||||||
|
|
||||||
|
### Authority Separation Invariant
|
||||||
|
- `code-review` establishes **static provenance** for a specific revision range and working-tree diff.
|
||||||
|
- `verify-slice` establishes **runtime behavioral evidence** for selected assertions.
|
||||||
|
- Neither substitutes for the other, and neither grants release approval; only the human owner authorizes release.
|
||||||
|
|
||||||
### Anti-Rationalization Rules
|
### Anti-Rationalization Rules
|
||||||
1. **Expected values before observation**: State the exact pass/fail condition before running the check. If an assertion expects `2` and the system shows `1`, record `FAIL`, never `PASS` with a narrative excuse ("targeted reconciliation trade-off").
|
1. **Expected values before observation**: State the exact pass/fail condition before running the check. If an assertion expects `2` and the system shows `1`, record `FAIL`, never `PASS` with a narrative excuse ("targeted reconciliation trade-off").
|
||||||
|
|||||||
Reference in new issue
Block a user