Skip to content

auditor: Packed Payload Guard keeps files with named functions (Part of #5460) - #5547

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5460-20261018T2331Z
Oct 19, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5460-20261018T2331Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Part of #5460 (slice 2 of 3; slice 1 is #5493).

What

The Packed Payload Guard (rho > 3.0, statistical_auditor.py) now skips a file that has at least one named function (not a calls_only bucket) and an average line of <= 120 bytes (the same width limit the import-manifest exemption uses). A pure table (no functions) and a long-line bundle that names functions are still relegated.

Class (content guards that exclude whole files)

member status
Hex / Array-Matrix payload, Saturation, Monotony (aperture) done in #5493
Packed Payload Guard rho > 3.0 this PR
Zero-Density, Machine-Generated OK per the issue (data only)

Sibling gaps: none. Remaining slice 3 (corpus rescan with doom-study clean_check.py) is queued separately.

Evidence

  • 4 new tests in tests/security_auditing/test_statistical_auditor.py (table + 3 functions kept; pure table, calls-only bucket, 900-byte lines still relegated); file: 19 passed.
  • pr_gates --fast 6/6, --ratchets 8/8, crucible_check.py both legs PASS with no re-bless (the guard moves nothing in the crucible).
  • Not done: real-corpus rescan of EntityFlags.cs / gl_load.c / mac.c (slice 3).

Cross-repo

None.

🤖 Generated with Claude Code

…dinary line width (Part of #5460)

A hand-written file with named functions beside a large constant table (EntityFlags.cs,
gl_load.c, mac.c) scored rho > 3 and was relegated. A payload is few, long lines; a file with
a named function and avg line <= 120 bytes is source. Pure tables and long-line bundles are
still relegated.

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 Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 18, 2026 23:59
@squid-protocol
squid-protocol enabled auto-merge (squash) October 19, 2026 00:08
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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