Safe trace sharing

Redact and verify traces before attaching them to PRs, issues, or design-partner threads.

Why it matters

Traces are local files, but they may still contain sensitive metadata you attached, collected from logs, or included through optional preview settings. Do not share raw traces by default.

Workflow

bash
npx agent-inspect redact --profile share --dir .agent-inspect
npx agent-inspect verify-safe --dir .agent-inspect
  • Use `--profile share` for PR/issue attachments
  • Use `--profile strict` for wider or public sharing
  • Review the output file before attaching it

Limits

Full reference in GitHub docs

Full reference remains in GitHub docs during the docs migration.