Skip to content

Catalogue: rules carry features keys; the support matrix joins by key (Part of #5565) - #5803

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5565-20261021T0029Z
Oct 21, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5565-20261021T0029Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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 optional features list (the feature-inventory keys "category: key" the rule governs; added only when non-empty). Compile options stay keyed by the existing options.
  • tests/tools/support_matrix.py: match_rules joins by options (compile options) or features (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.
  • Tests: synthetic catalogue in test_support_matrix.py is keyed (a title word alone now joins nothing); test_cobolrt_rules.py covers 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 --check consistent; 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

Gates

pr_gates --fast 7/7; --ratchets 8/8 (golden not touched: no engine change); tree-wide guards 184 passed.

🤖 Generated with Claude Code

…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]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 21, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 21, 2026 00:44
@squid-protocol
squid-protocol enabled auto-merge (squash) October 21, 2026 00:47
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 697ffe7 into main Oct 21, 2026
51 checks passed
@squid-protocol
squid-protocol deleted the churn/5565-20261021T0029Z branch October 21, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant