1---2name: ferrox-canon-init3description: Ferrox Canon Init4---56<objective>7Create the project's declared canon store(s) at the project root: `LORE.md` (book and8writing projects) and/or `SOURCES.md` (research and nonfiction), each carrying the fenced9`yaml canon-facts` machine slice. Once a store exists, every creative gate and agent treats10it as binding context.11123 modes:13- **Interview** (default): short recommendation-first interview grounded in the repo's14 README and premise notes, then write the store(s).15- **`--from-existing`**: scan an existing manuscript, notes, chapters, or bibliography for16 entities, sources, and facts; draft the store from what is already true, confirming only17 the gaps.18- **`--from-brainstorm`**: read the book or software BRAINSTORM.md (the v1.12 brainstorm19 artifact) as the seed for entities, threads, world rules, and sources.2021Works in any repo. Does not require prior Ferrox project setup.22</objective>2324<execution_context>25@~/.claude/ferrox-core/workflows/canon-init.md26</execution_context>2728<runtime_note>29**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`.30</runtime_note>3132<context>33Arguments: $ARGUMENTS3435**Available flags:**36- `--from-existing` - Skip the interview; scan the existing manuscript, notes, chapters, or37 bibliography and draft the store from what is already true, resolving only gaps.38- `--from-brainstorm` - Skip the interview; seed the store from the project's BRAINSTORM.md.39</context>4041<process>42Execute the canon-init workflow end-to-end. Preserve all workflow gates (existing-store43check, domain and template mapping, mode recommendation, recommendation-first interview,44review gate before writing, binding closing message).45</process>