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.3.0.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.3.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: intent_audit_harness-1.3.0.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.3.0.tar.gz
Algorithm Hash digest
SHA256 95cf3490738f3efefdfc794433d0ed624cbf9512b206ee02f0203424143dad03
MD5 51960887b34d54c0efd712726c6f23e4
BLAKE2b-256 bf9f8eea825c5ef5ce0dc5e3459656b1eba788a28430e3c39e674cfd91291287

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for intent_audit_harness-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1175972aaf7b711a6865f443aac86e753c99e07fa40f3d33c583e2763574701f
MD5 fa00363174733a03f0a9d93c7e95ac40
BLAKE2b-256 d71ca4c87c7fb32f2cbd8447213171296f1b84382d66daa95e21017f157c9a0a

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