@boyingliu01/xp-gate 0.20.1 → 0.21.0

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 (84) hide show
  1. package/adapters/java.sh +373 -27
  2. package/adapters/python.sh +73 -6
  3. package/gate-10.sh +107 -64
  4. package/gate-3.sh +51 -3
  5. package/gate-4.sh +32 -1
  6. package/hooks/gate-10.sh +107 -64
  7. package/hooks/gate-3.sh +51 -3
  8. package/hooks/gate-4.sh +32 -1
  9. package/hooks/pre-commit +319 -57
  10. package/lib/__tests__/doctor-spawn-capability.test.js +116 -0
  11. package/lib/__tests__/doctor-tui-skill-freshness.test.js +49 -10
  12. package/lib/doctor-tui.js +21 -3
  13. package/lib/doctor.js +111 -8
  14. package/lib/gate-audit.ts +3 -0
  15. package/lib/mattpocock-license-verdict.json +1 -1
  16. package/mock-policy/AGENTS.md +4 -4
  17. package/mutation/AGENTS.md +4 -4
  18. package/package.json +1 -1
  19. package/plugins/claude-code/.claude-plugin/plugin.json +1 -1
  20. package/plugins/claude-code/skills/admin-template-guidelines/SKILL.md +1 -0
  21. package/plugins/claude-code/skills/batch-grill-me/SKILL.md +1 -0
  22. package/plugins/claude-code/skills/clipboard-vision/SKILL.md +1 -0
  23. package/plugins/claude-code/skills/delphi-review/AGENTS.md +4 -4
  24. package/plugins/claude-code/skills/domain-modeling/SKILL.md +1 -0
  25. package/plugins/claude-code/skills/grill-with-docs/SKILL.md +1 -0
  26. package/plugins/claude-code/skills/grilling/SKILL.md +1 -0
  27. package/plugins/claude-code/skills/improve-codebase-architecture/SKILL.md +1 -0
  28. package/plugins/claude-code/skills/ralph-loop/SKILL.md +1 -0
  29. package/plugins/claude-code/skills/sprint-flow/AGENTS.md +4 -4
  30. package/plugins/claude-code/skills/test-driven-development/SKILL.md +1 -0
  31. package/plugins/claude-code/skills/test-specification-alignment/AGENTS.md +4 -4
  32. package/plugins/claude-code/skills/test-specification-alignment/SKILL.md +1 -0
  33. package/plugins/claude-code/skills/to-issues/SKILL.md +1 -0
  34. package/plugins/dsh/package.json +1 -1
  35. package/plugins/dsh/skills/admin-template-guidelines/SKILL.md +1 -0
  36. package/plugins/dsh/skills/batch-grill-me/SKILL.md +1 -0
  37. package/plugins/dsh/skills/clipboard-vision/SKILL.md +1 -0
  38. package/plugins/dsh/skills/delphi-review/AGENTS.md +4 -4
  39. package/plugins/dsh/skills/domain-modeling/SKILL.md +1 -0
  40. package/plugins/dsh/skills/grill-with-docs/SKILL.md +1 -0
  41. package/plugins/dsh/skills/grilling/SKILL.md +1 -0
  42. package/plugins/dsh/skills/improve-codebase-architecture/SKILL.md +1 -0
  43. package/plugins/dsh/skills/ralph-loop/SKILL.md +1 -0
  44. package/plugins/dsh/skills/sprint-flow/AGENTS.md +4 -4
  45. package/plugins/dsh/skills/test-driven-development/SKILL.md +1 -0
  46. package/plugins/dsh/skills/test-specification-alignment/AGENTS.md +4 -4
  47. package/plugins/dsh/skills/test-specification-alignment/SKILL.md +1 -0
  48. package/plugins/dsh/skills/to-issues/SKILL.md +1 -0
  49. package/plugins/opencode/package.json +1 -1
  50. package/plugins/opencode/skills/admin-template-guidelines/SKILL.md +1 -0
  51. package/plugins/opencode/skills/batch-grill-me/SKILL.md +1 -0
  52. package/plugins/opencode/skills/clipboard-vision/SKILL.md +1 -0
  53. package/plugins/opencode/skills/delphi-review/AGENTS.md +4 -4
  54. package/plugins/opencode/skills/domain-modeling/SKILL.md +1 -0
  55. package/plugins/opencode/skills/grill-with-docs/SKILL.md +1 -0
  56. package/plugins/opencode/skills/grilling/SKILL.md +1 -0
  57. package/plugins/opencode/skills/improve-codebase-architecture/SKILL.md +1 -0
  58. package/plugins/opencode/skills/ralph-loop/SKILL.md +1 -0
  59. package/plugins/opencode/skills/sprint-flow/AGENTS.md +4 -4
  60. package/plugins/opencode/skills/test-driven-development/SKILL.md +1 -0
  61. package/plugins/opencode/skills/test-specification-alignment/AGENTS.md +4 -4
  62. package/plugins/opencode/skills/test-specification-alignment/SKILL.md +1 -0
  63. package/plugins/opencode/skills/to-issues/SKILL.md +1 -0
  64. package/plugins/qoder/plugin.json +1 -1
  65. package/plugins/qoder/skills/delphi-review/AGENTS.md +4 -4
  66. package/plugins/qoder/skills/sprint-flow/AGENTS.md +4 -4
  67. package/plugins/qoder/skills/test-specification-alignment/AGENTS.md +4 -4
  68. package/principles/AGENTS.md +4 -4
  69. package/principles/adapters/__tests__/java.test.ts +317 -0
  70. package/principles/adapters/java.ts +325 -13
  71. package/skills/admin-template-guidelines/SKILL.md +1 -0
  72. package/skills/batch-grill-me/SKILL.md +1 -0
  73. package/skills/clipboard-vision/SKILL.md +1 -0
  74. package/skills/delphi-review/AGENTS.md +4 -4
  75. package/skills/domain-modeling/SKILL.md +1 -0
  76. package/skills/grill-with-docs/SKILL.md +1 -0
  77. package/skills/grilling/SKILL.md +1 -0
  78. package/skills/improve-codebase-architecture/SKILL.md +1 -0
  79. package/skills/ralph-loop/SKILL.md +1 -0
  80. package/skills/sprint-flow/AGENTS.md +4 -4
  81. package/skills/test-driven-development/SKILL.md +1 -0
  82. package/skills/test-specification-alignment/AGENTS.md +4 -4
  83. package/skills/test-specification-alignment/SKILL.md +1 -0
  84. package/skills/to-issues/SKILL.md +1 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boyingliu01/dsh-plugin-xp-gate",
3
- "version": "0.20.1",
3
+ "version": "0.21.0",
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",
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: admin-template-guidelines
3
+ version: 1.0.0
3
4
  description: "6 maintainability rules for AI-generated admin interfaces (Fastify + Nunjucks + HTMX + Alpine.js). Prevents route bloat, test inconsistency, Nunjucks traps, repeated data logic, auth blind spots, and HTMX/Alpine confusion."
4
5
  maturity: alpha
5
6
  ---
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: batch-grill-me
3
+ version: 1.0.0
3
4
  description: A relentless interview that asks every frontier question at once, round by round.
4
5
  disable-model-invocation: true
5
6
  ---
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: clipboard-vision
3
+ version: 1.0.0
3
4
  description: Use when the user explicitly asks to analyze, describe, OCR, or inspect a single image currently stored in the system clipboard.
4
5
  ---
5
6
 
@@ -1,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-08
4
- **Commit:** unknown
5
- **Branch:** unknown
6
- **Version:** 0.20.1.0
3
+ **Generated:** 2026-10-13
4
+ **Commit:** 05a08fcf
5
+ **Branch:** main
6
+ **Version:** 0.21.0.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,5 +1,6 @@
1
1
  ---
2
2
  name: domain-modeling
3
+ version: 1.0.0
3
4
  description: Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
4
5
  ---
5
6
 
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: grill-with-docs
3
+ version: 1.0.0
3
4
  description: A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
4
5
  disable-model-invocation: true
5
6
  ---
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: grilling
3
+ version: 1.0.0
3
4
  description: Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
4
5
  ---
5
6
 
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: improve-codebase-architecture
3
+ version: 1.0.0
3
4
  description: Find deepening opportunities in a codebase, informed by domain language in CONTEXT.md and decisions in ADRs. Use when user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more AI-navigable. Run periodically (weekly or after surges of development).
4
5
  ---
5
6
 
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: ralph-loop
3
+ version: 1.0.0
3
4
  description: Use when executing Sprint-Flow Phase 2 BUILD, processing one REQ, building the next requirement, iterating with clean context, or requiring full regression per requirement.
4
5
  maturity: stable
5
6
  ---
@@ -1,9 +1,9 @@
1
1
  # SKILLS/SPRINT-FLOW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-08
4
- **Commit:** unknown
5
- **Branch:** unknown
6
- **Version:** 0.20.1.0
3
+ **Generated:** 2026-10-13
4
+ **Commit:** 05a08fcf
5
+ **Branch:** main
6
+ **Version:** 0.21.0.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,5 +1,6 @@
1
1
  ---
2
2
  name: test-driven-development
3
+ version: 1.0.0
3
4
  description: Use when implementing any feature or bugfix, before writing implementation code
4
5
  ---
5
6
 
@@ -1,9 +1,9 @@
1
1
  # SKILLS/TEST-SPECIFICATION-ALIGNMENT KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-08
4
- **Commit:** unknown
5
- **Branch:** unknown
6
- **Version:** 0.20.1.0
3
+ **Generated:** 2026-10-13
4
+ **Commit:** 05a08fcf
5
+ **Branch:** main
6
+ **Version:** 0.21.0.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: test-specification-alignment
3
+ version: 1.0.0
3
4
  description: "Use when asked to run tests, verify tests, align tests with specification.yaml, before BUILD verification, or before release/ship."
4
5
  ---
5
6
 
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: to-issues
3
+ version: 1.0.0
3
4
  description: Break a plan, spec, or PRD into independently-grabbable issues using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into vertical slices. Integrates with XP-Gate sprint-flow Phase 1.
4
5
  ---
5
6
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boyingliu01/opencode-plugin",
3
- "version": "0.20.1",
3
+ "version": "0.21.0",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "description": "XP-Gate quality gates + AI workflow skills + Sprint Flow TUI sidebar for OpenCode",
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: admin-template-guidelines
3
+ version: 1.0.0
3
4
  description: "6 maintainability rules for AI-generated admin interfaces (Fastify + Nunjucks + HTMX + Alpine.js). Prevents route bloat, test inconsistency, Nunjucks traps, repeated data logic, auth blind spots, and HTMX/Alpine confusion."
4
5
  maturity: alpha
5
6
  ---
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: batch-grill-me
3
+ version: 1.0.0
3
4
  description: A relentless interview that asks every frontier question at once, round by round.
4
5
  disable-model-invocation: true
5
6
  ---
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: clipboard-vision
3
+ version: 1.0.0
3
4
  description: Use when the user explicitly asks to analyze, describe, OCR, or inspect a single image currently stored in the system clipboard.
4
5
  ---
5
6
 
@@ -1,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-08
4
- **Commit:** unknown
5
- **Branch:** unknown
6
- **Version:** 0.20.1.0
3
+ **Generated:** 2026-10-13
4
+ **Commit:** 05a08fcf
5
+ **Branch:** main
6
+ **Version:** 0.21.0.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,5 +1,6 @@
1
1
  ---
2
2
  name: domain-modeling
3
+ version: 1.0.0
3
4
  description: Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
4
5
  ---
5
6
 
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: grill-with-docs
3
+ version: 1.0.0
3
4
  description: A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
4
5
  disable-model-invocation: true
5
6
  ---
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: grilling
3
+ version: 1.0.0
3
4
  description: Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
4
5
  ---
5
6
 
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: improve-codebase-architecture
3
+ version: 1.0.0
3
4
  description: Find deepening opportunities in a codebase, informed by domain language in CONTEXT.md and decisions in ADRs. Use when user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more AI-navigable. Run periodically (weekly or after surges of development).
4
5
  ---
5
6
 
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: ralph-loop
3
+ version: 1.0.0
3
4
  description: Use when executing Sprint-Flow Phase 2 BUILD, processing one REQ, building the next requirement, iterating with clean context, or requiring full regression per requirement.
4
5
  maturity: stable
5
6
  ---
@@ -1,9 +1,9 @@
1
1
  # SKILLS/SPRINT-FLOW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-08
4
- **Commit:** unknown
5
- **Branch:** unknown
6
- **Version:** 0.20.1.0
3
+ **Generated:** 2026-10-13
4
+ **Commit:** 05a08fcf
5
+ **Branch:** main
6
+ **Version:** 0.21.0.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,5 +1,6 @@
1
1
  ---
2
2
  name: test-driven-development
3
+ version: 1.0.0
3
4
  description: Use when implementing any feature or bugfix, before writing implementation code
4
5
  ---
5
6
 
@@ -1,9 +1,9 @@
1
1
  # SKILLS/TEST-SPECIFICATION-ALIGNMENT KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-08
4
- **Commit:** unknown
5
- **Branch:** unknown
6
- **Version:** 0.20.1.0
3
+ **Generated:** 2026-10-13
4
+ **Commit:** 05a08fcf
5
+ **Branch:** main
6
+ **Version:** 0.21.0.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: test-specification-alignment
3
+ version: 1.0.0
3
4
  description: "Use when asked to run tests, verify tests, align tests with specification.yaml, before BUILD verification, or before release/ship."
4
5
  ---
5
6
 
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: to-issues
3
+ version: 1.0.0
3
4
  description: Break a plan, spec, or PRD into independently-grabbable issues using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into vertical slices. Integrates with XP-Gate sprint-flow Phase 1.
4
5
  ---
5
6
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xp-gate",
3
- "version": "0.20.1",
3
+ "version": "0.21.0",
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": {
@@ -1,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-08
4
- **Commit:** unknown
5
- **Branch:** unknown
6
- **Version:** 0.20.1.0
3
+ **Generated:** 2026-10-13
4
+ **Commit:** 05a08fcf
5
+ **Branch:** main
6
+ **Version:** 0.21.0.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
- **Generated:** 2026-10-08
4
- **Commit:** unknown
5
- **Branch:** unknown
6
- **Version:** 0.20.1.0
3
+ **Generated:** 2026-10-13
4
+ **Commit:** 05a08fcf
5
+ **Branch:** main
6
+ **Version:** 0.21.0.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
- **Generated:** 2026-10-08
4
- **Commit:** unknown
5
- **Branch:** unknown
6
- **Version:** 0.20.1.0
3
+ **Generated:** 2026-10-13
4
+ **Commit:** 05a08fcf
5
+ **Branch:** main
6
+ **Version:** 0.21.0.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
@@ -1,9 +1,9 @@
1
1
  # PRINCIPLES CHECKER MODULE
2
2
 
3
- **Generated:** 2026-10-08
4
- **Commit:** unknown
5
- **Branch:** unknown
6
- **Version:** 0.20.1.0
3
+ **Generated:** 2026-10-13
4
+ **Commit:** 05a08fcf
5
+ **Branch:** main
6
+ **Version:** 0.21.0.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.