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.3.tar.gz (19.7 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.3-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

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

Hashes for intent_audit_harness-1.2.3.tar.gz
Algorithm Hash digest
SHA256 3113ca38de916c5efd13ce92a3f977661a31594f653f536fbea1fa0aab2176b1
MD5 9db49b33e50ba260c89d0d1d96793b38
BLAKE2b-256 e8ffc018d54a6d9165ff2d2230c94dade351af4fa137d9ff0b1b0ba43888f593

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for intent_audit_harness-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c76a446e0d4523dd7125d640c9f3817e26d125f2e38cd912dd104eaf7c4a7bcc
MD5 6b648621882ffb598782f13d79b53fc8
BLAKE2b-256 c1de5f254134c08a215ef06d685fdbc17e81eef534d53d5aeb2847d866c7a7e6

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