How-to guides
Short, step-by-step guides for the things you do most: installing the Foundry, letting it build your GitHub issues, approving plans, writing flows and keeping it all safe.
Get started
- How to install Spaghetti Code Foundry on your MacInstall the Foundry from source on macOS, start the web UI, create the admin account, run the Setup check and invite people who are not engineers.
- How to start your first changeStart a change with + New change or run a flow by hand on a local repository, then follow its five phases and check what it changed.
- How to let the Foundry build your GitHub issuesAdd an issues watcher with the issue-gitflow flow and the Factory_go label, so labelled issues are planned, coded, tested and merged into develop.
- How to add a repository and choose its sign-inAdd a repository under My repositories, choose a token, deploy key or GitHub App for the Foundry to sign in with, and test the connection.
- How to keep the Foundry running as a login serviceInstall the Foundry as a macOS login service so watchers keep running after a restart, and learn how restarts and self-update work.
- How to use the Foundry from the command lineSign in with scf login, list changes and what waits for you, script with --json, and make any server call with scf api from your terminal.
- How to upgrade from claude-factoryMove an existing claude-factory install to Spaghetti Code Foundry: new remote, new scf command, new data folder and a refreshed login service.
Daily work
- How to answer questions, check a change and approve risky plansAnswer the Foundry's questions, correct its assumptions, try its checks with Works or Not quite, and approve or reject risky plans, from Today or GitHub.
- How to resume, retry or restore a stopped changeFind out in plain words why a change stopped, fix the cause, then retry it, retry with a hint, approve it, or restore a safe point.
- How to hand the Foundry a whole epicLabel a batch of stories at once, set the build order with Depends on, let the Foundry split stories that are too big, and follow it on Releases.
- How to turn an idea into ready storiesUse a session on Ideas and the architect to grow a rough idea or an existing issue into stories that meet the Definition of Ready.
- How to work with gitflow and the daily releaseSet up develop, feature branches and the daily release pull request to main, and know what happens to bug fixes when hotfixes are on.
- How to follow your work on Today and the boardRead Today, the board and the health chip to see where every change is, who has the next move, and whether the Foundry itself is well.
- How to get help in the app with Ask FoundrySwitch on Ask Foundry, ask about the Foundry and your own work, check how sure an answer is, and know what the assistant will not do.
Configure and extend
- How to write your own flowCreate a flow from a template, edit it visually or as YAML, reuse Library blocks, let any AI write one, and check it with scf validate.
- How to choose models and routing rulesPick Claude Code, Codex or a local model per step, set routing rules and a default model, and add fallbacks for when a model hits a limit.
- How to add skills from an open-source library safelyDeclare a skill source, import a reviewed commit into quarantine, scan it, measure its effect, then publish and approve a catalogue release.
- How to keep your code and secrets safeUse separate run copies, protected branches, the secret scan, approvals, spending limits, sandboxes, workspaces and autonomy levels to keep code safe.
- How to control costs and read the dashboardSet a daily budget, limits per issue, month, workspace and user, read spend on the Dashboard, and compare models on your own code with evals.
- How to invite users and set roles and viewsAdd accounts, choose admin or user and the Simple, Advanced or Admin view, publish flows for users, and sign in through your own identity provider.
- How to fix common problemsUse the Setup check and the Problems page, find out why nothing happens to an issue or a change failed, and fix push, Codex, budget and sign-in problems.