Skip to content
Open
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
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,27 @@ jobs:

- name: Run frozen benchmark
run: npm run bench

install-smoke:
name: install smoke (clone + link)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: Install dependencies
run: npm ci

- name: Link CLI and verify the documented install path
run: |
npm link
leadline --help || leadline init --claude-code --dry-run
echo "install smoke OK"
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,17 @@ npx github:Nazim22/leadline trace --project . --session <id> # what WOULD have
npx github:Nazim22/leadline init --claude-code # flip to enforce
```

(An npm package — plain `npx leadline` — is coming; the GitHub specifier above works today.)
(An npm package — plain `npx leadline` — is on the roadmap; the GitHub specifier above works today. For a local checkout that is always current, clone and link:)

```bash
git clone https://github.com/Nazim22/leadline.git
cd leadline
npm install
npm link # makes `leadline` available on your PATH from this checkout
leadline init --claude-code --dry-run
```

> **Node:** requires Node ≥ 18 (CI proves 18 / 20 / 22). The exam/replay harness is Linux-only today (see `docs/REPLAY.md`); the router, hooks, and `npm run bench` are platform-independent.

Dry-run mode is the benchmark: it watches your own sessions and shows you your agent’s wrong-source calls, empty receipts, and unproven “done” claims — your data, your numbers — before a single call is ever denied.

Expand Down
Loading