spec-feature 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +18 -10
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -30,22 +30,30 @@ graph TD
30
30
  A --> C[feature.md]
31
31
  A --> D[core/]
32
32
  A --> E[features/]
33
+ A --> F[constitution/]
33
34
 
34
- D --> F[spec.md]
35
- D --> G[plan.md]
36
- D --> H[tasks.md]
37
- D --> I[verify.md]
38
- D --> J[hotfix.md]
35
+ D --> G[spec.md]
36
+ D --> H[plan.md]
37
+ D --> I[tasks.md]
38
+ D --> J[verify.md]
39
+ D --> K[hotfix.md]
39
40
 
40
- E --> K[user-auth/]
41
- K --> L[spec.md]
42
- K --> M[plan.md]
43
- K --> N[tasks.md]
44
- K --> O[verify-report.md]
41
+ E --> L[user-auth/]
42
+ L --> M[spec.md]
43
+ L --> N[plan.md]
44
+ L --> O[tasks.md]
45
+ L --> P[verify-report.md]
45
46
  ```
46
47
 
47
48
  **Templates** (core/) → **Features** (features/)
48
49
 
50
+ ## 🧭 Constitution
51
+
52
+ - `spec/constitution/` stores project rules and constraints for humans and AI.
53
+ - Before changes, read `spec/constitution/README.md` and all files in the folder.
54
+ - Conflict order: Constitution > feature specs > plans > tasks.
55
+ - Add or update Constitution documents when a new invariant requirement appears.
56
+
49
57
  ## 🎬 Workflow
50
58
 
51
59
  **Send these prompts to your AI assistant** (Claude, Cursor, Copilot, etc.) to create, execute, and update features.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "spec-feature",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "bin": {
5
- "spec-feature": "bin/cli.js"
5
+ "spec-feature": "./bin/cli.js"
6
6
  },
7
7
  "type": "module",
8
8
  "keywords": [