Skip to content

Commit a9a6893

Browse files
authored
Merge pull request #915 from opsmill/fix/move-specs-to-dev-symlink
move specs/ to dev/specs/
2 parents 5554787 + 55788b2 commit a9a6893

12 files changed

Lines changed: 11 additions & 11 deletions

File tree

.specify/scripts/bash/common.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ get_current_branch() {
2828

2929
# For non-git repos, try to find the latest feature directory
3030
local repo_root=$(get_repo_root)
31-
local specs_dir="$repo_root/specs"
31+
local specs_dir="$repo_root/dev/specs"
3232

3333
if [[ -d "$specs_dir" ]]; then
3434
local latest_feature=""
@@ -81,14 +81,14 @@ check_feature_branch() {
8181
return 0
8282
}
8383

84-
get_feature_dir() { echo "$1/specs/$2"; }
84+
get_feature_dir() { echo "$1/dev/specs/$2"; }
8585

8686
# Find feature directory by numeric prefix instead of exact branch match
8787
# This allows multiple branches to work on the same spec (e.g., 004-fix-bug, 004-add-feature)
8888
find_feature_dir_by_prefix() {
8989
local repo_root="$1"
9090
local branch_name="$2"
91-
local specs_dir="$repo_root/specs"
91+
local specs_dir="$repo_root/dev/specs"
9292

9393
# Extract numeric prefix from branch (e.g., "004" from "004-whatever")
9494
if [[ ! "$branch_name" =~ ^([0-9]{3})- ]]; then
@@ -99,7 +99,7 @@ find_feature_dir_by_prefix() {
9999

100100
local prefix="${BASH_REMATCH[1]}"
101101

102-
# Search for directories in specs/ that start with this prefix
102+
# Search for directories in dev/specs/ that start with this prefix
103103
local matches=()
104104
if [[ -d "$specs_dir" ]]; then
105105
for dir in "$specs_dir"/"$prefix"-*; do

.specify/templates/plan-template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Implementation Plan: [FEATURE]
22

33
**Branch**: `[###-feature-name]` | **Date**: [DATE] | **Spec**: [link]
4-
**Input**: Feature specification from `/specs/[###-feature-name]/spec.md`
4+
**Input**: Feature specification from `/dev/specs/[###-feature-name]/spec.md`
55

66
**Note**: This template is filled in by the `/speckit.plan` command. See `.specify/templates/commands/plan.md` for the execution workflow.
77

@@ -38,7 +38,7 @@
3838
### Documentation (this feature)
3939

4040
```text
41-
specs/[###-feature]/
41+
dev/specs/[###-feature]/
4242
├── plan.md # This file (/speckit.plan command output)
4343
├── research.md # Phase 0 output (/speckit.plan command)
4444
├── data-model.md # Phase 1 output (/speckit.plan command)

.specify/templates/tasks-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Task list template for feature implementation"
55

66
# Tasks: [FEATURE NAME]
77

8-
**Input**: Design documents from `/specs/[###-feature-name]/`
8+
**Input**: Design documents from `/dev/specs/[###-feature-name]/`
99
**Prerequisites**: plan.md (required), spec.md (required for user stories), research.md, data-model.md, contracts/
1010

1111
**Tests**: The examples below include test tasks. Tests are OPTIONAL - only include them if explicitly requested in the feature specification.

dev/commands/speckit.specify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Given that feature description, do this:
4747
b. Find the highest feature number across all sources for the short-name:
4848
- Remote branches: `git ls-remote --heads origin | grep -E 'refs/heads/[0-9]+-<short-name>$'`
4949
- Local branches: `git branch | grep -E '^[* ]*[0-9]+-<short-name>$'`
50-
- Specs directories: Check for directories matching `specs/[0-9]+-<short-name>`
50+
- Specs directories: Check for directories matching `dev/specs/[0-9]+-<short-name>`
5151

5252
c. Determine the next available number:
5353
- Extract all numbers from all three sources
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Implementation Plan: End-User CLI (`infrahubctl` CRUD commands)
22

33
**Branch**: `001-end-user-cli` | **Date**: 2026-03-28 | **Updated**: 2026-04-02 | **Spec**: [spec.md](spec.md)
4-
**Input**: Feature specification from `specs/001-end-user-cli/spec.md`
4+
**Input**: Feature specification from `dev/specs/001-end-user-cli/spec.md`
55

66
## Summary
77

@@ -42,7 +42,7 @@ No violations. No complexity tracking needed.
4242
### Documentation (this feature)
4343

4444
```text
45-
specs/001-end-user-cli/
45+
dev/specs/001-end-user-cli/
4646
├── plan.md # This file
4747
├── spec.md # Feature specification
4848
├── research.md # Phase 0 research findings

0 commit comments

Comments
 (0)