Skip to content

SOP-002-v1 gap-cell decoys: hlasm bitwise_ops, pointers, ssr_boundaries (#8863) - #9427

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
sop2-gaps-f
Nov 27, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
sop2-gaps-f

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

The three HLASM keyword-family cells that had a rule but no decoy test at all now have a specification-grade SOP-002-v1 suite (tests/decoys/test_decoy_hlasm.py): bitwise_ops, pointers, ssr_boundaries. This is part of covering the missing cells on the validated languages (the chart showed 961 rule cells with no test of any kind; the SOP audit lists 301 untested code-stream cells, 78 of them on the 16 validated languages that have gaps).

Each cell gets: a real assembler positive control in fixed columns; every comment form the HLASM language reference defines (* column 1, .* macro comment, a multi-line banner, and the trailing remarks field); the string behaviour recorded honestly; an identifier/operand-boundary audit of every literal branch of the rule (24 branches for bitwise_ops, each six ways); and cross-family negative controls (OI/NI/XI and the storage forms are state_mutation's, LA is the documented pointer exclusion, EXEC CICS SEND MAP is not an SSR boundary).

What it found

One real engine leak, filed as #9422: the engine does not strip HLASM's trailing remarks field, so a keyword written in a remark still counts for pointers and ssr_boundaries (bitwise_ops is anchored to the operation field and passes). The affected cases are xfail(strict=True) against that issue. No rule or engine code is changed here, as the protocol requires.

Not tested, and said so in the suite: columns 72-80 (continuation and sequence fields); an identifier-prefix decoy for the =A( / =V( literal branches (a prefix before = is ambiguous).

Baseline

Three new SOP-002-v1 rows under decoys.hlasm (additions only, nothing else in the file changed); the two family-validity charts are regenerated. The SOP audit moves from 77 to 80 spec-grade cells and from 301 to 298 untested code-stream cells.

SOP-002 checklist

  • Protocol: SOP-002-v1 (docs/agents/decoy-spec-protocol.md)
  • Scope: 1 language (hlasm), the three gap cells only (not a full-language graduation)
  • Req A: comment forms tested (*, .*, banner, trailing remarks); HLASM has no block or nested comments
  • Req B: all-branch boundary audit for bitwise_ops (24 branches), pointers, ssr_boundaries
  • Req C: the three untested code-stream families now have positive controls
  • Req D: cross-family negative controls written against the signal contracts
  • Req E: the leak has an issue (hlasm pointers/ssr_boundaries: keyword in trailing remarks field counts (remarks are comments) #9422) and a strict xfail; baseline rows promoted
  • family_validity_chart.py --check passes; the decoy, runner and chart tests pass (103 passed, 2 xfailed); ruff audit and doc-refs audit: no new findings

🤖 Generated with Claude Code

https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem

@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 enabled auto-merge (squash) November 26, 2026 23:56
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 27, 2026 00:02
@squid-shepherd

Copy link
Copy Markdown
Contributor

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 27, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 27, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (7e2a6df) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 27, 2026 00:08
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Nov 27, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (7e2a6df) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-protocol
squid-protocol marked this pull request as ready for review November 27, 2026 00:10
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Nov 27, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 27, 2026 00:11
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 27, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 27, 2026
@squid-shepherd
squid-shepherd Bot merged commit 359d2cd into main Nov 27, 2026
70 of 89 checks passed
@squid-shepherd
squid-shepherd Bot deleted the sop2-gaps-f branch November 27, 2026 00:52
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