Skip to content

assembly .rodata/.rdata and javascript .bind(/.call(/.apply( behind a leading \b (Part of #4108) - #7869

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4108 (slice 24).

What changed

Two rules had an alternation member starting with a non-word char (.) inside a leading \b(...), so the member could only match right after a word character, never after whitespace, ) or ]:

  • assembly.immutability_locks: .rodata / .rdata (\t.section .rodata never fired). Now \bequ\b|\.(?:rodata|rdata)\b.
  • javascript.reflection_metaprogramming: .bind( / .call( / .apply( (also needed a word char after (, so f.call() missed). Now \b(...)\b|\.(?:bind|call|apply)\(.

Golden masters re-blessed via golden-lock.sh crucible_check.py --update --yes; the drift is the two signals (Metaprogramming & Reflection, Immutable Data Declarations) plus their derived scores on the crucible files that use these constructs.

Class / Sibling gaps

Class: a \b directly before an alternation (or literal) whose member starts with a non-word char, so it cannot fire after whitespace or punctuation. Swept every compiled regex in LANGUAGE_DEFINITIONS plus a source grep of gitgalaxy/. Handled here: assembly .rodata/.rdata, javascript .bind(/.call(/.apply(. Already fixed elsewhere: JVM (#7864), dockerfile (#7862), go .MatchString (#7867, open). The shared planned-debt @todo is redundant, not a bug (\btodo\b already matches after @).

Sibling gaps (each is a different language file, one line plus a test; not done here to stay in "one or two languages"):

  • swift.py:475 regex_execution: \.range\(of:.*\.regularExpression behind \b(; misses after "..."/).
  • csharp.py:600 dependency_injection: \[Inject\] behind \b(...)\b; [ after whitespace never matches and ] then needs a word char.
  • agc_assembly.py:245 spec_exposure: #\s*REF: behind \b(...)\b; also the trailing \b after :.

Remaining slices

None beyond the sibling gaps above.

Gates

New tests (fire and no-fire for both rules) and the assembly/javascript strict suites pass (220). Golden bless run on both legs. Not run: pr_gates --fast / --ratchets, full suite (CI).

🤖 Generated with Claude Code

…r sit behind a leading 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 05:55
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 6, 2026 05:56
@squid-shepherd

squid-shepherd Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit 12becef into main Nov 6, 2026
120 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/4108-20261106T0541Z branch November 6, 2026 06:48
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