@boyingliu01/xp-gate 0.13.1 → 0.13.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.
- package/hooks/pre-commit +9 -3
- package/mock-policy/AGENTS.md +2 -2
- package/mutation/AGENTS.md +2 -2
- package/package.json +1 -1
- package/plugins/claude-code/.claude-plugin/plugin.json +1 -1
- package/plugins/claude-code/skills/delphi-review/AGENTS.md +2 -2
- package/plugins/claude-code/skills/sprint-flow/AGENTS.md +2 -2
- package/plugins/claude-code/skills/test-specification-alignment/AGENTS.md +2 -2
- package/plugins/opencode/package.json +1 -1
- package/plugins/opencode/skills/delphi-review/AGENTS.md +2 -2
- package/plugins/opencode/skills/sprint-flow/AGENTS.md +2 -2
- package/plugins/opencode/skills/test-specification-alignment/AGENTS.md +2 -2
- package/plugins/qoder/plugin.json +1 -1
- package/plugins/qoder/skills/delphi-review/AGENTS.md +2 -2
- package/plugins/qoder/skills/sprint-flow/AGENTS.md +2 -2
- package/plugins/qoder/skills/test-specification-alignment/AGENTS.md +2 -2
- package/principles/AGENTS.md +2 -2
- package/skills/delphi-review/AGENTS.md +2 -2
- package/skills/sprint-flow/AGENTS.md +2 -2
- package/skills/test-specification-alignment/AGENTS.md +2 -2
package/hooks/pre-commit
CHANGED
|
@@ -1453,6 +1453,7 @@ else
|
|
|
1453
1453
|
# No test files AND no source files changed → skip
|
|
1454
1454
|
echo "✅ PASSED - No test or source files changed, skipping test run."
|
|
1455
1455
|
TESTS_EXIT_CODE=0
|
|
1456
|
+
TESTS_SKIPPED=true
|
|
1456
1457
|
fi
|
|
1457
1458
|
else
|
|
1458
1459
|
# Fallback: run_tests without coverage
|
|
@@ -1496,8 +1497,11 @@ else
|
|
|
1496
1497
|
# Smart selection (Issue #286): only runs changed/related tests with --coverage,
|
|
1497
1498
|
# producing coverage/coverage-summary.json for the tested subset.
|
|
1498
1499
|
# Stage 2 enforcement reads global coverage from the subset run.
|
|
1499
|
-
# If no tests were run (
|
|
1500
|
-
if [
|
|
1500
|
+
# If no tests were run (TESTS_SKIPPED=true), skip coverage check entirely.
|
|
1501
|
+
if [ "${TESTS_SKIPPED:-false}" = "true" ]; then
|
|
1502
|
+
echo "ℹ️ Test run was skipped — skipping coverage check."
|
|
1503
|
+
COV_EXIT=0
|
|
1504
|
+
elif [ -f "coverage/coverage-summary.json" ]; then
|
|
1501
1505
|
echo "TypeScript coverage collected during test run."
|
|
1502
1506
|
COV_EXIT=0
|
|
1503
1507
|
else
|
|
@@ -1566,7 +1570,9 @@ else
|
|
|
1566
1570
|
case "$PROJECT_LANG" in
|
|
1567
1571
|
"typescript")
|
|
1568
1572
|
COVERAGE_ENFORCED=true
|
|
1569
|
-
if [
|
|
1573
|
+
if [ "${TESTS_SKIPPED:-false}" = "true" ]; then
|
|
1574
|
+
echo "✅ PASSED - Coverage check skipped (no test/source files changed)."
|
|
1575
|
+
elif [ -f "coverage/coverage-summary.json" ]; then
|
|
1570
1576
|
COVERAGE_PERCENT=$(node -e "
|
|
1571
1577
|
try {
|
|
1572
1578
|
const fs = require('fs');
|
package/mock-policy/AGENTS.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SRC/MOCK-POLICY KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.2.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.
|
package/mutation/AGENTS.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SRC/MUTATION KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.2.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": "xp-gate",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"displayName": "XP-Gate",
|
|
5
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).",
|
|
6
6
|
"author": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.2.0
|
|
7
7
|
|
|
8
8
|
## OVERVIEW
|
|
9
9
|
Delphi Consensus Review — multi-round anonymous expert review (≥90% threshold, 3 experts from ≥2 providers, domestic models only). Supports design + code-walkthrough modes.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SKILLS/SPRINT-FLOW KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.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-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.2.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
|
# SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.2.0
|
|
7
7
|
|
|
8
8
|
## OVERVIEW
|
|
9
9
|
Delphi Consensus Review — multi-round anonymous expert review (≥90% threshold, 3 experts from ≥2 providers, domestic models only). Supports design + code-walkthrough modes.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SKILLS/SPRINT-FLOW KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.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-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.2.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.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"displayName": "XP-Gate",
|
|
5
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).",
|
|
6
6
|
"author": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.2.0
|
|
7
7
|
|
|
8
8
|
## OVERVIEW
|
|
9
9
|
Delphi Consensus Review — multi-round anonymous expert review (≥90% threshold, 3 experts from ≥2 providers, domestic models only). Supports design + code-walkthrough modes.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SKILLS/SPRINT-FLOW KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.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-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.2.0
|
|
7
7
|
|
|
8
8
|
## OVERVIEW
|
|
9
9
|
Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
|
package/principles/AGENTS.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# PRINCIPLES CHECKER MODULE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.2.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,9 +1,9 @@
|
|
|
1
1
|
# SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.2.0
|
|
7
7
|
|
|
8
8
|
## OVERVIEW
|
|
9
9
|
Delphi Consensus Review — multi-round anonymous expert review (≥90% threshold, 3 experts from ≥2 providers, domestic models only). Supports design + code-walkthrough modes.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SKILLS/SPRINT-FLOW KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.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-07-08
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 509be7b
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.13.
|
|
6
|
+
**Version:** 0.13.2.0
|
|
7
7
|
|
|
8
8
|
## OVERVIEW
|
|
9
9
|
Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
|