Skip to content

PL/I data moves: the ! (OR) and !! operators no longer end the source list (#9213) - #9221

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/9213-20261124T1649Z
Nov 24, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/9213-20261124T1649Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #9213

What

core/pli_data_moves.py tokenized | and || but not their alternate spellings ! and !!, so a statement like X = X ! (A < B & C > 5) was cut at the first ! (one source instead of X, A, B, C). The tokenizer now accepts both and normalizes them to | / ||, so every downstream check (including compound != / !!=) sees the canonical operator.

Class

PL/I alternate-spelled operators. Same-mechanism sibling: !! (fixed here). ¬<, ¬>, ^<, ^> already tokenize as two ops (pinned by test).

Tests

tests/core_engine/test_pli_data_moves.py: each alternate spelling yields the same sources as its canonical form (!, !!, chains, grouped, compound assign, with ¬</^>), and ! inside a string literal is not an operator.

Gates

pytest (pli), audit_check.py all clear, ground_truth_ledger.py check clean (0 of 60 open). No golden drift expected (not regex-rule code).

Facts checked

Ledger and audits unchanged. The R0016023 answer key counts were not re-run (DSF corpus is a non-burned census input).

Cross-repo

None.

Lessons for agents

A bare python in a heredoc fails silently-ish when the selfscan venv is not on PATH; re-export PATH in every Bash call and check git diff --stat.

🤖 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 24, 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 24, 2026 17:06
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 24, 2026 17:09
@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 9500753 into main Nov 24, 2026
100 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/9213-20261124T1649Z branch November 24, 2026 17:27
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.

PL/I data moves: the ! (OR) operator ends the source list, so moves after it are missed

1 participant