@boyingliu01/xp-gate 0.15.3 → 0.15.5

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 (35) hide show
  1. package/adapters/gate-3.sh +68 -0
  2. package/adapters/gate-4.sh +80 -0
  3. package/adapters/gate-7.sh +45 -0
  4. package/adapters/gate-8.sh +56 -0
  5. package/adapters/gate-9.sh +104 -0
  6. package/bin/xp-gate.js +1 -1
  7. package/hooks/pre-commit +9 -0
  8. package/lib/__tests__/install-cmd.test.js +0 -35
  9. package/lib/doctor-tui.js +198 -0
  10. package/lib/doctor.js +95 -179
  11. package/lib/init.js +6 -4
  12. package/lib/install-cmd.js +31 -42
  13. package/lib/uninstall.js +22 -0
  14. package/mock-policy/AGENTS.md +2 -2
  15. package/mutation/AGENTS.md +2 -2
  16. package/package.json +1 -1
  17. package/plugins/claude-code/.claude-plugin/plugin.json +1 -1
  18. package/plugins/claude-code/skills/delphi-review/AGENTS.md +2 -2
  19. package/plugins/claude-code/skills/sprint-flow/AGENTS.md +2 -2
  20. package/plugins/claude-code/skills/sprint-flow/references/phase-4-verify.md +10 -0
  21. package/plugins/claude-code/skills/test-specification-alignment/AGENTS.md +2 -2
  22. package/plugins/opencode/package.json +1 -1
  23. package/plugins/opencode/skills/delphi-review/AGENTS.md +2 -2
  24. package/plugins/opencode/skills/sprint-flow/AGENTS.md +2 -2
  25. package/plugins/opencode/skills/sprint-flow/references/phase-4-verify.md +10 -0
  26. package/plugins/opencode/skills/test-specification-alignment/AGENTS.md +2 -2
  27. package/plugins/qoder/plugin.json +1 -1
  28. package/plugins/qoder/skills/delphi-review/AGENTS.md +2 -2
  29. package/plugins/qoder/skills/sprint-flow/AGENTS.md +2 -2
  30. package/plugins/qoder/skills/test-specification-alignment/AGENTS.md +2 -2
  31. package/principles/AGENTS.md +2 -2
  32. package/skills/delphi-review/AGENTS.md +2 -2
  33. package/skills/sprint-flow/AGENTS.md +2 -2
  34. package/skills/sprint-flow/references/phase-4-verify.md +10 -0
  35. package/skills/test-specification-alignment/AGENTS.md +2 -2
@@ -1,9 +1,9 @@
1
1
  # PRINCIPLES CHECKER MODULE
2
2
 
3
3
  **Generated:** 2026-07-23
4
- **Commit:** 0280d4f
4
+ **Commit:** 766602e
5
5
  **Branch:** main
6
- **Version:** 0.15.3.0
6
+ **Version:** 0.15.5.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Clean Code & SOLID principles checker — **Gate 4** of pre-commit. 14 rules × 9 language adapters, SARIF 2.1.0 output. Houses the **Boy Scout Rule** enforcement engine (Gate 6) and warning-baseline storage.
@@ -1,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
3
  **Generated:** 2026-07-23
4
- **Commit:** 0280d4f
4
+ **Commit:** 766602e
5
5
  **Branch:** main
6
- **Version:** 0.15.3.0
6
+ **Version:** 0.15.5.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Delphi Consensus Review — multi-round anonymous expert review (≥90% threshold, 3 experts from ≥2 providers, domestic models only). Supports design + code-walkthrough modes.
@@ -1,9 +1,9 @@
1
1
  # SKILLS/SPRINT-FLOW KNOWLEDGE BASE
2
2
 
3
3
  **Generated:** 2026-07-23
4
- **Commit:** 0280d4f
4
+ **Commit:** 766602e
5
5
  **Branch:** main
6
- **Version:** 0.15.3.0
6
+ **Version:** 0.15.5.0
7
7
 
8
8
  ## OVERVIEW
9
9
  **6-phase** development pipeline (v2.0 compact redesign, Issue #290): PREP → DESIGN → BUILD → VERIFY → SHIP → CLOSE. Phase 3/6 BUILD default build mode is **ralph-loop** (REQ-level iteration, 40-67% token savings vs parallel). HARD-GATE between DESIGN (2/6) and BUILD (3/6): design must pass Delphi review (≥90% consensus) before any coding.
@@ -59,6 +59,16 @@ skill(name="test-specification-alignment", user_message="--spec specification.ya
59
59
 
60
60
  Phase 1: 验证对齐(可修改测试) → Phase 2: 执行测试(禁止修改测试)
61
61
 
62
+ #### Step 2.5: 质量门禁全量验证
63
+
64
+ ```
65
+ npx xp-gate check --all
66
+ ```
67
+
68
+ 运行所有可用的质量门禁(Gate 0–9)并输出汇总报告。任何 BLOCK 状态 → 回退 Phase 3/6 修复。
69
+
70
+ > 此步骤自动调用各独立门禁(lint、复杂度、principles、架构、安全扫描等),无需手动逐个执行。
71
+
62
72
  #### Step 2.5-2.10: 项目类型特定验证(Web/Mobile/Backend)
63
73
 
64
74
  - **Web**: qa → design-review → benchmark
@@ -1,9 +1,9 @@
1
1
  # SKILLS/TEST-SPECIFICATION-ALIGNMENT KNOWLEDGE BASE
2
2
 
3
3
  **Generated:** 2026-07-23
4
- **Commit:** 0280d4f
4
+ **Commit:** 766602e
5
5
  **Branch:** main
6
- **Version:** 0.15.3.0
6
+ **Version:** 0.15.5.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.