Skip to content

Cornerstone

Agent-assisted software delivery, where checks decide that work is done.

Version 1.4.0. All 10 profiles are supported, and each generated check blocks.

Cornerstone says how a human and an agent deliver software together. It sets who does each stage, which gates stop the work, and which checks decide that work is done. The core names no tool. Adapters turn it into files for your harness, and the stone CLI writes those files into your repo.

Get started Read the principles

Why use it

Agents write code fast. But an agent stops when the work looks done. It can claim a check that it did not run. It can write tests that agree with its own mistakes. It can drift from the ticket. Also, models change, and a rule that helps one model can hurt the next model.

Cornerstone gives you:

  • Proof, not claims. CI output shows that work is done.
  • Independent judges. A different role, in a fresh session, writes the tests and reviews.
  • Right-sized process. A profile sets the plan and the gates for each type of work.
  • Rules that expire. Each part has an eval and a review date, and it leaves when the evidence goes.
  • No lock-in. When a tool changes, only its adapter changes.

Who it is for

  • A developer who uses a coding agent on real repos and wants the result checked.
  • A team that wants one process for many types of work.
  • A person who uses Spec Kit, OpenSpec, or BMAD and wants a layer that does not depend on one tool.

It is not a prompt library or an IDE. At this time the only adapter is for Claude Code.

What Cornerstone does

  • Checks decide


    CI output, not an agent claim, shows that work is done. The checks run outside the agent session.

  • The writer is not the judge


    The implementer, the tester, and the reviewer each run in a fresh session. A hook and a CI check stop the implementer from changing the tests.

  • Judgment goes into the inputs


    A human makes the ticket ready: acceptance criteria, non-goals, a test oracle, and the users that it serves. Then the prompt can be simple.

  • Ceremony scales with risk


    Ten profiles, from a spike to a full project. Each profile sets its plan form and its gates.

  • Neutral core, thin adapters


    The core names no harness, vendor, or model. When a tool changes, only its adapter changes.

  • Each part earns its place


    Each rule, role, and hook has an eval and a review date. When the evidence goes, the part goes.

How it compares

Many tools cover one part: a gated flow, role agents, or a file generator. In the sources that we read, none joins a neutral core, harness adapters, gates by profile, and an eval and review date for each part. See the prior art.

How the work moves

flowchart LR
  T[Ticket] -->|G1 Ready| P[Plan] -->|G2 Plan approved| B[Build:<br/>implementer] --> TE[Test:<br/>tester] --> V[Verify:<br/>checks] -->|G3 Checks pass| R[Review:<br/>reviewer] -->|G4 Change approved| D[Deliver]
  V -. fail .-> B

Each role is a separate session. A human approves G1, G2, and G4. Only checks pass G3. The profile selects the gates that apply. See the workflow model and the gates.

Start in three steps

  1. Install the CLI from a clone of the repo:

    git clone https://github.com/brawblan/ai-workflow.git
    pip install ./ai-workflow/stone
    
  2. Install the plugin in Claude Code:

    /plugin marketplace add brawblan/ai-workflow
    /plugin install cornerstone@brawblan
    
  3. In your repo, run /cornerstone:setup. It asks only for the facts that it cannot find. Then stone render writes the roles, the hooks, and the CI checks.

Pick your situation

Status

Draft v0. The framework is complete enough to use on one profile. The stone CLI validates the framework, checks the writing standard, and renders the roles of all 10 profiles. Claude Code is the first harness adapter. The next steps are in the roadmap.

Each rule cites its evidence in the research dossier.