Don’t break
the diagram.
Give your agent an edit.
Make the runtime check it.
Replay four real CLI runs. Compare the diagram, source diff and receipt at every step. Nothing on this page edits a file.
Inspect the evidenceRecorded evidence, not a live terminal. Choose a step to inspect its captured state.
Make a supported edit
Rename the API identifier and label. Keep the comment, group membership, explicit graphical ports and relationships.
Suggested prompt
In a disposable copy of dont-break-the-diagram/source.mmd, rename service api to gateway with label Tenant API. Preserve comments, ports, containment and relationships. Inspect capabilities, plan the architecture-rename action, commit, verify and finish using a fresh receipt. Do not mark visual inspection complete unless it actually occurred.
In a disposable copy of dont-break-the-diagram/source.mmd, rename service api to gateway with label Tenant API. Preserve comments, ports, containment and relationships. Inspect capabilities, plan the architecture-rename action, commit, verify and finish using a fresh receipt. Do not mark visual inspection complete unless it actually occurred.
Original source
originalOn small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
Starting fixture. No CLI operation has run yet.
Source diff original → selected step
No source changes from the original.SHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a
Equal hashes accompany an exact byte comparison in the recorder.
Download step evidenceActual CLI response (none for this step)
nullReceipt snapshot · no receipt written
nullPlan validated
validated · exit 0On small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
$ beautiflow agent plan source.mmd --operation transform --actions actions.json --receipt receipt.json --json
Source diff original → selected step
No source changes from the original.SHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a
Equal hashes accompany an exact byte comparison in the recorder.
Download step evidenceActual CLI response
{
"protocolVersion": "1.1",
"ok": true,
"operation": "agent-plan",
"state": "validated",
"changed": true,
"diagramChanged": false,
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/receipt.json",
"files": {
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.beautiflow.json",
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/receipt.json",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/actions.json"
},
"evidence": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice gateway(aws:api-gateway)[Tenant API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:gateway\ngateway:R --> L:membership\nmembership:R --> L:records\n",
"actionsApplied": 1,
"before": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 1,
"targetedCorrections": 1,
"visualInspections": 1
},
"warnings": [],
"nextAction": {
"operation": "agent-commit",
"argv": [
"beautiflow",
"agent",
"commit",
"--receipt",
"/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/receipt.json",
"--json"
],
"reason": "Commit the validated plan while its hashes remain current",
"requiresConfirmation": false
}
}Receipt snapshot · validated
{
"receiptVersion": 1,
"protocolVersion": "1.1",
"state": "validated",
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.beautiflow.json",
"initialOperation": "transform",
"pendingOperation": "transform",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/actions.json",
"hashes": {
"sourceBefore": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarBefore": null,
"actions": "45b57c51122fe691513147818367ddd5e9178d2da24632e6404591eac7eaca28",
"sourceCurrent": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarCurrent": null
},
"snapshot": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice api(aws:api-gateway)[Cell API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:api\napi:R --> L:membership\nmembership:R --> L:records\n",
"sidecar": null
},
"expected": {
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semanticScore": 100,
"baselineScore": 100
},
"evidence": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice gateway(aws:api-gateway)[Tenant API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:gateway\ngateway:R --> L:membership\nmembership:R --> L:records\n",
"actionsApplied": 1,
"before": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 1,
"targetedCorrections": 1,
"visualInspections": 1
}
}Edit applied
applied · exit 0On small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
$ beautiflow agent commit --receipt receipt.json --json
Source diff original → selected step
architecture-beta
accTitle: Hotel tenant request path
accDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.
%% api in this comment is documentation, not a rename target.
group cell(cloud)[Pooled cell]
service staff(lucide:users)[Hotel staff]
-service api(aws:api-gateway)[Cell API] in cell
+service gateway(aws:api-gateway)[Tenant API] in cell
service membership(aws:fargate)[Membership check] in cell
service records(aws:aurora)[Tenant records] in cell
-staff:R --> L:api
-api:R --> L:membership
+staff:R --> L:gateway
+gateway:R --> L:membership
membership:R --> L:recordsSHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
506220c161062bfcb8cfac0c6e892ecb2c65dfd6752375d440ad93f27274489c
The receipt also binds the action file hash. Open its snapshot below.
Download step evidenceActual CLI response
{
"protocolVersion": "1.1",
"ok": true,
"operation": "agent-commit",
"state": "applied",
"changed": true,
"diagramChanged": true,
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/receipt.json",
"files": {
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.beautiflow.json",
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/receipt.json"
},
"evidence": {
"actionsApplied": 1,
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 0,
"targetedCorrections": 1,
"visualInspections": 1
},
"warnings": [],
"nextAction": {
"operation": "agent-verify",
"argv": [
"beautiflow",
"agent",
"verify",
"--receipt",
"/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/receipt.json",
"--json"
],
"reason": "Verify final geometry and semantics against the validated plan",
"requiresConfirmation": false
}
}Receipt snapshot · applied
{
"receiptVersion": 1,
"protocolVersion": "1.1",
"state": "applied",
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.beautiflow.json",
"initialOperation": "transform",
"pendingOperation": "transform",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/actions.json",
"hashes": {
"sourceBefore": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarBefore": null,
"actions": "45b57c51122fe691513147818367ddd5e9178d2da24632e6404591eac7eaca28",
"sourceCurrent": "506220c161062bfcb8cfac0c6e892ecb2c65dfd6752375d440ad93f27274489c",
"sidecarCurrent": null
},
"snapshot": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice api(aws:api-gateway)[Cell API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:api\napi:R --> L:membership\nmembership:R --> L:records\n",
"sidecar": null
},
"expected": {
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semanticScore": 100,
"baselineScore": 100
},
"evidence": {
"actionsApplied": 1,
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 0,
"targetedCorrections": 1,
"visualInspections": 1
}
}Mechanically verified
verified · exit 0On small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
$ beautiflow agent verify --receipt receipt.json --json
Source diff original → selected step
architecture-beta
accTitle: Hotel tenant request path
accDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.
%% api in this comment is documentation, not a rename target.
group cell(cloud)[Pooled cell]
service staff(lucide:users)[Hotel staff]
-service api(aws:api-gateway)[Cell API] in cell
+service gateway(aws:api-gateway)[Tenant API] in cell
service membership(aws:fargate)[Membership check] in cell
service records(aws:aurora)[Tenant records] in cell
-staff:R --> L:api
-api:R --> L:membership
+staff:R --> L:gateway
+gateway:R --> L:membership
membership:R --> L:recordsSHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
506220c161062bfcb8cfac0c6e892ecb2c65dfd6752375d440ad93f27274489c
The receipt also binds the action file hash. Open its snapshot below.
Download step evidenceActual CLI response
{
"protocolVersion": "1.1",
"ok": true,
"operation": "agent-verify",
"state": "verified",
"changed": true,
"diagramChanged": false,
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/receipt.json",
"files": {
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.beautiflow.json",
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/receipt.json"
},
"evidence": {
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
},
"regressions": []
},
"budget": {
"initialOperations": 0,
"targetedCorrections": 1,
"visualInspections": 1
},
"warnings": [],
"nextAction": {
"operation": "agent-finish",
"argv": [
"beautiflow",
"agent",
"finish",
"--receipt",
"/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/receipt.json",
"--json"
],
"reason": "Inspect one final render when vision is available, then record completion",
"requiresConfirmation": false
}
}Receipt snapshot · verified
{
"receiptVersion": 1,
"protocolVersion": "1.1",
"state": "verified",
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.beautiflow.json",
"initialOperation": "transform",
"pendingOperation": "transform",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/actions.json",
"hashes": {
"sourceBefore": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarBefore": null,
"actions": "45b57c51122fe691513147818367ddd5e9178d2da24632e6404591eac7eaca28",
"sourceCurrent": "506220c161062bfcb8cfac0c6e892ecb2c65dfd6752375d440ad93f27274489c",
"sidecarCurrent": null
},
"snapshot": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice api(aws:api-gateway)[Cell API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:api\napi:R --> L:membership\nmembership:R --> L:records\n",
"sidecar": null
},
"expected": {
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semanticScore": 100,
"baselineScore": 100
},
"evidence": {
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
},
"regressions": []
},
"budget": {
"initialOperations": 0,
"targetedCorrections": 1,
"visualInspections": 1
}
}Finished without visual attestation
complete · exit 0On small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
$ beautiflow agent finish --receipt receipt.json --json
Source diff original → selected step
architecture-beta
accTitle: Hotel tenant request path
accDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.
%% api in this comment is documentation, not a rename target.
group cell(cloud)[Pooled cell]
service staff(lucide:users)[Hotel staff]
-service api(aws:api-gateway)[Cell API] in cell
+service gateway(aws:api-gateway)[Tenant API] in cell
service membership(aws:fargate)[Membership check] in cell
service records(aws:aurora)[Tenant records] in cell
-staff:R --> L:api
-api:R --> L:membership
+staff:R --> L:gateway
+gateway:R --> L:membership
membership:R --> L:recordsSHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
506220c161062bfcb8cfac0c6e892ecb2c65dfd6752375d440ad93f27274489c
The receipt also binds the action file hash. Open its snapshot below.
Download step evidenceActual CLI response
{
"protocolVersion": "1.1",
"ok": true,
"operation": "agent-finish",
"state": "complete",
"changed": true,
"diagramChanged": false,
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/receipt.json",
"evidence": {
"verification": {
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
},
"regressions": []
},
"visualInspected": false
},
"budget": {
"initialOperations": 0,
"targetedCorrections": 1,
"visualInspections": 0
},
"warnings": [],
"nextAction": null
}Receipt snapshot · complete
{
"receiptVersion": 1,
"protocolVersion": "1.1",
"state": "complete",
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/source.beautiflow.json",
"initialOperation": "transform",
"pendingOperation": "transform",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/safe/actions.json",
"hashes": {
"sourceBefore": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarBefore": null,
"actions": "45b57c51122fe691513147818367ddd5e9178d2da24632e6404591eac7eaca28",
"sourceCurrent": "506220c161062bfcb8cfac0c6e892ecb2c65dfd6752375d440ad93f27274489c",
"sidecarCurrent": null
},
"snapshot": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice api(aws:api-gateway)[Cell API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:api\napi:R --> L:membership\nmembership:R --> L:records\n",
"sidecar": null
},
"expected": {
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semanticScore": 100,
"baselineScore": 100
},
"evidence": {
"verification": {
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
},
"regressions": []
},
"visualInspected": false
},
"budget": {
"initialOperations": 0,
"targetedCorrections": 1,
"visualInspections": 0
}
}Reproduce this case locally
Download these three files into a new directory with Beautiflow 1.0.1 on your PATH. Read the script before running it. It edits source.mmd and writes a local receipt. For refused operations, the script expects exit code 2.
sh reproduce.shRefuse an injected statement
A label tries to close its bracket and insert a new service. Validation refuses the action before writing a receipt or source.
Suggested prompt
In an isolated temporary copy of the safety fixture, test rejection of the unsafe architecture-rename label encoded as "unsafe]\nservice surprise(server)[Oops". Plan the action; do not bypass validation or patch Mermaid by hand. Confirm refusal and unchanged source bytes. This is a negative test, not a request to introduce the extra service.
In an isolated temporary copy of the safety fixture, test rejection of the unsafe architecture-rename label encoded as "unsafe]\nservice surprise(server)[Oops". Plan the action; do not bypass validation or patch Mermaid by hand. Confirm refusal and unchanged source bytes. This is a negative test, not a request to introduce the extra service.
Original source
originalOn small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
Starting fixture. No CLI operation has run yet.
Source diff original → selected step
No source changes from the original.SHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a
Equal hashes accompany an exact byte comparison in the recorder.
Download step evidenceActual CLI response (none for this step)
nullReceipt snapshot · no receipt written
nullPlan refused
blocked · exit 2On small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
INVALID_INPUT Invalid architecture-rename.label
$ beautiflow agent plan source.mmd --operation transform --actions actions.json --receipt receipt.json --json
Source diff original → selected step
No source changes from the original.SHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a
Equal hashes accompany an exact byte comparison in the recorder.
Download step evidenceActual CLI response
{
"protocolVersion": "1.1",
"ok": false,
"operation": "agent-plan",
"state": "blocked",
"changed": false,
"error": {
"code": "INVALID_INPUT",
"message": "Invalid architecture-rename.label",
"retryable": false
},
"warnings": [],
"nextAction": null
}Receipt snapshot · no receipt written
nullReproduce this case locally
Download these three files into a new directory with Beautiflow 1.0.1 on your PATH. Read the script before running it. It edits source.mmd and writes a local receipt. For refused operations, the script expects exit code 2.
sh reproduce.shKeep the newer source
After planning, a simulated collaborator adds a source comment. Commit refuses the outdated plan and preserves that edit.
Suggested prompt
In an isolated temporary copy of the safety fixture, plan the rename, then deliberately append a collaborator comment before commit. Attempt commit once and confirm the stale plan is refused without overwriting the newer source. Do not silently regenerate or retry the plan. Compare current bytes with the collaborator-edited snapshot.
In an isolated temporary copy of the safety fixture, plan the rename, then deliberately append a collaborator comment before commit. Attempt commit once and confirm the stale plan is refused without overwriting the newer source. Do not silently regenerate or retry the plan. Compare current bytes with the collaborator-edited snapshot.
Original source
originalOn small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
Starting fixture. No CLI operation has run yet.
Source diff original → selected step
No source changes from the original.SHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a
Equal hashes accompany an exact byte comparison in the recorder.
Download step evidenceActual CLI response (none for this step)
nullReceipt snapshot · no receipt written
nullPlan validated
validated · exit 0On small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
$ beautiflow agent plan source.mmd --operation transform --actions actions.json --receipt receipt.json --json
Source diff original → selected step
No source changes from the original.SHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a
Equal hashes accompany an exact byte comparison in the recorder.
Download step evidenceActual CLI response
{
"protocolVersion": "1.1",
"ok": true,
"operation": "agent-plan",
"state": "validated",
"changed": true,
"diagramChanged": false,
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/receipt.json",
"files": {
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/source.beautiflow.json",
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/receipt.json",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/actions.json"
},
"evidence": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice gateway(aws:api-gateway)[Tenant API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:gateway\ngateway:R --> L:membership\nmembership:R --> L:records\n",
"actionsApplied": 1,
"before": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 1,
"targetedCorrections": 1,
"visualInspections": 1
},
"warnings": [],
"nextAction": {
"operation": "agent-commit",
"argv": [
"beautiflow",
"agent",
"commit",
"--receipt",
"/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/receipt.json",
"--json"
],
"reason": "Commit the validated plan while its hashes remain current",
"requiresConfirmation": false
}
}Receipt snapshot · validated
{
"receiptVersion": 1,
"protocolVersion": "1.1",
"state": "validated",
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/source.beautiflow.json",
"initialOperation": "transform",
"pendingOperation": "transform",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/actions.json",
"hashes": {
"sourceBefore": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarBefore": null,
"actions": "45b57c51122fe691513147818367ddd5e9178d2da24632e6404591eac7eaca28",
"sourceCurrent": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarCurrent": null
},
"snapshot": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice api(aws:api-gateway)[Cell API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:api\napi:R --> L:membership\nmembership:R --> L:records\n",
"sidecar": null
},
"expected": {
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semanticScore": 100,
"baselineScore": 100
},
"evidence": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice gateway(aws:api-gateway)[Tenant API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:gateway\ngateway:R --> L:membership\nmembership:R --> L:records\n",
"actionsApplied": 1,
"before": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 1,
"targetedCorrections": 1,
"visualInspections": 1
}
}Collaborator edits source
validatedOn small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
$ printf '%s\n' '%% Collaborator: review tenant policy before release.' >> source.mmd
Source diff original → selected step
architecture-beta
accTitle: Hotel tenant request path
accDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.
%% api in this comment is documentation, not a rename target.
group cell(cloud)[Pooled cell]
service staff(lucide:users)[Hotel staff]
service api(aws:api-gateway)[Cell API] in cell
service membership(aws:fargate)[Membership check] in cell
service records(aws:aurora)[Tenant records] in cell
staff:R --> L:api
api:R --> L:membership
membership:R --> L:records
+%% Collaborator: review tenant policy before release.SHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
271a9ba7f8faae27f1344b0180c230d3140ffec64b11e114cd06ab7da848f5fb
The receipt also binds the action file hash. Open its snapshot below.
Download step evidenceActual CLI response (none for this step)
nullReceipt snapshot · validated
{
"receiptVersion": 1,
"protocolVersion": "1.1",
"state": "validated",
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/source.beautiflow.json",
"initialOperation": "transform",
"pendingOperation": "transform",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/actions.json",
"hashes": {
"sourceBefore": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarBefore": null,
"actions": "45b57c51122fe691513147818367ddd5e9178d2da24632e6404591eac7eaca28",
"sourceCurrent": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarCurrent": null
},
"snapshot": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice api(aws:api-gateway)[Cell API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:api\napi:R --> L:membership\nmembership:R --> L:records\n",
"sidecar": null
},
"expected": {
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semanticScore": 100,
"baselineScore": 100
},
"evidence": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice gateway(aws:api-gateway)[Tenant API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:gateway\ngateway:R --> L:membership\nmembership:R --> L:records\n",
"actionsApplied": 1,
"before": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 1,
"targetedCorrections": 1,
"visualInspections": 1
}
}Commit refused
stale · exit 2On small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
STALE_RECEIPT Agent receipt is stale because the source, sidecar, or action file changed after validation
$ beautiflow agent commit --receipt receipt.json --json
Source diff original → selected step
architecture-beta
accTitle: Hotel tenant request path
accDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.
%% api in this comment is documentation, not a rename target.
group cell(cloud)[Pooled cell]
service staff(lucide:users)[Hotel staff]
service api(aws:api-gateway)[Cell API] in cell
service membership(aws:fargate)[Membership check] in cell
service records(aws:aurora)[Tenant records] in cell
staff:R --> L:api
api:R --> L:membership
membership:R --> L:records
+%% Collaborator: review tenant policy before release.SHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
271a9ba7f8faae27f1344b0180c230d3140ffec64b11e114cd06ab7da848f5fb
The current hash differs from the planned hash. Refusal is the expected result, not a failed demonstration.
Download step evidenceActual CLI response
{
"protocolVersion": "1.1",
"ok": false,
"operation": "agent-commit",
"state": "blocked",
"changed": false,
"error": {
"code": "STALE_RECEIPT",
"message": "Agent receipt is stale because the source, sidecar, or action file changed after validation",
"retryable": false
},
"warnings": [],
"nextAction": null
}Receipt snapshot · stale
{
"receiptVersion": 1,
"protocolVersion": "1.1",
"state": "stale",
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/source.beautiflow.json",
"initialOperation": "transform",
"pendingOperation": "transform",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/stale/actions.json",
"hashes": {
"sourceBefore": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarBefore": null,
"actions": "45b57c51122fe691513147818367ddd5e9178d2da24632e6404591eac7eaca28",
"sourceCurrent": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarCurrent": null
},
"snapshot": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice api(aws:api-gateway)[Cell API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:api\napi:R --> L:membership\nmembership:R --> L:records\n",
"sidecar": null
},
"expected": {
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semanticScore": 100,
"baselineScore": 100
},
"evidence": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice gateway(aws:api-gateway)[Tenant API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:gateway\ngateway:R --> L:membership\nmembership:R --> L:records\n",
"actionsApplied": 1,
"before": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 1,
"targetedCorrections": 1,
"visualInspections": 1
}
}Reproduce this case locally
Download these three files into a new directory with Beautiflow 1.0.1 on your PATH. Read the script before running it. It edits source.mmd and writes a local receipt. For refused operations, the script expects exit code 2.
sh reproduce.shRestore the original bytes
Apply and verify the rename, then explicitly restore the original snapshot. Compare the full SHA-256, not just the picture.
Suggested prompt
In a disposable copy of the safety fixture, plan, commit and verify the supported rename. Inspect the current files before requesting explicit snapshot rollback, then confirm restoration with both byte comparison and hashes. Do not reuse downloaded receipts or roll back a real project: snapshot rollback is not a merge and can overwrite newer work.
In a disposable copy of the safety fixture, plan, commit and verify the supported rename. Inspect the current files before requesting explicit snapshot rollback, then confirm restoration with both byte comparison and hashes. Do not reuse downloaded receipts or roll back a real project: snapshot rollback is not a merge and can overwrite newer work.
Original source
originalOn small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
Starting fixture. No CLI operation has run yet.
Source diff original → selected step
No source changes from the original.SHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a
Equal hashes accompany an exact byte comparison in the recorder.
Download step evidenceActual CLI response (none for this step)
nullReceipt snapshot · no receipt written
nullPlan validated
validated · exit 0On small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
$ beautiflow agent plan source.mmd --operation transform --actions actions.json --receipt receipt.json --json
Source diff original → selected step
No source changes from the original.SHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a
Equal hashes accompany an exact byte comparison in the recorder.
Download step evidenceActual CLI response
{
"protocolVersion": "1.1",
"ok": true,
"operation": "agent-plan",
"state": "validated",
"changed": true,
"diagramChanged": false,
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/receipt.json",
"files": {
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.beautiflow.json",
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/receipt.json",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/actions.json"
},
"evidence": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice gateway(aws:api-gateway)[Tenant API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:gateway\ngateway:R --> L:membership\nmembership:R --> L:records\n",
"actionsApplied": 1,
"before": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 1,
"targetedCorrections": 1,
"visualInspections": 1
},
"warnings": [],
"nextAction": {
"operation": "agent-commit",
"argv": [
"beautiflow",
"agent",
"commit",
"--receipt",
"/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/receipt.json",
"--json"
],
"reason": "Commit the validated plan while its hashes remain current",
"requiresConfirmation": false
}
}Receipt snapshot · validated
{
"receiptVersion": 1,
"protocolVersion": "1.1",
"state": "validated",
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.beautiflow.json",
"initialOperation": "transform",
"pendingOperation": "transform",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/actions.json",
"hashes": {
"sourceBefore": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarBefore": null,
"actions": "45b57c51122fe691513147818367ddd5e9178d2da24632e6404591eac7eaca28",
"sourceCurrent": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarCurrent": null
},
"snapshot": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice api(aws:api-gateway)[Cell API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:api\napi:R --> L:membership\nmembership:R --> L:records\n",
"sidecar": null
},
"expected": {
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semanticScore": 100,
"baselineScore": 100
},
"evidence": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice gateway(aws:api-gateway)[Tenant API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:gateway\ngateway:R --> L:membership\nmembership:R --> L:records\n",
"actionsApplied": 1,
"before": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 1,
"targetedCorrections": 1,
"visualInspections": 1
}
}Edit applied
applied · exit 0On small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
$ beautiflow agent commit --receipt receipt.json --json
Source diff original → selected step
architecture-beta
accTitle: Hotel tenant request path
accDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.
%% api in this comment is documentation, not a rename target.
group cell(cloud)[Pooled cell]
service staff(lucide:users)[Hotel staff]
-service api(aws:api-gateway)[Cell API] in cell
+service gateway(aws:api-gateway)[Tenant API] in cell
service membership(aws:fargate)[Membership check] in cell
service records(aws:aurora)[Tenant records] in cell
-staff:R --> L:api
-api:R --> L:membership
+staff:R --> L:gateway
+gateway:R --> L:membership
membership:R --> L:recordsSHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
506220c161062bfcb8cfac0c6e892ecb2c65dfd6752375d440ad93f27274489c
The receipt also binds the action file hash. Open its snapshot below.
Download step evidenceActual CLI response
{
"protocolVersion": "1.1",
"ok": true,
"operation": "agent-commit",
"state": "applied",
"changed": true,
"diagramChanged": true,
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/receipt.json",
"files": {
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.beautiflow.json",
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/receipt.json"
},
"evidence": {
"actionsApplied": 1,
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 0,
"targetedCorrections": 1,
"visualInspections": 1
},
"warnings": [],
"nextAction": {
"operation": "agent-verify",
"argv": [
"beautiflow",
"agent",
"verify",
"--receipt",
"/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/receipt.json",
"--json"
],
"reason": "Verify final geometry and semantics against the validated plan",
"requiresConfirmation": false
}
}Receipt snapshot · applied
{
"receiptVersion": 1,
"protocolVersion": "1.1",
"state": "applied",
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.beautiflow.json",
"initialOperation": "transform",
"pendingOperation": "transform",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/actions.json",
"hashes": {
"sourceBefore": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarBefore": null,
"actions": "45b57c51122fe691513147818367ddd5e9178d2da24632e6404591eac7eaca28",
"sourceCurrent": "506220c161062bfcb8cfac0c6e892ecb2c65dfd6752375d440ad93f27274489c",
"sidecarCurrent": null
},
"snapshot": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice api(aws:api-gateway)[Cell API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:api\napi:R --> L:membership\nmembership:R --> L:records\n",
"sidecar": null
},
"expected": {
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semanticScore": 100,
"baselineScore": 100
},
"evidence": {
"actionsApplied": 1,
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
}
},
"budget": {
"initialOperations": 0,
"targetedCorrections": 1,
"visualInspections": 1
}
}Mechanically verified
verified · exit 0On small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
$ beautiflow agent verify --receipt receipt.json --json
Source diff original → selected step
architecture-beta
accTitle: Hotel tenant request path
accDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.
%% api in this comment is documentation, not a rename target.
group cell(cloud)[Pooled cell]
service staff(lucide:users)[Hotel staff]
-service api(aws:api-gateway)[Cell API] in cell
+service gateway(aws:api-gateway)[Tenant API] in cell
service membership(aws:fargate)[Membership check] in cell
service records(aws:aurora)[Tenant records] in cell
-staff:R --> L:api
-api:R --> L:membership
+staff:R --> L:gateway
+gateway:R --> L:membership
membership:R --> L:recordsSHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
506220c161062bfcb8cfac0c6e892ecb2c65dfd6752375d440ad93f27274489c
The receipt also binds the action file hash. Open its snapshot below.
Download step evidenceActual CLI response
{
"protocolVersion": "1.1",
"ok": true,
"operation": "agent-verify",
"state": "verified",
"changed": true,
"diagramChanged": false,
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/receipt.json",
"files": {
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.beautiflow.json",
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/receipt.json"
},
"evidence": {
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
},
"regressions": []
},
"budget": {
"initialOperations": 0,
"targetedCorrections": 1,
"visualInspections": 1
},
"warnings": [],
"nextAction": {
"operation": "agent-finish",
"argv": [
"beautiflow",
"agent",
"finish",
"--receipt",
"/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/receipt.json",
"--json"
],
"reason": "Inspect one final render when vision is available, then record completion",
"requiresConfirmation": false
}
}Receipt snapshot · verified
{
"receiptVersion": 1,
"protocolVersion": "1.1",
"state": "verified",
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.beautiflow.json",
"initialOperation": "transform",
"pendingOperation": "transform",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/actions.json",
"hashes": {
"sourceBefore": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarBefore": null,
"actions": "45b57c51122fe691513147818367ddd5e9178d2da24632e6404591eac7eaca28",
"sourceCurrent": "506220c161062bfcb8cfac0c6e892ecb2c65dfd6752375d440ad93f27274489c",
"sidecarCurrent": null
},
"snapshot": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice api(aws:api-gateway)[Cell API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:api\napi:R --> L:membership\nmembership:R --> L:records\n",
"sidecar": null
},
"expected": {
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semanticScore": 100,
"baselineScore": 100
},
"evidence": {
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
},
"regressions": []
},
"budget": {
"initialOperations": 0,
"targetedCorrections": 1,
"visualInspections": 1
}
}Snapshot restored
rolled-back · exit 0On small screens, scroll each diagram sideways or open its SVG.
2 · Diagram
$ beautiflow agent rollback --receipt receipt.json --json
Source diff original → selected step
No source changes from the original.SHA-256 full source bytes
- Original
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a- Selected step
87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a
Equal hashes accompany an exact byte comparison in the recorder.
Download step evidenceActual CLI response
{
"protocolVersion": "1.1",
"ok": true,
"operation": "agent-rollback",
"state": "rolled-back",
"changed": true,
"diagramChanged": true,
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/receipt.json",
"files": {
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.beautiflow.json",
"receipt": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/receipt.json"
},
"warnings": [],
"nextAction": null
}Receipt snapshot · rolled-back
{
"receiptVersion": 1,
"protocolVersion": "1.1",
"state": "rolled-back",
"source": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.mmd",
"sidecar": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/source.beautiflow.json",
"initialOperation": "transform",
"pendingOperation": "transform",
"actions": "/private/var/folders/5p/txt5dzv57mj59wjlq4l5s1280000gn/T/beautiflow-safety-cplE8i/rollback/actions.json",
"hashes": {
"sourceBefore": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarBefore": null,
"actions": "45b57c51122fe691513147818367ddd5e9178d2da24632e6404591eac7eaca28",
"sourceCurrent": "87fc5c59b2f686444e1b897c7e00453bceb25d333648bbe203aaab61ca28dc5a",
"sidecarCurrent": null
},
"snapshot": {
"source": "architecture-beta\naccTitle: Hotel tenant request path\naccDescr: Illustrative pooled hotel cell. Token validation, membership checks and database policies must be implemented separately.\n%% api in this comment is documentation, not a rename target.\ngroup cell(cloud)[Pooled cell]\nservice staff(lucide:users)[Hotel staff]\nservice api(aws:api-gateway)[Cell API] in cell\nservice membership(aws:fargate)[Membership check] in cell\nservice records(aws:aurora)[Tenant records] in cell\nstaff:R --> L:api\napi:R --> L:membership\nmembership:R --> L:records\n",
"sidecar": null
},
"expected": {
"score": 100,
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"semanticScore": 100,
"baselineScore": 100
},
"evidence": {
"audit": {
"score": 100,
"coverage": "pele-positioned-geometry",
"metrics": {
"detachedEndpoints": 0,
"portViolations": 0,
"nodeOverlaps": 0,
"labelCollisions": 0,
"edgeNodeIntersections": 0,
"headerCrossings": 0,
"excessiveBends": 0,
"sharedSegments": 0
},
"integrity": {
"coverage": "architecture-elements-and-svg-references",
"elementsChecked": 8,
"labelsChecked": 4,
"issues": [],
"limitations": [
"Label presence checks cover plain service labels, not markdown/math or Mermaid-entity fidelity, browser glyph measurements, or provider semantics."
]
},
"issues": [],
"limitations": [
"Geometry comes from a pinned additive Pele renderer extension before arrow trimming and corner rounding.",
"Edge-label boxes and browser font differences are not audited. Geometry does not validate provider semantics."
]
},
"semantic": {
"family": "architecture",
"score": 100,
"nodes": [
{
"id": "staff",
"type": "service",
"icon": "lucide:users",
"title": "Hotel staff"
},
{
"id": "gateway",
"type": "service",
"icon": "aws:api-gateway",
"title": "Tenant API",
"in": "cell"
},
{
"id": "membership",
"type": "service",
"icon": "aws:fargate",
"title": "Membership check",
"in": "cell"
},
{
"id": "records",
"type": "service",
"icon": "aws:aurora",
"title": "Tenant records",
"in": "cell"
}
],
"groups": [
{
"id": "cell",
"icon": "cloud",
"title": "Pooled cell"
}
],
"edges": [
{
"lhsId": "staff",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "gateway",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "gateway",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "membership",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
},
{
"lhsId": "membership",
"lhsDir": "R",
"lhsInto": false,
"lhsGroup": false,
"rhsId": "records",
"rhsDir": "L",
"rhsInto": true,
"rhsGroup": false
}
],
"alignmentHints": [],
"metrics": {
"services": 4,
"junctions": 0,
"groups": 1,
"relationships": 3,
"components": 1,
"isolatedServices": 0,
"maxDepth": 1
},
"issues": [],
"limitations": [
"Structural observations are informational and do not validate cloud-provider semantics or authorize deletion."
]
},
"regressions": []
},
"budget": {
"initialOperations": 0,
"targetedCorrections": 1,
"visualInspections": 1
}
}Reproduce this case locally
Download these three files into a new directory with Beautiflow 1.0.1 on your PATH. Read the script before running it. It edits source.mmd and writes a local receipt. For refused operations, the script expects exit code 2.
sh reproduce.shTo compare the restored file directly: cmp original.mmd source.mmd. Exit 0 means the bytes match.
What the evidence proves.
These runs demonstrate source-preserving architecture transforms, input-hash checks, mechanical verification and explicit rollback. The hotel path is an illustrative, deliberately small fixture, not a projection of the complete AWS gallery.
No visual attestation. The finished receipt records visualInspected: false. A mechanical check does not establish visual quality, working tenant isolation, IAM policy or deployed AWS correctness. Architecture does not support automatic polish.
Rollback is explicit. It restores the recorded snapshot; it is not a merge or a guarantee against overwriting later work. Inspect current files before requesting rollback. Receipts are local control files, not signed security attestations.
Raw evidence. Downloaded receipt snapshots contain absolute paths from a temporary recording workspace. Do not commit those receipts into your own project or try to resume them. Reproduce with the inputs and script to create fresh local receipts.