Regenerate FORGE-OVERVIEW.md and FORGE-REFERENCE.md from source files. Use when: user wants to update the overview/reference docs, says 'refresh docs', or after a major milestone.
Regenerate FORGE's two key documents from source-of-truth files. Follow the recipe at docs/FORGE-OVERVIEW-RECIPE.md exactly.
Read docs/FORGE-OVERVIEW-RECIPE.md fully before doing anything else. It defines what goes in each file, which sources to read, and the generation checklist.
Check $ARGUMENTS:
reference-only → skip FORGE-OVERVIEW.md, only regenerate FORGE-REFERENCE.mdoverview-only → skip FORGE-REFERENCE.md, only update FORGE-OVERVIEW.mdRead every source file listed in the recipe's "Source files to read" table. Do not write from memory. Key sources:
| Source | What to extract |
|---|---|
CLAUDE.md |
| Pipeline types, modes, key source locations |
docs/gotchas/GENERAL.md | Signal protocol, pipeline modes, conventions |
agents/*.md (all) | Frontmatter: name, description, model, tools, maxTurns, effort |
skills/*/SKILL.md (all) | Name, description, which agents invoked |
hooks/hooks.json | Event types, matchers, script paths |
hooks/*.js (all) | First 30-50 lines: what each does, blocks or advisory |
mcp/server.js | All registerTool calls: name, description, inputSchema, readOnlyHint |
mcp/lib/*.js | Module purposes, key functions |
.claude-plugin/plugin.json | Plugin version |
.pipeline/modules.json | Module inventory |
.pipeline/board.json | Open items for "What's planned" |
docs/CHANGELOG.md | Recent changes for Era assessment |
docs/DECISIONS.md | Recent architecture decisions |
forge-config.default.json | Model routing defaults |
docs/RESEARCH/*.md | Competitive data for comparison tables |
Count everything: agents, skills, hooks, MCP tools, lib modules. You'll state these counts in the docs.
Follow the recipe's Part 2 exactly:
docs/FORGE-REFERENCE.md (required before overwriting)docs/FORGE-REFERENCE.md with all 15 sections per the recipeThe 15 sections in order:
Follow the recipe's Part 1. Only update data-driven sections:
Do NOT:
If a new Era seems warranted based on CHANGELOG entries since the last Era, tell the user: "A new Era may be warranted — [reason]. Want me to draft it?"
Electron|Svelte|IPC|ipcMain|ipcRenderer|contextBridge|src/main/|src/renderer/|src/preload/ — only allowed in historical Era narratives in the overviewAfter completion, report: