@boyingliu01/xp-gate 0.27.4 → 0.27.6

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 (43) hide show
  1. package/adapters/gate-3.sh +59 -3
  2. package/adapters/gate-4.sh +73 -10
  3. package/adapters/gate-7.sh +4 -0
  4. package/adapters/powershell.sh +8 -0
  5. package/gate-10.sh +11 -0
  6. package/gate-3.sh +8 -0
  7. package/gate-4.sh +8 -0
  8. package/gate-7.sh +4 -0
  9. package/hooks/gate-10.sh +11 -0
  10. package/hooks/gate-3.sh +8 -0
  11. package/hooks/gate-4.sh +8 -0
  12. package/hooks/gate-7.sh +4 -0
  13. package/hooks/pre-commit +53 -11
  14. package/lib/__tests__/doctor-delphi.test.js +293 -244
  15. package/lib/doctor.js +46 -3
  16. package/lib/mattpocock-license-verdict.json +1 -1
  17. package/mock-policy/AGENTS.md +3 -3
  18. package/mutation/AGENTS.md +3 -3
  19. package/package.json +1 -1
  20. package/plugins/claude-code/.claude-plugin/plugin.json +1 -1
  21. package/plugins/claude-code/skills/batch-grill-me/SKILL.md +9 -2
  22. package/plugins/claude-code/skills/delphi-review/AGENTS.md +3 -3
  23. package/plugins/claude-code/skills/sprint-flow/AGENTS.md +3 -3
  24. package/plugins/claude-code/skills/test-specification-alignment/AGENTS.md +3 -3
  25. package/plugins/dsh/package.json +1 -1
  26. package/plugins/dsh/skills/batch-grill-me/SKILL.md +9 -2
  27. package/plugins/dsh/skills/delphi-review/AGENTS.md +3 -3
  28. package/plugins/dsh/skills/sprint-flow/AGENTS.md +3 -3
  29. package/plugins/dsh/skills/test-specification-alignment/AGENTS.md +3 -3
  30. package/plugins/opencode/package.json +1 -1
  31. package/plugins/opencode/skills/batch-grill-me/SKILL.md +9 -2
  32. package/plugins/opencode/skills/delphi-review/AGENTS.md +3 -3
  33. package/plugins/opencode/skills/sprint-flow/AGENTS.md +3 -3
  34. package/plugins/opencode/skills/test-specification-alignment/AGENTS.md +3 -3
  35. package/plugins/qoder/plugin.json +1 -1
  36. package/plugins/qoder/skills/delphi-review/AGENTS.md +3 -3
  37. package/plugins/qoder/skills/sprint-flow/AGENTS.md +3 -3
  38. package/plugins/qoder/skills/test-specification-alignment/AGENTS.md +3 -3
  39. package/principles/AGENTS.md +3 -3
  40. package/skills/batch-grill-me/SKILL.md +9 -2
  41. package/skills/delphi-review/AGENTS.md +3 -3
  42. package/skills/sprint-flow/AGENTS.md +3 -3
  43. package/skills/test-specification-alignment/AGENTS.md +3 -3
@@ -1,9 +1,9 @@
1
1
  # SRC/MOCK-POLICY KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Mock layering policy enforcement — Gate M3 of pre-push hook. Ensures integration tests use real implementations for internal dependencies, mock external dependencies, and annotate pending mocks with removal plans. Combines project scope scanning, mock decision engine, and per-file validation into a single pipeline.
@@ -1,9 +1,9 @@
1
1
  # SRC/MUTATION KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.0
7
7
 
8
8
  ## OVERVIEW
9
9
  **Gate M** (incremental mutation testing) + **Gate M2** helpers (test-layer detection used by `src/mock-policy/`). Pre-push quality gate. TypeScript-only; uses Stryker.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boyingliu01/xp-gate",
3
- "version": "0.27.4",
3
+ "version": "0.27.6",
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.27.4",
3
+ "version": "0.27.6",
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": {
@@ -1,10 +1,17 @@
1
1
  ---
2
2
  name: batch-grill-me
3
- version: 1.0.0
4
- description: A relentless interview that asks every frontier question at once, round by round.
3
+ version: 1.1.0
4
+ description: A relentless interview that asks every frontier question at once, round by round. Thin alias of `grilling` (#540) — upstream mattpocock/skills absorbed this protocol into grilling; XP-Gate keeps this name as the sprint-flow Phase 2 entry point so orchestration docs stay stable.
5
5
  disable-model-invocation: true
6
6
  ---
7
7
 
8
+ > **Disposition (#540):** upstream deleted the standalone batch-grill-me skill — its round-based
9
+ > frontier protocol now IS upstream `grilling`. This file is intentionally a thin alias: keep it
10
+ > as the canonical sprint-flow reference name; protocol changes land in `skills/grilling/SKILL.md`
11
+ > (the single source), not here.
12
+
13
+ The protocol is identical to [`grilling`](../grilling/SKILL.md): read and follow that skill. Summary:
14
+
8
15
  Interview the user relentlessly until you reach a shared understanding. Map this as a **design tree**: every decision branches into the decisions that hang off it.
9
16
 
10
17
  Work the tree in **rounds**. The **frontier** is every decision whose prerequisites are already settled — the questions you can ask *now* without guessing at answers you haven't heard yet. Ask the whole frontier in one round: number each question and give your recommended answer. Then wait for the user's answers before the next round.
@@ -1,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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.27.4",
3
+ "version": "0.27.6",
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,10 +1,17 @@
1
1
  ---
2
2
  name: batch-grill-me
3
- version: 1.0.0
4
- description: A relentless interview that asks every frontier question at once, round by round.
3
+ version: 1.1.0
4
+ description: A relentless interview that asks every frontier question at once, round by round. Thin alias of `grilling` (#540) — upstream mattpocock/skills absorbed this protocol into grilling; XP-Gate keeps this name as the sprint-flow Phase 2 entry point so orchestration docs stay stable.
5
5
  disable-model-invocation: true
6
6
  ---
7
7
 
8
+ > **Disposition (#540):** upstream deleted the standalone batch-grill-me skill — its round-based
9
+ > frontier protocol now IS upstream `grilling`. This file is intentionally a thin alias: keep it
10
+ > as the canonical sprint-flow reference name; protocol changes land in `skills/grilling/SKILL.md`
11
+ > (the single source), not here.
12
+
13
+ The protocol is identical to [`grilling`](../grilling/SKILL.md): read and follow that skill. Summary:
14
+
8
15
  Interview the user relentlessly until you reach a shared understanding. Map this as a **design tree**: every decision branches into the decisions that hang off it.
9
16
 
10
17
  Work the tree in **rounds**. The **frontier** is every decision whose prerequisites are already settled — the questions you can ask *now* without guessing at answers you haven't heard yet. Ask the whole frontier in one round: number each question and give your recommended answer. Then wait for the user's answers before the next round.
@@ -1,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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/opencode-plugin",
3
- "version": "0.27.4",
3
+ "version": "0.27.6",
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,10 +1,17 @@
1
1
  ---
2
2
  name: batch-grill-me
3
- version: 1.0.0
4
- description: A relentless interview that asks every frontier question at once, round by round.
3
+ version: 1.1.0
4
+ description: A relentless interview that asks every frontier question at once, round by round. Thin alias of `grilling` (#540) — upstream mattpocock/skills absorbed this protocol into grilling; XP-Gate keeps this name as the sprint-flow Phase 2 entry point so orchestration docs stay stable.
5
5
  disable-model-invocation: true
6
6
  ---
7
7
 
8
+ > **Disposition (#540):** upstream deleted the standalone batch-grill-me skill — its round-based
9
+ > frontier protocol now IS upstream `grilling`. This file is intentionally a thin alias: keep it
10
+ > as the canonical sprint-flow reference name; protocol changes land in `skills/grilling/SKILL.md`
11
+ > (the single source), not here.
12
+
13
+ The protocol is identical to [`grilling`](../grilling/SKILL.md): read and follow that skill. Summary:
14
+
8
15
  Interview the user relentlessly until you reach a shared understanding. Map this as a **design tree**: every decision branches into the decisions that hang off it.
9
16
 
10
17
  Work the tree in **rounds**. The **frontier** is every decision whose prerequisites are already settled — the questions you can ask *now* without guessing at answers you haven't heard yet. Ask the whole frontier in one round: number each question and give your recommended answer. Then wait for the user's answers before the next round.
@@ -1,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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.27.4",
3
+ "version": "0.27.6",
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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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,10 +1,17 @@
1
1
  ---
2
2
  name: batch-grill-me
3
- version: 1.0.0
4
- description: A relentless interview that asks every frontier question at once, round by round.
3
+ version: 1.1.0
4
+ description: A relentless interview that asks every frontier question at once, round by round. Thin alias of `grilling` (#540) — upstream mattpocock/skills absorbed this protocol into grilling; XP-Gate keeps this name as the sprint-flow Phase 2 entry point so orchestration docs stay stable.
5
5
  disable-model-invocation: true
6
6
  ---
7
7
 
8
+ > **Disposition (#540):** upstream deleted the standalone batch-grill-me skill — its round-based
9
+ > frontier protocol now IS upstream `grilling`. This file is intentionally a thin alias: keep it
10
+ > as the canonical sprint-flow reference name; protocol changes land in `skills/grilling/SKILL.md`
11
+ > (the single source), not here.
12
+
13
+ The protocol is identical to [`grilling`](../grilling/SKILL.md): read and follow that skill. Summary:
14
+
8
15
  Interview the user relentlessly until you reach a shared understanding. Map this as a **design tree**: every decision branches into the decisions that hang off it.
9
16
 
10
17
  Work the tree in **rounds**. The **frontier** is every decision whose prerequisites are already settled — the questions you can ask *now* without guessing at answers you haven't heard yet. Ask the whole frontier in one round: number each question and give your recommended answer. Then wait for the user's answers before the next round.
@@ -1,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-10-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.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-17
4
- **Commit:** fff6c994
3
+ **Generated:** 2026-10-18
4
+ **Commit:** 17c3c043
5
5
  **Branch:** main
6
- **Version:** 0.27.4.0
6
+ **Version:** 0.27.6.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.