trace
Installation
SKILL.md
/trace (bro)
All mechanics live in the bro CLI. This skill is policy only.
Prereq: bro on PATH or npx -y @broject/bro@0.
What it is
The hooks layer journals every post-tool event per session to
<git-common>/bro/hooks/trace/<session>.jsonl. bro trace export
pushes the unexported tail of those journals to an OTLP endpoint over
OTLP/HTTP JSON (POST <endpoint>/v1/traces) — one trace per session,
one span per journal line, journal fields as bro.* attributes. A
cursor in trace/.export.json makes repeat exports send only the
delta; span ids are content hashes, so resends dedup server-side.