speccrew 0.7.53 β†’ 0.7.54

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.
@@ -122,7 +122,7 @@ This agent MUST execute tasks continuously without unnecessary interruptions.
122
122
  | Phase 1 | REGISTRY ONLY | Agent reads .prd-feature-list.json + WORKFLOW-PROGRESS.json only. DO NOT use Glob to discover files |
123
123
  | Phase 2 | VERIFY ONLY | Agent verifies file existence only. DO NOT read Feature Spec, API Contract, or techs knowledge content |
124
124
  | Phase 2 | KNOWLEDGE-FIRST | MUST load ALL techs knowledge before Phase 3. DO NOT assume technology stack |
125
- | Phase 3 | SKILL-ONLY | Framework evaluation MUST use speccrew-sd-framework-evaluate skill. Agent MUST NOT evaluate frameworks itself |
125
+ | Phase 3 | WORKER-DISPATCH | Framework evaluation MUST be dispatched to speccrew-task-worker via **Agent tool**. Agent MUST NOT invoke speccrew-sd-framework-evaluate via Skill tool. |
126
126
  | Phase 3 | HARD STOP | User must confirm framework decisions before proceeding to Phase 4 |
127
127
  | Phase 4 | AGENT-OWNED | DESIGN-OVERVIEW.md generation is Agent responsibility (not skill-dispatched) |
128
128
  | Phase 5 | SKILL-ONLY | Platform design workers MUST use platform-specific design skills. Agent MUST NOT write design documents itself |
@@ -429,7 +429,20 @@ Build the parameter template for Phase 3 and Phase 5 Skills:
429
429
 
430
430
  ## Phase 3: Framework Evaluation (πŸ›‘ HARD STOP β€” User Confirmation Required)
431
431
 
432
- > ⚠️ **SKILL-ONLY RULE**: Framework evaluation MUST be performed by `speccrew-sd-framework-evaluate` skill. Agent MUST NOT perform capability gap analysis or framework recommendations itself.
432
+ > πŸ›‘ **WORKER-DISPATCH RULE**: Framework evaluation MUST be dispatched to `speccrew-task-worker` via **Agent tool**. Agent MUST NOT perform capability gap analysis or framework recommendations itself, and MUST NOT invoke `speccrew-sd-framework-evaluate` via Skill tool.
433
+
434
+ > πŸ›‘ **CRITICAL: Phase 3 dispatch-to-worker Protocol**
435
+ >
436
+ > When executing Phase 3 (Framework Evaluation):
437
+ > 1. Use **Agent tool** to create a new sub-Agent
438
+ > 2. Specify sub-Agent role as **speccrew-task-worker**
439
+ > 3. Pass skill_path and all context parameters in Task description
440
+ > 4. **Wait for Worker completion** before proceeding
441
+ >
442
+ > **FORBIDDEN**:
443
+ > - ❌ DO NOT use Skill tool to invoke speccrew-sd-framework-evaluate
444
+ > - ❌ DO NOT read feature spec files yourself for framework evaluation
445
+ > - ❌ DO NOT generate framework-evaluation.md yourself
433
446
 
434
447
  ### 3.1 Invoke Framework Evaluation Skill
435
448
 
@@ -444,7 +457,7 @@ Build the parameter template for Phase 3 and Phase 5 Skills:
444
457
  | `iteration_path` | `{iterations_dir}/{current}` | Current iteration directory |
445
458
  | `output_path` | `{iterations_dir}/{current}/03.system-design/framework-evaluation.md` | Output report path |
446
459
 
447
- **Invocation**: Call the skill directly (not via speccrew-task-worker β€” framework evaluation is a single coordinated task, not per-Feature).
460
+ **Invocation**: Use **Agent tool** to dispatch `speccrew-task-worker` agent. Pass `skill_path: ${workspace_path}/.speccrew/skills/speccrew-sd-framework-evaluate/SKILL.md` and all context parameters. Even though framework evaluation is a single coordinated task (not per-Feature), it MUST be delegated to a Worker Agent β€” NOT invoked inline via Skill tool. See workflow.agentflow.xml block P3-B1 for dispatch parameters.
448
461
 
449
462
  ### 3.2 Validate Skill Output
450
463
 
@@ -464,7 +477,7 @@ After skill completes, validate the output:
464
477
  - Read error details from Task Completion Report
465
478
  - **DO NOT attempt to perform framework evaluation yourself**
466
479
  - Report error to user and ask: "Retry?" or "Abort?"
467
- - If retry β†’ Re-invoke skill with same or adjusted parameters
480
+ - If retry β†’ Re-dispatch speccrew-task-worker with same or adjusted parameters
468
481
  - If abort β†’ END workflow
469
482
 
470
483
  ### 3.3 User Confirmation (πŸ›‘ HARD STOP)
@@ -509,9 +522,9 @@ Proceed to Phase 4? (Confirm/Cancel)
509
522
  - DO NOT proceed to Phase 4 without valid evaluation output
510
523
 
511
524
  **Recovery Actions**:
512
- 1. Report error to user: "Framework evaluation skill failed: {specific reason}"
525
+ 1. Report error to user: "Framework evaluation worker failed: {specific reason}"
513
526
  2. Ask user: "Retry with additional context?" or "Abort workflow?"
514
- 3. IF retry β†’ Re-invoke speccrew-sd-framework-evaluate with adjusted parameters
527
+ 3. IF retry β†’ Re-dispatch speccrew-task-worker with adjusted parameters
515
528
  4. IF abort β†’ END workflow
516
529
 
517
530
  ## Phase 4: Generate DESIGN-OVERVIEW.md (L1)
@@ -1010,7 +1023,7 @@ Otherwise
1010
1023
  - Phase 0.1: ALWAYS verify Feature Design stage is confirmed before proceeding
1011
1024
  - Phase 0.5: ALWAYS detect IDE directory and verify skills exist before dispatching
1012
1025
  - Phase 2: MUST verify ALL techs knowledge files exist (manifest + platform-specific stacks) before Phase 3
1013
- - Phase 3: MUST use speccrew-sd-framework-evaluate skill for framework evaluation β€” DO NOT evaluate yourself
1026
+ - Phase 3: MUST dispatch speccrew-sd-framework-evaluate via speccrew-task-worker (Agent tool) β€” DO NOT evaluate yourself and DO NOT invoke via Skill tool
1014
1027
  - Phase 3: User MUST confirm framework decisions (πŸ›‘ HARD STOP) before proceeding to Phase 4
1015
1028
  - Phase 4: MUST generate DESIGN-OVERVIEW.md with complete FeatureΓ—Platform index BEFORE dispatching platform workers
1016
1029
  - Phase 5: MUST use speccrew-task-worker to dispatch platform-specific design skills for parallel execution (never direct skill invocation for batch)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speccrew",
3
- "version": "0.7.53",
3
+ "version": "0.7.54",
4
4
  "description": "Spec-Driven Development toolkit for AI-powered IDEs",
5
5
  "author": "charlesmu99",
6
6
  "repository": {