mirror of
https://github.com/domfelipe/vibeflow-n8n.git
synced 2026-08-07 13:36:50 +00:00
Add outcome contracts for v0.9
This commit is contained in:
parent
b312f18251
commit
bb581ab7f8
23 changed files with 1107 additions and 95 deletions
17
docs/demo.md
17
docs/demo.md
|
|
@ -16,6 +16,23 @@ node bin/vibeflow.mjs check examples/unsafe-support-agent.workflow.json --fail-o
|
|||
|
||||
Expected result: VF001-VF009 findings covering secrets, dangerous nodes, webhook authentication, error handling, idempotency, AI safety, timeouts, and retries.
|
||||
|
||||
## Dangerous outcome
|
||||
|
||||
```bash
|
||||
node bin/vibeflow.mjs check examples/unsafe-refund.workflow.json --fail-on never
|
||||
```
|
||||
|
||||
Expected result: the ordinary HTTP refund node triggers blocking VF010 plus VF012 and VF013, even though its node type is not inherently dangerous.
|
||||
|
||||
## Contracted outcome
|
||||
|
||||
```bash
|
||||
node bin/vibeflow.mjs check examples/safe-refund.workflow.json \
|
||||
--config examples/outcome-contracts.vibeflow.json
|
||||
```
|
||||
|
||||
Expected result: exit `0`, zero findings. The graph contains a dominating atomic claim and durable audit, structural approval/amount/counterparty gates, error notification, and compensation evidence.
|
||||
|
||||
## Automation output
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue