Skip to content

Commit c70a5ad

Browse files
committed
fix: address Spec Kit workflow review findings
1 parent bb0c551 commit c70a5ad

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

‎.specify/scripts/bash/common.sh‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -902,11 +902,12 @@ except Exception as exc:
902902
*'{CORE_TEMPLATE}'*) ;;
903903
*) echo "Error: wrap strategy missing {CORE_TEMPLATE} placeholder" >&2; return 2 ;;
904904
esac
905-
while [[ "$layer_content" == *'{CORE_TEMPLATE}'* ]]; do
906-
local before="${layer_content%%\{CORE_TEMPLATE\}*}"
907-
local after="${layer_content#*\{CORE_TEMPLATE\}}"
908-
layer_content="${before}${content}${after}"
905+
local wrapped="" rest="$layer_content"
906+
while [[ "$rest" == *'{CORE_TEMPLATE}'* ]]; do
907+
wrapped+="${rest%%\{CORE_TEMPLATE\}*}${content}"
908+
rest="${rest#*\{CORE_TEMPLATE\}}"
909909
done
910+
layer_content="${wrapped}${rest}"
910911
content="$layer_content"
911912
;;
912913
*) echo "Error: unknown strategy '$strat'" >&2; return 2 ;;

‎.specify/workflows/speckit/workflow.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ inputs:
3535
type: string
3636
default: "auto"
3737
prompt: "Integration to use (e.g. claude, copilot, gemini; 'auto' uses the project's initialized integration)"
38-
scope:
39-
type: string
40-
default: "full"
41-
enum: ["full", "backend-only", "frontend-only"]
42-
4338
steps:
4439
- id: specify
4540
command: speckit.specify

0 commit comments

Comments
 (0)