Repository navigation
Remove the Inert SC2016 Directives in configure.sh and Correct the shell-codestyle Claim - #2703
Conversation
…ell-codestyle Claim Strip every `# shellcheck disable=SC2016` from a copy of `repo-config/configure.sh` and shellcheck flags only the lines behind 13 of its 18 directives. The other five sat above a single-quoted program passed straight to `jq`, which shellcheck already exempts, or above a double-quoted one, where SC2016 never fires. A directive that suppresses nothing would silently swallow a real SC2016 added later in its place, so those five are removed. The file stays shellcheck clean. The `shell-codestyle` "Rules" sentence citing the file now states the property every remaining directive shares: shellcheck flags a single-quoted `jq` program or GraphQL query that must stay unexpanded. Generated skill copies rebuilt with `scripts/build_dist.py`. Closes on promotion: #1156 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reworded worked-example sentence ran past the 25-word sentence limit, so it is split in two with no change to what it claims. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2703 +/- ##
==========================================
Coverage ? 59.67%
==========================================
Files ? 16
Lines ? 8334
Branches ? 0
==========================================
Hits ? 4973
Misses ? 3361
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟢 Approval recommended
All reviewed changes have no unresolved findings.
0 open findings
What changed in this PR
Removes inert SC2016 directives from configure.sh and aligns shell-codestyle guidance with the remaining valid exceptions.
Changes:
- Removes five unnecessary directives.
- Corrects the SC2016 documentation.
- Regenerates skill distributions and source digest.
| File | Summary |
|---|---|
repo-config/configure.sh |
Removes inert shellcheck directives. |
.github/skills/shell-codestyle/SKILL.md |
Regenerated Copilot skill guidance. |
.claude-plugin/fleet-skills/skills/shell-codestyle/SKILL.md |
Regenerated Claude skill guidance. |
.claude-plugin/fleet-skills/.source-digests/shell-codestyle |
Updates source digest. |
.agents/skills/shell-codestyle/SKILL.md |
Updates canonical guidance. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
… Corrections to Main (#2740) ## Summary Promotes 20 changes from `develop` to `main`: - #2737: Flag a Lone Semicolon After an Explanatory Colon in the Prose Gate - #2734: Share pr_review.py wait's Liveness Readings and Open the Held Poll on Its Snapshot - #2732: Share One Bounded Backoff Loop Between pr_review.py wait's Two Polls - #2729: Document pr_review.py wait's Immediate 44 and check_nodes's Node Keys - #2727: Narrow pr_review.py wait's Exit 44 to Required Checks - #2722: Poll an Attested Head's Checks in pr_review.py wait - #2720: Name the Command That Enumerates Open Feature Pull Requests in backlog-burndown - #2718: Point the Skills Refresh Cadence at host-setup.md - #2716: Fall Back to os.defpath for PATH in Two Test Harnesses - #2714: State the Pip Form's Root-Config Type-Check Command in python-codestyle - #2712: State the Build Profile's CI Type Check as the Validator Runs It - #2709: Bring the Fleet-Map workflow-ci-contract Entry and G9 Gap Up to the Skill Description - #2707: Bring the Line-Endings Reference and a Test Docstring to the Corrected Wording - #2705: Drop the Stale Utilities driftNote From the Registry - #2703: Remove the Inert SC2016 Directives in configure.sh and Correct the shell-codestyle Claim - #2701: Report Whether the Fleet Skills Plugin Is Installed and Enabled in the Live Channel - #2699: Align the Audit Report Template Dimensions With AUDIT.md Section 4 - #2697: Harden the Source-Pinning Assertions in test_pr_review.py - #2695: Name the Off-Grammar --branch Outcome in AUDIT.md - #2693: Count Every Unresolved Review Thread in pr_review.py Closes #1396 Closes #2731 Closes #2723 Closes #2725 Closes #2724 Closes #2685 Closes #1308 Closes #2191 Closes #1862 Closes #2711 Closes #2025 Closes #1243 Closes #1237 Closes #1115 Closes #1156 Closes #1757 Closes #1593 Closes #1732 Closes #1509 Closes #1404 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Removes the five
# shellcheck disable=SC2016directives inrepo-config/configure.shthat suppress nothing, then makes theshell-codestyle"Rules" sentence citing that file true of every directive that remains.Measurement
Replacing every SC2016 directive in a copy of the file with
:(line numbers kept) and running shellcheck flags only the commands behind the remaining directives, under both 0.10.0 and the CI imagekoalaman/shellcheck:stable(0.11.0). None of the removed sites is flagged:jq, which shellcheck already exempts.\$t, where SC2016 never fires.Every remaining directive guards a single-quoted
jqprogram handed to thejqrorjq_haswrappers or held in a variable, or a single-quoted GraphQL query passed togh api graphql. Each carries its reason on the same line, and the file stays shellcheck clean.Skill
The worked-example sentence now says the disables sit only where shellcheck flags a single-quoted
jqprogram or GraphQL query that must stay unexpanded. Generated copies rebuilt withscripts/build_dist.py.Closes on promotion: #1156
🤖 Generated with Claude Code