Structure

structure init

structure init --help

usage: structure init <name> [--name n] [--describe d] [--dry-run]
       structure init [<name>] --guided [--repo <path>] [--name n] [--describe d] [--yes]
       structure init --project [--name n] [--describe d] [--starter s]
       structure init --demo [--repo <path>]
       structure init --dry-run [--project] [--adopt|--fresh]
       structure init --interview json [--answers f] [--feel l] [--who l] [--project]
       structure init [<name>] --from <folder> [--interview json] [--pack <id>]
       structure init --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.