Repository navigation
Conversation
…ive guards From tractorjuice#1052, the script and its tests: - No indented code block can form in an extract. No line wraps in one, so a run of blanks put the text out of sight. clean() takes the indentation off source lines (after removing invisible characters, which used to happen last), and the final pass leaves one space after each list or quote marker. The render test now parses each extract with markdown-it and fails on any code block. - --dir is compared by identity, not by name, so a differently cased path to the project on macOS is accepted; the ValueError branch for another drive is gone with it. The refusal says to run the script from the project root. - Usage errors: --dir "" is refused, a directory or /dev/null given to --from-dump or --from-xml is "not a regular file", and a second --from-xml is refused instead of replacing the first. - Tests now catch the removal of five guards no test caught: the foreign-file guard in from_local(), --force over a foreign file (in refresh() and from_local()), the daemon flag on the download worker (a child process with a server that keeps trickling must exit), and one_line() on the listed titles. Refs tractorjuice#941, tractorjuice#1052 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tractorjuice#1052 - Both commands: a row for a usage error (exit code 2, no status line), a stop case for Python not being available with no extract, and Success Criteria that ask for the line's note and error, as the quality checklist does. - NORA template: the kwaliteitsdoel tally and the GEMMA roll-up count Not applicable, which the Not applicable status depends on, and the GEMMA roll-up's Status can be Not applicable. - Quality checklist (GEMMA): the absence of the bedrijfsfunctiemodel extract is recorded. Synced to every overlay. - nl-nora guide: the review checklist covers the Vijflaagsmodel view and Section 3b. nl-overlay guide: a file that is not an extract stops the command where a required extract belongs. Refs tractorjuice#941, tractorjuice#1052 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main moved to 6.22.0 and added the arckit-arc42 overlay. One conflict: - plugins/arckit-claude/docs/ENFORCEMENT.md: main's rows for supplier documents, independent scoring and design reviews, with this branch's NORA and GEMMA row (no indented code block in an extract). sync-shared-assets.py and sync-claude-plugin-layout.py were re-run, so arckit-arc42's quality checklist gets the GEMMA bedrijfsfunctiemodel item. generate-site-pages.py re-dates the nl-nora and nl-overlay guides in the sitemap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs tractorjuice#941, tractorjuice#1052 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for this, and for picking up every follow-up from #1052. I ran a code review over the diff. It found nine things; three I'd want looked at before this merges, and the rest are smaller. I have read the diff for the three main ones, but none of them has been reproduced by running the script, so push back on any that are wrong. 6.22.1 went out today without this PR so the review didn't hold the release. It can go in the next one. Before merging
Smaller
Happy to look again whenever you've had a chance. If you'd rather I made the changes for 1 to 3 on your branch, say so. 🤖 Review run with Claude Code |
- Take the indentation change out of nl-references.py: it reworded an indented wiki `#` or `**` and flattened nested lists. clean(), escape_containers() and neutralise() are back as on main, and the planted cases and markdown-it check that came with the change are gone. Keeping indented source text from rendering as a code block moves to a follow-up issue. - `--dir` is accepted by name, or by identity only where the file system reports inode numbers. - An empty `--from-xml` is a usage error, like `--dir` and `--from-dump`. - The usage-error row in nl-nora and nl-gemma is keyed on argparse's `usage:` and `error:` lines: Python also exits with 2 when the script is missing, and that case belongs to the missing-script guidance. - GEMMA roll-up placeholders: no GAP tally for a kernwaarde, and Not applicable for a kwaliteitsdoel only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The review fix for --dir brings back the branch for paths on two drives, which commonpath() refuses on Windows; this test covers it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the review. All nine are handled in f3c73cc and 1de32bb:
Ready for another look. |
GitHub did not update tractorjuice#1111 after the push of f3c73cc and 1de32bb. This commit changes nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The GEMMA checklist item reaches arckit-uk-food, the overlay main added: CI's shared-asset drift check failed on its copy. - The two NORA and GEMMA entries go back under Unreleased: the merge put them in 6.22.1, which shipped without them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in 6.25.0 and 6.26.0. CHANGELOG: our two NL entries stay under Unreleased / Fixed, ahead of main's three. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow-ups from #1052, after #952. Part of #941.
Script and tests
--diris compared by name, or by identity where the file system reports inode numbers, so a differently cased path to the project on macOS is accepted. The refusal says to run the script from the project root.--dir "",--from-xml "", a directory or/dev/nullgiven as a file, and a second--from-xmlare refused.from_local(),--forceover a foreign file, the daemon flag on the download worker,one_line()on the listed titles, and the refusal of a--diron another drive.Commands, template and checklists
usage:anderror:lines, a stop case for no Python and no extract, and Success Criteria that ask for the note and the error.arckit-arc42included.nl-noraguide: the review checklist covers the Vijflaagsmodel view and Section 3b.nl-overlayguide: a file that is not an extract stops the command where a required extract belongs.Main is merged in (6.22.0). The one conflict was the NORA and GEMMA row in
ENFORCEMENT.md, next to main's new rows.Not in this PR
urlopen()'s connection handling, for a socket that lives at most until the run ends.🤖 Generated with Claude Code