Repository navigation
polish(NOCOMMENTS): name kindAction as blocking on finding.Kind - #440
Merged
Merged
Conversation
The field comment still said only kindRef blocks. kindAction has blocked since the action-pin scan landed. Co-authored-by: Brian Scully <scullxbones@users.noreply.github.com>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
8 of 15 tasks
9 of 10 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.
Why
Brian asked for an overnight no-comments pass on scullxbones/armature, limited to the files changed by #438 inside the trailing-24h merged-PR fence. A merged-PR search from 2026-11-05T11:44Z returned only #438. Its squash is
915b5ba0on main at 2026-11-06T11:16:20Z. Armature 1.0, #423, #435, #437, and Dependabot stay out of scope.Comment Sicko reviewed the current text of those 23 files and proposed deleting every comment. This pass keeps comments that record a gate, a GitHub Actions 40-hex pin versus a repository object id, a checkout symlink rule, or a waiver footgun. One comment was false.
finding.Kindsaid onlykindRefblocks.kindActionhas blocked since #438. This PR corrects that comment. Behavior does not change.Source fence is https://github.com/scullxbones/armature/pull/438/files.
Files scanned
23 files. Comment groups below are Comment Sicko's counts.
docs/agents/quality-gates.mdhas 0 source comments. ci(ACTIONS): fail closed on movable GitHub Action refs #438 edited thecheck-bash32table cell. Markdown headings and fenced shell lines were skipped.scripts/check-workflow-image-pins.shhas 1 group, 7 lines. Kept.scripts/repoguard/allow.gohas 10 groups, 26 lines. Kept.scripts/workflowimagepins/actionpins_test.gohas 0 comments. The# v0.0.1at the pin test is a YAML payload inside a Go string.scripts/workflowimagepins/main.gohas 12 groups, 34 lines. 11 kept. 1 corrected.scripts/testdata/workflow-image-pins/have 0 comments. That is bothpinnedandunpinnedaction YAML twins, both reusable-workflow twins, and both compositeaction.ymltwins.Tally
Deletion candidates were 23 groups and 66 lines. Accepted deletions are 0. Restored comments are 0, because nothing was deleted. Reruns of Comment Sicko are 0. The no-comments skill asks for one rerun after a rejected report. This caller asked for one independent pass plus a parent assessment, so that rerun was not started.
Accepted comment correction is 1.
scripts/workflowimagepins/main.gofieldfinding.Kindnow sayskindEngineis advisory andkindRefandkindActionblock.runalready routeskindActionto the blocking action list. The object-id waivers atallow.golines 40, 840, and 842 do not move.MUST KILL flags raised were 5. Accepted were 0.
Kept comments and rejected flags
main.gopackage comment on line 1 stays. revivepackage-commentsis enabled, and Comment Sicko skipped it for that reason.main.golines 2 to 19 stay. They state the blocking and advisory split, the 40-character lowercase action pin, and the checkout-local exemption. Those are the gate this scanner enforces.main.goline 36 stays. The regex lists the same engine names asENGINESinscripts/ci-path-shadow-engines.sh. Unifying the two lists would edit that script, which is outside the fence.main.goline 39 stays. It is the GitHub Actions pin width, 40 lowercase hex, whichrepoguardwaives atallow.gobecause it is not a repository object id. Comment Sicko cited actions/runner#4347 and actions/checkout#2439 as proof that GitHub now accepts 64-hex SHAs. ChangingactionSHAto accept 64 hex would change behavior and theactionpins_test.go"64 character sha" case. That work is out of this pass. I did not re-open those two upstream PRs.main.golines 53 to 54 stay. The exempt list is scripts that must name engines, and the function shape exists becausegochecknoglobalsis on.main.goline 62 stays.scripts/test_check_jobs.shis exempt because that test asserts the engine-token policy.main.goline 86 stays.-advisoryis still accepted and ignored. Deleting the case would make that flag exit 2 as an unknown flag. Grep of this repo finds no caller. Removing it is still a behavior change, so the MUST KILL is rejected.main.goline 295 stays. The scripts walk has no extension filter and a short exempt list.main.goline 566 stays. It records DockerfileFROMgrammar this repo does not own. Comment Sicko marked this kill as unsure.main.goline 597 stays.scratchand a prior stage name are Docker rules, and the code skips them.main.golines 785 to 787 stay.staysInsidefalls back toEvalSymlinksof the checkout root afterwithinRootfails. Callers incheckLocalActionUsepass anEvalSymlinkspath. Renaming the function is a shape change, so that MUST KILL is rejected.main.golines 822 to 823 stay.externalPinIssuereturns an empty string when the ref is pinned. Replacing that with anerrorreturn would edit every caller and the line-pinned waivers. That MUST KILL is rejected.allow.golines 18 to 21, 27 to 28, and 211 to 212 stay. A hit must contain the needle, never the reverse, and an empty needle would match every hit becausestrings.Contains(hit, "")is true.validateAllowEntriesandallowedboth reject that, andrepoguard_test.goplants the empty needle.allow.golines 34 to 35 stay. There is nogit-hermetic-namewaiver becausegit_internal_testbuilds the binary name without a bare"git"literal.allow.golines 85 to 87 stay. The waived 64-hex schema patterns are content digests, not git object ids. The note sayssha256:patterns are not hits today, so waiving them would fail the unused-entry audit.allow.golines 154 to 155, 165 to 167, and 195 to 196 stay. An entry that never waives a hit fails. Comment Sicko called lines 165 to 167 false becauseidx.unusedruns only whenisArmatureRootis true. That gate keeps fixture repos from failing the armature allowlist. It does not skip fixture trees during the scan. The Dockerfile walk is what skips directory names. Rewriting that gate is out of scope.allow.golines 236 to 237 stay.allowedSitematches without marking the entry used. Production scans useallowIndex.allowed. Moving the helpers intorepoguard_test.goedits a file outside the fence, so that MUST KILL stays open.allow.golines 254 to 257 stay.gitNetAllowmatches file, function, site, and reason. A file-wide comment does not match. The parser lives ingit_network.go, outside this fence.scripts/check-workflow-image-pins.shlines 2 to 8 stay. They are the operator-facing statement of the same blocking and advisory split.Open, not in this PR
engineTokenduplicatesENGINES. A shared list or parity test touchesscripts/ci-path-shadow-engines.sh.-advisoryis a dead flag inside this repo. Deleting it changes the exit code for an external caller.staysInsideandwithinRootare easy to confuse. The comment is the current record of the symlink fallback.externalPinIssueuses an empty string for success.allowedSiteand its three wrappers are called from tests and live in production code.The package banner says
.git,testdata,vendor, andnode_modulesare not production roots. The Dockerfile walk skips those four names. The scripts walk skips onlytestdata. Workflow files are read from root.github/workflows. An earlier review treated a tighter skip as later hardening. This pass does not change that walk.Action pin width remains 40 lowercase hex, including the five
Reasonstrings inallow.go. Widening it is new behavior.Description
Correct the
finding.Kindcomment so it nameskindActionas blocking.Related Issue
No tracked issue. The commit scope is
NOCOMMENTSas requested. No id was invented.Type of Change
Quality Checklist
<type>(<ISSUE-ID>): ...with scopeNOCOMMENTSmake checkpasses ond4c4e299c61bf89871a0f63b7bff7d8b4644dee1Test Plan
go test ./scripts/workflowimagepins/ -count=1exited 0make checkexited 0 on that same SHA, which is still HEADcmd coverage: 83.96%
internal coverage: 86.12%
internal: efficacy=100.00% coverage=92.96% killed=3406 lived=0 not_covered=258
cmd: efficacy=100.00% coverage=94.10% killed=1739 lived=0 not_covered=109
Base is
915b5ba0. Fetchedorigin/mainafter the check. It had not moved.Breaking Changes
Additional Context
Comment Sicko ran as a read-only review. The host did have that subagent type, so no substitute reviewer was required.
/whywas not spawned as a seven-source investigation. No comment said "do not remove", and each keep was checked against the current function, the waiver line, or.golangci.yml.