Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

test: accept equivalent approval vocabulary

tt-a1i66414c7d2366
diff --git a/archify/test/ordinary-model-floor.test.mjs b/archify/test/ordinary-model-floor.test.mjs
index ffccfd76..495b7fc5 100644
--- a/archify/test/ordinary-model-floor.test.mjs
+++ b/archify/test/ordinary-model-floor.test.mjs
@@ -499,10 +499,11 @@ test('checked-in cases accept equivalent ordinary-model vocabulary without weake
]),
mutate(candidate) {
Object.assign(candidate.nodes.find((node) => node.id === 'risk-router'), { label: 'Router', type: 'security' });
- candidate.nodes.find((node) => node.id === 'consent-check').label = 'Human Approval';
+ candidate.nodes.find((node) => node.id === 'consent-check').label = 'Consent Gate';
candidate.nodes.find((node) => node.id === 'tool-runner').label = 'Tool Executor';
- candidate.nodes.find((node) => node.id === 'request-blocked').label = 'Denied';
+ candidate.nodes.find((node) => node.id === 'request-blocked').label = 'Held';
candidate.nodes.find((node) => node.id === 'service-provider').label = 'Remote API';
+ candidate.edges.find((edge) => edge.from === 'risk-router' && edge.to === 'consent-check').label = 'consent?';
},
},
{
diff --git a/benchmarks/ordinary-model-floor/cases/agent-tool-call.workflow.case.json b/benchmarks/ordinary-model-floor/cases/agent-tool-call.workflow.case.json
index 1aa0fce1..7f949f82 100644
--- a/benchmarks/ordinary-model-floor/cases/agent-tool-call.workflow.case.json
+++ b/benchmarks/ordinary-model-floor/cases/agent-tool-call.workflow.case.json
@@ -7,14 +7,14 @@
"nodes": [
{ "key": "planner", "labels": ["Agent Planner", "Planner"], "type": "backend" },
{ "key": "router", "labels": ["Tool Router", "Router"], "types": ["backend", "security"] },
- { "key": "approval", "labels": ["Approval Gate", "Human Approval"], "type": "security" },
+ { "key": "approval", "labels": ["Approval Gate", "Human Approval", "Consent Gate"], "type": "security" },
{ "key": "tool", "labels": ["Tool Call", "Tool Execution", "Tool Executor", "Tool Runner"], "type": "messagebus" },
- { "key": "blocked", "labels": ["Blocked", "Denied"], "type": "security" },
+ { "key": "blocked", "labels": ["Blocked", "Denied", "Held"], "type": "security" },
{ "key": "external", "labels": ["External API", "Provider API", "Remote API"], "type": "cloud" }
],
"relationships": [
{ "from": "planner", "to": "router" },
- { "from": "router", "to": "approval", "labels": ["needs approval?", "approval required?"] },
+ { "from": "router", "to": "approval", "labels": ["needs approval?", "approval required?", "consent?"] },
{ "from": "approval", "to": "tool" },
{ "from": "approval", "to": "blocked", "labels": ["denied", "rejected"] },
{ "from": "tool", "to": "external" }