@boyingliu01/xp-gate 0.28.0 → 0.28.1
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-push +18 -2
- package/lib/mattpocock-license-verdict.json +1 -1
- 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/dsh/package.json +1 -1
- package/plugins/dsh/skills/delphi-review/AGENTS.md +2 -2
- package/plugins/dsh/skills/sprint-flow/AGENTS.md +2 -2
- package/plugins/dsh/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-push
CHANGED
|
@@ -153,8 +153,15 @@ fi
|
|
|
153
153
|
DOC_ONLY=true
|
|
154
154
|
SOURCE_EXTENSIONS="\.py$|\.js$|\.cjs$|\.mjs$|\.ts$|\.tsx$|\.java$|\.go$|\.rs$|\.cpp$|\.c$|\.swift$|\.kt$|\.sh$|\.dart$|\.ps1$|\.m$|\.mm$|\.h$|\.hpp$"
|
|
155
155
|
|
|
156
|
+
# Extensionless hook scripts and test files are CODE, not documentation.
|
|
157
|
+
# Measured consequence of the old list: a commit touching githooks/pre-push and
|
|
158
|
+
# its .bats suite was classified "Documentation-only push (no source code
|
|
159
|
+
# files)" and the walkthrough was skipped — the single most safety-critical
|
|
160
|
+
# script in the repo, exempt from review by a filename-shape accident.
|
|
161
|
+
NON_EXT_SOURCE_RE='^(githooks/(pre-commit|pre-push|post-merge|install\.sh|verify\.sh)|[^/]+\.bats)$|/__tests__/'
|
|
162
|
+
|
|
156
163
|
for file in $PUSHED_FILES; do
|
|
157
|
-
if echo "$file" | grep -qE "$SOURCE_EXTENSIONS"; then
|
|
164
|
+
if echo "$file" | grep -qE "$SOURCE_EXTENSIONS" || echo "$file" | grep -qE "$NON_EXT_SOURCE_RE"; then
|
|
158
165
|
DOC_ONLY=false
|
|
159
166
|
break
|
|
160
167
|
fi
|
|
@@ -954,6 +961,7 @@ else
|
|
|
954
961
|
# GATE MW: VALIDATE CODE WALKTHROUGH RESULT FILE
|
|
955
962
|
# ============================================================================
|
|
956
963
|
RESULT_FILE=".code-walkthrough-result.json"
|
|
964
|
+
MW_SKIPPED=0
|
|
957
965
|
|
|
958
966
|
# Skipped on main/master by design, exactly like Gate ML and Gate UI above.
|
|
959
967
|
# Work is already walkthrough-reviewed on the feature branch before it lands, so
|
|
@@ -962,6 +970,7 @@ RESULT_FILE=".code-walkthrough-result.json"
|
|
|
962
970
|
# the release commit itself changes nothing anyone reviewed. githooks/AGENTS.md
|
|
963
971
|
# documented this skip; the code did not implement it (drift fixed here).
|
|
964
972
|
if [ "$CURRENT_BRANCH" = "main" ] || [ "$CURRENT_BRANCH" = "master" ]; then
|
|
973
|
+
MW_SKIPPED=1
|
|
965
974
|
echo ""
|
|
966
975
|
echo " ℹ️ Gate MW skipped (pushing to ${CURRENT_BRANCH} — pre-reviewed via branch walkthrough)"
|
|
967
976
|
echo ""
|
|
@@ -1038,13 +1047,20 @@ fi
|
|
|
1038
1047
|
# ============================================================================
|
|
1039
1048
|
echo ""
|
|
1040
1049
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
1050
|
+
# Say what actually happened. Printing "VERIFIED" on a skipped gate would be a
|
|
1051
|
+
# claim the hook cannot support — the same dishonesty (evidence asserting an
|
|
1052
|
+
# unperformed check) that Gate MW exists to prevent.
|
|
1053
|
+
if [ "$MW_SKIPPED" = "1" ]; then
|
|
1054
|
+
echo " ℹ️ GATE MW: CODE WALKTHROUGH SKIPPED (main-branch push)"
|
|
1055
|
+
else
|
|
1041
1056
|
echo " ✅ GATE MW: CODE WALKTHROUGH VERIFIED"
|
|
1057
|
+
fi
|
|
1042
1058
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
1043
1059
|
echo ""
|
|
1044
1060
|
echo "Branch: $CURRENT_BRANCH"
|
|
1045
1061
|
echo "Files changed: $FILES_CHANGED"
|
|
1046
1062
|
echo "Lines: +$LINES_ADDED -$LINES_DELETED"
|
|
1047
|
-
if [ -f "$RESULT_FILE" ]; then
|
|
1063
|
+
if [ "$MW_SKIPPED" != "1" ] && [ -f "$RESULT_FILE" ]; then
|
|
1048
1064
|
echo ""
|
|
1049
1065
|
echo "Code walkthrough result:"
|
|
1050
1066
|
echo " Commit: $EXPECTED_COMMIT"
|
package/mock-policy/AGENTS.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SRC/MOCK-POLICY KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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.28.
|
|
3
|
+
"version": "0.28.1",
|
|
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,9 +1,9 @@
|
|
|
1
1
|
# SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
|
|
2
2
|
|
|
3
3
|
**Generated:** 2026-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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
3
|
**Generated:** 2026-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.0
|
|
7
7
|
|
|
8
8
|
## OVERVIEW
|
|
9
9
|
Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
|
package/plugins/dsh/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boyingliu01/dsh-plugin-xp-gate",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.1",
|
|
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
3
|
**Generated:** 2026-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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
3
|
**Generated:** 2026-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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
3
|
**Generated:** 2026-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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.28.
|
|
3
|
+
"version": "0.28.1",
|
|
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
3
|
**Generated:** 2026-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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
3
|
**Generated:** 2026-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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
3
|
**Generated:** 2026-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.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-10-19
|
|
4
|
-
**Commit:**
|
|
4
|
+
**Commit:** 9b545de5
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.28.
|
|
6
|
+
**Version:** 0.28.1.0
|
|
7
7
|
|
|
8
8
|
## OVERVIEW
|
|
9
9
|
Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
|