Skip to content

go/java: pin no non-word-first alternative behind a leading \b (Part of #4108) - #7876

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4108-20261106T0731Z
Nov 6, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/4108-20261106T0731Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4108 (slice 23, filler). Test-only: no engine change, so no golden re-bless.

What

The brief named go.py:550 and java.py:556. Both were already fixed on main (.MatchString in #7867; java .matches( sits outside the \b(?:...) group). I swept every rule of both languages for the defect shape and found no member left, so this PR pins the result: tests/extraction/languages/test_go_java_leading_boundary_4108.py scans every compiled go and java rule for a \b( group with an alternative that starts with a non-word char (the guard is self-tested on the defect shape), plus behaviour pins for go .MatchString / time.Now() and java .matches( after whitespace, ) and word chars, and the negatives.

Class / Sibling gaps

Class: an alternation member starting with a non-word char (., @, ~, &) behind a leading \b, which cannot match after whitespace or punctuation. Go: none left (regex_execution, time_date_logic, pointers, generics, listeners all keep non-word-first members outside the \b group). Java: none left (safety, safety_bypasses, regex_execution, events, telemetry, DI, listeners all outside the group). Sibling gaps: (1) @todo in _SPACED_PLANNED (gitgalaxy/standards/language_standards/_shared_patterns.py, planned_debt) sits behind \b( in every language, so @todo after whitespace never matches via that alternative; it is shared by all languages, so one sweep with a full golden re-bless, not a go/java slice; no burned-estate need. The guard exempts planned_debt/fragile_debt for this reason. (2) Languages other than go, java, swift, elixir, assembly, javascript were not swept in this slice.

Gates

New test file: 17 passed. pr_gates --fast run via heavy-run.sh 9/9 pass. Ratchets and golden skipped: no engine change.

🤖 Generated with Claude Code

… word boundary (Part of #4108)

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 Nov 6, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 6, 2026 07:37
@squid-shepherd

squid-shepherd Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 6, 2026 07:38
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Nov 6, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 9c4992c into main Nov 6, 2026
61 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/4108-20261106T0731Z branch November 6, 2026 07:57
squid-shepherd Bot added a commit that referenced this pull request Nov 6, 2026
…OKEN (Part of #7525) (#7881)

* go/java: pin that no non-word-first alternative sits behind a leading word boundary (Part of #4108) (#7876)

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* census: missing copybooks split into clone defect vs IBM product copybook (Part of #7846, #7709) (#7855)

* census: EXEC CICS map "no <name> field" row is a named source defect (Part of #7844, #7709)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* census: missing copybooks split into clone defect vs IBM product copybook (Part of #7846, #7709)

The estate-owned fallback is now `clone defect (not in the clone)`, a named source
defect; more IBM product prefixes (CSQ, DFS, ISP/ISR, EZA, ICE, IGY) get their own
families with an open owner pointer. status_of checks named defects first.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: squid-shepherd[bot] <347545360+squid-shepherd[bot]@users.noreply.github.com>

* oracle: the GnuCOBOL stub keeps a session's headers for WEB WRITE HTTPHEADER SESSTOKEN (Part of #7525, #7709)

New stub entry GGCWWRT appends a header to an open session; GGCWCNV emits them as the
WEB-CONVERSE event's headers (the format CicsTask uses). The equivalence translator now
translates the client WRITE (READ stays refused) and the event comparison covers headers.
Stub and Java crucible tests assert NOTOPEN 27, LENGERR 35/55, order, no key when none written.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: squid-shepherd[bot] <347545360+squid-shepherd[bot]@users.noreply.github.com>
squid-shepherd Bot added a commit that referenced this pull request Nov 6, 2026
…uence (Part of #7525) (#7866)

* cics web: server WEB RECEIVE NOTRUNCATE keeps the rest of the body for the next RECEIVE (Part of #7525)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* cobolrt API manifest: list the new CicsTask.webReceive overload as public (Part of #7525)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* cics web: WEB WRITE HTTPHEADER SESSTOKEN translates on an assumed sequence (Part of #7525)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* ruff format the changed tests (Part of #7525)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* oracle: stub keeps a session's headers for WEB WRITE HTTPHEADER SESSTOKEN (Part of #7525) (#7881)

* go/java: pin that no non-word-first alternative sits behind a leading word boundary (Part of #4108) (#7876)

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* census: missing copybooks split into clone defect vs IBM product copybook (Part of #7846, #7709) (#7855)

* census: EXEC CICS map "no <name> field" row is a named source defect (Part of #7844, #7709)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* census: missing copybooks split into clone defect vs IBM product copybook (Part of #7846, #7709)

The estate-owned fallback is now `clone defect (not in the clone)`, a named source
defect; more IBM product prefixes (CSQ, DFS, ISP/ISR, EZA, ICE, IGY) get their own
families with an open owner pointer. status_of checks named defects first.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: squid-shepherd[bot] <347545360+squid-shepherd[bot]@users.noreply.github.com>

* oracle: the GnuCOBOL stub keeps a session's headers for WEB WRITE HTTPHEADER SESSTOKEN (Part of #7525, #7709)

New stub entry GGCWWRT appends a header to an open session; GGCWCNV emits them as the
WEB-CONVERSE event's headers (the format CicsTask uses). The equivalence translator now
translates the client WRITE (READ stays refused) and the event comparison covers headers.
Stub and Java crucible tests assert NOTOPEN 27, LENGERR 35/55, order, no key when none written.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: squid-shepherd[bot] <347545360+squid-shepherd[bot]@users.noreply.github.com>

* cobolrt_api: recount the manifest summary after the webWriteHeader(SESSTOKEN) entry (Part of #7525)

The earlier merge kept the new member row but not its summary count, so
test_the_manifest_is_the_sources_surface failed in ground-truth part 1/2.
Regenerated with cobolrt_api.py generate.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: squid-shepherd[bot] <347545360+squid-shepherd[bot]@users.noreply.github.com>
Co-authored-by: Joe Esquibel <[email protected]>
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