@boyingliu01/xp-gate 0.33.0 → 0.33.2

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 (48) hide show
  1. package/gate-3.sh +48 -7
  2. package/gate-8.sh +32 -3
  3. package/gate-9.sh +14 -2
  4. package/gates/common-process.ts +178 -0
  5. package/gates/common.ts +208 -0
  6. package/gates/gate-3.ts +144 -0
  7. package/gates/gate-7.ts +147 -0
  8. package/gates/gate-8.ts +92 -0
  9. package/gates/gate-9.ts +269 -0
  10. package/gates/pbt-detect.ts +163 -0
  11. package/gates/python-health.ts +266 -0
  12. package/gates/test-layers.ts +312 -0
  13. package/hooks/gate-3.sh +48 -7
  14. package/hooks/gate-8.sh +32 -3
  15. package/hooks/gate-9.sh +14 -2
  16. package/hooks/pre-commit +51 -2
  17. package/lib/__tests__/check-normalize-exit.test.js +24 -0
  18. package/lib/__tests__/shared-utils.test.js +21 -0
  19. package/lib/__tests__/uninstall.test.js +18 -0
  20. package/lib/check.js +27 -4
  21. package/lib/gate-runner.js +6 -1
  22. package/lib/mattpocock-license-verdict.json +1 -1
  23. package/lib/shared-utils.js +6 -1
  24. package/lib/uninstall.js +21 -1
  25. package/mock-policy/AGENTS.md +2 -2
  26. package/mutation/AGENTS.md +2 -2
  27. package/package.json +2 -1
  28. package/plugins/claude-code/.claude-plugin/plugin.json +1 -1
  29. package/plugins/claude-code/skills/delphi-review/AGENTS.md +2 -2
  30. package/plugins/claude-code/skills/sprint-flow/AGENTS.md +2 -2
  31. package/plugins/claude-code/skills/test-specification-alignment/AGENTS.md +2 -2
  32. package/plugins/dsh/package.json +1 -1
  33. package/plugins/dsh/skills/delphi-review/AGENTS.md +2 -2
  34. package/plugins/dsh/skills/sprint-flow/AGENTS.md +2 -2
  35. package/plugins/dsh/skills/test-specification-alignment/AGENTS.md +2 -2
  36. package/plugins/opencode/package.json +1 -1
  37. package/plugins/opencode/skills/delphi-review/AGENTS.md +2 -2
  38. package/plugins/opencode/skills/sprint-flow/AGENTS.md +2 -2
  39. package/plugins/opencode/skills/test-specification-alignment/AGENTS.md +2 -2
  40. package/plugins/qoder/plugin.json +1 -1
  41. package/plugins/qoder/skills/delphi-review/AGENTS.md +2 -2
  42. package/plugins/qoder/skills/sprint-flow/AGENTS.md +2 -2
  43. package/plugins/qoder/skills/test-specification-alignment/AGENTS.md +2 -2
  44. package/principles/AGENTS.md +2 -2
  45. package/scripts/sync-package-content.js +6 -1
  46. package/skills/delphi-review/AGENTS.md +2 -2
  47. package/skills/sprint-flow/AGENTS.md +2 -2
  48. package/skills/test-specification-alignment/AGENTS.md +2 -2
@@ -504,7 +504,12 @@ function main() {
504
504
  const mutation = syncModules('mutation');
505
505
  const mockPolicy = syncModules('mock-policy');
506
506
  const buildIntegrity = syncModules('build-integrity');
507
- console.error(`[sync] done: ${skills} skill(s), ${plugins} plugin(s), ${scripts} script(s), ${adapters} adapter entries, ${hooks} hook entries, ${principles + mutation + mockPolicy + buildIntegrity} module(s)`);
507
+ // #658: test-layers / pbt / python-health gate modules live in src/gates/ and
508
+ // were never bundled, so `xp-gate check test-layers` found no module in an npm
509
+ // install and silently skipped. Ship them (they import only ./common* which
510
+ // ship alongside).
511
+ const gates = syncModules('gates');
512
+ console.error(`[sync] done: ${skills} skill(s), ${plugins} plugin(s), ${scripts} script(s), ${adapters} adapter entries, ${hooks} hook entries, ${principles + mutation + mockPolicy + buildIntegrity + gates} module(s)`);
508
513
  if (skills !== CORE_SKILLS.length) {
509
514
  console.error(`[sync] ERROR: expected ${CORE_SKILLS.length} skills, copied ${skills}`);
510
515
  process.exit(1);
@@ -1,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
3
  **Generated:** 2026-10-30
4
- **Commit:** 3c5e9aaf
4
+ **Commit:** b45021b6
5
5
  **Branch:** main
6
- **Version:** 0.33.0.0
6
+ **Version:** 0.33.2.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Delphi Consensus Review — multi-round anonymous expert review (≥90% threshold, exactly 3 experts with distinct executable model IDs). Supports design, requirements, and code-walkthrough modes.
@@ -1,9 +1,9 @@
1
1
  # SKILLS/SPRINT-FLOW KNOWLEDGE BASE
2
2
 
3
3
  **Generated:** 2026-10-30
4
- **Commit:** 3c5e9aaf
4
+ **Commit:** b45021b6
5
5
  **Branch:** main
6
- **Version:** 0.33.0.0
6
+ **Version:** 0.33.2.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.
@@ -1,9 +1,9 @@
1
1
  # SKILLS/TEST-SPECIFICATION-ALIGNMENT KNOWLEDGE BASE
2
2
 
3
3
  **Generated:** 2026-10-30
4
- **Commit:** 3c5e9aaf
4
+ **Commit:** b45021b6
5
5
  **Branch:** main
6
- **Version:** 0.33.0.0
6
+ **Version:** 0.33.2.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.