@boyingliu01/xp-gate 0.38.109 → 0.38.111

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-7.sh CHANGED
@@ -40,15 +40,24 @@ else
40
40
  # shellcheck disable=SC2034
41
41
  GATE_7_SCANNED_FILES=$(printf '%s\n' "$IAC_FILES" | sed -n '/./p' | wc -l | tr -d '[:space:]')
42
42
  # Run IaC adapter. Resolution follows the documented 3-tier convention
43
- # (adapter-common.sh): global ~/.config/xp-gate/adapters -> project
44
- # githooks/adapters -> script dir. The old cwd-only test silently SKIPped
45
- # IaC security in every consumer repo without an in-repo githooks/ dir,
46
- # even with the adapter installed globally (e2e sweep 2026-10-17; pinned
47
- # by __tests__/gate-7-adapter-resolution.test.bats).
43
+ # (adapter-common.sh HOOK_ADAPTER_DIR_TIERS), which is PROJECT FIRST:
44
+ # project githooks/adapters -> global ~/.config/xp-gate/adapters -> script dir.
45
+ #
46
+ # This list used to be in the OPPOSITE order while the comment above it already
47
+ # described the correct one, so the code and its own documentation disagreed and
48
+ # only the code ran. Measured consequence: a repo carrying its own
49
+ # githooks/adapters/iac.sh was bypassed outright whenever a global install
50
+ # existed -- the probe printed "fake checkov ran" instead of the project
51
+ # adapter. That is the "stale adapter overrides fresh" trap AGENTS.md warns
52
+ # about, and the damage is not that a stale copy is older: it silently changes
53
+ # the VERDICT, so a repository cannot decide how it is checked.
54
+ #
55
+ # The global tier still exists and is still reachable -- it is the FALLBACK now
56
+ # (pinned by tests 1 and 3 of __tests__/gate-7-adapter-resolution.test.bats).
48
57
  IAC_ADAPTER=""
49
58
  for _candidate in \
50
- "$HOME/.config/xp-gate/adapters/iac.sh" \
51
59
  "githooks/adapters/iac.sh" \
60
+ "$HOME/.config/xp-gate/adapters/iac.sh" \
52
61
  "${SCRIPT_DIR:-}/adapters/iac.sh"; do
53
62
  if [ -n "$_candidate" ] && [ -f "$_candidate" ]; then
54
63
  IAC_ADAPTER="$_candidate"
package/hooks/gate-7.sh CHANGED
@@ -40,15 +40,24 @@ else
40
40
  # shellcheck disable=SC2034
41
41
  GATE_7_SCANNED_FILES=$(printf '%s\n' "$IAC_FILES" | sed -n '/./p' | wc -l | tr -d '[:space:]')
42
42
  # Run IaC adapter. Resolution follows the documented 3-tier convention
43
- # (adapter-common.sh): global ~/.config/xp-gate/adapters -> project
44
- # githooks/adapters -> script dir. The old cwd-only test silently SKIPped
45
- # IaC security in every consumer repo without an in-repo githooks/ dir,
46
- # even with the adapter installed globally (e2e sweep 2026-10-17; pinned
47
- # by __tests__/gate-7-adapter-resolution.test.bats).
43
+ # (adapter-common.sh HOOK_ADAPTER_DIR_TIERS), which is PROJECT FIRST:
44
+ # project githooks/adapters -> global ~/.config/xp-gate/adapters -> script dir.
45
+ #
46
+ # This list used to be in the OPPOSITE order while the comment above it already
47
+ # described the correct one, so the code and its own documentation disagreed and
48
+ # only the code ran. Measured consequence: a repo carrying its own
49
+ # githooks/adapters/iac.sh was bypassed outright whenever a global install
50
+ # existed -- the probe printed "fake checkov ran" instead of the project
51
+ # adapter. That is the "stale adapter overrides fresh" trap AGENTS.md warns
52
+ # about, and the damage is not that a stale copy is older: it silently changes
53
+ # the VERDICT, so a repository cannot decide how it is checked.
54
+ #
55
+ # The global tier still exists and is still reachable -- it is the FALLBACK now
56
+ # (pinned by tests 1 and 3 of __tests__/gate-7-adapter-resolution.test.bats).
48
57
  IAC_ADAPTER=""
49
58
  for _candidate in \
50
- "$HOME/.config/xp-gate/adapters/iac.sh" \
51
59
  "githooks/adapters/iac.sh" \
60
+ "$HOME/.config/xp-gate/adapters/iac.sh" \
52
61
  "${SCRIPT_DIR:-}/adapters/iac.sh"; do
53
62
  if [ -n "$_candidate" ] && [ -f "$_candidate" ]; then
54
63
  IAC_ADAPTER="$_candidate"
@@ -2,6 +2,6 @@
2
2
  "verdict": "PASS",
3
3
  "license_type": "MIT",
4
4
  "sha256": "0e7ac423bf2c6e223b7c5b156f8cf72da49d748e56a1641402c31f22ad07dbb5",
5
- "checked_at": "2026-11-22T22:54:44.681Z",
5
+ "checked_at": "2026-11-22T23:26:21.058Z",
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.109",
3
+ "version": "0.38.111",
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.109",
3
+ "version": "0.38.111",
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.109.0
6
+ **Version:** 0.38.111.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.109.0
6
+ **Version:** 0.38.111.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.109.0
6
+ **Version:** 0.38.111.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.109",
3
+ "version": "0.38.111",
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.109.0
6
+ **Version:** 0.38.111.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.109.0
6
+ **Version:** 0.38.111.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.109.0
6
+ **Version:** 0.38.111.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.109",
3
+ "version": "0.38.111",
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.109.0
6
+ **Version:** 0.38.111.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.109.0
6
+ **Version:** 0.38.111.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.109.0
6
+ **Version:** 0.38.111.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.109",
3
+ "version": "0.38.111",
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.109.0
6
+ **Version:** 0.38.111.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.109.0
6
+ **Version:** 0.38.111.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.109.0
6
+ **Version:** 0.38.111.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.109.0
6
+ **Version:** 0.38.111.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.109.0
6
+ **Version:** 0.38.111.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.109.0
6
+ **Version:** 0.38.111.0
7
7
 
8
8
  ## OVERVIEW
9
9
  Test-Specification Alignment Engine — two-stage validation ensuring tests accurately reflect requirements and design specs.