Skip to content

Commit d8fc808

Browse files
committed
After running pre-commit hooks... this PR is becoming too big
1 parent 64991c8 commit d8fc808

41 files changed

Lines changed: 971 additions & 926 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cursor/commands/implement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $ARGUMENTS
2626

2727
4. Execute implementation following the task plan:
2828
- **Phase-by-phase execution**: Complete each phase before moving to the next
29-
- **Respect dependencies**: Run sequential tasks in order, parallel tasks [P] can run together
29+
- **Respect dependencies**: Run sequential tasks in order, parallel tasks [P] can run together
3030
- **Follow TDD approach**: Execute test tasks before their corresponding implementation tasks
3131
- **File-based coordination**: Tasks affecting the same files must run sequentially
3232
- **Validation checkpoints**: Verify each phase completion before proceeding

.cursor/rules/specify-rules.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ Python 3.11+: Follow standard conventions
2222
- 001-as-a-first: Added Python 3.11+ + SQLModel, Mermaid, Git hooks, pre-commit framework
2323

2424
<!-- MANUAL ADDITIONS START -->
25-
<!-- MANUAL ADDITIONS END -->
25+
<!-- MANUAL ADDITIONS END -->

.specify/memory/constitution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!--
1+
<!--
22
Sync Impact Report:
33
Version change: 0.1.0 → 1.0.0 (MAJOR: Initial constitution creation)
44
Modified principles: N/A (new constitution)
@@ -99,4 +99,4 @@ This constitution supersedes all other development practices and guidelines. Ame
9999

100100
All pull requests and code reviews MUST verify compliance with constitutional principles. Complexity additions MUST be justified with clear business value and technical necessity. Use development.md and deployment.md for runtime development guidance.
101101

102-
**Version**: 1.0.0 | **Ratified**: 2024-12-19 | **Last Amended**: 2024-12-19
102+
**Version**: 1.0.0 | **Ratified**: 2024-12-19 | **Last Amended**: 2024-12-19

.specify/scripts/bash/check-prerequisites.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ OPTIONS:
5757
EXAMPLES:
5858
# Check task prerequisites (plan.md required)
5959
./check-prerequisites.sh --json
60-
60+
6161
# Check implementation prerequisites (plan.md + tasks.md required)
6262
./check-prerequisites.sh --json --require-tasks --include-tasks
63-
63+
6464
# Get feature paths only (no validation)
6565
./check-prerequisites.sh --paths-only
66-
66+
6767
EOF
6868
exit 0
6969
;;
@@ -147,20 +147,20 @@ if $JSON_MODE; then
147147
json_docs=$(printf '"%s",' "${docs[@]}")
148148
json_docs="[${json_docs%,}]"
149149
fi
150-
150+
151151
printf '{"FEATURE_DIR":"%s","AVAILABLE_DOCS":%s}\n' "$FEATURE_DIR" "$json_docs"
152152
else
153153
# Text output
154154
echo "FEATURE_DIR:$FEATURE_DIR"
155155
echo "AVAILABLE_DOCS:"
156-
156+
157157
# Show status of each potential document
158158
check_file "$RESEARCH" "research.md"
159159
check_file "$DATA_MODEL" "data-model.md"
160160
check_dir "$CONTRACTS_DIR" "contracts/"
161161
check_file "$QUICKSTART" "quickstart.md"
162-
162+
163163
if $INCLUDE_TASKS; then
164164
check_file "$TASKS" "tasks.md"
165165
fi
166-
fi
166+
fi

.specify/scripts/bash/common.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@ get_current_branch() {
1919
echo "$SPECIFY_FEATURE"
2020
return
2121
fi
22-
22+
2323
# Then check git if available
2424
if git rev-parse --abbrev-ref HEAD >/dev/null 2>&1; then
2525
git rev-parse --abbrev-ref HEAD
2626
return
2727
fi
28-
28+
2929
# For non-git repos, try to find the latest feature directory
3030
local repo_root=$(get_repo_root)
3131
local specs_dir="$repo_root/specs"
32-
32+
3333
if [[ -d "$specs_dir" ]]; then
3434
local latest_feature=""
3535
local highest=0
36-
36+
3737
for dir in "$specs_dir"/*; do
3838
if [[ -d "$dir" ]]; then
3939
local dirname=$(basename "$dir")
@@ -47,13 +47,13 @@ get_current_branch() {
4747
fi
4848
fi
4949
done
50-
50+
5151
if [[ -n "$latest_feature" ]]; then
5252
echo "$latest_feature"
5353
return
5454
fi
5555
fi
56-
56+
5757
echo "main" # Final fallback
5858
}
5959

@@ -65,19 +65,19 @@ has_git() {
6565
check_feature_branch() {
6666
local branch="$1"
6767
local has_git_repo="$2"
68-
68+
6969
# For non-git repos, we can't enforce branch naming but still provide output
7070
if [[ "$has_git_repo" != "true" ]]; then
7171
echo "[specify] Warning: Git repository not detected; skipped branch validation" >&2
7272
return 0
7373
fi
74-
74+
7575
if [[ ! "$branch" =~ ^[0-9]{3}- ]]; then
7676
echo "ERROR: Not on a feature branch. Current branch: $branch" >&2
7777
echo "Feature branches should be named like: 001-feature-name" >&2
7878
return 1
7979
fi
80-
80+
8181
return 0
8282
}
8383

@@ -87,13 +87,13 @@ get_feature_paths() {
8787
local repo_root=$(get_repo_root)
8888
local current_branch=$(get_current_branch)
8989
local has_git_repo="false"
90-
90+
9191
if has_git; then
9292
has_git_repo="true"
9393
fi
94-
94+
9595
local feature_dir=$(get_feature_dir "$repo_root" "$current_branch")
96-
96+
9797
cat <<EOF
9898
REPO_ROOT='$repo_root'
9999
CURRENT_BRANCH='$current_branch'

.specify/scripts/bash/setup-plan.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ ARGS=()
88

99
for arg in "$@"; do
1010
case "$arg" in
11-
--json)
12-
JSON_MODE=true
11+
--json)
12+
JSON_MODE=true
1313
;;
14-
--help|-h)
14+
--help|-h)
1515
echo "Usage: $0 [--json]"
1616
echo " --json Output results in JSON format"
1717
echo " --help Show this help message"
18-
exit 0
18+
exit 0
1919
;;
20-
*)
21-
ARGS+=("$arg")
20+
*)
21+
ARGS+=("$arg")
2222
;;
2323
esac
2424
done
@@ -53,7 +53,7 @@ if $JSON_MODE; then
5353
"$FEATURE_SPEC" "$IMPL_PLAN" "$FEATURE_DIR" "$CURRENT_BRANCH" "$HAS_GIT"
5454
else
5555
echo "FEATURE_SPEC: $FEATURE_SPEC"
56-
echo "IMPL_PLAN: $IMPL_PLAN"
56+
echo "IMPL_PLAN: $IMPL_PLAN"
5757
echo "SPECS_DIR: $FEATURE_DIR"
5858
echo "BRANCH: $CURRENT_BRANCH"
5959
echo "HAS_GIT: $HAS_GIT"

0 commit comments

Comments
 (0)