Skip to main content

Overview

beacon feedback sends the Beacon team a bug report or a piece of feedback. It is built for a coding agent to draft with you: the agent writes the answers, shows you exactly what will be sent, and sends it only after you say yes. You can also run it yourself.
Nothing is sent by a hook, a plugin or a background job. A report leaves your machine only when beacon feedback send runs without --print and you confirm it, at the terminal or by having your agent pass --yes after you approved what --print showed.

The draft

A draft is one JSON object: kind and that kind’s answers by name. beacon feedback schema (or --json) lists the questions.
The CLI refuses a draft with an unknown key, an answer of the other kind, a blank or over-long answer, or a character that could hide text in the terminal review (carriage returns, escape sequences, bidirectional overrides), and names the key at fault.

What is sent

--print shows the report exactly as it will be sent and sends nothing; --print --json adds the request body. Before anything is shown, every answer goes through the same secret redaction Beacon applies to the runtime log, and your home directory is written as ~. The CLI adds an environment block from its own state: the Beacon version and edition, operating system and architecture, install mode and method, the coding agent whose shell ran the command, whether endpoint capture is installed, whether it forwards to Beacon Cloud, the system log’s access mode, the configured runtimes, and whether the report is signed. Each value is a short token; no path, hostname, user name, repository, device or organization ID is ever included. Each report has an id derived from exactly what it sends, keyed with a secret kept in ~/.beacon/feedback/report-id.key that never leaves your machine. Sending the same report again after a lost response is stored once, the same words from two people are two reports, and the id reveals nothing about text that redaction removed.

Signed and anonymous reports

Reports go to Beacon Cloud (https://api.beacon.sh/v1/feedback for beacon.sh), or to the Beacon service you signed in to. A report is signed, so the team can follow up, only when your sign-in allows sending feedback; otherwise it is anonymous, and --print says why. beacon login does not ask for that permission yet, so for now reports are anonymous, and attaching the session (below) is not available yet. --anonymous never sends the sign-in.

Attach the session

--attach-share first shares the agent session the report is about to beacon.sh, exactly as beacon share would, and links the shared trace to the report, so the Beacon team can read what happened. By default it is the session the command runs inside; name another with --share-session <id> (and --share-harness to pick a runtime). It needs a sign-in that can both sign reports and share traces, which beacon login does not grant yet.
Uploading a whole session is a bigger step than sending a few answers, so it is a separate opt-in:
  • --print names the session and how many events it holds, and shows the trace the report will link, before anything is sent. A later --yes shares the session as it is by then, which includes what was recorded after the review.
  • At a terminal, sharing the session is its own question, asked before the report’s, and the upload sends exactly the events the question named.
  • A new trace can be opened by anyone with its link (direct), never listed publicly. A session you shared before keeps its visibility, so a private trace stays private.
  • If the share fails, the report is not sent; running the same command again resumes it.
It needs a beacon login sign-in that can both send feedback and share traces, because beacon.sh links a report only to a trace of the person who sent it. An API key from BEACON_API_KEY is never used for it.

Telemetry opt-out

BEACON_TELEMETRY=0 and DO_NOT_TRACK turn sending off: send refuses and points to GitHub issues. --print still works.

Flags

beacon feedback send

Without --yes, send asks at a terminal and refuses without one or in CI.

beacon feedback schema