Metadata-Version: 2.4
Name: release-certify
Version: 1.0.0
Summary: Deterministic release certification from repository-owned evidence.
Project-URL: Homepage, https://github.com/cweedman1/release-certify
Project-URL: Documentation, https://github.com/cweedman1/release-certify#readme
Project-URL: Repository, https://github.com/cweedman1/release-certify
Project-URL: Issues, https://github.com/cweedman1/release-certify/issues
Author: Release Certify Contributors
License: MIT License
        
        Copyright (c) 2026 Operational Visibility Engine Contributors
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: certification,ci,packaging,quality,release
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Build Tools
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: pyyaml>=6.0
Provides-Extra: dev
Requires-Dist: build>=1.2; extra == 'dev'
Requires-Dist: mypy>=1.10; extra == 'dev'
Requires-Dist: pytest-cov>=5.0; extra == 'dev'
Requires-Dist: pytest>=8.2; extra == 'dev'
Requires-Dist: ruff>=0.5; extra == 'dev'
Requires-Dist: twine>=5.1; extra == 'dev'
Description-Content-Type: text/markdown

# Release Certify

Release Certify proves that the exact code you are about to release passes your quality, packaging, installation, and runtime checks.

```console
pipx install release-certify
```

Add `release.evidence.yaml`:

```yaml
release:
  kind: application

quality:
  lint:
    command: python -m ruff check .
  typing:
    command: python -m mypy .
  tests:
    command: python -m pytest -q

packaging:
  install:
    command: pip install -r requirements.txt

runtime:
  smoke:
    - command: python app.py --help
      expected_exit: 0

imports:
  - my_app

artifact:
  type: source-tree
```

Then run:

```console
release-certify
```

Release Certify runs every declared check, installs the release in a clean environment, verifies its public imports and startup command, and produces a deterministic certificate. A failed proof exits with status 1, making the same command suitable for local work and CI.

It does not replace Ruff, MyPy, or pytest. It proves that all of them—and the installable result—agree that this release is ready.

A successful certificate says `EVIDENCE CERTIFIED`: the declared commands passed for the byte-identified artifact in the recorded environment. It does not claim that those commands are adequate or that untested environments are safe. See the [Certificate Trust Model](docs/CERTIFICATE_TRUST_MODEL.md).

## Commands

```console
release-certify
release-certify --verbose
release-certify --json
release-certify --version
```

Exit code `0` means certified. Exit code `1` means the release is not certified or the contract is invalid.

## Development

```console
python -m pip install -e ".[dev]"
python -m ruff check .
python -m mypy src tests benchmarks tools
python -m pytest
python benchmarks/mutation_benchmark.py
```

## Architecture

Release Certify was extracted from the Operational Visibility Engine. The standalone package owns its contract parser, discovery, evidence models, runner, certifier, cache, serializer, console, and CLI, and has no runtime dependency on OVE.
