mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
core/brief's Brief drops stages and its Stage, Mark and Task types: a project's tasks are its plan.org. An older brief with stages still reads; raea doctor says its tasks belong in plan.org and moves nothing. core/brief's object plan, the solids contract, is parts() in NAME.parts.ts (raea spec --as parts), so plan means only a project's plan.org. No project used plan(); the bevy guides that teach it, the manual and the reference pages follow.
1.2 KiB
1.2 KiB
title, summary, order, sources
| title | summary | order | sources | |
|---|---|---|---|---|
| raea spec | Print a spec file's default export as JSON, checked against its schema: briefs, scripts, taste and an object's parts. | 25 |
|
raea's specs are TypeScript files whose default export is data: brief.ts, NAME.script.ts, taste.ts and
NAME.parts.ts. raea spec evaluates one, checks it against its schema and prints it as JSON,
so an agent can read a brief without running anything else, and a wrong field is caught before it matters.
raea spec brief.ts
raea spec launch.script.ts
raea spec notes.ts --as taste
Usage
raea spec FILE.ts [--as brief|script|taste|parts] (a spec's default export as JSON, checked against its schema: brief.ts, script.ts, taste.ts, NAME.parts.ts)
Headless: it needs nothing running and opens no window. Takes up to 1 argument besides its flags.
Flags
| Flag | Takes | What it does |
|---|---|---|
--as |
brief|script|taste|parts |
Which schema to check it against. By default from the file's name (brief, script, parts), and taste otherwise. |