Skip to content

A1: exit code 2 means EXIT_USAGE here and INCOMPLETE in partspec #20

Closed

Description

@CameronBrooks11

Recorded as adjudication A1 at https://heibench.com/adjudications.html. Filed so it is tracked rather than only described.

The conflict

Verified against source on 2026-09-05:

netspec partspec
0 satisfied satisfied
1 violated violated
2 EXIT_USAGE (src/kicad_netspec/cli.py:32) Verdict.INCOMPLETE (src/partspec/status.py:107)
4 environment fault environment fault
64 — usage (EX_USAGE)

A consumer branching on 2 across both tools is reading two different facts: "you invoked me wrong" in one, "I could not decide" in the other. CI and agents are exactly the consumers the org promises a stable exit code to (AGENTS.md §5).

Recommendation of record

Adopt partspec's split: 2 for could-not-tell, 64 for usage. That gives netspec somewhere to put the third verdict it currently lacks — which is #19 (A2), and the reason these two are best decided together.

Escalate, do not decide

Changing an exit code in a released tool is on §10's escalate list. This needs a docs/DECISIONS.md entry with an owner, not a patch. Filing it here is the tracking, not the proposal.

The org contract is explicit that this cuts both ways: do not "fix" a member to match the adjudication page without an issue and a decision entry. The vocabulary follows the tools; the tools do not silently follow the vocabulary.

Activity

  1. added a commit that references this issue on Sep 6, 2026
    f713485
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions