Chalk Protocol
An open-source command-line tool that makes AI coding assistants prove their work, with tests and checks they cannot edit, before a change moves forward.
- Role
- Lead Engineer
- Organisation
- Chalk Agents
- When
- 2026 - Present
- Status
- Beta
Results at a glance
- enforceable gates
- 7
- From acceptance criteria through held-out regression audits.
- Source: Protocol specification
- first-party agent CLIs
- 4
- Claude Code, OpenCode, Codex CLI, and Gemini CLI.
- Source: Provider matrix
- runtime dependencies
- 0
- A portable Node.js CLI with an offline one-minute demo.
- Source: Published package
The problem
Coding agents can weaken visible tests, silently make product decisions, and still declare themselves done. Teams need a control layer outside the model that preserves intent and makes progress depend on evidence.
What David did
At Chalk Agents, where David is co-founder and CTO, he led the product and protocol architecture and built the CLI, the state model and the integrations himself.
- Led the product and protocol architecture
- Built the CLI, state model, lifecycle commands, and refusal gates
- Implemented provider-neutral adapter contracts and first-party integrations
- Authored the public demo, research-backed specification, and operating documentation
How it fits together
A coding assistant starts the work
Claude Code, OpenCode, Codex CLI, Gemini CLI
P1 Criteria
P2 Spec
P3 Break-it
P4 Verify
P5 Review
P6 Integrity
P7 Audit
The change moves forward only with evidence
Key decisions
The record of the work lives outside the AI
Specifications, decisions, test evidence and review notes are kept in a .chalk folder in the project, so progress does not depend on the assistant saying it is done.
Tests the assistant cannot weaken
Acceptance tests are locked. Held-out audits then check the work against test cases the assistant never saw, which catches work that only passes the visible tests.
The tool refuses unsafe steps
Its commands refuse to move work forward without evidence. Product decisions go to a person instead of being made silently by the assistant.
Works with several coding assistants
One integration contract, not tied to a single AI provider, with first-party support for Claude Code, OpenCode, Codex CLI and Gemini CLI.
Nothing extra to install
A portable Node.js command-line tool with zero runtime dependencies and a one-minute demo that runs offline. Chalk Protocol is developed using its own checks.
Summarised from the published project record and case study.
What happened
Chalk Protocol now drives a provider-neutral development lifecycle across four first-party agent integrations, refuses unsafe progress at the command boundary, and dogfoods the same gates on its own development.
The numbers and their sources are listed at the top of this page.
Tools and links
Built with
- Node.js
- CLI
- Agent Adapters
- GitHub Actions
- Software Verification
Have a project like Chalk Protocol?
The guided planner will start from this project and suggest related work.
What happens next
You send a short brief
The problem, who it’s for and your timing. A few lines is enough.
I read it myself
Usually within 24 hours, with the most useful next step.
We agree the next move
A Blueprint, a scoped build, or a simpler path if that’s the better answer.