Repository navigation
chore(comments): remove comments at the necessary posture in gaming, github, go-format - #18291
Conversation
…github, go-format ADR 0110 bulk comment sweep, batch B013. Every edited file is COMMENT-ONLY by the remove-comments change-shape check. The formal-verification scripts in the batch held no deletable comments. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43yt8jZqGJ5kzhzjRAX
Codex Review Summary: ✅ CompletedThis 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. |
|
claude-security-review reviewed Security review: PR #18291 (head 69c856b)I found no security issues. I read every hunk of all 9 changed files in the full diff. Every change either deletes a comment line or strips a trailing
Instruction surfaces: the diff touches no Trust controls: no changed file matches a PR context: the description describes a comment-only sweep and has no embedded directives. The diff matches that description. critical-findings: 0 |
|
claude-review reviewed Code review: PR #18291, comment sweep batch B013 (gaming, github, go-format) No findings. I read every hunk of all 9 changed files. Each one only deletes a comment line or a trailing comment. No code token, string, assertion or guard changed.
Not verified by me: the PR's claim that There is no closing issue (the PR cites ADR 0110, batch B013), so I checked no acceptance criteria. The PR context has no embedded instructions aimed at this lane. No plugin manifest changed. This is the first review of the PR, so it covers all findings, not just blocking ones. Loosened checks would be marked: fail (default: the prompt had no Verifier dropped 0 of 0 candidates. |
…B013 Deletes the prose lines left behind when sweep batches B010 (#18296) and B013 (#18291) removed only part of a comment run, in check-emission-conformance.mjs and Invoke-Dlss5Mod.ps1. Exit lines and directives stay. The jq stdin note in lane-stop-gate-lib.sh stays: it records an outside constraint, a native Windows jq cannot open an MSYS-style path. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RMa43yt8jZqGJ5kzhzjRAX
No related issue: ADR 0110 bulk comment sweep, batch B013
Summary
Removes comments at the
necessaryposture (docs/conventions/code-tidying.yaml) from batch B013's files in the formal-verification, gaming, github and go-format plugins, with/code-tidying:remove-comments necessary. Every edited file reads COMMENT-ONLY from the skill'schange-shape.shcheck against the base. No behavior change.spellchecker:disable-linepragmas and three outside-party notes kept by the keep list, so none changed.plugins/go-format/hooks/go-format.sh,plugins/go-format/git-hooks/format.sh,plugins/go-format/git-hooks/adapters.sh,plugins/go-format/git-hooks/lefthook-remote.yml.Fix
Removed-comment narrative (this body is the squash commit message, so it is the landing place):
plugins/gaming/skills/dlss5/scripts/Invoke-Dlss5Mod.ps1(244 lines removed, 26 kept): the header on purpose and state under-DataDir; per-function and per-block rationale for install, remove, snapshot and status (manifest andpending.jsonsemantics, the drift-token design, refresh and reset gating, the anti-cheat acknowledgement binding, preset layering and the ini allow-list, launcher discovery, PE-header parsing offsets and spec references, DX12 and bitness evidence, the hotkey collision rule, gate ordering, the 2000-file threshold); the "Mirrors reference/*.md; change both together" notes on$AntiCheatTokens,$UpscalerDlls,$PresetKeysand the byproduct table; the re-hash cost, largest-exe and capped-depth heuristic notes; selftest fixture explanations; trailing notes on$script:FaultAfter,$Reg,$Drives, the drive-root stop,$gapsand the cache rebuild. Kept:#Requires, the spellchecker pragmas, the#4424and#4445labels on their regression fixtures, and 2-line outside-party facts (NVIDIA, Steam, Windows, EA app, Xbox.GamingRoot, pwsh and .NET behavior).plugins/gaming/skills/dlss5/scripts/Invoke-Dlss5Mod.test.sh(4): the header saying it runs the mod's selftest forrun-plugin-tests.sh, that the selftest builds its own fixtures, and that non-Windows or no-pwsh hosts skip.plugins/github/github.test.sh(18): the header listing the invariants (zero vendored knowledge, agnostic conformance, the area-coverage oracle, non-hollow recipes); the bash 4 /mapfileskip note; the scope-token note; the note thatscripts/validate-plugin-contracts.mjsmatches the agnosticism grep literally (it still does, by regex on the code line); the canonical-area fixture note.plugins/go-format/git-hooks/format.test.sh(3): the "PATH with tools the script runs" note and the parameter-shape trailers onexpect()andcheck(). Kept: the goimports source URL.plugins/go-format/hooks/go-format-end-of-turn.test.sh(14): the contract header (opt-in Stop row, exit 2 with the line on stderr,stop_hook_active, kill switch, spawn budget), thehooks.jsonargs note, the finding-line wording note and the missing-goimports silent-pass note.plugins/go-format/hooks/go-format.test.sh(45): the black-box contract header, the git isolation note, section dividers, thehooks.jsonmatcher, SessionStart probe and goimports-resolve notes, helper signature notes, per-case labels and the spawn-budget note.Verification
change-shape.sh <base> <head>on all 6 touched files: COMMENT-ONLY (PowerShell through pwsh 7.6.10, bash through tree-sitter).code-tidying-remote-comment-lintand pre-push content checks passed.Related
necessaryposture).Follow-ups
plugins/gaming/skills/dlss5/scripts/Invoke-Dlss5Mod.ps1snapshot hashing re-hashes the whole game tree on every snapshot, status and remove; gate on Length plus LastWriteTime and hash only on a difference.plugins/gaming/skills/dlss5/scripts/Invoke-Dlss5Mod.ps1anti-cheat scan is a name match with capped depth; server-side or launcher-delivered anti-cheat leaves nothing on disk to find.plugins/gaming/skills/dlss5/scripts/Invoke-Dlss5Mod.ps1derives the game name from the folder, skipping generic exe-dir leaves; a wrong guess changes the acknowledgement text.plugins/gaming/skills/dlss5/scripts/Invoke-Dlss5Mod.ps1capture takes the largest exe as the game's.plugins/gaming/skills/dlss5/scripts/Invoke-Dlss5Mod.ps12000-file threshold is a judgment, not measured; name it ($MaxGameFiles).plugins/github/github.test.shagnosticism grep is matched by literal regex inscripts/validate-plugin-contracts.mjs; give both one source (scripts/org-agnosticism-tokens.txt) or a named function.Reshape flags (moves that would make a deleted comment unnecessary): a test diffing the
Invoke-Dlss5Mod.ps1tables against theirreference/*.mddocs; a named regex for the strict ini value pattern; selftest-seam names for$script:FaultAfter,$script:Reg,$script:Drives; a named cap for the hash and scan depth; a named 2000 constant; themapfilereason in thegithub.test.shSKIP text; assertion labels ingo-format.test.shthat state the PostToolBatch matcher rule and name the harness-ops owner test.🤖 Generated with Claude Code
https://claude.ai/code/session_01RMa43yt8jZqGJ5kzhzjRAX