Make sample guide generation deterministic; regenerate examples
Template tests / tests (push) Failing after 17s

Fixed guide/step ids stop examples/ from churning on every verify run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Iisyourdad
2026-06-10 21:40:49 -05:00
parent a0a1bb5cfc
commit 6b40396053
22 changed files with 122 additions and 103 deletions
@@ -0,0 +1,29 @@
{
"schemaVersion": 1,
"guideId": "guide-sample-reset-password",
"title": "Reset a password in Admin Portal",
"descriptionHtml": "<p>Offline sample guide showing capture, annotations, rich text, and exports.</p>",
"placeholders": {
"Product": "Admin Portal",
"Author": "StepForge",
"Department": "Support"
},
"flags": {
"focusedViewDefault": true,
"hideSkippedStepsInExports": true
},
"themeOverride": "system",
"createdAt": "2026-06-11T02:40:34Z",
"updatedAt": "2026-06-11T02:40:34Z",
"stepsOrder": [
"step-sample-01-open-users",
"step-sample-02-enable-policy",
"step-sample-02a-permission-prompt",
"step-sample-03-review-confirmation",
"step-sample-04-legacy-note",
"step-sample-05-deprecated-flow"
],
"favorite": false,
"linkedSource": null,
"exportProfiles": {}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

@@ -0,0 +1,73 @@
{
"stepId": "step-sample-01-open-users",
"parentStepId": null,
"kind": "image",
"status": "todo",
"title": "Open [[Product]] users",
"descriptionHtml": "<p>Open the users list and select the target account.</p>",
"hidden": false,
"skipped": false,
"forceNewPage": false,
"focusedView": {
"enabled": true,
"zoom": 1.1,
"panX": 0.5,
"panY": 0.5
},
"image": {
"originalPath": "original.png",
"workingPath": "working.png",
"size": {
"width": 1280,
"height": 760
}
},
"extraImages": [],
"annotations": [
{
"id": "ann-c74bec0b-6cf4-47ba-b228-73c623637138",
"type": "rect",
"x": 0.275,
"y": 0.18,
"w": 0.19,
"h": 0.18,
"text": "",
"style": {
"stroke": "#0068ff",
"fill": "transparent",
"textColor": "#FFFFFF",
"strokeWidth": 6,
"fontSize": 0.022
}
},
{
"id": "ann-2491a459-e852-4c08-bb55-edf78a47a6e9",
"type": "number",
"x": 0.3,
"y": 0.08,
"w": 0.08,
"h": 0.12,
"text": "",
"style": {
"stroke": "#0068ff",
"fill": "transparent",
"textColor": "#FFFFFF",
"strokeWidth": 3,
"fontSize": 0.022
},
"value": 1
}
],
"textBlocks": [
{
"id": "tb-42639c40-003c-44d7-9cd4-09b4b09ca41f",
"position": "after-description",
"level": "info",
"title": "Tip",
"descriptionHtml": "<p>Use the search box to avoid scrolling.</p>"
}
],
"codeBlocks": [],
"tableBlocks": [],
"links": []
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

@@ -0,0 +1,88 @@
{
"stepId": "step-sample-02-enable-policy",
"parentStepId": null,
"kind": "image",
"status": "todo",
"title": "Enable the reset policy",
"descriptionHtml": "<p>Make sure the policy is active before continuing.</p>",
"hidden": false,
"skipped": false,
"forceNewPage": false,
"focusedView": {
"enabled": true,
"zoom": 1.1,
"panX": 0.5,
"panY": 0.5
},
"image": {
"originalPath": "original.png",
"workingPath": "working.png",
"size": {
"width": 1280,
"height": 760
}
},
"extraImages": [],
"annotations": [
{
"id": "ann-f6b0cfdd-a867-4811-ad9c-7b31ae7a0476",
"type": "arrow",
"x": 0.47,
"y": 0.24,
"w": 0.23,
"h": -0.04,
"text": "",
"style": {
"stroke": "#14a375",
"fill": "transparent",
"textColor": "#FFFFFF",
"strokeWidth": 5,
"fontSize": 0.022
}
},
{
"id": "ann-3d007177-1e5b-4ed0-8f26-43cd82c7f37d",
"type": "tooltip",
"x": 0.53,
"y": 0.13,
"w": 0.17,
"h": 0.08,
"text": "Primary action",
"style": {
"stroke": "#111827",
"fill": "#111827",
"textColor": "#ffffff",
"strokeWidth": 3,
"fontSize": 0.022,
"tail": "bottom"
}
},
{
"id": "ann-751baf23-eab9-44fc-a811-5c9558de8b38",
"type": "number",
"x": 0.31,
"y": 0.08,
"w": 0.08,
"h": 0.12,
"text": "",
"style": {
"stroke": "#14a375",
"fill": "transparent",
"textColor": "#FFFFFF",
"strokeWidth": 3,
"fontSize": 0.022
},
"value": 2
}
],
"textBlocks": [],
"codeBlocks": [
{
"id": "cmd",
"language": "bash",
"code": "stepforge --capture --window --delay 300"
}
],
"tableBlocks": [],
"links": []
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

@@ -0,0 +1,32 @@
{
"stepId": "step-sample-02a-permission-prompt",
"parentStepId": "step-sample-02-enable-policy",
"kind": "empty",
"status": "todo",
"title": "Confirm permission prompt",
"descriptionHtml": "<p>Only administrators can complete this step.</p>",
"hidden": false,
"skipped": false,
"forceNewPage": false,
"focusedView": {
"enabled": false,
"zoom": 1,
"panX": 0.5,
"panY": 0.5
},
"image": null,
"extraImages": [],
"annotations": [],
"textBlocks": [
{
"id": "tb-13a6f26d-fdc1-4aaf-a271-284ed8d9574f",
"position": "after-description",
"level": "warn",
"title": "Access",
"descriptionHtml": "<p>Admin rights required.</p>"
}
],
"codeBlocks": [],
"tableBlocks": [],
"links": []
}
@@ -0,0 +1,100 @@
{
"stepId": "step-sample-03-review-confirmation",
"parentStepId": null,
"kind": "image",
"status": "todo",
"title": "Review the confirmation",
"descriptionHtml": "<p>Confirm the summary and close the modal.</p>",
"hidden": false,
"skipped": false,
"forceNewPage": false,
"focusedView": {
"enabled": true,
"zoom": 1.1,
"panX": 0.5,
"panY": 0.5
},
"image": {
"originalPath": "original.png",
"workingPath": "working.png",
"size": {
"width": 1280,
"height": 760
}
},
"extraImages": [],
"annotations": [
{
"id": "ann-88b33206-1bea-463f-a47d-f2e081311b44",
"type": "blur",
"x": 0.49,
"y": 0.32,
"w": 0.21,
"h": 0.08,
"text": "",
"style": {
"stroke": "#9ca3af",
"fill": "transparent",
"textColor": "#FFFFFF",
"strokeWidth": 2,
"fontSize": 0.022
},
"radius": 12
},
{
"id": "ann-3a833f5a-5be3-44d1-bb61-2546cab82a6b",
"type": "highlight",
"x": 0.47,
"y": 0.24,
"w": 0.28,
"h": 0.2,
"text": "",
"style": {
"stroke": "#f0a500",
"fill": "#ffeeb0",
"textColor": "#FFFFFF",
"strokeWidth": 2,
"fontSize": 0.022
}
},
{
"id": "ann-c25a8e0c-b849-4978-881a-c54c3c0ff866",
"type": "number",
"x": 0.31,
"y": 0.08,
"w": 0.08,
"h": 0.12,
"text": "",
"style": {
"stroke": "#36a",
"fill": "transparent",
"textColor": "#FFFFFF",
"strokeWidth": 3,
"fontSize": 0.022
},
"value": 3
}
],
"textBlocks": [],
"codeBlocks": [],
"tableBlocks": [
{
"id": "t1",
"rows": [
[
"Field",
"Value"
],
[
"Title",
"Admin Portal"
],
[
"Owner",
"Support"
]
]
}
],
"links": []
}
@@ -0,0 +1,24 @@
{
"stepId": "step-sample-04-legacy-note",
"parentStepId": null,
"kind": "empty",
"status": "todo",
"title": "Legacy note",
"descriptionHtml": "<p>This hidden step exercises filtering in exports.</p>",
"hidden": true,
"skipped": false,
"forceNewPage": false,
"focusedView": {
"enabled": false,
"zoom": 1,
"panX": 0.5,
"panY": 0.5
},
"image": null,
"extraImages": [],
"annotations": [],
"textBlocks": [],
"codeBlocks": [],
"tableBlocks": [],
"links": []
}
@@ -0,0 +1,24 @@
{
"stepId": "step-sample-05-deprecated-flow",
"parentStepId": null,
"kind": "empty",
"status": "todo",
"title": "Deprecated flow",
"descriptionHtml": "<p>This skipped step remains in the library but is excluded from exports.</p>",
"hidden": false,
"skipped": true,
"forceNewPage": false,
"focusedView": {
"enabled": false,
"zoom": 1,
"panX": 0.5,
"panY": 0.5
},
"image": null,
"extraImages": [],
"annotations": [],
"textBlocks": [],
"codeBlocks": [],
"tableBlocks": [],
"links": []
}