-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpipes.json.example
More file actions
135 lines (135 loc) · 3.83 KB
/
pipes.json.example
File metadata and controls
135 lines (135 loc) · 3.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"version": "1.0",
"description": "High-fidelity context pipe template for the Studio of Two.",
"_note": "All 'cmd' values should be bare command names (e.g. 'semantic-sift-cli'). The orchestrator resolves full paths at runtime via PATH lookup. Do NOT commit hardcoded absolute paths.",
"pipes": [
{
"name": "standard-distill",
"description": "Fast log sifting via Semantic-Sift.",
"nodes": [
{
"cmd": "semantic-sift-cli",
"args": ["logs"],
"help_msg": "semantic-sift-cli not found. Run 'uv tool install semantic-sift'."
}
]
},
{
"name": "semantic-refinery",
"description": "Neural distillation for code and prose (Hybrid Engine).",
"nodes": [
{
"cmd": "semantic-sift-cli",
"args": ["semantic", "--rate", "0.5"],
"help_msg": "semantic-sift-cli not found. Run 'uv tool install semantic-sift'."
}
]
},
{
"name": "resilient-chain",
"description": "Demonstrates the 'optional' flag for experimental nodes.",
"nodes": [
{
"cmd": "experimental-linter",
"optional": true,
"help_msg": "Experimental linter skipped because it was not found in PATH."
},
{
"cmd": "semantic-sift-cli",
"args": ["semantic", "--rate", "0.4"]
}
]
},
{
"name": "adaptive-chain",
"description": "Demonstrates recursive placeholders for Adaptive Window Pressure.",
"vars": {
"SIFT_RATE": "0.6"
},
"nodes": [
{
"cmd": "semantic-sift-cli",
"args": ["semantic", "--rate", "${SIFT_RATE}"],
"help_msg": "Set SIFT_RATE environment variable to dynamically adjust compression."
}
]
},
{
"name": "self-healing-validator",
"_comment": "Phase 11: DAG traversal demo. The validator checks schema; on failure it auto-corrects before distilling.",
"nodes": [
{
"cmd": "semantic-sift-cli",
"args": ["semantic", "--rate", "0.5"],
"condition": "size:>2000",
"help_msg": "semantic-sift-cli not found. Run 'uv tool install semantic-sift'."
},
{
"cmd": "check-schema",
"type": "validator",
"id": "schema-check",
"optional": true,
"help_msg": "check-schema not found — validator step skipped.",
"branches": {
"0": "done",
"1": "on-failure",
"default": "on-failure"
}
}
],
"branch_sequences": {
"on-failure": [
{
"cmd": "auto-fixer",
"args": ["--mode", "schema"],
"optional": true,
"help_msg": "auto-fixer not found — manual correction required."
},
{
"cmd": "semantic-sift-cli",
"args": ["logs"],
"help_msg": "semantic-sift-cli not found. Run 'uv tool install semantic-sift'."
}
],
"done": [
{
"cmd": "semantic-sift-cli",
"args": ["logs"],
"help_msg": "semantic-sift-cli not found. Run 'uv tool install semantic-sift'."
}
]
}
}
],
"mappings": [
{
"trigger": "tool:web_search|web_fetch|google_web_search",
"pipe": "semantic-refinery"
},
{
"trigger": "tool:search_code|grep_search|glob|find_symbol",
"pipe": "semantic-refinery"
},
{
"trigger": "size:>10000",
"pipe": "semantic-refinery"
},
{
"trigger": "size:>500",
"pipe": "standard-distill"
}
],
"servers": {
"firecrawl": {
"command": [
"python",
"-m",
"firecrawl_mcp.server"
],
"env": {
"FIRECRAWL_API_KEY": "${FIRECRAWL_API_KEY}"
},
"verbose": true
}
}
}