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 finalize add-cache
The lifecycle is deliberately small:
draft -> harden -> approved -> active -> review -> completed
review is the only provider/model call. finalize consumes its accepted
evidence, runs deterministic acceptance, signs the receipt, and archives the
spec without another model call. 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/scafldruns a local binary instead of downloading.SCAFLD_INSTALL_DIR=/custom/cachecontrols where downloaded binaries are cached.SCAFLD_INSTALL_BASE_URL=https://host/assetsdownloads release assets from a mirror.
Links
Metadata
Release files for scafld 2.5.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scafld-2.5.9.tar.gz | 4.5 kB | Without provenance | Details for scafld-2.5.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scafld-2.5.9-py3-none-any.whl | Python 3 | none | any | Details for scafld-2.5.9-py3-none-any.whl |
Total release size: 10.0 kB
Release files / scafld-2.5.9.tar.gz
| Download URL | scafld-2.5.9.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10681b5ebbd52675f1bdc67b999b540955c76b1c0e37922ad77ed4e78ef7850e
|
|
BLAKE2b-256 checksum How to use checksums |
088c8f273efaf0a998d4632a662b9b0f9e34a8f27ce387517720540bd19d4bbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / scafld-2.5.9-py3-none-any.whl
| Download URL | scafld-2.5.9-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
334c53d5d5232713a06628a9b2524254d3ad333463b27509980b25c88f3f1d48
|
|
BLAKE2b-256 checksum How to use checksums |
57bc19659ec7bfce805a0bb59d9b2f459a653f42de3a9d840c455c8a772c7e5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for scafld 2.5.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.