Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

FP14a: raea fingerprint in the CLI reference: its page under Check, each flag described, and the pages after it renumbered

shinyobjectzf89873c1df78
diff --git a/docs/manual/reference/cli/doctor.md b/docs/manual/reference/cli/doctor.md
index cf844f46..007c05f0 100644
--- a/docs/manual/reference/cli/doctor.md
+++ b/docs/manual/reference/cli/doctor.md
@@ -1,7 +1,7 @@
---
title: "raea doctor"
summary: "Find what doesn't match this version of raea: old brief files, an older workspace format, an agent's stale skill."
-order: 49
+order: 50
sources: ["apps/workspace/src/doctor.rs"]
---
diff --git a/docs/manual/reference/cli/findings.md b/docs/manual/reference/cli/findings.md
index daddec77..8660e9d7 100644
--- a/docs/manual/reference/cli/findings.md
+++ b/docs/manual/reference/cli/findings.md
@@ -1,7 +1,7 @@
---
title: "raea findings"
summary: "What each render and check found, read back from the project's record: fixed, new and carried since the one before."
-order: 44
+order: 45
sources: ["apps/direction/src/findings.rs", "core/facts/src/record.rs"]
---
diff --git a/docs/manual/reference/cli/fingerprint.md b/docs/manual/reference/cli/fingerprint.md
new file mode 100644
index 00000000..62f20346
--- /dev/null
+++ b/docs/manual/reference/cli/fingerprint.md
@@ -0,0 +1,57 @@
+---
+title: "raea fingerprint"
+summary: "A person's sense of good work, learned on this Mac: axes with small heads over on-device encoders that score a render moment by moment and say what they can't judge yet."
+order: 44
+sources: ["apps/fingerprint/src/lib.rs", "systems/fingerprint/src/taxonomy.rs"]
+---
+
+A fingerprint is one person's sense of good work, kept in `~/.raea/fingerprints/NAME`. It is a list of axes (blur,
+flash, clipping, pace, a brand's colours) with a small head for each over encoders that run on this Mac: SigLIP for
+pictures, CLAP for sound and YAMNet for sound events. A new axis judges from its words until it has been trained;
+`bootstrap` trains the mechanical axes by damaging moments of your own renders, and `teach` adds a label at a moment
+you point at. A person can keep several, each saying what it's for, and one can build on another with `--extends`.
+The app's Fingerprint page shows the same thing: what each one knows, what it's still learning, and what it can't
+judge yet. See [docs/fingerprint.md](https://github.com/shinyobjectz/raea/blob/main/docs/fingerprint.md) for the plan.
+
+```sh
+raea fingerprint new me
+raea fingerprint new client-ads --about "Short ads for one brand" --extends me
+raea fingerprint bootstrap renders/*.mp4 --fp client-ads
+raea fingerprint score cut.mp4 --timeline
+raea fingerprint teach cut.mp4 --axis blur --at 4.2 --bad
+raea fingerprint report
+```
+
+<!-- generated:begin by tools/manual-ref/cli.ts from `raea help --json`; edit only the flag descriptions -->
+
+## Usage
+
+```sh
+raea fingerprint new NAME [--who W] [--about TEXT] [--extends FP] | raea fingerprint bootstrap FILE... [--from LIST] [--per N] | raea fingerprint teach FILE --axis A --at T [--bad|--good] [--span S] [--box x0,y0,x1,y1] [--words W] [--project P] | raea fingerprint score FILE [--json] [--sheet out.png] [--timeline] | raea fingerprint report [--json] | raea fingerprint stop [--fp NAME] (a person's sense of good work as axes with small heads over on-device encoders, docs/fingerprint.md: new makes ~/.raea/fingerprints/NAME with raea's base taxonomy in fingerprint.ts (or FP's axes with --extends) and what it's for and every axis scoring from its words; bootstrap puts known defects into windows of real work and trains the mechanical axes, held out by source; teach adds a label at a moment; score prints the moments it expects a note on first, then every axis per window with --json, a sheet PNG with --sheet, or the piece second by second in words with --timeline; report says each head's held-out score, labels, cheats, gate and what it can't judge)
+```
+
+Headless: it needs nothing running and opens no window. Takes any number of arguments besides its flags.
+
+## Flags
+
+| Flag | Takes | What it does |
+| --- | --- | --- |
+| `--about` | `TEXT` | What this fingerprint is for, in a sentence, shown beside its name in the app |
+| `--at` | `T` | The moment a label is for, in seconds |
+| `--axis` | `A` | The axis a label is for, by name, such as blur or clip |
+| `--bad` | – | The moment has the problem the axis names (the default) |
+| `--box` | `x0,y0,x1,y1` | Where in the frame the label is, as fractions of the width and height |
+| `--extends` | `FP` | Another of your fingerprints to start from: the new one takes its axes and adds its own |
+| `--fp` | `NAME` | Which fingerprint to use, by name; without it, the default |
+| `--from` | `LIST` | A file listing the renders to learn from, one path a line, relative to the file; lines starting with # are skipped |
+| `--good` | – | The moment is fine on that axis |
+| `--json` | – | Print the result as JSON |
+| `--per` | `N` | How many moments to take from each render (10 if not given) |
+| `--project` | `P` | The project the label came from, so evidence is held out by project |
+| `--sheet` | `out.png` | Also write a contact sheet PNG of the moments it expects a note on |
+| `--span` | `S` | How long the labelled moment lasts, in seconds |
+| `--timeline` | – | Describe the piece second by second in words |
+| `--who` | `W` | Whose fingerprint it is, shown on its card |
+| `--words` | `W` | The label's own words, as the note said them |
+
+<!-- generated:end -->
diff --git a/docs/manual/reference/cli/hook.md b/docs/manual/reference/cli/hook.md
index 4ab98638..c35f5df9 100644
--- a/docs/manual/reference/cli/hook.md
+++ b/docs/manual/reference/cli/hook.md
@@ -1,7 +1,7 @@
---
title: "raea hook"
summary: "Every agent's tool hooks: media opened in the Mac's viewer goes to raea show, and the quick check after a composition is saved."
-order: 50
+order: 51
sources: ["apps/check/src/hook.rs", "apps/tools/src/agent_hooks.rs"]
---
diff --git a/docs/manual/reference/cli/index.md b/docs/manual/reference/cli/index.md
index bbf9be0e..dcdf22f5 100644
--- a/docs/manual/reference/cli/index.md
+++ b/docs/manual/reference/cli/index.md
@@ -65,6 +65,7 @@ What's wrong before anyone watches it.
| --- | --- |
| [`raea check`](check.md) | Check a composition's text in a second, a project against every rule it holds, or an export against the floor: text, contrast, safe areas, freezes, flashing, cues and loudness. |
| [`raea judge`](judge.md) | Judge a 3D scene's review sheets blind, by a model on a frozen rubric or a fresh agent session, with the pass decided in code. |
+| [`raea fingerprint`](fingerprint.md) | A person's sense of good work, learned on this Mac: axes with small heads over on-device encoders that score a render moment by moment and say what they can't judge yet. |
| [`raea findings`](findings.md) | What each render and check found, read back from the project's record: fixed, new and carried since the one before. |
| [`raea scene`](scene.md) | Find floating, sunk and clipping 3D parts, say what each part rests on, and meter a shot's light. |
| [`raea world`](world.md) | A frame as one world: its layers, text, 3D parts, camera, shots, clips, cues and lines as entities, queried across media. |
diff --git a/docs/manual/reference/cli/next.md b/docs/manual/reference/cli/next.md
index 8284241e..b2bb8b87 100644
--- a/docs/manual/reference/cli/next.md
+++ b/docs/manual/reference/cli/next.md
@@ -1,7 +1,7 @@
---
title: "raea next"
summary: "The two or three most useful next steps for a project, read from its brief, compositions, renders and checks."
-order: 48
+order: 49
sources: ["apps/workspace/src/next.rs", "core/facts/src/record.rs"]
---
diff --git a/docs/manual/reference/cli/scene.md b/docs/manual/reference/cli/scene.md
index 78dae874..049d349e 100644
--- a/docs/manual/reference/cli/scene.md
+++ b/docs/manual/reference/cli/scene.md
@@ -1,7 +1,7 @@
---
title: "raea scene"
summary: "Find floating, sunk and clipping 3D parts, say what each part rests on, and meter a shot's light."
-order: 45
+order: 46
sources: ["runtime/export/src/scene.rs"]
---
diff --git a/docs/manual/reference/cli/solid.md b/docs/manual/reference/cli/solid.md
index ad3af680..33a55002 100644
--- a/docs/manual/reference/cli/solid.md
+++ b/docs/manual/reference/cli/solid.md
@@ -1,7 +1,7 @@
---
title: "raea solid"
summary: "Measure, view and export a solid: parts built from code with exact volumes, joints and parameters."
-order: 47
+order: 48
sources: ["apps/solid/src/lib.rs", "apps/solid/src/export.rs"]
---
diff --git a/docs/manual/reference/cli/traces.md b/docs/manual/reference/cli/traces.md
index 84746f75..fde68b69 100644
--- a/docs/manual/reference/cli/traces.md
+++ b/docs/manual/reference/cli/traces.md
@@ -1,7 +1,7 @@
---
title: "raea traces"
summary: "List the sessions raea apps left, newest first, with how each ended and its glitches, or tell one in full."
-order: 51
+order: 52
sources: ["engine/cli/src/cli.rs", "io/trace/src"]
---
diff --git a/docs/manual/reference/cli/world.md b/docs/manual/reference/cli/world.md
index a1a1aabf..442ad03e 100644
--- a/docs/manual/reference/cli/world.md
+++ b/docs/manual/reference/cli/world.md
@@ -1,7 +1,7 @@
---
title: "raea world"
summary: "A frame as one world: its layers, text, 3D parts, camera, shots, clips, cues and lines as entities, queried across media."
-order: 46
+order: 47
sources: ["apps/direction/src/world.rs", "runtime/world/src/lib.rs", "core/facts/src/components.rs"]
---
diff --git a/tools/manual-ref/cli.ts b/tools/manual-ref/cli.ts
index 086b72c9..57d6ec7e 100644
--- a/tools/manual-ref/cli.ts
+++ b/tools/manual-ref/cli.ts
@@ -27,7 +27,7 @@ const verbs: Verb[] = JSON.parse(run(["help", "--json"])).verbs
const GROUPS: [string, string, string[]][] = [
["Make", "Render, play and package what you wrote.", ["render", "play", "export-game", "export", "bundle", "app", "run"]],
["Projects", "The workspace, its projects and what a project holds.", ["init", "workspace", "project", "controller", "spec", "component", "part", "add", "brand", "library"]],
- ["Check", "What's wrong before anyone watches it.", ["check", "judge", "findings", "scene", "world", "solid", "next", "doctor", "hook", "traces"]],
+ ["Check", "What's wrong before anyone watches it.", ["check", "judge", "fingerprint", "findings", "scene", "world", "solid", "next", "doctor", "hook", "traces"]],
["Footage", "Takes, cuts and the camera, from your own media.", ["media", "cut", "frame", "track", "splat", "mezz", "neural"]],
["Sound", "Music read, foley and instruments made on this machine.", ["song", "sounds", "sao", "tokensynth", "setup-audio"]],
["Generate and 3D tools", "Generated media, physics bakes, Blender and Godot.", ["gen", "physics", "blender", "godot"]],