@boyingliu01/xp-gate 0.19.2 → 0.19.3

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 (78) hide show
  1. package/hooks/pre-commit +24 -5
  2. package/lib/mattpocock-license-verdict.json +1 -1
  3. package/mock-policy/AGENTS.md +3 -3
  4. package/mutation/AGENTS.md +3 -3
  5. package/package.json +1 -1
  6. package/plugins/claude-code/.claude-plugin/plugin.json +2 -2
  7. package/plugins/claude-code/skills/delphi-review/AGENTS.md +3 -3
  8. package/plugins/claude-code/skills/sprint-flow/AGENTS.md +3 -3
  9. package/plugins/claude-code/skills/test-specification-alignment/AGENTS.md +3 -3
  10. package/plugins/dsh/package.json +1 -1
  11. package/plugins/dsh/skills/delphi-review/AGENTS.md +3 -3
  12. package/plugins/dsh/skills/sprint-flow/AGENTS.md +3 -3
  13. package/plugins/dsh/skills/test-specification-alignment/AGENTS.md +3 -3
  14. package/plugins/opencode/package.json +1 -1
  15. package/plugins/opencode/skills/delphi-review/AGENTS.md +3 -3
  16. package/plugins/opencode/skills/sprint-flow/AGENTS.md +3 -3
  17. package/plugins/opencode/skills/test-specification-alignment/AGENTS.md +3 -3
  18. package/plugins/qoder/plugin.json +2 -2
  19. package/plugins/qoder/skills/admin-template-guidelines/SKILL.md +6 -797
  20. package/plugins/qoder/skills/admin-template-guidelines/references/rule-1.md +91 -0
  21. package/plugins/qoder/skills/admin-template-guidelines/references/rule-2.md +155 -0
  22. package/plugins/qoder/skills/admin-template-guidelines/references/rule-3.md +70 -0
  23. package/plugins/qoder/skills/admin-template-guidelines/references/rule-4.md +154 -0
  24. package/plugins/qoder/skills/admin-template-guidelines/references/rule-5.md +126 -0
  25. package/plugins/qoder/skills/admin-template-guidelines/references/rule-6.md +180 -0
  26. package/plugins/qoder/skills/batch-grill-me/SKILL.md +15 -0
  27. package/plugins/qoder/skills/clipboard-vision/describe-clipboard.ps1 +115 -0
  28. package/plugins/qoder/skills/clipboard-vision/describe-clipboard.sh +161 -0
  29. package/plugins/qoder/skills/delphi-review/.delphi-config.json.example +61 -28
  30. package/plugins/qoder/skills/delphi-review/AGENTS.md +3 -3
  31. package/plugins/qoder/skills/delphi-review/INSTALL.md +97 -98
  32. package/plugins/qoder/skills/delphi-review/SKILL.md +77 -54
  33. package/plugins/qoder/skills/delphi-review/hooks.md +19 -0
  34. package/plugins/qoder/skills/delphi-review/opencode.json.delphi.example +6 -10
  35. package/plugins/qoder/skills/delphi-review/references/orchestrator-dispatch.md +64 -0
  36. package/plugins/qoder/skills/delphi-review/references/requirements.md +402 -0
  37. package/plugins/qoder/skills/delphi-review/references/round-templates.md +134 -0
  38. package/plugins/qoder/skills/delphi-review/scripts/verify-consensus.sh +43 -0
  39. package/plugins/qoder/skills/delphi-review/tools.md +29 -0
  40. package/plugins/qoder/skills/domain-modeling/ADR-FORMAT.md +64 -0
  41. package/plugins/qoder/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  42. package/plugins/qoder/skills/domain-modeling/SKILL.md +74 -0
  43. package/plugins/qoder/skills/grill-with-docs/SKILL.md +7 -0
  44. package/plugins/qoder/skills/grilling/SKILL.md +12 -0
  45. package/plugins/qoder/skills/ralph-loop/SKILL.md +87 -428
  46. package/plugins/qoder/skills/ralph-loop/references/components.md +113 -0
  47. package/plugins/qoder/skills/ralph-loop/references/workflow-details.md +99 -0
  48. package/plugins/qoder/skills/sprint-flow/AGENTS.md +4 -4
  49. package/plugins/qoder/skills/sprint-flow/SKILL.md +255 -454
  50. package/plugins/qoder/skills/sprint-flow/__tests__/sprint-flow.test.cjs +457 -0
  51. package/plugins/qoder/skills/sprint-flow/hooks.md +18 -0
  52. package/plugins/qoder/skills/sprint-flow/references/components/memory.md +1 -1
  53. package/plugins/qoder/skills/sprint-flow/references/components/middleware.md +1 -1
  54. package/plugins/qoder/skills/sprint-flow/references/components/skill-invocations.md +21 -20
  55. package/plugins/qoder/skills/sprint-flow/references/components/tool-descriptions.md +22 -23
  56. package/plugins/qoder/skills/sprint-flow/references/force-levels.md +0 -1
  57. package/plugins/qoder/skills/sprint-flow/references/orchestration-rules.md +34 -27
  58. package/plugins/qoder/skills/sprint-flow/references/phase-1-prep.md +1 -1
  59. package/plugins/qoder/skills/sprint-flow/references/phase-2-design.md +157 -120
  60. package/plugins/qoder/skills/sprint-flow/references/phase-3-build.md +203 -2
  61. package/plugins/qoder/skills/sprint-flow/references/phase-4-verify.md +107 -34
  62. package/plugins/qoder/skills/sprint-flow/references/phase-5-ship.md +194 -12
  63. package/plugins/qoder/skills/sprint-flow/references/phase-6-close.md +139 -7
  64. package/plugins/qoder/skills/sprint-flow/references/phase-overview.md +486 -0
  65. package/plugins/qoder/skills/sprint-flow/scripts/verify-sprint-state.sh +38 -0
  66. package/plugins/qoder/skills/sprint-flow/tools.md +29 -0
  67. package/plugins/qoder/skills/test-specification-alignment/AGENTS.md +3 -3
  68. package/plugins/qoder/skills/test-specification-alignment/SKILL.md +104 -601
  69. package/plugins/qoder/skills/to-issues/SKILL.md +1 -1
  70. package/principles/AGENTS.md +3 -3
  71. package/skills/delphi-review/AGENTS.md +3 -3
  72. package/skills/sprint-flow/AGENTS.md +3 -3
  73. package/skills/test-specification-alignment/AGENTS.md +3 -3
  74. package/plugins/qoder/skills/ralph-loop/references/components/memory.md +0 -55
  75. package/plugins/qoder/skills/ralph-loop/references/components/middleware.md +0 -54
  76. package/plugins/qoder/skills/ralph-loop/references/components/skill-invocations.md +0 -39
  77. package/plugins/qoder/skills/ralph-loop/references/components/system-prompt.md +0 -24
  78. package/plugins/qoder/skills/ralph-loop/references/components/tool-descriptions.md +0 -32
package/hooks/pre-commit CHANGED
@@ -1013,8 +1013,16 @@ else
1013
1013
  else
1014
1014
  # Run Ruff (includes syntax check, linting)
1015
1015
  echo "Running Ruff linting (syntax + lint)..."
1016
- RUFF_OUTPUT=$(ruff check "$CHANGED_FILES" --output-format json 2>&1)
1017
- RUFF_EXIT=$?
1016
+ # Filter to *.py (unquoted) like the format/debug gates below; skip ruff
1017
+ # when no Python files are staged so yaml/.gitignore are never parsed.
1018
+ PY_LINT_FILES=$(echo "$CHANGED_FILES" | grep '\.py$' || true)
1019
+ if [ -z "$PY_LINT_FILES" ]; then
1020
+ RUFF_OUTPUT="[]"
1021
+ RUFF_EXIT=0
1022
+ else
1023
+ RUFF_OUTPUT=$(ruff check $PY_LINT_FILES --output-format json 2>&1)
1024
+ RUFF_EXIT=$?
1025
+ fi
1018
1026
  if [ "$RUFF_EXIT" -ne 0 ]; then
1019
1027
  if [ -f ".xp-gate/lint-baseline.json" ] && command -v node &> /dev/null; then
1020
1028
  # Get baseline warnings for changed Python files
@@ -1101,9 +1109,14 @@ else
1101
1109
 
1102
1110
  # Optional: Type checking with mypy
1103
1111
  if command -v mypy &> /dev/null; then
1104
- echo "Running mypy type checking (optional)..."
1105
- mypy --ignore-missing-imports $(echo "$CHANGED_FILES" | grep "\.py$" || echo ".") 2>&1 | head -20 | tail -10
1106
- MYPY_EXIT=$?
1112
+ PY_MYPY_FILES=$(echo "$CHANGED_FILES" | grep "\.py$" || true)
1113
+ if [ -z "$PY_MYPY_FILES" ]; then
1114
+ MYPY_EXIT=0
1115
+ else
1116
+ echo "Running mypy type checking (optional)..."
1117
+ mypy --ignore-missing-imports $PY_MYPY_FILES 2>&1 | head -20 | tail -10
1118
+ MYPY_EXIT=$?
1119
+ fi
1107
1120
  if [ "$MYPY_EXIT" -ne 0 ]; then
1108
1121
  echo ""
1109
1122
  echo "❌ BLOCKED - MYPI TYPE ERRORS detected"
@@ -2565,12 +2578,18 @@ fi
2565
2578
  GATE_11_START=$(date +%s)
2566
2579
  GATE_11_STATUS="PASS"
2567
2580
 
2581
+ # BEGIN SPRINT_GATE_SCRIPT RESOLUTION
2582
+ # Tier order: GATE_DIR (gate scripts dir) -> repo-root githooks/ -> SCRIPT_DIR
2583
+ # (hooks dir; update-hooks installs sprint-gate.sh beside pre-commit/pre-push).
2568
2584
  SPRINT_GATE_SCRIPT=""
2569
2585
  if [ -f "$GATE_DIR/sprint-gate.sh" ]; then
2570
2586
  SPRINT_GATE_SCRIPT="$GATE_DIR/sprint-gate.sh"
2571
2587
  elif [ -f "$(git rev-parse --show-toplevel 2>/dev/null)/githooks/sprint-gate.sh" ]; then
2572
2588
  SPRINT_GATE_SCRIPT="$(git rev-parse --show-toplevel)/githooks/sprint-gate.sh"
2589
+ elif [ -f "$SCRIPT_DIR/sprint-gate.sh" ]; then
2590
+ SPRINT_GATE_SCRIPT="$SCRIPT_DIR/sprint-gate.sh"
2573
2591
  fi
2592
+ # END SPRINT_GATE_SCRIPT RESOLUTION
2574
2593
 
2575
2594
  if [ -n "$SPRINT_GATE_SCRIPT" ]; then
2576
2595
  if ! bash "$SPRINT_GATE_SCRIPT" --pre-commit; then
@@ -2,6 +2,6 @@
2
2
  "verdict": "PASS",
3
3
  "license_type": "MIT",
4
4
  "sha256": "0e7ac423bf2c6e223b7c5b156f8cf72da49d748e56a1641402c31f22ad07dbb5",
5
- "checked_at": "2026-09-22T09:21:05.207Z",
5
+ "checked_at": "2026-09-24T04:13:16.240Z",
6
6
  "source": "network"
7
7
  }
@@ -1,9 +1,9 @@
1
1
  # SRC/MOCK-POLICY KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-09-22
4
- **Commit:** 3d1d1bf
3
+ **Generated:** 2026-09-24
4
+ **Commit:** 467174d
5
5
  **Branch:** main
6
- **Version:** 0.19.2.0
6
+ **Version:** 0.19.3.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-09-22
4
- **Commit:** 3d1d1bf
3
+ **Generated:** 2026-09-24
4
+ **Commit:** 467174d
5
5
  **Branch:** main
6
- **Version:** 0.19.2.0
6
+ **Version:** 0.19.3.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.19.2",
3
+ "version": "0.19.3",
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,8 +1,8 @@
1
1
  {
2
2
  "name": "xp-gate",
3
- "version": "0.19.2",
3
+ "version": "0.19.3",
4
4
  "displayName": "XP-Gate",
5
- "description": "Extreme Programming quality gates + AI workflow skills for Claude Code. Includes 10 quality gates (Gate 0-9), Sprint Flow (11 phases), and Delphi multi-expert review (>=90% consensus).",
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": {
7
7
  "name": "boyingliu01"
8
8
  },
@@ -1,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-09-22
4
- **Commit:** 3d1d1bf
3
+ **Generated:** 2026-09-24
4
+ **Commit:** 467174d
5
5
  **Branch:** main
6
- **Version:** 0.19.2.0
6
+ **Version:** 0.19.3.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-09-22
4
- **Commit:** 3d1d1bf
3
+ **Generated:** 2026-09-24
4
+ **Commit:** 467174d
5
5
  **Branch:** main
6
- **Version:** 0.19.2.0
6
+ **Version:** 0.19.3.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-09-22
4
- **Commit:** 3d1d1bf
3
+ **Generated:** 2026-09-24
4
+ **Commit:** 467174d
5
5
  **Branch:** main
6
- **Version:** 0.19.2.0
6
+ **Version:** 0.19.3.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.19.2",
3
+ "version": "0.19.3",
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,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-09-22
4
- **Commit:** 3d1d1bf
3
+ **Generated:** 2026-09-24
4
+ **Commit:** 467174d
5
5
  **Branch:** main
6
- **Version:** 0.19.2.0
6
+ **Version:** 0.19.3.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-09-22
4
- **Commit:** 3d1d1bf
3
+ **Generated:** 2026-09-24
4
+ **Commit:** 467174d
5
5
  **Branch:** main
6
- **Version:** 0.19.2.0
6
+ **Version:** 0.19.3.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-09-22
4
- **Commit:** 3d1d1bf
3
+ **Generated:** 2026-09-24
4
+ **Commit:** 467174d
5
5
  **Branch:** main
6
- **Version:** 0.19.2.0
6
+ **Version:** 0.19.3.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.19.2",
3
+ "version": "0.19.3",
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,9 +1,9 @@
1
1
  # SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
2
2
 
3
- **Generated:** 2026-09-22
4
- **Commit:** 3d1d1bf
3
+ **Generated:** 2026-09-24
4
+ **Commit:** 467174d
5
5
  **Branch:** main
6
- **Version:** 0.19.2.0
6
+ **Version:** 0.19.3.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-09-22
4
- **Commit:** 3d1d1bf
3
+ **Generated:** 2026-09-24
4
+ **Commit:** 467174d
5
5
  **Branch:** main
6
- **Version:** 0.19.2.0
6
+ **Version:** 0.19.3.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-09-22
4
- **Commit:** 3d1d1bf
3
+ **Generated:** 2026-09-24
4
+ **Commit:** 467174d
5
5
  **Branch:** main
6
- **Version:** 0.19.2.0
6
+ **Version:** 0.19.3.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "xp-gate",
3
- "version": "0.19.2",
3
+ "version": "0.19.3",
4
4
  "displayName": "XP-Gate",
5
- "description": "Extreme Programming quality gates + AI workflow skills for Qoder. Includes 10 quality gates (Gate 0-9), Sprint Flow (11 phases), and Delphi multi-expert review (>=90% consensus).",
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": {
7
7
  "name": "boyingliu01"
8
8
  },