Skip to content

A2: no verdict for "could not tell" — an unsupported rule collapses into fail #19

Closed

Description

@CameronBrooks11

Recorded as adjudication A2 at https://heibench.com/adjudications.html, and as case 2 in the defect record. Filed so it is tracked somewhere actionable rather than only described.

What is wrong

src/kicad_netspec/check.py:39

Verdict = Literal["pass", "fail"]

The overall verdict is green only when every rule is green, so an unsupported rule collapses into fail. netspec then says the board is wrong when the truth is netspec could not check it.

docs/DECISIONS.md D10 also documents a verdict: "error" that the type does not contain. The environment fault currently rides on the exit code alone, not on a report field as D10 requires.

Why it matters

This is the org's founding property, stated in AGENTS.md §2.1: satisfied, violated, and could not tell, and the third never exits 0. partspec has it as Verdict.INCOMPLETE; gerberdiff lacks it too (A3, gerberdiff#17); orlab's drive-layer equivalent was fixed in 6ebbaad.

A consumer cannot currently distinguish a board that failed connectivity from a board netspec declined to evaluate. Both are fail.

Not a drive-by fix

This changes a released report schema and is escalate-first under §10 — it wants a decision entry in docs/DECISIONS.md, not a patch. Related: A1 (exit code 2 means EXIT_USAGE here and INCOMPLETE in partspec), which should probably be decided at the same time since both are about how netspec says "I could not evaluate".

Read from source, not reproduced

Stated because §7 requires the distinction. The claim above is read off check.py:39 at main; no run was made to demonstrate the collapse.

Activity

  1. added
    silence-defect
    on Sep 6, 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

    silence-defect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions