Skip to content

polish(NOCOMMENTS): name kindAction as blocking on finding.Kind - #440

Merged
scullxbones merged 1 commit into
mainfrom
cursor/nocomments-kind-blocking-f669
Nov 6, 2026
Merged

scullxbones merged 1 commit into
mainfrom
cursor/nocomments-kind-blocking-f669

Conversation

@scullxbones

Copy link
Copy Markdown
Owner

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 915b5ba0 on 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.Kind said only kindRef blocks. kindAction has 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.md has 0 source comments. ci(ACTIONS): fail closed on movable GitHub Action refs #438 edited the check-bash32 table cell. Markdown headings and fenced shell lines were skipped.
  • scripts/check-workflow-image-pins.sh has 1 group, 7 lines. Kept.
  • scripts/repoguard/allow.go has 10 groups, 26 lines. Kept.
  • scripts/workflowimagepins/actionpins_test.go has 0 comments. The # v0.0.1 at the pin test is a YAML payload inside a Go string.
  • scripts/workflowimagepins/main.go has 12 groups, 34 lines. 11 kept. 1 corrected.
  • 18 files under scripts/testdata/workflow-image-pins/ have 0 comments. That is both pinned and unpinned action YAML twins, both reusable-workflow twins, and both composite action.yml twins.

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.go field finding.Kind now says kindEngine is advisory and kindRef and kindAction block. run already routes kindAction to the blocking action list. The object-id waivers at allow.go lines 40, 840, and 842 do not move.

MUST KILL flags raised were 5. Accepted were 0.

Kept comments and rejected flags

main.go package comment on line 1 stays. revive package-comments is enabled, and Comment Sicko skipped it for that reason.

main.go lines 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.go line 36 stays. The regex lists the same engine names as ENGINES in scripts/ci-path-shadow-engines.sh. Unifying the two lists would edit that script, which is outside the fence.

main.go line 39 stays. It is the GitHub Actions pin width, 40 lowercase hex, which repoguard waives at allow.go because 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. Changing actionSHA to accept 64 hex would change behavior and the actionpins_test.go "64 character sha" case. That work is out of this pass. I did not re-open those two upstream PRs.

main.go lines 53 to 54 stay. The exempt list is scripts that must name engines, and the function shape exists because gochecknoglobals is on.

main.go line 62 stays. scripts/test_check_jobs.sh is exempt because that test asserts the engine-token policy.

main.go line 86 stays. -advisory is 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.go line 295 stays. The scripts walk has no extension filter and a short exempt list.

main.go line 566 stays. It records Dockerfile FROM grammar this repo does not own. Comment Sicko marked this kill as unsure.

main.go line 597 stays. scratch and a prior stage name are Docker rules, and the code skips them.

main.go lines 785 to 787 stay. staysInside falls back to EvalSymlinks of the checkout root after withinRoot fails. Callers in checkLocalActionUse pass an EvalSymlinks path. Renaming the function is a shape change, so that MUST KILL is rejected.

main.go lines 822 to 823 stay. externalPinIssue returns an empty string when the ref is pinned. Replacing that with an error return would edit every caller and the line-pinned waivers. That MUST KILL is rejected.

allow.go lines 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 because strings.Contains(hit, "") is true. validateAllowEntries and allowed both reject that, and repoguard_test.go plants the empty needle.

allow.go lines 34 to 35 stay. There is no git-hermetic-name waiver because git_internal_test builds the binary name without a bare "git" literal.

allow.go lines 85 to 87 stay. The waived 64-hex schema patterns are content digests, not git object ids. The note says sha256: patterns are not hits today, so waiving them would fail the unused-entry audit.

allow.go lines 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 because idx.unused runs only when isArmatureRoot is 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.go lines 236 to 237 stay. allowedSite matches without marking the entry used. Production scans use allowIndex.allowed. Moving the helpers into repoguard_test.go edits a file outside the fence, so that MUST KILL stays open.

allow.go lines 254 to 257 stay. gitNetAllow matches file, function, site, and reason. A file-wide comment does not match. The parser lives in git_network.go, outside this fence.

scripts/check-workflow-image-pins.sh lines 2 to 8 stay. They are the operator-facing statement of the same blocking and advisory split.

Open, not in this PR

engineToken duplicates ENGINES. A shared list or parity test touches scripts/ci-path-shadow-engines.sh.

-advisory is a dead flag inside this repo. Deleting it changes the exit code for an external caller.

staysInside and withinRoot are easy to confuse. The comment is the current record of the symlink fallback.

externalPinIssue uses an empty string for success.

allowedSite and its three wrappers are called from tests and live in production code.

The package banner says .git, testdata, vendor, and node_modules are not production roots. The Dockerfile walk skips those four names. The scripts walk skips only testdata. 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 Reason strings in allow.go. Widening it is new behavior.

Description

Correct the finding.Kind comment so it names kindAction as blocking.

Related Issue

No tracked issue. The commit scope is NOCOMMENTS as requested. No id was invented.

Type of Change

  • Documentation update

Quality Checklist

  • Commit messages follow <type>(<ISSUE-ID>): ... with scope NOCOMMENTS
  • No new tests. The comment does not change a result a test can observe.
  • TDD does not apply. There is no behavior change to fail first.
  • The comment is the documentation change.
  • make check passes on d4c4e299c61bf89871a0f63b7bff7d8b4644dee1

Test Plan

  • go test ./scripts/workflowimagepins/ -count=1 exited 0
  • make check exited 0 on that same SHA, which is still HEAD

cmd 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. Fetched origin/main after the check. It had not moved.

Breaking Changes

  • This PR introduces 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. /why was 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.

Open in Web Open in Cursor 

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>
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-06T12:15:22.635016Z
We couldn’t complete this review. Comment @codex review to try again.
d4c4e29 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@scullxbones
scullxbones merged commit 1ccb1a1 into main Nov 6, 2026
12 checks passed
@scullxbones
scullxbones deleted the cursor/nocomments-kind-blocking-f669 branch November 6, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants