Skip to main content

Deterministic, zero-LLM structural checks for an LLM Wiki (Karpathy raw/→wiki/ pattern).

Project description

Proofwright

Deterministic, zero-LLM structural tooling for an LLM Wiki — the Karpathy raw/ → LLM → wiki/ research-synthesis pattern.

Proofwright is the deterministic layer: it checks the wiki against invariants and rebuilds derived artifacts, but never authors content. A "wright" is a maker/keeper — it builds the index, link graph, and report, not just flags problems.

What it checks

  • Structural — orphan pages, missing pages, broken [[wikilinks]], stale index, missing provenance.
  • Frontmatter — required keys, types, allowed tag/grade vocabularies.
  • Citation integrity — every [n] resolves to a source that maps to a real file in raw/; prose lacking a citation is flagged. (The primary defense against hallucination-baking.)
  • Source grades — every source graded, grades from a fixed vocabulary.
  • Graph — phantom hubs, hub stubs, fragile bridges.
  • Freshness — stale-page candidate list from recency markers.

Everything semantic (synthesis, meaning-level contradiction, supersession) stays with the LLM and is out of scope by design.

Usage

uv run proofwright check --config wiki.toml            # run all checks → report
uv run proofwright check --format json                 # machine-readable findings
uv run proofwright index --check                        # is the committed index stale?
uv run proofwright index --write                        # regenerate the index
uv run proofwright graph --report                       # graph-health report

proofwright is a library, not a framework: all per-wiki variance (paths, vocabularies, thresholds) lives in wiki.toml; custom rules register via the plugin hook. No subject-matter knowledge lives in the package.

See templates/ for a starter wiki.toml, CLAUDE.md schema, and page templates.

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

proofwright-0.1.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

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

proofwright-0.1.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file proofwright-0.1.0.tar.gz.

File metadata

  • Download URL: proofwright-0.1.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for proofwright-0.1.0.tar.gz
Algorithm Hash digest
SHA256 77491c4ce8bac1c03aadb6ac0c4542ff7937565fcedad7a57fe7db52aa8d9994
MD5 ef69b3ef546a003a8c159c2e51aba03b
BLAKE2b-256 cefa35e844eef6b7918866372bfa0044b503377ef9610549412928a9cadb13d4

See more details on using hashes here.

File details

Details for the file proofwright-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: proofwright-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for proofwright-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f72d0c3d44110dea15927a0b7c881667849e166fe2a1888f0d01916c3229ce7
MD5 18b0851394b300d1ad0f8049695daf10
BLAKE2b-256 1d8e1dbbad9e685c472d9b2eefd5bfc4d8b5b8b92fae4a82e63e6c6f121e7d21

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