You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: triage ShellCheck findings in upstream Speckit scaffold scripts #128
MegaLinter's ShellCheck audit reports failures in vendored Speckit scaffold scripts under .specify/scripts/bash/. These findings block the Standardized CI / Run linters check and release preflight.
The scripts are upstream-managed scaffolding rather than project-owned runtime code, so changes need to preserve compatibility with the upstream template.
Goal
Classify the ShellCheck findings and choose the least invasive remediation: upstream fixes where practical, or a precise documented exclusion when the vendored scripts should not be modified locally.
Reported Findings
common.sh: SC2155, SC2221, SC2222
check-prerequisites.sh: SC1091
create-new-feature.sh: SC2155
setup-plan.sh: SC1091, SC2155
setup-tasks.sh: SC1091, SC2155
update-agent-context.sh: SC1091, SC2155
Acceptance Criteria
Each reported finding is classified as a defect, a false positive, or an accepted upstream limitation.
Project-owned scripts are fixed where appropriate.
Any exclusion applies only to the vendored Speckit path and does not suppress ShellCheck elsewhere.
Any exclusion documents why local changes are unsafe or unsuitable.
MegaLinter passes without weakening unrelated CI checks.
The release preflight can proceed with the linter check passing.
The reported ShellCheck findings are a reproducible CI and release-preflight blocker, so this has been classified as a bug.
The remediation should prefer behavior-preserving, upstream-compatible fixes in the vendored Speckit scripts. If a local change is unsafe, any exception must be limited to .specify/scripts/bash/, documented, and must not suppress ShellCheck checks elsewhere.
This issue is appropriately scoped as the ShellCheck portion split from #123.
This triage was performed by the Divisor review panel.
Activity
yvonnedevlinrh commentedon Oct 7, 2026
The reported ShellCheck findings are a reproducible CI and release-preflight blocker, so this has been classified as a bug.
The remediation should prefer behavior-preserving, upstream-compatible fixes in the vendored Speckit scripts. If a local change is unsafe, any exception must be limited to
.specify/scripts/bash/, documented, and must not suppress ShellCheck checks elsewhere.This issue is appropriately scoped as the ShellCheck portion split from #123.
This triage was performed by the Divisor review panel.