Repository navigation
Catalogue: rules carry features keys; the support matrix joins by key (Part of #5565) - #5803
Merged
Merged
Conversation
…ey, not title words (Part of #5565) 77 rules get the inventory features they govern ("category: key"); match_rules joins on them and the family/title-word heuristic is gone. The join over all six burned inventories (553 features, 108 with rules) is byte-identical before and after. cobolrt_rules.check validates the key's shape. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 21, 2026 00:44
squid-protocol
enabled auto-merge (squash)
October 21, 2026 00:47
Owner
Author
|
No description provided. |
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.
Part of #5565 (the last scanner-input gap: "rule catalogue (#4711) has no feature keys").
Checklist: partial [c:d203f753] -- the dto-property box is modelled (#5567) but stays open until the evidence report refreshes COPAUS0C / COPAUS1C
What changed
docs/language_status/cobolrt_rules.json: 77 rules gain an optionalfeatureslist (the feature-inventory keys"category: key"the rule governs; added only when non-empty). Compile options stay keyed by the existingoptions.tests/tools/support_matrix.py:match_rulesjoins byoptions(compile options) orfeatures(everything else). The family / title-word heuristic (_route,_word, the word tables) is deleted.tests/tools/cobolrt_rules.py:check()validates the key's shape; docstring names it.test_support_matrix.pyis keyed (a title word alone now joins nothing);test_cobolrt_rules.pycovers the shape check.Proof
The rule list of every feature of all six burned inventories (553 features, 108 with rules) before vs after: byte-identical, so the matrix output is unchanged.
cobolrt_rules.py --checkconsistent; both test files green (83 passed).Class
Class: how the matrix joins a feature to catalogue rules. Compile options: keyed already (
options). All other categories (statements, cics_commands / options, sql_forms, intrinsic_functions, data_types, sort, file verbs): keyed now. No member left.Sibling gaps
featuresentry (nothing reads it; needs a non-burned program, out of scope).Gates
pr_gates --fast7/7;--ratchets8/8 (golden not touched: no engine change); tree-wide guards 184 passed.🤖 Generated with Claude Code