Workflow cartography and feedback loop for projects built with Claude Code
DevTools gives a project a .devtools/ folder — versioned next to .git — in which Claude Code
keeps an exact, cheap-to-maintain map of what the project does, and later the memory of what humans
had to correct.
Code generated by Claude is good, and the same review comments still come back: the filter does not
work, this needs a select2. They come back because they are stored as prose, re-read and applied
from memory in an already loaded context. And before any feedback can be acted on, something more
basic is missing: a structured answer to what does this change touch?
DevTools is built in that order:
- Workflows — inspect a codebase, whatever its language, and maintain one normalised Markdown
page per workflow (route, command, async handler, listener, screen…) with Mermaid diagrams, plus a
tracking XML per page so a re-scan rewrites only the workflows whose files actually changed;
- Impact, MCP and gate — which workflows a file or a commit touches, served to Claude Code as
targeted context, and a gate that keeps Claude from declaring a task finished while it fails;
- Feedback and rules — typed feedback, promoted to a rule on its second occurrence, then to a
mechanical assertion.
Where it stands. Step 1 is delivered and runs on real projects: three of them are documented
this way, the largest holding 259 workflows over 310 pages. Step 2 is built — the impact of a change,
the Claude Code hooks, the MCP server, scenarios replayed in Chrome against their baselines, the
verifier, and the gate the Stop hook runs — and waits to be watched in real Claude Code sessions.
Step 3 is built too: typed feedback and its review page, rules given where they apply, assertions in
the gate, and the retrospective that says whether feedback goes down. The design lives in
docs/specs.md and the decisions in docs/adr/ (French).
Requirements
- PHP ^8.6
- Symfony ^7.4 || ^8.0 — the Console component in standalone mode, the framework only for the bridge
mcp/sdk ^0.9, optional — only for the MCP server, mcp:serve; the phar and the Docker image carry it
symfony/panther ^2.4 and Chrome, optional — only to replay the scenarios, scenarios:run; ext-gd to compare
their screenshots with the baselines
- Node, and TypeScript in the analysed project, optional — only to read Angular and Express natively
Installation
DevTools runs in two modes, and the logic is the same in both: everything lives in the standalone
core, the Symfony bundle is a thin wrapper.
Standalone — any project, any language
composer global require jul6art/devtools
devtools list
Pass the project to analyse as an argument, or run it from the project root. The analysed project does
not need PHP: a Node, Angular or Go codebase is inspected the same way.
Without Composer — the phar
Every release carries devtools.phar, its SHA-256 and a provenance attestation of the GitHub workflow that
built it:
curl -LO https://github.com/jul6art/devtools/releases/latest/download/devtools.phar
gh attestation verify devtools.phar --repo jul6art/devtools # built by this repository's CI
chmod +x devtools.phar && mv devtools.phar /usr/local/bin/devtools
devtools self-update # later: the latest release, verified
self-update replaces the phar only once the download matches its published SHA-256 and the GitHub
CLI verified its attestation — without gh, it refuses and says how to update by hand. It is the only
command of DevTools, with ai:run (Writing in CI), that opens a connection. The phar carries the MCP SDK:
mcp:serve works from it as it does from Composer. scenarios:run, which needs Panther and Chrome, is absent
from it and says which Composer installation brings it.
Without PHP — the Docker image
PHP, git and Node, the project mounted:
docker run --rm -v "$PWD:/project" ghcr.io/jul6art/devtools:3 workflows:inspect --no-ai
The image runs the release's phar; Node reads an Angular or Express project with the TypeScript of its own
node_modules. It serves the MCP server too (MCP server), and is listed in the official MCP registry as
io.github.jul6art/devtools.
Inside a Symfony project
composer require --dev jul6art/devtools
Then register the bridge in config/bundles.php for the environments that have it (Flex does this for
you, with dev and test):
Jul6Art\DevTools\Bridge\Symfony\DevToolsBundle::class => ['dev' => true, 'test' => true],
⚠️ Never all. The package is a development dependency: a production composer install --no-dev
does not have the class, and a kernel that registers it everywhere fails to boot on the server.
The commands are then also available as bin/console devtools:*, with the richer introspection only a
compiled kernel allows.
Configuration
# config/packages/dev/devtools.yaml
devtools:
# Leaves the bundle installed and inert when false.
enabled: true
# The language the workflow pages are written in, as two lowercase letters. Default: en.
language: fr
# Where the pages and their menu are written, relative to the project. Default: docs/workflows.
docs_dir: docs/workflows
devtools.enabled, devtools.language and devtools.docs_dir are also exposed as container parameters.
The language of the pages is decided in this order: the --locale option of workflows:inspect, then
<language pages="…"/> of .devtools/config.xml, then this key, then English. The option is what a one-off
run uses; the file is what the team commits.
⚠️ It decides the PROSE, not the template. Section titles, table headers and the menu are English
whatever the language: they are read back — by the draft validator, and by the inspection that keeps what
Claude wrote — so they are part of the format, like the name of an XML element. A French project gets
French sentences under English headings, which is what it already got from Trigger or Routes.
These two keys are the bridge's only configuration, on purpose. What DevTools inspects, excludes and
generates is configured in .devtools/config.xml, which both modes read — a setting that existed only
in config/packages/ would silently not apply to a standalone run.
Usage
Which command, and when