Metadata-Version: 2.5
Name: tallwright-core
Version: 0.1.1
Summary: Tallwright - shared record schema, content-addressing, and RFC 6962 Merkle primitives
Author: Tallwright
License-Expression: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Keywords: ai-agents,audit,compliance,forensics,merkle,tamper-evident
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Legal Industry
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: pydantic<3,>=2
Requires-Dist: rfc8785<1,>=0.1
Description-Content-Type: text/markdown

# tallwright-core

The dependency-light foundation every other Tallwright package builds on. No
networked or external-service code lives here.

- **`hashing.py`** — SHA-256 self-describing multihash + multibase content-addressing
- **`merkle.py`** — RFC 6962 Merkle tree: root, inclusion + consistency proofs, and
  independent (RFC 9162) verifiers
- **`schema.py`** — the 14-field record envelope,
  RFC 8785 (JCS) canonicalization, record hash, and hash-chain (`link` / `verify_chain`).
  Post-seal fields (`anchor_receipt`, `certification_pointer`) are excluded from the hash.
- **`redact.py`** — `scrub`: named credential and reasoning keys replaced wherever an adapter finds
  them, with the path of each replacement, so every framework adapter withholds the same keys.

Status: **implemented + tested** (the first approved production code). Anchoring, signing,
storage, and capture live in later packages.

## License

Copyright 2026 David Jöbstl. Licensed under the Apache License, Version 2.0: the package carries the license
text and the NOTICE. The exhibit
format's specification and its test vectors are under the same license; the rest of Tallwright is
proprietary.
