@boyingliu01/xp-gate 0.38.115 → 0.38.117

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.
@@ -34,12 +34,22 @@ gate_10_run() {
34
34
  # thousands of gate-10 rows and none of them came from these three arms, which
35
35
  # made "skipped" and "never ran" the same thing. One start stamp, recorded in
36
36
  # each arm that returns before the delegate.
37
+ # Measured 2026-11-23: 125 of 146 gate-10 SKIP rows in .xp-gate/audit.jsonl had
38
+ # NO detail. Both arms below computed a reason and neither passed it:
39
+ #
40
+ # - the not-selected arm set GATE_10_DETAIL but the audit call took only five
41
+ # arguments, so the value was dropped one line after being set
42
+ # - the two arms below set GATE_10_REASON, a variable record_gate_audit never
43
+ # reads (its 6th argument is the detail), so both reasons were invisible
44
+ #
45
+ # Three ways to compute a reason, zero of them reaching the journal -- the
46
+ # "computed, never connected" defect, three times in a 70-line file.
37
47
  GATE_10_START=$(gate_start_ms)
38
48
  if ! gate_enabled 10; then
39
49
  echo "⏭️ SKIPPED - Gate 10: SAST security (not selected by XP_GATE_ONLY_GATE)"
40
50
  GATE_10_STATUS="SKIP"
41
51
  GATE_10_DETAIL="not_selected"
42
- record_gate_audit "gate-10" "sast" "$GATE_10_STATUS" "0" "$GATE_10_START"
52
+ record_gate_audit "gate-10" "sast" "$GATE_10_STATUS" "0" "$GATE_10_START" "$GATE_10_DETAIL"
43
53
  return 0
44
54
  fi
45
55
 
@@ -50,7 +60,7 @@ if any_changed_files_match "\.(ts|tsx|js|jsx|py|go|java|kt|cpp|c|swift|m|dart|sh
50
60
  echo "⏭️ SKIPPED - SAST (gate-10.sh not found)"
51
61
  GATE_10_STATUS="SKIP"
52
62
  GATE_10_REASON="gate_script_missing"
53
- record_gate_audit "gate-10" "sast" "$GATE_10_STATUS" "0" "$GATE_10_START"
63
+ record_gate_audit "gate-10" "sast" "$GATE_10_STATUS" "0" "$GATE_10_START" "$GATE_10_REASON"
54
64
  fi
55
65
  else
56
66
  echo "⏭️ SKIPPED - No code files changed, skipping SAST scan."
@@ -58,7 +68,7 @@ else
58
68
  # reason so the quality report never renders this path as a PASS claim.
59
69
  GATE_10_STATUS="SKIP"
60
70
  GATE_10_REASON="no_code_files_changed"
61
- record_gate_audit "gate-10" "sast" "$GATE_10_STATUS" "0" "$GATE_10_START"
71
+ record_gate_audit "gate-10" "sast" "$GATE_10_STATUS" "0" "$GATE_10_START" "$GATE_10_REASON"
62
72
  fi
63
73
  # ============================================================================
64
74
  return 0
@@ -785,11 +785,18 @@ else
785
785
  else
786
786
  echo " ℹ️ npx/tsx not available - skipping Boy Scout Rule"
787
787
  echo " ⏭️ SKIPPED - Boy Scout Rule (Node.js/tsx not available)"
788
+ # The reason was printed and never recorded. Measured 2026-11-23: all 150
789
+ # gate-6 SKIP rows in .xp-gate/audit.jsonl had NO detail field at all, so
790
+ # the journal could not say whether the boy-scout script was absent, or the
791
+ # toolchain was, or the gate never ran. Prose reaches the person watching
792
+ # the commit; only the record reaches anyone asking later.
793
+ GATE_6_DETAIL="boy_scout_skipped: node/tsx toolchain not available"
788
794
  fi
789
795
  fi
790
796
  else
791
797
  echo " ℹ️ Boy scout rule not available in project - skipping"
792
798
  echo " ⏭️ SKIPPED - Boy Scout Rule (not available in project)"
799
+ GATE_6_DETAIL="boy_scout_skipped: script not present in this project"
793
800
  fi
794
801
  fi
795
802
  # A PASS here must mean 'the checks ran and found nothing'. The two
@@ -2,6 +2,6 @@
2
2
  "verdict": "PASS",
3
3
  "license_type": "MIT",
4
4
  "sha256": "0e7ac423bf2c6e223b7c5b156f8cf72da49d748e56a1641402c31f22ad07dbb5",
5
- "checked_at": "2026-11-23T00:17:45.455Z",
5
+ "checked_at": "2026-11-23T00:26:30.127Z",
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.115",
3
+ "version": "0.38.117",
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.115",
3
+ "version": "0.38.117",
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.115.0
6
+ **Version:** 0.38.117.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.115.0
6
+ **Version:** 0.38.117.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.115.0
6
+ **Version:** 0.38.117.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.115",
3
+ "version": "0.38.117",
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.115.0
6
+ **Version:** 0.38.117.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.115.0
6
+ **Version:** 0.38.117.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.115.0
6
+ **Version:** 0.38.117.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.115",
3
+ "version": "0.38.117",
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.115.0
6
+ **Version:** 0.38.117.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.115.0
6
+ **Version:** 0.38.117.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.115.0
6
+ **Version:** 0.38.117.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.115",
3
+ "version": "0.38.117",
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.115.0
6
+ **Version:** 0.38.117.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.115.0
6
+ **Version:** 0.38.117.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.115.0
6
+ **Version:** 0.38.117.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.115.0
6
+ **Version:** 0.38.117.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.115.0
6
+ **Version:** 0.38.117.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.115.0
6
+ **Version:** 0.38.117.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.