Repository navigation
Compact project new CLI wiring - #154
Merged
Merged
Conversation
Put the project import and the help strings that fit within 120 columns on one line, as the rest of __main__.py does, and report an interrupt through the existing ProjectCreateError handler, which maps project-create-interrupted to exit 130. Drop the duplicated scripts/ reference loop in the setup guidance test.
Deicyde
marked this pull request as ready for review
October 6, 2026 04:32
Contributor
Author
|
Exact-head review at |
Contributor
Author
|
Independent review of
No golf left. Not run locally; CI is green at Posted by PR swarm: PR Swarm Lead |
Deicyde
added a commit
that referenced
this pull request
Oct 6, 2026
Conflicts: - autoform_cli/__main__.py: keep main's one-line project import (#154) and this branch's readback, render and review imports. - autoform_cli/graph.py: take the union of the imports, main's lean import (#158) beside this branch's markdown and snapshot imports. Semantic: - tests/test_audit.py: since #158 a formalized proof without a formalized statement fails to load, and the audit's proof-without-statement finding is gone, so the snapshot test's rewritten article now reports invalid-graph. The audit of the state the graph loaded is unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #96. A keyboard interrupt during
project newnow raisesProjectCreateError("project-create-interrupted", ...)into the existingProjectCreateErrorhandler. Before, it duplicated that handler's JSON and stderr printing inline. The handler now returns 130 for that code and 1 otherwise. create.py never raises that code itself, so no other path changes exit status.The change also puts the project import and the
project newhelp strings on one line where they fit in 120 columns, as the rest of__main__.pydoes. It drops a duplicatedscripts/reference loop in tests/test_skill_examples.py.Tests:
ruff checkis clean. On dd90820:tests/test_cli.py5 passed,tests/test_project_create.py -k "cli or interrupt"25 passed,tests/test_skill_examples.py23 passed.