Repository navigation
SOP-002-v1 gap-cell decoys: cpp, scala, php (6 cells) (#8863) - #9463
Conversation
…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
|
No description provided. |
|
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. |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem
|
CI shepherd: the head of this PR (acdd2f0) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #9463 @ acdd2f0: 7 failed check(s) == db2 ${{ matrix.shard }} (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem
|
CI shepherd: the head of this PR (fd4c2ec) is not the one a maintainer labelled |
|
CI shepherd: the head of this PR (fd4c2ec) is not the one a maintainer labelled |
|
No description provided. |
What
Specification-grade SOP-002-v1 decoy suites for the 6 keyword-family cells on C++, Scala and PHP that had a rule but no decoy test of any kind (
tests/decoys/test_decoy_cpp.py,test_decoy_scala.py,test_decoy_php.py). Gap cells only, not a full-language graduation.closures,import,telemetryexplicit_castsapi,telemetryEach cell has a real positive control, every comment form in the language specification (C++
//,///,//!,/* */,/** */,/*! */and raw stringsR"x(...)x"; Scala//,/* */, scaladoc, with nesting; PHP//,#,/* */,/** */,?>ending a//comment, heredoc and nowdoc), the string-then-comment boundary, an all-branch boundary audit, and negative controls. Scala's nested block comments pass at depth 2 and 3 and Scala has no leaks; C++ and PHP do not nest, asserted as positive controls.What it found (eight engine leaks, each filed and locked as
xfail(strict=True))#line comments are not stripped, so commented-out code counts in every keyword family.#comments are common in real PHP, and the same hole hits branch, io and debug_prints too.<?php ... ?>(inline HTML) counts as code in every family.<?phptag leaks (<?php // S); the same text on line 2 is fine.apihas no boundary after an attribute name (#[Getter],#[Posted]count).telemetry'slogger(branch has no leading boundary (my_logger()counts).telemetrymatches a severity word anywhere later on the line (Log::get($info)is a false positive;error_log("x", 3, ...)a false negative).//comment continued by backslash-newline leaks its next line (closures, import, telemetry).closurescounts an array brace initializer (int a[] {1,2,3};) as a lambda.Recall gaps noticed and not filed (not precision leaks): C++
spdlog::info(...),logger->info(...)and# include <x>with a space; Scalax.toChar; PHP namespaced#[\App\Route].No rule or engine code is changed here, as the protocol requires. Strings count by design (#2535); quoted-string, raw-string, heredoc and nowdoc results are recorded in the baseline rows.
Baseline
6 new
SOP-002-v1rows (additions only, 66 lines); both charts regenerated. Untested code-stream cells for these three languages go from 3/1/2 to 0/0/0.SOP-002 checklist
SOP-002-v1family_validity_chart.py --checkpasses; 321 tests pass, 33 xfail as intended; ruff audit and doc-refs audit: no new findings🤖 Generated with Claude Code
https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem