Skip to content

Guard Docs signals on markdown; #4108 step 3: no zero-firing signal is broken detection (Part of #4108) - #9397

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/4108-20261126T1736Z
Nov 26, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/4108-20261126T1736Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4108 (step 3: are any remaining zero-firing signals broken detection rather than corpus gaps?).

Finding

No broken detection. tests/signal_coverage_baseline.json lists 6 zero-coverage signals:

Signal Verdict Evidence
Agentic RCE, Prompt Injection, Tainted Input Reaching a Sink placeholder keys (detectors removed in #1020 / #3101) nothing to detect
Invisible Unicode, Homoglyph Identifiers, File Extension Mismatch corpus gap, rule works planted-file tests in test_zero_coverage_signals_4108.py (12 cases) and test_disguised_executable_4126.py pass

The issue's suspicion (Hyperlinked Literature References on markdown) no longer applies: those Docs signals are not in the zero list. I ran a small markdown fixture (link, mermaid and plantuml fences, python fence, ## References): Docs: Diagrams 2, Links 1, Code Examples 6, Section Headers 2. The new test pins that.

Changes

  • tests/core_engine/test_zero_coverage_signals_4108.py: 4 parametrized cases scanning a markdown file end to end through the CLI and asserting the four Docs signals fire.

Class / Sibling gaps

Class: signals the golden master cannot exercise (zero or thin crucible coverage). Members checked: all 6 zero-coverage entries (above: 3 placeholders, 3 already guarded by end-to-end planted tests) and the Docs family on markdown. Sibling gaps: the 21 thin_coverage signals (LLM Orchestration, Cloud LLM API Calls, Deep Learning, Hardware/Serial, Local Inference, etc.) were not individually fixture-probed here; only Docs: Diagrams/Code Examples were. Closing the corpus gaps with planted keyword-rosetta cases is cross-repo work (pin bump) and not done here.

Remaining slices

  • Fixture-probe each thin_coverage signal (one tiny planted file each) in the same test file.
  • Planted keyword-rosetta cases for the 3 real-rule zeros (cross-repo, docs/ecosystem.md).

Gates: new test file passes (16 passed); ruff format clean.

🤖 Generated with Claude Code

@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 marked this pull request as ready for review November 26, 2026 17:57
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 26, 2026 18:23
@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 26, 2026
@squid-shepherd
squid-shepherd Bot merged commit f4fc1d8 into main Nov 26, 2026
62 of 64 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/4108-20261126T1736Z branch November 26, 2026 18:23
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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

Copy link
Copy Markdown
Contributor

No description provided.

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 shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant