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
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ TypeScript multi-agent runtime with policy, approval, and audit control plane. S
## Definition of Done

```bash
npx npm@10.9.2 ci
./scripts/verify.sh
```

Expand Down
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@
"typescript"
],
"engines": {
"node": ">=20"
"node": ">=20",
"npm": ">=10.9.2 <11"
},
"packageManager": "npm@10.9.2",
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
Expand Down
15 changes: 10 additions & 5 deletions scripts/verify.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
#!/usr/bin/env bash
# Definition of Done — mirrors CI lint + build matrix jobs (no Docker).
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT"

if [[ ! -d node_modules ]]; then
echo "Run npm install first" >&2
exit 1
if command -v corepack >/dev/null 2>&1; then
corepack enable >/dev/null 2>&1 || true
corepack prepare npm@10.9.2 --activate >/dev/null 2>&1 || true
fi

echo "== verify: typecheck + test + lint =="
echo "==> npm ci (expect packageManager npm@10.9.2)"
npm ci

echo "==> typecheck + test + lint + format"
npm run typecheck
npm run test
npm run lint
npm run format:check

echo "verify: ok"
echo "verify: ok (ci/web parity)"