Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ProDocuX Kernel

Deterministic document kernel for ProDocuX. Runtime does not call any LLM API (semantic drafting stays on the solver side).

License: Apache-2.0. See LICENSE.

Current prerelease: 0.3.0rc2. It distributes the A6 extract/render surface while preserving HTTP API /v1 and the frozen 0.2.0 compatibility v1 bytes. Frozen v2/v3 manifests still record surface version 0.3.0rc1.

Documents

Install

git clone https://github.com/prodocux/prodocux.git
cd prodocux
.\runtime\install.ps1 -Fresh
.\runtime\verify.ps1

Or:

python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e ".[dev]"
.\.venv\Scripts\python.exe -m pytest -q

Install the A6 extract/render prerelease from PyPI:

python -m pip install "prodocux==0.3.0rc2"

The older published wheel prodocux PyPI 0.3.0rc1 predates A6 and must not be overwritten. Frozen compatibility v3 still pins Commit A 53c4784d4b2bae4437252a287193e897973e8474. See docs/RELEASE.md.

See runtime/INSTALL.md for environment variables and private-sidecar notes.

Release maintainers can verify a wheel from an isolated temporary directory:

python scripts/verify_clean_install.py

See docs/RELEASE.md for the PyPI Trusted Publisher and GitHub approval-boundary workflow.

Test

.\.venv\Scripts\python.exe -m pytest -q

Start API

.\.venv\Scripts\python.exe run_kernel.py   # http://localhost:8900/v1

P1 delivered

Component Endpoint Status
Structure invariants (L0) POST /v1/validate-structure shipped
Scorer (L0–L3) POST /v1/score shipped
Review capture POST /v1/review/start, /commit shipped
Version GET /v1/version shipped
Semantic extract/render/learn 501 (later)
Deterministic PDF page intake POST /v1/intake/extract-pages shipped
JPEG/PNG technical profile POST /v1/intake/profile-image shipped
Typed evidence verification POST /v1/verify/evidence-bundle shipped
Normalized structured diff POST /v1/compare/normalized-profiles shipped

The PDF intake endpoint accepts only a bounded base64 payload and a plain .pdf basename. It returns source SHA-256, bounded page text, truncation disclosure, and an explicit ocr_required status without persisting the source document or calling an LLM.

GET /v1/intake/capabilities is the authoritative machine-readable source for available intake operations and their raw-byte/page ceilings. Clients should discover these limits instead of copying constants into adapters.

The evidence verifier accepts already-extracted typed evidence and declarative presence, equality, numeric-range, and date/version checks. It returns stable pass/fail/review reasons without interpreting product claims or regulations. Image OCR is available only through an explicitly injected bounded backend; otherwise the profile reports ocr_unavailable. Normalized diff reports source-linked structural/value changes but leaves business impact to the host.

Library hosts may inject an opaque artifact:// resolver. ProDocuX rejects network/local-path identities at this boundary and verifies declared media type, size, and SHA-256 before returning bytes; storage authorization and tenant isolation remain host responsibilities.

Flagship pipeline

Deterministic template extract → field mapping → precise write → structure repair → L0 gate. Content drafts are supplied by the solver as drafts.json.

See examples/pif_tw/ for curated synthetic fixtures (no customer documents).

Skills (first-party)

Skill Module
Structure health skills.structure_health
Number audit skills.number_audit
Version diff skills.version_diff
Clause diff skills.clause_diff
Doc assemble skills.doc_assemble
PIF audit (TW) skills.pif_audit
PDF extract skills.pdf_extract

All first-party skills are deterministic. CLI messages support en and zh-TW.

Acknowledgments

Codex and Cursor contributed implementation support, contract hardening, and cross-review for the multi-format intake upgrade. Final design and release decisions remain with the project maintainers.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prodocux-0.3.0rc2.tar.gz (136.9 kB view details)

Uploaded Source

Built Distribution

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

prodocux-0.3.0rc2-py3-none-any.whl (141.9 kB view details)

Uploaded Python 3

File details

Details for the file prodocux-0.3.0rc2.tar.gz.

File metadata

  • Download URL: prodocux-0.3.0rc2.tar.gz
  • Upload date:
  • Size: 136.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for prodocux-0.3.0rc2.tar.gz
Algorithm Hash digest
SHA256 d3dedfba33af6bc58bf66cdc1d7d98bb2fa9e46b498b045c6573f9a5e57d987e
MD5 b05cde6f291f589b0592d12ae03c49c0
BLAKE2b-256 9260eab18191ee00e246c153c7b581a5f9404f30e1e3151c83500a5a9caec07b

See more details on using hashes here.

Provenance

The following attestation bundles were made for prodocux-0.3.0rc2.tar.gz:

Publisher: release.yml on prodocux/prodocux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file prodocux-0.3.0rc2-py3-none-any.whl.

File metadata

  • Download URL: prodocux-0.3.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 141.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for prodocux-0.3.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 76fe43d1f1a316502af63dd8490ee47a8562b425ea5544fa3b5d81848fd1cf35
MD5 40e7a7dd7388e23f7e4585a46a1e1155
BLAKE2b-256 1eb260a762f312452594e677df04092afb3707f5c2e08b9139d55a4be4d18467

See more details on using hashes here.

Provenance

The following attestation bundles were made for prodocux-0.3.0rc2-py3-none-any.whl:

Publisher: release.yml on prodocux/prodocux

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.0rc2 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page