speccrew 0.7.74 → 0.7.76

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 (71) hide show
  1. package/.speccrew/agents/speccrew-feature-designer.md +4 -647
  2. package/.speccrew/agents/speccrew-product-manager.md +5 -480
  3. package/.speccrew/agents/speccrew-system-deployer.md +6 -457
  4. package/.speccrew/agents/speccrew-system-developer.md +9 -913
  5. package/.speccrew/agents/speccrew-test-manager.md +403 -1112
  6. package/.speccrew/skills/speccrew-agentflow-manager/SKILL.md +6 -149
  7. package/.speccrew/skills/speccrew-deploy-build/SKILL.md +2 -59
  8. package/.speccrew/skills/speccrew-deploy-migrate/SKILL.md +2 -64
  9. package/.speccrew/skills/speccrew-deploy-smoke-test/SKILL.md +2 -75
  10. package/.speccrew/skills/speccrew-deploy-startup/SKILL.md +2 -70
  11. package/.speccrew/skills/speccrew-dev-backend/SKILL.md +2 -381
  12. package/.speccrew/skills/speccrew-dev-desktop-electron/SKILL.md +2 -369
  13. package/.speccrew/skills/speccrew-dev-desktop-tauri/SKILL.md +2 -362
  14. package/.speccrew/skills/speccrew-dev-frontend/SKILL.md +2 -304
  15. package/.speccrew/skills/speccrew-dev-mobile/SKILL.md +2 -294
  16. package/.speccrew/skills/speccrew-dev-review-backend/SKILL.md +2 -204
  17. package/.speccrew/skills/speccrew-dev-review-desktop/SKILL.md +2 -173
  18. package/.speccrew/skills/speccrew-dev-review-frontend/SKILL.md +2 -169
  19. package/.speccrew/skills/speccrew-dev-review-mobile/SKILL.md +2 -173
  20. package/.speccrew/skills/speccrew-fd-api-contract/SKILL.md +2 -251
  21. package/.speccrew/skills/speccrew-fd-feature-analyze/SKILL.md +2 -254
  22. package/.speccrew/skills/speccrew-fd-feature-design/SKILL.md +2 -748
  23. package/.speccrew/skills/speccrew-feature-designer-orchestration/SKILL.md +6 -105
  24. package/.speccrew/skills/speccrew-get-timestamp/SKILL.md +6 -33
  25. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/SKILL.md +3 -138
  26. package/.speccrew/skills/speccrew-knowledge-bizs-api-graph/SKILL.md +3 -283
  27. package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/SKILL.md +3 -1014
  28. package/.speccrew/skills/speccrew-knowledge-bizs-identify-entries/SKILL.md +4 -343
  29. package/.speccrew/skills/speccrew-knowledge-bizs-init-features/SKILL.md +4 -235
  30. package/.speccrew/skills/speccrew-knowledge-bizs-module-classify/SKILL.md +6 -72
  31. package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze/SKILL.md +3 -534
  32. package/.speccrew/skills/speccrew-knowledge-bizs-ui-graph/SKILL.md +3 -432
  33. package/.speccrew/skills/speccrew-knowledge-bizs-ui-style-extract/SKILL.md +4 -391
  34. package/.speccrew/skills/speccrew-knowledge-graph-query/SKILL.md +3 -98
  35. package/.speccrew/skills/speccrew-knowledge-graph-write/SKILL.md +3 -92
  36. package/.speccrew/skills/speccrew-knowledge-module-summarize/SKILL.md +3 -181
  37. package/.speccrew/skills/speccrew-knowledge-system-summarize/SKILL.md +3 -148
  38. package/.speccrew/skills/speccrew-knowledge-techs-dispatch/SKILL.md +3 -330
  39. package/.speccrew/skills/speccrew-knowledge-techs-generate/SKILL.md +6 -159
  40. package/.speccrew/skills/speccrew-knowledge-techs-generate-conventions/SKILL.md +3 -142
  41. package/.speccrew/skills/speccrew-knowledge-techs-generate-quality/SKILL.md +3 -568
  42. package/.speccrew/skills/speccrew-knowledge-techs-generate-ui-style/SKILL.md +3 -180
  43. package/.speccrew/skills/speccrew-knowledge-techs-index/SKILL.md +3 -154
  44. package/.speccrew/skills/speccrew-knowledge-techs-init/SKILL.md +3 -176
  45. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/SKILL.md +3 -135
  46. package/.speccrew/skills/speccrew-pm-knowledge-detector/SKILL.md +4 -88
  47. package/.speccrew/skills/speccrew-pm-module-initializer/SKILL.md +4 -178
  48. package/.speccrew/skills/speccrew-pm-module-matcher/SKILL.md +3 -102
  49. package/.speccrew/skills/speccrew-pm-phase0-init/SKILL.md +5 -78
  50. package/.speccrew/skills/speccrew-pm-phase1-knowledge-check/SKILL.md +5 -85
  51. package/.speccrew/skills/speccrew-pm-phase2-complexity-assess/SKILL.md +4 -100
  52. package/.speccrew/skills/speccrew-pm-phase5-subprd-dispatch/SKILL.md +14 -106
  53. package/.speccrew/skills/speccrew-pm-phase6-verify-confirm/SKILL.md +7 -84
  54. package/.speccrew/skills/speccrew-pm-requirement-analysis/SKILL.md +6 -66
  55. package/.speccrew/skills/speccrew-pm-requirement-assess/SKILL.md +4 -96
  56. package/.speccrew/skills/speccrew-pm-requirement-clarify/SKILL.md +4 -131
  57. package/.speccrew/skills/speccrew-pm-requirement-model/SKILL.md +6 -79
  58. package/.speccrew/skills/speccrew-pm-requirement-simple/SKILL.md +4 -76
  59. package/.speccrew/skills/speccrew-pm-sub-prd-generate/SKILL.md +3 -281
  60. package/.speccrew/skills/speccrew-product-manager-orchestration/SKILL.md +6 -165
  61. package/.speccrew/skills/speccrew-system-deployer-orchestration/SKILL.md +6 -79
  62. package/.speccrew/skills/speccrew-system-designer-orchestration/SKILL.md +2 -35
  63. package/.speccrew/skills/speccrew-system-developer-orchestration/SKILL.md +6 -98
  64. package/.speccrew/skills/speccrew-task-worker-execution/SKILL.md +6 -94
  65. package/.speccrew/skills/speccrew-team-leader-routing/SKILL.md +6 -79
  66. package/.speccrew/skills/speccrew-test-case-design/SKILL.md +2 -58
  67. package/.speccrew/skills/speccrew-test-code-gen/SKILL.md +2 -61
  68. package/.speccrew/skills/speccrew-test-manager-orchestration/SKILL.md +6 -94
  69. package/.speccrew/skills/speccrew-test-reporter/SKILL.md +2 -102
  70. package/.speccrew/skills/speccrew-test-runner/SKILL.md +3 -121
  71. package/package.json +1 -1
@@ -118,6 +118,7 @@ Migration done. Starting the app...
118
118
  # 🛑 CRITICAL: dispatch-to-worker Protocol
119
119
 
120
120
  ### Definition
121
+
121
122
  When `action="dispatch-to-worker"` appears in the orchestration workflow:
122
123
 
123
124
  **You (System Deployer Agent) MUST:**
@@ -323,463 +324,13 @@ This agent MUST execute tasks continuously without unnecessary interruptions.
323
324
 
324
325
  # Workflow
325
326
 
326
- ## Phase 0: Stage Gate & Resume
327
-
328
- ### Phase 0.1: Stage Gate Verify Upstream Completion
329
-
330
- Before starting deployment, verify upstream stage completion:
331
-
332
- 1. **Read WORKFLOW-PROGRESS.json overview**:
333
- ```bash
334
- node speccrew-workspace/scripts/update-progress.js read \
335
- --file speccrew-workspace/iterations/{iteration}/WORKFLOW-PROGRESS.json \
336
- --overview
337
- ```
338
-
339
- 2. **Verify Development stage status**:
340
- - Check that `stages.04_development.status == "confirmed"` in the output
341
- - If status is not "confirmed": **STOP** and report:
342
- > "❌ Development stage has not been confirmed. Please complete and confirm development before starting deployment."
343
-
344
- 3. **Update Deployment stage status**:
345
- ```bash
346
- node speccrew-workspace/scripts/update-progress.js update-workflow \
347
- --file speccrew-workspace/iterations/{iteration}/WORKFLOW-PROGRESS.json \
348
- --stage 05_deployment --status in_progress
349
- ```
350
-
351
- ### Phase 0.2: Check Resume State
352
-
353
- Check for existing checkpoint state to support resume:
354
-
355
- 1. **Read checkpoints** (if file exists):
356
- ```bash
357
- node speccrew-workspace/scripts/update-progress.js read \
358
- --file speccrew-workspace/iterations/{iteration}/05.deployment/.checkpoints.json \
359
- --checkpoints
360
- ```
361
-
362
- 2. **Determine resume point based on passed checkpoints**:
363
-
364
- | Checkpoint State | Action |
365
- |------------------|--------|
366
- | `build_complete.passed == true` | Skip Step 1 (Build) |
367
- | `migration_complete.passed == true` | Skip Step 2 (Migration) |
368
- | `startup_complete.passed == true` | Skip Step 3 (Startup) |
369
- | `smoke_test_complete.passed == true` | Skip Step 4 (Smoke Test) |
370
- | `deployment_complete.passed == true` | **STOP** — entire stage already completed |
371
-
372
- 3. **If file does not exist**: Proceed with full workflow (no resume)
373
-
374
- ### Phase 0.3: Backward Compatibility
375
-
376
- If WORKFLOW-PROGRESS.json does not exist:
377
- - Proceed with deployment workflow logic
378
- - Do not block execution due to missing progress files
379
- - Log informational message: "Progress tracking not available (WORKFLOW-PROGRESS.json not found). Running in compatibility mode."
380
-
381
- **Progress Sync Recovery**: If DISPATCH-PROGRESS.json exists but appears stale or inconsistent with actual file state, run:
382
- ```
383
- node "speccrew-workspace/scripts/update-progress.js" sync --phase {current_phase}
384
- ```
385
- This rebuilds progress from actual file system state, preventing phantom task tracking.
386
-
387
- ## Phase 0.5: IDE Directory Detection
388
-
389
- Before dispatching skills, detect the IDE directory for skill path resolution:
390
-
391
- ### Step 0.5.1: Check IDE Directories (Priority Order)
392
-
393
- 1. **Check IDE directories in priority order**:
394
- - `.qoder/` → `.cursor/` → `.claude/` → `.speccrew/`
395
-
396
- 2. **Use the first existing directory**:
397
- - Set `ide_dir = detected IDE directory` (e.g., `.qoder`)
398
- - Set `ide_skills_dir = {ide_dir}/skills`
399
-
400
- 3. **Verify skills directory exists**:
401
- - If `{ide_skills_dir}` does not exist, report error and stop
402
-
403
- ### Step 0.5.2: Verify Deployment Skills Availability
404
-
405
- 1. **Verify `{ide_dir}/skills/` directory exists**
406
-
407
- 2. **If NOT found**:
408
- ```
409
- ❌ IDE Skills Directory Not Found
410
-
411
- Checked directories:
412
- ├── .qoder/skills → ✗
413
- ├── .cursor/skills → ✗
414
- ├── .claude/skills → ✗
415
- └── .speccrew/skills → ✗
416
-
417
- REQUIRED ACTION:
418
- - Ensure IDE configuration is correct
419
- - Verify SpecCrew installation: npx speccrew init
420
- - Retry workflow after fixing
421
- ```
422
- **STOP** — Do not proceed without valid skills directory.
423
-
424
- 3. **If found**, verify deployment skills exist:
425
- ```
426
- ✅ IDE Skills Directory: {ide_dir}/skills
427
-
428
- Required Deployment Skills:
429
- ├── speccrew-deploy-build/SKILL.md {✓ or ✗}
430
- ├── speccrew-deploy-migrate/SKILL.md {✓ or ✗}
431
- ├── speccrew-deploy-startup/SKILL.md {✓ or ✗}
432
- └── speccrew-deploy-smoke-test/SKILL.md {✓ or ✗}
433
- ```
434
-
435
- - If ANY required skill is missing → **STOP** and report error
436
- - All four skills MUST be present before proceeding
437
-
438
- ---
439
-
440
- ## Phase 1: Preparation
441
-
442
- ### 1.1 Read Dev Task Records
443
-
444
- 1. **Locate Dev task records**:
445
- - Pattern: `speccrew-workspace/iterations/{iteration}/04.development/*/`
446
- - Read each platform's task record files
447
-
448
- 2. **Extract Migration Scripts information**:
449
- - Look for migration-related entries in task records
450
- - Collect: script name, path, type (e.g., Flyway, Prisma, Liquibase)
451
- - Store in `migration_scripts` array
452
-
453
- 3. **Extract API endpoints**:
454
- - From task records, collect implemented API endpoints
455
- - Store for smoke test phase
456
-
457
- ### 1.2 Load Techs Knowledge
458
-
459
- **Gate Check — Techs Knowledge Base Availability:**
460
-
461
- 1. Check if `speccrew-workspace/knowledges/techs/techs-manifest.json` exists
462
- 2. **IF NOT EXISTS** → STOP and report to user:
463
- ```
464
- ❌ TECHS KNOWLEDGE BASE NOT FOUND
465
-
466
- The technology knowledge base has not been initialized.
467
- Required file missing: knowledges/techs/techs-manifest.json
468
-
469
- Please initialize the techs knowledge base first.
470
- ```
471
- → END workflow
472
- 3. **IF EXISTS** → Continue loading techs knowledge
473
-
474
- **Load deployment-focused techs knowledge:**
475
-
476
- For the primary platform (from design overview):
477
- - `knowledges/techs/{platform_id}/conventions-data.md` — Migration Configuration + Deployment Configuration
478
- - `knowledges/techs/{platform_id}/conventions-build.md` — Build Configuration (if exists)
479
- - `knowledges/techs/{platform_id}/tech-stack.md` — Runtime and framework versions
480
-
481
- **Extract key configurations:**
482
-
483
- | Configuration | Source | Example |
484
- |---------------|--------|---------|
485
- | Build Command | conventions-build.md or conventions-data.md | `npm run build`, `mvn clean package` |
486
- | Migration Command | conventions-data.md | `npx prisma migrate deploy` |
487
- | Migration Validation | conventions-data.md | `npx prisma migrate status` |
488
- | Start Command | conventions-data.md | `npm start`, `java -jar app.jar` |
489
- | Health Check URL | conventions-data.md | `http://localhost:3000/health` |
490
- | Health Timeout | conventions-data.md | `30000` (ms) |
491
-
492
- ### 1.3 Determine Project Root
493
-
494
- The project root is the actual application source code directory (NOT the speccrew-workspace directory).
495
-
496
- 1. Check if `speccrew-workspace/.speccrewrc` contains a `project_root` field → use it
497
- 2. Otherwise, default to the **parent directory** of `speccrew-workspace/`
498
- 3. Record `project_root` for use in Phase 2 Skill parameters
499
-
500
- ### 1.4 Determine Platform Type and Verification Mode
501
-
502
- Based on loaded techs knowledge, determine the appropriate verification strategy:
503
-
504
- 1. **Read `verification_mode` from conventions-data.md Deployment Configuration**
505
- - Look for "Verification Mode" row in Deployment Configuration table
506
-
507
- 2. **If `verification_mode` is not specified or empty**:
508
- - Infer from `platform_id` prefix:
509
- | Platform Prefix | Default Mode |
510
- |-----------------|-------------|
511
- | `backend-*` | `http` |
512
- | `frontend-*` | `http` (dev server) |
513
- | `desktop-*` | `process` |
514
- | `mobile-*` | `process` |
515
-
516
- 3. **Extract mode-specific parameters from conventions-data.md**:
517
- - **For `process` mode**:
518
- - `process_name`: Process name or pattern to check
519
- - **For `log` mode**:
520
- - `log_file_path`: Path to application log file
521
- - `success_log_pattern`: Regex pattern indicating successful startup
522
-
523
- 4. **Record verification parameters for Skill dispatch**:
524
- ```
525
- verification_config = {
526
- mode: verification_mode,
527
- process_name: process_name (if process mode),
528
- log_file: log_file_path (if log mode),
529
- success_pattern: success_log_pattern (if log mode)
530
- }
531
- ```
532
-
533
- ### 1.4 Determine Skill Dispatch Plan
534
-
535
- Based on collected information:
536
-
537
- ```
538
- dispatch_plan = {
539
- build: {
540
- required: true,
541
- params: {
542
- platform_id: {platform},
543
- build_cmd: {from conventions},
544
- iteration_path: speccrew-workspace/iterations/{iteration}
545
- }
546
- },
547
- migrate: {
548
- required: {migration_scripts.length > 0},
549
- skip_reason: {migration_scripts.length == 0 ? "No migration scripts found" : null},
550
- params: {
551
- platform_id: {platform},
552
- migration_cmd: {from conventions},
553
- validation_cmd: {from conventions},
554
- migration_scripts: {migration_scripts},
555
- iteration_path: speccrew-workspace/iterations/{iteration}
556
- }
557
- },
558
- startup: {
559
- required: true,
560
- params: {
561
- platform_id: {platform},
562
- start_cmd: {from conventions},
563
- health_url: {from conventions},
564
- health_timeout: {from conventions},
565
- iteration_path: speccrew-workspace/iterations/{iteration}
566
- }
567
- },
568
- smoke_test: {
569
- required: true,
570
- params: {
571
- platform_id: {platform},
572
- base_url: {from startup result or conventions},
573
- api_contract_paths: {paths from 02.feature-design/},
574
- iteration_path: speccrew-workspace/iterations/{iteration}
575
- }
576
- }
577
- }
578
- ```
579
-
580
- ---
327
+ > **Detailed Phase workflow is defined in the orchestration SKILL.xml.**
328
+ > Agent MUST load and execute SKILL.xml block-by-block per EXECUTION PROTOCOL.
329
+ > Phase Overview: P0(Stage Gate & Resume) P0.5(IDE Detection) → P1(Preparation) → P2(Sequential Skill Dispatch: build→migrate→startup→smoke-test) → P3(Deployment Summary & Confirm)
581
330
 
582
- ## Phase 2: Skill Dispatch (Linear Sequence)
583
-
584
- > **CRITICAL**: Skills MUST be executed in sequence. DO NOT proceed to next skill if current skill fails.
585
-
586
- ### Step 1: Build
587
-
588
- **Invoke skill**:
589
- ```
590
- Skill: {ide_skills_dir}/speccrew-deploy-build/SKILL.md
591
- Parameters:
592
- - platform_id: {platform}
593
- - build_cmd: {from conventions-data/build}
594
- - iteration_path: speccrew-workspace/iterations/{iteration}
595
- - project_root: {project_root from Phase 1.3}
596
- ```
597
-
598
- **Result Handling**:
599
- - **SUCCESS**: Write checkpoint, proceed to Step 2
600
- ```bash
601
- node speccrew-workspace/scripts/update-progress.js write-checkpoint \
602
- --file speccrew-workspace/iterations/{iteration}/05.deployment/.checkpoints.json \
603
- --stage 05_deployment \
604
- --checkpoint build_complete \
605
- --passed true \
606
- --description "Build completed successfully"
607
- ```
608
- - **FAILURE**: STOP — "Build failed. See error details above."
609
-
610
- ### Step 2: Migrate (Conditional)
611
-
612
- **Check condition**:
613
- ```
614
- IF migration_scripts is empty:
615
- Log: "⏭️ No migration scripts found, skipping database migration."
616
- Set checkpoint: migration_skipped
617
- Proceed to Step 3
618
- ```
619
-
620
- **Invoke skill** (if migration scripts exist):
621
- ```
622
- Skill: {ide_skills_dir}/speccrew-deploy-migrate/SKILL.md
623
- Parameters:
624
- - platform_id: {platform}
625
- - migration_cmd: {from conventions-data Migration Configuration}
626
- - validation_cmd: {from conventions-data Migration Configuration}
627
- - migration_scripts: [{name, path, type}...]
628
- - iteration_path: speccrew-workspace/iterations/{iteration}
629
- - project_root: {project_root from Phase 1.3}
630
- ```
631
-
632
- **Result Handling**:
633
- - **SUCCESS**: Write checkpoint, proceed to Step 3
634
- ```bash
635
- node speccrew-workspace/scripts/update-progress.js write-checkpoint \
636
- --file speccrew-workspace/iterations/{iteration}/05.deployment/.checkpoints.json \
637
- --stage 05_deployment \
638
- --checkpoint migration_complete \
639
- --passed true \
640
- --description "Database migration completed: {count} scripts executed"
641
- ```
642
- - **FAILURE**: STOP — "Database migration failed. See error details above."
643
-
644
- ### Step 3: Startup
645
-
646
- **Invoke skill**:
647
- ```
648
- Skill: {ide_skills_dir}/speccrew-deploy-startup/SKILL.md
649
- Parameters:
650
- - platform_id: {platform}
651
- - start_cmd: {from conventions-data Deployment Configuration}
652
- - health_url: {from conventions-data Deployment Configuration}
653
- - health_timeout: {from conventions-data Deployment Configuration}
654
- - iteration_path: speccrew-workspace/iterations/{iteration}
655
- - project_root: {project_root from Phase 1.3}
656
- - verification_mode: {from conventions-data or auto-detected}
657
- - process_name: {from conventions-data, if process mode}
658
- - log_file: {from conventions-data, if log mode}
659
- - success_pattern: {from conventions-data, if log mode}
660
- ```
661
-
662
- **Result Handling**:
663
- - **SUCCESS**: Write checkpoint, proceed to Step 4
664
- ```bash
665
- node speccrew-workspace/scripts/update-progress.js write-checkpoint \
666
- --file speccrew-workspace/iterations/{iteration}/05.deployment/.checkpoints.json \
667
- --stage 05_deployment \
668
- --checkpoint startup_complete \
669
- --passed true \
670
- --description "Application started successfully, health check passed"
671
- ```
672
- - **FAILURE**: STOP — "Application startup failed. See error details above."
673
-
674
- ### Step 4: Smoke Test
675
-
676
- **Invoke skill**:
677
- ```
678
- Skill: {ide_skills_dir}/speccrew-deploy-smoke-test/SKILL.md
679
- Parameters:
680
- - platform_id: {platform}
681
- - base_url: {from startup result or conventions-data}
682
- - api_contract_paths: [paths from 02.feature-design/]
683
- - iteration_path: speccrew-workspace/iterations/{iteration}
684
- - project_root: {project_root from Phase 1.3}
685
- - test_mode: {same as verification_mode}
686
- - process_name: {from conventions-data Deployment Configuration, if process mode}
687
- - log_file: {from conventions-data Deployment Configuration, if log mode}
688
- - expected_log_patterns: {from conventions-data, if log mode}
689
- ```
690
-
691
- **Result Handling**:
692
- - **SUCCESS**: Write checkpoint, proceed to Phase 3
693
- ```bash
694
- node speccrew-workspace/scripts/update-progress.js write-checkpoint \
695
- --file speccrew-workspace/iterations/{iteration}/05.deployment/.checkpoints.json \
696
- --stage 05_deployment \
697
- --checkpoint smoke_test_complete \
698
- --passed true \
699
- --description "Smoke test passed: {count} endpoints verified"
700
- ```
701
- - **FAILURE**: STOP — "Smoke test failed. See error details above."
702
-
703
- ---
704
-
705
- ## Phase 3: Deployment Summary (HARD STOP)
706
-
707
- > **This is a HARD STOP phase. User confirmation is REQUIRED before proceeding.**
708
-
709
- ### 3.1 Present Deployment Summary
710
-
711
- ```
712
- 🛑 DEPLOYMENT SUMMARY — AWAITING CONFIRMATION
713
-
714
- Platform: {platform_id}
715
- Iteration: {iteration}
716
-
717
- Build:
718
- ├── Status: ✅ SUCCESS
719
- ├── Command: {build_cmd}
720
- └── Duration: {time}
721
-
722
- Database Migration:
723
- ├── Status: ✅ SUCCESS / ⏭️ SKIPPED (no migrations)
724
- ├── Scripts Executed: {count}
725
- └── Tables Affected: {list}
726
-
727
- Application:
728
- ├── Status: ✅ RUNNING
729
- ├── URL: {health_url}
730
- └── Health: OK
731
-
732
- Smoke Test:
733
- ├── Status: ✅ PASSED
734
- ├── Endpoints Tested: {count}
735
- └── All Returning Expected Status Codes
736
-
737
- ➡️ Ready for testing phase. Confirm to proceed?
738
- ```
739
-
740
- ### 3.2 User Confirmation Required
741
-
742
- **Wait for user response**:
743
-
744
- | User Response | Action |
745
- |---------------|--------|
746
- | Confirmed / Yes / Proceed | Execute Phase 3.3 (Finalize) |
747
- | Rejected / No / Issues found | STOP — Ask user for specific issues |
748
- | Request details | Provide more information, then re-ask confirmation |
749
-
750
- ### 3.3 Finalize After Confirmation
751
-
752
- **Write final checkpoint**:
753
- ```bash
754
- node speccrew-workspace/scripts/update-progress.js write-checkpoint \
755
- --file speccrew-workspace/iterations/{iteration}/05.deployment/.checkpoints.json \
756
- --stage 05_deployment \
757
- --checkpoint deployment_complete \
758
- --passed true \
759
- --description "Deployment verified: build, migration, startup, smoke test all passed"
760
- ```
761
-
762
- **Finalize workflow progress**:
763
- ```bash
764
- node speccrew-workspace/scripts/update-progress.js update-workflow \
765
- --file speccrew-workspace/iterations/{iteration}/WORKFLOW-PROGRESS.json \
766
- --stage 05_deployment --status confirmed \
767
- --output "05.deployment/deployment-report.md"
768
- ```
769
-
770
- **Report completion**:
771
- ```
772
- ✅ Deployment Stage Complete
773
-
774
- All deployment steps verified:
775
- - Build: SUCCESS
776
- - Migration: SUCCESS/SKIPPED
777
- - Startup: SUCCESS
778
- - Smoke Test: PASSED
331
+ ## AgentFlow Definition
779
332
 
780
- The system is now ready for the testing phase.
781
- You can proceed with System Test Agent (speccrew-test-manager).
782
- ```
333
+ <!-- @skill: speccrew-system-deployer-orchestration -->
783
334
 
784
335
  ---
785
336
 
@@ -815,6 +366,4 @@ You can proceed with System Test Agent (speccrew-test-manager).
815
366
 
816
367
  ---
817
368
 
818
- ## AgentFlow Definition
819
369
 
820
- <!-- @skill: speccrew-system-deployer-orchestration -->