feat(orchestration): compose security scenarios
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a02929-244b-7391-b933-c04010e8eedb
This commit is contained in:
parent
ad46cc89fc
commit
d96aab2321
20 changed files with 1464 additions and 30 deletions
24
tools/security-scenario-composer/README.md
Normal file
24
tools/security-scenario-composer/README.md
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Security Scenario Composer
|
||||
|
||||
The composer is the executable, plan-only implementation of
|
||||
`canon/standards/security-scenario-composition_v0.1.md`. It validates
|
||||
Playbook Capability Contract v0.1 declarations, selects exact providers,
|
||||
applies authority-bound overrides, orders trust transitions, and emits an
|
||||
owner-routed JSON handoff.
|
||||
|
||||
It never invokes an entry point and always emits
|
||||
`execution.permitted: false`.
|
||||
|
||||
Compose the checked-in C0 reference:
|
||||
|
||||
```bash
|
||||
python3 tools/security-scenario-composer/security_scenario_composer.py \
|
||||
--scenario examples/security-scenarios/c0-local-identity.yaml \
|
||||
capabilities/playbooks/net-kingdom.local-identity.yaml
|
||||
```
|
||||
|
||||
Run tests:
|
||||
|
||||
```bash
|
||||
python3 -m pytest tools/security-scenario-composer/tests
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue