From 3bad0768846721f7efecf584cde9ed0fb2142159 Mon Sep 17 00:00:00 2001 From: Caleb <46907094+rotationalphysics495@users.noreply.github.com> Date: Mon, 26 Jan 2026 13:51:30 -0600 Subject: [PATCH] fix(epic-execute): make --skip-done case-insensitive for status matching The script marks stories with lowercase "done" but was checking for capitalized "Done", causing --skip-done to never match completed stories. Co-Authored-By: Claude Opus 4.5 --- scripts/epic-execute.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/epic-execute.sh b/scripts/epic-execute.sh index 537c0300f..018c052c5 100755 --- a/scripts/epic-execute.sh +++ b/scripts/epic-execute.sh @@ -1819,9 +1819,9 @@ for story_file in "${STORIES[@]}"; do fi fi - # --skip-done: Skip stories with Status: Done + # --skip-done: Skip stories with Status: done (case-insensitive) if [ "$SKIP_DONE" = true ]; then - if grep -q "^Status:.*Done" "$story_file" 2>/dev/null; then + if grep -qi "^Status:.*done" "$story_file" 2>/dev/null; then log_warn "Skipping $story_id (Status: Done)" ((SKIPPED++)) update_story_metrics "skipped"