Lia sentinel-family core: contracts, 6 invariants, guarded executor.
Project description
lia-core
Constitutional core of the Lia sentinel family — the portable contracts and
runtime guarantees every Lia sentinel (lia-gro, lia-code, …) is built on.
What it provides
- Schemas —
Finding,Proposal,Verdict,Manifest,AuditRecord(pydantic v2, frozen). - 6 invariants (constitutional — never weakened):
- never-auto-act — Lia proposes; a human approves every outward action.
- capability-confinement — a sentinel holds at most 1 of the lethal trifecta (untrusted-read / sensitive-data / outward-act).
- immutable audit-log — append-only, hash-chained, tamper-detectable.
- delivery-contract — every output is a
Proposalwith a declared effect. - manifest-conformance — a sentinel declares its manifest; the host checks it.
- semver — the public API is versioned.
- GuardedExecutor — the only path that can act; enforces confinement + audit.
- Registry — sentinels register against their manifest; the host selects.
Status
0.x pre-freeze public API. The API freezes after the second consumer, per the
Lia platform design. Not yet a stable public contract.
Install
uv pip install lia-core
Requires Python ≥ 3.12.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lia_core-0.0.1.tar.gz.
File metadata
- Download URL: lia_core-0.0.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3790263b01f3fe253e3b5170e0cdb0eec24094569a2165cdf05227a4d1025d1a
|
|
| MD5 |
cc5fe408ea287100740165f92c7a32b9
|
|
| BLAKE2b-256 |
a6f5dae73077481a80b9efdac71200f10dbc56fea59a8bc5ad6cf90757dfb98a
|
File details
Details for the file lia_core-0.0.1-py3-none-any.whl.
File metadata
- Download URL: lia_core-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8a4298816c7e4fc966bf5f1d4ad9d85f63827144154ce245d06857b6f46d85f
|
|
| MD5 |
b4b6ea92f4e965eadeb10a5377316c73
|
|
| BLAKE2b-256 |
563e1704a0c3f198b95303d8a363e797fe837341d01a90056df000703d28c166
|