@boyingliu01/xp-gate 0.38.86 → 0.38.87

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.
@@ -405,7 +405,7 @@ else
405
405
  echo ""
406
406
  echo "❌ BLOCKED - File hygiene violations must be fixed before commit."
407
407
  GATE_12_STATUS="BLOCK"
408
- record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START"
408
+ record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START" "${GATE_12_DETAIL:-}"
409
409
  exit 1
410
410
  else
411
411
  echo ""
@@ -413,7 +413,15 @@ else
413
413
  echo " Fix recommended but not blocking (no conflict markers or syntax errors)."
414
414
  echo " Issues:$HYGIENE_FILES"
415
415
  GATE_12_STATUS="WARN"
416
+ # The journal carried only a count. Name the checks that fired, so a WARN
417
+ # in the record says WHICH hygiene rule was broken without re-running the
418
+ # gate. Same defect family as gate-4/6/10/13: the console knew, the record
419
+ # did not.
420
+ _g12_kinds=""
421
+ [ -n "${GATE_12_HAS_TRAILING_WS:-}" ] && _g12_kinds="${_g12_kinds}${_g12_kinds:+,}trailing_whitespace"
422
+ [ -n "${GATE_12_MISSING_EOF:-}" ] && _g12_kinds="${_g12_kinds}${_g12_kinds:+,}missing_eof_newline"
423
+ GATE_12_DETAIL="${_g12_kinds:-hygiene_warnings}"
416
424
  fi
417
425
  fi
418
426
 
419
- record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START"
427
+ record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START" "${GATE_12_DETAIL:-}"
@@ -405,7 +405,7 @@ else
405
405
  echo ""
406
406
  echo "❌ BLOCKED - File hygiene violations must be fixed before commit."
407
407
  GATE_12_STATUS="BLOCK"
408
- record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START"
408
+ record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START" "${GATE_12_DETAIL:-}"
409
409
  exit 1
410
410
  else
411
411
  echo ""
@@ -413,7 +413,15 @@ else
413
413
  echo " Fix recommended but not blocking (no conflict markers or syntax errors)."
414
414
  echo " Issues:$HYGIENE_FILES"
415
415
  GATE_12_STATUS="WARN"
416
+ # The journal carried only a count. Name the checks that fired, so a WARN
417
+ # in the record says WHICH hygiene rule was broken without re-running the
418
+ # gate. Same defect family as gate-4/6/10/13: the console knew, the record
419
+ # did not.
420
+ _g12_kinds=""
421
+ [ -n "${GATE_12_HAS_TRAILING_WS:-}" ] && _g12_kinds="${_g12_kinds}${_g12_kinds:+,}trailing_whitespace"
422
+ [ -n "${GATE_12_MISSING_EOF:-}" ] && _g12_kinds="${_g12_kinds}${_g12_kinds:+,}missing_eof_newline"
423
+ GATE_12_DETAIL="${_g12_kinds:-hygiene_warnings}"
416
424
  fi
417
425
  fi
418
426
 
419
- record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START"
427
+ record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START" "${GATE_12_DETAIL:-}"
@@ -405,7 +405,7 @@ else
405
405
  echo ""
406
406
  echo "❌ BLOCKED - File hygiene violations must be fixed before commit."
407
407
  GATE_12_STATUS="BLOCK"
408
- record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START"
408
+ record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START" "${GATE_12_DETAIL:-}"
409
409
  exit 1
410
410
  else
411
411
  echo ""
@@ -413,7 +413,15 @@ else
413
413
  echo " Fix recommended but not blocking (no conflict markers or syntax errors)."
414
414
  echo " Issues:$HYGIENE_FILES"
415
415
  GATE_12_STATUS="WARN"
416
+ # The journal carried only a count. Name the checks that fired, so a WARN
417
+ # in the record says WHICH hygiene rule was broken without re-running the
418
+ # gate. Same defect family as gate-4/6/10/13: the console knew, the record
419
+ # did not.
420
+ _g12_kinds=""
421
+ [ -n "${GATE_12_HAS_TRAILING_WS:-}" ] && _g12_kinds="${_g12_kinds}${_g12_kinds:+,}trailing_whitespace"
422
+ [ -n "${GATE_12_MISSING_EOF:-}" ] && _g12_kinds="${_g12_kinds}${_g12_kinds:+,}missing_eof_newline"
423
+ GATE_12_DETAIL="${_g12_kinds:-hygiene_warnings}"
416
424
  fi
417
425
  fi
418
426
 
419
- record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START"
427
+ record_gate_audit "gate-12" "file-hygiene" "$GATE_12_STATUS" "$HYGIENE_ISSUES" "$GATE_12_START" "${GATE_12_DETAIL:-}"
@@ -735,7 +735,7 @@ if ! gate_enabled 13; then
735
735
  echo "⏭️ SKIPPED - Gate 13: Compiler strictness (not selected by XP_GATE_ONLY_GATE)"
736
736
  GATE_13_STATUS="SKIP"
737
737
  GATE_13_DETAIL="not_selected"
738
- record_gate_audit "gate-13" "compiler-strictness" "$GATE_13_STATUS" "0" "$(gate_start_ms)"
738
+ record_gate_audit "gate-13" "compiler-strictness" "$GATE_13_STATUS" "0" "$(gate_start_ms)" "${GATE_13_DETAIL:-}"
739
739
  return 0
740
740
  fi
741
741
 
@@ -749,7 +749,7 @@ if [ "${XP_GATE_DISABLE_13:-}" = "1" ]; then
749
749
  echo "⏭️ SKIPPED - Gate 13: Compiler Strictness (XP_GATE_DISABLE_13=1)"
750
750
  GATE_13_STATUS="SKIP"
751
751
  GATE_13_DETAIL="kill_switch"
752
- record_gate_audit "gate-13" "compiler-strictness" "$GATE_13_STATUS" "0" "$(gate_start_ms)"
752
+ record_gate_audit "gate-13" "compiler-strictness" "$GATE_13_STATUS" "0" "$(gate_start_ms)" "${GATE_13_DETAIL:-}"
753
753
  elif [ -f "$GATE_DIR/adapters/gate-13-compiler-strictness.sh" ] || [ -f "$GATE_DIR/gate-13-compiler-strictness.sh" ] || [ -f "$(git rev-parse --show-toplevel 2>/dev/null)/githooks/adapters/gate-13-compiler-strictness.sh" ] || [ -f "$(git rev-parse --show-toplevel 2>/dev/null)/githooks/gate-13-compiler-strictness.sh" ]; then
754
754
  echo "⚙️ Gate 13: Compiler Strictness Check..."
755
755
  GATE13_START=$(gate_start_ms)
@@ -871,7 +871,7 @@ else
871
871
  echo "⏭️ SKIPPED - Gate 13: Compiler Strictness (gate-13-compiler-strictness.sh not found)"
872
872
  GATE_13_STATUS="SKIP"
873
873
  GATE_13_DETAIL="script_missing"
874
- record_gate_audit "gate-13" "compiler-strictness" "$GATE_13_STATUS" "0" "$(gate_start_ms)"
874
+ record_gate_audit "gate-13" "compiler-strictness" "$GATE_13_STATUS" "0" "$(gate_start_ms)" "${GATE_13_DETAIL:-}"
875
875
  fi
876
876
  echo ""
877
877
  # ============================================================================
@@ -2,6 +2,6 @@
2
2
  "verdict": "PASS",
3
3
  "license_type": "MIT",
4
4
  "sha256": "0e7ac423bf2c6e223b7c5b156f8cf72da49d748e56a1641402c31f22ad07dbb5",
5
- "checked_at": "2026-11-22T06:43:10.622Z",
5
+ "checked_at": "2026-11-22T06:51:06.061Z",
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.86",
3
+ "version": "0.38.87",
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.86",
3
+ "version": "0.38.87",
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.86.0
6
+ **Version:** 0.38.87.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.86.0
6
+ **Version:** 0.38.87.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.86.0
6
+ **Version:** 0.38.87.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.86",
3
+ "version": "0.38.87",
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.86.0
6
+ **Version:** 0.38.87.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.86.0
6
+ **Version:** 0.38.87.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.86.0
6
+ **Version:** 0.38.87.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.86",
3
+ "version": "0.38.87",
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.86.0
6
+ **Version:** 0.38.87.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.86.0
6
+ **Version:** 0.38.87.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.86.0
6
+ **Version:** 0.38.87.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.86",
3
+ "version": "0.38.87",
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.86.0
6
+ **Version:** 0.38.87.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.86.0
6
+ **Version:** 0.38.87.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.86.0
6
+ **Version:** 0.38.87.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.86.0
6
+ **Version:** 0.38.87.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.86.0
6
+ **Version:** 0.38.87.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.86.0
6
+ **Version:** 0.38.87.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.