Skip to content

PHP: api attribute boundary, logger( boundary, telemetry severity is the method (Part of #9468, #8863) - #9484

Draft
squid-protocol wants to merge 5 commits into
mainfrom
churn/8863-20261127T0136Z
Draft

squid-protocol wants to merge 5 commits into
mainfrom
churn/8863-20261127T0136Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

Fixes the three rule-level PHP keyword-family leaks from #9468 in php.py and removes their strict xfail markers in tests/decoys/test_decoy_php.py:

Closes #9446
Closes #9447
Closes #9448

Part of #9468, #8863.

Class sweep

Class: a PHP family rule counts text that is not the construct (missing word boundary, or a keyword matched anywhere on the line instead of in its role). Siblings checked in php.py: the other family rules already carry boundaries (debug_prints has lookbehinds). No further siblings found.

Sibling gaps (Remaining slices): #9443 (# line comments), #9444 (text outside <?php ... ?>), #9445 (comment on the opener line). All three need a Prism change (a PHP lexical family or branch in prism.py), a hot file that moves goldens across all PHP, so they are a separate PR. No burned estate needs them. The baseline cells decoys.php.api / telemetry stay leak until then (their remaining leaks are those three), so no baseline flip here.

Cross-repo

Stacked on #9463 (the PHP decoy suite, not yet on main): this branch merges sop2-gaps-d. Merge #9463 first, then retarget/rebase this PR. The Closes lines will not fire until it targets main. No companion PR in another repo.

Verification

Checklist: partial [c:619cce08] -- #9443, #9444, #9445 (Prism: # comments, inline HTML, opener-line comment)

Lessons for agents

  • The SOP-001 baseline ident_boundary cell for php is a generic my_<kw>_val probe, separate from the SOP-002 attribute/logger boundary leaks; fixing those does not flip it.

🤖 Generated with Claude Code

squid-protocol and others added 5 commits November 26, 2026 18:59
…Part of #8863)

cpp closures/import/telemetry, scala explicit_casts, php api/telemetry. Measurement only,
no engine change; 8 leaks filed (#9439 #9441 #9443-#9448) and locked as strict xfails.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem
…61127T0136Z

# Conflicts:
#	docs/self_scan/family_validity_chart.svg
#	docs/self_scan/family_validity_matrix.svg
…y is the method (Part of #9468, #8863)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…face type hint + 'info' default is not a log call) (Part of #9468)

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

# Conflicts:
#	docs/self_scan/family_validity_chart.svg
#	docs/self_scan/family_validity_matrix.svg

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant