Skip to content

The .sb folder

The .sb folder holds the repository manifest, the resolved Startup and the generated types.

The .sb/ folder holds the repository manifest, the whole resolved Startup, and the types generated from it.

  • .sb/
  • repo.jsoncthe Roots in this repository and which side leads
  • resolved/the whole Startup, own and inherited (git-ignored)
  • types/types for every Noun (git-ignored)

Reference

PathWritten byCommit
repo.jsoncnpm create startupsYes
resolved/dev and every pullNo
types/dev and every pullNo

repo.jsonc lists each root folder with its kind and leader: git when commits import as Changes, db when files regenerate from the record.

Examples

Minimal

.sb/repo.jsonc
{ "roots": [{ "path": ".", "kind": "startup", "leader": "git" }] }

Leaseline

.sb/repo.jsonc
{
  "roots": [
    { "path": ".", "kind": "startup", "leader": "git" },
    { "path": "code/partner-webhook", "kind": "implementation", "leader": "git" }
  ]
}

What it builds

Nothing. The StartupBuilder writes resolved/ so any agent reads the whole Startup in one place.

Good to know

  • To see where a value came from, run npx startup-builder show /offers/pro/price.