Skip to main content

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

  • SchemasFinding, Proposal, Verdict, Manifest, AuditRecord (pydantic v2, frozen).
  • 6 invariants (constitutional — never weakened):
    1. never-auto-act — Lia proposes; a human approves every outward action.
    2. capability-confinement — a sentinel holds at most 1 of the lethal trifecta (untrusted-read / sensitive-data / outward-act).
    3. immutable audit-log — append-only, hash-chained, tamper-detectable.
    4. delivery-contract — every output is a Proposal with a declared effect.
    5. manifest-conformance — a sentinel declares its manifest; the host checks it.
    6. 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


Download files

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

Source Distribution

lia_core-0.0.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

lia_core-0.0.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

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

Hashes for lia_core-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3790263b01f3fe253e3b5170e0cdb0eec24094569a2165cdf05227a4d1025d1a
MD5 cc5fe408ea287100740165f92c7a32b9
BLAKE2b-256 a6f5dae73077481a80b9efdac71200f10dbc56fea59a8bc5ad6cf90757dfb98a

See more details on using hashes here.

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

Hashes for lia_core-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8a4298816c7e4fc966bf5f1d4ad9d85f63827144154ce245d06857b6f46d85f
MD5 b4b6ea92f4e965eadeb10a5377316c73
BLAKE2b-256 563e1704a0c3f198b95303d8a363e797fe837341d01a90056df000703d28c166

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