Skip to main content

Deterministic protocol for multi-phase agent work.

Project description

scafld

A deterministic protocol for multi-phase agent work. The agent passes through. The protocol stays.

Plans outlive agents. Sessions hold the receipts. Reviews take nothing on faith.

Given the same spec and session ledger, scafld derives the same state, next command, and review gate.

scafld is spec-driven orchestration for AI coding agents. The work starts from an explicit spec, gets hardened before real effort, executes phase-bounded, and ships only through adversarial review. The differentiator is simple: the agent does not get to grade its own homework.

Install

pipx install scafld
scafld --version

This PyPI package installs a scafld console script that downloads and runs the native Go binary from the matching GitHub release.

Quick Start

scafld init
scafld plan add-cache --command "go test ./..."
scafld harden add-cache
scafld harden add-cache --mark-passed
scafld approve add-cache
scafld build add-cache
scafld review add-cache
scafld complete add-cache

The lifecycle is deliberately small:

draft -> harden -> approved -> active -> review -> completed

complete only closes reviewed work. If adversarial review finds a blocking issue, scafld sends the task to repair instead of letting the implementation agent wave itself through.

Distribution Shim

The Go binary is the product. This PyPI package is a distribution shim that fetches the matching native binary from GitHub releases.

Environment overrides:

  • SCAFLD_BINARY=/path/to/scafld runs a local binary instead of downloading.
  • SCAFLD_INSTALL_DIR=/custom/cache controls where downloaded binaries are cached.
  • SCAFLD_INSTALL_BASE_URL=https://host/assets downloads release assets from a mirror.

Links

Project details


Download files

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

Source Distribution

scafld-2.4.6.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

scafld-2.4.6-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file scafld-2.4.6.tar.gz.

File metadata

  • Download URL: scafld-2.4.6.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scafld-2.4.6.tar.gz
Algorithm Hash digest
SHA256 7aaa5bc7b0a7b8c51b82f262ee2970881dd6162090f617eea71d13e476c86b9c
MD5 2bda84ad2a9f7ba56703933caad366f4
BLAKE2b-256 c37314a581dc4f5f763b11273008c4b8293c0895d2a2ff745197ac5c2a631042

See more details on using hashes here.

File details

Details for the file scafld-2.4.6-py3-none-any.whl.

File metadata

  • Download URL: scafld-2.4.6-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scafld-2.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7bec56c6df466002e36b2b03a1c545d9ed417292f8bae4d1ff24a9eab66a3e49
MD5 3800dc4decc64da24ee0e89313d4191f
BLAKE2b-256 cd97ddffc279bcd08e9d7e82d209873a0ed4c14e63848773ce5f095ede5cfb61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page