Files
metabuilder/workflow/examples/python/testing_triangle/workflow.json
johndoe6345789 51cc840420 feat: Add workflow examples from AutoMetabuilder
Add 19 example workflow packages demonstrating various patterns:

Templates:
- blank: Empty starter template
- single_pass: Single AI request with tool execution
- iterative_loop: AI loop until completion
- contextual_iterative_loop: Loop with repository context
- plan_execute_summarize: Planning and execution pattern

Data Processing:
- data_processing_demo: Filter, map, reduce operations
- conditional_logic_demo: Branching logic
- repo_scan_context: Repository scanning

Plugin Test Suites:
- dict/list/logic/math/string_plugins_test: Unit tests for plugins

Infrastructure:
- backend_bootstrap: Initialize backend services
- default_app_workflow: Full application workflow
- web_server_bootstrap/json_routes: Flask server setup

Specialized:
- game_tick_loop: Game loop pattern
- testing_triangle: CI/CD test pipeline

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 16:19:08 +00:00

158 lines
2.8 KiB
JSON

{
"name": "meta.workflow_packages.testing_triangle.label",
"active": false,
"nodes": [
{
"id": "lint",
"name": "Lint",
"type": "tools.run_lint",
"typeVersion": 1,
"position": [
0,
50
],
"parameters": {
"path": "src"
}
},
{
"id": "lint_failed",
"name": "Lint Failed",
"type": "utils.branch_condition",
"typeVersion": 1,
"position": [
300,
50
],
"parameters": {
"value": "$lint_results",
"mode": "regex",
"compare": "(FAILED|ERROR)"
}
},
{
"id": "lint_ok",
"name": "Lint Ok",
"type": "utils.not",
"typeVersion": 1,
"position": [
600,
50
],
"parameters": {
"value": "$lint_failed"
}
},
{
"id": "unit_tests",
"name": "Unit Tests",
"type": "tools.run_tests",
"typeVersion": 1,
"position": [
900,
50
],
"parameters": {
"path": "tests"
}
},
{
"id": "unit_failed",
"name": "Unit Failed",
"type": "utils.branch_condition",
"typeVersion": 1,
"position": [
1200,
50
],
"parameters": {
"value": "$unit_results",
"mode": "regex",
"compare": "(FAILED|ERROR)"
}
},
{
"id": "unit_ok",
"name": "Unit Ok",
"type": "utils.not",
"typeVersion": 1,
"position": [
1500,
50
],
"parameters": {
"value": "$unit_failed"
}
},
{
"id": "ui_tests",
"name": "Ui Tests",
"type": "tools.run_tests",
"typeVersion": 1,
"position": [
1800,
50
],
"parameters": {
"path": "tests/ui"
}
}
],
"connections": {
"Lint": {
"main": {
"0": [
{
"node": "Lint Failed",
"type": "main",
"index": 0
}
]
}
},
"Lint Failed": {
"main": {
"0": [
{
"node": "Lint Ok",
"type": "main",
"index": 0
}
]
}
},
"Unit Tests": {
"main": {
"0": [
{
"node": "Unit Failed",
"type": "main",
"index": 0
}
]
}
},
"Unit Failed": {
"main": {
"0": [
{
"node": "Unit Ok",
"type": "main",
"index": 0
}
]
}
}
},
"triggers": [
{
"nodeId": "lint",
"kind": "manual",
"enabled": true,
"meta": {
"description": "Manually triggered meta.workflow_packages.testing_triangle.label workflow execution"
}
}
]
}