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
devlore-cli's pre-commit hook runs star lint shell, and shell-lint.sh is deleted #672
devlore-cli checks its shell scripts two ways. CI and make shell-lint run star lint shell ., while the pre-commit hook, .githooks/pre-commit, runs .github/scripts/shell-lint.sh. Two checks can disagree, and they do today: the script checks scripts without an extension, and star lint shell does not (#1206).
Solution, if known
.githooks/pre-commit calls make shell-lint in place of the script, and .github/scripts/shell-lint.sh is deleted. make shell-lint already runs $(STAR) lint shell ., its plan's step 6, done before this split.
This waits on #1206. Until star lint shell checks scripts without an extension, the swap would drop .githooks/pre-commit itself from every check. The plan, docs/plans/shell-lint-via-star.md, is rewritten to this scope when the work starts.
Outstanding questions
Does the hook run make shell-lint on every commit, or only when a shell script is staged? make shell-lint needs a built star, and the hook builds only when Go files are staged.
Evidence of completion
Before this issue closes, a comment on it shows:
.githooks/pre-commit calling make shell-lint, and .github/scripts/shell-lint.sh deleted, with nothing on develop calling it but past plans; and
a commit that the hook stops for a bad shell script.
Split, 2026-11-06
This issue held four star defects and this devlore-cli chore. The defects are now bugs under the Star epic, #1065:
Bug
Feature
Was
#1206star lint shell finds scripts by file extension only
changed the title [-]Shell lint runs on every check-in, through star[/-][+]devlore-cli's pre-commit hook runs star lint shell, and shell-lint.sh is deleted[/+]on Nov 7, 2026
Split on 2026-11-06, in the Area review of NobleFactor/noblefactor-engprod#452. This issue held four star defects and one devlore-cli chore. The defects are bugs now, under the Star epic #1065: #1206 and #1208 under star lint shell (#1077), #1207 and #1209 under star hook pre-commit (#1070). This issue keeps the chore: the pre-commit hook runs make shell-lint, and .github/scripts/shell-lint.sh is deleted. Area Engineering; it waits on #1206.
Activity
build: the shell gate follows Declare-BashScript, and discovers throu…
[-]Shell lint runs on every check-in, through star[/-][+]devlore-cli's pre-commit hook runs star lint shell, and shell-lint.sh is deleted[/+]David-Noble-at-work commentedon Nov 7, 2026
Split on 2026-11-06, in the Area review of NobleFactor/noblefactor-engprod#452. This issue held four star defects and one devlore-cli chore. The defects are bugs now, under the Star epic #1065: #1206 and #1208 under star lint shell (#1077), #1207 and #1209 under star hook pre-commit (#1070). This issue keeps the chore: the pre-commit hook runs
make shell-lint, and.github/scripts/shell-lint.shis deleted. Area Engineering; it waits on #1206.