From intent to verified code.

Spec-driven development
for AI coding agents.

Solomonar is an open-source framework for developers who want AI coding agents to work from agreed specifications, follow focused tasks, and pass independent reviews.

Framework and CLI v0.3.9 · in active development.

One book. Every secret.Your book: specs

The same tale, told in your repository.

Agents work fast and forget fast. When requirements live in chat history, every new session starts from nothing and no reviewer shares a definition of done. Solomonar gives the work the shape of the old story: one book, a few spells, dragons with distinct jobs, and someone holding the reins.

  1. 01 The book

    The solomonar learned every secret from a single book.

    Your book is the specification: version-controlled files that say what the software must do. The spec skill keeps what a prototype happened to do apart from what you agreed, and leaves the rest as open questions.

    How specifications work
    docs/specs/expenses.md
    ## Rules
    
    - expenses/R-1 · Agreed · If the amount is not a
      positive number, then the system shall show an error
      and add no expense. · user 2026-10-21
    - expenses/R-2 · Observed · When the page reloads,
      the system shall still list a saved expense.
    
    ## Open questions
    
    - expenses/Q-1 · Where are expenses stored?
      · needs decision: yes
  2. 02 The spells

    Knowledge became a method, spoken when needed.

    Skills are short procedures your agent loads on demand: try a flow as a clickable prototype, turn it into rules, prepare one task. You call them in plain words from your configured agent session.

    Prompts for real situations
    Your agent session
    /solomonar Prototype adding a shared expense.
    Let me try the empty list, a valid expense,
    and an invalid amount. Use fictional data;
    do not choose a production stack yet.
  3. 03 The dragon

    A dragon carried the storm, but never chose its course.

    Agents do the heavy work, each with one job. An implementer builds the change. Separate reviewers check security, correctness, and the spec, and risky changes face a reviewer whose only aim is to break them. No agent approves its own work.

    Meet the agents
    .claude/agents/
    implementer.md            builds one candidate
    security-reviewer.md      trust boundaries, secrets
    correctness-reviewer.md   rules, edge cases
    spec-reviewer.md          scope and contracts
    adversarial-reviewer.md   tries to break tier 2
  4. 04 The direction

    Every dragon needs a little direction.

    You hold the reins through one orchestrator session per task, and a CLI that records each step in Git. The orchestrator decides; the CLI checks, and refuses a step the record cannot support.

    Follow a task to merge
    Terminal
    $ solomonar task move W-001 --as orchestrator-1 \
        --stage implementation
    error: task move W-001 rejected (spec_required)
      check: a stage from implementation onward
             needs a recorded spec
      found: implementation without spec
      fix:   pass --spec <worktree-relative path>
    nothing was written

Start with one stitch.

Install the CLI, then run init in your repository. It copies the book, the spells, and the agents into your project and creates the task registry. The CLI never calls a model: your agent runtime does the work, and the CLI keeps the record honest.

Available today: init, upgrade, the extension commands with the go and extension-authoring extensions, the runtime commands, and the task commands. doctor and guard come next.

Terminal
$ solomonar init --runtime claude --runtime codex --yes
Initialized solomonar 0.3.9 in ~/ledger
  43 files created
  registry  refs/heads/workflow-state @ d769ccf

Next:
  1. First commit required before task worktrees
  2. Start a top-level session:
       Claude Code: /solomonar Explore the next useful flow.