@boyingliu01/xp-gate 0.38.125 → 0.38.126

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 (58) hide show
  1. package/adapters/gate-3.sh +34 -1
  2. package/adapters/gate-7.sh +15 -6
  3. package/bin/xp-gate.js +24 -0
  4. package/build-integrity/gate-10.ts +33 -8
  5. package/gate-3.sh +34 -1
  6. package/gate-registry.sh +3 -1
  7. package/hooks/deploy-manifest.sh +1 -0
  8. package/hooks/gate-3.sh +34 -1
  9. package/hooks/gate-entries/gate-1-entry.sh +35 -24
  10. package/hooks/gate-entries/gate-5-entry.sh +55 -19
  11. package/hooks/gate-entries/gate-6-entry.sh +15 -6
  12. package/hooks/gate-registry.sh +3 -1
  13. package/hooks/lib/gate-status.sh +164 -0
  14. package/hooks/lib/jscpd-run.sh +9 -1
  15. package/hooks/lib/native-path.sh +54 -0
  16. package/hooks/lib/toolchain-path.sh +38 -0
  17. package/hooks/pre-push +13 -4
  18. package/lib/__tests__/arch.test.js +7 -1
  19. package/lib/__tests__/audit-skip-reasons.test.ts +143 -0
  20. package/lib/__tests__/check-tools-list.test.js +155 -0
  21. package/lib/__tests__/doctor-tool-delegation.test.js +156 -0
  22. package/lib/__tests__/install-tools-repair.test.js +263 -0
  23. package/lib/__tests__/language-capability.test.js +27 -0
  24. package/lib/__tests__/tool-audit-collect.test.js +184 -0
  25. package/lib/__tests__/tool-audit-fixtures.js +87 -0
  26. package/lib/__tests__/tool-audit-latest.test.js +84 -0
  27. package/lib/__tests__/tool-audit.test.js +428 -0
  28. package/lib/deploy-manifest.js +1 -0
  29. package/lib/doctor-tool-checks.js +129 -0
  30. package/lib/doctor.js +15 -46
  31. package/lib/gate-audit.ts +80 -0
  32. package/lib/gate-runner.js +5 -0
  33. package/lib/language-capability-surfaces.js +70 -6
  34. package/lib/language-capability.js +3 -0
  35. package/lib/language-tools.js +409 -93
  36. package/lib/mattpocock-license-verdict.json +1 -1
  37. package/lib/tool-audit.js +729 -0
  38. package/package.json +1 -1
  39. package/plugins/claude-code/.claude-plugin/plugin.json +1 -1
  40. package/plugins/claude-code/skills/delphi-review/AGENTS.md +1 -1
  41. package/plugins/claude-code/skills/sprint-flow/AGENTS.md +1 -1
  42. package/plugins/claude-code/skills/test-specification-alignment/AGENTS.md +1 -1
  43. package/plugins/dsh/package.json +1 -1
  44. package/plugins/dsh/skills/delphi-review/AGENTS.md +1 -1
  45. package/plugins/dsh/skills/sprint-flow/AGENTS.md +1 -1
  46. package/plugins/dsh/skills/test-specification-alignment/AGENTS.md +1 -1
  47. package/plugins/dsh/src/skills.test.ts +9 -0
  48. package/plugins/opencode/package.json +1 -1
  49. package/plugins/opencode/skills/delphi-review/AGENTS.md +1 -1
  50. package/plugins/opencode/skills/sprint-flow/AGENTS.md +1 -1
  51. package/plugins/opencode/skills/test-specification-alignment/AGENTS.md +1 -1
  52. package/plugins/qoder/plugin.json +1 -1
  53. package/plugins/qoder/skills/delphi-review/AGENTS.md +1 -1
  54. package/plugins/qoder/skills/sprint-flow/AGENTS.md +1 -1
  55. package/plugins/qoder/skills/test-specification-alignment/AGENTS.md +1 -1
  56. package/skills/delphi-review/AGENTS.md +1 -1
  57. package/skills/sprint-flow/AGENTS.md +1 -1
  58. package/skills/test-specification-alignment/AGENTS.md +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boyingliu01/xp-gate",
3
- "version": "0.38.125",
3
+ "version": "0.38.126",
4
4
  "description": "AI-driven development workflow: 6 quality gates + Delphi review + Sprint Flow",
5
5
  "bin": {
6
6
  "xp-gate": "bin/xp-gate.js"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xp-gate",
3
- "version": "0.38.125",
3
+ "version": "0.38.126",
4
4
  "displayName": "XP-Gate",
5
5
  "description": "Extreme Programming quality gates + AI workflow skills for Claude Code. Includes 12 pre-commit gates (Gate 0-11), 8 pre-push gates, Sprint Flow (6 phases), and Delphi multi-expert review (>=90% consensus).",
6
6
  "author": {
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.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.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.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; each REQ starts from a clean context instead of accumulating one across REQs). HARD-GATE between DESIGN (2/6) and BUILD (3/6): design must pass Delphi review (≥90% consensus) before any coding.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boyingliu01/dsh-plugin-xp-gate",
3
- "version": "0.38.125",
3
+ "version": "0.38.126",
4
4
  "description": "XP-Gate deterministic quality gates + AI workflow skills as a DeepSeek Harness (DSH) native plugin: gate-check / gate-principles / gate-arch tools + 12 SKILL.md skills",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.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.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.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; each REQ starts from a clean context instead of accumulating one across REQs). HARD-GATE between DESIGN (2/6) and BUILD (3/6): design must pass Delphi review (≥90% consensus) before any coding.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
@@ -11,6 +11,14 @@ const PLUGIN_ROOT = resolve(fileURLToPath(new URL("..", import.meta.url)))
11
11
  const SKILLS_DIR = join(PLUGIN_ROOT, "skills")
12
12
  const REPO_SKILLS_DIR = resolve(PLUGIN_ROOT, "..", "..", "skills")
13
13
 
14
+ /**
15
+ * Skills that deliberately never ship with the package, so a mirror is correct
16
+ * to omit them. `reinstall-xp-gate` uninstalls and reinstalls xp-gate; a copy
17
+ * inside the package would delete itself mid-run, so it is distributed to agent
18
+ * skill roots by its own installer instead.
19
+ */
20
+ const NOT_SHIPPED = new Set(["reinstall-xp-gate"])
21
+
14
22
  /**
15
23
  * The expected set is the REPO's skill directories, discovered rather than
16
24
  * hardcoded. A hardcoded list silently drifts: it previously named 12 skills and
@@ -30,6 +38,7 @@ function repoSkills(): string[] {
30
38
  return entries
31
39
  .filter((d) => d.isDirectory())
32
40
  .map((d) => d.name)
41
+ .filter((name) => !NOT_SHIPPED.has(name))
33
42
  .filter((name) => existsSync(join(REPO_SKILLS_DIR, name, "SKILL.md")))
34
43
  .sort()
35
44
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boyingliu01/opencode-plugin",
3
- "version": "0.38.125",
3
+ "version": "0.38.126",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "description": "XP-Gate quality gates + AI workflow skills for OpenCode",
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.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.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.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; each REQ starts from a clean context instead of accumulating one across REQs). HARD-GATE between DESIGN (2/6) and BUILD (3/6): design must pass Delphi review (≥90% consensus) before any coding.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xp-gate",
3
- "version": "0.38.125",
3
+ "version": "0.38.126",
4
4
  "displayName": "XP-Gate",
5
5
  "description": "Extreme Programming quality gates + AI workflow skills for Qoder. Includes 12 pre-commit gates (Gate 0-11), 8 pre-push gates, Sprint Flow (6 phases), and Delphi multi-expert review (>=90% consensus).",
6
6
  "author": {
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.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.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.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; each REQ starts from a clean context instead of accumulating one across REQs). HARD-GATE between DESIGN (2/6) and BUILD (3/6): design must pass Delphi review (≥90% consensus) before any coding.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.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.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.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; each REQ starts from a clean context instead of accumulating one across REQs). HARD-GATE between DESIGN (2/6) and BUILD (3/6): design must pass Delphi review (≥90% consensus) before any coding.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.125.0
6
+ **Version:** 0.38.126.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.