Conversation
…is (B-0073) (#96) CodeQL was scanning .NET build artifacts under obj/ and bin/, including auto-generated xunit test entry points (`XunitAutoGeneratedEntry*.cs`). Findings on those files ask us to fix MSBuild's output, not source — wrong dependency direction. Empirically discovered 2026-04-28 while diagnosing why all 6 LFG PRs were BLOCKED with all-green CI: two open `cs/missed-ternary-operator` alerts on `obj/Release/net10.0/XunitAutoGenerated*.cs` were among 13 total Code Scanning alerts gating the LFG `code_quality:severity=all` ruleset on every PR. This config change drops 2 of 13 alerts via a single structural change with zero source-code risk. Composes with B-0073 (which covers the remaining 10 source alerts + 1 Scorecard meta-finding) and task #306 (the original 'Analyze (csharp) on PR' workflow-cost concern, which this helps reduce by limiting scan scope). Verification: next CodeQL run on main should report 11 (or fewer) open alerts instead of 13. Agency-Signature-Version: 1 Agent: otto Agent-Runtime: claude-code Agent-Model: claude-opus-4-7 Credential-Identity: AceHack-shared Credential-Mode: shared-with-aaron Human-Review: not-implied-by-credential Human-Review-Evidence: aaron-explicit-ask Action-Mode: autonomous-fail-open Task: B-0073-step-1-codeql-exclude-build-artifacts
There was a problem hiding this comment.
Pull request overview
Updates the repo’s CodeQL configuration to stop analyzing .NET build output directories that produce generated C# sources and false-positive alerts, unblocking CodeQL gating for PRs.
Changes:
- Extend
.github/codeql/codeql-config.ymlpaths-ignoreto exclude**/obj/**and**/bin/**. - Document the rationale for excluding these build artifact directories (generated xUnit scaffolding and compiler intermediates).
AceHack
added a commit
that referenced
this pull request
Apr 28, 2026
4 tasks
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.
Summary
Forward-sync of AceHack PR #96 (codeql obj/bin excludes) per the authority rule's classification rubric. PR #97 (csharp test cast cleanup) is ALREADY-COVERED on LFG main — cast removals at
tests/Tests.CSharp/CircuitTests.csandtests/Tests.CSharp/ZSetTests.csalready present, no action needed.Cherry-picked verbatim:
0919f25— fix(codeql): exclude obj/ and bin/ build artifacts from CodeQL analysis (B-0073) (research: bootstrap-precursor drift-taxonomy absorb (idea-scope, 4 hallucinations flagged) #96)What this adds
.github/codeql/codeql-config.ymlpaths-ignore: adds**/obj/**and**/bin/**patterns to skip .NET build artifacts (xunit auto-generated test entry points likeXunitAutoGeneratedEntry*.cs+ compiler intermediates) from CodeQL scanning. Empirically discovered 2026-04-28 (B-0073): two open csharp alerts onobj/Release/net10.0/XunitAutoGenerated*.cswere gating the LFGcode_quality:severity=allruleset on every PR.#97 ALREADY-COVERED — verification
Verified via
git cherry-pick 0f5812dresulting in "nothing to commit, working tree clean" — the 10((int, long))casts on tuple literals attests/Tests.CSharp/CircuitTests.csandtests/Tests.CSharp/ZSetTests.csalready exist on LFG in the cleaned-up state. Per Amara's classification rubric: ALREADY-COVERED → no action.Composes with
Acceptance
obj/Release/**/XunitAutoGenerated*.csclear after mergeNext forward-sync targets (per Amara's rubric)
6755081) — codeql umbrella NEUTRAL detection memorya2d2c5b) — research(ferry-4-7): AgencySignature Convention v175464e3) — research(ferry-12): Trailer Contiguity Survival Failuree9d52af) — peer-call sibling scripts16eb468) — research: EAT packet + wallet v0c91fcff) — docs(glossary): Beacon/Mirror governance0d129a4) — research: Zeta=heaven-on-earth writeup5630da1) — substrate: workflow_dispatch lesson🤖 Generated with Claude Code