Local Files
Onyx stores local state under.git/onyx/.
| File | Purpose |
|---|---|
outbox.jsonl | Pending branch and experiment records. |
history.jsonl | Offline-searchable experiment history cache. |
events.jsonl | Best-effort activity feed for onyx listen. |
last-run.json | Latest measured but not yet logged run. |
Idempotency
Each experiment has a client-generatedrunRef. Sync can retry safely because the server deduplicates by that key.
Commands
statusshows pending local records and project resolution.syncflushes the outbox, refreshes history, and requests repository sync.pushpushes the current git branch before syncing.exp listsearches local history and works offline.