do-coding-smart
A development controller that keeps AI coding agents honest — evidence over confidence.
do-coding-smart is a concept for a controller that accompanies the whole development cycle — requirements, architecture, implementation, integration — and verifies the result with independent reviewers and deterministic quality gates, rather than only reviewing finished code. Its central aim is to catch specification gaming (green tests without real function) early. It is built for developers who drive Claude Code work agents and want self-hostable, vendor-free tooling. As of 2026-11-27 the full controller does not exist: the project is at concept stage, and only the components below are built.
Features
The broader controller is a documented concept and is not yet built. These components exist today:
The commit gate
dcs-gate— the commit gate (built, not yet owner-approved). Blocks any commit from reaching a branch or tag, and any push, unless two conditions hold for exactly that commit: a dual-review report (.dcs/reviews/<fingerprint>.json) is part of the commit, recording an own pass and an independent bug-hunter pass by two different reviewers with the own pass dated first; and the tests pass, run by the gate itself on a clean copy of the commit’s tree taken straight from Git’s objects.- Content-addressed review fingerprints. The gate derives a reproducible SHA-256 fingerprint of the staged change, so a report is bound to an exact diff and a fixed (amended, rebased, cherry-picked) change needs a fresh review.
Enforcement and storage
- Layered enforcement. Git
reference-transactionandpre-pushhooks, a Claude Code PreToolUse hook, permission deny rules, and anauditcommand that finds any commit in history that never passed the gate — each layer covering what the one before misses. Its limits (every layer is writable by the agent’s own user) are documented honestly. - Toolchain-observation store (inherited starter). A CGO SQLite store with
dcs initanddcs observe-goto record the local Go toolchain version as an observation; kept as starter code, not as the project’s persistence decision.
Roadmap
- Owner approval of the
dcs-gatecommit gate and of concept chapter 57 (the first-start sequence). - Forgejo-first integration as the single source of truth — milestones, issues, boards, reviews and Actions — with the forge adapter kept exchangeable (concept decision of 2026-11-01).
- The independent-reviewer and anti-gaming controller itself: neutral review orders, separated contexts, deterministic bias control and sham-fulfilment detection.
- Language adapters, object-specific state machines and the central quality-gate registry specified and implemented.
- Permanent BranchSupervisor (Linux inotify) and a
GitCommandGuardPATH wrapper for safe multi-worktree, multi-agent operation. - Technology/capability consolidation with evidence matrices, future-impact review and human-approval gates (concept §§50–56).
- Consolidation of the concept’s documented contradictions into trackable findings (TODO item 23, the one fully open item).