create-sdd-project 0.16.3 → 0.16.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sdd-project",
3
- "version": "0.16.3",
3
+ "version": "0.16.4",
4
4
  "description": "Create a new SDD DevFlow project with AI-assisted development workflow",
5
5
  "bin": {
6
6
  "create-sdd-project": "bin/cli.js"
@@ -77,6 +77,7 @@ For each feature in the batch:
77
77
  - **Kill switch**: If `docs/project_notes/pm-stop.md` exists → stop gracefully (go to Shutdown).
78
78
  - **Lock**: If `docs/project_notes/pm-session.lock` is missing → stop (session was terminated externally).
79
79
  - **Circuit breaker**: If 3 consecutive features are `blocked` → stop and report to user.
80
+ - **Context check**: If **2+ features have been completed** in this session, STOP and tell the user to run `/compact` followed by `continue pm`. Do NOT continue to the next feature — context degradation causes skipped steps, lost constraints, and poor quality. This is mandatory, not a suggestion.
80
81
  - **Clean workspace**: Run `git status`. If dirty, commit or stash before proceeding.
81
82
 
82
83
  #### b. Start Feature
@@ -130,7 +131,7 @@ After each completed or blocked feature:
130
131
  2. If the current batch is exhausted and more eligible features remain:
131
132
  - Present the next 1-3 features to the user for complexity classification.
132
133
  - Add them to the batch in `pm-session.md`.
133
- 3. If **3+ features completed** in this session → suggest the user run `/compact` before continuing (context may be getting heavy).
134
+ 3. If **2+ features completed** in this session → STOP and tell the user to run `/compact` followed by `continue pm`. This is mandatory — do not ask, do not continue.
134
135
  4. If max session limit reached (**5 features**) → stop and report.
135
136
 
136
137
  ### Phase 4: Shutdown
@@ -190,6 +191,7 @@ Completed: 2/3 | Blocked: 1/3 | Remaining: 0
190
191
  | Guardrail | Value | Rationale |
191
192
  |-----------|-------|-----------|
192
193
  | Max features per session | 5 | Model attention degrades after many iterations |
194
+ | Mandatory compact after 2 features | STOP + `/compact` + `continue pm` | Context degradation causes skipped steps and lost constraints |
193
195
  | Consecutive failure circuit breaker | 3 | Prevent wasting resources on a systemic issue |
194
196
  | Kill switch | `pm-stop.md` or `stop pm` | User can always halt the loop |
195
197
  | Session lock | `pm-session.lock` | Prevents concurrent PM sessions |
@@ -77,6 +77,7 @@ For each feature in the batch:
77
77
  - **Kill switch**: If `docs/project_notes/pm-stop.md` exists → stop gracefully (go to Shutdown).
78
78
  - **Lock**: If `docs/project_notes/pm-session.lock` is missing → stop (session was terminated externally).
79
79
  - **Circuit breaker**: If 3 consecutive features are `blocked` → stop and report to user.
80
+ - **Context check**: If **2+ features have been completed** in this session, STOP and tell the user to run `/compact` followed by `continue pm`. Do NOT continue to the next feature — context degradation causes skipped steps, lost constraints, and poor quality. This is mandatory, not a suggestion.
80
81
  - **Clean workspace**: Run `git status`. If dirty, commit or stash before proceeding.
81
82
 
82
83
  #### b. Start Feature
@@ -130,7 +131,7 @@ After each completed or blocked feature:
130
131
  2. If the current batch is exhausted and more eligible features remain:
131
132
  - Present the next 1-3 features to the user for complexity classification.
132
133
  - Add them to the batch in `pm-session.md`.
133
- 3. If **3+ features completed** in this session → suggest the user run `/compact` before continuing (context may be getting heavy).
134
+ 3. If **2+ features completed** in this session → STOP and tell the user to run `/compact` followed by `continue pm`. This is mandatory — do not ask, do not continue.
134
135
  4. If max session limit reached (**5 features**) → stop and report.
135
136
 
136
137
  ### Phase 4: Shutdown
@@ -190,6 +191,7 @@ Completed: 2/3 | Blocked: 1/3 | Remaining: 0
190
191
  | Guardrail | Value | Rationale |
191
192
  |-----------|-------|-----------|
192
193
  | Max features per session | 5 | Model attention degrades after many iterations |
194
+ | Mandatory compact after 2 features | STOP + `/compact` + `continue pm` | Context degradation causes skipped steps and lost constraints |
193
195
  | Consecutive failure circuit breaker | 3 | Prevent wasting resources on a systemic issue |
194
196
  | Kill switch | `pm-stop.md` or `stop pm` | User can always halt the loop |
195
197
  | Session lock | `pm-session.lock` | Prevents concurrent PM sessions |