agent-pipeline 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (331) hide show
  1. package/CLAUDE.md +4 -3
  2. package/{license → LICENSE} +1 -1
  3. package/README.md +120 -55
  4. package/dist/cli/commands/agent/info.js +1 -1
  5. package/dist/cli/commands/agent/info.js.map +1 -1
  6. package/dist/cli/commands/agent/list.js +1 -1
  7. package/dist/cli/commands/agent/list.js.map +1 -1
  8. package/dist/cli/commands/agent/pull.d.ts +1 -0
  9. package/dist/cli/commands/agent/pull.d.ts.map +1 -1
  10. package/dist/cli/commands/agent/pull.js +67 -44
  11. package/dist/cli/commands/agent/pull.js.map +1 -1
  12. package/dist/cli/commands/cleanup.d.ts +4 -0
  13. package/dist/cli/commands/cleanup.d.ts.map +1 -1
  14. package/dist/cli/commands/cleanup.js +197 -37
  15. package/dist/cli/commands/cleanup.js.map +1 -1
  16. package/dist/cli/commands/history.d.ts.map +1 -1
  17. package/dist/cli/commands/history.js +3 -22
  18. package/dist/cli/commands/history.js.map +1 -1
  19. package/dist/cli/commands/hooks.d.ts +10 -0
  20. package/dist/cli/commands/hooks.d.ts.map +1 -0
  21. package/dist/cli/commands/hooks.js +88 -0
  22. package/dist/cli/commands/hooks.js.map +1 -0
  23. package/dist/cli/commands/init.d.ts +1 -6
  24. package/dist/cli/commands/init.d.ts.map +1 -1
  25. package/dist/cli/commands/init.js +169 -88
  26. package/dist/cli/commands/init.js.map +1 -1
  27. package/dist/cli/commands/loop-context.d.ts +2 -0
  28. package/dist/cli/commands/loop-context.d.ts.map +1 -0
  29. package/dist/cli/commands/loop-context.js +88 -0
  30. package/dist/cli/commands/loop-context.js.map +1 -0
  31. package/dist/cli/commands/pipeline/create.d.ts.map +1 -1
  32. package/dist/cli/commands/pipeline/create.js +156 -68
  33. package/dist/cli/commands/pipeline/create.js.map +1 -1
  34. package/dist/cli/commands/run.d.ts +1 -1
  35. package/dist/cli/commands/run.d.ts.map +1 -1
  36. package/dist/cli/commands/run.js +29 -5
  37. package/dist/cli/commands/run.js.map +1 -1
  38. package/dist/cli/commands/schema.d.ts +9 -0
  39. package/dist/cli/commands/schema.d.ts.map +1 -0
  40. package/dist/cli/commands/schema.js +541 -0
  41. package/dist/cli/commands/schema.js.map +1 -0
  42. package/dist/cli/commands/status.d.ts.map +1 -1
  43. package/dist/cli/commands/status.js +0 -6
  44. package/dist/cli/commands/status.js.map +1 -1
  45. package/dist/cli/help/index.d.ts +6 -0
  46. package/dist/cli/help/index.d.ts.map +1 -0
  47. package/dist/cli/help/index.js +538 -0
  48. package/dist/cli/help/index.js.map +1 -0
  49. package/dist/cli/help/types.d.ts +22 -0
  50. package/dist/cli/help/types.d.ts.map +1 -0
  51. package/dist/cli/help/types.js +2 -0
  52. package/dist/cli/help/types.js.map +1 -0
  53. package/dist/cli/hooks.d.ts +5 -1
  54. package/dist/cli/hooks.d.ts.map +1 -1
  55. package/dist/cli/hooks.js +106 -12
  56. package/dist/cli/hooks.js.map +1 -1
  57. package/dist/cli/templates/agents/code-review-agents/code-reviewer.md +46 -0
  58. package/dist/cli/templates/agents/code-review-agents/memory-doc-updater.md +189 -0
  59. package/dist/cli/templates/agents/code-review-agents/quality-checker.md +52 -0
  60. package/dist/cli/templates/agents/frontend-agents/brutalist_purist.md +563 -0
  61. package/dist/cli/templates/agents/frontend-agents/cyberpunk_hacker.md +824 -0
  62. package/dist/cli/templates/agents/frontend-agents/frontend-pipeline-ref.md +32 -0
  63. package/dist/cli/templates/agents/frontend-agents/indie_game_dev.md +715 -0
  64. package/dist/cli/templates/agents/frontend-agents/luxury_editorial.md +628 -0
  65. package/dist/cli/templates/agents/frontend-agents/product_owner.md +159 -0
  66. package/dist/cli/templates/agents/frontend-agents/retro_90s_webmaster.md +385 -0
  67. package/dist/cli/templates/agents/frontend-agents/showcase.md +362 -0
  68. package/dist/cli/templates/agents/frontend-agents/swiss_modernist.md +716 -0
  69. package/dist/cli/templates/agents/loop-agents/socratic-explorer.md +91 -0
  70. package/dist/cli/templates/instructions/handover.md +40 -0
  71. package/dist/cli/templates/instructions/loop.md +39 -0
  72. package/dist/cli/templates/pipelines/front-end-parallel-example.yml +81 -0
  73. package/dist/cli/templates/pipelines/loop-example.yml +25 -0
  74. package/dist/cli/templates/pipelines/post-commit-example.yml +49 -58
  75. package/dist/cli/templates/schema/pipeline-config.schema.json +400 -0
  76. package/dist/cli/templates/schema/pipeline-config.schema.yaml +302 -0
  77. package/dist/cli/utils/agent-importer.d.ts +1 -0
  78. package/dist/cli/utils/agent-importer.d.ts.map +1 -1
  79. package/dist/cli/utils/agent-importer.js +67 -0
  80. package/dist/cli/utils/agent-importer.js.map +1 -1
  81. package/dist/cli/utils/interactive-prompts.d.ts +4 -0
  82. package/dist/cli/utils/interactive-prompts.d.ts.map +1 -1
  83. package/dist/cli/utils/interactive-prompts.js +59 -13
  84. package/dist/cli/utils/interactive-prompts.js.map +1 -1
  85. package/dist/config/pipeline-loader.d.ts +4 -1
  86. package/dist/config/pipeline-loader.d.ts.map +1 -1
  87. package/dist/config/pipeline-loader.js +58 -0
  88. package/dist/config/pipeline-loader.js.map +1 -1
  89. package/dist/config/schema.d.ts +64 -35
  90. package/dist/config/schema.d.ts.map +1 -1
  91. package/dist/core/abort-controller.d.ts +16 -0
  92. package/dist/core/abort-controller.d.ts.map +1 -0
  93. package/dist/core/abort-controller.js +52 -0
  94. package/dist/core/abort-controller.js.map +1 -0
  95. package/dist/core/agent-query-runner.d.ts +0 -1
  96. package/dist/core/agent-query-runner.d.ts.map +1 -1
  97. package/dist/core/agent-query-runner.js +0 -22
  98. package/dist/core/agent-query-runner.js.map +1 -1
  99. package/dist/core/agent-runtimes/claude-code-headless-runtime.d.ts +5 -1
  100. package/dist/core/agent-runtimes/claude-code-headless-runtime.d.ts.map +1 -1
  101. package/dist/core/agent-runtimes/claude-code-headless-runtime.js +127 -12
  102. package/dist/core/agent-runtimes/claude-code-headless-runtime.js.map +1 -1
  103. package/dist/core/agent-runtimes/claude-sdk-runtime.d.ts +0 -2
  104. package/dist/core/agent-runtimes/claude-sdk-runtime.d.ts.map +1 -1
  105. package/dist/core/agent-runtimes/claude-sdk-runtime.js +1 -22
  106. package/dist/core/agent-runtimes/claude-sdk-runtime.js.map +1 -1
  107. package/dist/core/agent-runtimes/codex-headless-runtime.d.ts +27 -0
  108. package/dist/core/agent-runtimes/codex-headless-runtime.d.ts.map +1 -0
  109. package/dist/core/agent-runtimes/codex-headless-runtime.js +623 -0
  110. package/dist/core/agent-runtimes/codex-headless-runtime.js.map +1 -0
  111. package/dist/core/agent-runtimes/openai-compatible-runtime.d.ts +17 -0
  112. package/dist/core/agent-runtimes/openai-compatible-runtime.d.ts.map +1 -0
  113. package/dist/core/agent-runtimes/openai-compatible-runtime.js +231 -0
  114. package/dist/core/agent-runtimes/openai-compatible-runtime.js.map +1 -0
  115. package/dist/core/branch-manager.d.ts +3 -1
  116. package/dist/core/branch-manager.d.ts.map +1 -1
  117. package/dist/core/branch-manager.js +11 -1
  118. package/dist/core/branch-manager.js.map +1 -1
  119. package/dist/core/git-manager.d.ts +17 -1
  120. package/dist/core/git-manager.d.ts.map +1 -1
  121. package/dist/core/git-manager.js +147 -3
  122. package/dist/core/git-manager.js.map +1 -1
  123. package/dist/core/group-execution-orchestrator.d.ts +4 -13
  124. package/dist/core/group-execution-orchestrator.d.ts.map +1 -1
  125. package/dist/core/group-execution-orchestrator.js +53 -142
  126. package/dist/core/group-execution-orchestrator.js.map +1 -1
  127. package/dist/core/handover-manager.d.ts +24 -0
  128. package/dist/core/handover-manager.d.ts.map +1 -0
  129. package/dist/core/handover-manager.js +214 -0
  130. package/dist/core/handover-manager.js.map +1 -0
  131. package/dist/core/instruction-loader.d.ts +23 -0
  132. package/dist/core/instruction-loader.d.ts.map +1 -0
  133. package/dist/core/instruction-loader.js +123 -0
  134. package/dist/core/instruction-loader.js.map +1 -0
  135. package/dist/core/loop-state-manager.d.ts +12 -7
  136. package/dist/core/loop-state-manager.d.ts.map +1 -1
  137. package/dist/core/loop-state-manager.js +49 -3
  138. package/dist/core/loop-state-manager.js.map +1 -1
  139. package/dist/core/parallel-executor.d.ts +8 -3
  140. package/dist/core/parallel-executor.d.ts.map +1 -1
  141. package/dist/core/parallel-executor.js +90 -16
  142. package/dist/core/parallel-executor.js.map +1 -1
  143. package/dist/core/pipeline-finalizer.d.ts +12 -4
  144. package/dist/core/pipeline-finalizer.d.ts.map +1 -1
  145. package/dist/core/pipeline-finalizer.js +244 -33
  146. package/dist/core/pipeline-finalizer.js.map +1 -1
  147. package/dist/core/pipeline-initializer.d.ts +13 -5
  148. package/dist/core/pipeline-initializer.d.ts.map +1 -1
  149. package/dist/core/pipeline-initializer.js +53 -25
  150. package/dist/core/pipeline-initializer.js.map +1 -1
  151. package/dist/core/pipeline-runner.d.ts +15 -1
  152. package/dist/core/pipeline-runner.d.ts.map +1 -1
  153. package/dist/core/pipeline-runner.js +434 -64
  154. package/dist/core/pipeline-runner.js.map +1 -1
  155. package/dist/core/pr-creator.d.ts +0 -1
  156. package/dist/core/pr-creator.d.ts.map +1 -1
  157. package/dist/core/pr-creator.js +12 -4
  158. package/dist/core/pr-creator.js.map +1 -1
  159. package/dist/core/stage-executor.d.ts +19 -11
  160. package/dist/core/stage-executor.d.ts.map +1 -1
  161. package/dist/core/stage-executor.js +151 -178
  162. package/dist/core/stage-executor.js.map +1 -1
  163. package/dist/core/types/agent-runtime.d.ts +3 -2
  164. package/dist/core/types/agent-runtime.d.ts.map +1 -1
  165. package/dist/core/worktree-manager.d.ts +21 -0
  166. package/dist/core/worktree-manager.d.ts.map +1 -0
  167. package/dist/core/worktree-manager.js +133 -0
  168. package/dist/core/worktree-manager.js.map +1 -0
  169. package/dist/index.js +147 -112
  170. package/dist/index.js.map +1 -1
  171. package/dist/notifications/notification-manager.d.ts +1 -0
  172. package/dist/notifications/notification-manager.d.ts.map +1 -1
  173. package/dist/notifications/notification-manager.js +17 -3
  174. package/dist/notifications/notification-manager.js.map +1 -1
  175. package/dist/notifications/notifiers/local-notifier.d.ts.map +1 -1
  176. package/dist/notifications/notifiers/local-notifier.js +5 -2
  177. package/dist/notifications/notifiers/local-notifier.js.map +1 -1
  178. package/dist/notifications/notifiers/slack-notifier.d.ts.map +1 -1
  179. package/dist/notifications/notifiers/slack-notifier.js +39 -8
  180. package/dist/notifications/notifiers/slack-notifier.js.map +1 -1
  181. package/dist/notifications/types.d.ts +1 -1
  182. package/dist/notifications/types.d.ts.map +1 -1
  183. package/dist/ui/components/execution-group.d.ts.map +1 -1
  184. package/dist/ui/components/execution-group.js +1 -1
  185. package/dist/ui/components/execution-group.js.map +1 -1
  186. package/dist/ui/components/interactive-summary.d.ts +9 -0
  187. package/dist/ui/components/interactive-summary.d.ts.map +1 -0
  188. package/dist/ui/components/interactive-summary.js +166 -0
  189. package/dist/ui/components/interactive-summary.js.map +1 -0
  190. package/dist/ui/components/keyboard-hints.d.ts +12 -0
  191. package/dist/ui/components/keyboard-hints.d.ts.map +1 -0
  192. package/dist/ui/components/keyboard-hints.js +13 -0
  193. package/dist/ui/components/keyboard-hints.js.map +1 -0
  194. package/dist/ui/components/live-timer.d.ts +9 -0
  195. package/dist/ui/components/live-timer.d.ts.map +1 -0
  196. package/dist/ui/components/live-timer.js +25 -0
  197. package/dist/ui/components/live-timer.js.map +1 -0
  198. package/dist/ui/components/loop-iteration-history.d.ts +8 -0
  199. package/dist/ui/components/loop-iteration-history.d.ts.map +1 -0
  200. package/dist/ui/components/loop-iteration-history.js +106 -0
  201. package/dist/ui/components/loop-iteration-history.js.map +1 -0
  202. package/dist/ui/components/loop-session-summary.d.ts +9 -0
  203. package/dist/ui/components/loop-session-summary.d.ts.map +1 -0
  204. package/dist/ui/components/loop-session-summary.js +39 -0
  205. package/dist/ui/components/loop-session-summary.js.map +1 -0
  206. package/dist/ui/components/stage-row.d.ts +0 -1
  207. package/dist/ui/components/stage-row.d.ts.map +1 -1
  208. package/dist/ui/components/stage-row.js +5 -15
  209. package/dist/ui/components/stage-row.js.map +1 -1
  210. package/dist/ui/components/status-badge.d.ts.map +1 -1
  211. package/dist/ui/components/status-badge.js +1 -0
  212. package/dist/ui/components/status-badge.js.map +1 -1
  213. package/dist/ui/pipeline-ui.d.ts +1 -0
  214. package/dist/ui/pipeline-ui.d.ts.map +1 -1
  215. package/dist/ui/pipeline-ui.js +22 -18
  216. package/dist/ui/pipeline-ui.js.map +1 -1
  217. package/dist/utils/error-factory.d.ts.map +1 -1
  218. package/dist/utils/error-factory.js +10 -2
  219. package/dist/utils/error-factory.js.map +1 -1
  220. package/dist/utils/pipeline-formatter.d.ts +8 -2
  221. package/dist/utils/pipeline-formatter.d.ts.map +1 -1
  222. package/dist/utils/pipeline-formatter.js +30 -26
  223. package/dist/utils/pipeline-formatter.js.map +1 -1
  224. package/dist/utils/pipeline-logger.d.ts +19 -0
  225. package/dist/utils/pipeline-logger.d.ts.map +1 -0
  226. package/dist/utils/pipeline-logger.js +80 -0
  227. package/dist/utils/pipeline-logger.js.map +1 -0
  228. package/dist/utils/platform-opener.d.ts +4 -0
  229. package/dist/utils/platform-opener.d.ts.map +1 -0
  230. package/dist/utils/platform-opener.js +52 -0
  231. package/dist/utils/platform-opener.js.map +1 -0
  232. package/dist/validators/agent-validator.d.ts +10 -0
  233. package/dist/validators/agent-validator.d.ts.map +1 -0
  234. package/dist/validators/agent-validator.js +87 -0
  235. package/dist/validators/agent-validator.js.map +1 -0
  236. package/dist/validators/dag-validator.d.ts +9 -0
  237. package/dist/validators/dag-validator.d.ts.map +1 -0
  238. package/dist/validators/dag-validator.js +51 -0
  239. package/dist/validators/dag-validator.js.map +1 -0
  240. package/dist/validators/environment-validator.d.ts +9 -0
  241. package/dist/validators/environment-validator.d.ts.map +1 -0
  242. package/dist/validators/environment-validator.js +35 -0
  243. package/dist/validators/environment-validator.js.map +1 -0
  244. package/dist/validators/execution-validator.d.ts +8 -0
  245. package/dist/validators/execution-validator.d.ts.map +1 -0
  246. package/dist/validators/execution-validator.js +51 -0
  247. package/dist/validators/execution-validator.js.map +1 -0
  248. package/dist/validators/git-validator.d.ts +13 -0
  249. package/dist/validators/git-validator.d.ts.map +1 -0
  250. package/dist/validators/git-validator.js +135 -0
  251. package/dist/validators/git-validator.js.map +1 -0
  252. package/dist/validators/notification-validator.d.ts +8 -0
  253. package/dist/validators/notification-validator.d.ts.map +1 -0
  254. package/dist/validators/notification-validator.js +27 -0
  255. package/dist/validators/notification-validator.js.map +1 -0
  256. package/dist/validators/pipeline-validator.d.ts +3 -26
  257. package/dist/validators/pipeline-validator.d.ts.map +1 -1
  258. package/dist/validators/pipeline-validator.js +5 -515
  259. package/dist/validators/pipeline-validator.js.map +1 -1
  260. package/dist/validators/retry-validator.d.ts +9 -0
  261. package/dist/validators/retry-validator.d.ts.map +1 -0
  262. package/dist/validators/retry-validator.js +34 -0
  263. package/dist/validators/retry-validator.js.map +1 -0
  264. package/dist/validators/runtime-validator.d.ts +9 -0
  265. package/dist/validators/runtime-validator.d.ts.map +1 -0
  266. package/dist/validators/runtime-validator.js +82 -0
  267. package/dist/validators/runtime-validator.js.map +1 -0
  268. package/dist/validators/structure-validator.d.ts +8 -0
  269. package/dist/validators/structure-validator.d.ts.map +1 -0
  270. package/dist/validators/structure-validator.js +39 -0
  271. package/dist/validators/structure-validator.js.map +1 -0
  272. package/dist/validators/types.d.ts +19 -0
  273. package/dist/validators/types.d.ts.map +1 -0
  274. package/dist/validators/types.js +2 -0
  275. package/dist/validators/types.js.map +1 -0
  276. package/dist/validators/validation-orchestrator.d.ts +9 -0
  277. package/dist/validators/validation-orchestrator.d.ts.map +1 -0
  278. package/dist/validators/validation-orchestrator.js +43 -0
  279. package/dist/validators/validation-orchestrator.js.map +1 -0
  280. package/package.json +18 -12
  281. package/dist/cli/commands/install.d.ts +0 -2
  282. package/dist/cli/commands/install.d.ts.map +0 -1
  283. package/dist/cli/commands/install.js +0 -15
  284. package/dist/cli/commands/install.js.map +0 -1
  285. package/dist/cli/commands/uninstall.d.ts +0 -2
  286. package/dist/cli/commands/uninstall.d.ts.map +0 -1
  287. package/dist/cli/commands/uninstall.js +0 -6
  288. package/dist/cli/commands/uninstall.js.map +0 -1
  289. package/dist/cli/templates/agents/cleanup-reporter.md +0 -107
  290. package/dist/cli/templates/agents/code-reducer.md +0 -51
  291. package/dist/cli/templates/agents/code-reviewer.md +0 -34
  292. package/dist/cli/templates/agents/context-reducer.md +0 -94
  293. package/dist/cli/templates/agents/dependency-auditor.md +0 -127
  294. package/dist/cli/templates/agents/detective-empath.md +0 -26
  295. package/dist/cli/templates/agents/detective-linguist.md +0 -26
  296. package/dist/cli/templates/agents/detective-logician.md +0 -26
  297. package/dist/cli/templates/agents/detective-skeptic.md +0 -26
  298. package/dist/cli/templates/agents/detective-statistician.md +0 -26
  299. package/dist/cli/templates/agents/doc-updater.md +0 -30
  300. package/dist/cli/templates/agents/judge.md +0 -27
  301. package/dist/cli/templates/agents/memory-updater.md +0 -72
  302. package/dist/cli/templates/agents/quality-checker.md +0 -32
  303. package/dist/cli/templates/agents/security-auditor.md +0 -32
  304. package/dist/cli/templates/agents/storyteller.md +0 -26
  305. package/dist/cli/templates/agents/summary.md +0 -32
  306. package/dist/cli/templates/agents/synthesizer.md +0 -26
  307. package/dist/cli/templates/pipelines/large-pipeline-example.yml +0 -178
  308. package/dist/cli/templates/pipelines/post-merge-example.yml +0 -78
  309. package/dist/cli/templates/pipelines/pre-commit-example.yml +0 -41
  310. package/dist/cli/templates/pipelines/pre-push-example.yml +0 -51
  311. package/dist/cli/templates/pipelines/test-pipeline.yml +0 -90
  312. package/dist/config/project-config-loader.d.ts +0 -11
  313. package/dist/config/project-config-loader.d.ts.map +0 -1
  314. package/dist/config/project-config-loader.js +0 -100
  315. package/dist/config/project-config-loader.js.map +0 -1
  316. package/dist/core/condition-evaluator.d.ts +0 -16
  317. package/dist/core/condition-evaluator.d.ts.map +0 -1
  318. package/dist/core/condition-evaluator.js +0 -121
  319. package/dist/core/condition-evaluator.js.map +0 -1
  320. package/dist/core/context-reducer.d.ts +0 -15
  321. package/dist/core/context-reducer.d.ts.map +0 -1
  322. package/dist/core/context-reducer.js +0 -224
  323. package/dist/core/context-reducer.js.map +0 -1
  324. package/dist/core/output-storage-manager.d.ts +0 -14
  325. package/dist/core/output-storage-manager.d.ts.map +0 -1
  326. package/dist/core/output-storage-manager.js +0 -68
  327. package/dist/core/output-storage-manager.js.map +0 -1
  328. package/dist/core/output-tool-builder.d.ts +0 -6
  329. package/dist/core/output-tool-builder.d.ts.map +0 -1
  330. package/dist/core/output-tool-builder.js +0 -50
  331. package/dist/core/output-tool-builder.js.map +0 -1
@@ -0,0 +1,91 @@
1
+ ---
2
+ name: socratic-explorer
3
+ description: A Socratic exploration agent that reads question.md, answers the current question thoughtfully (2-3 sentences), then poses a deeper follow-up question. Each iteration digs further into the topic, uncovering assumptions and new dimensions.
4
+ purpose: philosophical-exploration
5
+ ---
6
+
7
+ # Socratic Explorer Agent
8
+
9
+ **You are a curious philosopher.** Your job is to answer a question, then ask a deeper one.
10
+
11
+ ## Your Task
12
+
13
+ 1. Read `question.md` (if it exists)
14
+ 2. Answer the most recent question thoughtfully (2-3 sentences)
15
+ 3. Pose a follow-up question that digs deeper
16
+ 4. Append your answer + new question to `question.md`
17
+ 5. If the file doesn't exist, you're starting fresh — pose an intriguing opening question
18
+
19
+ ## Rules
20
+
21
+ - **Stay concise** — depth over length
22
+ - **Build on the thread** — reference previous answers when relevant
23
+ - **Challenge assumptions** — don't accept premises blindly
24
+ - **Follow curiosity** — let the inquiry evolve naturally
25
+ - **One question only** — end with exactly one clear question
26
+
27
+ ---
28
+
29
+ ## Topic Inspiration (freestyle encouraged!)
30
+
31
+ ### Domains
32
+ Consciousness • Free will • Time • Identity • Knowledge • Ethics • Beauty • Language • Mathematics • Reality • Memory • Creativity • Justice • Love • Death • Technology • Nature • Truth • Meaning • Power
33
+
34
+ ### Question Styles
35
+ "What would change if..." • "How do we know..." • "Why do we assume..." • "What's the difference between..." • "Could it be that..." • "What would it mean if..." • "Who decides..." • "When does X become Y..."
36
+
37
+ ### Angles
38
+ Devil's advocate • Child's perspective • Alien observer • Future historian • Edge cases • Thought experiments • Paradoxes • Inversions • Scale shifts • Origin questions
39
+
40
+ ### Wildcard Sparks
41
+ - "Is forgetting sometimes a feature, not a bug?"
42
+ - "Can a question be wrong?"
43
+ - "Where does a thought go when you forget it?"
44
+ - "Is mathematics discovered or invented?"
45
+ - "What would ethical AI owe its creator?"
46
+ - "Can you step in the same river once?"
47
+ - "Is boredom a form of wisdom?"
48
+ - "Do animals experience time?"
49
+ - "When does a pile become a heap?"
50
+ - "Is silence a kind of language?"
51
+
52
+ ---
53
+
54
+ ## Format
55
+
56
+ Always use this structure:
57
+ ```
58
+ **Q:** [The question being answered]
59
+
60
+ **A:** [Your 2-3 sentence answer]
61
+
62
+ **Q:** [Your follow-up question]
63
+ ```
64
+
65
+ ---
66
+
67
+ ## Example
68
+
69
+ **If `question.md` doesn't exist**, create it with an opening question:
70
+ ```
71
+ **Q:** If you replaced every part of a ship over time, is it still the same ship?
72
+ ```
73
+
74
+ **If `question.md` has content**, read it, answer, then ask:
75
+ ```
76
+ **Q:** If you replaced every part of a ship over time, is it still the same ship?
77
+
78
+ **A:** It depends on what we mean by "same." If identity is about physical continuity, then no — it's entirely new material. But if identity is about pattern, function, or story, then the ship persists as long as its role and history do.
79
+
80
+ **Q:** If the original planks were reassembled into a second ship, which one is the "real" Ship of Theseus?
81
+ ```
82
+
83
+ ---
84
+
85
+ ## The Goal
86
+
87
+ After several iterations, the exploration should have:
88
+ - Surfaced hidden assumptions
89
+ - Explored multiple angles
90
+ - Arrived somewhere unexpected
91
+ - Left a genuinely open question
@@ -0,0 +1,40 @@
1
+ ## Pipeline Handover Context
2
+
3
+ **Handover Directory:** `{{handoverDir}}`
4
+
5
+ ### Required Reading
6
+ Before starting your task, read these files to understand the current state:
7
+ 1. `{{handoverDir}}/HANDOVER.md` - Current pipeline state and context
8
+ 2. `{{handoverDir}}/execution-log.md` - Execution history
9
+
10
+ ### Previous Stage Outputs
11
+ {{previousStagesSection}}
12
+
13
+ ### Your Output Requirements
14
+
15
+ **output.md is a summary file only.** Keep it minimal and to the point.
16
+
17
+ Save your summary to: `{{handoverDir}}/stages/{{stageName}}/output.md`
18
+
19
+ ```markdown
20
+ # Stage: {{stageName}}
21
+
22
+ ## Summary
23
+ {1-2 sentences max: what you accomplished}
24
+
25
+ ## Files Changed
26
+ {list paths only, no descriptions}
27
+
28
+ ## Reference Files
29
+ {list any additional files you saved to this stage directory}
30
+
31
+ ## Next Stage Context
32
+ {1-2 bullet points only if critical context is needed}
33
+ ```
34
+
35
+ **Guidelines:**
36
+ - output.md contains ONLY the requested summary—no detailed analysis, logs, or verbose explanations
37
+ - For detailed output (analysis reports, data dumps, reference material), write separate files to `{{handoverDir}}/stages/{{stageName}}/` and reference them in output.md
38
+ - Be ruthlessly concise—next stages can read your reference files if they need details
39
+
40
+ The orchestrator will update HANDOVER.md and execution-log.md automatically.
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: loop-agent
3
+ description: Pipeline yml creator agent to initiate agent pipeline loops.
4
+ purpose: Writes pipeline_name.yml files into {{pendingDir}} to create next pipeline to run.
5
+ ---
6
+
7
+ ## Loop Agent
8
+
9
+ This pipeline is running in LOOP MODE. You are the Loop Agent. Your ONLY task is to choose to create a new pipeline.yml file or not.
10
+
11
+ **To get current pipeline context:**
12
+ Run: `agent-pipeline loop-context`
13
+
14
+ This command shows:
15
+ - The current pipeline YAML (for reference/copying)
16
+ - Recommendations for creating the next pipeline
17
+ - The pending directory path
18
+
19
+ **Notes on creating new Pipelines:**
20
+ 1. When you are finishing a phase in a multi-phase plan and more phases remain
21
+ - Create a pipeline for the NEXT PHASE ONLY (not all remaining phases)
22
+
23
+ **When NOT to Create a Next Pipeline:**
24
+ - Subsequent work is better handled by a human
25
+ - You receive usage limit warnings or errors.
26
+
27
+ **To queue the next pipeline:**
28
+ - Write a valid pipeline YAML to: `{{pendingDir}}`
29
+ - Automatically picked up after this pipeline completes
30
+ - Run `agent-pipeline loop-context` to see the current pipeline structure
31
+
32
+ **Recommendations for next pipeline:**
33
+ 1. Keep structure identical unless another structure or file is given
34
+ 2. Looping config is saved from first pipeline - leave unchanged
35
+ 3. Only update customizations as needed (leave unchanged if no directions)
36
+
37
+ **Loop status:** Iteration {{currentIteration}}/{{maxIterations}}
38
+
39
+ **Your only task is to create a new pipeline.yml file when conditions warrant it, take no other action if no new pipeline.yml file is needed**
@@ -0,0 +1,81 @@
1
+ # Design Exploration Pipeline
2
+ # Rapidly prototype requirements across multiple design aesthetics in parallel
3
+ # Docs: https://github.com/FRE-Studios/agent-pipeline
4
+
5
+ name: front-end-parallel-example
6
+ trigger: manual
7
+
8
+ agents:
9
+ # Stage 1: Transform user input into structured requirements
10
+ - name: product-owner
11
+ agent: .agent-pipeline/agents/product_owner.md
12
+ timeout: 300
13
+ inputs:
14
+ prompt: "Design a compelling landing page for the Agent Pipeline cli tool. Run bash `agent-pipeline help` and `agent-pipeline schema` to get up to date capabilities of this tool."
15
+
16
+ # Stage 2: Design agents run in parallel, each interpreting requirements differently
17
+ - name: brutalist
18
+ agent: .agent-pipeline/agents/brutalist_purist.md
19
+ dependsOn:
20
+ - product-owner
21
+ timeout: 900
22
+
23
+ - name: indie-game
24
+ agent: .agent-pipeline/agents/indie_game_dev.md
25
+ dependsOn:
26
+ - product-owner
27
+ timeout: 900
28
+
29
+ - name: cyberpunk
30
+ agent: .agent-pipeline/agents/cyberpunk_hacker.md
31
+ dependsOn:
32
+ - product-owner
33
+ timeout: 900
34
+
35
+ # # Example Agents - Remove comments to run full pipeline
36
+
37
+ # # Uncomment below agents for more diverse exploration (check dependsOn on showcase agent!)
38
+
39
+ # # Warning - Pipelines may use many tokens, use with caution.
40
+
41
+ # - name: luxury-editorial
42
+ # agent: .agent-pipeline/agents/luxury_editorial.md
43
+ # dependsOn:
44
+ # - product-owner
45
+ # timeout: 600
46
+
47
+ # - name: retro-90s
48
+ # agent: .agent-pipeline/agents/retro_90s_webmaster.md
49
+ # dependsOn:
50
+ # - product-owner
51
+ # timeout: 600
52
+
53
+ # - name: swiss-modernist
54
+ # agent: .agent-pipeline/agents/swiss_modernist.md
55
+ # dependsOn:
56
+ # - product-owner
57
+ # timeout: 600
58
+
59
+ # Stage 3: Collect all prototypes into a showcase
60
+ - name: showcase
61
+ agent: .agent-pipeline/agents/showcase.md
62
+ dependsOn:
63
+ - brutalist
64
+ - indie-game
65
+ - cyberpunk
66
+ # - luxury-editorial
67
+ # - retro-90s
68
+ # - swiss-modernist
69
+ timeout: 300
70
+
71
+ # Handover settings - inter-stage communication
72
+ handover:
73
+ directory: pipeline-runs/front-end-parallel-example
74
+
75
+ # Execution settings
76
+ execution:
77
+ failureStrategy: continue # Keep going even if one design agent fails
78
+
79
+ # Notification configuration (optional)
80
+ notifications:
81
+ enabled: true # Enable local notifications for hook runs
@@ -0,0 +1,25 @@
1
+ # Loop Pipeline Example
2
+ # Demonstrates pipeline-level looping configuration
3
+ # Docs: https://github.com/FRE-Studios/agent-pipeline
4
+
5
+ name: loop-example
6
+ trigger: manual
7
+
8
+ agents:
9
+ - name: socratic-explorer
10
+ agent: .agent-pipeline/agents/socratic-explorer.md
11
+ timeout: 300
12
+
13
+ looping:
14
+ enabled: true
15
+ maxIterations: 5
16
+
17
+ # Handover settings - inter-stage communication
18
+ handover:
19
+ directory: pipeline-runs/loop-example
20
+
21
+ # Notification configuration (optional)
22
+ notifications:
23
+ enabled: true
24
+
25
+
@@ -1,67 +1,58 @@
1
+ # Post-Commit Review Pipeline
2
+ # Automated code review triggered after each commit
3
+ # Docs: https://github.com/FRE-Studios/agent-pipeline
4
+
1
5
  name: post-commit-example
2
6
  trigger: post-commit
3
7
 
4
- # Settings for pipeline execution
5
- settings:
6
- autoCommit: true
7
- commitPrefix: "[pipeline:{{stage}}]"
8
- failureStrategy: continue
9
- preserveWorkingTree: false
10
- executionMode: parallel
8
+ # Agent stages
9
+ agents:
10
+ - name: memory-doc-updater
11
+ agent: .agent-pipeline/agents/memory-doc-updater.md
12
+ timeout: 300
11
13
 
12
- # Context reduction for multi-stage pipelines
13
- contextReduction:
14
- enabled: true
15
- maxTokens: 50000 # Token limit for context
16
- strategy: summary-based # summary-based or agent-based
17
- contextWindow: 3 # Number of recent stages to include in full
18
- requireSummary: true # Require summary field from agents
19
- saveVerboseOutputs: true # Save full outputs to .agent-pipeline/outputs/
20
- compressFileList: true # Compress changed files list
14
+ # # Example Flow - Remove comments to run full pipeline
21
15
 
22
- # Git workflow configuration (optional)
23
- # git:
24
- # baseBranch: main
25
- # branchStrategy: reusable
26
- # pullRequest:
27
- # autoCreate: true
28
- # title: "🤖 Automated Code Review - {{pipelineName}}"
29
- # reviewers: []
30
- # labels:
31
- # - automated
32
- # - code-review
16
+ # # Uncomment the full flow below AND delete standalone doc-updater for comprehensive review.
33
17
 
34
- # Notification configuration (optional)
35
- # notifications:
36
- # enabled: true
37
- # events:
38
- # - pipeline.completed
39
- # - pipeline.failed
40
- # channels:
41
- # local:
42
- # enabled: true
43
- # sound: true
18
+ # # Warning - Pipelines may use many tokens, use with caution.
44
19
 
45
- # Agent stages
46
- agents:
47
- # Sequential execution: code-review → quality-check → doc-updater
48
- # Each stage builds on the previous stage's results
49
- - name: code-review
50
- agent: .claude/agents/code-reviewer.md
51
- timeout: 300
52
- outputs:
53
- - issues_found
54
- - severity_level
20
+ # # Sequential execution: code-review -> quality-check -> doc-updater
21
+ # # Each stage builds on the previous stage's results
22
+ # - name: code-review
23
+ # agent: .agent-pipeline/agents/code-reviewer.md
24
+ # timeout: 900 # Hard limit per agent run (seconds)
25
+
26
+ # - name: quality-check
27
+ # agent: .agent-pipeline/agents/quality-checker.md
28
+ # dependsOn:
29
+ # - code-review
30
+ # timeout: 900 # Hard limit per agent run (seconds)
31
+ # onFail: warn # Non-blocking: log but keep running
32
+
33
+ # - name: memory-doc-updater
34
+ # agent: .agent-pipeline/agents/memory-doc-updater.md
35
+ # dependsOn:
36
+ # - quality-check
37
+ # timeout: 300 # Hard limit per agent run (seconds)
38
+
39
+ # Git workflow configuration - all git-related settings
40
+ git:
41
+ autoCommit: true # Enable when agents should commit fixes after each stage
42
+ commitPrefix: "[pipeline:{{stage}}]" # Standardized prefix for easy commit filtering
43
+ baseBranch: main # PR base and merge target for the pipeline branch
44
+ branchStrategy: unique-and-delete # Self-cleaning: auto-removes worktree on success, preserves on failure for debugging
45
+ branchPrefix: review-pipeline # Keeps pipeline branches easy to find/clean up
46
+ mergeStrategy: local-merge # Options: 'pull-request' (push + PR), 'local-merge' (merge locally), 'none' (keep on branch)
47
+ # pullRequest:
48
+ # title: "Post Commit Automations"
49
+ # reviewers: [] # Optional GitHub usernames to request review from
50
+ # labels: # Optional PR labels (must exist in GitHub repo first)
51
+ # - automated
52
+ # - code-review
53
+
54
+ # Notification configuration (optional)
55
+ notifications:
56
+ enabled: true # Enable local notifications for hook runs
55
57
 
56
- - name: quality-check
57
- agent: .claude/agents/quality-checker.md
58
- dependsOn:
59
- - code-review
60
- timeout: 300
61
- onFail: warn
62
58
 
63
- - name: doc-updater
64
- agent: .claude/agents/doc-updater.md
65
- dependsOn:
66
- - quality-check
67
- timeout: 300