CLICommands
ox export
Show where all your SageOx data lives on disk and how to take it with you. Everything an AI coworker learns about your work is stored in ordinary git repositories you own and control: there is no proprietary format and no lock-in.
Usage
terminal
$
ox export prints the exact on-disk location of each repo and how to reach it:
- Ledger: this repo's history of work, decisions, and coding Sessions.
- Team Context: your team's permanent conversation store: recorded Discussions, Sessions, and shared memory.
Both are plain git repos on your machine. You can cd into them, run git log, copy them elsewhere, or push them to a remote you control.
Examples
Show where your data lives
terminal
$
Prints the on-disk path of your Ledger and every Team Context, plus how to reach each one.
Refresh before copying
terminal
$
Checks out and refreshes every Team Context and this repo's Ledger first, so a copy you make right now is complete and current.
Machine-readable output
terminal
$
Emits the same locations as JSON for scripting.
Flags
| Flag | Description |
|---|---|
--json | Output as JSON |
--sync | Check out and refresh all team contexts and this repo's ledger before printing |
What's next
- ox sync - pull the latest Ledger and Team Context updates
- ox team - list the teams whose Team Context you can export
- Team Context - what lives in the team-wide store versus the per-repo Ledger

