Skip to content

prism: strip Easytrieve column-1 * comments from code_stream (#9304) - #9418

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/9304-20261126T2201Z
Nov 26, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/9304-20261126T2201Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Easytrieve was line_exclusive (strips only #), so column-1 * comment lines stayed in code_stream and tripped 4 of 6 keyword families (branch, high_risk_execution, io, panics_and_aborts). It now uses positional_anchored with the same column-1 * mode hlasm/bms use (bms_mode in prism.py, both call sites). Indented * (multiplication) stays code.

Closes #9304

Class / Sibling gaps

Class: positional column-1 comment languages routed through the wrong prism family. Members: hlasm, bms, abap (already positional, handled); easytrieve (fixed here). Not checked this slice: other legacy mainframe languages with column-1 * comments (e.g. clist, csd, rexx use different comment syntax). Sibling gaps: none found in the family-decoy grid beyond easytrieve's 4 leak cells, all now pass.

Evidence

  • Issue repro: * IF GET STOP now lands in comment_stream, code_stream empty of it.
  • family_decoy_runner.py --lang easytrieve --write: exactly the 4 comment cells leak -> pass; baseline kept at its committed indent; chart SVGs regenerated.
  • crucible_check.py --update --yes: no golden drift (both fixtures).
  • pr_gates --fast: 8/9 pass; the failing one was the stale chart SVG (fixed above); affected also left 824 tests to CI by budget.

Doc-refs fixes: none. Regenerated: tests/family_validity_baseline.json, two docs/self_scan/family_validity_*.svg.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 26, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 26, 2026 22:29
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 26, 2026 22:29
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit 629eab5 into main Nov 26, 2026
126 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/9304-20261126T2201Z branch November 26, 2026 22:58
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.

prism: Easytrieve column-1 * comments leak into code_stream (4/6 keyword families affected)

1 participant