Skip to content

How it works

From one sentence to a live site.

Branch 27 plans before it builds, remembers what you decided, and sends the model only what a change needs. Here is each stage in plain words.

  1. Understanding the request

    Branch 27 reads your prompt and works out the pages, features, content and audience before any code is written.

    A short prompt is enough to start. The brief is what every later step builds on.

    From a prompt to a briefExample

    A site for my dental clinic with services, prices and a booking form

    Pages
    Home, Services, Prices, Booking, Contact
    Features
    Booking form, price list, opening hours
    Content
    Clinic name, services, prices, address
    Audience
    Local patients, mostly on phones
  2. The design contract

    You get five to seven design directions. The one you choose is stored as rules for type, colour, spacing, components and how the layout responds on small screens.

    Every later change follows those rules, so the site still looks like one site after many edits.

    A direction becomes rulesExample

    Clean Studio

    Warm Craft

    Luxury

    Type
    Fraunces for headings, Nunito Sans for text
    Colour
    Five colours. One accent, used for actions
    Spacing
    Comfortable density on an 8px grid
    Components
    16px corners. Cards in a row share one height
    Small screens
    One column under 640px. Menu becomes a sheet
  3. Project memory

    Branch 27 keeps a record of your project that it can look things up in. It stores:

    • the site's purpose
    • its stack and structure
    • the design rules
    • finished features
    • your instructions
    • past errors and the fixes that worked
    For developers

    Memory records and source files are indexed twice: as semantic embeddings, so they can be found by meaning, and for lexical search, so exact names still match.

    Project memoryExample
    • PurposeA dental clinic site that takes bookings
    • Structure11 pages, 20 components, one stylesheet of tokens
    • Design ruleCards in a row share one height
    • FeatureThe booking form sends a confirmation email
    • InstructionAlways show prices with the currency
    • FixDate picker failed in one browser. The native input works
  4. Finding the right context

    For each change, four signals are combined, then ranked, then fitted into a token budget: meaning, exact words, code structure, and connections between files.

    What fits the budget is sent to the model. The rest of the project stays where it is.

    For developers

    This is hybrid retrieval. Semantic embeddings and lexical search find candidates. Tree-sitter symbol parsing and an import and dependency graph add structure. The candidates are reranked, and the context is assembled to a token budget.

    Four signals, one ranked list, one budgetExample
    • Meaning

      What the request is about

    • Exact words

      Names and phrases in the request

    • Code structure

      Components, functions and styles

    • Connections

      Which files use which

    Ranked by how many signals agree

    1. 1components/pricing-cards.tsx
    2. 2components/plan-card.tsx
    3. 3styles/tokens.css
    4. 4app/pricing/page.tsx
    5. 5Design contract: card rules
    Token budget3,180 of 4,000
  5. Scoped edits

    Before it edits, Branch 27 lists the files it expects to touch. The scope of a change is on screen before the change happens.

    Parts of the site that already work are left alone.

    For developers

    The expected scope comes from the same symbol and dependency data that drives retrieval: the files that define, import or style what the request names.

    Scope, listed before the editExample

    “Add a Careers link to the navigation.”

    Files I expect to touch

    • components/nav-menu.tsxEdit
    • components/footer.tsxEdit
    • app/careers/page.tsxNew

    40 other files stay as they are.

  6. Checks and checkpoints

    After an edit, Branch 27 runs lint, a type check, a build and regression tests. A version that passes is saved as a checkpoint.

    You can restore any checkpoint in one click.

    For developers

    Checks run in an isolated sandbox, away from your published site. Each checkpoint is a Git commit, so restoring a version is a real revert.

    Checks, then a checkpointExample
    1. LintPassed
    2. Type checkPassed
    3. BuildPassed
    4. Regression testsPassed
    5. CheckpointVersion 13 saved

    If a check fails, the change is repaired and checked again before anything is saved.

  7. Preview and publish

    A live preview updates while the agents work. When the site is ready, publish it to a free Branch 27 address, or connect a domain you already own.

    Preview, then publishExample

See it on your own site.

Create a free account and describe your first site. No card needed.

Get started free