Repository navigation
AGENTS.md rule 14: check code lists; count_list_codes --code - #399
Merged
Merged
Conversation
…ew or reparented codes - count_list_codes.py: list_members() returns the member set (count_codes wraps it); --code <code_id> prints the lists containing the code, then the lists that contain a parent, child, or cousin of it but not the code itself - AGENTS.md: rule 14 asks for that check after adding a code or changing relations, and documents the option under scripts/codelists/ Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ecks children and cousins only The site build accepts only manual_code_list (its predicate schema rejects manual_code_ids), so the script and the list_all.yml comment now use it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
valbert4
commented
Oct 13, 2026
…ip-rule # Conflicts: # AGENTS.md
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Edited AGENTS.md: new rule 14, check code lists after adding a code or changing its relations; scripts/codelists entry documents the new option
Edited scripts/codelists/count_list_codes.py: --code <code_id> lists the code lists that contain a code and those that miss it while containing a relative
Motivated by PR #398: 3d_xyz_color has no color-code ancestor, so list_color misses it
🤖 Generated with Claude Code