1.1 KiB
1.1 KiB
Session Log — 2026-03-17
Summary
Fixed the /housekeeping skill aborting mid-run because info-gathering scripts (unreflected-logs, git-status-report, check-skills, validate-skill) exit with code 1 as a status signal, which the skill's !command`` syntax treated as a failure.
Decisions
- Decision: Append
|| trueto all four bang-command invocations in the housekeeping skill — Rationale: These scripts use exit 1 to signal "issues found" (not errors), and the skill is read-only/informational, so suppressing the exit code is safe.
Gotchas Discovered
- [skills] Symptom:
!command`` in SKILL.md fails when the command exits non-zero, even if the output is valid and informational — Fix: Append|| trueto bang-commands that use exit codes as status signals rather than error indicators.
Key Context
- All four scripts in
small-scripts/scripts/(git-status-report,unreflected-logs,check-skills,validate-skill) follow the same pattern: exit 0 = all clear, exit 1 = issues found. This is correct for CLI tools but incompatible with skill bang-command syntax without|| true.