speccrew 0.5.17 → 0.5.19
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.
|
@@ -457,13 +457,13 @@ Invoke speccrew-pm-requirement-simple
|
|
|
457
457
|
|
|
458
458
|
**Flow:**
|
|
459
459
|
```
|
|
460
|
-
Step
|
|
460
|
+
Step 4a: Invoke speccrew-pm-requirement-model
|
|
461
461
|
→ Pass: iteration_path, clarification_file
|
|
462
462
|
→ Wait for: .module-design.md
|
|
463
463
|
→ Validate: .module-design.md exists + module count >= 2
|
|
464
464
|
→ IF fails → ABORT (ORCHESTRATOR rule: do NOT do module decomposition yourself)
|
|
465
465
|
|
|
466
|
-
Step
|
|
466
|
+
Step 4b: Invoke speccrew-pm-requirement-analysis
|
|
467
467
|
→ Pass: iteration_path, clarification_file, module_design_file
|
|
468
468
|
→ Wait for: Master PRD + Dispatch Plan
|
|
469
469
|
→ Validate: Master PRD exists + Dispatch Plan has modules array
|
|
@@ -471,13 +471,13 @@ Step 3b: Invoke speccrew-pm-requirement-analysis
|
|
|
471
471
|
→ IF succeeds → MANDATORY: Execute Phase 5 (Sub-PRD Worker Dispatch)
|
|
472
472
|
```
|
|
473
473
|
|
|
474
|
-
**Step
|
|
474
|
+
**Step 4a Parameters:**
|
|
475
475
|
| Parameter | Value |
|
|
476
476
|
|-----------|-------|
|
|
477
477
|
| `iteration_path` | `speccrew-workspace/iterations/{iteration}` |
|
|
478
478
|
| `clarification_file` | `{iteration_path}/01.product-requirement/.clarification-summary.md` |
|
|
479
479
|
|
|
480
|
-
**Step
|
|
480
|
+
**Step 4b Parameters:**
|
|
481
481
|
| Parameter | Value |
|
|
482
482
|
|-----------|-------|
|
|
483
483
|
| `iteration_path` | `speccrew-workspace/iterations/{iteration}` |
|
|
@@ -137,6 +137,7 @@ This agent MUST execute tasks continuously without unnecessary interruptions.
|
|
|
137
137
|
3. **Missing Intermediate Artifacts**: Feature Spec not found, API Contract missing, or framework-evaluation.md not generated → STOP.
|
|
138
138
|
4. **User Rejection**: User rejects framework evaluation, DESIGN-OVERVIEW, or Joint Confirmation → STOP, ask for specific revision requirements.
|
|
139
139
|
5. **Worker Batch Failure**: If >50% workers in a batch fail → STOP entire batch, report to user with failure details.
|
|
140
|
+
6. **Missing Techs Knowledge Base**: `techs-manifest.json` not found in Phase 2 → STOP. Techs knowledge base must be initialized before system design can proceed.
|
|
140
141
|
|
|
141
142
|
# Workflow
|
|
142
143
|
|
|
@@ -379,6 +380,25 @@ After user confirmation, load knowledge in the following order:
|
|
|
379
380
|
|
|
380
381
|
### 2.2 Load Techs Knowledge Base
|
|
381
382
|
|
|
383
|
+
**Gate Check — Techs Knowledge Base Availability:**
|
|
384
|
+
|
|
385
|
+
1. Check if `speccrew-workspace/knowledges/techs/techs-manifest.json` exists
|
|
386
|
+
2. **IF NOT EXISTS** → STOP and report to user:
|
|
387
|
+
```
|
|
388
|
+
❌ TECHS KNOWLEDGE BASE NOT FOUND
|
|
389
|
+
|
|
390
|
+
The technology knowledge base has not been initialized.
|
|
391
|
+
Required file missing: knowledges/techs/techs-manifest.json
|
|
392
|
+
|
|
393
|
+
Please initialize the techs knowledge base first by asking the Team Leader:
|
|
394
|
+
"Initialize technology knowledge base" or "初始化技术知识库"
|
|
395
|
+
|
|
396
|
+
This is required for system design to understand your project's technology stack,
|
|
397
|
+
conventions, and architecture patterns.
|
|
398
|
+
```
|
|
399
|
+
→ END workflow (do not proceed to Phase 3)
|
|
400
|
+
3. **IF EXISTS** → Continue loading techs knowledge as below
|
|
401
|
+
|
|
382
402
|
1. Read `speccrew-workspace/knowledges/techs/techs-manifest.json` to discover platforms
|
|
383
403
|
2. For each platform in manifest, load key techs knowledge:
|
|
384
404
|
- `knowledges/techs/{platform_id}/tech-stack.md`
|
|
@@ -161,6 +161,7 @@ This agent MUST execute tasks continuously without unnecessary interruptions.
|
|
|
161
161
|
6. **Batch Failure Threshold**: If >50% workers in a batch fail → STOP entire batch, report to user with failure details.
|
|
162
162
|
7. **Code Quality Deadlock**: If review identifies unfixable issues after 3 re-dispatch attempts → STOP and report as technical debt.
|
|
163
163
|
8. **Cross-platform Integration Failure**: Critical API/data inconsistencies detected in Phase 5 that block downstream testing → STOP and report integration risks.
|
|
164
|
+
9. **Missing Techs Knowledge Base**: `techs-manifest.json` not found in Step 2 → STOP. Techs knowledge base must be initialized before development can proceed.
|
|
164
165
|
|
|
165
166
|
## TIMESTAMP INTEGRITY
|
|
166
167
|
|
|
@@ -338,6 +339,25 @@ For each platform_id identified:
|
|
|
338
339
|
|
|
339
340
|
## Step 2: Load Techs Knowledge
|
|
340
341
|
|
|
342
|
+
**Gate Check — Techs Knowledge Base Availability:**
|
|
343
|
+
|
|
344
|
+
1. Check if `speccrew-workspace/knowledges/techs/techs-manifest.json` exists
|
|
345
|
+
2. **IF NOT EXISTS** → STOP and report to user:
|
|
346
|
+
```
|
|
347
|
+
❌ TECHS KNOWLEDGE BASE NOT FOUND
|
|
348
|
+
|
|
349
|
+
The technology knowledge base has not been initialized.
|
|
350
|
+
Required file missing: knowledges/techs/techs-manifest.json
|
|
351
|
+
|
|
352
|
+
Please initialize the techs knowledge base first by asking the Team Leader:
|
|
353
|
+
"Initialize technology knowledge base" or "初始化技术知识库"
|
|
354
|
+
|
|
355
|
+
This is required for development to understand your project's technology stack,
|
|
356
|
+
coding conventions, and architecture patterns.
|
|
357
|
+
```
|
|
358
|
+
→ END workflow (do not proceed to Step 3)
|
|
359
|
+
3. **IF EXISTS** → Continue loading techs knowledge as below
|
|
360
|
+
|
|
341
361
|
Load development-focused techs knowledge following the Developer section of agent-knowledge-map:
|
|
342
362
|
|
|
343
363
|
### 2.1 Common Knowledge (All Platforms)
|