Where Records Go, and What Stays Private¶
Records are written on your own machine, in a file only you can read. They go nowhere else unless you send them. This page says where the file is, what OpenALR never writes into it, how records can be sent on, who decides that, and the few network calls the product makes.
The Local Record File¶
The record file is records.jsonl in the OpenALR folder in your home directory:
%USERPROFILE%\.alr-emit\records.jsonl on Windows, and ~/.alr-emit/records.jsonl
on macOS and Linux. Records and the Audit Trail
says how to move it.
- On macOS and Linux, a new file is created readable by you alone (mode
0600), in folders it creates for you alone (0700). An existing file keeps the mode it has. record_file_mode = "0640"lets the file's group read it too, for a collector that runs as another user. It is the only other value. A file is never readable by everyone. Only your own user config sets this key (see Configuration).- On Windows the setting has no effect, because files there have no such mode.
- Session state (your session's tags, its turn journal, and the replies
OpenALR printed to its own commands) lives in a separate state folder:
%USERPROFILE%\.local\state\openalr\sessions\on Windows,~/.local/state/openalr/sessions/on macOS and Linux. See Where Files Live.
What Is Never Recorded¶
- A prompt or a reply. A record holds the model, token counts, cost, time, tags, and outcome. OpenALR's record builder takes only the fields of the record format, so a field the format does not name cannot enter a record. The headless Grok Build adapter never reads the answer text or its reasoning, and the Claude Code adapter records how many tool calls a turn made, not what they were given or returned.
- What you typed to OpenALR's own commands. The reply journal keeps OpenALR's own sentence and the command's name. It never keeps your words after the name, a model's message, a transcript line, or a tool result.
- A turn's first words. No record and no local state holds them. The
/alr-gradelisting names a turn by its time, task tag, and cost instead. - A key or a secret. OpenALR learns who paid from what the harness already
exposes, makes no network call to do it, and opens no credential store. A
configured label that looks like a key (an
sk-prefix, an AWS key id, a long random token) is dropped with a warning and never written.
Some fields are text you choose, and they are recorded as written: tags, a
grade's comment, the reason on a tag move or an acceptance withdrawal, and the
agent id (your login name unless you set another). Keep them free of anything you
would not want in a report. Before you share a dashboard, build it with
alr dashboard --redact, which replaces tag values, agent and session ids, and
file names with keyed hashes.
Sending Records On¶
Nothing sends records by itself. Recording a turn never opens a network connection, and the code that does is loaded only when you run the command that needs it.
- Syslog.
alr syslog send --to tls://host:6514forwards records already on disk to a syslog receiver you name, one message per line, exactly as written. It speaks TCP or TLS, never UDP. TLS always verifies the certificate and the host name, and needs Python 3.11 or later.--dry-runshows what would be sent first, and a cursor remembers what was sent. See the CLI Reference. - OpenTelemetry. This one comes into OpenALR and does not leave it. Claude
Code exports one cost event per model call, and
alr otel startpoints that export atalr otel-sink, a small receiver on your own machine. The sink listens on the loopback interface only, accepts only requests that carry a secret token, and keeps only the session id, prompt id, cost, query source, model, and time of each event, never a prompt or a reply. Those figures give each turn its own cost, as How Costs Are Computed describes.alr otel stopstops the sink and removes the settingsalr otel startset. - The
transmitanddestinationSettings. They name where records should go. In this release they are recorded and shown (in/alr-ctl statusand/alr-ctl config) and nothing more: they do not send anything. Sending isalr syslog send.
Who Decides¶
Where records are written and where they are sent belong to whoever runs OpenALR, not to a repository.
| Setting | Personal Profile | Managed Profile |
|---|---|---|
log_dir |
Your user config, or ALR_LOG_DIR |
The same |
transmit and destination |
Your user config, an ALR_* variable, or /alr-ctl config for the session |
The provisioned user config, or a trusted project file where that config's [routing] table allows it. ALR_TRANSMIT, ALR_DESTINATION, and a session value are ignored. |
| Turning metering off | /alr-ctl stop, recorded as a gap |
Refused |
profile itself |
Your user config only | Your user config only |
The profile comes only from the user config. A flag, an environment variable, a project file, or a session cannot change it, so a repository cannot lower a managed install to personal. See The Profile.
What a Trusted Repository May and May Not Set¶
A repository's .alr/config.toml applies only after you trust it with
alr trust, which records a hash of the file. A changed file stops applying until
you trust it again.
- It may set what describes the work:
default_tags,required_tags,task_class,project,plan_file, additions to yourwork_types,clients, andcost_centerslists, and a tightertag_checks. It may name a rates file, but only if your own trust record holds the project file. - It may never set who paid (
providerand thecredential_*keys), the profile, the trust rule, your price-book keys, your own rates, the record file's mode, or the names that reports show. - It may supply where records go only if your own
[routing]table says so, key by key, and only inside your allow lists: adestinationmust matchallow_destinations, and alog_dirmust be an absolute path that matchesallow_log_dirsand lies outside the repository, wheregit addwould pick the records up. A refused key is ignored, your own value stays in force, andalr checkand/alr-ctl configlist the attempt. When a repository's file supplies a route, the first turn of each session in it says where records go.
The full rules, with examples, are in Configuration.
Network Calls the Product Makes¶
| When | What | Where |
|---|---|---|
| Recording a turn, grading, tagging, reading, summarizing, or reporting | Nothing | No network connection is opened |
You run alr prices update |
Fetches the signed price book and its signature, over https only, from https://prices.openalr.org/prices/v2/latest.json.gz and the same address with .sig added. It sends nothing about your records. The book is checked against a signing key before it is stored; a book that fails the check is not stored. See The Price Book. |
The address above, or the one you give with --url or ALR_EMIT_PRICES_URL |
You run alr syslog send |
Sends your records | The receiver you name with --to |
You run alr install hermes --yes |
OpenALR opens no connection. It runs Hermes's own program, whose package manager may fetch packages, OpenALR's own included. | Hermes's package source |
alr otel-sink is running, or alr check tests it |
The sink receives events, and the check sends one empty request to it | This machine only |
alr prices update --dry-run fetches and checks a book and stores nothing, and
alr prices reset and alr prices import open no connection. See
How Costs Are Computed for what the price book is used for.