structure new
structure new <name> [--name n] [--describe d] [--dry-run] (alias: init)
the scaffold: ./<name>/, an empty typed company in under a second,
nothing asked, no model, no network — the spine with the name, one
line per document, no departments until you generate them; then
`cd <name> && structure tui` to approve the mission, your first canonstructure new <name> [--name n] [--describe d] [--dry-run]
the scaffold: ./<name>/, an empty typed company in under a second,
nothing asked, no model, no network — the spine with the name, one
line per document, no departments until you generate them; then
`cd <name> && structure tui` to approve the mission, your first canon(alias: init)
structure new [<name>] --guided [--repo <path>] [--name n] [--describe d] [--yes]
the interview: a short conversation, a tailored structure, the drafts
from your answers — bare `new` is guided here, `new .` spells that out.
A name and --repo both say where it goes, so together they are refused.
two doors, one command — a repo with CLAUDE.md/AGENTS.md/.cursorrules
is offered [a]dopt (canon distilled from your files, originals
preserved, nothing committed) or [f]resh (blank typed scaffold).
--adopt / --fresh forces the flavor · --no-smart = heuristics only
--runner codex-cli|claude-cli|ollama picks the assist runner
(first healthy wins: codex, then claude, then ollama)
--dry-run says what it would create and rewrite, and writes zero bytes:
no scaffold, no git init, no commit, no folder, no registry row
--feel answers How should work feel here? · --who answers Who are you?
· --answers f answers all five by id (name, describe, feel, who, structure)
--interview json prints each question as one JSON line and reads the
answer on stdin — for an agent relaying the interview (implies --yes)
stand up a new company: a short
interview, a tailored structure,
typed scaffold + compiled dialectsstructure new [<name>] --guided [--repo <path>] [--name n] [--describe d] [--yes]
the interview: a short conversation, a tailored structure, the drafts
from your answers — bare `new` is guided here, `new .` spells that out.
A name and --repo both say where it goes, so together they are refused.
two doors, one command — a repo with CLAUDE.md/AGENTS.md/.cursorrules
is offered [a]dopt (canon distilled from your files, originals
preserved, nothing committed) or [f]resh (blank typed scaffold).
--adopt / --fresh forces the flavor · --no-smart = heuristics only
--runner codex-cli|claude-cli|ollama picks the assist runner
(first healthy wins: codex, then claude, then ollama)
--dry-run says what it would create and rewrite, and writes zero bytes:
no scaffold, no git init, no commit, no folder, no registry row
--feel answers How should work feel here? · --who answers Who are you?
· --answers f answers all five by id (name, describe, feel, who, structure)
--interview json prints each question as one JSON line and reads the
answer on stdin — for an agent relaying the interview (implies --yes)stand up a new company: a short interview, a tailored structure, typed scaffold + compiled dialects
structure new --project [--name n] [--describe d]
a place to begin instead of a company:
five files — front page, conventions
(gated to you, compiled into every agent
dialect), a decisions log, memory/. Same
substrate, smaller layoutstructure new --project [--name n] [--describe d]a place to begin instead of a company: five files — front page, conventions (gated to you, compiled into every agent dialect), a decisions log, memory/. Same substrate, smaller layout
structure new --demo [--repo <path>] an example company you can read straight
away: one idea already moved through four
departments, its threads and documents kept
as replays. No AI needed, nothing generated;
refuses --name/--describe/--runnerstructure new --demo [--repo <path>]an example company you can read straight away: one idea already moved through four departments, its threads and documents kept as replays. No AI needed, nothing generated; refuses --name/--describe/--runner
structure new --help
usage: structure new <name> [--name n] [--describe d] [--dry-run]
structure new [<name>] --guided [--repo <path>] [--name n] [--describe d] [--yes]
structure new --project [--name n] [--describe d] [--starter s]
structure new --demo [--repo <path>]
structure new --dry-run [--project] [--adopt|--fresh]
structure new --interview json [--answers f] [--feel l] [--who l] [--project]
structure new [<name>] --from <folder> [--interview json] [--pack <id>]
structure new --pack <id> [--github <owner>/<name>] [--answers f]
Two doors. `structure new <name>` is the scaffold: it makes ./<name>/ and
stands an empty, typed company inside it in under a second. The name from
the folder (--name to say it differently), nothing asked, no model, no
network: the spine (mission, values, positioning, the two voices, you as
the founder from git config), each document its frontmatter, its heading
and one line saying what goes there; no departments, roles or skills
until you generate them. It git-inits, commits once, and ends with the
way in: `cd <name> && structure tui`, where the mission waits for your
first approval.
`--guided` is the interview: a short conversation, a tailored structure
from the library, the drafts written from your answers. Bare `new` is the
guided door in the folder you are standing in (`new .` spells that out);
--from and --pack are guided by nature. A name and --repo both answer
where it goes, so together they are refused rather than ranked.
Two doors, one command: a repo already holding CLAUDE.md, AGENTS.md or
.cursorrules is offered [a]dopt — canon distilled from your own files,
originals preserved, nothing committed — or [f]resh, a blank typed
scaffold. --adopt / --fresh chooses without being asked.
--project a place to begin instead of a company: five files, the same
substrate and the same gating, a smaller layout. `structure
graduate` adds the rest in place when it stops being just you.
--demo an example company, already at work. Invented people, invented
work, no model calls; refuses --name/--describe/--runner.
--dry-run say what it would do and do none of it: the files it would
create, the files it would rewrite and where each original
would be kept. Writes zero bytes — no scaffold, no git init,
no commit, no folder, and this device does not record the
repo. Asks nothing; every question takes its default.
--starter form the company (or project) from a shipped starter: its
spine, functions, roles and skills arrive as copies, each
carrying one provenance line naming the starter. One code
path, both doors — they differ only in gating and the four
project files.
--guided the interview instead of the scaffold (see above).
--yes take every default and ask nothing (non-interactive); with a
name and no --guided it is the scaffold already.
--runner codex-cli|claude-cli|ollama — which runner drives the
model-first arc: the follow-up conversation, the selection
of functions/roles/skills/document types, and the canon
drafts (in parallel). With no runner the surface says
`No runner · starter defaults` and template seeds stand.
--no-smart heuristics only; nothing is asked of a model.
--from <folder> your own documents (Word, PDF, slides, Markdown, text) as
evidence: each question shows what they say, with the file
and the passage beside it, and you take a suggestion by its
number; --yes and --answers never take one. Each document
lands in memory/inbox/documents/ with where it came from
named, and nothing else is kept.
--pack <id> stand the company up for a program's application (speedrun):
its questions come after the company's, and the application
is compiled when the company is written.
--github <owner>/<name> with --pack: where the company goes on GitHub
at the end.
The interview, answered ahead or relayed by an agent — its five questions,
in its own words, never re-asked once answered:
--feel answers How should work feel here? (the values question).
--who answers Who are you? — Name <email>, @handle optional.
--answers f answers all five by id from a JSON file: name, describe,
feel (or values), who (or identity), structure. A missing id
takes the question's own fallback; an unknown id is refused.
A flag beats the file. Values are raw lines, as you would type
them: a digit picks that suggestion.
--application f with --pack: a finished application, as JSON by field id
({"fields":{"one_liner":"…"}}) or a document read for its fields;
only what it cannot answer is asked. An --answers id beats it.
--interview json prints each question as one JSON line and reads the
answer on stdin — for an agent relaying our interview. stdout
carries only {"kind":"question"|"retry"|"plan"|"done"|"error"}
lines; everything else goes to stderr. Implies --yes; EOF is
the open question's empty answer.