Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

ci: npm run eval and an eval-harness job (ubuntu, Node 22)

Salman Qureshi331c89127bf1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index db6df28a..a3e4cebd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -58,6 +58,21 @@ jobs:
- run: npm run build
- run: npm test
+ eval:
+ # Replay-based eval harness (ROADMAP P2.3): drives the real agent loop
+ # with scripted providers and recorded tool outputs. No network, no keys.
+ name: Eval harness (Node 22, ubuntu)
+ runs-on: ubuntu-latest
+ timeout-minutes: 5
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ cache: npm
+ - run: npm ci
+ - run: npm run eval
+
pack-verify:
name: Pack & Verify (Node ${{ matrix.node }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
diff --git a/package.json b/package.json
index 588287f9..1897a7e1 100644
--- a/package.json
+++ b/package.json
@@ -20,6 +20,7 @@
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
+ "eval": "vitest run src/eval",
"postinstall": "patch-package || node scripts/apply-ink-patch.cjs || echo 'WARNING: ink patch not applied — run: node scripts/apply-ink-patch.cjs'",
"prepublishOnly": "npm run build"
},