# CLAUDE.md

## Pull requests

Before opening a pull request, update `changelog.txt` with an entry describing the change.

## Conventions

- When a change alters runtime behavior — including removals that change which inputs are honored — lock the new behavior with at least one test asserting it. A grep or compile check confirms a symbol is gone; it does not confirm the resulting behavior is correct.

- When wrapping a third-party or native library behind an internal adapter, classify a "benign" error (e.g. a missing keychain entry) by a stable signal such as an error code, not by matching human-readable message text — a broad message match can swallow an unrelated real failure. The adapter must handle or propagate every non-benign error; it must never silently absorb one. Always `await` async cleanup/delete calls so a failure surfaces instead of becoming an unhandled rejection after the caller has already reported success.
