Data policy
What the agent writes, what Claude Code exports on its own, and what is not decided yet.
On your machine
- The journal (
.mission/), the caps and the kill switch (.leashr/) stay local..leashr/.gitignorekeepsstate/(session costs, collector heartbeat, quota samples) out of git. - A decision line holds
target, the command or path of the call, with secrets masked and cut at 300 characters. It does not hold the tool input as a whole, nor the prompt text. - Cost events are built from an allowlist:
user.email, account and organization ids, prompt text and tool parameters are never written. - The collector listens on
127.0.0.1only, and--endpointmust be a local address.
Proof: skills/lsh-audit/test/audit.test.js, skills/lsh-cost/test/cost.test.js, skills/lsh-init/test/init.test.js.
What Claude Code exports by default
Filter before sending metrics anywhereBy default Claude Code also exports your email, account id and organization id with its telemetry. The Leashr collector drops them, but filter them before sending metrics anywhere else.
- Events carry
promptfields. The documentation says their content is redacted unless you enable prompt logging. We did not verify this ourselves.
To remove resource attributes from metric labels, the documentation gives the variable below. This is from the documentation and was not tested.
OTEL_METRICS_INCLUDE_RESOURCE_ATTRIBUTES=falseHosted dashboard
Nothing is sent to a Leashr server today: the hosted dashboard is not released and no code uploads anything. What the hosted dashboard will receive (cost metrics only, or also prompt excerpts) is not decided. This page and the privacy policy will be updated before any launch.
This website
The only personal data the site collects is the email address you enter on the waitlist. See the privacy policy.
Status
| Function | Status | Proof |
|---|---|---|
| Local-only storage, masking, allowlist | Tested | skills/lsh-audit/test, skills/lsh-cost/test |
| Prompt redaction by Claude Code | Not verified | documentation only |
| Hosted dashboard data contract | Planned | no code |