Skip to main content

Software Dark Factory

Software Dark Factory (SDF) is the executable verification loop for governed AI-assisted software delivery: it makes a repository's standards, checks, and review evidence executable before human review.

Developer Preview / Alpha. SDF 0.1.0 is for evaluation and local repository workflows. It is not production-ready.

Your team defines what acceptable delivery means. SDF makes those standards, checks, and evidence executable before human review.

Engineering overview

SDF keeps repository policy with the repository and makes the execution, evidence, and review boundaries inspectable. See ARCHITECTURE.md for the system model, lifecycle, trust boundaries, and Developer Preview limits.

Representative implementation: verification command execution, a finalized evidence handoff.

The problem

Teams increasingly use AI assistance, but a useful change still needs to meet the repository's own acceptance boundary: its guidance, playbooks, tests, risks, and review expectations. Those requirements are often scattered across documents and tooling, which makes them easy to miss and hard for a reviewer to reconstruct.

What SDF does

  • Installs a portable repository Front Door and a local .sdf operating area.
  • Reads repository-owned guidance and configured verification checks.
  • Runs the repository-defined verification boundary during closeout.
  • Creates structured, per-change evidence for human review.

What SDF does not do

SDF is not an autonomous software factory, an AI coding agent, a code-review bot, or a hosted scanning platform. It does not prove correctness, approve or merge changes, repair code, deploy software, or supply universal engineering standards. The repository and its reviewers remain responsible for those decisions.

Installation

After the 0.1.0 release is published to PyPI, the intended installation route will be:

pipx install software-dark-factory

software-dark-factory is not yet published to PyPI. Until then, install a local source checkout in editable mode:

pipx install --editable .

The PyPI distribution is software-dark-factory. Do not infer a PyPI package name from this repository or the sdf executable: sdf-cli and sdf are not this project's distribution names.

If you prefer a virtual environment, the equivalent intended PyPI route after release will be:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install software-dark-factory

For a local source checkout, replace the final command with python -m pip install --editable ..

First use

From the root of the repository you want to govern:

sdf init
sdf status
sdf guidance

sdf init may create .sdf/ (including its guidance, contracts, config.yml, and starter verification.yml) plus root AGENTS.md and CLAUDE.md entries. It does not silently replace existing files; when managed .gitignore or .gitattributes entries are missing, it may append them. The starter .sdf/verification.yml is an intentional placeholder: define the checks your repository trusts before running sdf verify.

For the smallest governed change, start an archive, make the change, complete its reviewer judgement, and close it:

sdf start --change-id add-example
# Make the ordinary repository change and complete the four sections in
# .sdf/evidence/add-example/evidence.md.
sdf close --change-id add-example

sdf close runs the repository-defined checks and records their result. After committing the change and evidence, refresh the checked local reviewer handoff:

sdf close --change-id add-example --refresh-handoff

See GETTING-STARTED.md for a complete, local example.

The governed workflow

  1. The repository declares its guidance, playbooks, risks, and verification boundary.
  2. A change records its intent, review focus, limits, and applicable guidance.
  3. SDF executes the configured checks at closeout and records the result.
  4. A human reviewer uses that evidence and the code to make the review, approval, and merge decisions.

The repository Front Door

The packaged canonical Front Door is the portable baseline distributed with SDF. sdf init copies the required portable guidance into a receiver repository's .sdf directory and adds a root entry point where needed. Inside that repository, the configuration, playbooks, checks, and evidence are repository-owned. The SDF CLI executes that local loop; it does not silently overwrite repository customisation during a later package upgrade.

Reviewer evidence

Each governed change has .sdf/evidence/<change-id>/evidence.md. It gives a reviewer the change intent and acceptance context, review focus including meaningful risk, limits, and guidance applied. Its machine record captures the verification history and results, branch and change context, and recorded run context such as AI usage when available. Repositories may also retain related work-item evidence or confidence judgements when their own workflow calls for them; SDF does not invent those claims.

Current support boundary

  • Developer Preview / Alpha for local repository workflows.
  • Python 3.11 through 3.14.
  • Hosted CI covers compatibility checks on Python 3.11–3.14 plus wheel and source-distribution packaging smokes on Python 3.11.
  • Supported and tested on Linux and macOS-style POSIX environments. Windows is not currently tested or claimed.
  • No correctness, approval, merge, repair, deployment, or production-readiness claim.

Learn more

Contributing

SDF is entering Developer Preview. Once the repository is public, issue reports and evaluation feedback will be welcome.

Metadata

Release files for software-dark-factory 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for software-dark-factory 0.1.0
File Size Uploaded Provenance
software_dark_factory-0.1.0.tar.gz 87.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for software-dark-factory 0.1.0
File Interpreter ABI Platform
software_dark_factory-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 218.3 kB

Release files / software_dark_factory-0.1.0.tar.gz

Download URL software_dark_factory-0.1.0.tar.gz
Size 87.8 kB
Tags Source
SHA-256 checksum
How to use checksums
20482afa43c6da30ce5db153df3893d0039a63e08ffe7e739b6bd61df4384c97
BLAKE2b-256 checksum
How to use checksums
782feab0989c68754a8ff9ad640c9dde6cf52fe36eea42c17b8585008dab5fc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / software_dark_factory-0.1.0-py3-none-any.whl

Download URL software_dark_factory-0.1.0-py3-none-any.whl
Size 130.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f10499e33e07e8075de2d35e302ff53b8361a37b166e4f1ed98a51153466eb96
BLAKE2b-256 checksum
How to use checksums
bb8c9560bdd502aec1f71da54205e3158d3352478286256dd6046690d7578488
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Security for software-dark-factory 0.1.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for software_dark_factory-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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