Skip to content

Fail Python CLI startup when Toolkit registration fails - #131

Merged
tercel merged 1 commit into
mainfrom
feat/cli-registration-failures
Nov 29, 2026
Merged

tercel merged 1 commit into
mainfrom
feat/cli-registration-failures

Conversation

@tercel

@tercel tercel commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Make the standalone Python CLI inspect every Toolkit registration result. Report failed module IDs and causes on stderr, then exit with code 47 before dispatch.
  • Leave Toolkit's batch behavior intact and count the registrations reported by the writer.
  • Document this behavior alongside the standalone discovery flags and add a regression through the real CLI entry point and RegistryWriter.

Closes #60.

Verification

  • Reproduced the bug as an exit-status 0 on a missing binding target.
  • Full Python CLI suite against the installed Core beta.1 candidate passed 1,099 tests with six expected failures.
  • Ruff and the strict CLI documentation build passed.

@tercel
tercel merged commit 1ed1c7a into main Nov 29, 2026
14 checks passed
@tercel
tercel deleted the feat/cli-registration-failures branch November 30, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RegistryWriter.write() converts registration failures into warnings

1 participant