Repository navigation
scaffold-project.py: a leg path the project's own YAML reader would read back as another type (null, ~, true, False, 2026, 1.5) is refused before anything is created, under --dry-run alike, through the one definition adopt-project.py asks, so --spec-path 2026 no longer creates three repositories whose first bootstrap fails manifest-leg-path, and adopt-project.py execute no longer says adoption verified before that bootstrap fails (#225)
#266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
aa2be9a
scaffold-project.py: a leg path the project's own YAML reader would r…
brettheap 5141bd5
tests/test_leg_path_yaml_scalars.py: the leg-path rule's verdict is h…
brettheap 272c1c8
scaffold-project.py: the refusal of a leg path the project would misr…
brettheap 39ac2c9
tests/test_leg_path_yaml_scalars.py: the template-line test renders e…
brettheap b2b42f8
Merge main 6d8d88b into fix/leg-path-yaml-scalars for the import-list…
brettheap aa357fc
scaffold-project.py and adopt-project.py: the leg-path rule asks the …
brettheap 3410be7
scripts/shape_materialize.py: the leg-path rule keeps the template li…
brettheap 50b3950
Merge branch 'main' into fix/leg-path-yaml-scalars
brettheap c11804a
Merge main 7a8b981 into fix/leg-path-yaml-scalars for the import-list…
a3de4f9
Merge branch 'main' into fix/leg-path-yaml-scalars
brettheap e9fc55a
Merge branch 'main' into fix/leg-path-yaml-scalars
brettheap File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
adopt-project.py checkreads a hand-edited plan containing barespec_path: 2026(similarlynull, booleans, or floats), the earlier non-string branch tells the operator to quote the value. With this new check, changing it to"2026"immediately produces anotherplan-bad-leg-path, because the generated templates write it bare and read it back as a number. The prescribed remediation therefore cannot clear the finding; tell the operator to choose a different path, or quote the generated template fields.Useful? React with 👍 / 👎.