specpulse 1.2.4__py3-none-any.whl → 1.2.6__py3-none-any.whl

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.
specpulse/__init__.py CHANGED
@@ -3,7 +3,7 @@ SpecPulse: Specification-Driven Development Framework
3
3
  Built for the AI era
4
4
  """
5
5
 
6
- __version__ = "1.2.4"
6
+ __version__ = "1.2.6"
7
7
  __author__ = "SpecPulse"
8
8
  __url__ = "https://github.com/specpulse"
9
9
 
@@ -4,6 +4,7 @@ description: Decompose large specifications into microservices, APIs, and smalle
4
4
  allowed_tools:
5
5
  - Read
6
6
  - Write
7
+ - Edit
7
8
  - Bash
8
9
  - TodoWrite
9
10
  ---
@@ -12,6 +13,11 @@ allowed_tools:
12
13
 
13
14
  Decompose large specifications into smaller, manageable components with microservice boundaries, API contracts, and interface specifications.
14
15
 
16
+ ## CRITICAL: File Edit Restrictions
17
+ - **NEVER EDIT**: templates/, scripts/, commands/, .claude/, .gemini/
18
+ - **ONLY EDIT**: specs/, plans/, tasks/, memory/
19
+ - Decomposition templates are COPIED to specs/XXX-feature/decomposition/, then edited there
20
+
15
21
  ## Usage
16
22
  ```
17
23
  /sp-decompose [spec-id] [options]
@@ -88,8 +94,9 @@ When called with `/sp-decompose $ARGUMENTS`, I will:
88
94
  - Create adapter patterns for external integrations
89
95
 
90
96
  6. **Generate decomposition artifacts using templates**:
91
- - COPY templates from `templates/decomposition/` (NEVER edit the original templates)
97
+ - COPY templates from `templates/decomposition/` to `specs/XXX-feature/decomposition/`
92
98
  - Use template variables for AI processing in the COPIED files
99
+ - **IMPORTANT**: Can EDIT files in specs/decomposition/ folder, but NEVER modify templates/, scripts/, or commands/ folders
93
100
  - Create structured output in `specs/XXX-feature/decomposition/`:
94
101
  - **`microservices.md`**: From template with service boundaries
95
102
  - **`api-contracts/`**: From OpenAPI template
@@ -4,6 +4,7 @@ description: Generate or validate implementation plans using AI-optimized templa
4
4
  allowed_tools:
5
5
  - Read
6
6
  - Write
7
+ - Edit
7
8
  - Bash
8
9
  - TodoWrite
9
10
  ---
@@ -12,6 +13,11 @@ allowed_tools:
12
13
 
13
14
  Generate implementation plans from specifications following SpecPulse methodology with constitutional compliance and AI-optimized templates.
14
15
 
16
+ ## CRITICAL: File Edit Restrictions
17
+ - **NEVER EDIT**: templates/, scripts/, commands/, .claude/, .gemini/
18
+ - **ONLY EDIT**: specs/, plans/, tasks/, memory/
19
+ - Templates are COPIED to plans/ folder, then edited there
20
+
15
21
  ## Usage
16
22
  ```
17
23
  /sp-plan [action] [feature-directory]
@@ -58,7 +64,7 @@ When called with `/sp-plan $ARGUMENTS`, I will:
58
64
  - Integration-First Gate: Real services over mocks
59
65
  - Research Gate: Technology choices documented
60
66
 
61
- f. **Generate AI-optimized plan** by COPYING template (NEVER edit templates/plan.md):
67
+ f. **Generate AI-optimized plan** by COPYING template from templates/plan.md to plans/XXX-feature/:
62
68
  ```markdown
63
69
  # Implementation Plan: {{ feature_name }}
64
70
  ## Specification Reference
@@ -91,7 +97,8 @@ When called with `/sp-plan $ARGUMENTS`, I will:
91
97
  - Track optimization opportunities
92
98
 
93
99
  i. **Version management**: Check existing plan files and create next version (plan-001.md, plan-002.md, etc.)
94
- j. **Write NEW plan file** to `plans/XXX-feature/plan-XXX.md` (NEVER modify templates/plan.md)
100
+ j. **Write NEW plan file** to `plans/XXX-feature/plan-XXX.md`
101
+ k. **IMPORTANT**: Can EDIT files in plans/ folder, but NEVER modify templates/, scripts/, or commands/ folders
95
102
 
96
103
  4. **For `/sp-plan validate`:**
97
104
  a. **Show existing plan files**: List all plan-XXX.md files in current feature directory
@@ -13,6 +13,19 @@ allowed_tools:
13
13
 
14
14
  Initialize a new feature following SpecPulse methodology with constitutional compliance.
15
15
 
16
+ ## CRITICAL SECURITY NOTE
17
+ **NEVER edit files in these protected directories:**
18
+ - `templates/` - Template files (spec.md, plan.md, task.md)
19
+ - `scripts/` - Shell scripts (sp-pulse-*.sh)
20
+ - `commands/` - AI command definitions
21
+ - `.claude/` and `.gemini/` - AI configuration files
22
+
23
+ **ONLY create and edit files in:**
24
+ - `specs/` - Feature specifications
25
+ - `plans/` - Implementation plans
26
+ - `tasks/` - Task breakdowns
27
+ - `memory/` - Project context (context.md, decisions.md)
28
+
16
29
  ## Usage
17
30
  ```
18
31
  /sp-pulse <feature-name> [feature-id]
@@ -4,6 +4,7 @@ description: Create or manage feature specifications using AI-optimized template
4
4
  allowed_tools:
5
5
  - Read
6
6
  - Write
7
+ - Edit
7
8
  - Bash
8
9
  - TodoWrite
9
10
  ---
@@ -12,6 +13,11 @@ allowed_tools:
12
13
 
13
14
  Create, update, or validate feature specifications using SpecPulse methodology with AI-optimized templates.
14
15
 
16
+ ## CRITICAL: File Edit Restrictions
17
+ - **NEVER EDIT**: templates/, scripts/, commands/, .claude/, .gemini/
18
+ - **ONLY EDIT**: specs/, plans/, tasks/, memory/
19
+ - Templates are COPIED to specs/ folder, then edited there
20
+
15
21
  ## Usage
16
22
  ```
17
23
  /sp-spec [action] [description|feature-name]
@@ -37,7 +43,8 @@ When called with `/sp-spec $ARGUMENTS`, I will:
37
43
  - If no action specified: Default to `create` with full arguments as description
38
44
 
39
45
  3. **For `/sp-spec create [description]` or `/sp-spec [description]`:**
40
- - COPY template from `templates/spec.md` to create NEW file (NEVER edit the original template)
46
+ - COPY template from `templates/spec.md` to create NEW file in `specs/XXX-feature/`
47
+ - IMPORTANT: Only edit files in specs/, plans/, tasks/ folders. NEVER edit templates/, scripts/, or commands/
41
48
  - Parse the description to identify:
42
49
  - Functional requirements (Must/Should/Could/Won't have)
43
50
  - User stories with testable acceptance criteria
@@ -54,7 +61,8 @@ When called with `/sp-spec $ARGUMENTS`, I will:
54
61
  - Mark any uncertainties with `[NEEDS CLARIFICATION: specific question]`
55
62
  - Use detected feature context to determine target directory
56
63
  - **Version management**: Check existing spec files and create next version (spec-001.md, spec-002.md, etc.)
57
- - Write NEW specification to `specs/ID-feature-name/spec-XXX.md` (NEVER modify templates/spec.md)
64
+ - Write NEW specification to `specs/ID-feature-name/spec-XXX.md`
65
+ - Can EDIT files in specs/ folder, but NEVER modify templates/, scripts/, or commands/ folders
58
66
  - Run validation:
59
67
  - `bash scripts/sp-pulse-spec.sh "$FEATURE_DIR"`
60
68
 
@@ -4,6 +4,7 @@ description: Generate and manage task breakdowns using AI-optimized templates
4
4
  allowed_tools:
5
5
  - Read
6
6
  - Write
7
+ - Edit
7
8
  - Bash
8
9
  - TodoWrite
9
10
  ---
@@ -12,6 +13,11 @@ allowed_tools:
12
13
 
13
14
  Generate task breakdowns from implementation plans using SpecPulse methodology with AI-optimized templates and enhanced validation.
14
15
 
16
+ ## CRITICAL: File Edit Restrictions
17
+ - **NEVER EDIT**: templates/, scripts/, commands/, .claude/, .gemini/
18
+ - **ONLY EDIT**: specs/, plans/, tasks/, memory/
19
+ - Templates are COPIED to tasks/ folder, then edited there
20
+
15
21
  ## Usage
16
22
  ```
17
23
  /sp-task [action] [feature-directory]
@@ -54,7 +60,8 @@ When called with `/sp-task $ARGUMENTS`, I will:
54
60
 
55
61
  d. **Read implementation plan** from selected plan file
56
62
 
57
- e. **Generate AI-optimized tasks** by COPYING template (NEVER edit templates/task.md):
63
+ e. **Generate AI-optimized tasks** by COPYING template from templates/task.md to tasks/XXX-feature/:
64
+ - **IMPORTANT**: Can EDIT files in tasks/ folder, but NEVER modify templates/, scripts/, or commands/ folders
58
65
  ```markdown
59
66
  # Task List: {{ feature_name }}
60
67
  ## Metadata
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: specpulse
3
- Version: 1.2.4
3
+ Version: 1.2.6
4
4
  Summary: Specification-Driven Development Framework
5
5
  Home-page: https://github.com/specpulse
6
6
  Author: SpecPulse
@@ -296,6 +296,19 @@ Claude and Gemini use slash commands that accept arguments via `$ARGUMENTS`:
296
296
  - Results are saved in `specs/`, `plans/`, `tasks/` folders
297
297
  - Memory system tracks progress in `memory/` folder
298
298
 
299
+ **🔒 Important Security Rules:**
300
+ - **Protected Directories** (Read-Only after init):
301
+ - `templates/` - Original template files
302
+ - `scripts/` - Shell scripts
303
+ - `commands/` - AI command definitions
304
+ - `.claude/` and `.gemini/` - AI configurations
305
+ - **Editable Directories**:
306
+ - `specs/` - Feature specifications (AI creates/edits here)
307
+ - `plans/` - Implementation plans (AI creates/edits here)
308
+ - `tasks/` - Task breakdowns (AI creates/edits here)
309
+ - `memory/` - Project context and decisions
310
+ - **Workflow**: Templates are COPIED to working directories, never modified directly
311
+
299
312
  **Claude vs Gemini:**
300
313
  - **Claude**: Uses Markdown command files (`.claude/commands/*.md`) with YAML frontmatter
301
314
  - Arguments passed via `$ARGUMENTS` variable to shell scripts
@@ -1,16 +1,16 @@
1
- specpulse/__init__.py,sha256=Wg_lyMyfs8DIKGRYTrMOnTMfQiGALPkQss-5QW5V2a8,270
1
+ specpulse/__init__.py,sha256=Fz847wPXqn9-Ro8qI7O4T6OSZlNQvS49Sec-ehVNCWs,270
2
2
  specpulse/cli/__init__.py,sha256=DpX6FoRJtSNjudsmZ3mTih_RIaWyiIgxew4-f8mOmFY,70
3
3
  specpulse/cli/main.py,sha256=ixY5LgsQnax1WSc8DvPjIA289UDhpKRcfnbxWun4oiY,32873
4
4
  specpulse/core/__init__.py,sha256=VKHGdPDM38QM9yDIq05jxol4q8WFlFAeltOzYLsPuto,132
5
5
  specpulse/core/specpulse.py,sha256=glEYB-AiXN6wTKgVc3Yu0BHjUMByNBzcjMds7CA-FBo,32717
6
6
  specpulse/core/validator.py,sha256=VsXU0qD8uUbZS3a8umqKpUx__sNlVRqTA7YTek9lezQ,18669
7
7
  specpulse/resources/commands/claude/sp-continue.md,sha256=3_vikDSNRN0slNtKQGWl9dWEgkT-Q7nFpUxHKnzBCKs,5175
8
- specpulse/resources/commands/claude/sp-decompose.md,sha256=60XhinZsWnuE6ZYf2S9KbbysJiQbFRw2ivcXxaBhSFs,7702
9
- specpulse/resources/commands/claude/sp-plan.md,sha256=J8Cfbh6q9_y4WCYl9lNsXsMjY6wyc7MqePlbVZ2m1jY,7199
10
- specpulse/resources/commands/claude/sp-pulse.md,sha256=LfI32HnhqstEsZYIBAgUXpR10ME4LV2U0gyakJCHcPs,4812
11
- specpulse/resources/commands/claude/sp-spec.md,sha256=5LKGf6F0knBqs7eyso6PY_35_ZpDZiJ11mW_CtiljI8,5846
8
+ specpulse/resources/commands/claude/sp-decompose.md,sha256=REVLx6Nua4N0xPju6ArNswzK7ZD1N776XUhVzo31K0Y,8088
9
+ specpulse/resources/commands/claude/sp-plan.md,sha256=aNXdeXBfFTuXSlIWj9Ib3jFZsGxwJbcQN5iacTMSzIQ,7518
10
+ specpulse/resources/commands/claude/sp-pulse.md,sha256=K4wzaWBZ2XiNuufvDdVJ6Z18iqUQy3bW_stFrzgmmnI,5281
11
+ specpulse/resources/commands/claude/sp-spec.md,sha256=IeY6XcWeavJDjc2J6Wd4__S6epioCZDH2gdVCj8a2y8,6237
12
12
  specpulse/resources/commands/claude/sp-status.md,sha256=pUcFsYdmvAPTA1BdRjiN-AWi9I8IN4GiEErjfK4wNOU,4633
13
- specpulse/resources/commands/claude/sp-task.md,sha256=WQ2B0T3Z8qAqIti9lhbD_SAdU7EFLTmp8NApMal6GC4,9897
13
+ specpulse/resources/commands/claude/sp-task.md,sha256=Yl6-2hA5WZAQ8T5G-DJ_7jfVbHRLNqjDEuvmH_VjC98,10251
14
14
  specpulse/resources/commands/gemini/sp-continue.toml,sha256=_iyo_g9IV0-FtIpiVknKNaegmhyc3DHb41lvfpf7anU,1784
15
15
  specpulse/resources/commands/gemini/sp-decompose.toml,sha256=uQdx0tavjUGRns9yNaz9Hlbk6eCip801bi-ijH88Rj4,1495
16
16
  specpulse/resources/commands/gemini/sp-plan.toml,sha256=q-6fJNwWy9vjnDHLbuGPcIcT4NtePysZTTpx9fvUncg,2087
@@ -37,9 +37,9 @@ specpulse/resources/templates/decomposition/service-plan.md,sha256=YCAu0-jRKNQ-G
37
37
  specpulse/utils/__init__.py,sha256=VTGRDsVLl2JIXYyHB9Sidxj5acY_W-LJI2MMtY1pwb0,122
38
38
  specpulse/utils/console.py,sha256=xn4Koc1_ph61bvBTlvPOwAbqZ5ac7TZ51xTWJbwG0sc,12973
39
39
  specpulse/utils/git_utils.py,sha256=RzJBZoyWp5on1_wq2lY1bs__UJsGKSDpAUeDKFdRYlQ,6095
40
- specpulse-1.2.4.dist-info/licenses/LICENSE,sha256=ImSFezK-Phy0oTBqZipcajsJfPZT8mmg8m3jkgNdNhA,1066
41
- specpulse-1.2.4.dist-info/METADATA,sha256=tVsPHvhD3EC_JN25HB_Y8nOUcLHjVCnxmyCNn0cf8LA,18570
42
- specpulse-1.2.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
43
- specpulse-1.2.4.dist-info/entry_points.txt,sha256=GwMaCKWSCFZlJMrTNavEYrnREynIS6dM3B0ILxnaouA,83
44
- specpulse-1.2.4.dist-info/top_level.txt,sha256=pEfkFil5xe38J00OHrBrJ07xpbm6bRnGhI8B07O9KeI,10
45
- specpulse-1.2.4.dist-info/RECORD,,
40
+ specpulse-1.2.6.dist-info/licenses/LICENSE,sha256=ImSFezK-Phy0oTBqZipcajsJfPZT8mmg8m3jkgNdNhA,1066
41
+ specpulse-1.2.6.dist-info/METADATA,sha256=X6_hkbdQeaD9OrCQmfVOE2lmCUMXJcQT8BeyD-9dCT0,19172
42
+ specpulse-1.2.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
43
+ specpulse-1.2.6.dist-info/entry_points.txt,sha256=GwMaCKWSCFZlJMrTNavEYrnREynIS6dM3B0ILxnaouA,83
44
+ specpulse-1.2.6.dist-info/top_level.txt,sha256=pEfkFil5xe38J00OHrBrJ07xpbm6bRnGhI8B07O9KeI,10
45
+ specpulse-1.2.6.dist-info/RECORD,,