-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
phase:examplesExample scriptsExample scriptspriority:mediumImportant but not blockingImportant but not blockingtype:featureNew functionalityNew functionality
Milestone
Description
Summary
Full-flow example demonstrating request → grant → invoke with denial handling.
Behavior
- Set up registry with 3+ capabilities (READ + WRITE + DESTRUCTIVE)
- Register InMemoryDriver
- Show: request capabilities for a goal → print matches
- Show: attempt WRITE grant without writer role → catch PolicyDenied → print denial
- Show: add writer role to principal → retry grant → success
- Show: invoke → print Frame (facts, warnings, handle IDs)
- Show: expand handle → print expanded data
- Show: explain action → print trace
- All output clearly formatted to stdout
Acceptance criteria
- Runs with
python examples/basic_cli.py— exit 0 - No internet required
- Output is readable and demonstrates the security model
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
phase:examplesExample scriptsExample scriptspriority:mediumImportant but not blockingImportant but not blockingtype:featureNew functionalityNew functionality