Skip to content

Commit 1573b4b

Browse files
authored
Merge pull request #2 from PredicateSystems/phase2
Phase 2
2 parents db4688e + 48fc1d3 commit 1573b4b

24 files changed

Lines changed: 1505 additions & 3840 deletions

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,37 @@ See runnable examples in:
123123
- `examples/mcp_tool_guard_example.py`
124124
- `examples/outbound_http_guard_example.py`
125125

126+
## Operations CLI (Phase 2)
127+
128+
`predicate-authority` provides an ops-focused CLI for sidecar/runtime workflows.
129+
130+
### Sidecar health and status
131+
132+
```bash
133+
predicate-authority sidecar health --host 127.0.0.1 --port 8787
134+
predicate-authority sidecar status --host 127.0.0.1 --port 8787
135+
```
136+
137+
### Policy validation and reload
138+
139+
```bash
140+
predicate-authority policy validate --file examples/authorityd/policy.json
141+
predicate-authority policy reload --host 127.0.0.1 --port 8787
142+
```
143+
144+
### Revocation controls
145+
146+
```bash
147+
predicate-authority revoke principal --host 127.0.0.1 --port 8787 --id agent:orders-01
148+
predicate-authority revoke intent --host 127.0.0.1 --port 8787 --hash <intent_hash>
149+
```
150+
151+
### Daemon startup
152+
153+
```bash
154+
predicate-authorityd --host 127.0.0.1 --port 8787 --mode local_only --policy-file examples/authorityd/policy.json
155+
```
156+
126157
## Security: Local Kill-Switch Path
127158

128159
The current Phase 1 runtime supports fail-closed checks and local proof emission. The sidecar model (`predicate-authorityd`) is planned to provide instant local revocation and managed token lifecycle for long-running production agents.

0 commit comments

Comments
 (0)