**Where it looks for a plan** > setopt +o nomatch 2>/dev/null || true BRANCH=$(git branch --show-current 2>/dev/null | tr '/' '-') REPO=$(basename "$(git rev-parse --show-toplevel 2>/dev/null)") for PLAN_DIR in "$HOME/.claude/plans" "$HOME/.codex/plans" ".gstack/plans"; do [ -d "$PLAN_DIR" ] || continue PLAN=$(ls -t "$PLAN_DIR"/*.md 2>/dev/null | xargs grep -l "$BRANCH" 2>/dev/null | head -1) [ -z "$PLAN" ] && PLAN=$(ls -t "$PLAN_DIR"/*.md 2>/dev/null | xargs grep -l "$REPO" 2>/dev/null | head -1) [ -z "$PLAN" ] && PLAN=$(find "$PLAN_DIR" -name '*.md' -mmin -1440 -maxdepth 1 2>/dev/null | xargs ls -t 2>/dev/null | head -1) [ -n "$PLAN" ] && break done [ -n "$PLAN" ] && echo "PLAN_FILE: $PLAN" || echo "NO_PLAN_FILE" > NO_PLAN_FILE ** Where Plans were created" ~/.gstack/projects/{PROJECT}
Activity
fix: add ~/.gstack/projects/ to plan file search path
fix: 6 critical fixes + community PR guardrails (v0.13.2.0) (#602)
fix: 6 critical fixes + community PR guardrails (v0.13.2.0) (garrytan…
fix: add ~/.gstack/projects/ to plan file search path
fix: 6 critical fixes + community PR guardrails (v0.13.2.0) (garrytan…