Skip to content

A budget stop that kept its partial output exits 1 in atoms, probe, routing and analyze; tools preference exits 3 #632

Open

Description

@antonwolfy

The issue asks that a --max-usd stop that kept its partial output exit 3, as tools preference does (the exit-code table in docs/quickstart.md says only that command does, and "other commands still exit 1"). atoms, probe, routing and now analyze (commands/novelty_budget.py exit_partial, SystemExit(message)) exit 1, and tests pin that.

Changing them together reverses documented behaviour and the tests that pin it, and an open PR is already moving the exit codes. Fix: one decision on the exit code for a kept partial result, then change exit_partial and the routing exit in one place, with the doc table and tests.

Found while fixing #624. The fix's PR is #633.

Activity

  1. self-assigned this
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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