@windyroad/style-guide 0.4.4-preview.593 → 0.4.5-preview.598

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.
@@ -79,5 +79,5 @@
79
79
  }
80
80
  },
81
81
  "name": "wr-style-guide",
82
- "version": "0.4.4"
82
+ "version": "0.4.5"
83
83
  }
@@ -20,7 +20,7 @@ check_review_gate() {
20
20
 
21
21
  # 1. Marker must exist
22
22
  if [ ! -f "$MARKER" ]; then
23
- REVIEW_GATE_REASON="No ${SYSTEM} review marker found. The ${SYSTEM} agent must review first."
23
+ REVIEW_GATE_REASON="No ${SYSTEM} review marker found. Delegate to wr-${SYSTEM}:agent via the Agent tool (subagent_type: 'wr-${SYSTEM}:agent') so the agent can review and create the marker."
24
24
  return 1
25
25
  fi
26
26
 
@@ -30,7 +30,7 @@ check_review_gate() {
30
30
  local AGE=$(( NOW - MARKER_TIME ))
31
31
  if [ "$AGE" -ge "$TTL_SECONDS" ]; then
32
32
  rm -f "$MARKER" "$HASH_FILE"
33
- REVIEW_GATE_REASON="${SYSTEM} review expired (${AGE}s old, TTL ${TTL_SECONDS}s). Re-run the ${SYSTEM} agent."
33
+ REVIEW_GATE_REASON="${SYSTEM} review expired (${AGE}s old, TTL ${TTL_SECONDS}s). Re-delegate to wr-${SYSTEM}:agent via the Agent tool (subagent_type: 'wr-${SYSTEM}:agent') to refresh the marker."
34
34
  return 1
35
35
  fi
36
36
 
@@ -45,7 +45,7 @@ check_review_gate() {
45
45
  CURRENT_HASH=$(_substance_hash_path "$POLICY_FILE")
46
46
  if [ "$STORED_HASH" != "$CURRENT_HASH" ]; then
47
47
  rm -f "$MARKER" "$HASH_FILE"
48
- REVIEW_GATE_REASON="${SYSTEM} policy file changed since last review. Re-run the ${SYSTEM} agent."
48
+ REVIEW_GATE_REASON="${SYSTEM} policy file changed since last review. Re-delegate to wr-${SYSTEM}:agent via the Agent tool (subagent_type: 'wr-${SYSTEM}:agent') to refresh the marker."
49
49
  return 1
50
50
  fi
51
51
  fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windyroad/style-guide",
3
- "version": "0.4.4-preview.593",
3
+ "version": "0.4.5-preview.598",
4
4
  "description": "Style guide enforcement for CSS and UI components",
5
5
  "bin": {
6
6
  "windyroad-style-guide": "./bin/install.mjs"