Skip to main content
ckdn — deterministic check runner and log digester for AI-assisted development loops

Deterministic check runner and log digester for AI-assisted development loops

Let agents move fast.
Keep verification explicit, bounded, and machine-readable.

PyPI CI Documentation MIT license Python ≥ 3.11 core: stdlib only digest schema v2


ckdn (short for checkdown) sits between a coding agent and your project’s verification tools. The agent never reads a 10 000-line pytest log and never decides from prose whether a run “looks green”.

Every check goes through one orchestrator that:

  1. owns the true process exit code,
  2. archives the full log as evidence,
  3. emits a bounded, machine-readable digest — the only thing the agent is supposed to read.
ckdn pipeline: agent → ckdn run coverage → subprocess (owns exit code) → .agent-runs artifacts; agent reads digest.json

Text-based interpretation of tool output fails two ways: context bloat (the agent drowns in a thousand-line log) and false green (a collection error prints no FAILED lines, so a regex calls it clean). ckdn's answer is a strict status model from both the exit code and a format-aware parser: the two must agree before anything is called green. ckdn may downgrade green; it never upgrades red.

Runtime: Python ≥ 3.11, stdlib only for the core CLI (zero third-party dependencies). The optional MCP server is an extra (ckdn[mcp]).

Install

uv tool install ckdn          # global CLI
# or as a project dev dependency:
uv add --dev ckdn

Quick start

cd your-project
ckdn init                      # writes starter ckdn.toml
# edit commands / parsers / aliases to match the project
echo '.agent-runs/' >> .gitignore

ckdn checks                    # list configured checks
ckdn doctor                    # pre-flight: tools on PATH, commands fit parsers
ckdn run ruff                  # one atomic check → compact digest on stdout
ckdn run lint                  # alias → its members in order
ckdn run --all                 # every atomic check → one aggregate
ckdn show                      # pretty-print the latest run's digest

The starter config enables checks a given project may not have (coverage, mypy, pre_commit, …); trim it first, or --all reports them as error.

ckdn run passes the original command’s nonzero exit code through, so it slots into any hook or CI step where the raw command used to be — with a bounded, schema-backed digest as a side effect. The one exception is the point of the tool: a command that exits 0 on a non-green digest exits 1. A code outside 1–255 (a signal death) becomes 1, not the nearest bound.

Documentation

Full documentation lives at orenlab.github.io/ckdn:

License & community

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckdn-1.3.2.tar.gz (317.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ckdn-1.3.2-py3-none-any.whl (99.9 kB view details)

Uploaded Python 3

File details

Details for the file ckdn-1.3.2.tar.gz.

File metadata

  • Download URL: ckdn-1.3.2.tar.gz
  • Upload date:
  • Size: 317.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ckdn-1.3.2.tar.gz
Algorithm Hash digest
SHA256 b2a3763620ff8bad726fd0766fdedba148bfd55f1ec88c585cff8a505f6822ab
MD5 320578353102e6a8f74e8c926e12ac12
BLAKE2b-256 cd3748b981b30ba82063b5da5672c35e4a3db747306d4fd3a20ef5cb7c28e8f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ckdn-1.3.2.tar.gz:

Publisher: publish.yml on orenlab/ckdn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ckdn-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: ckdn-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 99.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ckdn-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42dd630779c3718f2547bce8f7673f0d0e36c36e3dd32a6f86fd4b5c30ef6278
MD5 a86aa68b57b6cb12c695b3f4c63488c2
BLAKE2b-256 206a5b5330f44589527be6bad90991776a11a180b8471ae932f8adc72aa6285f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ckdn-1.3.2-py3-none-any.whl:

Publisher: publish.yml on orenlab/ckdn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.3.2 This release

2 files

1.3.1

2 files

1.3.0

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page