v3.2.0 2026-05-09 Current

Session isolation and per-session file tracking

Session ID system

The session-start hook generates a 6-char hex ID at startup and writes it to .session-state-{id}.json. The hook outputs [Session ID: a3f1b2] so Claude can reference it throughout the session. Gate files are now .devarch-gate-{id}, eliminating cross-session interference.

Per-session file tracking

The post-tool-use hook now appends every edited or written file path to the session state file's files array. The work-summary-writer reads this array for an authoritative list of files changed during the session — no more guessing from git diff. Replaces the global .work-log.txt with per-session structured state.

Stub removal

Session-start no longer creates placeholder session files. The work-summary-writer creates the real summary at session end. Eliminates stub accumulation and simplifies the finalize check logic.

Finalize hardening

The /finalize skill now includes explicit bash commands for checking summary existence, a hard gate before commit, and a post-write verification step. Fixes an intermittent issue where the work summary was skipped.

Rule renumbering

Session ID is rule 1 in the Session Start block. All downstream rules (Coding Discipline through Session End) incremented by one: invariants is now rule 6, behavior statements rule 12, etc.

v3.1.0 2026-05-08

Finalize skill audit and fix

The /finalize skill was intermittently skipping the work-summary-writer agent before committing. Root causes identified and fixed: ambiguous "today's session file" lookup, no explicit check commands, vague process steps, no post-write verification, and fragile dependency ordering. The skill's Process section was rewritten with explicit bash commands and a hard gate.

v3.0.0 2026-05-05

Tuned for Claude Opus 4.7

DevArch's prompt surface — CLAUDE.md base template and agent definitions — has been tightened across the board to play well with Claude Opus 4.7's literal instruction following and verbosity profile. No new rules, no new agents — every change is a sharpening of existing language so 4.7 produces the right amount of output without padding or overreach.

Why a major bump

4.7 takes prompts more literally than 4.6. Rules with vague carve-outs ("use judgment") fire more aggressively; templates with required sections produce more verbose output by default. v3.0.0 retunes the surface for the new model. Behavior is preserved for 4.6 and earlier — the changes are strictly tighter, never looser.

Changes

Migration

Run devarch update in any project to pick up the new templates. No .devarch schema change. No CLI flags changed.

v2.5.0 2026-05-01

Multi-ADR review and the live event feed for screencasts

Multi-ADR review mode

/adr-review now accepts 2–4 ADRs in a single invocation. Single-ADR behavior (one arg) is unchanged. Multi-ADR mode adds nine cross-ADR checks that catch issues per-ADR review misses: cross-reference resolution, vocabulary census, "stable across" claim verification, open-question matrix, sequencing graph, AC coordination, seam walkthroughs, contradiction detection, and lifecycle/resource correctness. Capped at four because pair-check count grows quadratically.

/demo-events — live hook activity feed

A file-based event bus that visualizes DevArch's hook lifecycle in real time. Built for a Y Combinator screencast request.

Hook fixes

v2.3.0 2026-04-24

Rule 7b — Co-Located Wire-Type Sharing

When a client and a server share a wire protocol and live in the same repository under the same typed language, they MUST share the protocol's type definitions via direct import — not through duplication, hand-synchronized interfaces, runtime JSON schemas, or codegen.

The principle — Protocol drift between co-located client and server is mechanically preventable. A direct import makes a server-side type change either compile the client in the same commit or fail the type checker in the same commit. Any weaker coupling introduces a window in which one side is wrong and CI doesn't know.

Extraction guidance — Wire primitives (message envelopes, event shapes, discriminators, enums) live in a file with a documented invariant: no runtime-specific types (Buffer, fs.Stats, DOMException). Both sides import without dragging in a runtime they don't have.

Does not apply across repository boundaries (use a schema format), across language boundaries (use codegen), or to external-SDK public protocols where explicit versioning is the point. Promoted from a real incident in the Sharpee codebase where a shared types file dragged in Node-only types and broke the browser build.

v2.2.0 2026-04-23

Integration Reality (rule 12a) — the No-Stub-Under-Test rule

Closes a gap that let phases named after an integration ship with the integration deferred — the scaffolding was tested against a hand-written stub of the owned dependency, all tests passed green, and the real subsystem was never exercised.

The principle — A test that drives a hand-written replacement for an owned dependency is a scaffolding test. Scaffolding tests cannot serve as the acceptance gate for a phase named after the integration. The system under test cannot be the thing you wrote to stand in for the system under test.

v2.1.0 2026-04-23

Boundary Statements (rule 7a) and the boundary-check hook

Adds rule 7a — a thinking step that precedes edits to cross-boundary modules (state projections, stores, reducers, domain modules, selectors). Analogous to Behavior Statements (rule 11) for side-effect functions, Boundary Statements force OWNER / SHARED / PROMISE / ALTERNATIVES articulation before per-consumer state quietly migrates into a shared module.

v2.1.0 shipped rule 7a to the project-root CLAUDE.md but missed the distribution template at CLAUDE.md.base. v2.2.0 corrected this. Re-run devarch update to pick up both rule 7a and rule 12a.
v2.0.0 2026-04-20

PowerShell 7+ hook support on Windows

DevArch hooks now run natively under PowerShell 7+ (pwsh), so Windows users no longer need WSL or git-bash at session runtime. All six bash hooks have PowerShell siblings with verified behavioral parity.

What's new

Bash bugs fixed (uncovered during the port)

Breaking changes — None for existing Linux/macOS users. On Windows, devarch install now always copies both variants; prior .sh-only installs can be upgraded with devarch install (idempotent) or devarch update.

v1.8.0 2026-04-19

Trial license with IP protection

Adds a Trial License Agreement (docs/legal/TRIAL-LICENSE.md) covering two-week evaluation use with explicit IP protection clauses: no corporate reuse beyond the trial scope, no derivative works, and survival of confidentiality and IP terms beyond trial expiration. The website's license page surfaces trial terms alongside the full license. The full DevArch Methodology License continues to govern paid use.

v1.7.0 2026-04-13

Deprecate project-level hooks in favor of user-level hooks

devarch init and devarch update now detect and remove project-level hook entries in .claude/settings.json that overlap with DevArch's user-level hooks. Without this cleanup, both copies tried to fire and the project-level entry produced "No such file or directory" errors, since Claude Code stopped expanding ~ in hook commands. Project-level hooks remain supported for non-DevArch use cases — this only removes overlap.

v1.6.0 2026-04-13

Hook paths resolved at install time

Claude Code stopped expanding ~ in hook commands (likely a switch from shell invocation to direct spawn). DevArch now builds the hooks JSON dynamically using $HOME at install time so paths land absolute. Commit-agent script references updated to use $HOME for the same reason. Existing installs need a devarch update to pick up the new absolute paths.

v1.5.0 2026-04-11

ADR conversation gate and /architect-review

Rule 10 — ADR conversation gate

When a decision constrains future sessions — technology choice, boundary placement, pattern adoption, dependency direction, trade-off resolution — the agent asks "ADR-worthy?" and, on user confirmation, writes a four-section ADR (Context / Decision / Consequences / Session) to docs/adrs/NNNN-title.md. Numbered sequentially. Linked from the session summary's Key Decisions section. Trivial decisions (variable names, formatting, local refactors) are explicitly out of scope.

/architect-review skill

A 13-category architectural review tuned to the project's actual surface area, filtered by what's relevant. Categories: requirements, complexity, testing, documentation, security, dependencies, API surface, observability, data, CI/CD, cost, scalability, decision history.

Pre-session-audit context assessment

The audit agent now detects unorganized project context on first run (existing CHANGELOG, ADR folders, scattered notes) and offers a one-time assessment that seeds DevArch's structure without losing existing work.

v1.4.0 2026-04-06

Behavior Statements, Test Derivation, and Test Grading

Rules 10–11 rewritten — Replaced the "Functional and Behavioral Tests" policy directives with a three-step pattern: Behavior Statement, Test Derivation, and Test Grading. The old rules told Claude what to do ("write behavioral tests") but were routinely ignored, producing tautological and zero-mutation tests. The new rules give Claude a thinking process that makes bad tests structurally impossible.

v1.3.0 2026-03-19

Progressive Capability Activation

Tier model replaced with capability model. DevArch is now one product with progressive capabilities: base (always active), ddd-discovery, and domain-modeling. The three monolithic templates are replaced by CLAUDE.md.base plus two addons.

v1.2.0 2026-03-14

Audit and cleanup

Full audit of all DevArch components (skills, agents, hooks, CLAUDE.md directives, CLI). Removed duplicated lifecycle rules from the project-root CLAUDE.md, eliminating ~55 lines of redundancy. Updated project-profile.md to use current skill/agent names. Aligned docs/workflow/CLAUDE.md wording with the guardrails template.

v1.1.x 2026-03-06 — 2026-03-14

Skills, hooks, and the plan-mode gate

An iterative series of releases that built out DevArch's skill surface, fixed work-summary skip logic, added the unified DevArch gate state machine, and recalibrated session-planner budgets for Claude Code's 1M context window.

v1.0.0 2026-03-05

Initial Release