@boyingliu01/xp-gate 0.40.0 → 0.41.0

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.
@@ -278,7 +278,16 @@ else
278
278
  # this file's own directory (covers a test that `source`s the gate directly,
279
279
  # where no driver ran and $GATE_DIR is unset), and the repo root.
280
280
  XP_FC_LIB="${GATE_DIR:-}/lib/file-classifier.sh"
281
+ # In the PUBLISHED package this file lives beside `hooks/`, and the classifier
282
+ # lives at `hooks/lib/`. The three candidates below cover a driver that set
283
+ # $GATE_DIR, a test that sources this file directly (no driver, so the sibling
284
+ # `lib/` one level up), and a checkout. The shipped layout was none of them:
285
+ # `src/npm-package/gate-10.sh` + `src/npm-package/hooks/lib/`, so on CI the gate
286
+ # printed "source classifier missing ... refusing to grade" and exited 0 -- ten
287
+ # assertions in issue-532 measured that refusal instead of a verdict about SAST.
288
+ XP_FC_LIB="${GATE_DIR:-}/lib/file-classifier.sh"
281
289
  [ -f "$XP_FC_LIB" ] || XP_FC_LIB="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" 2>/dev/null && pwd)/lib/file-classifier.sh"
290
+ [ -f "$XP_FC_LIB" ] || XP_FC_LIB="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" 2>/dev/null && pwd)/hooks/lib/file-classifier.sh"
282
291
  [ -f "$XP_FC_LIB" ] || XP_FC_LIB="$(git rev-parse --show-toplevel 2>/dev/null)/githooks/lib/file-classifier.sh"
283
292
  if [ ! -f "$XP_FC_LIB" ]; then
284
293
  echo "BLOCKED - source classifier missing (githooks/lib/file-classifier.sh); refusing to grade an unknown population."
package/bin/xp-gate.js CHANGED
@@ -683,12 +683,38 @@ function handleAuditStats(auditPath) {
683
683
  printStatsTable(stats);
684
684
  printAnomalies(evalGateAuditModule('m.computeAnomalies()'));
685
685
  printSkipReasons(evalGateAuditModule('m.computeSkipReasons()'));
686
+ printSkipPassedViolations(evalGateAuditModule('m.replaySkipPassedViolations()'));
686
687
  } catch (err) {
687
688
  console.error('Error computing stats:', err.message);
688
689
  process.exit(1);
689
690
  }
690
691
  }
691
692
 
693
+ /**
694
+ * Print rows that recorded "SKIP" and "passed" together (#866).
695
+ *
696
+ * The three tables above answer "how often did each gate run" and "why did it
697
+ * skip". Neither can show that a row CONTRADICTS ITSELF, because `passed` counts a
698
+ * skip as a pass by design -- the retry streak reads it. So the contradiction had
699
+ * no place to surface, and 4529 of them sat in this repository's journal.
700
+ *
701
+ * Reported as a count per gate, not per row: the useful question is which gates
702
+ * produce them, and a 4529-line listing buries that.
703
+ */
704
+ function printSkipPassedViolations(result) {
705
+ const found = result && Array.isArray(result.violations) ? result.violations.length : 0;
706
+ console.log('\nSelf-contradictory rows (gate_status=SKIP with passed=true):');
707
+ if (found === 0) {
708
+ console.log(' none — every SKIP row that recorded a verdict recorded it as not-passed.');
709
+ return;
710
+ }
711
+ console.log(` ${found} of ${result.total} row(s). These say "nothing was checked" and`);
712
+ console.log(' "this passed" at once; `passed` counts both, so no pass rate shows it.');
713
+ for (const g of result.byGate) {
714
+ console.log(` ${String(g.count).padStart(6)} ${g.gate_id}`);
715
+ }
716
+ }
717
+
692
718
  /**
693
719
  * Print WHY gates skipped, grouped by reason.
694
720
  *
package/gate-10.sh CHANGED
@@ -278,7 +278,16 @@ else
278
278
  # this file's own directory (covers a test that `source`s the gate directly,
279
279
  # where no driver ran and $GATE_DIR is unset), and the repo root.
280
280
  XP_FC_LIB="${GATE_DIR:-}/lib/file-classifier.sh"
281
+ # In the PUBLISHED package this file lives beside `hooks/`, and the classifier
282
+ # lives at `hooks/lib/`. The three candidates below cover a driver that set
283
+ # $GATE_DIR, a test that sources this file directly (no driver, so the sibling
284
+ # `lib/` one level up), and a checkout. The shipped layout was none of them:
285
+ # `src/npm-package/gate-10.sh` + `src/npm-package/hooks/lib/`, so on CI the gate
286
+ # printed "source classifier missing ... refusing to grade" and exited 0 -- ten
287
+ # assertions in issue-532 measured that refusal instead of a verdict about SAST.
288
+ XP_FC_LIB="${GATE_DIR:-}/lib/file-classifier.sh"
281
289
  [ -f "$XP_FC_LIB" ] || XP_FC_LIB="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" 2>/dev/null && pwd)/lib/file-classifier.sh"
290
+ [ -f "$XP_FC_LIB" ] || XP_FC_LIB="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" 2>/dev/null && pwd)/hooks/lib/file-classifier.sh"
282
291
  [ -f "$XP_FC_LIB" ] || XP_FC_LIB="$(git rev-parse --show-toplevel 2>/dev/null)/githooks/lib/file-classifier.sh"
283
292
  if [ ! -f "$XP_FC_LIB" ]; then
284
293
  echo "BLOCKED - source classifier missing (githooks/lib/file-classifier.sh); refusing to grade an unknown population."
package/hooks/gate-10.sh CHANGED
@@ -278,7 +278,16 @@ else
278
278
  # this file's own directory (covers a test that `source`s the gate directly,
279
279
  # where no driver ran and $GATE_DIR is unset), and the repo root.
280
280
  XP_FC_LIB="${GATE_DIR:-}/lib/file-classifier.sh"
281
+ # In the PUBLISHED package this file lives beside `hooks/`, and the classifier
282
+ # lives at `hooks/lib/`. The three candidates below cover a driver that set
283
+ # $GATE_DIR, a test that sources this file directly (no driver, so the sibling
284
+ # `lib/` one level up), and a checkout. The shipped layout was none of them:
285
+ # `src/npm-package/gate-10.sh` + `src/npm-package/hooks/lib/`, so on CI the gate
286
+ # printed "source classifier missing ... refusing to grade" and exited 0 -- ten
287
+ # assertions in issue-532 measured that refusal instead of a verdict about SAST.
288
+ XP_FC_LIB="${GATE_DIR:-}/lib/file-classifier.sh"
281
289
  [ -f "$XP_FC_LIB" ] || XP_FC_LIB="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" 2>/dev/null && pwd)/lib/file-classifier.sh"
290
+ [ -f "$XP_FC_LIB" ] || XP_FC_LIB="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" 2>/dev/null && pwd)/hooks/lib/file-classifier.sh"
282
291
  [ -f "$XP_FC_LIB" ] || XP_FC_LIB="$(git rev-parse --show-toplevel 2>/dev/null)/githooks/lib/file-classifier.sh"
283
292
  if [ ! -f "$XP_FC_LIB" ]; then
284
293
  echo "BLOCKED - source classifier missing (githooks/lib/file-classifier.sh); refusing to grade an unknown population."
@@ -791,17 +791,24 @@ else
791
791
  # real source path stays unbudgeted. Exclude it and let the mirroring be
792
792
  # governed by Mirror Parity in CI, which compares content rather than
793
793
  # re-linting it. (See the same exclusion in adapters/powershell.sh.)
794
+ MIRROR_EXCLUDE="$MIRROR_PATH_FILTER"
794
795
  # The mutation corpus is DEFECT DATA, not product code: every fixture under
795
796
  # tests/meta-gate/corpus/ carries the violation a gate is being asked to catch.
796
797
  # Boy Scout requires zero warnings from new files, which those files cannot
797
798
  # satisfy by construction -- a corpus with none would test nothing. Excluded here
798
799
  # as well as in the CI workflow so the two surfaces agree about the population.
799
- MIRROR_EXCLUDE="${MIRROR_PATH_FILTER}|^tests/meta-gate/corpus/"
800
+ #
801
+ # A SEPARATE variable, not appended to MIRROR_EXCLUDE: that name means "the
802
+ # mirrored tree" everywhere else, and issue-510 pins it to exactly
803
+ # $MIRROR_PATH_FILTER because two definitions of the mirror prefix is the defect
804
+ # it was filed for. Adding a second concern to the same variable would have
805
+ # re-opened that.
806
+ CORPUS_EXCLUDE='^tests/meta-gate/corpus/'
800
807
  # filter_project_paths also removes dependencies and build output (#649):
801
808
  # a staged node_modules/ or dist/ file is not budgetable project code, and
802
809
  # entering it in the Boy Scout baseline would budget a path nobody edits.
803
- NEW_FILES=$(git diff --cached --name-only --diff-filter=A | filter_project_paths | grep -v "$MIRROR_EXCLUDE" | grep -v "$DASHBOARD_PATH_FILTER" | tr '\n' ' ')
804
- MODIFIED_FILES=$(git diff --cached --name-only --diff-filter=M | filter_project_paths | grep -v "$MIRROR_EXCLUDE" | grep -v "$DASHBOARD_PATH_FILTER" | tr '\n' ' ')
810
+ NEW_FILES=$(git diff --cached --name-only --diff-filter=A | filter_project_paths | grep -v "$MIRROR_EXCLUDE" | grep -v "$DASHBOARD_PATH_FILTER" | grep -Ev "$CORPUS_EXCLUDE" | tr '\n' ' ')
811
+ MODIFIED_FILES=$(git diff --cached --name-only --diff-filter=M | filter_project_paths | grep -v "$MIRROR_EXCLUDE" | grep -v "$DASHBOARD_PATH_FILTER" | grep -Ev "$CORPUS_EXCLUDE" | tr '\n' ' ')
805
812
 
806
813
  if [ -z "$NEW_FILES" ] && [ -z "$MODIFIED_FILES" ]; then
807
814
  echo " ✅ No new or modified files to check."
@@ -476,7 +476,15 @@ case "$GATE_9_STATUS" in
476
476
  # GATE_9_UNVERIFIED is already computed for the PASS note above and the journal;
477
477
  # the SKIP line was the one place it still went unsaid.
478
478
  SKIP)
479
- if [ -n "${GATE_9_UNVERIFIED:-}" ]; then
479
+ # Two different sentences, because they answer different questions.
480
+ #
481
+ # `no_change_needing_build_integrity` is the JOURNAL reason stamped below when
482
+ # the change set carries no language this gate builds -- it must be present, and
483
+ # it must be machine-readable. It is not a list of languages, though, so printing
484
+ # it after "no build-integrity half for:" claimed that a language named
485
+ # `no_change_needing_build_integrity` went unchecked. The reader gets plain
486
+ # English; the journal keeps the token.
487
+ if [ -n "${GATE_9_UNVERIFIED:-}" ] && [ "$GATE_9_UNVERIFIED" != "no_change_needing_build_integrity" ]; then
480
488
  echo "⏭️ Gate 9 skipped in ${GATE_9_DURATION}s — no build-integrity half for: ${GATE_9_UNVERIFIED}"
481
489
  else
482
490
  echo "⏭️ Gate 9 skipped in ${GATE_9_DURATION}s (nothing was verified)"
package/lib/gate-audit.ts CHANGED
@@ -261,6 +261,47 @@ interface GateBucket {
261
261
  verified: number;
262
262
  }
263
263
 
264
+ /** One row whose verdict contradicts itself, with the position that names it. */
265
+ export interface SkipPassedViolation {
266
+ /** Zero-based position in the input, so a replay can name the journal line. */
267
+ index: number;
268
+ gate_id: string;
269
+ gate_status: string;
270
+ passed: boolean;
271
+ }
272
+
273
+ /**
274
+ * Rows that say "nothing was checked" and "this passed" at the same time (#866).
275
+ *
276
+ * `aggregateByGate` keeps counting a SKIP row as `passed` on purpose: `passed`
277
+ * answers "did this gate block?", which the retry streak reads, and redefining it
278
+ * would move every number ever recorded. What was missing is a check that the pair
279
+ * is even coherent -- so this reports the contradiction instead of quietly
280
+ * averaging it into a pass rate.
281
+ *
282
+ * A row with NO `gate_status` is not accused. The field postdates the journal, and
283
+ * a legacy row cannot be judged by it; counting those would turn the check into
284
+ * noise and get it switched off, which is how the defect it guards against would
285
+ * come back.
286
+ *
287
+ * @param entries parsed audit rows, in file order
288
+ * @returns every violating row, in input order (empty when the journal is clean)
289
+ */
290
+ export function findSkipPassedViolations(entries: GateAuditEntry[]): SkipPassedViolation[] {
291
+ const out: SkipPassedViolation[] = [];
292
+ entries.forEach((e, index) => {
293
+ if (e.gate_status !== 'SKIP') return;
294
+ if (e.passed !== true) return;
295
+ out.push({
296
+ index,
297
+ gate_id: typeof e.gate_id === 'string' && e.gate_id ? e.gate_id : 'unknown',
298
+ gate_status: e.gate_status,
299
+ passed: true,
300
+ });
301
+ });
302
+ return out;
303
+ }
304
+
264
305
  export function aggregateByGate(entries: GateAuditEntry[]): Map<string, GateBucket> {
265
306
  const buckets = new Map<string, GateBucket>();
266
307
 
@@ -320,6 +361,33 @@ export function aggregateByGate(entries: GateAuditEntry[]): Map<string, GateBuck
320
361
  return buckets;
321
362
  }
322
363
 
364
+ /**
365
+ * Replay the recorded journal and report every self-contradictory SKIP row (#866).
366
+ *
367
+ * This exists because the constraint was missing, not the data: 4529 rows in this
368
+ * repository's own journal already said "SKIP" and "passed" together, and nothing
369
+ * ever went red for them. `passed` is still reported exactly as before -- this is
370
+ * a diagnostic, and it must not move a historical number.
371
+ *
372
+ * @param repoRoot project root holding `.xp-gate/audit.jsonl`
373
+ * @returns the violations, and the journal size they were drawn from
374
+ */
375
+ export function replaySkipPassedViolations(repoRoot: string = process.cwd()): {
376
+ total: number;
377
+ violations: SkipPassedViolation[];
378
+ byGate: Array<{ gate_id: string; count: number }>;
379
+ } {
380
+ const logPath = join(repoRoot, AUDIT_DIR, AUDIT_FILE);
381
+ const entries = parseAuditEntries(logPath);
382
+ const violations = findSkipPassedViolations(entries);
383
+ const counts = new Map<string, number>();
384
+ for (const v of violations) counts.set(v.gate_id, (counts.get(v.gate_id) ?? 0) + 1);
385
+ const byGate = Array.from(counts.entries())
386
+ .map(([gate_id, count]) => ({ gate_id, count }))
387
+ .sort((a, b) => b.count - a.count || a.gate_id.localeCompare(b.gate_id));
388
+ return { total: entries.length, violations, byGate };
389
+ }
390
+
323
391
  /**
324
392
  * Compute per-gate aggregate statistics.
325
393
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boyingliu01/xp-gate",
3
- "version": "0.40.0",
3
+ "version": "0.41.0",
4
4
  "description": "Deterministic quality gates for AI-generated code: 15 gates, Delphi review, sprint flow. Works with Claude Code, OpenCode, Qoder.",
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.40.0",
3
+ "version": "0.41.0",
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.40.0.0
6
+ **Version:** 0.41.0.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.40.0.0
6
+ **Version:** 0.41.0.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.40.0.0
6
+ **Version:** 0.41.0.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.40.0",
3
+ "version": "0.41.0",
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.40.0.0
6
+ **Version:** 0.41.0.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.40.0.0
6
+ **Version:** 0.41.0.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.40.0.0
6
+ **Version:** 0.41.0.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.40.0",
3
+ "version": "0.41.0",
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.40.0.0
6
+ **Version:** 0.41.0.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.40.0.0
6
+ **Version:** 0.41.0.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.40.0.0
6
+ **Version:** 0.41.0.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.40.0",
3
+ "version": "0.41.0",
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.40.0.0
6
+ **Version:** 0.41.0.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.40.0.0
6
+ **Version:** 0.41.0.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.40.0.0
6
+ **Version:** 0.41.0.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.40.0.0
6
+ **Version:** 0.41.0.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.40.0.0
6
+ **Version:** 0.41.0.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.40.0.0
6
+ **Version:** 0.41.0.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.