the seed genre
Ask an agent
View as Markdown
Ask ChatGPTAsk Claude

What is a seed

You've met the recipe — the genre that teaches an agent to build a capability from principles, naming nothing concrete. A seed is its sibling, inverted: it teaches an agent in a repository that has never had a tool how to bring that one tool in and stand it up. If you're the engineer deciding whether to let an agent run an install on your tree, this is the page that earns that.

seed genre v1.1.0
01 — the one-sentence definition

A seed teaches an agent in a repository it has never seen how to acquire one named tool and make it real — detect whether it is already present, install it from an origin the seed vouches for, prove the install took, use it, wire it into the repository's harness, and account for every move.

It is written for the machine that will act on a foreign tree. Exactly one section, at the end, is written for you.

02 — accountability, not neutrality

Name the tool. Never the reader's tree.

A recipe's hardest constraint is neutrality: name roles, never instances, because its subject is a transferable pattern. A seed inverts that. Its subject is one concrete tool, so it names that tool freely — the target, its version, its origin, its own install command all belong in the document, because they are the document. What a seed must still never name is the reader's tree: their paths, their filenames, the directory where their harness lives.

So the discipline shifts from transferable design to trustworthy action. The test is the recipe's test pointed at a different object: could an agent follow this in a repository whose layout you have never seen?

A seed that installs without detecting clobbers a working tree — stacks a second copy beside the first, or fails on a conflict it created, as a mutation the human never asked for.
A seed that installs without verifying reports a success it never had — a package half-lands, a lookup cache goes stale, a binary arrives without its execute bit.
A seed that pipes a stranger's script into a shell with no cited origin is an unaudited privilege it handed away on the reader's behalf. Every rule below exists to keep those from happening.
03 — seven gated sections

A fixed shape, checked by a gate, in this order.

Frontmatter carries identity, version, and the two trust anchors — the target it brings in and the origin it vouches for. The body then walks a chain in which each section earns the right to the next.

  1. 01Summary — a 2–4 sentence orientation before any move: what tool this brings in, what standing it up buys the reader, and the state they're in when it's done. It's body text, so neutrality applies in full.
  2. 02What it is — the tool itself: what it does, the shape of the thing that lands, and the model the reader needs before they let it onto their machine. Understanding before acquisition.
  3. 03Install — the acquisition sequence, one step per heading. Its first step opens with a Detect marker (is the tool already here, at what version?), and every step closes with a literal Done when line stating the observable condition that proves it took.
  4. 04Verify — the proof the whole install works, and it must run at least one real command the agent observes, not prose that asserts success. Install can lie; Verify is the acceptance at the whole-tool level.
  5. 05Use — how the reader actually puts the now-installed tool to work: the first real thing they do with it, concrete enough to act on but still neutral about their own tree.
  6. 06Harness — how the tool joins the repository's agent harness so future agents know it's here. Advisory: recommend a project rule only when the tool ships none of its own, or you manufacture a second source of truth that drifts.
  7. 07Report — the closing section, and the only one written for a person: a fixed five-row table that accounts for what the seed just did to this repository.

The order is the argument. You cannot use a tool you haven't verified; you cannot verify one you haven't installed; you cannot install one you don't understand enough to describe. Reorder the sections and you break the chain.

04 — the trust contract, the seed's teeth

Four rules, each mechanical, each with a gate.

1Detect before you install. The first install step answers one question — is the target already present, and at what version? Detect-first is what makes a seed idempotent: safe to run twice, safe where the tool already exists.
2Every step states its acceptance. A step with no observable Done-when is one the agent can't tell succeeded until the end — which on a foreign tree is exactly when failure is most expensive.
3No blind pipe into a shell. The genre doesn't ban piping a remote script into an interpreter — for many tools it's the official path — but the step must cite the origin the frontmatter vouches for, so the human can audit where the code came from.
4Verify holds a runnable proof. A command whose output the agent reads is the difference between "I ran the installer" and "the tool actually runs here."

Together they turn an install from a hopeful sequence of commands into an accountable one: it doesn't clobber, doesn't proceed on faith, doesn't execute the untraceable, and doesn't claim a success it never observed.

05 — the Report is for the human

The Summary orients the agent; the Report is written for the person who has to accept what the seed just did. Where a recipe describes a design and can do so in prose, a seed took an action on the reader's tree — so its closing section is a fixed-shape audit, exactly five rows in order: what it is, how it works, what was done (the actual mutations this run made — the row that makes the seed accountable), how to use it, and suggest next. A human reviews many seed runs; a report whose shape changes every time is one they must re-read from scratch. The fixed table is a contract with that eye.

06 — derived from the tool's current truth

Read and run, never recalled. A tool's install command, its verify check, the origin it ships from — all of it lives in the tool's own current docs and in what it does when you run it, not in what you remember. The verified stamp is the proof: it says the seed was run, on a named machine, at a named release, on a named date — a snapshot of one successful install, not maintained doctrine.

07 — seed genre versions

A conformance verdict names a moving constitution.

1.1.0 — the human's usage orientation, and the agent that plants the tool

Sharpened three prose contracts; the seven-section shape and nine frontmatter keys are unchanged, so this is a MINOR and the shape-ledger row for 1.1.0 is byte-identical to 1.0.1. (1) ## Use is now the usage orientation for the human: it must name the skills a human and agent share and show the first real move through that surface, may carry a command only when the move is genuinely the human's, is an orientation the reading agent extends in place, and never re-lists the install the agent already ran. (2) ## Harness is reframed so the agent plants the tool into this repository's harness — per the repo's own conventions, in roles, asking before it mutates a file the human owns — while the verdict on authoring a project rule stays advisory. (3) The ## Report how to use it and suggest next rows carry usage, not setup: the working surface named for the human, never a re-run of the install the audit already accounts for. No gate changed; the discipline is prose, so a seed that lists install verbs where usage belongs is caught in review, not by the linter.

1.0.1 — the neutrality carve-out for the target tool

Narrowed §3 bullet 3: the neutrality engine now honors a per-seed carve-out, exempting a coordinate whose path segment or filename stem equals the declared target tool's own name (segment-stem equality) while every other coordinate — the reader's tree first of all — still reds. The genre's seven-section shape and nine frontmatter keys are unchanged; only the constitutional prose about how the engine treats the target's own artifacts is clarified to match the engine.

1.0.0 — the original sealed genre

Established the fixed seven-section body (## Summary, ## What it is, ## Install, ## Verify, ## Use, ## Harness, ## Report), the nine frontmatter keys, and the trust contract: an ## Install that opens with a **Detect:** step and carries a **Done when:** on every step, a ban on piping a remote script into a shell without citing the declared source, a ## Verify that holds at least one runnable proof, a ## Report fixed at exactly five rows written for the human, and an advisory ## Harness section whose presence is required but whose verdict is the author's.

what a recipe is →browse the seeds