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.
- package/CLAUDE.md +4 -3
- package/{license → LICENSE} +1 -1
- package/README.md +120 -55
- package/dist/cli/commands/agent/info.js +1 -1
- package/dist/cli/commands/agent/info.js.map +1 -1
- package/dist/cli/commands/agent/list.js +1 -1
- package/dist/cli/commands/agent/list.js.map +1 -1
- package/dist/cli/commands/agent/pull.d.ts +1 -0
- package/dist/cli/commands/agent/pull.d.ts.map +1 -1
- package/dist/cli/commands/agent/pull.js +67 -44
- package/dist/cli/commands/agent/pull.js.map +1 -1
- package/dist/cli/commands/cleanup.d.ts +4 -0
- package/dist/cli/commands/cleanup.d.ts.map +1 -1
- package/dist/cli/commands/cleanup.js +197 -37
- package/dist/cli/commands/cleanup.js.map +1 -1
- package/dist/cli/commands/history.d.ts.map +1 -1
- package/dist/cli/commands/history.js +3 -22
- package/dist/cli/commands/history.js.map +1 -1
- package/dist/cli/commands/hooks.d.ts +10 -0
- package/dist/cli/commands/hooks.d.ts.map +1 -0
- package/dist/cli/commands/hooks.js +88 -0
- package/dist/cli/commands/hooks.js.map +1 -0
- package/dist/cli/commands/init.d.ts +1 -6
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +169 -88
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/loop-context.d.ts +2 -0
- package/dist/cli/commands/loop-context.d.ts.map +1 -0
- package/dist/cli/commands/loop-context.js +88 -0
- package/dist/cli/commands/loop-context.js.map +1 -0
- package/dist/cli/commands/pipeline/create.d.ts.map +1 -1
- package/dist/cli/commands/pipeline/create.js +156 -68
- package/dist/cli/commands/pipeline/create.js.map +1 -1
- package/dist/cli/commands/run.d.ts +1 -1
- package/dist/cli/commands/run.d.ts.map +1 -1
- package/dist/cli/commands/run.js +29 -5
- package/dist/cli/commands/run.js.map +1 -1
- package/dist/cli/commands/schema.d.ts +9 -0
- package/dist/cli/commands/schema.d.ts.map +1 -0
- package/dist/cli/commands/schema.js +541 -0
- package/dist/cli/commands/schema.js.map +1 -0
- package/dist/cli/commands/status.d.ts.map +1 -1
- package/dist/cli/commands/status.js +0 -6
- package/dist/cli/commands/status.js.map +1 -1
- package/dist/cli/help/index.d.ts +6 -0
- package/dist/cli/help/index.d.ts.map +1 -0
- package/dist/cli/help/index.js +538 -0
- package/dist/cli/help/index.js.map +1 -0
- package/dist/cli/help/types.d.ts +22 -0
- package/dist/cli/help/types.d.ts.map +1 -0
- package/dist/cli/help/types.js +2 -0
- package/dist/cli/help/types.js.map +1 -0
- package/dist/cli/hooks.d.ts +5 -1
- package/dist/cli/hooks.d.ts.map +1 -1
- package/dist/cli/hooks.js +106 -12
- package/dist/cli/hooks.js.map +1 -1
- package/dist/cli/templates/agents/code-review-agents/code-reviewer.md +46 -0
- package/dist/cli/templates/agents/code-review-agents/memory-doc-updater.md +189 -0
- package/dist/cli/templates/agents/code-review-agents/quality-checker.md +52 -0
- package/dist/cli/templates/agents/frontend-agents/brutalist_purist.md +563 -0
- package/dist/cli/templates/agents/frontend-agents/cyberpunk_hacker.md +824 -0
- package/dist/cli/templates/agents/frontend-agents/frontend-pipeline-ref.md +32 -0
- package/dist/cli/templates/agents/frontend-agents/indie_game_dev.md +715 -0
- package/dist/cli/templates/agents/frontend-agents/luxury_editorial.md +628 -0
- package/dist/cli/templates/agents/frontend-agents/product_owner.md +159 -0
- package/dist/cli/templates/agents/frontend-agents/retro_90s_webmaster.md +385 -0
- package/dist/cli/templates/agents/frontend-agents/showcase.md +362 -0
- package/dist/cli/templates/agents/frontend-agents/swiss_modernist.md +716 -0
- package/dist/cli/templates/agents/loop-agents/socratic-explorer.md +91 -0
- package/dist/cli/templates/instructions/handover.md +40 -0
- package/dist/cli/templates/instructions/loop.md +39 -0
- package/dist/cli/templates/pipelines/front-end-parallel-example.yml +81 -0
- package/dist/cli/templates/pipelines/loop-example.yml +25 -0
- package/dist/cli/templates/pipelines/post-commit-example.yml +49 -58
- package/dist/cli/templates/schema/pipeline-config.schema.json +400 -0
- package/dist/cli/templates/schema/pipeline-config.schema.yaml +302 -0
- package/dist/cli/utils/agent-importer.d.ts +1 -0
- package/dist/cli/utils/agent-importer.d.ts.map +1 -1
- package/dist/cli/utils/agent-importer.js +67 -0
- package/dist/cli/utils/agent-importer.js.map +1 -1
- package/dist/cli/utils/interactive-prompts.d.ts +4 -0
- package/dist/cli/utils/interactive-prompts.d.ts.map +1 -1
- package/dist/cli/utils/interactive-prompts.js +59 -13
- package/dist/cli/utils/interactive-prompts.js.map +1 -1
- package/dist/config/pipeline-loader.d.ts +4 -1
- package/dist/config/pipeline-loader.d.ts.map +1 -1
- package/dist/config/pipeline-loader.js +58 -0
- package/dist/config/pipeline-loader.js.map +1 -1
- package/dist/config/schema.d.ts +64 -35
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/core/abort-controller.d.ts +16 -0
- package/dist/core/abort-controller.d.ts.map +1 -0
- package/dist/core/abort-controller.js +52 -0
- package/dist/core/abort-controller.js.map +1 -0
- package/dist/core/agent-query-runner.d.ts +0 -1
- package/dist/core/agent-query-runner.d.ts.map +1 -1
- package/dist/core/agent-query-runner.js +0 -22
- package/dist/core/agent-query-runner.js.map +1 -1
- package/dist/core/agent-runtimes/claude-code-headless-runtime.d.ts +5 -1
- package/dist/core/agent-runtimes/claude-code-headless-runtime.d.ts.map +1 -1
- package/dist/core/agent-runtimes/claude-code-headless-runtime.js +127 -12
- package/dist/core/agent-runtimes/claude-code-headless-runtime.js.map +1 -1
- package/dist/core/agent-runtimes/claude-sdk-runtime.d.ts +0 -2
- package/dist/core/agent-runtimes/claude-sdk-runtime.d.ts.map +1 -1
- package/dist/core/agent-runtimes/claude-sdk-runtime.js +1 -22
- package/dist/core/agent-runtimes/claude-sdk-runtime.js.map +1 -1
- package/dist/core/agent-runtimes/codex-headless-runtime.d.ts +27 -0
- package/dist/core/agent-runtimes/codex-headless-runtime.d.ts.map +1 -0
- package/dist/core/agent-runtimes/codex-headless-runtime.js +623 -0
- package/dist/core/agent-runtimes/codex-headless-runtime.js.map +1 -0
- package/dist/core/agent-runtimes/openai-compatible-runtime.d.ts +17 -0
- package/dist/core/agent-runtimes/openai-compatible-runtime.d.ts.map +1 -0
- package/dist/core/agent-runtimes/openai-compatible-runtime.js +231 -0
- package/dist/core/agent-runtimes/openai-compatible-runtime.js.map +1 -0
- package/dist/core/branch-manager.d.ts +3 -1
- package/dist/core/branch-manager.d.ts.map +1 -1
- package/dist/core/branch-manager.js +11 -1
- package/dist/core/branch-manager.js.map +1 -1
- package/dist/core/git-manager.d.ts +17 -1
- package/dist/core/git-manager.d.ts.map +1 -1
- package/dist/core/git-manager.js +147 -3
- package/dist/core/git-manager.js.map +1 -1
- package/dist/core/group-execution-orchestrator.d.ts +4 -13
- package/dist/core/group-execution-orchestrator.d.ts.map +1 -1
- package/dist/core/group-execution-orchestrator.js +53 -142
- package/dist/core/group-execution-orchestrator.js.map +1 -1
- package/dist/core/handover-manager.d.ts +24 -0
- package/dist/core/handover-manager.d.ts.map +1 -0
- package/dist/core/handover-manager.js +214 -0
- package/dist/core/handover-manager.js.map +1 -0
- package/dist/core/instruction-loader.d.ts +23 -0
- package/dist/core/instruction-loader.d.ts.map +1 -0
- package/dist/core/instruction-loader.js +123 -0
- package/dist/core/instruction-loader.js.map +1 -0
- package/dist/core/loop-state-manager.d.ts +12 -7
- package/dist/core/loop-state-manager.d.ts.map +1 -1
- package/dist/core/loop-state-manager.js +49 -3
- package/dist/core/loop-state-manager.js.map +1 -1
- package/dist/core/parallel-executor.d.ts +8 -3
- package/dist/core/parallel-executor.d.ts.map +1 -1
- package/dist/core/parallel-executor.js +90 -16
- package/dist/core/parallel-executor.js.map +1 -1
- package/dist/core/pipeline-finalizer.d.ts +12 -4
- package/dist/core/pipeline-finalizer.d.ts.map +1 -1
- package/dist/core/pipeline-finalizer.js +244 -33
- package/dist/core/pipeline-finalizer.js.map +1 -1
- package/dist/core/pipeline-initializer.d.ts +13 -5
- package/dist/core/pipeline-initializer.d.ts.map +1 -1
- package/dist/core/pipeline-initializer.js +53 -25
- package/dist/core/pipeline-initializer.js.map +1 -1
- package/dist/core/pipeline-runner.d.ts +15 -1
- package/dist/core/pipeline-runner.d.ts.map +1 -1
- package/dist/core/pipeline-runner.js +434 -64
- package/dist/core/pipeline-runner.js.map +1 -1
- package/dist/core/pr-creator.d.ts +0 -1
- package/dist/core/pr-creator.d.ts.map +1 -1
- package/dist/core/pr-creator.js +12 -4
- package/dist/core/pr-creator.js.map +1 -1
- package/dist/core/stage-executor.d.ts +19 -11
- package/dist/core/stage-executor.d.ts.map +1 -1
- package/dist/core/stage-executor.js +151 -178
- package/dist/core/stage-executor.js.map +1 -1
- package/dist/core/types/agent-runtime.d.ts +3 -2
- package/dist/core/types/agent-runtime.d.ts.map +1 -1
- package/dist/core/worktree-manager.d.ts +21 -0
- package/dist/core/worktree-manager.d.ts.map +1 -0
- package/dist/core/worktree-manager.js +133 -0
- package/dist/core/worktree-manager.js.map +1 -0
- package/dist/index.js +147 -112
- package/dist/index.js.map +1 -1
- package/dist/notifications/notification-manager.d.ts +1 -0
- package/dist/notifications/notification-manager.d.ts.map +1 -1
- package/dist/notifications/notification-manager.js +17 -3
- package/dist/notifications/notification-manager.js.map +1 -1
- package/dist/notifications/notifiers/local-notifier.d.ts.map +1 -1
- package/dist/notifications/notifiers/local-notifier.js +5 -2
- package/dist/notifications/notifiers/local-notifier.js.map +1 -1
- package/dist/notifications/notifiers/slack-notifier.d.ts.map +1 -1
- package/dist/notifications/notifiers/slack-notifier.js +39 -8
- package/dist/notifications/notifiers/slack-notifier.js.map +1 -1
- package/dist/notifications/types.d.ts +1 -1
- package/dist/notifications/types.d.ts.map +1 -1
- package/dist/ui/components/execution-group.d.ts.map +1 -1
- package/dist/ui/components/execution-group.js +1 -1
- package/dist/ui/components/execution-group.js.map +1 -1
- package/dist/ui/components/interactive-summary.d.ts +9 -0
- package/dist/ui/components/interactive-summary.d.ts.map +1 -0
- package/dist/ui/components/interactive-summary.js +166 -0
- package/dist/ui/components/interactive-summary.js.map +1 -0
- package/dist/ui/components/keyboard-hints.d.ts +12 -0
- package/dist/ui/components/keyboard-hints.d.ts.map +1 -0
- package/dist/ui/components/keyboard-hints.js +13 -0
- package/dist/ui/components/keyboard-hints.js.map +1 -0
- package/dist/ui/components/live-timer.d.ts +9 -0
- package/dist/ui/components/live-timer.d.ts.map +1 -0
- package/dist/ui/components/live-timer.js +25 -0
- package/dist/ui/components/live-timer.js.map +1 -0
- package/dist/ui/components/loop-iteration-history.d.ts +8 -0
- package/dist/ui/components/loop-iteration-history.d.ts.map +1 -0
- package/dist/ui/components/loop-iteration-history.js +106 -0
- package/dist/ui/components/loop-iteration-history.js.map +1 -0
- package/dist/ui/components/loop-session-summary.d.ts +9 -0
- package/dist/ui/components/loop-session-summary.d.ts.map +1 -0
- package/dist/ui/components/loop-session-summary.js +39 -0
- package/dist/ui/components/loop-session-summary.js.map +1 -0
- package/dist/ui/components/stage-row.d.ts +0 -1
- package/dist/ui/components/stage-row.d.ts.map +1 -1
- package/dist/ui/components/stage-row.js +5 -15
- package/dist/ui/components/stage-row.js.map +1 -1
- package/dist/ui/components/status-badge.d.ts.map +1 -1
- package/dist/ui/components/status-badge.js +1 -0
- package/dist/ui/components/status-badge.js.map +1 -1
- package/dist/ui/pipeline-ui.d.ts +1 -0
- package/dist/ui/pipeline-ui.d.ts.map +1 -1
- package/dist/ui/pipeline-ui.js +22 -18
- package/dist/ui/pipeline-ui.js.map +1 -1
- package/dist/utils/error-factory.d.ts.map +1 -1
- package/dist/utils/error-factory.js +10 -2
- package/dist/utils/error-factory.js.map +1 -1
- package/dist/utils/pipeline-formatter.d.ts +8 -2
- package/dist/utils/pipeline-formatter.d.ts.map +1 -1
- package/dist/utils/pipeline-formatter.js +30 -26
- package/dist/utils/pipeline-formatter.js.map +1 -1
- package/dist/utils/pipeline-logger.d.ts +19 -0
- package/dist/utils/pipeline-logger.d.ts.map +1 -0
- package/dist/utils/pipeline-logger.js +80 -0
- package/dist/utils/pipeline-logger.js.map +1 -0
- package/dist/utils/platform-opener.d.ts +4 -0
- package/dist/utils/platform-opener.d.ts.map +1 -0
- package/dist/utils/platform-opener.js +52 -0
- package/dist/utils/platform-opener.js.map +1 -0
- package/dist/validators/agent-validator.d.ts +10 -0
- package/dist/validators/agent-validator.d.ts.map +1 -0
- package/dist/validators/agent-validator.js +87 -0
- package/dist/validators/agent-validator.js.map +1 -0
- package/dist/validators/dag-validator.d.ts +9 -0
- package/dist/validators/dag-validator.d.ts.map +1 -0
- package/dist/validators/dag-validator.js +51 -0
- package/dist/validators/dag-validator.js.map +1 -0
- package/dist/validators/environment-validator.d.ts +9 -0
- package/dist/validators/environment-validator.d.ts.map +1 -0
- package/dist/validators/environment-validator.js +35 -0
- package/dist/validators/environment-validator.js.map +1 -0
- package/dist/validators/execution-validator.d.ts +8 -0
- package/dist/validators/execution-validator.d.ts.map +1 -0
- package/dist/validators/execution-validator.js +51 -0
- package/dist/validators/execution-validator.js.map +1 -0
- package/dist/validators/git-validator.d.ts +13 -0
- package/dist/validators/git-validator.d.ts.map +1 -0
- package/dist/validators/git-validator.js +135 -0
- package/dist/validators/git-validator.js.map +1 -0
- package/dist/validators/notification-validator.d.ts +8 -0
- package/dist/validators/notification-validator.d.ts.map +1 -0
- package/dist/validators/notification-validator.js +27 -0
- package/dist/validators/notification-validator.js.map +1 -0
- package/dist/validators/pipeline-validator.d.ts +3 -26
- package/dist/validators/pipeline-validator.d.ts.map +1 -1
- package/dist/validators/pipeline-validator.js +5 -515
- package/dist/validators/pipeline-validator.js.map +1 -1
- package/dist/validators/retry-validator.d.ts +9 -0
- package/dist/validators/retry-validator.d.ts.map +1 -0
- package/dist/validators/retry-validator.js +34 -0
- package/dist/validators/retry-validator.js.map +1 -0
- package/dist/validators/runtime-validator.d.ts +9 -0
- package/dist/validators/runtime-validator.d.ts.map +1 -0
- package/dist/validators/runtime-validator.js +82 -0
- package/dist/validators/runtime-validator.js.map +1 -0
- package/dist/validators/structure-validator.d.ts +8 -0
- package/dist/validators/structure-validator.d.ts.map +1 -0
- package/dist/validators/structure-validator.js +39 -0
- package/dist/validators/structure-validator.js.map +1 -0
- package/dist/validators/types.d.ts +19 -0
- package/dist/validators/types.d.ts.map +1 -0
- package/dist/validators/types.js +2 -0
- package/dist/validators/types.js.map +1 -0
- package/dist/validators/validation-orchestrator.d.ts +9 -0
- package/dist/validators/validation-orchestrator.d.ts.map +1 -0
- package/dist/validators/validation-orchestrator.js +43 -0
- package/dist/validators/validation-orchestrator.js.map +1 -0
- package/package.json +18 -12
- package/dist/cli/commands/install.d.ts +0 -2
- package/dist/cli/commands/install.d.ts.map +0 -1
- package/dist/cli/commands/install.js +0 -15
- package/dist/cli/commands/install.js.map +0 -1
- package/dist/cli/commands/uninstall.d.ts +0 -2
- package/dist/cli/commands/uninstall.d.ts.map +0 -1
- package/dist/cli/commands/uninstall.js +0 -6
- package/dist/cli/commands/uninstall.js.map +0 -1
- package/dist/cli/templates/agents/cleanup-reporter.md +0 -107
- package/dist/cli/templates/agents/code-reducer.md +0 -51
- package/dist/cli/templates/agents/code-reviewer.md +0 -34
- package/dist/cli/templates/agents/context-reducer.md +0 -94
- package/dist/cli/templates/agents/dependency-auditor.md +0 -127
- package/dist/cli/templates/agents/detective-empath.md +0 -26
- package/dist/cli/templates/agents/detective-linguist.md +0 -26
- package/dist/cli/templates/agents/detective-logician.md +0 -26
- package/dist/cli/templates/agents/detective-skeptic.md +0 -26
- package/dist/cli/templates/agents/detective-statistician.md +0 -26
- package/dist/cli/templates/agents/doc-updater.md +0 -30
- package/dist/cli/templates/agents/judge.md +0 -27
- package/dist/cli/templates/agents/memory-updater.md +0 -72
- package/dist/cli/templates/agents/quality-checker.md +0 -32
- package/dist/cli/templates/agents/security-auditor.md +0 -32
- package/dist/cli/templates/agents/storyteller.md +0 -26
- package/dist/cli/templates/agents/summary.md +0 -32
- package/dist/cli/templates/agents/synthesizer.md +0 -26
- package/dist/cli/templates/pipelines/large-pipeline-example.yml +0 -178
- package/dist/cli/templates/pipelines/post-merge-example.yml +0 -78
- package/dist/cli/templates/pipelines/pre-commit-example.yml +0 -41
- package/dist/cli/templates/pipelines/pre-push-example.yml +0 -51
- package/dist/cli/templates/pipelines/test-pipeline.yml +0 -90
- package/dist/config/project-config-loader.d.ts +0 -11
- package/dist/config/project-config-loader.d.ts.map +0 -1
- package/dist/config/project-config-loader.js +0 -100
- package/dist/config/project-config-loader.js.map +0 -1
- package/dist/core/condition-evaluator.d.ts +0 -16
- package/dist/core/condition-evaluator.d.ts.map +0 -1
- package/dist/core/condition-evaluator.js +0 -121
- package/dist/core/condition-evaluator.js.map +0 -1
- package/dist/core/context-reducer.d.ts +0 -15
- package/dist/core/context-reducer.d.ts.map +0 -1
- package/dist/core/context-reducer.js +0 -224
- package/dist/core/context-reducer.js.map +0 -1
- package/dist/core/output-storage-manager.d.ts +0 -14
- package/dist/core/output-storage-manager.d.ts.map +0 -1
- package/dist/core/output-storage-manager.js +0 -68
- package/dist/core/output-storage-manager.js.map +0 -1
- package/dist/core/output-tool-builder.d.ts +0 -6
- package/dist/core/output-tool-builder.d.ts.map +0 -1
- package/dist/core/output-tool-builder.js +0 -50
- 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
|
-
#
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
-
#
|
|
46
|
-
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|