Skip to content

Test whether a 1-for-1 criterion accounting step in Spec review catches omitted UI and partial-layer criteria #2273

Open

Description

@JacobStephens2

This was generated by AI during triage.

Problem

Both skills/thirdshift-code-review/SKILL.md (used in ticket-run implement reviews) and prompts/spec-review.md (used in spec-run Spec reviews) instruct the Spec reviewer to emit exception-only prose under tight word caps (<400 / <800 words per sub-agent), where passing acceptance criteria are omitted silently.

On larger specs and multi-criterion tickets, "silence = pass" prose allows two recurring false-negative patterns to slip through Spec review:

  1. Half-wired / backend-only criteria: A required UI element or table column is populated in backend presenter/API props and asserted in a JSON/unit test, so the reviewer sees matching symbols in the diff and moves on, even though the frontend component/template never renders the column.
  2. Dropped list items inside compound criteria: When an acceptance criterion enumerates several required fields, columns, or states, an unindexed prose pass can miss one omitted item without ever recording which file/layer satisfied each item.

Requiring an explicit 1-for-1 Criterion Matrix (either in the Spec sub-agent's intermediate/structured output or when a ticket/spec exceeds a criterion threshold)—mapping every numbered criterion/sub-item to (a) backend + rendered UI surface, (b) test evidence, and (c) pass/gap verdict before summarizing findings—could force full-stack verification of each criterion. However, adding mandatory per-criterion output changes token usage and review noise across runs and should not be shipped without measuring whether it improves recall without hurting precision on small tickets.

What to decide and test (ready-for-human)

Why a human: Prompt changes to skills/thirdshift-code-review/SKILL.md and prompts/spec-review.md are Experiment-gated, depend on the code-review / spec-review Eval suites (#1516, #1481), and involve a scope choice between spec-run and ticket-run.

  1. Scope surface (spec-review only vs. both spec-review and thirdshift-code-review):
    • Decide whether 1-for-1 criterion accounting belongs first in prompts/spec-review.md (end-of-Spec review across the full Spec PR, where criterion counts are largest and #1531 separates review steps), in skills/thirdshift-code-review/SKILL.md for all runs, or gated on specs/tickets with multiple acceptance criteria / UI surfaces.
    • Decide whether the matrix stays internal to the Spec sub-agent (only surfacing failed rows in the final PR/session summary to preserve <800-word review brevity) or appears as a compact collapsible <details> checklist in the review output.
  2. Eval coverage & Experiment:
    • Ensure the code-review (and/or spec-review) Eval suite includes discriminating tasks covering (a) backend-prop-present / frontend-render-missing UI criteria and (b) one omitted item inside a multi-column / multi-field requirement (alongside #1516).
    • Run a thirdshift experiment comparing the baseline Spec review prompt against the 1-for-1 criterion-matrix candidate on recall, false-positive rate, and session cost before landing any prompt edit.

Acceptance criteria

  • Scope decision (which review prompt(s) and whether the matrix is sub-agent-internal vs. rendered in <details>) is settled here.
  • At least one Eval task in the review suite exercises a partial-layer (backend-wired, UI-unrendered) or multi-item-omission Spec gap.
  • A thirdshift experiment compares the 1-for-1 criterion-accounting candidate against baseline thirdshift-code-review / spec-review, and results are posted here before adopting or rejecting the prompt change.

Out of scope

  • Changing skills/thirdshift-code-review/SKILL.md or prompts/spec-review.md without an Experiment verdict.
  • Growing the baseline code-review Eval suite to 20 discriminating tasks (tracked in #1516) or splitting code review out of implement (tracked in #1531).

Related

#1516, #1531, #1481.

Activity

  1. added
    enhancement
    ready-for-human
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementready-for-human

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions