Guard stats
getmyorg's guard checks each command your agent runs. Now and then it stops a command, bounces it back to the agent, adds a note, or, in gate mode, asks you. Sometimes that's the guard getting in the way of something routine. Guard stats show us where that happens, so we can fix the rules for everyone.
What stays on your machine
The guard keeps a short record of what it stopped or asked about, in
~/.local/state/getmyorg/guard-events.jsonl (or under $XDG_STATE_HOME). It
writes one line each time, and nothing for the commands it lets through. A
line has:
- the time, your guard level, whether gate mode is on, and Claude Code or Codex;
- what the guard did, and the rule behind it, like
reflect.process_control; - the command's shape: the program, its flags, and for tools like
git,ghordockera known subcommand.pkill -f "next start -p 3123"is kept aspkill -f, andgit push --force origin mainasgit push --force. The shape ends at the first word that could be a name or a value:docker stop payroll-apiis kept asdocker stop,mysql -ppasswordasmysql, andsudo -u alice …assudo -u. A script run by its path is kept as<script>; - for a gate-mode prompt, what you answered: approved when the command ran, declined when the session's transcript on your machine shows you rejected it, or unknown when neither shows within a week. The guard reads the transcript for that answer alone and keeps nothing else from it.
The record never holds the command itself, its arguments, file paths, URLs, your repo's name or your session. It stays at about 1 MB.
What sharing sends
Sharing is off until you turn it on:
/myorg:config share-stats on
In Codex: $myorg:config share-stats on. Only you can change it: the guards
stop the agent from turning it on itself.
Once a day, with your sign-in, getmyorg sends what the guard recorded since the last send as counts. Nothing from before you turned sharing on is sent. A count looks like this:
{"day": "2026-11-18", "rule": "reflect.process_control", "decision": "gate",
"outcome": "approved", "shape": "pkill -f", "level": "relaxed", "gate": "on",
"host": "claude", "n": 3}
The request also carries the getmyorg version and a random ID for the batch, so a batch that's sent twice (after a lost connection, say) counts once. We keep the counts without your account, so they can't be traced back to you.
/myorg:config share-stats off stops sending. The record stays on your
machine either way. To clear it, delete these in ~/.local/state/getmyorg/
(or $XDG_STATE_HOME/getmyorg/):
guard-events.jsonlandguard-events.jsonl.1, the record and its older half;guard-pending/, prompts still waiting for an answer;guard-stats-sent.json, what was sent and when.