Repository navigation
aperture: CI workflows are code, not static-asset blobs; exclusions are never silent (#4917) - #4928
Merged
Merged
Conversation
…xcluded file (#4917) Exempt recognized pipeline configuration paths (.github/workflows/*.yml, action.yml, bitbucket-pipelines.yml, .gitlab-ci.yml, azure-pipelines.yml) and content-identified workflow YAML files from Gate 3.3 static-blob exclusion. Large data YAML fixtures remain excluded. When the aperture excludes a file, log a WARNING naming the excluded file and reason so skipped artifacts are visible on the console. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
#4917) Review follow-up: a WARNING per minified/generated file floods the console on large repos, so only the heuristic static-asset-blob exclusion (the one that can hide real code) warns per file; the rest log at DEBUG and the scan prints one INFO count pointing at the audit report. Drop an unused module logger, cap the pipeline-key content check at 200k chars. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 11, 2026 20:44
squid-protocol
enabled auto-merge (squash)
October 11, 2026 20:44
Contributor
squid-protocol
added a commit
that referenced
this pull request
Oct 12, 2026
CI workflows became scanned files (#4928), so `.github/workflows/dart.yml` entered the name index and a Dart `dart` token drew 5 false edges (graph-accuracy-audit, dart-lang/http). _resolve_target now refuses a yaml/json/markdown/plaintext/csv/pbtxt target unless the token spells that file's own extension. The same guard drops Go `import "unsafe"` -> ansible unsafe.yml from the golden corpus. Co-authored-by: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4917.
Problem: the aperture's static-blob gate (Gate 3.3) dropped any YAML over 1,000 lines with no intent as a "Static Asset Blob", including our own 1,010-line
.github/workflows/evidence-refresh.yml. Nothing on the console said so.Change
ApertureFilter._is_pipeline_config: pipeline definitions skip the blob size gate. Matched by path (.github/workflows/,.gitlab/,.circleci/,.buildkite/,action.yml,.gitlab-ci.yml,bitbucket-pipelines.yml,azure-pipelines*.yml) or by content (3 or morejobs:/steps:/run:keys, checked within the first 200k chars). The other gates (monotony, array/hex shields, saturation) still apply to them.Evidence
evidence-refresh.ymlappears in the audit as Yaml (it used to be in the excluded queue). The console showed 9 exclusion lines in total, so no flood.tests/core_engine/test_aperture_workflow_blob.py: workflow kept; a 1,100-line data YAML is still blocked and warned once; recognised pipeline names; content-identified workflow at a custom path; dogfood onevidence-refresh.yml; bulk exclusion logs DEBUG with no WARNING.pr_gates --fast(lint, audits, secrets, xray, gauntlet) and--ratchets(all 7) pass in a /srv worktree. Golden masters left to CI.Implementation by agy (Gemini); review follow-ups (log levels, summary line, dead logger) by Claude.
🤖 Generated with Claude Code