Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
# CLI before running the tests.
- name: Build workspace dependencies + CLI
run: |
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-core-domain
npm run build --workspace @beyondnet/evolith-agent-runtime
npm run build --workspace @beyondnet/evolith-sdk
Expand Down Expand Up @@ -140,6 +141,7 @@ jobs:

- name: Build workspace dependencies
run: |
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-core-domain
npm run build --workspace @beyondnet/evolith-agent-runtime
npm run build --workspace @beyondnet/evolith-sdk
Expand Down Expand Up @@ -203,6 +205,7 @@ jobs:

- name: Build workspace dependencies
run: |
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-core-domain
npm run build --workspace @beyondnet/evolith-infra-providers

Expand All @@ -229,6 +232,7 @@ jobs:
run: npm ci
- name: Build workspace dependencies
run: |
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-core-domain
npm run build --workspace @beyondnet/evolith-agent-runtime
- name: Run sdk-client tests with coverage
Expand Down Expand Up @@ -267,6 +271,7 @@ jobs:
# core-domain + agent-runtime, which is why this job had never once
# passed since it was wired.
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-core-domain
npm run build --workspace @beyondnet/evolith-infra-providers
npm run build --workspace @beyondnet/evolith-core
Expand All @@ -293,7 +298,9 @@ jobs:
run: npm ci
# infra-providers depends on @beyondnet/evolith-core-domain (resolved from dist).
- name: Build workspace dependencies
run: npm run build --workspace @beyondnet/evolith-core-domain
run: |
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-core-domain
- name: Run infra-providers tests with coverage
run: npm run test:cov --workspace @beyondnet/evolith-infra-providers

Expand All @@ -317,7 +324,9 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build workspace dependencies
run: npm run build --workspace @beyondnet/evolith-core-domain
run: |
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-core-domain
- name: Run agent-runtime tests
run: npm run test --workspace @beyondnet/evolith-agent-runtime

Expand All @@ -336,6 +345,7 @@ jobs:
run: npm ci
- name: Build workspace dependencies
run: |
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-core-domain
npm run build --workspace @beyondnet/evolith-agent-runtime
- name: Run agent-runtime-api tests
Expand All @@ -360,7 +370,9 @@ jobs:
# (where a dist already exists from an earlier build) and fails in CI on a
# clean checkout — which is exactly what it did the first time this job ran.
- name: Build workspace dependencies
run: npm run build --workspace @beyondnet/evolith-core-domain
run: |
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-core-domain

- name: Run contracts tests
run: npm run test --workspace @beyondnet/evolith-contracts
Expand Down Expand Up @@ -393,6 +405,7 @@ jobs:
# do with the corpus. Building first makes the count reproducible.
- name: Build workspace dependencies
run: |
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-core-domain
npm run build --workspace @beyondnet/evolith-infra-providers

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/evolith-validate-dogfood.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
# `cli-command`, which skips the npm install.
- name: Build workspace dependencies
run: |
npm run build -w @beyondnet/evolith-contracts
npm run build -w @beyondnet/evolith-core-domain
npm run build -w @beyondnet/evolith-agent-runtime
npm run build -w @beyondnet/evolith-sdk
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ jobs:
# against publishing an empty package.
run: |
rm -f src/packages/mcp-server/tsconfig.tsbuildinfo
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-mcp
test -f src/packages/mcp-server/dist/main.js

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reliability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:

- name: Build core-api and its workspace chain
run: |
npm run build --workspace @beyondnet/evolith-contracts
npm run build --workspace @beyondnet/evolith-core-domain
npm run build --workspace @beyondnet/evolith-infra-providers
npm run build --workspace core-api
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/sdk-cli-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ jobs:

- name: Build workspace dependencies
run: |
npm run build -w @beyondnet/evolith-contracts
npm run build -w @beyondnet/evolith-core-domain
npm run build -w @beyondnet/evolith-agent-runtime
npm run build -w @beyondnet/evolith-sdk
Expand Down Expand Up @@ -180,6 +181,7 @@ jobs:

- name: Build workspace dependencies
run: |
npm run build -w @beyondnet/evolith-contracts
npm run build -w @beyondnet/evolith-core-domain
npm run build -w @beyondnet/evolith-agent-runtime
npm run build -w @beyondnet/evolith-sdk
Expand Down Expand Up @@ -279,6 +281,7 @@ jobs:

- name: Build workspace dependencies
run: |
npm run build -w @beyondnet/evolith-contracts
npm run build -w @beyondnet/evolith-core-domain
npm run build -w @beyondnet/evolith-agent-runtime
npm run build -w @beyondnet/evolith-sdk
Expand Down Expand Up @@ -345,6 +348,7 @@ jobs:

- name: Build workspace dependencies
run: |
npm run build -w @beyondnet/evolith-contracts
npm run build -w @beyondnet/evolith-core-domain
npm run build -w @beyondnet/evolith-agent-runtime
npm run build -w @beyondnet/evolith-sdk
Expand Down Expand Up @@ -506,6 +510,7 @@ jobs:

- name: Build workspace dependencies
run: |
npm run build -w @beyondnet/evolith-contracts
npm run build -w @beyondnet/evolith-core-domain
npm run build -w @beyondnet/evolith-agent-runtime
npm run build -w @beyondnet/evolith-sdk
Expand Down
1 change: 1 addition & 0 deletions src/packages/infra-providers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"test:cov": "jest --coverage"
},
"dependencies": {
"@beyondnet/evolith-contracts": "^1.1.0",
"@beyondnet/evolith-core-domain": "^1.2.0",
"@nestjs/common": "11.1.27",
"ajv": "8.20.0",
Expand Down
20 changes: 20 additions & 0 deletions src/packages/infra-providers/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,23 @@ export type {
LighthouseCategoryResult,
LighthouseEvidenceProviderOptions,
} from './lighthouse-evidence.provider';

// GT-604 — the ONE client every verdict-producing surface deposits through. Three
// surfaces each writing their own fetch is three chances to drop the rule engine,
// to rename `accountableOwner` back to `owner`, or to put a `tenantId` in the body
// — and the last is a security hole, not a typo.
export {
TrackerEvaluationIngestClient,
EvaluationIngestError,
createEvaluationIngestClientFromEnv,
depositEvaluation,
EVOLITH_TRACKER_URL_ENV,
EVOLITH_TRACKER_API_KEY_ENV,
} from './tracker/evaluation-ingest.client';
export type {
EvaluationIngestAck,
TrackerEvaluationIngestClientOptions,
DepositOutcome,
DepositEvaluationInput,
IngestFetchLike,
} from './tracker/evaluation-ingest.client';
Loading
Loading