Files
raea/docs/manual/reference/cli/bug.md
T
shinyobjectz 9aee93e518 raea bug: an agent reports a bug in raea itself to raea's server, headless and with no account
Agents using raea, in the app or in a terminal, had no way to tell raea about a bug they hit. raea bug TITLE... --text TEXT [--command CMD] [--error TEXT] [--agent NAME] [--dry-run] posts to raea.io/v1/bugs/agent: words only, raea's version and the OS added by the host (native.ts, curl; RAEA_API names another server), paths, emails and key-shaped strings taken out before it leaves (the server scrubs again), the harness as the agent unless --agent or RAEA_AGENT says. It reads no keychain, so it never raises a prompt in a headless run. The server counts the same bug again on the first report and takes five a day from a machine; --dry-run prints exactly what would go.

engine/cli/conformance/bug.test.ts (5 tests, the command's side with the host faked); docs/manual/reference/cli/bug.md and the index row (Agents and setup).
2026-11-16 07:23:37 -08:00

2.7 KiB
Raw Blame History

title, summary, order, sources
title summary order sources
raea bug Report a bug in raea itself to raea's server: a line saying what's wrong and what happened, with raea's version and the OS added, no account needed. 129
engine/cli/src/bug.ts
engine/cli/src/cli.rs

Report a bug in raea itself to raea's server: a line saying what's wrong and what happened, with raea's version and the OS added, no account needed.

Usage

raea bug TITLE... --text TEXT [--command CMD] [--error TEXT] [--agent NAME] [--dry-run]   (a bug in raea itself, not in your own composition, sent to raea's server with raea's version and the OS, no account needed: words only, paths, emails and keys taken out before it goes; five a day from a machine, the same bug again counted on the first report; --dry-run prints what would go and sends nothing)

Headless: it needs nothing running and opens no window. Takes any number of arguments besides its flags.

Flags

Flag Takes What it does
--agent NAME Who is reporting: the agent or harness's name (claude-code, codex, kimi). Unless said, RAEA_AGENT, else the harness raea finds it running under.
--command CMD The raea command that went wrong, as you ran it (paths in it are taken out).
--dry-run – Print exactly what would be sent, raea's version and the OS included, and send nothing.
--error TEXT What the command printed when it went wrong, up to 4,000 characters (paths, emails and keys taken out).
--text TEXT What you did, what you expected and what happened instead, up to 4,000 characters. Needed.

raea bug is how an agent tells raea about a bug it thinks it found in raea itself: a command that fails or hangs, a result that's wrong, or help that says one thing while raea does another. It's for raea's bugs, not the composition you're writing. It works in any shell, headless or in the app, and needs no account.

The report is words only. raea adds its version and the OS, and takes out paths, emails and anything shaped like a key or token before it leaves the machine; raea's server takes them out again. A machine sends at most five a day, and the same bug sent again (by the same line, numbers and paths aside, on the same version) is counted on the first report instead of being kept twice. --dry-run prints exactly what would be sent and sends nothing.

raea bug "raea render stops at frame 12 with no error" \
  --text "Rendered compositions/teaser.tsx to mp4; it printed frame 12 of 240 and exited 0 with no file." \
  --command "raea render compositions/teaser.tsx -o out/teaser.mp4" --error "frame 12/240"