📋 Issue Description
Address the SC2086 (quote variables) and SC2155 (separate declare/assign) ShellCheck warnings that are currently suppressed globally in .shellcheckrc.
🎯 Background
From PR #43 linting infrastructure review, Claude identified this as low-priority technical debt. These warnings are currently commented out in .shellcheckrc with notes to "fix these individually".
📊 Current State
- SC2086 instances: ~51 across scripts and tests
- SC2155 instances: ~51 across scripts and tests
- Total affected files: ~28 shell scripts
🔧 Tasks
Phase 1: Enable Warnings
Phase 2: Fix Issues Systematically
Phase 3: Validate
📈 Benefits
- Improved error handling: SC2155 fixes ensure command failures aren't masked
- Better variable safety: SC2086 fixes prevent accidental globbing/word splitting
- Cleaner linting: Reduces global suppressions in favor of targeted fixes
🕒 Estimated Effort
- 2-3 hours spread across multiple sessions
- Risk: Low (quality improvements, not functional changes)
📝 Acceptance Criteria
🏷️ Labels
technical-debt
code-quality
shellcheck
low-priority
📋 Issue Description
Address the SC2086 (quote variables) and SC2155 (separate declare/assign) ShellCheck warnings that are currently suppressed globally in
.shellcheckrc.🎯 Background
From PR #43 linting infrastructure review, Claude identified this as low-priority technical debt. These warnings are currently commented out in
.shellcheckrcwith notes to "fix these individually".📊 Current State
🔧 Tasks
Phase 1: Enable Warnings
# disable=SC2086and# disable=SC2155comments from.shellcheckrcPhase 2: Fix Issues Systematically
$var→"$var"# shellcheck disable=SC2086)local var=$(command)→local var; var=$(command)Phase 3: Validate
📈 Benefits
🕒 Estimated Effort
📝 Acceptance Criteria
.shellcheckrc🏷️ Labels
technical-debtcode-qualityshellchecklow-priority