Opt-In Agent Feedback

Zero silent telemetry. Explicit opt-in only.

BrokenApp never phones home during map, ui, dead, or changes. If you want your coding agents (or yourself) to queue real-world bug reports and UX friction straight to the BrokenApp triage queue, opt in explicitly with brokenapp feedback.

Hard consent gate for agents

Agent-initiated calls (--agent <name> --send) fail closed with opt_in_required (exit 1) unless you explicitly opt in via brokenapp feedback --opt-in or BROKENAPP_FEEDBACK_OPT_IN=1.

Scrubbed locally before leaving

Every message is locally redacted for JWTs, API keys (sk-, ghp_, AIza, AKIA), Bearer tokens, Cookie: headers, URL credentials, and /Users/<name> paths before transmission.

Inspect every byte first

Run with --dry-run (or omit --send) to print the exact JSON payload to stdout with zero network activity. Optional --include-stats aggregates numeric counts across all mapped roles (roles_mapped) and framework name only — never URLs, routes, labels, or code.

How it works

Opt in once, or preview anytime with --dry-run

Opt-in state is saved locally in $BROKENAPP_HOME/settings.json (default ~/.brokenapp/settings.json) and can be toggled off instantly with --opt-out or scoped to a single shell session with BROKENAPP_FEEDBACK_OPT_IN=1.

Manage opt-in status
# Allow AI coding agents to submit feedback on this machine
brokenapp feedback --opt-in

# Check effective status (saved setting + env override)
brokenapp feedback --status --json

# Turn off anytime
brokenapp feedback --opt-out
Submit from an agent or human
# Preview the exact redacted payload first (no network call)
brokenapp feedback "Dynamic :id routes stayed unvisited under --quick" \
  --category crawler --agent claude-code --include-stats --dry-run

# Queue to https://brokenapp.io/api/feedback
brokenapp feedback "Dynamic :id routes stayed unvisited under --quick" \
  --category crawler --agent claude-code --include-stats --send

Exact payload schema

POST https://brokenapp.io/api/feedback (max 8 KB)
{
  "message": "Form login blocked NextAuth callback under write_guard=block in <home>/app",
  "category": "auth",
  "agent": "claude-code",
  "version": "0.1.0+ef358d4",
  "os": "macos",
  "arch": "aarch64",
  "stats": {
    "framework": "next",
    "scan_mode": "standard",
    "routes_visited": 14,
    "routes_known": 24,
    "controls_exercised": 82,
    "controls_exercisable": 88,
    "dead": 1,
    "broken": 2,
    "no_effect": 0,
    "roles_count": 3,
    "roles_mapped": 3,
    "gap_reasons": {
      "obscured": 12
    }
  }
}

Never included in --include-stats

  • No source code, diffs, or file contents
  • No target URLs, hostnames, routes, or API paths
  • No button labels, DOM snapshots, or screenshots
  • No project names, cookies, sessions, or environment variables