Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 20 additions & 43 deletions flows/index.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,24 @@
[
{
"id": "general-coding-assistant",
"name": "General Coding Assistant",
"description": "Routes user requests by complexity to the appropriate model, with quality evaluation.",
"author": "archon-ide",
"id": "test-flow1",
"name": "Test Flow1",
"description": "A simple model router",
"author": "newtro",
"version": "1.0.0",
"stars": 12,
"downloads": 45,
"tags": ["general", "routing", "multi-model"],
"nodeTypes": ["start", "intent", "router", "llm", "tool", "evaluator", "end"],
"nodeCount": 9,
"createdAt": "2026-01-15T00:00:00Z",
"updatedAt": "2026-02-01T00:00:00Z",
"flowPath": "flows/general-coding-assistant/flow.json"
},
{
"id": "tdd-workflow",
"name": "TDD Workflow",
"description": "Write tests first, then implement code. Red-green-refactor cycle with automated test runner.",
"author": "archon-ide",
"version": "1.0.0",
"stars": 42,
"downloads": 89,
"tags": ["testing", "tdd", "quality"],
"nodeTypes": ["start", "project-context", "llm", "tool", "evaluator", "end"],
"nodeCount": 8,
"createdAt": "2026-01-20T00:00:00Z",
"updatedAt": "2026-02-05T00:00:00Z",
"flowPath": "flows/tdd-workflow/flow.json"
},
{
"id": "code-reviewer",
"name": "Code Review Agent",
"description": "Multi-pass code review: security audit, performance check, style compliance, then summary.",
"author": "archon-ide",
"version": "1.0.0",
"stars": 38,
"downloads": 67,
"tags": ["review", "security", "performance", "quality"],
"nodeTypes": ["start", "project-context", "parallel", "llm", "join", "human-review", "end"],
"nodeCount": 10,
"createdAt": "2026-01-25T00:00:00Z",
"updatedAt": "2026-02-08T00:00:00Z",
"flowPath": "flows/code-reviewer/flow.json"
"stars": 0,
"downloads": 0,
"tags": [
"simple"
],
"nodeTypes": [
"start",
"end",
"router",
"llm"
],
"nodeCount": 6,
"createdAt": "2026-02-11T22:40:58.064Z",
"updatedAt": "2026-02-11T22:40:58.064Z",
"flowPath": "flows/test-flow1/flow.json"
Comment on lines +3 to +22

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Description mismatch between index.json and flow.json.

index.json sets description to "A simple model router" (Line 5), but flow.json has an empty description ("" at its Line 4). These should be consistent — either populate the description in flow.json or clarify which source is authoritative.

🤖 Prompt for AI Agents
In `@flows/index.json` around lines 3 - 22, The description for flow id
"test-flow1" is inconsistent: index.json has "description": "A simple model
router" while flow.json has an empty description; update the description key in
flow.json (the "description" field inside the flow JSON for the same flow id) to
match the text in index.json or, alternatively, update index.json to reflect the
authoritative description—ensure both "description" keys are identical for the
flow with id "test-flow1".

}
]
]
166 changes: 166 additions & 0 deletions flows/test-flow1/flow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
{
"id": "test-flow1",
"name": "Test Flow1",
"description": "",
"nodes": [
{
"id": "start_1",
"kind": "start",
"label": "Start",
"x": 224,
"y": -128,
"config": {
"kind": "start",
"config": {}
}
},
{
"id": "end_1",
"kind": "end",
"label": "Deliver Results",
"x": 300,
"y": 400,
"config": {
"kind": "end",
"config": {}
}
},
{
"id": "node_1770840288655_2",
"kind": "router",
"label": "Router",
"x": 224,
"y": -32,
"config": {
"kind": "router",
"config": {
"mode": "llm",
"rules": [],
"llmOutputs": [
"Opus",
"Sonnet",
"Haiku"
],
"llmPrompt": "Determine the complexity of the user's prompt and select the appropriate model. \n\nOpus, for the most complex task requiring thinking.\n\nSonnet for complex request\n\nHaiku for simple requests"
}
}
},
{
"id": "node_1770840949617_1",
"kind": "llm",
"label": "Opus",
"x": 80,
"y": 96,
"config": {
"kind": "llm",
"config": {
"model": "opus",
"systemPrompt": "You are a helpful ai assistant",
"temperature": 0.7,
"maxTokens": 128000,
"tools": [],
"enableThinking": true,
"toolPreset": "full-access"
}
}
},
{
"id": "node_1770840977010_2",
"kind": "llm",
"label": "Sonnet",
"x": 272,
"y": 96,
"config": {
"kind": "llm",
"config": {
"model": "sonnet",
"systemPrompt": "You are a helpful assistant",
"temperature": 0.7,
"maxTokens": 64000,
"tools": [],
"enableThinking": true,
"toolPreset": "full-access"
}
}
},
{
"id": "node_1770841003262_3",
"kind": "llm",
"label": "Haiku",
"x": 464,
"y": 96,
"config": {
"kind": "llm",
"config": {
"model": "haiku",
"systemPrompt": "You are a helpful assistant",
"temperature": 0.7,
"maxTokens": 64000,
"tools": [],
"enableThinking": true,
"toolPreset": "full-access"
}
}
}
],
"edges": [
{
"id": "xy-edge__start_1default-node_1770840288655_2",
"source": "start_1",
"target": "node_1770840288655_2",
"sourceHandle": "default",
"targetHandle": null,
"signal": "default"
},
{
"id": "xy-edge__node_1770840288655_2Opus-node_1770840949617_1",
"source": "node_1770840288655_2",
"target": "node_1770840949617_1",
"sourceHandle": "Opus",
"targetHandle": null,
"signal": "Opus"
},
{
"id": "xy-edge__node_1770840288655_2Sonnet-node_1770840977010_2",
"source": "node_1770840288655_2",
"target": "node_1770840977010_2",
"sourceHandle": "Sonnet",
"targetHandle": null,
"signal": "Sonnet"
},
{
"id": "xy-edge__node_1770840288655_2Haiku-node_1770841003262_3",
"source": "node_1770840288655_2",
"target": "node_1770841003262_3",
"sourceHandle": "Haiku",
"targetHandle": null,
"signal": "Haiku"
},
{
"id": "xy-edge__node_1770840949617_1default-end_1",
"source": "node_1770840949617_1",
"target": "end_1",
"sourceHandle": "default",
"targetHandle": null,
"signal": "default"
},
{
"id": "xy-edge__node_1770840977010_2default-end_1",
"source": "node_1770840977010_2",
"target": "end_1",
"sourceHandle": "default",
"targetHandle": null,
"signal": "default"
},
{
"id": "xy-edge__node_1770841003262_3default-end_1",
"source": "node_1770841003262_3",
"target": "end_1",
"sourceHandle": "default",
"targetHandle": null,
"signal": "default"
}
],
"createdAt": 1770849658064,
"updatedAt": 1770849658064
}