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

Uploaded Python 3

File details

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

File metadata

  • Download URL: intent_audit_harness-1.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 fc44b9295ee38719fe592f8bc41e2b2be0a705ca3cdf1ab2b75a9a6b75965e57
MD5 e5bd5ff30baf365d891a3fcf2c4ec330
BLAKE2b-256 3fdaa722dc73b9382f7ab0580a73ea10416ed61bf36a64594715df64aca9e603

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for intent_audit_harness-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 133676059e15ab6453fce22ce1a34966610e1bbf521f46e360f371fc1cf1d3d1
MD5 d13a702e8ecd0e024b2fd2c70e67b7c3
BLAKE2b-256 53f1a9f6ef4108110b3ed7d8c69cfe6ad4f04ab3a9fd1d918038ee7bb05f4adb

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