@boyingliu01/xp-gate 0.38.14 → 0.38.16
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/build-integrity/gate-10.ts +2 -2
- package/gate-3.sh +24 -0
- package/hooks/gate-3.sh +24 -0
- package/hooks/gate-entries/gate-2-entry.sh +66 -9
- package/hooks/gate-entries/gate-9-entry.sh +55 -3
- package/lib/mattpocock-license-verdict.json +1 -1
- package/package.json +1 -1
- package/plugins/claude-code/.claude-plugin/plugin.json +1 -1
- package/plugins/claude-code/skills/delphi-review/AGENTS.md +1 -1
- package/plugins/claude-code/skills/sprint-flow/AGENTS.md +1 -1
- package/plugins/claude-code/skills/test-specification-alignment/AGENTS.md +1 -1
- package/plugins/dsh/package.json +1 -1
- package/plugins/dsh/skills/delphi-review/AGENTS.md +1 -1
- package/plugins/dsh/skills/sprint-flow/AGENTS.md +1 -1
- package/plugins/dsh/skills/test-specification-alignment/AGENTS.md +1 -1
- package/plugins/opencode/package.json +1 -1
- package/plugins/opencode/skills/delphi-review/AGENTS.md +1 -1
- package/plugins/opencode/skills/sprint-flow/AGENTS.md +1 -1
- package/plugins/opencode/skills/test-specification-alignment/AGENTS.md +1 -1
- package/plugins/qoder/plugin.json +1 -1
- package/plugins/qoder/skills/delphi-review/AGENTS.md +1 -1
- package/plugins/qoder/skills/sprint-flow/AGENTS.md +1 -1
- package/plugins/qoder/skills/test-specification-alignment/AGENTS.md +1 -1
- package/skills/delphi-review/AGENTS.md +1 -1
- package/skills/sprint-flow/AGENTS.md +1 -1
- package/skills/test-specification-alignment/AGENTS.md +1 -1
|
@@ -836,7 +836,7 @@ export function parseGate10Args(args: string[]): Gate10Args {
|
|
|
836
836
|
// ─── CLI Result Formatting ─────────────────────────────────────────────────────
|
|
837
837
|
|
|
838
838
|
function printHelp(): void {
|
|
839
|
-
console.log(`
|
|
839
|
+
console.log(`Build Integrity Check (Gate 9)
|
|
840
840
|
|
|
841
841
|
Usage:
|
|
842
842
|
npx tsx src/build-integrity/gate-10.ts --changed-files <files> [options]
|
|
@@ -854,7 +854,7 @@ Exit codes:
|
|
|
854
854
|
|
|
855
855
|
function printGate10Result(result: Gate10Result): void {
|
|
856
856
|
console.log('');
|
|
857
|
-
console.log('
|
|
857
|
+
console.log('Build Integrity Check (Gate 9)');
|
|
858
858
|
console.log('─'.repeat(50));
|
|
859
859
|
console.log(
|
|
860
860
|
` tsc: ${formatStatus(result.checks.tsc.status)} ${result.checks.tsc.message.split('\n')[0]} (${result.checks.tsc.durationMs}ms)`
|
package/gate-3.sh
CHANGED
|
@@ -547,6 +547,19 @@ CC_POP_EOF
|
|
|
547
547
|
RATCHET_VERDICT=$(printf '%s\n' "$CC_CSV" | evaluate_ccn_ratchet ".ccn-baseline.json")
|
|
548
548
|
CC_VIOLATIONS=$(printf '%s\n' "$RATCHET_VERDICT" | grep -c '^BLOCK ' || true)
|
|
549
549
|
CC_LOWER=$(printf '%s\n' "$RATCHET_VERDICT" | grep -c '^LOWER ' || true)
|
|
550
|
+
# #683 landed on the flat-threshold arm below and not here. The library
|
|
551
|
+
# emits a third kind of line -- UNVERIFIED -- for "no parsable CCN row at
|
|
552
|
+
# all", and this arm counted only BLOCK lines. An UNVERIFIED verdict
|
|
553
|
+
# therefore arrived as CC_VIOLATIONS=0 and took the PASS branch:
|
|
554
|
+
#
|
|
555
|
+
# UNVERIFIED no parsable CCN row (lizard produced no measurable function)
|
|
556
|
+
# ✅ PASSED - Complexity within ratchet baseline.
|
|
557
|
+
#
|
|
558
|
+
# Measured live in this repo: both lines came from one run, with
|
|
559
|
+
# issues_found=0 in the journal. The library's own comment states the
|
|
560
|
+
# rule this branch was breaking -- "'unverified' means never 'clean'".
|
|
561
|
+
# The ratchet cannot claim a verdict over rows it could not read.
|
|
562
|
+
CC_UNVERIFIED=$(printf '%s\n' "$RATCHET_VERDICT" | grep -c '^UNVERIFIED' || true)
|
|
550
563
|
printf '%s\n' "$RATCHET_VERDICT" | grep -v '^OK ' || true
|
|
551
564
|
if [ "${CC_LOWER:-0}" -gt 0 ]; then
|
|
552
565
|
echo "ℹ️ $CC_LOWER function(s) improved below baseline — refresh with: node scripts/ccn-report.cjs --write-baseline"
|
|
@@ -557,6 +570,17 @@ CC_POP_EOF
|
|
|
557
570
|
echo "❌ BLOCKED - $CC_VIOLATIONS function(s) violate the complexity ratchet (.ccn-baseline.json)."
|
|
558
571
|
echo "Revert the increase, or refactor; refresh the baseline only via ccn-baseline-refresh commits."
|
|
559
572
|
exit 1
|
|
573
|
+
elif [ "${CC_UNVERIFIED:-0}" -gt 0 ]; then
|
|
574
|
+
# WARN, not BLOCK: a tool that could not answer is an environment
|
|
575
|
+
# fault, and the convention for a missing tool is SKIP/WARN. What it
|
|
576
|
+
# must not be is a pass.
|
|
577
|
+
echo "⚠️ WARN - complexity ratchet could not grade the change set; nothing was verified."
|
|
578
|
+
echo " Run 'npx lizard --csv <files>' by hand to see why the rows are missing."
|
|
579
|
+
GATE_3_STATUS="WARN"
|
|
580
|
+
# Consumed by the sourcing parent (pre-commit report JSON), not here.
|
|
581
|
+
# shellcheck disable=SC2034
|
|
582
|
+
GATE_3_REASON="ratchet_no_parsable_rows"
|
|
583
|
+
GATE_3_DETAIL="mode=ratchet unverified=1"
|
|
560
584
|
else
|
|
561
585
|
echo "✅ PASSED - Complexity within ratchet baseline."
|
|
562
586
|
GATE_3_STATUS="PASS"
|
package/hooks/gate-3.sh
CHANGED
|
@@ -547,6 +547,19 @@ CC_POP_EOF
|
|
|
547
547
|
RATCHET_VERDICT=$(printf '%s\n' "$CC_CSV" | evaluate_ccn_ratchet ".ccn-baseline.json")
|
|
548
548
|
CC_VIOLATIONS=$(printf '%s\n' "$RATCHET_VERDICT" | grep -c '^BLOCK ' || true)
|
|
549
549
|
CC_LOWER=$(printf '%s\n' "$RATCHET_VERDICT" | grep -c '^LOWER ' || true)
|
|
550
|
+
# #683 landed on the flat-threshold arm below and not here. The library
|
|
551
|
+
# emits a third kind of line -- UNVERIFIED -- for "no parsable CCN row at
|
|
552
|
+
# all", and this arm counted only BLOCK lines. An UNVERIFIED verdict
|
|
553
|
+
# therefore arrived as CC_VIOLATIONS=0 and took the PASS branch:
|
|
554
|
+
#
|
|
555
|
+
# UNVERIFIED no parsable CCN row (lizard produced no measurable function)
|
|
556
|
+
# ✅ PASSED - Complexity within ratchet baseline.
|
|
557
|
+
#
|
|
558
|
+
# Measured live in this repo: both lines came from one run, with
|
|
559
|
+
# issues_found=0 in the journal. The library's own comment states the
|
|
560
|
+
# rule this branch was breaking -- "'unverified' means never 'clean'".
|
|
561
|
+
# The ratchet cannot claim a verdict over rows it could not read.
|
|
562
|
+
CC_UNVERIFIED=$(printf '%s\n' "$RATCHET_VERDICT" | grep -c '^UNVERIFIED' || true)
|
|
550
563
|
printf '%s\n' "$RATCHET_VERDICT" | grep -v '^OK ' || true
|
|
551
564
|
if [ "${CC_LOWER:-0}" -gt 0 ]; then
|
|
552
565
|
echo "ℹ️ $CC_LOWER function(s) improved below baseline — refresh with: node scripts/ccn-report.cjs --write-baseline"
|
|
@@ -557,6 +570,17 @@ CC_POP_EOF
|
|
|
557
570
|
echo "❌ BLOCKED - $CC_VIOLATIONS function(s) violate the complexity ratchet (.ccn-baseline.json)."
|
|
558
571
|
echo "Revert the increase, or refactor; refresh the baseline only via ccn-baseline-refresh commits."
|
|
559
572
|
exit 1
|
|
573
|
+
elif [ "${CC_UNVERIFIED:-0}" -gt 0 ]; then
|
|
574
|
+
# WARN, not BLOCK: a tool that could not answer is an environment
|
|
575
|
+
# fault, and the convention for a missing tool is SKIP/WARN. What it
|
|
576
|
+
# must not be is a pass.
|
|
577
|
+
echo "⚠️ WARN - complexity ratchet could not grade the change set; nothing was verified."
|
|
578
|
+
echo " Run 'npx lizard --csv <files>' by hand to see why the rows are missing."
|
|
579
|
+
GATE_3_STATUS="WARN"
|
|
580
|
+
# Consumed by the sourcing parent (pre-commit report JSON), not here.
|
|
581
|
+
# shellcheck disable=SC2034
|
|
582
|
+
GATE_3_REASON="ratchet_no_parsable_rows"
|
|
583
|
+
GATE_3_DETAIL="mode=ratchet unverified=1"
|
|
560
584
|
else
|
|
561
585
|
echo "✅ PASSED - Complexity within ratchet baseline."
|
|
562
586
|
GATE_3_STATUS="PASS"
|
|
@@ -104,16 +104,52 @@ EOF_CHANGED
|
|
|
104
104
|
python)
|
|
105
105
|
if command -v pylint &> /dev/null; then
|
|
106
106
|
echo "Running pylint duplicate detection..."
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
# Array, not an unquoted substitution: with no .py file in the change set the
|
|
108
|
+
# old form expanded to zero arguments and pylint was invoked on the whole
|
|
109
|
+
# cwd; with a path containing a space it expanded to two bogus paths. The
|
|
110
|
+
# `if ! require` guard keeps this arm from running on an empty list.
|
|
111
|
+
PYLINT_FILES=()
|
|
112
|
+
while IFS= read -r _pf; do
|
|
113
|
+
[ -n "$_pf" ] || continue
|
|
114
|
+
PYLINT_FILES+=("$_pf")
|
|
115
|
+
done <<PYLINT_LIST
|
|
116
|
+
$(echo "$CHANGED_FILES" | grep "\.py$" || true)
|
|
117
|
+
PYLINT_LIST
|
|
118
|
+
if [ "${#PYLINT_FILES[@]}" -eq 0 ]; then
|
|
119
|
+
echo "ℹ️ No .py files in this change set — nothing to scan."
|
|
111
120
|
else
|
|
112
|
-
|
|
121
|
+
pylint --disable=all --enable=duplicate-code "${PYLINT_FILES[@]}"
|
|
122
|
+
DUPLICATE_EXIT=$?
|
|
123
|
+
if [ "$DUPLICATE_EXIT" -ne 0 ]; then
|
|
124
|
+
# pylint's exit status is a BITMASK (1 fatal, 2 error, 4 warning,
|
|
125
|
+
# 8 refactor, 16 convention, 32 usage error). duplicate-code is a
|
|
126
|
+
# REFACTOR message, so "found duplicates" is bit 8 -- and a fatal error
|
|
127
|
+
# or a crash also exits non-zero. The old code treated every non-zero as
|
|
128
|
+
# "found duplicates (warning)" and every zero as "✅ PASSED", so a pylint
|
|
129
|
+
# that could not even start still reached the PASS line below.
|
|
130
|
+
if [ $(( DUPLICATE_EXIT & 1 )) -ne 0 ]; then
|
|
131
|
+
echo "⏭️ SKIPPED - Duplicate code (pylint fatal error, exit $DUPLICATE_EXIT)"
|
|
132
|
+
GATE_2_STATUS="SKIP"
|
|
133
|
+
GATE_2_DETAIL="pylint_fatal"
|
|
134
|
+
elif [ $(( DUPLICATE_EXIT & 32 )) -ne 0 ]; then
|
|
135
|
+
echo "⏭️ SKIPPED - Duplicate code (pylint usage error, exit $DUPLICATE_EXIT)"
|
|
136
|
+
GATE_2_STATUS="SKIP"
|
|
137
|
+
GATE_2_DETAIL="pylint_usage_error"
|
|
138
|
+
elif [ $(( DUPLICATE_EXIT & 8 )) -ne 0 ]; then
|
|
139
|
+
echo "ℹ️ pylint found duplicate code (warning, not typically blocking)"
|
|
140
|
+
else
|
|
141
|
+
echo "ℹ️ pylint reported other messages (exit $DUPLICATE_EXIT); duplicate-code was not among them."
|
|
142
|
+
fi
|
|
143
|
+
else
|
|
144
|
+
echo "✅ PASSED - pylint found no duplicates."
|
|
145
|
+
fi
|
|
113
146
|
fi
|
|
114
147
|
else
|
|
115
148
|
echo "ℹ️ pylint not found — skipping Python duplicate code check."
|
|
116
149
|
echo " Install pylint: pip install pylint"
|
|
150
|
+
echo "⏭️ SKIPPED - Duplicate code (pylint not installed)"
|
|
151
|
+
GATE_2_STATUS="SKIP"
|
|
152
|
+
GATE_2_DETAIL="pylint_not_installed"
|
|
117
153
|
fi
|
|
118
154
|
;;
|
|
119
155
|
|
|
@@ -133,10 +169,23 @@ EOF_CHANGED
|
|
|
133
169
|
head -10 "$GO_JSCPD_TMP"
|
|
134
170
|
rm -f "$GO_JSCPD_TMP"
|
|
135
171
|
if [ "$JSCPD_GO_EXIT" -ne 0 ]; then
|
|
136
|
-
|
|
172
|
+
# This used to print the warning and then fall through to "✅ PASSED -
|
|
173
|
+
# Go duplicate code check completed." below, unconditionally. Measured with
|
|
174
|
+
# a jscpd stub exiting 1:
|
|
175
|
+
# ⚠️ jscpd (Go) exited with code 1
|
|
176
|
+
# ✅ PASSED - Go duplicate code check completed.
|
|
177
|
+
# [audit] status=PASS
|
|
178
|
+
# A tool that failed to run is not a clean result, and the Go half is the
|
|
179
|
+
# one place in this gate that never consulted an outcome at all.
|
|
180
|
+
echo "⏭️ SKIPPED - Duplicate code (jscpd Go run error, exit $JSCPD_GO_EXIT)"
|
|
181
|
+
GATE_2_STATUS="SKIP"
|
|
182
|
+
GATE_2_DETAIL="jscpd_go_run_error"
|
|
183
|
+
elif [ "$GATE_2_STATUS" = "PASS" ]; then
|
|
184
|
+
echo "✅ PASSED - Go duplicate code check completed."
|
|
137
185
|
fi
|
|
186
|
+
else
|
|
187
|
+
echo "ℹ️ No .go files in this change set — nothing to scan."
|
|
138
188
|
fi
|
|
139
|
-
echo "✅ PASSED - Go duplicate code check completed."
|
|
140
189
|
;;
|
|
141
190
|
|
|
142
191
|
powershell)
|
|
@@ -176,10 +225,18 @@ EOF_GENERIC
|
|
|
176
225
|
head -15 "$GENERIC_JSCPD_TMP" || true
|
|
177
226
|
rm -f "$GENERIC_JSCPD_TMP"
|
|
178
227
|
if [ "${GENERIC_JSCPD_EXIT:-0}" -ne 0 ]; then
|
|
179
|
-
|
|
228
|
+
# Same shape as the Go arm: a warning, then an unconditional "✅ PASSED"
|
|
229
|
+
# on the next line. Measured with a jscpd stub exiting 2:
|
|
230
|
+
# ⚠️ jscpd exited with code 2 (see output above)
|
|
231
|
+
# ✅ PASSED - jscpd check completed.
|
|
232
|
+
echo "⏭️ SKIPPED - Duplicate code (jscpd run error, exit $GENERIC_JSCPD_EXIT)"
|
|
233
|
+
GATE_2_STATUS="SKIP"
|
|
234
|
+
GATE_2_DETAIL="jscpd_run_error"
|
|
180
235
|
fi
|
|
181
236
|
fi
|
|
182
|
-
|
|
237
|
+
if [ "$GATE_2_STATUS" = "PASS" ]; then
|
|
238
|
+
echo "✅ PASSED - jscpd check completed."
|
|
239
|
+
fi
|
|
183
240
|
else
|
|
184
241
|
echo "✅ PASSED - No source files detected for duplicate checking."
|
|
185
242
|
fi
|
|
@@ -194,6 +194,11 @@ GATE_9_START=$(gate_start_ms)
|
|
|
194
194
|
GATE_9_TS_STATUS="SKIP"
|
|
195
195
|
GATE_9_JAVA_STATUS="SKIP"
|
|
196
196
|
GATE_9_STATUS="SKIP"
|
|
197
|
+
# Languages present in this change set that the gate cannot check. Empty means
|
|
198
|
+
# "everything in the change set was either verified or not applicable"; a value
|
|
199
|
+
# means "this commit contains code nobody built". Initialised empty rather than
|
|
200
|
+
# left unset so the PASS warning below is safe under `set -u`.
|
|
201
|
+
GATE_9_UNVERIFIED=""
|
|
197
202
|
|
|
198
203
|
if [ "$DOCS_ONLY_COMMIT" = true ]; then
|
|
199
204
|
# REQ-F2: tsc cannot observe a markdown edit. The commit-level docs-only
|
|
@@ -226,7 +231,22 @@ elif [ -f "package.json" ] && [ -f "tsconfig.json" ]; then
|
|
|
226
231
|
GATE_9_PROJECT_ROOT=$(to_native_path "$PROJECT_ROOT")
|
|
227
232
|
|
|
228
233
|
if [ -n "$GATE_9_SCRIPT" ]; then
|
|
229
|
-
|
|
234
|
+
# CHANGED_FILES is NEWLINE-separated (gate-0-entry.sh builds it with
|
|
235
|
+
# printf '%s\n'). This used to be `tr ' ' ','`, which did neither half of
|
|
236
|
+
# that correctly:
|
|
237
|
+
#
|
|
238
|
+
# - it never converted the actual separator, so every newline survived
|
|
239
|
+
# into the argument the checker received (splitChangedFiles only splits
|
|
240
|
+
# on ','), and
|
|
241
|
+
# - it converted any space INSIDE a path, so "src/my file.ts" arrived as
|
|
242
|
+
# the two fragments "src/my" and "file.ts" -- neither of which exists.
|
|
243
|
+
#
|
|
244
|
+
# Measured: `--changed-files "src/my file.ts"` reached the checker as
|
|
245
|
+
# "src/my,file.ts" and the import scan reported a file it had never opened.
|
|
246
|
+
# The tsc half is unaffected (it compiles from projectRoot, not from this
|
|
247
|
+
# list), which is why the defect never blocked anything -- the import check
|
|
248
|
+
# simply stopped covering the file.
|
|
249
|
+
CHANGED_FILES_CSV=$(printf '%s' "$CHANGED_FILES" | tr '\n' ',')
|
|
230
250
|
GATE_9_OUTPUT=$(mktemp)
|
|
231
251
|
if RUN_TSX_TIMEOUT=120s run_tsx "$GATE_9_SCRIPT" --changed-files "$CHANGED_FILES_CSV" --project-root "$GATE_9_PROJECT_ROOT" --timeout 115000 > "$GATE_9_OUTPUT" 2>&1; then
|
|
232
252
|
GATE_9_TS_STATUS="PASS"
|
|
@@ -280,6 +300,17 @@ if echo "$CHANGED_FILES" | grep -q '\.java$'; then
|
|
|
280
300
|
;;
|
|
281
301
|
esac
|
|
282
302
|
elif [ -f "build.gradle" ] || [ -f "build.gradle.kts" ]; then
|
|
303
|
+
# This arm printed a warning and set NOTHING. GATE_9_JAVA_STATUS kept its
|
|
304
|
+
# initial "SKIP", which the aggregation below cannot distinguish from "Java
|
|
305
|
+
# was not part of this change". Measured on a TS+Gradle fixture: tsc passed,
|
|
306
|
+
# the Java half was never built, and the gate reported PASS with no line
|
|
307
|
+
# saying that a language in the change set went unverified.
|
|
308
|
+
#
|
|
309
|
+
# Gradle support is genuinely backlog (#507 DR-003), so this must not block.
|
|
310
|
+
# But "we could not check your Java" is a different fact from "nothing to
|
|
311
|
+
# check", and it has to reach both the human and the journal.
|
|
312
|
+
GATE_9_JAVA_STATUS="SKIP"
|
|
313
|
+
GATE_9_UNVERIFIED="java:gradle_unsupported"
|
|
283
314
|
echo " ⚠️ Java changes staged but this is a Gradle project - build integrity for Gradle is not implemented yet"
|
|
284
315
|
echo " ⏭️ SKIPPED - Build integrity Java (Gradle backlog, #507 DR-003)"
|
|
285
316
|
else
|
|
@@ -301,12 +332,33 @@ fi
|
|
|
301
332
|
if [ "$GATE_9_TS_STATUS" = "BLOCK" ] || [ "$GATE_9_JAVA_STATUS" = "BLOCK" ]; then
|
|
302
333
|
GATE_9_STATUS="BLOCK"
|
|
303
334
|
fi
|
|
335
|
+
# A PASS that leaves part of the change set unverified is still a PASS -- the
|
|
336
|
+
# unverified language is backlog, not a defect in this commit -- but it must SAY
|
|
337
|
+
# so. This is the same rule as everywhere else in this hook: never let the
|
|
338
|
+
# absence of a verdict read as a positive one.
|
|
339
|
+
if [ "$GATE_9_STATUS" = "PASS" ] && [ -n "${GATE_9_UNVERIFIED:-}" ]; then
|
|
340
|
+
echo " ⚠️ Gate 9 PASSED for the languages it can check; NOT verified: ${GATE_9_UNVERIFIED}"
|
|
341
|
+
fi
|
|
304
342
|
|
|
305
343
|
GATE_9_END=$(gate_start_ms)
|
|
306
344
|
GATE_9_DURATION_MS=$((GATE_9_END - GATE_9_START))
|
|
307
345
|
GATE_9_DURATION=$((GATE_9_DURATION_MS / 1000))
|
|
308
|
-
|
|
309
|
-
|
|
346
|
+
# The tick used to be unconditional: `✅ Gate 9 completed` printed even when the
|
|
347
|
+
# gate had just announced "not a TypeScript project - skipping". Measured on a
|
|
348
|
+
# Python-only fixture:
|
|
349
|
+
# ℹ️ Not a TypeScript project - skipping build integrity check
|
|
350
|
+
# ⏭️ SKIPPED - Build integrity (not a TypeScript project)
|
|
351
|
+
# ✅ Gate 9 completed in 0s
|
|
352
|
+
# status=SKIP
|
|
353
|
+
# Two lines of "skipped" followed by a green tick is the exact shape this
|
|
354
|
+
# codebase keeps having to remove: the journal said SKIP while the last line the
|
|
355
|
+
# human reads said success. The tick now follows the verdict it summarises.
|
|
356
|
+
case "$GATE_9_STATUS" in
|
|
357
|
+
PASS) echo "✅ Gate 9 completed in ${GATE_9_DURATION}s" ;;
|
|
358
|
+
SKIP) echo "⏭️ Gate 9 skipped in ${GATE_9_DURATION}s (nothing was verified)" ;;
|
|
359
|
+
*) echo "❌ Gate 9 blocked in ${GATE_9_DURATION}s" ;;
|
|
360
|
+
esac
|
|
361
|
+
record_gate_audit "gate-9" "build-integrity" "$GATE_9_STATUS" "0" "$GATE_9_START" "${GATE_9_UNVERIFIED:-}"
|
|
310
362
|
echo ""
|
|
311
363
|
# ============================================================================
|
|
312
364
|
return 0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xp-gate",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.16",
|
|
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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.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.38.
|
|
3
|
+
"version": "0.38.16",
|
|
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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.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.38.
|
|
3
|
+
"version": "0.38.16",
|
|
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": {
|
|
@@ -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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.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.
|
|
6
|
+
**Version:** 0.38.16.0
|
|
7
7
|
|
|
8
8
|
## OVERVIEW
|
|
9
9
|
Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.
|