____              _             _
 |  _ \  _____   __/ \   _ __ ___| |__
 | | | |/ _ \ \ / / _ \ | '__/ __| '_ \
 | |_| |  __/\ V / ___ \| | | (__| | | |
 |____/ \___| \_/_/   \_\_|  \___|_| |_|
v2.3.0

Claude Code is powerful.
Without discipline, it's chaos.

DevArch is a set of directives, agents, and skills for Claude Code that enforce engineering discipline at every step. Session continuity, quality gates, behavioral testing, architecture decision records, and domain-driven design — all automatic. One developer. 500% productivity increase. The code to prove it.

The Evidence

Don't take our word for it. Look at the repos.

6 mo
Sharpee engine built
2 mo
Mainframe Zork ported
4,000+
Unit tests
1 dev
Total team size

Sharpee is a full interactive fiction engine — TypeScript, multiple packages, Tauri desktop app, web deployment, behavioral test suite — built by one developer in six months with DevArch managing every session. Mainframe Zork, a large classic game, was ported to the engine in under two months. The code is public. Read it.

The Session Lifecycle

DevArch hooks into Claude Code's lifecycle. Every session follows this discipline automatically.

Session lifecycle sequence diagram

Every hook fires automatically. The developer never invokes them. Session context is preserved across conversations — start a new session tomorrow and the audit agent tells you exactly where you left off.

The Project Lifecycle

Sessions are the inner loop. Skills, artifacts, and decision records connect them into a coherent project.

Project lifecycle diagram

Brainstorm before you build. Review the architecture periodically. Every session produces a summary. Every significant decision becomes an ADR. Nothing is lost between sessions.

Developer            Claude Code           DevArch Hooks          DevArch Agents
    |                       |                       |                       |
    |  start session        |                       |                       |
    |---------------------->|                       |                       |
    |                       |  SessionStart hook    |                       |
    |                       |---------------------->|                       |
    |                       |                       |  create session file  |
    |                       |                       |  find previous session|
    |                       |                       |  report plan state    |
    |                       |                       |  set quality gate     |
    |                       |<----------------------|                       |
    |                       |                       |                       |
    |                       |  pre-session-audit   |                       |
    |                       |---------------------------------------------->|
    |                       |                       |    read last 5 sessions
    |                       |                       |    surface blockers   |
    |                       |                       |    flag recurring bugs|
    |  audit briefing       |<----------------------------------------------|
    |<----------------------|                       |                       |
    |                       |                       |                       |
    |  "build the auth      |                       |                       |
    |   module"             |                       |                       |
    |---------------------->|                       |                       |
    |                       |  session-planner      |                       |
    |                       |---------------------------------------------->|
    |                       |                       |    decompose into phases
    |  review plan          |<----------------------------------------------|
    |<----------------------|                       |                       |
    |  "approved"           |                       |                       |
    |---------------------->|                       |                       |
    |                       |                       |                       |
    |                       |  plan-gate-exit       |                       |
    |                       |---------------------->|  gate = clear         |
    |                       |                       |  archive plan         |
    |                       |                       |                       |
    :   (implementation)    :                       :                       :
    |                       |                       |                       |
    |                       |  PostToolUse hook     |  (on every tool call) |
    |                       |---------------------->|                       |
    |                       |                       |  log to work-log.txt  |
    |                       |                       |  track budget usage   |
    |                       |                       |  report at 70/90/100% |
    |                       |                       |                       |
    |                       |  mutation-verification|                       |
    |                       |---------------------------------------------->|
    |                       |                       |    check tests assert |
    |                       |                       |    on real state change
    |                       |                       |                       |
    |  "ship it"            |                       |                       |
    |---------------------->|                       |                       |
    |                       |  work-summary-writer |                       |
    |                       |---------------------------------------------->|
    |                       |                       |    summarize session  |
    |                       |                       |    status + blockers  |
    |                       |  PreCompact hook      |                       |
    |                       |---------------------->|  append work log      |
    |                       |                       |  finalize session     |
    |                       |                       |                       |
    |                       |  commit + push        |                       |
    |  done                 |<----------------------|                       |
    |<----------------------|                       |                       |

What's Inside

Directives, agents, and skills that enforce engineering discipline automatically.

Session Continuity

Session start hooks restore context. Work summaries capture state. Pre-session audits surface blockers. You never lose track of where you are.

Coding Discipline

Invariants and variants identified before writing code. Cohesive modularity enforced. Clear boundaries between domain logic and infrastructure. Not suggestions — rules.

Boundary Statements

Before editing files that own cross-boundary state — stores, reducers, projections, domain modules — the agent declares OWNER, SHARED?, PROMISE, and ALTERNATIVES. Per-consumer state can't quietly migrate into a shared module without an explicit conversation.

Behavior Statements

Every side-effect function gets a structured statement — DOES, WHEN, BECAUSE, REJECTS WHEN — before any test is written. If you can't state what the code does, it's not ready.

Test Grading

Tests derived from behavior statements are graded RED/YELLOW/GREEN. Tautological assertions, mock-only checks, and return-value-only tests are caught and rejected.

Mutation Verification

An agent runs after every side-effect function to verify tests assert on actual state changes — not just return values, not just "didn't throw."

Integration Reality

Phases named after an integration must have a test that drives the real subprocess, runtime, or migration. A stub of an owned dependency can't be the acceptance gate for the integration with that dependency. "Carve-out" is never a valid modifier of "complete."

Architecture Decision Records

When a decision constrains future sessions, the agent asks "ADR-worthy?" Approved decisions are promoted to permanent record with context, rationale, and consequences.

Planning Gates

Non-trivial goals are decomposed into phases before implementation starts. Budget tracking warns at 70%, 90%, and 100% of tool-call budget per phase.

Domain-Driven Design

Activate when complexity demands it. Bounded contexts, domain events, aggregates, value objects, ubiquitous language — captured through conversation, not ceremony.

Cross-Platform Hooks

Every hook ships in both Bash and PowerShell with verified functional parity. Windows users get the same discipline as macOS/Linux — no WSL required.

Pricing

One product, everything included. Start with a free trial.

Trial

Two Weeks Free

$0
14 days, full access

Everything included. No credit card. Use the form below to start.

Solo

One Developer

$200
per year

Full repo access — all agents, hooks, skills, methodology docs, and templates. One seat.

Team

Up to 10 Developers

$1,500
per year

Everything in Solo for your whole team. Ten seats, one license.

Organization

Unlimited Developers

$5,000
per year

Unlimited seats. Same repo, same tooling — no per-developer math.

Start Your Trial

14 days, full access, no credit card. Tell us about your project.