Table of Contents generated with DocToc
| File | Embedded by | Shows |
|---|---|---|
magpie-setup.svg | docs/quick-start.md, and docs/setup/README.md | /magpie-setup:setup detecting the checkout, printing its plan, and waiting for approval. A real recording of a real run. |
wizard/<family>.svg | that family's install page, Before the first run | An animated /magpie-setup:setup config run for that family. Generated from requires_config: frontmatter by render-wizard.py — there is no transcript to edit. Illustrative of the shape of a run, not a recording of one. |
families/<family>/<skill>.txt | — | The authored transcript. This is the source file. |
families/<family>/<skill>.svg | that family's install page, Try these first | The transcript rendered. Generated; never hand-edited. |
The setup family has no screenshot of /magpie-setup:setup itself: its first run is magpie-setup.svg, so docs/setup/README.md embeds that rather than a copy.
A capture needs a terminal, a scratch project, and a human — and it needs all three again the next time any output moves.
That price is worth paying once. /magpie-setup:setup is the run a reader has not done yet, and seeing it actually happen, at the pace it happens, is worth more than a description of it. So that one is a recording.
It was not worth paying ten times, and the proof is what happened when the repository tried: nine family recordings sat in the tree as placeholders for months, and when they were written they all showed the same thing — a pre-flight stopping on an unadopted repo, which is setup‘s arc, not the family’s. Nine copies of the quick start, filed under ten families.
A screenshot's job on a family page is to show the shape of a run: what comes back, and how it is laid out. That does not need a capture. It needs someone to write down what a typical run looks like, which is a text file anyone can fix in a pull request without booking a recording session.
render-screenshot.sh is deterministic: the same .txt produces the same .svg, byte for byte, on any machine. So check-quickstart-recording.py can prove that every committed .svg still matches its transcript. Edit one without re-rendering and the build fails.
It cannot prove that a transcript still matches what the skill prints today. Nothing here can. That is the real cost of authoring rather than capturing, and it is accepted deliberately: a screenshot on these pages is there to show the shape of a run, not to serve as a test oracle. Write transcripts to be robust to cosmetic change and the gap stays small — see the conventions below.
$EDITOR assets/quickstart/families/pairing/self-review.txt tools/dev/render-screenshot.sh assets/quickstart/families/pairing/self-review.txt
Then embed the .svg in that family's install page (docs/<family>/install.md) under Try these first, with alt text describing what the run shows. --all re-renders everything and --check fails on anything stale, which is what runs on commit.
Colour comes from the line itself, so a transcript stays something you read as a terminal rather than as markup:
| Line | Rendered |
|---|---|
starts with > | the command, in the prompt colour |
starts with ✓ | green |
starts with ⚠ | amber |
starts with ✗ | red |
| ALL CAPS on its own | a section label, in amber |
| anything else | ordinary output |
magpie-security in particular, invent the tracker numbers and use a scratch tracker name; a real transcript would put an embargoed report in a public repository permanently..txt opens with the licence header as a block of # comments, exactly like any other authored file here, and the renderer strips it before drawing — so it satisfies Apache RAT without being rendered into the picture and without needing a .rat-excludes entry. The one constraint it buys: a transcript cannot open with a literal # line..svg. It is generated. Edit the .txt and re-render.tools/dev/render-wizard.py writes them all:
magpie-python tools/dev/render-wizard.py # write magpie-python tools/dev/render-wizard.py --check # fail on drift
magpie-setup.svg is one fixed arc — the agent detected, the families picked, the install commands, then the secure-agent setup applying the sandbox, the clean-environment wrapper, the hooks and the status line. Edit setup_script() to change it. The per-family runs under wizard/ have no script to edit: they are derived from each family‘s skills’ requires_config: frontmatter, so a family that gains a required file gains a frame by itself.
Animation is SMIL — one <animate> on opacity per line, all sharing one duration so the sequence loops as a unit. A viewer that does not animate SVG shows the first frame, which is the command about to be typed.
Nothing in this repository is captured. magpie-setup.svg was the last recording, made with asciinema and svg-term-cli. It was also wrong: it opened with the marketplace install, which became a prerequisite with its own page, and fixing that needed a terminal, a scratch project and a human — which is why it stayed wrong for as long as it did. The recorder is retired and the Node dependency with it.
What that costs is the same thing the authored screenshots cost, and it is worth restating here: a generated animation cannot prove the program still behaves the way the picture says. It shows the shape of a run — what is asked, in what order, and what is written where — and every embed says so.
The output is text, which is most of the argument:
The tradeoff for the one animated file: a renderer that does not run SVG animation shows the first frame rather than the loop. That is an acceptable still, and GitHub — where these pages are actually read — animates it. The authored screenshots are static, so they have no such tradeoff.