# Pi 1.5.0 model-free compatibility receipt

Date: 2026-11-03. Task #684, Refs #888. This repeats the [Pi 1.4.0 receipt](2026-10-26-pi-140-compat.md) for the published `@earendil-works/pi-coding-agent@1.5.0`. Same legs, model-free, no account.

**Decision: add `1.5.0` to Pi `verified`.** Every leg passed. No range is inferred: the Pi entry still has no `line`, so any other version needs the person's `ahub agents trust pi <version>`.

## Identity and isolation

- Package: `@earendil-works/pi-coding-agent` 1.5.0, installed from the registry into a private npm prefix with a scratch HOME, cache and temporary directory and empty npm user and global config files. The person's `~/.pi` and global packages were not touched. npm held back two lifecycle scripts (`protobufjs` postinstall, a version-scheme warning, and `@google/genai` preinstall, an `echo`). They were read and judged inert for this probe, and were not replayed: the producer passed without them, and no flag was added to make it pass.
- npm integrity: `sha512-xNDZ5kqowO6Z03FS2gwAkPEGk1ssxVcYKQ6qZId84mFEvwACvvyc2l0vAMOS+c5zvxLRMLBE9r4y44IGYkMJaQ==`. The package carries no `gitHead`.
- Native `dist/cli.js` SHA-256: `8189b66abc4f9f431dbb70941dcba690d76d040de1fbfff212886be35a53639d`. This is the same value the 1.4.0 receipt records for its `dist/cli.js`, so the launcher entry file did not change between the two releases. The 1.5.0 changes are in other files of the package and are exercised by the legs below.
- Host: macOS arm64, Bun 1.4.3, Node 24.18.1, repository at `9eb10e34e8fa3624669d08828ac0ca65b8ec2041`.
- Each native run used an empty temporary HOME and `PI_CODING_AGENT_DIR`, a temporary cwd and session directory and an environment of PATH, those paths and invented loopback bridge settings. No account, token, prompt or inference.
- Real configuration: SHA-256 of every file under the person's `~/.pi/agent` (excluding sessions, logs, caches, installs and `bin`) and `~/.qwen`, plus the person's `pi` launcher binary and the listing of installed Pi releases, was taken before and after the producer run: 9551 entries, identical.

## Results

| Leg | Result | Evidence |
| --- | --- | --- |
| Native identity | pass | `--version` returned exactly `1.5.0`, exit 0, empty stderr; package name and version checked independently. |
| Real CLI extension load and RPC session identity | pass | `--mode rpc` with the hub extension: `get_state` succeeded with a session id and file, `messageCount` 0; the extension emitted `session_start` and `session_shutdown`. |
| Installed SDK extension registration | pass | The 1.5.0 `DefaultResourceLoader` and `createAgentSession` loaded this checkout's extension and registered exactly `compat_probe` as the active tool, with no builtin tools. |
| Managed tool callback and receipt replay | pass | The registered callback was invoked without a prompt and posted to the isolated bridge through the real `PiToolReceipts`; two identical calls returned identical success with one effect. |
| Failed tool result | pass | The bridge fixture denial returned `failed: true` and the extension returned `isError: true`. |
| Host permission modes | pass (host fixtures) | `test/permission-modes.test.ts` "Pi mode grants edits once, keeps shell on the console, and ask restores the console path": 1 pass, 12 assertions. |
| Version admission | pass (host fixtures) | `test/pi-compat.test.ts` and `test/compat.test.ts`: 43 pass, 0 fail. |
| Provider requests | pass | Zero requests reached the loopback provider; no prompt was submitted. Native and SDK stderr were empty. |

Producer result: `pi 1.5.0 model-free receipt: PASS`. The producer is the 1.4.0 one with the version constants and driver file name changed (`pi-150-model-free.ts`, `pi-150-native.mjs`); no assertion was relaxed.

```sh
bun docs/verification/pi-150-model-free.ts <prefix>/node_modules/.bin/pi <prefix>/node_modules/@earendil-works/pi-coding-agent
env -u AGENTHUB_HOME -u AGENTHUB_PROJECT_DIR -u AGENTHUB_STATE_DIR bun test test/pi-compat.test.ts test/compat.test.ts
env -u AGENTHUB_HOME -u AGENTHUB_PROJECT_DIR -u AGENTHUB_STATE_DIR bun test test/permission-modes.test.ts --test-name-pattern 'Pi mode grants'
```

## Not verified

- Account-backed inference, a model-generated tool request, a real provider's quota behavior and interactive TUI coexistence. The SDK callback leg does not claim model-generated tool dispatch.
- Linux and Intel macOS. No other Pi release is inferred.
