Skip to content
Meta

Privacy Policy

Stack's privacy policy — telemetry data collected, data not collected, opt-out options, and retention schedule.

Document version: 1.0.0  ·  Effective date: 2026-04-23  ·  Contact: privacy@ashlr.ai or open a GitHub issue.

Telemetry is opt-in

packages/core/src/telemetry.ts requires a stored opt-in before it emits a telemetry event. stack telemetry enable stores that choice in ~/.ashlr/stack/config.json. The CLI does not prompt for it: core exports a first-run prompt that defaults to N and records "disabled" without a terminal, but the CLI does not call it in this source. STACK_TELEMETRY=0 suppresses emission regardless of the stored choice; STACK_TELEMETRY=1 alone does not opt in.

The source has no default telemetry endpoint. After opt-in, an operator-supplied STACK_TELEMETRY_ENDPOINT or saved endpoint enables HTTP delivery. Without either, no event is sent. This describes client source behavior, not the deployment or privacy practices of any hosted endpoint.

What we collect

The client builds these fields before it attempts an HTTP POST:

Field Type Source meaning
type "command" or "error" Event type supplied by the caller. The CLI always sends "command".
command string The CLI sends its first command-line argument, usually the subcommand name; the core API accepts any caller-supplied string.
exitCode number Exit code supplied by the caller, defaulting to 0.
durationMs number Duration supplied by the caller, defaulting to 0.
runId UUID Random process-level identifier; not persisted by this module.
installId UUID Persistent installation identifier in ~/.ashlr/stack/config.json.
stackVersion string A constant in the telemetry module; it is not proof of the installed package version.
platform string The running process platform.

What we do NOT collect

The fixed payload does not include the working directory, config contents, provider selections, environment values or vault contents. The module does not sanitize arbitrary strings passed by callers, so the payload structure is not a global redaction guarantee. The persistent installation identifier can link events from the same installation.

A configured HTTP endpoint may also see network metadata such as an IP address. This client repository does not establish the server's collection, logging, access controls or retention. Check the endpoint's own policy before enabling delivery.

How to opt out

  1. Do nothing: telemetry stays off until you run stack telemetry enable.
  2. Run stack telemetry disable to save the disabled choice; stack telemetry status shows it.
  3. Set STACK_TELEMETRY=0 to suppress emission for that process environment.

Opting out does not send an opt-out event. The preference file is local state; keep a backup before you edit it by hand.

Data retention

The original policy listed these targets. The client source does not establish a server or enforce retention; confirm the policy of any endpoint before enabling delivery.

Data Recorded target
Raw event records 30 days.
Aggregated statistics 90 days.
IP addresses 48 hours.

Changelog

Version Date Change
1.0.0 2026-04-23 Initial document. Fields: type, command, exitCode, durationMs, runId, installId, stackVersion, platform.