@boyingliu01/xp-gate 0.38.58 → 0.38.60

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/gate-registry.sh CHANGED
@@ -94,9 +94,6 @@ GATE_REGISTRY_ROWS=(
94
94
  # deciding its own execution order and skip semantics. Before this the
95
95
  # registry knew nothing about half the gates this project runs (#769).
96
96
  "mutation|M|inline|YES|pre-push"
97
- "mock-density|M2|inline|NO|pre-push"
98
- "mock-layering|ML|inline|YES|pre-push"
99
- "ui-sprint|UI|inline|YES|pre-push"
100
97
  "code-walkthrough|MW|inline|YES|pre-push"
101
98
  "prepush-sprint|S|sprint-gate.sh|YES|pre-push"
102
99
  )
@@ -175,7 +175,7 @@ else
175
175
  echo "$ESLINT_OUTPUT" | head -30
176
176
  echo ""
177
177
  echo "❌ BLOCKED - ${NEW_WARNINGS} NEW lint error(s) (baseline: ${BASELINE_WARNINGS}, current: ${CURRENT_WARNINGS})"
178
- echo "Run 'xp-gate baseline reset' after fixing to update the baseline."
178
+ echo "After fixing, re-record with: node scripts/gen-lint-baseline.cjs"
179
179
  # Blocking without recording: GATE_1_STATUS drives the journal and the quality report.
180
180
  GATE_1_STATUS="FAIL"
181
181
  return 1
@@ -436,7 +436,7 @@ else
436
436
  " | head -30
437
437
  echo ""
438
438
  echo "❌ BLOCKED - ${NEW_WARNINGS} NEW lint error(s) (baseline: ${BASELINE_WARNINGS}, current: ${CURRENT_WARNINGS})"
439
- echo "Run 'xp-gate baseline reset' after fixing to update the baseline."
439
+ echo "After fixing, re-record with: node scripts/gen-lint-baseline.cjs"
440
440
  # Blocking without recording: GATE_1_STATUS drives the journal and the quality report.
441
441
  GATE_1_STATUS="FAIL"
442
442
  return 1
@@ -639,7 +639,7 @@ else
639
639
  " | head -30
640
640
  echo ""
641
641
  echo "❌ BLOCKED - ${NEW_WARNINGS} NEW shellcheck issue(s) (baseline: ${BASELINE_WARNINGS}, current: ${CURRENT_WARNINGS})"
642
- echo "Run 'xp-gate baseline reset' after fixing to update the baseline."
642
+ echo "After fixing, re-record with: node scripts/gen-lint-baseline.cjs"
643
643
  # Blocking without recording: GATE_1_STATUS drives the journal and the quality report.
644
644
  GATE_1_STATUS="FAIL"
645
645
  return 1
@@ -775,9 +775,21 @@ else
775
775
  echo "✅ PASSED - PowerShell code quality (PSScriptAnalyzer)."
776
776
  ;;
777
777
  1)
778
+ # Name the rules, not just the fact. Measured 2026-11-20 on a fixture
779
+ # with an unused variable: the table printed the rule name
780
+ # (PSUseDeclaredVarsMoreThanAssignments) but the verdict line and
781
+ # GATE_1_DETAIL both said only "violations". Anyone reading the journal,
782
+ # the report, or the one-line summary learned that something was wrong
783
+ # and not what -- the same shape as the mypy arm that reported
784
+ # "PASSED - mypy" for a check it never ran.
785
+ PS_RULES=$(printf '%s
786
+ ' "$PS_G1_OUTPUT" | awk 'NF>3 && $1 ~ /^PS[A-Z]/ {print $1}' | sort -u | paste -sd, - 2>/dev/null)
778
787
  echo "❌ BLOCKED - PSScriptAnalyzer violations (fix or add suppressions)"
788
+ if [ -n "$PS_RULES" ]; then
789
+ echo " Rules: $PS_RULES"
790
+ fi
779
791
  GATE_1_STATUS="BLOCK"
780
- GATE_1_DETAIL="powershell: PSScriptAnalyzer findings"
792
+ GATE_1_DETAIL="powershell: PSScriptAnalyzer findings${PS_RULES:+ ($PS_RULES)}"
781
793
  return 1
782
794
  ;;
783
795
  2)
@@ -94,9 +94,6 @@ GATE_REGISTRY_ROWS=(
94
94
  # deciding its own execution order and skip semantics. Before this the
95
95
  # registry knew nothing about half the gates this project runs (#769).
96
96
  "mutation|M|inline|YES|pre-push"
97
- "mock-density|M2|inline|NO|pre-push"
98
- "mock-layering|ML|inline|YES|pre-push"
99
- "ui-sprint|UI|inline|YES|pre-push"
100
97
  "code-walkthrough|MW|inline|YES|pre-push"
101
98
  "prepush-sprint|S|sprint-gate.sh|YES|pre-push"
102
99
  )
package/hooks/pre-push CHANGED
@@ -24,8 +24,12 @@ _LE_CR=$(tr -cd '\r' < "$0" | wc -c | tr -d '[:space:]'); test "${_LE_CR:-0}" -e
24
24
  #
25
25
  # Verified: an LF copy runs through (0 CR bytes); a CRLF copy prints the FATAL
26
26
  # diagnosis and exits 1 with no syntax error.
27
- # Pre-push Hook — 8 gates: Gate 10 (Build Integrity) + M/M-Python/M-Go/M-Java/M-Kotlin (Mutation)
28
- # + M2 (Mock Density, WARNING) + ML (Mock Layering) + UI (UI Sprint Gates) + MW (Code Walkthrough) + S (Sprint Flow)
27
+ # Pre-push Hook: Gate 10 (Build Integrity) + M/M-Python/M-Go/M-Java/M-Kotlin (Mutation)
28
+ # + MW (Code Walkthrough) + S (Sprint Flow)
29
+ #
30
+ # M2 (mock density), ML (mock layering) and UI (UI sprint gates) were removed
31
+ # 2026-11-20: they had a registry row and a report row but no implementation, so
32
+ # they printed SKIP with no reason on every push and could never do otherwise.
29
33
  #
30
34
  # DESIGN: Hook validates result/executes checks, Skill executes AI review
31
35
  # No CLI skill invocation - avoids OpenCode architecture mismatch
@@ -176,7 +180,7 @@ write_pre_push_report() {
176
180
  # #597: the Python body goes to a TEMP FILE, not a `<<PY` heredoc.
177
181
  #
178
182
  # This function runs from the EXIT trap, i.e. AFTER the main body's
179
- # while read local_ref local_sha remote_ref remote_sha; do ...
183
+ # while read -r local_ref local_sha remote_ref remote_sha; do ...
180
184
  # loop has consumed the hook's stdin. A heredoc is read from stdin, so by then
181
185
  # `python - <<PY` receives NOTHING — bash discards the body and executes its
182
186
  # lines as commands instead:
@@ -207,6 +211,30 @@ write_pre_push_report() {
207
211
  printf '%s\n' "_m_details = {'skip_reason': '${GATE_M_SKIP_REASON:-}', 'skip_kind': '${GATE_M_SKIP_KIND:-}', 'duration_ms': '${M_DURATION_MS:-0}', 'mutation_score': '${M_SCORE:-}'}"
208
212
  printf '%s\n' 'if survivors_detail is not None:'
209
213
  printf '%s\n' " _m_details['survivors'] = json.dumps(survivors_detail, sort_keys=True)"
214
+
215
+ printf '%s\n' '# Every SKIP must say why it skipped.'
216
+ printf '%s\n' '#'
217
+ printf '%s\n' '# Measured 2026-11-20: 11 of this hook 12 gates wrote details:{} when they'
218
+ printf '%s\n' '# skipped, so the journal recorded THAT a gate skipped and never WHY. An empty'
219
+ printf '%s\n' '# field reads as nothing-to-do-here; the truth was usually nobody-wrote-it-down.'
220
+ printf '%s\n' '# The four SKIP_REASON variables that already existed were never printed by'
221
+ printf '%s\n' '# this template at all -- the reason was computed and then dropped.'
222
+ printf '%s\n' '_gates = ['
223
+ printf '%s\n' " {'id': 'MP', 'name': 'Gate-Script Mirror Parity', 'status': '${GATE_MP_STATUS:-SKIP}', 'details': {'duration_ms': '${MP_DURATION_MS:-0}', 'skip_reason': '${GATE_MP_SKIP_REASON:-}'}},"
224
+ printf '%s\n' " {'id': '10', 'name': 'Build Integrity', 'status': '${GATE_10_STATUS:-SKIP}', 'details': {'skip_reason': '${GATE_10_SKIP_REASON:-}'}},"
225
+ printf '%s\n' " {'id': 'M', 'name': 'Mutation Testing', 'status': '${GATE_M_STATUS:-SKIP}', 'details': _m_details},"
226
+ printf '%s\n' " {'id': 'M-Python', 'name': 'Mutation Testing (Python)', 'status': '${GATE_M_PY_STATUS:-SKIP}', 'details': {'skip_reason': '${GATE_M_PY_SKIP_REASON:-}'}},"
227
+ printf '%s\n' " {'id': 'M-Go', 'name': 'Mutation Testing (Go)', 'status': '${GATE_M_GO_STATUS:-SKIP}', 'details': {'skip_reason': '${GATE_M_GO_SKIP_REASON:-}'}},"
228
+ printf '%s\n' " {'id': 'M-Java', 'name': 'Mutation Testing (Java)', 'status': '${GATE_M_JAVA_STATUS:-SKIP}', 'details': {'skip_reason': '${GATE_M_JAVA_SKIP_REASON:-}'}},"
229
+ printf '%s\n' " {'id': 'M-Kotlin', 'name': 'Mutation Testing (Kotlin)', 'status': '${GATE_M_KOTLIN_STATUS:-SKIP}', 'details': {'skip_reason': '${GATE_M_KOTLIN_SKIP_REASON:-}'}},"
230
+ printf '%s\n' " {'id': 'MW', 'name': 'Code Walkthrough', 'status': '${GATE_DELPHI_STATUS:-SKIP}', 'details': {'remote': '$REMOTE', 'url': '$URL', 'skip_reason': '${GATE_DELPHI_SKIP_REASON:-}'}},"
231
+ printf '%s\n' " {'id': 'S', 'name': 'Sprint Flow Enforcement', 'status': '${GATE_S_STATUS:-SKIP}', 'details': {'skip_reason': '${GATE_S_SKIP_REASON:-}'}}"
232
+ printf '%s\n' ']'
233
+ printf '%s\n' 'for _g in _gates:'
234
+ printf '%s\n' " if _g['status'] != 'SKIP':"
235
+ printf '%s\n' ' continue'
236
+ printf '%s\n' " if not _g['details'].get('skip_reason'):"
237
+ printf '%s\n' " _g['details']['skip_reason'] = 'reason_not_recorded'"
210
238
  printf '%s\n' 'report = {'
211
239
  printf '%s\n' " 'timestamp': '$timestamp',"
212
240
  printf '%s\n' " 'trigger': 'pre-push',"
@@ -221,20 +249,7 @@ write_pre_push_report() {
221
249
  printf '%s\n' " 'gates_total': None,"
222
250
  printf '%s\n' " 'verdict': '$verdict',"
223
251
  printf '%s\n' " },"
224
- printf '%s\n' " 'gates': ["
225
- printf '%s\n' " {'id': 'MP', 'name': 'Gate-Script Mirror Parity', 'status': '${GATE_MP_STATUS:-SKIP}', 'details': {'duration_ms': '${MP_DURATION_MS:-0}'}},"
226
- printf '%s\n' " {'id': '10', 'name': 'Build Integrity', 'status': '${GATE_10_STATUS:-SKIP}', 'details': {}},"
227
- printf '%s\n' " {'id': 'M', 'name': 'Mutation Testing', 'status': '${GATE_M_STATUS:-SKIP}', 'details': _m_details},"
228
- printf '%s\n' " {'id': 'M-Python', 'name': 'Mutation Testing (Python)', 'status': '${GATE_M_PY_STATUS:-SKIP}', 'details': {'skip_reason': '${GATE_M_PY_SKIP_REASON:-}'}},"
229
- printf '%s\n' " {'id': 'M-Go', 'name': 'Mutation Testing (Go)', 'status': '${GATE_M_GO_STATUS:-SKIP}', 'details': {}},"
230
- printf '%s\n' " {'id': 'M-Java', 'name': 'Mutation Testing (Java)', 'status': '${GATE_M_JAVA_STATUS:-SKIP}', 'details': {}},"
231
- printf '%s\n' " {'id': 'M-Kotlin', 'name': 'Mutation Testing (Kotlin)', 'status': '${GATE_M_KOTLIN_STATUS:-SKIP}', 'details': {}},"
232
- printf '%s\n' " {'id': 'M2', 'name': 'Mock Density (WARNING only)', 'status': '${GATE_M2_STATUS:-SKIP}', 'details': {}},"
233
- printf '%s\n' " {'id': 'ML', 'name': 'Mock Layering', 'status': '${GATE_M3_STATUS:-SKIP}', 'details': {}},"
234
- printf '%s\n' " {'id': 'UI', 'name': 'UI Sprint Gates', 'status': '${GATE_UI_STATUS:-SKIP}', 'details': {}},"
235
- printf '%s\n' " {'id': 'MW', 'name': 'Code Walkthrough', 'status': '${GATE_DELPHI_STATUS:-SKIP}', 'details': {'remote': '$REMOTE', 'url': '$URL', 'skip_reason': '${GATE_DELPHI_SKIP_REASON:-}'}},"
236
- printf '%s\n' " {'id': 'S', 'name': 'Sprint Flow Enforcement', 'status': '${GATE_S_STATUS:-SKIP}', 'details': {}}"
237
- printf '%s\n' " ],"
252
+ printf '%s\n' " 'gates': _gates,"
238
253
  printf '%s\n' " 'warnings': [],"
239
254
  printf '%s\n' " 'errors': [] if '$verdict' == 'PASS' else ['pre-push hook exited with code $exit_code'],"
240
255
  printf '%s\n' '}'
@@ -620,6 +635,7 @@ if [ -n "$SPRINT_GATE_SCRIPT" ]; then
620
635
  else
621
636
  echo "⏭️ SKIPPED - Gate MS: Sprint Flow (sprint-gate.sh not found; searched: $PROJECT_ROOT/githooks, $(dirname "$0"), $HOME/.config/xp-gate/hooks, $HOME/.config/xp-gate/adapters)"
622
637
  GATE_S_STATUS="SKIP"
638
+ GATE_S_SKIP_REASON="sprint_gate_script_not_found"
623
639
  fi
624
640
  echo ""
625
641
 
@@ -678,9 +694,21 @@ if [[ -f "package.json" ]] && [[ -f "tsconfig.json" ]] && [[ -n "$TS_FILES" ]];
678
694
  rm -f "$GATE_10_OUTPUT"
679
695
  else
680
696
  echo "⚠️ Gate 10 script not found. SKIP — Gate 10."
697
+ GATE_10_SKIP_REASON="gate_10_script_not_found"
681
698
  fi
682
699
  else
683
700
  echo "📚 Not a TypeScript project or no TS files changed. SKIP — Gate 10."
701
+ # Name which of the three conditions failed rather than repeating the sentence.
702
+ # These are different situations with different responses: no package.json means
703
+ # this is not the project the gate applies to; no changed TS files means there was
704
+ # genuinely nothing to build.
705
+ if [[ ! -f "package.json" ]]; then
706
+ GATE_10_SKIP_REASON="not_a_node_project"
707
+ elif [[ ! -f "tsconfig.json" ]]; then
708
+ GATE_10_SKIP_REASON="no_tsconfig"
709
+ else
710
+ GATE_10_SKIP_REASON="no_ts_files_changed"
711
+ fi
684
712
  fi
685
713
  echo ""
686
714
 
@@ -846,13 +874,14 @@ else
846
874
 
847
875
  if [[ -z "$MUTATION_SCRIPT" ]]; then
848
876
  echo "⚠️ Gate M script not found. SKIP — Gate M."
877
+ GATE_M_SKIP_REASON="mutation_script_not_found"
849
878
  GATE_M_SKIP_REASON="gate-m.ts not found in .xp-gate/modules, src/mutation, or global modules"
850
879
  GATE_M_SKIP_KIND="module_missing"
851
880
  else
852
881
  # Run mutation gate with timeout matching stryker.conf.json (timeoutMS: 600000 = 10min)
853
882
  MUTATION_OUTPUT=$(mktemp)
854
883
  M_START_MS=$(date +%s%3N 2>/dev/null || python -c 'import time;print(int(time.time()*1000))' 2>/dev/null || echo 0)
855
- RUN_TSX_TIMEOUT=600s run_tsx $MUTATION_SCRIPT --changed-files "$CHANGED_SOURCE_FILES" > "$MUTATION_OUTPUT" 2>&1
884
+ RUN_TSX_TIMEOUT=600s run_tsx "$MUTATION_SCRIPT" --changed-files "$CHANGED_SOURCE_FILES" > "$MUTATION_OUTPUT" 2>&1
856
885
  MUTATION_EXIT=$?
857
886
  M_END_MS=$(date +%s%3N 2>/dev/null || python -c 'import time;print(int(time.time()*1000))' 2>/dev/null || echo 0)
858
887
  if [ "$M_START_MS" != "0" ] && [ "$M_END_MS" != "0" ]; then
@@ -934,6 +963,7 @@ PY_SOURCE_FILES=$(echo "$PY_FILES" | grep -v '/venv/' | grep -v '/\.venv/' || tr
934
963
 
935
964
  if [ -z "$PY_SOURCE_FILES" ]; then
936
965
  echo "📚 No changed Python source files. SKIP — Gate M (Python)."
966
+ GATE_M_PY_SKIP_REASON="no_python_source_files"
937
967
  # #557: this outermost branch was the only Gate M (Python) path that assigned
938
968
  # no status, while Gate M (TypeScript) records a reason on every path. Without
939
969
  # it, "no Python in this push" and "the tool is missing" look identical in the
@@ -989,6 +1019,7 @@ else
989
1019
  rm -f "$MUTATION_OUTPUT"
990
1020
  else
991
1021
  echo "⚠ Gate M script not found. SKIP — Gate M (Python)."
1022
+ GATE_M_PY_SKIP_REASON="mutation_script_not_found"
992
1023
  GATE_M_PY_STATUS="SKIP"
993
1024
  GATE_M_PY_SKIP_REASON="gate_m_script_not_found"
994
1025
  GATES_SKIPPED="${GATES_SKIPPED:-}Gate M Python (gate-m.ts not found)|"
@@ -1012,6 +1043,7 @@ GO_FILES=$(echo "$PUSHED_FILES" | grep -E '\.go$' | grep -v '_test\.go$' | grep
1012
1043
 
1013
1044
  if [ -z "$GO_FILES" ]; then
1014
1045
  echo "📚 No changed Go source files. SKIP — Gate M (Go)."
1046
+ GATE_M_GO_SKIP_REASON="no_go_source_files"
1015
1047
  else
1016
1048
  GO_FILE_LIST=$(echo "$GO_FILES" | tr '\n' ',' | sed 's/,$//')
1017
1049
  echo "🔵 Changed Go files: $GO_FILE_LIST"
@@ -1028,6 +1060,7 @@ else
1028
1060
 
1029
1061
  if [ -z "$MUTATION_SCRIPT" ]; then
1030
1062
  echo "⚠ Gate M script not found. SKIP — Gate M (Go)."
1063
+ GATE_M_GO_SKIP_REASON="mutation_script_not_found"
1031
1064
  else
1032
1065
  MUTATION_OUTPUT=$(mktemp)
1033
1066
  RUN_TSX_TIMEOUT=120s run_tsx "$MUTATION_SCRIPT" --changed-files "$GO_FILE_LIST" --timeout-ms 120000 > "$MUTATION_OUTPUT" 2>&1
@@ -1082,6 +1115,7 @@ JAVA_FILES=$(echo "$PUSHED_FILES" | grep -E '\.java$' | grep -v -E '(Test|Tests)
1082
1115
 
1083
1116
  if [ -z "$JAVA_FILES" ]; then
1084
1117
  echo "📚 No changed Java source files. SKIP — Gate M (Java)."
1118
+ GATE_M_JAVA_SKIP_REASON="no_java_source_files"
1085
1119
  else
1086
1120
  JAVA_FILE_LIST=$(echo "$JAVA_FILES" | tr '\n' ',' | sed 's/,$//')
1087
1121
  echo "☕ Changed Java files: $JAVA_FILE_LIST"
@@ -1098,6 +1132,7 @@ else
1098
1132
 
1099
1133
  if [ -z "$MUTATION_SCRIPT" ]; then
1100
1134
  echo "⚠ Gate M script not found. SKIP — Gate M (Java)."
1135
+ GATE_M_JAVA_SKIP_REASON="mutation_script_not_found"
1101
1136
  else
1102
1137
  MUTATION_OUTPUT=$(mktemp)
1103
1138
  RUN_TSX_TIMEOUT=600s run_tsx "$MUTATION_SCRIPT" --changed-files "$JAVA_FILE_LIST" --timeout-ms 600000 > "$MUTATION_OUTPUT" 2>&1
@@ -1152,6 +1187,7 @@ KT_FILES=$(echo "$PUSHED_FILES" | grep -E '\.kt$|\.kts$' | grep -v -E '(Test|Tes
1152
1187
 
1153
1188
  if [ -z "$KT_FILES" ]; then
1154
1189
  echo "📚 No changed Kotlin source files. SKIP — Gate M (Kotlin)."
1190
+ GATE_M_KOTLIN_SKIP_REASON="no_kotlin_source_files"
1155
1191
  else
1156
1192
  KT_FILE_LIST=$(echo "$KT_FILES" | tr '\n' ',' | sed 's/,$//')
1157
1193
  echo "🟣 Changed Kotlin files: $KT_FILE_LIST"
@@ -1168,6 +1204,7 @@ else
1168
1204
 
1169
1205
  if [ -z "$MUTATION_SCRIPT" ]; then
1170
1206
  echo "⚠ Gate M script not found. SKIP — Gate M (Kotlin)."
1207
+ GATE_M_KOTLIN_SKIP_REASON="mutation_script_not_found"
1171
1208
  else
1172
1209
  MUTATION_OUTPUT=$(mktemp)
1173
1210
  RUN_TSX_TIMEOUT=600s run_tsx "$MUTATION_SCRIPT" --changed-files "$KT_FILE_LIST" --timeout-ms 600000 > "$MUTATION_OUTPUT" 2>&1
@@ -1287,7 +1324,7 @@ else
1287
1324
  done
1288
1325
 
1289
1326
  # Count total non-empty, non-comment lines for density denominator
1290
- TOTAL_LINES=$(grep -v '^\s*$' "$test_file" | grep -v '^\s*//' | grep -v '^\s*\*' | grep -v '^\s*#' | wc -l | awk '{print $1}')
1327
+ TOTAL_LINES=$(grep -v '^\s*$' "$test_file" | grep -v '^\s*//' | grep -v '^\s*\*' | grep -v '^\s*#' | wc -l | tr -d ' ')
1291
1328
  TOTAL_LINES=${TOTAL_LINES//[^0-9]/}
1292
1329
  TOTAL_LINES=${TOTAL_LINES:-0}
1293
1330
 
@@ -1361,7 +1398,8 @@ run_gate_m3() {
1361
1398
  fi
1362
1399
 
1363
1400
  # Filter to test files only
1364
- local test_files=$(echo "$changed_files" | grep -E '\.(test|spec)\.ts$' || true)
1401
+ local test_files
1402
+ test_files=$(echo "$changed_files" | grep -E '\.(test|spec)\.ts$' || true)
1365
1403
 
1366
1404
  if [[ -z "$test_files" ]]; then
1367
1405
  echo " SKIP — no test files changed"
@@ -2,6 +2,6 @@
2
2
  "verdict": "PASS",
3
3
  "license_type": "MIT",
4
4
  "sha256": "0e7ac423bf2c6e223b7c5b156f8cf72da49d748e56a1641402c31f22ad07dbb5",
5
- "checked_at": "2026-11-19T22:39:15.383Z",
5
+ "checked_at": "2026-11-19T23:12:01.044Z",
6
6
  "source": "network"
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boyingliu01/xp-gate",
3
- "version": "0.38.58",
3
+ "version": "0.38.60",
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.38.58",
3
+ "version": "0.38.60",
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": {
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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; each REQ starts from a clean context instead of accumulating one across REQs). HARD-GATE between DESIGN (2/6) and BUILD (3/6): design must pass Delphi review (≥90% consensus) before any coding.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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.38.58",
3
+ "version": "0.38.60",
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",
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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; each REQ starts from a clean context instead of accumulating one across REQs). HARD-GATE between DESIGN (2/6) and BUILD (3/6): design must pass Delphi review (≥90% consensus) before any coding.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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.38.58",
3
+ "version": "0.38.60",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "description": "XP-Gate quality gates + AI workflow skills for OpenCode",
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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; each REQ starts from a clean context instead of accumulating one across REQs). HARD-GATE between DESIGN (2/6) and BUILD (3/6): design must pass Delphi review (≥90% consensus) before any coding.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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; each REQ starts from a clean context instead of accumulating one across REQs). HARD-GATE between DESIGN (2/6) and BUILD (3/6): design must pass Delphi review (≥90% consensus) before any coding.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.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; each REQ starts from a clean context instead of accumulating one across REQs). HARD-GATE between DESIGN (2/6) and BUILD (3/6): design must pass Delphi review (≥90% consensus) before any coding.
@@ -3,7 +3,7 @@
3
3
  **Generated:** 2026-11-04
4
4
  **Commit:** eb2097b0
5
5
  **Branch:** sprint/2026-11-03-02
6
- **Version:** 0.38.58.0
6
+ **Version:** 0.38.60.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.