@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.
- package/hooks/pre-commit +24 -5
- package/lib/mattpocock-license-verdict.json +1 -1
- package/mock-policy/AGENTS.md +3 -3
- package/mutation/AGENTS.md +3 -3
- package/package.json +1 -1
- package/plugins/claude-code/.claude-plugin/plugin.json +2 -2
- package/plugins/claude-code/skills/delphi-review/AGENTS.md +3 -3
- package/plugins/claude-code/skills/sprint-flow/AGENTS.md +3 -3
- package/plugins/claude-code/skills/test-specification-alignment/AGENTS.md +3 -3
- package/plugins/dsh/package.json +1 -1
- package/plugins/dsh/skills/delphi-review/AGENTS.md +3 -3
- package/plugins/dsh/skills/sprint-flow/AGENTS.md +3 -3
- package/plugins/dsh/skills/test-specification-alignment/AGENTS.md +3 -3
- package/plugins/opencode/package.json +1 -1
- package/plugins/opencode/skills/delphi-review/AGENTS.md +3 -3
- package/plugins/opencode/skills/sprint-flow/AGENTS.md +3 -3
- package/plugins/opencode/skills/test-specification-alignment/AGENTS.md +3 -3
- package/plugins/qoder/plugin.json +2 -2
- package/plugins/qoder/skills/admin-template-guidelines/SKILL.md +6 -797
- package/plugins/qoder/skills/admin-template-guidelines/references/rule-1.md +91 -0
- package/plugins/qoder/skills/admin-template-guidelines/references/rule-2.md +155 -0
- package/plugins/qoder/skills/admin-template-guidelines/references/rule-3.md +70 -0
- package/plugins/qoder/skills/admin-template-guidelines/references/rule-4.md +154 -0
- package/plugins/qoder/skills/admin-template-guidelines/references/rule-5.md +126 -0
- package/plugins/qoder/skills/admin-template-guidelines/references/rule-6.md +180 -0
- package/plugins/qoder/skills/batch-grill-me/SKILL.md +15 -0
- package/plugins/qoder/skills/clipboard-vision/describe-clipboard.ps1 +115 -0
- package/plugins/qoder/skills/clipboard-vision/describe-clipboard.sh +161 -0
- package/plugins/qoder/skills/delphi-review/.delphi-config.json.example +61 -28
- package/plugins/qoder/skills/delphi-review/AGENTS.md +3 -3
- package/plugins/qoder/skills/delphi-review/INSTALL.md +97 -98
- package/plugins/qoder/skills/delphi-review/SKILL.md +77 -54
- package/plugins/qoder/skills/delphi-review/hooks.md +19 -0
- package/plugins/qoder/skills/delphi-review/opencode.json.delphi.example +6 -10
- package/plugins/qoder/skills/delphi-review/references/orchestrator-dispatch.md +64 -0
- package/plugins/qoder/skills/delphi-review/references/requirements.md +402 -0
- package/plugins/qoder/skills/delphi-review/references/round-templates.md +134 -0
- package/plugins/qoder/skills/delphi-review/scripts/verify-consensus.sh +43 -0
- package/plugins/qoder/skills/delphi-review/tools.md +29 -0
- package/plugins/qoder/skills/domain-modeling/ADR-FORMAT.md +64 -0
- package/plugins/qoder/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/plugins/qoder/skills/domain-modeling/SKILL.md +74 -0
- package/plugins/qoder/skills/grill-with-docs/SKILL.md +7 -0
- package/plugins/qoder/skills/grilling/SKILL.md +12 -0
- package/plugins/qoder/skills/ralph-loop/SKILL.md +87 -428
- package/plugins/qoder/skills/ralph-loop/references/components.md +113 -0
- package/plugins/qoder/skills/ralph-loop/references/workflow-details.md +99 -0
- package/plugins/qoder/skills/sprint-flow/AGENTS.md +4 -4
- package/plugins/qoder/skills/sprint-flow/SKILL.md +255 -454
- package/plugins/qoder/skills/sprint-flow/__tests__/sprint-flow.test.cjs +457 -0
- package/plugins/qoder/skills/sprint-flow/hooks.md +18 -0
- package/plugins/qoder/skills/sprint-flow/references/components/memory.md +1 -1
- package/plugins/qoder/skills/sprint-flow/references/components/middleware.md +1 -1
- package/plugins/qoder/skills/sprint-flow/references/components/skill-invocations.md +21 -20
- package/plugins/qoder/skills/sprint-flow/references/components/tool-descriptions.md +22 -23
- package/plugins/qoder/skills/sprint-flow/references/force-levels.md +0 -1
- package/plugins/qoder/skills/sprint-flow/references/orchestration-rules.md +34 -27
- package/plugins/qoder/skills/sprint-flow/references/phase-1-prep.md +1 -1
- package/plugins/qoder/skills/sprint-flow/references/phase-2-design.md +157 -120
- package/plugins/qoder/skills/sprint-flow/references/phase-3-build.md +203 -2
- package/plugins/qoder/skills/sprint-flow/references/phase-4-verify.md +107 -34
- package/plugins/qoder/skills/sprint-flow/references/phase-5-ship.md +194 -12
- package/plugins/qoder/skills/sprint-flow/references/phase-6-close.md +139 -7
- package/plugins/qoder/skills/sprint-flow/references/phase-overview.md +486 -0
- package/plugins/qoder/skills/sprint-flow/scripts/verify-sprint-state.sh +38 -0
- package/plugins/qoder/skills/sprint-flow/tools.md +29 -0
- package/plugins/qoder/skills/test-specification-alignment/AGENTS.md +3 -3
- package/plugins/qoder/skills/test-specification-alignment/SKILL.md +104 -601
- package/plugins/qoder/skills/to-issues/SKILL.md +1 -1
- package/principles/AGENTS.md +3 -3
- package/skills/delphi-review/AGENTS.md +3 -3
- package/skills/sprint-flow/AGENTS.md +3 -3
- package/skills/test-specification-alignment/AGENTS.md +3 -3
- package/plugins/qoder/skills/ralph-loop/references/components/memory.md +0 -55
- package/plugins/qoder/skills/ralph-loop/references/components/middleware.md +0 -54
- package/plugins/qoder/skills/ralph-loop/references/components/skill-invocations.md +0 -39
- package/plugins/qoder/skills/ralph-loop/references/components/system-prompt.md +0 -24
- 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
|
-
|
|
1017
|
-
|
|
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 "
|
|
1105
|
-
|
|
1106
|
-
|
|
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
|
package/mock-policy/AGENTS.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SRC/MOCK-POLICY KNOWLEDGE BASE
|
|
2
2
|
|
|
3
|
-
**Generated:** 2026-09-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-09-24
|
|
4
|
+
**Commit:** 467174d
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.19.
|
|
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.
|
package/mutation/AGENTS.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# SRC/MUTATION KNOWLEDGE BASE
|
|
2
2
|
|
|
3
|
-
**Generated:** 2026-09-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-09-24
|
|
4
|
+
**Commit:** 467174d
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.19.
|
|
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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xp-gate",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.3",
|
|
4
4
|
"displayName": "XP-Gate",
|
|
5
|
-
"description": "Extreme Programming quality gates + AI workflow skills for Claude Code. Includes
|
|
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-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-09-24
|
|
4
|
+
**Commit:** 467174d
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.19.
|
|
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-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-09-24
|
|
4
|
+
**Commit:** 467174d
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.19.
|
|
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-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-09-24
|
|
4
|
+
**Commit:** 467174d
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.19.
|
|
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.
|
package/plugins/dsh/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boyingliu01/dsh-plugin-xp-gate",
|
|
3
|
-
"version": "0.19.
|
|
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-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-09-24
|
|
4
|
+
**Commit:** 467174d
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.19.
|
|
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-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-09-24
|
|
4
|
+
**Commit:** 467174d
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.19.
|
|
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-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-09-24
|
|
4
|
+
**Commit:** 467174d
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.19.
|
|
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,9 +1,9 @@
|
|
|
1
1
|
# SKILLS/DELPHI-REVIEW KNOWLEDGE BASE
|
|
2
2
|
|
|
3
|
-
**Generated:** 2026-09-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-09-24
|
|
4
|
+
**Commit:** 467174d
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.19.
|
|
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-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-09-24
|
|
4
|
+
**Commit:** 467174d
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.19.
|
|
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-
|
|
4
|
-
**Commit:**
|
|
3
|
+
**Generated:** 2026-09-24
|
|
4
|
+
**Commit:** 467174d
|
|
5
5
|
**Branch:** main
|
|
6
|
-
**Version:** 0.19.
|
|
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.
|
|
3
|
+
"version": "0.19.3",
|
|
4
4
|
"displayName": "XP-Gate",
|
|
5
|
-
"description": "Extreme Programming quality gates + AI workflow skills for Qoder. Includes
|
|
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
|
},
|