mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 21:03:47 -10:00
raea fix SYMPTOM... searches raea's own fixes (sdk/guides/fixes/raea.tsv: 31 problems found and fixed in raea work, each with where and when) and a library of ~46,500 problem -> fix entries from community skills and docs whose licences allow it (MIT, Apache-2.0, BSD, CC0, ClawHub's MIT-0), ranked by BM25 over problem and error text. systems/fixes (raea-sys-fixes) holds it; about 50 ms a lookup, offline. The library is a read-only SQLite FTS5 file pinned in tools/release/models.tsv (models-1 asset fixes-library-202b3fec.db) and packed by tools/release.sh into share/raea/models/fixes; its sources and licences are in its meta notice (raea fix --notice). The manual's CLI reference gains raea fix.
90 lines
9.2 KiB
Markdown
90 lines
9.2 KiB
Markdown
---
|
||
title: "raea show"
|
||
summary: "Show the person something in the raea app, as an item they can use and answer: stills, a video, a sound, a script, an interactive .tsx or a question."
|
||
order: 126
|
||
sources: ["engine/cli/src/show.ts", "engine/cli/src/held.ts"]
|
||
---
|
||
|
||
`raea show` is how an agent working outside the app, in a terminal session such as Claude Code or Codex, shows the
|
||
person its work. It posts the files to the project's feed in the raea app: stills become a look (several, a
|
||
storyboard), a video a watch, a sound a listen, a `NAME.script.ts` or `.md` a read, and a `.tsx` an interactive
|
||
artifact (one of the project's compositions opens in its editor). The post is quiet: the app shows a notice and
|
||
leaves the person where they are, and `--open` brings the window up on the new item instead. `--question` asks,
|
||
with words or stills to pick from; several `--question`s go out as one item, and a `--preview` after a question or
|
||
a choice gives the person something to play or read while they answer. It starts the app if it's installed and not
|
||
running.
|
||
|
||
What the person sends back (an answer, a comment, a pick) arrives as JSON lines in the session's inbox file, which
|
||
the command prints. Without the app on this Mac, the files open in the Mac's own viewer and it says nothing was
|
||
posted. While the app is installed, an agent shows renders, stills, sheets and questions this way, never in Preview
|
||
or a browser.
|
||
|
||
A render that still holds an error isn't shown. `raea show` looks each file up in its project's record: when the
|
||
newest `raea render` that wrote it found an error it wasn't let through with (`raea render --despite`), the show is
|
||
refused and each error named (`raea findings --open` lists them too). Fix it and render again, or say why it goes
|
||
anyway with `--despite CHECK "why"`, once per check; the person reads the why on the item.
|
||
|
||
The person's edit comments are tasks they watch. The inbox line that carries them gives each one's id; `--on ITEM
|
||
--working ID` marks one as being worked (with `--sub NAME` when a subagent has it), and `--done ID` marks it settled,
|
||
or, with files and `--replaces`, settled by that version. Done stays in view, checked, until the person resolves it.
|
||
Each `--ask` with `--working` is one ask you read the comment as, shown on it so the person can correct your reading
|
||
before the work starts. `--status` is where the note stands, on the comment's badge, and `--states` each ask's, in
|
||
order (to restate, to check, failing, to sign, passing, signed). `--sign N --clip FILE --render HASH` shows a clip
|
||
under ask N for the person to sign, cut from the render whose sha256 is HASH; their sign comes back to the inbox. A
|
||
comment read as asks is a note: it closes when the person retires it, and the app refuses `--done` on it.
|
||
[`raea notes post`](notes.md) sends all of these from the project's notes.
|
||
|
||
```sh
|
||
raea show out/look-1.png out/look-2.png out/look-3.png --ask "Which of these three?"
|
||
raea show out/cut.mp4 --replaces i-show-2f9c
|
||
raea show --question "Warmer or cooler grade?" --choice Warmer --choice Cooler
|
||
raea show --question "Which opening?" --choice Slam --preview out/slam.mp4 --choice Drift --preview out/drift.mp4 \
|
||
--question "Narrator speed?" --preview voice/take.mp3 --choice "As is" --choice Faster
|
||
raea show --on i-show-2f9c --working c-3 --sub "grade pass"
|
||
raea show --on i-show-2f9c --working cm-4 --ask "the lyric is flat type" --ask "it arrives word by word" \
|
||
--status failing --states "failing,to check"
|
||
raea show out/cut-v2.mp4 --replaces i-show-2f9c --done c-3 --done c-4 --note "Warmer grade, title held a beat longer"
|
||
```
|
||
|
||
<!-- generated:begin by tools/manual-ref/cli.ts from `raea help --json`; edit only the flag descriptions -->
|
||
|
||
## Usage
|
||
|
||
```sh
|
||
raea show FILE... [--title T] [--ask LINE] [--project P] [--replaces ITEM] [--as NAME] [--role ROLE] [--inbox NAME] [--open] [--label LABEL] [--detail PARAGRAPH] [--labels FILE.json] [--despite CHECK WHY] | raea show --question Q --choice A --choice B [STILL...] | raea show [--title T] --question Q [--preview FILE] --choice A [--preview FILE] --choice B ... [--question Q2] ... | raea show --on ITEM [--working ID] [--ask TEXT] [--status S] [--states S1,S2] [--sign N --clip FILE --render HASH] [--done ID] [--note LINE] [--sub NAME] (shown in the raea app as an item the person can use and answer, posted quietly with a notice, the window left where they are unless --open: stills (several, a storyboard), a video, a sound, a NAME.script.ts or .md, a .tsx (an interactive artifact; a project's composition opens in its editor), or questions, all of them one item; --label "PLACE TAG" a label beside the picture, never on it, that points at PLACE (x0,y0,x1,y1 or x,y in its 0-1, then #N the Nth file, @T or @T-TO a film's seconds, or part=KEY a scene's part; the tag the rest), --detail the paragraph of the --label before it, --labels a JSON list of them as feed_post takes them, and a sheet raea media sheet made comes labelled; each question and choice with a --preview to play or read while answering (a still, a video, a sound, a script or .md; after a --choice that choice's, else the question's); what they send comes to ~/.raea/inbox/INBOX.jsonl; their edit comments are tasks: --working ID as you start one (each --ask with it one ask you read it as, for the person to correct; --status and --states where the note and each ask stand: to restate, to check, failing, to sign, passing, signed; --sign N --clip FILE --render HASH a clip under ask N for them to sign; a note closes when they retire it, never with --done), --done ID when it's settled, or with the version that settles it, FILE --replaces ITEM --done ID; never open media in Preview while the app is installed)
|
||
```
|
||
|
||
Needs the raea app's host running on this machine; then waits for a person's click in the raea app (to answer). Takes any number of arguments besides its flags.
|
||
|
||
## Flags
|
||
|
||
| Flag | Takes | What it does |
|
||
| --- | --- | --- |
|
||
| `--as` | `NAME` | Who's showing it, as the feed names them (your harness's name when left out: Claude Code, Codex, Gemini). |
|
||
| `--ask` | `LINE` | What you want from the person, shown with the item. With `--on` and `--working`: one ask you read the comment as (give it once per ask), shown on the comment for the person to correct. |
|
||
| `--choice` | `A` | With `--question`: one answer to pick; give it once per answer. Stills given instead are the choices. |
|
||
| `--clip` | `FILE` | With `--sign`: the clip the person is to sign, cut from the render (`raea notes check` cuts it). |
|
||
| `--despite` | `CHECK WHY` | A check the render still fails, and why it goes to the person anyway; give it once per check. `raea show` refuses a render whose record still holds an error, naming each, and the why is shown on the item. |
|
||
| `--detail` | `PARAGRAPH` | The paragraph the viewer opens from the `--label` before it. |
|
||
| `--done` | `ID` | Marks the person's edit comment done (give it once per comment), on the item named by `--on`, or with files on the item they `--replaces`. |
|
||
| `--inbox` | `NAME` | The inbox the answers go to, `~/.raea/inbox/NAME.jsonl` (one per session when left out). |
|
||
| `--label` | `LABEL` | A label beside the picture, never on it: `"PLACE TAG"`, where PLACE is `x0,y0,x1,y1` or `x,y` in the picture's 0–1, then `#N` for the Nth file, `@T` or `@T-TO` for a film's seconds, or `part=KEY` for a scene's part. Repeat it for more labels. |
|
||
| `--labels` | `FILE.json` | A JSON list of labels, as `feed_post` takes them. `raea media sheet` writes one beside each sheet (`OUT.labels.json`). |
|
||
| `--note` | `LINE` | With `--done`: a line for the person on what settled it, shown under the comment. |
|
||
| `--on` | `ITEM` | The item whose edit comments `--working` and `--done` mark; nothing is shown. |
|
||
| `--open` | – | Brings the window up on the new item. Without it the item is posted quietly with a notice, and the person stays where they are. |
|
||
| `--preview` | `FILE` | A still, video, sound, script or `.md` the person can play or read while answering. After a `--choice` it is that choice's preview, otherwise the question's. |
|
||
| `--project` | `P` | The project to post to: its id, title or `Workspace/project`. The project this folder is in when left out. |
|
||
| `--question` | `Q` | Ask the person this, with `--choice` answers or stills to pick from. |
|
||
| `--render` | `HASH` | With `--sign`: the sha256 of the render the clip was cut from, which the person's sign names. |
|
||
| `--replaces` | `ITEM` | The item this is the next version of, so the feed shows it as that item's new version. |
|
||
| `--role` | `ROLE` | With `--as`: the role shown beside the name. |
|
||
| `--sign` | `N` | With `--working` on one comment: shows a clip under ask N for the person to sign; give `--clip` and `--render` with it. |
|
||
| `--states` | `S1,S2` | With `--working` and `--ask`: each ask's state, in order, one for each ask (to restate, to check, failing, to sign, passing, signed). |
|
||
| `--status` | `S` | With `--working`: where the note stands, on the comment's badge: to restate, to check, failing, to sign, passing or signed. |
|
||
| `--sub` | `NAME` | With `--working` or `--done`: the subagent on those comments, shown beside your name when several split them. |
|
||
| `--title` | `T` | The item's title in the feed. |
|
||
| `--working` | `ID` | Marks the person's edit comment as being worked (give it once per comment), on the item named by `--on`. |
|
||
|
||
<!-- generated:end -->
|