underwrit 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- underwrit/__init__.py +19 -0
- underwrit/__main__.py +3 -0
- underwrit/api.py +1763 -0
- underwrit/auth.py +348 -0
- underwrit/backup.py +125 -0
- underwrit/bundle.py +110 -0
- underwrit/cedar.py +150 -0
- underwrit/chain.py +519 -0
- underwrit/checkpoint.py +428 -0
- underwrit/cli.py +155 -0
- underwrit/db.py +377 -0
- underwrit/demo.py +310 -0
- underwrit/ecdsa_p256.py +108 -0
- underwrit/ed25519.py +171 -0
- underwrit/evidence.py +590 -0
- underwrit/mcp.py +147 -0
- underwrit/merkle.py +144 -0
- underwrit/migrate.py +186 -0
- underwrit/obs.py +108 -0
- underwrit/oidc.py +362 -0
- underwrit/opa.py +103 -0
- underwrit/policy.py +933 -0
- underwrit/ratelimit.py +46 -0
- underwrit/recorder.py +139 -0
- underwrit/replay.py +136 -0
- underwrit/retention.py +220 -0
- underwrit/store.py +607 -0
- underwrit/subject.py +57 -0
- underwrit/taskdraft.py +40 -0
- underwrit/tsa.py +180 -0
- underwrit-0.3.0.dist-info/METADATA +174 -0
- underwrit-0.3.0.dist-info/RECORD +37 -0
- underwrit-0.3.0.dist-info/WHEEL +5 -0
- underwrit-0.3.0.dist-info/entry_points.txt +2 -0
- underwrit-0.3.0.dist-info/licenses/LICENSE +202 -0
- underwrit-0.3.0.dist-info/licenses/NOTICE +4 -0
- underwrit-0.3.0.dist-info/top_level.txt +1 -0
underwrit/__init__.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Underwrit — verifiable evidence for what an agent did, and a decision plane in front of it.
|
|
2
|
+
|
|
3
|
+
Two processes:
|
|
4
|
+
|
|
5
|
+
- **the data plane** (`underwrit.api`) runs on the customer's side. It decides, records every decision to
|
|
6
|
+
a hash chain, and produces evidence packs. It keeps deciding when the control plane is unreachable,
|
|
7
|
+
because it sits in the critical path of production actions.
|
|
8
|
+
- **the control plane** (`underwrit.control`) distributes policy and counts usage. It never receives an
|
|
9
|
+
action's arguments and is never in the decision path.
|
|
10
|
+
|
|
11
|
+
The library underneath is deliberately host-agnostic: a caller builds a `Subject` and hands it over,
|
|
12
|
+
so a pack can describe an agent session, a deployment, or anything else. See `subject.py`.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
from .subject import Subject
|
|
16
|
+
from . import chain, evidence, db, policy, recorder, store
|
|
17
|
+
|
|
18
|
+
__all__ = ["Subject", "chain", "evidence", "db", "policy", "recorder", "store"]
|
|
19
|
+
__version__ = "0.3.0"
|
underwrit/__main__.py
ADDED