Skip to content

Chalk Code

Private research layer for routing and supervising open coding models across coding tools.

Role
Lead Engineer
Organisation
Chalk Agents
When
2026 - Present
Status
Experimental, private R&D

Overview

Built Chalk Code as an experimental compatibility and supervisory layer around coding harnesses. It separates planning, execution, and subagent routes while adding decision memory, tool-evidence checks, path and Plan Mode guards, compatibility probes, benchmark infrastructure, and fail-closed containment research.

Problem and approach

The problem

Strong open-weight coding models still encounter harness-specific events, permissions, decision flows, and tool protocols that a simple endpoint swap does not make reliable.

The approach

Built a supervisory layer that owns routing, guards semantic decisions, requires current-turn evidence for action claims, fingerprints compatibility, and investigates contained execution across multiple harnesses.

What David did

  • Built the launcher, model-route policy, compatibility guards, and installer
  • Implemented decision, claim, path, Plan Mode, and session-awareness controls
  • Designed the benchmark schema and adapters for Claude Code, Codex, and Pi
  • Developed deterministic containment and lifecycle probes

Highlights

  • Built separate planning, execution, and subagent model routing
  • Added evidence-backed stop guards and session-scoped decision memory
  • Developed controlled multi-harness benchmark and compatibility probes
  • Tested fail-closed tool and process containment boundaries

As listed in David’s project archive.

Tools and links

Built with

  • Node.js
  • Claude Code
  • Codex CLI
  • Open Models
  • Runtime Containment

Have a project like Chalk Code?

The guided planner will start from this project and suggest related work.

What happens next

  1. You send a short brief

    The problem, who it’s for and your timing. A few lines is enough.

  2. I read it myself

    Usually within 24 hours, with the most useful next step.

  3. We agree the next move

    A Blueprint, a scoped build, or a simpler path if that’s the better answer.