Public: anyone can read this; the crew can change it.
Choose the template when making a new forge #7538
commented
Live triage (automatic, not written by a person): no pillar named, so it waits behind the Later gate; name a pillar to move it.
Sign in to join this conversation.
What exists today
spawnForge(src/actions/spawn.ts) through the door shared byPOST /api/v1/forges(src/http/api/forges.ts:36), the MCPspawntool, the page/forges/new(src/web/pages/new-forge.ts) and the terminal form (src/tui/screens/newforge.ts).freshFiles,src/actions/spawn.ts:488: a README, aforge.jsonand a tinyindex.ts), and a fork of the parent's<org>/forge(forkForgeCode,src/actions/spawn.ts:556).scaffoldFiles(src/apps/scaffold.ts:43), used only by/apps/new(src/actions/apps.ts:340). There is no "template" concept in the spawn path and no way to mark a repo as a template.The gap. The word "template" has two readings and the code supports neither choice:
Reading 1 comes first because it is what the form already half-offers (the "fresh app" slot) and it needs no change to how forges follow their parent. Reading 2 is the last child and reuses the same picker.
Children, in order
template, records it, and the list is exposed by API and MCP.Each child is independently buildable once the one before it has landed, adds new files rather than growing
src/http/api.ts,src/web/pages/repo.tsorsrc/actions/spawn.ts, and leaves the default (no choice) byte-for-byte as it is today.Done when all five children are closed and a forge made on the New forge page with a template other than the default starts with that template's files, with the choice shown on
/forges.