GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • devloop
  • Donate
  • Source

This view

  • Original page
  • New address

GeezerVison is showing devloop.onekash.org — A test-driven plugin for Claude Code and Codex | devloop

How the loop works​

  1. You run

    /spec

    What to build: user stories and acceptance criteria.

  2. You run

    /plan

    How: chunks, dependencies and a JSON tracker. A bug fix starts with a proof.

  3. Independent agent

    review-plan

    Reviews the plan, up to 3 rounds by default.

  4. Checkpoint

    You approve

    The reviewed plan and every decision it made.

a finding shows the plan was wrong
  1. You run

    /implement

    Builds each chunk test first: a failing test, the code, a passing test.

  2. Independent agent

    review-impl

    Reviews the diff: conformance, correctness and cleanup.

  3. Checkpoint

    You approve

    The findings and fixes. Then the finish steps run.

When a code-review finding shows the plan was wrong, /implement adds corrective chunks, has them reviewed and builds them, without asking by default. A finding that the spec was wrong always comes to you. Small fixes take the fast lane: one production file plus its tests, with no new behavior beyond the fix, skips the tracker and goes straight to the code review.

Ad-hoc prompting vs devloop

Ad-hoc promptingWith devloop
Deciding what to buildRequirements and design get settled while the code is being written./spec and /plan settle them first, and you approve the reviewed plan before any code.
Checking the workThe session that wrote the code also reviews it.The plan and the code are reviewed in a context that didn’t write them.
Keeping the planThe plan lives in the conversation, and compaction or a new session loses detail.The plan lives in a tracker file that survives a reset.
Proving it works“Done” can arrive without a test for each requirement.Chunks with logic start from a failing test, and the review checks each criterion against a test.
Repeating the processYou ask for tests first, a review and a pause before commit, again each session.The process is built in, and an Autonomy section sets how much runs without asking.

The code review: three lenses​

review-impl reads the diff in a fresh context and changes nothing. Both reviews check the same six concerns.

Conformance

The change does what the plan says. Each acceptance criterion is confirmed by a quoted test, plausible (code, no test), or refuted.

Correctness, 5 angles

Reads every changed line, checks what removed code used to guarantee, follows callers and callees, and looks for language pitfalls and wrapper mistakes.

Cleanup, 5 angles

Reuse, simpler code, wasted work, whether a fix is at the right depth, and maintainability: stale docs, hard-coded environment values, dependency rules, error messages.

Conventions, in every lens

Reads your CLAUDE.md or AGENTS.md and .devloop/config.md, and flags only rules it can quote. A violation with a real fault fails the gate like a bug.

Each finding is checked against the code before it is reported, and says whether this change introduced it. A bug that was already there is reported but doesn’t fail the review. To review a diff with no plan, give review-impl the diff range.

Install​

  1. Add the plugin

    • Claude Code
    • Codex
    • Other clients
    /plugin marketplace add OneKashLabs/devloop
    /plugin install devloop@onekashlabs

    Claude Code finds the three skills and the two review agents.

    codex plugin marketplace add OneKashLabs/devloop
    codex plugin add devloop@onekashlabs

    A Codex plugin carries skills, not agents, so the review agents ship as prompt files. The skills spawn them as subagents where Codex supports delegation, and otherwise fall back to an in-context self-check.

    The repo root carries a plugin.json in the Agent Plugins 1.0.0 format, so the skills install on clients that support the standard. Clients that support subagent delegation get the isolated review; the rest fall back to the self-check.

  2. Give the loop your project’s context

    Put a .devloop/ folder at your project root. The fastest start is to copy the closest stack example (TypeScript and Node, Python, Rust, Android and Kotlin) and adapt it.

    .devloop/
    config.md # build, test and lint commands, architecture, standards,
    # blindspots, commit conventions, spec and tracker folders
    domain.md # domain context and domain-specific concerns, read by /spec
    trackers/ # impl-tracker-<feature>.json, written by /plan

    Commit config.md and domain.md so the team shares one context. Without .devloop/ the loop still runs, with less insight into your project.

  3. Start with a command

    Run /spec, /plan or /implement with your feature. You start each command yourself.

Choose how much it does without asking​

An optional ## Autonomy section in config.md tunes the stretches between the two checkpoints: review rounds per gate (default 3), whether plan corrections run on their own, the finish steps after the second checkpoint (default none), and extra stop conditions.

## Autonomy

- Review rounds: 3
- Convergence: auto
- Finish steps:
1. Run the full test suite and lint
2. Commit (see Commit Conventions)
- Stop and ask on: anything that publishes outside this repository

The config can also list pre-review checks, a verify recipe that runs the change end to end before the second checkpoint, and what happens to a finished tracker. See the full reference.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.