Deterministic test-enforcement harness — escape-scan, hash-pinning, CRAP, architecture checks, bias detection, Gherkin lint. Python-native wrapper around the @intentsolutions/audit-harness toolkit.
Project description
intent-audit-harness (Python)
Python-native install of the Intent Solutions deterministic test-enforcement toolkit.
Mirrors the CLI surface of the Node package
@intentsolutions/audit-harness
so the command line is identical across ecosystems.
Install
pip install intent-audit-harness
# or, inside a project venv:
python -m pip install intent-audit-harness
This ships a console script audit-harness and a module entry point
python -m intent_audit_harness.
Requirements
- Python 3.8+
bashavailable onPATH(Linux, macOS, or WSL)python3onPATHfor thecrapsubcommand- Optional per-subcommand tools:
radon/gocyclo/dependency-cruiser/import-linter
Usage
audit-harness --help
audit-harness verify
audit-harness escape-scan --staged
audit-harness crap src/
See the root project for the full docs: https://github.com/jeremylongshore/intent-audit-harness
What this package does
Dispatches to the same shell/python scripts shipped with the canonical npm package. The Python wheel bundles:
harness-hash.sh— pinning / verificationescape-scan.sh— diff scanner for AI escape grammararch-check.sh— language-appropriate architecture checkerbias-count.sh— test-bias heuristicsgherkin-lint.sh— advisory Gherkin quality checkcrap-score.py— CRAP (complexity x coverage) scorer
License
MIT
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file intent_audit_harness-1.2.3.tar.gz.
File metadata
- Download URL: intent_audit_harness-1.2.3.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3113ca38de916c5efd13ce92a3f977661a31594f653f536fbea1fa0aab2176b1
|
|
| MD5 |
9db49b33e50ba260c89d0d1d96793b38
|
|
| BLAKE2b-256 |
e8ffc018d54a6d9165ff2d2230c94dade351af4fa137d9ff0b1b0ba43888f593
|
File details
Details for the file intent_audit_harness-1.2.3-py3-none-any.whl.
File metadata
- Download URL: intent_audit_harness-1.2.3-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c76a446e0d4523dd7125d640c9f3817e26d125f2e38cd912dd104eaf7c4a7bcc
|
|
| MD5 |
6b648621882ffb598782f13d79b53fc8
|
|
| BLAKE2b-256 |
c1de5f254134c08a215ef06d685fdbc17e81eef534d53d5aeb2847d866c7a7e6
|