@prism-d1/cli 1.0.47 → 1.0.49

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.
@@ -10,6 +10,13 @@
10
10
  # 4. (Optional) Set GITLAB_OIDC_AUDIENCE if not using gitlab.aws.dev
11
11
  # 5. (Optional) Create a pipeline schedule for prism-dora-weekly (Monday 09:00 UTC)
12
12
 
13
+ workflow:
14
+ rules:
15
+ - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
16
+ - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
17
+ - if: '$CI_PIPELINE_SOURCE == "schedule"'
18
+ - if: '$CI_PIPELINE_SOURCE == "web"'
19
+
13
20
  include:
14
21
  - local: '.prism/gitlab-workflows/prism-ai-metrics.yml'
15
22
  - local: '.prism/gitlab-workflows/prism-dora-weekly.yml'
@@ -52,6 +52,13 @@ prism-agent-eval:
52
52
  BASE_SHA="${CI_MERGE_REQUEST_DIFF_BASE_SHA}"
53
53
  HEAD_SHA="${CI_COMMIT_SHA}"
54
54
 
55
+ # Skip if eval harness not installed
56
+ if [[ ! -f ".prism/eval-harness/run-eval.sh" ]]; then
57
+ echo "Eval harness not installed. Run: prism-cli bootstrapper install-eval-harness"
58
+ echo "Skipping agent eval."
59
+ exit 0
60
+ fi
61
+
55
62
  # Identify agent changes
56
63
  AGENT_FILES=$(git diff --name-only "${BASE_SHA}..${HEAD_SHA}" \
57
64
  | grep -E '(^agent/|^agents/|^mcp-servers/|agent.*\.(py|ts)$)' || true)
@@ -19,7 +19,6 @@ prism-ai-metrics:
19
19
  GITLAB_OIDC_TOKEN:
20
20
  aud: https://gitlab.aws.dev
21
21
  rules:
22
- - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_STATE == "merged"'
23
22
  - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"'
24
23
  variables:
25
24
  AWS_DEFAULT_REGION: ${AWS_REGION:-us-west-2}
@@ -44,6 +44,13 @@ prism-eval-gate:
44
44
  BASE_SHA="${CI_MERGE_REQUEST_DIFF_BASE_SHA}"
45
45
  HEAD_SHA="${CI_COMMIT_SHA}"
46
46
 
47
+ # Skip if eval harness not installed
48
+ if [[ ! -f ".prism/eval-harness/run-eval.sh" ]]; then
49
+ echo "Eval harness not installed. Run: prism-cli bootstrapper install-eval-harness"
50
+ echo "Skipping eval gate."
51
+ exit 0
52
+ fi
53
+
47
54
  # Identify AI-generated commits
48
55
  AI_SHAS=""
49
56
  for SHA in $(git rev-list "${BASE_SHA}..${HEAD_SHA}" 2>/dev/null); do
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prism-d1/cli",
3
- "version": "1.0.47",
3
+ "version": "1.0.49",
4
4
  "description": "PRISM D1 Velocity CLI — AI development lifecycle assessment tool",
5
5
  "author": "andklee",
6
6
  "engines": {