New advertisers: 50% off your first month with code FIRSTMONTHSee slots
kruschdev avatar

Krusch Coding Harness

kruschdev/krusch-coding-harness

Stages, sandbox-tests, and atomically applies AI-generated code diffs through a PostgreSQL-backed workflow.

tools
7
transport
STDIO
last updated
Nov 19, 2026
View on GitHub

What it does

  • Reads task state with krusch_task_status and krusch_explain, and retrieves staged changes with krusch_diff for review before any write
  • Writes through a two-phase commit with krusch_run to start tasks, krusch_apply_diff to commit verified diffs to disk, and krusch_reject or krusch_abort to discard them
  • Runs test commands only inside a Bubblewrap sandbox, with an allowlist that blocks freeform shells; requires PostgreSQL 16 and Docker for the full setup
  • Designed for unattended background coding daemons and multi-worker queues that need crash recovery and durable audit state, not single interactive sessions

Tools

7 tools

Public tool metadata for what this MCP can expose to an agent.

krusch_runAsynchronously initialize and run a task in PostgreSQL.

Asynchronously initialize and run a task in PostgreSQL.

No parameter schema in public metadata yet.

krusch_task_statusPoll task phase, verification runs, active diffs, and blockers.

Poll task phase, verification runs, active diffs, and blockers.

No parameter schema in public metadata yet.

krusch_explainExplain next transition feasibility with SQL invariant tags.

Explain next transition feasibility with SQL invariant tags.

No parameter schema in public metadata yet.

krusch_diffRetrieve unified diff of staged modifications.

Retrieve unified diff of staged modifications.

No parameter schema in public metadata yet.

krusch_rejectReject a staged diff before application.

Reject a staged diff before application.

No parameter schema in public metadata yet.

krusch_abortAbort a task and record the operator reason in krusch_events.

Abort a task and record the operator reason in krusch_events.

No parameter schema in public metadata yet.

krusch_apply_diffCommit verified staged diffs to disk via the 2PC journal.

Commit verified staged diffs to disk via the 2PC journal.

No parameter schema in public metadata yet.

Readme

KRUSCH CODING HARNESS (v0.2.0)
PostgreSQL-backed coding harness (krusch-coding-harness) that stages diffs, runs sandboxed tests, and only then writes to disk. Models are ephemeral workers.


View the full README on GitHub

Details

Repository
github.com/kruschdev/krusch-coding-harness
Categories
Developer Tools, Testing & QA
Package
krusch-coding-harness
Transport
STDIO
Registry
MCP registry, active

More from kruschdev

All 6

Similar to Krusch Coding Harness

More Developer Tools