BuilderOS

Project memory

Everything BuilderOS knows about your product lives in plain files in your repository. Nothing in a database, nothing in a vendor account. Every session reads it first and every phase writes it last.

Layout

  • PRODUCT.mdwhat the product is: problem, ICP, non-goals, constraints, voice, language
  • DOMAIN.mdthe product's things and their rules: entities, states, invariants, settled business rules
  • TECH.mdhow it is built and run: stack, design system, verify commands, operations, technical constraints, conventions, known traps
  • AGENTS.mdthe project's own agent instructions; /bos-init adds the pointer below
  • CLAUDE.mdthe same pointer, for every Claude Code surface (cloud project threads load only this)
  • .builderos/
  • └bin/bos.mjsa copy of the BuilderOS script (bos.mjs vendor), for sessions without the plugin
  • └local.jsonthis checkout's active initiative; gitignored, never shared
  • └person-log.jsonlwhat the person wrote, one JSON line per message ({at, text}), appended by the message hook and by nothing else; person fields quote it
  • └media/{initiative}/demo recordings (delivery-discipline, demo); gitignored, shared by link
  • └WORK.mdthe work list: every piece of work with its status (todo, doing, to try, done, dropped), who holds it, what it waits on; the last session's handoff on top; written by the model, read by the script
  • └index.htmlthe project on one page: open decisions and what they block, in progress, next, done; generated by bos.mjs page on every state change
  • └maps/
  • └{slug}/MAP.mda wayfinding map: destination, notes, decisions so far, the fog, out of scope (skills/wayfinding)
  • └{slug}/tickets/NN-{slug}.mdone decision ticket: type, status, blocked by, claimed by, question, resolution
  • └reviews/
  • └{YYYY-MM-DD}.mdone product review: levers read, stage verdict, 1-3 proposals, who decided (skills/builder-os/references/product-review.md)
  • └grilling/
  • └{topic}.mda question log for a decision grilled outside an initiative
  • └decisions/
  • └ADR-001-{slug}.mdone file per decision that is hard to reverse (shared across initiatives)
  • └evidence/sources cited by PRODUCT.md, DOMAIN.md and TECH.md, same format as an initiative's
  • └initiatives/
  • └{initiative}/one folder per initiative: a change, a feature, a bet, a new product
  • └state.jsonthis initiative's pipeline state, the machine-read file
  • └BRIEF.mdwhy: Building: and Why: on top, then # Request (feature and build tracks), # Frame, # Discovery, # Definition, # Bet
  • └SPEC.mdwhat: # Design (flows, states, components, domain model, visual direction), # Spec (scope, criteria, tracking plan)
  • └PLAN.mdhow: the accepted plan, seams, slices with their status, the test map
  • └LOG.mdwhat happened while building: runs, reviews, demo, what was tried, decisions on the way; no cap
  • └RESULT.md# Release (rollout, instrumentation, baseline, exposure), # Outcome (actual vs. target, decision, watch)
  • └INITIATIVE.mdbuild and change tracks from 3.9: every part below in one file, same headings
  • └CHANGE.mdthe change track instead of the four (before 3.9): the thread, then # Request, # Design when the interface changes, # Spec, # Plan, # Release
  • └evidence/one file per source a tag cites: interview notes, query output, excerpts
  • └runs/explicitly captured checks: command/exit metadata JSON and raw output logs
  • └grilling.mdthe question log every pressure-testing session on this initiative shares: each Qn, its answer, who, when, its status (skills/pressure-testing)
  • └questionnaires/
  • └{recipient}.mdasync questions for someone the user cannot interview, phase 1
  • └cycle-{N}/artifacts of an earlier cycle of this initiative

Rules that keep it honest

  • Markdown for people, JSON for machines

    Phase artifacts are written to be read. Each initiative’s state.json is the machine surface, so no agent parses prose to know where work stands.

  • State is written by the script

    bos.mjs writes state, history and gate results. A hook refuses a hand-written state.json on Claude Code.

  • One folder per initiative

    Two people advancing two initiatives never edit the same file. ROADMAP.md tables are regenerated, never merged by hand.

  • What ships moves up

    At ship, the entities and rules an initiative settled move into DOMAIN.md, and the chosen look into TECH.md, so the next feature starts from them.

Every field of state.json, the evidence file format, the ADR format and the session briefing: the full state schema.

Generated from references/builderos-state-schema.mdView on GitHub