Objective
Fix the SC2295 shellcheck warning in ci-doctor workflow by adding proper quoting to the expansion inside ${..}.
Context
From static analysis discussion #17844: Actionlint reports one shellcheck:SC2295 occurrence in ci-doctor.lock.yml:305. This is a new finding (introduced since 2026-02-22) and the only non-SC1003 actionlint issue remaining. SC2295 warns about expansions inside ${..} that may need quoting to avoid word splitting.
Approach
- Open
.github/workflows/ci-doctor.md (source file — do NOT edit the .lock.yml)
- Locate the shell step around line 305 of the compiled file (search for the expansion pattern)
- The fix involves quoting the variable inside the expansion, for example:
# Before (SC2295):
echo ${variable/pattern/replacement}
# After (proper quoting):
echo "${variable/pattern/replacement}"
- Run
make recompile to regenerate ci-doctor.lock.yml
- Verify the fix:
actionlint .github/workflows/ci-doctor.lock.yml
- Run
make agent-finish before committing
Files to Modify
.github/workflows/ci-doctor.md (source — find the step that generates line ~305 in the lock file)
Acceptance Criteria
Generated by Plan Command for issue #discussion #17844