Skip to main content

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+
  • bash available on PATH (Linux, macOS, or WSL)
  • python3 on PATH for the crap subcommand
  • 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 / verification
  • escape-scan.sh — diff scanner for AI escape grammar
  • arch-check.sh — language-appropriate architecture checker
  • bias-count.sh — test-bias heuristics
  • gherkin-lint.sh — advisory Gherkin quality check
  • crap-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

intent_audit_harness-1.2.0.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

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

intent_audit_harness-1.2.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file intent_audit_harness-1.2.0.tar.gz.

File metadata

  • Download URL: intent_audit_harness-1.2.0.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for intent_audit_harness-1.2.0.tar.gz
Algorithm Hash digest
SHA256 07fb8e6c82d428a1993a905257f3dd6c852f9932d21e7c2f30940c24f0184c0e
MD5 c7077958e9ba0caad6e2f51caae78c6b
BLAKE2b-256 61083b47987dfa8f306039711ee5813726743d22c4497a9dd3acc33ec14816d2

See more details on using hashes here.

File details

Details for the file intent_audit_harness-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for intent_audit_harness-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d48f2b7b9824e364a30881c4f78fd67a2bc4ea85a7937c454d4fe3cdf30b0090
MD5 b7302829df01a2e0902793cc915648ce
BLAKE2b-256 221059063c131908a110c784251eed8b4d9aaed41e36252c9c9fcc06884a1c79

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