Skip to main content

wellman

AI Cost Tracking

PyPI Version Python License AI Cost Human Time Model

  • 🤖 LLM usage: $0.6582 (4 commits)
  • 👤 Human dev: ~$100 (1.0h @ $100/h, 30min dedup)

Generated on 2026-09-19 using openrouter/qwen/qwen3-coder-next


Wellman is the unified runtime, standards catalog, and policy-as-code validator for all Wellmanifest standards.

Instead of copying hundreds of kilobytes of vendored checker scripts into every repository, wellman provides a standardized, dependency-free CLI and programmatic engine that enforces Wellmanifest standards across your organization.


Candidate operational multipacks

Validate a local descriptor without a Git checkout:

wellman multipack validate path/to/multipack.json

The command writes JSON and returns 0 for consistent declarations or 1 for invalid/unreadable input. It delegates to the same checker as python -m wellman.multipack and performs no network calls, process invocation, build or registry upload.

The illustrative family declares npm and PyPI artifacts with independent stable versions and an internal Rust core (publish: false). Rust is optional; a Python or Node core is also supported. Omitting version_policy retains the default lockstep version policy. Exact URI namespaces are preserved. Invalid descriptors produce no declared publication targets.

This is the wellman.operational-multipack/v1 candidate, pending canonical URIprocess adoption. The example uses placeholder provenance and contract hashes. A successful result grants no authority and proves no source origin, installed-artifact behavior or cross-binding runtime parity. Those need their own verified evidence before production use or publication.


Supported Standards

wellman supports the complete suite of Wellmanifest standards:

Standard ID Name Level Model
wellmanifest/new-project Repository Bootstrap & Pack Composition S4 Protected
wellmanifest/git-lifecycle Branch, Ref, and PR Lifecycle S4 Protected
wellmanifest/worktrees Canonical Worktree Layout & Overlap Guard S3 Protected
wellmanifest/ticket-lifecycle Ticket Semantics, Leases & Activity S3 Protected
wellmanifest/merge Autonomous Merge Standard S4 Protected
wellmanifest/validation-attestation Exact-Head Evidence & Attestation S4 Protected
wellmanifest/authority-lifecycle Authority Lease & Expiry Semantics S5 Runtime
wellmanifest/agent Autonomous AI Agent Contract & Host Registry S4 Protected
wellmanifest/docs Documentation Readiness & Docs Gate S3 Protected
wellmanifest/dsl Domain Specific Language Interoperability S4 Protected
wellmanifest/code-dsl Code-Level AST Semantic Query Contract S4 Protected
wellmanifest/nl-dsl-llm Tripartite NL, Canonical DSL & LLM Contract S4 Protected
wellmanifest/repair-lifecycle Automated Repair & Remediation Lifecycle S5 Runtime
wellmanifest/deployment Deployment Specifications & Topologies S5 Runtime
wellmanifest/llm LLM Policy Boundary & Profile Envelopes S3 Protected
wellmanifest/logs Structured Log Contract & Diagnostic Events S3 Protected
wellmanifest/poa Plan of Action Execution Contracts S5 Runtime
wellmanifest/skills Agent Skill Execution & Tool Interfaces S3 Protected
wellmanifest/account-runtime Multi-Tenant Account & Service Access S4 Runtime
wellmanifest/saas-lifecycle SaaS Adapter Profiles & Subscriptions S4 Runtime
wellmanifest/twin-lifecycle Digital Twin Lifecycle & Telemetry S4 Runtime
wellmanifest/anonym PII Sanitization & Data Anonymization S3 Protected
wellmanifest/legal-lifecycle License Compliance & Contributor Agreements S3 Protected
wellmanifest/product-lifecycle Product Maturity Stages & Release Gates S3 Protected

Quick Start

Installation

pip install wellman
# or using uv
uv add --group governance wellman

Zero external dependencies required. Works on Python 3.9+.


CLI Usage

1. List all supported standards

wellman standards
# or JSON format
wellman standards --json

2. Inspect a standard specification

wellman info wellmanifest/git-lifecycle

3. Check standards compliance in a repository

wellman check
# or specify repository root
wellman check --root /path/to/repo
# or output machine-readable JSON
wellman check --json

Legacy CI callers can use wellman check --actor ci --root /path/to/repo --json with the separate wellmanifest-governance distribution installed in the same isolated tool environment. Supply --base <sha> --head <sha> together for an exact PR comparison. Enroll a wheel built from an independently reviewed, immutable wellmanifest/new-project revision's packages/wellman directory; retain that revision and artifact digest in the tooling profile. The source namespace migration does not itself publish a PyPI release or enroll a fleet.

This explicit compatibility mode verifies installed module ownership and runs wellmanifest_governance_runtime with isolated Python, preserving its output and exit status. A missing or incompatible backend is a prerequisite to repair; it never falls back to candidate checkout scripts or the unrelated legacy package. Plain wellman check retains its aggregate checks, and wellman run continues to use the canonical project execution implementation. Static conformance does not prove runtime mediation or grant publication authority.

4. Adopt a standard or profile into a repository

# Default: register baseline and inferred capability requirements, additively.
wellman adopt --root /path/to/project
# Preview without changing any files; optional explicit capability profile and individual standards.
wellman adopt auto --profile agent-executor --standard wellmanifest/nl-dsl-llm --dry-run --json

wellman adopt wellmanifest/git-lifecycle
# or adopt a profile
wellman adopt baseline
# Explicit bootstrap for an existing directory which is not yet in Git.
wellman adopt auto --root /path/to/new-project --bootstrap

Adoption also writes .governance/local-ci-publication.json (new-project.local-ci-publication/v1) with scope.mode: "all" when it is absent: local OneDev verification plus the independent Validator is the default publication route for every repository. An existing mode: "restricted" allowlist is kept; it only narrows that default and grants no authority. wellman check reports an invalid file as GOV-LOCAL-CI-001.

Automatic registration writes .governance/standard-requirements.json, not an adoption certificate. It works for any language, mixed-language repositories, documentation-only projects and unknown project types. Every project gets the baseline; declared profiles/roles, Docker/Compose files (in the root or conventional directories such as deploy/, deployment/, infra/, docker/), declared stack profiles, and domain operation catalogs add capability profiles. Profile inheritance is transitive and the strongest required level wins. --profile and repeatable --standard (-s) can supply profiles or individual standards that cannot be inferred from these signals.

The CLI discovers the Git root from the current directory or --root argument. A nested directory writes to its repository root; a linked worktree writes to that worktree, not the primary checkout. Inherited Git location overrides are ignored. Symlinks in the requested path or adoption destinations are rejected before writes. Outside Git, use --bootstrap explicitly; bare or broken Git repositories still fail. The Python register(root) API accepts an explicit directory without Git discovery, while rejecting symlink paths.

These files belong to the repository's .governance/ directory, not a global ~/.local directory. Final reports belong in the owning repository's docs/ under its adopted Docs contract. Existing external controller, credential and protected validation stores are separate authority infrastructure and are not moved by adoption.

Repeated registration is idempotent and additive: existing requirements, custom metadata, adoption manifests, pinned revisions and evidence are preserved. Invalid inputs and concurrent writers fail explicitly. Explicit standard/profile adoption also registers the baseline and selected requirements. Existing explicit adoption still requires --force to replace a legacy scaffold. Native governance manifests and immutable adoption locks are preserved even with --force, including partial locked adoptions. Update these through the pinned new-project adopter; use adopt auto to add requirements while preserving the installed governance. An unreadable existing manifest fails before any write. Auto mode never replaces the manifest. The command does not scan or modify other repositories, install background watchers, fetch packages, grant leases, change protected CI or claim S3–S5 conformance. minimumLevel is a requirement, not an observed compliance level.

5. Validate a JSON/YAML file against bundled schemas

wellman validate .governance/manifest.json
wellman validate project/ticket-001/intent.json --schema intent

6. Run deterministic governance gate (CI / Pre-commit)

For an adopted repository, use its pinned managed gate:

./project/governance-check.sh

wellman gate currently uses the package-bundled checker; it does not select a repository's pinned checker automatically. wellman check covers only the implemented subset of the catalog. In particular, the catalog's Docs entry is not yet an executable Docs checker in this release. Preserve the repository's adopted Docs adapter and required CI checks; registration is not a replacement for either.


Profiles

Wellman supports composite governance profiles:

  • baseline: new-project (S4), git-lifecycle (S4), worktrees (S3), merge (S4), validation-attestation (S4), ticket-lifecycle (S3), logs (S3).
  • domain-pack: baseline + dsl (S4), code-dsl (S4).
  • runtime-service: baseline + poa (S5), authority-lifecycle (S5), logs (S5).
  • agent-executor: runtime-service + agent (S4), repair-lifecycle (S5), validation-attestation (S5), skills (S4), llm (S4).
  • deployment: runtime-service + deployment (S5), merge (S5).
  • full: All Wellmanifest standards.

View all profiles:

wellman profiles

Python API

from wellman import (
    list_standards,
    get_standard,
    StandardsValidator,
    ConformanceRunner,
)

# Inspect standard
git_std = get_standard("wellmanifest/git-lifecycle")
print(git_std.name, git_std.minimum_level)

# Run conformance check programmatically
runner = ConformanceRunner(root=Path("."))
findings = runner.run_all()
for finding in findings:
    print(finding.code, finding.severity, finding.message)

License

Licensed under Apache-2.0.

Metadata

Release files for wellman 0.21.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wellman 0.21.0
File Size Uploaded Provenance Actions
wellman-0.21.0.tar.gz 370.8 kB Without provenance Details for wellman-0.21.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wellman 0.21.0
File Interpreter ABI Platform Actions
wellman-0.21.0-py3-none-any.whl Python 3 none any Details for wellman-0.21.0-py3-none-any.whl

Total release size: 698.9 kB

Release files / wellman-0.21.0.tar.gz

Download URL wellman-0.21.0.tar.gz
Size 370.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6b001055520b80171d2cb4589dbe789ae3b819f224e36d1263800533e066b16f
BLAKE2b-256 checksum
How to use checksums
d7f68a1edcb73e3ac4bef7e2de35b507ee43f57eb51853037d03bf2c9743a89d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / wellman-0.21.0-py3-none-any.whl

Download URL wellman-0.21.0-py3-none-any.whl
Size 328.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
459be3b37aabbf54a0bdaca239723dbc4cf0d060c374324930ce1d7f482cbd02
BLAKE2b-256 checksum
How to use checksums
a14851f85fa0d37983ccfd0c9baca28b9f094d7fae7c8c184ca6881356742658
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for wellman 0.21.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page