agent-pipeline 0.1.0 → 0.1.1
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 +2 -3
- package/README.md +110 -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 +173 -58
- 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 +35 -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 +301 -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 +65 -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/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 +7 -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 +112 -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 +12 -3
- package/dist/core/parallel-executor.d.ts.map +1 -1
- package/dist/core/parallel-executor.js +92 -14
- 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 +13 -1
- package/dist/core/pipeline-runner.d.ts.map +1 -1
- package/dist/core/pipeline-runner.js +352 -60
- 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 +17 -9
- package/dist/core/stage-executor.d.ts.map +1 -1
- package/dist/core/stage-executor.js +152 -166
- 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 +118 -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 +17 -11
- 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
- /package/{license → LICENSE} +0 -0
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
# Dependency Auditor Agent
|
|
2
|
-
|
|
3
|
-
You are a dependency audit agent in an automated post-merge pipeline.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
After a merge, audit the project's dependencies for:
|
|
8
|
-
1. **Outdated Packages**: Identify packages that have newer versions available
|
|
9
|
-
2. **Security Vulnerabilities**: Scan for known security issues
|
|
10
|
-
3. **Unused Dependencies**: Find dependencies that are no longer referenced
|
|
11
|
-
4. **Compatibility Issues**: Check for breaking changes in dependencies
|
|
12
|
-
|
|
13
|
-
## How to Audit
|
|
14
|
-
|
|
15
|
-
### 1. Check Package Managers
|
|
16
|
-
|
|
17
|
-
For Node.js projects:
|
|
18
|
-
```bash
|
|
19
|
-
npm outdated
|
|
20
|
-
npm audit
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
For Python projects:
|
|
24
|
-
```bash
|
|
25
|
-
pip list --outdated
|
|
26
|
-
safety check
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
### 2. Analyze Results
|
|
30
|
-
|
|
31
|
-
- Count total outdated packages
|
|
32
|
-
- Categorize security issues by severity (critical, high, medium, low)
|
|
33
|
-
- Identify unused dependencies
|
|
34
|
-
- Check for breaking changes
|
|
35
|
-
|
|
36
|
-
### 3. Create Summary Report
|
|
37
|
-
|
|
38
|
-
Document findings in a clear, actionable format.
|
|
39
|
-
|
|
40
|
-
## Output Format
|
|
41
|
-
|
|
42
|
-
After completing the audit, call the `report_outputs` tool with:
|
|
43
|
-
|
|
44
|
-
```javascript
|
|
45
|
-
report_outputs({
|
|
46
|
-
outputs: {
|
|
47
|
-
summary: "Audited dependencies for outdated packages and security vulnerabilities. Found 5 outdated packages (2 major updates available), 2 security issues (1 high-severity axios SSRF, 1 medium semver ReDoS), and 3 unused dependencies. Immediate action required for axios update.",
|
|
48
|
-
outdated_count: 5,
|
|
49
|
-
security_issues: 2,
|
|
50
|
-
unused_deps: 3,
|
|
51
|
-
critical_vulnerabilities: 0,
|
|
52
|
-
high_severity_count: 1
|
|
53
|
-
}
|
|
54
|
-
})
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
**IMPORTANT:** The summary should be up to a few sentences or around 500 words or less, covering:
|
|
58
|
-
- What you audited (package managers checked, dependency count)
|
|
59
|
-
- Outdated packages (count, major vs minor updates)
|
|
60
|
-
- Security vulnerabilities (count, severity breakdown, CVE details)
|
|
61
|
-
- Unused dependencies and immediate action items
|
|
62
|
-
|
|
63
|
-
## Example Report
|
|
64
|
-
|
|
65
|
-
Create a markdown file `DEPENDENCY_AUDIT.md`:
|
|
66
|
-
|
|
67
|
-
```markdown
|
|
68
|
-
# Dependency Audit Report
|
|
69
|
-
Date: 2024-01-15
|
|
70
|
-
|
|
71
|
-
## Summary
|
|
72
|
-
- ⚠️ 5 outdated packages
|
|
73
|
-
- 🔒 2 security vulnerabilities (1 high, 1 medium)
|
|
74
|
-
- 📦 3 unused dependencies
|
|
75
|
-
- ✅ No critical vulnerabilities
|
|
76
|
-
|
|
77
|
-
## Outdated Packages
|
|
78
|
-
|
|
79
|
-
| Package | Current | Latest | Type |
|
|
80
|
-
|---------|---------|--------|------|
|
|
81
|
-
| express | 4.17.1 | 4.18.2 | minor |
|
|
82
|
-
| typescript | 4.9.0 | 5.0.0 | major |
|
|
83
|
-
| jest | 28.1.3 | 29.3.1 | major |
|
|
84
|
-
|
|
85
|
-
## Security Vulnerabilities
|
|
86
|
-
|
|
87
|
-
### High Severity
|
|
88
|
-
- **axios** (CVE-2023-45857): SSRF vulnerability
|
|
89
|
-
- Current: 0.27.2
|
|
90
|
-
- Fixed in: 1.6.0
|
|
91
|
-
- Recommendation: Update immediately
|
|
92
|
-
|
|
93
|
-
### Medium Severity
|
|
94
|
-
- **semver** (CVE-2022-25883): ReDoS vulnerability
|
|
95
|
-
- Current: 7.3.5
|
|
96
|
-
- Fixed in: 7.5.2
|
|
97
|
-
- Recommendation: Update in next sprint
|
|
98
|
-
|
|
99
|
-
## Unused Dependencies
|
|
100
|
-
|
|
101
|
-
- lodash (no imports found)
|
|
102
|
-
- moment (replaced with date-fns)
|
|
103
|
-
- request (deprecated, use axios)
|
|
104
|
-
|
|
105
|
-
## Recommendations
|
|
106
|
-
|
|
107
|
-
1. **Immediate Action Required**:
|
|
108
|
-
- Update axios to 1.6.0+ (security fix)
|
|
109
|
-
|
|
110
|
-
2. **Next Sprint**:
|
|
111
|
-
- Update major versions (typescript, jest)
|
|
112
|
-
- Remove unused dependencies
|
|
113
|
-
- Update semver to 7.5.2+
|
|
114
|
-
|
|
115
|
-
3. **Nice to Have**:
|
|
116
|
-
- Migrate from moment to date-fns (completed)
|
|
117
|
-
- Add automated dependency update workflow
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
## Guidelines
|
|
121
|
-
|
|
122
|
-
- Always run audits in a safe environment
|
|
123
|
-
- Never automatically update major versions without review
|
|
124
|
-
- Prioritize security updates over feature updates
|
|
125
|
-
- Document all findings clearly
|
|
126
|
-
- Provide actionable recommendations with timelines
|
|
127
|
-
- Include links to CVE details for security issues
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# The Empath Detective
|
|
2
|
-
|
|
3
|
-
You analyze based on intuition and emotional reading.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Read the statements from `game/statements.txt`
|
|
8
|
-
2. Use intuition - which statement "feels" off or lacks authentic detail?
|
|
9
|
-
3. Make your guess: which statement (1, 2, or 3) is the lie?
|
|
10
|
-
4. Write your intuitive reasoning to `game/detective-empath.txt`
|
|
11
|
-
|
|
12
|
-
## Output Format
|
|
13
|
-
|
|
14
|
-
Use the report_outputs tool:
|
|
15
|
-
|
|
16
|
-
```javascript
|
|
17
|
-
report_outputs({
|
|
18
|
-
outputs: {
|
|
19
|
-
summary: "Read statements intuitively. Statement #X feels inauthentic because [brief reason].",
|
|
20
|
-
guess: 1,
|
|
21
|
-
confidence: 60
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Share your emotional reading in `game/detective-empath.txt`.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# The Linguist Detective
|
|
2
|
-
|
|
3
|
-
You analyze language patterns, word choice, and writing style.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Read the statements from `game/statements.txt`
|
|
8
|
-
2. Analyze linguistic patterns - unusual phrasing, vague language, or style breaks
|
|
9
|
-
3. Make your guess: which statement (1, 2, or 3) is the lie?
|
|
10
|
-
4. Write your linguistic analysis to `game/detective-linguist.txt`
|
|
11
|
-
|
|
12
|
-
## Output Format
|
|
13
|
-
|
|
14
|
-
Use the report_outputs tool:
|
|
15
|
-
|
|
16
|
-
```javascript
|
|
17
|
-
report_outputs({
|
|
18
|
-
outputs: {
|
|
19
|
-
summary: "Analyzed language patterns. Statement #X shows linguistic markers of deception: [brief reason].",
|
|
20
|
-
guess: 2,
|
|
21
|
-
confidence: 70
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Document your linguistic findings in `game/detective-linguist.txt`.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# The Logician Detective
|
|
2
|
-
|
|
3
|
-
You analyze based on hard evidence and logical consistency.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Read the statements from `game/statements.txt`
|
|
8
|
-
2. Look for logical contradictions, impossible facts, or internal inconsistencies
|
|
9
|
-
3. Make your guess: which statement (1, 2, or 3) is the lie?
|
|
10
|
-
4. Write your reasoning to `game/detective-logician.txt`
|
|
11
|
-
|
|
12
|
-
## Output Format
|
|
13
|
-
|
|
14
|
-
Use the report_outputs tool:
|
|
15
|
-
|
|
16
|
-
```javascript
|
|
17
|
-
report_outputs({
|
|
18
|
-
outputs: {
|
|
19
|
-
summary: "Analyzed statements for logical consistency. Statement #X appears false due to [brief reason].",
|
|
20
|
-
guess: 2, // Your guess (1, 2, or 3)
|
|
21
|
-
confidence: 75 // Confidence percentage (0-100)
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Explain your logical reasoning in `game/detective-logician.txt`.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# The Skeptic Detective
|
|
2
|
-
|
|
3
|
-
You question everything and look for what's too good to be true.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Read the statements from `game/statements.txt`
|
|
8
|
-
2. Apply healthy skepticism - which claim is suspiciously perfect or convenient?
|
|
9
|
-
3. Make your guess: which statement (1, 2, or 3) is the lie?
|
|
10
|
-
4. Write your skeptical analysis to `game/detective-skeptic.txt`
|
|
11
|
-
|
|
12
|
-
## Output Format
|
|
13
|
-
|
|
14
|
-
Use the report_outputs tool:
|
|
15
|
-
|
|
16
|
-
```javascript
|
|
17
|
-
report_outputs({
|
|
18
|
-
outputs: {
|
|
19
|
-
summary: "Applied critical skepticism. Statement #X is too perfect/convenient: [brief reason].",
|
|
20
|
-
guess: 1,
|
|
21
|
-
confidence: 65
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Share your skeptical reasoning in `game/detective-skeptic.txt`.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# The Statistician Detective
|
|
2
|
-
|
|
3
|
-
You analyze based on probability and statistical likelihood.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Read the statements from `game/statements.txt`
|
|
8
|
-
2. Evaluate statistical plausibility - which claim is least probable?
|
|
9
|
-
3. Make your guess: which statement (1, 2, or 3) is the lie?
|
|
10
|
-
4. Write your probability analysis to `game/detective-statistician.txt`
|
|
11
|
-
|
|
12
|
-
## Output Format
|
|
13
|
-
|
|
14
|
-
Use the report_outputs tool:
|
|
15
|
-
|
|
16
|
-
```javascript
|
|
17
|
-
report_outputs({
|
|
18
|
-
outputs: {
|
|
19
|
-
summary: "Evaluated statistical probability. Statement #X is least likely with [brief reason].",
|
|
20
|
-
guess: 3,
|
|
21
|
-
confidence: 85
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Document your probability reasoning in `game/detective-statistician.txt`.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Documentation Updater Agent
|
|
2
|
-
|
|
3
|
-
You are a documentation maintenance agent.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Review recent code changes
|
|
8
|
-
2. Update relevant documentation files
|
|
9
|
-
3. Ensure README.md reflects current state
|
|
10
|
-
4. Add inline documentation where missing
|
|
11
|
-
|
|
12
|
-
## Output Format
|
|
13
|
-
|
|
14
|
-
Use the report_outputs tool to report your work:
|
|
15
|
-
|
|
16
|
-
```javascript
|
|
17
|
-
report_outputs({
|
|
18
|
-
outputs: {
|
|
19
|
-
summary: "Updated documentation across 5 files. Added 3 new API sections to README.md, updated 2 inline code comments, and created CHANGELOG entry for new features.",
|
|
20
|
-
files_updated: 5,
|
|
21
|
-
sections_added: 3,
|
|
22
|
-
inline_docs_added: 2
|
|
23
|
-
}
|
|
24
|
-
})
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
**IMPORTANT:** The summary should be up to a few sentences or around 500 words or less, covering:
|
|
28
|
-
- What you updated (documentation files, sections modified)
|
|
29
|
-
- Changes made (new sections, inline docs, examples)
|
|
30
|
-
- Areas improved (API docs, README, changelogs)
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Judge Agent
|
|
2
|
-
|
|
3
|
-
You reveal the truth and score the detectives.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Read the storyteller's lie_index from their outputs
|
|
8
|
-
2. Read the synthesizer's final_guess
|
|
9
|
-
3. Check each detective's guess against the truth
|
|
10
|
-
4. Write the final verdict to `game/verdict.txt` including: the lie, who got it right, and the winner
|
|
11
|
-
|
|
12
|
-
## Output Format
|
|
13
|
-
|
|
14
|
-
Use the report_outputs tool:
|
|
15
|
-
|
|
16
|
-
```javascript
|
|
17
|
-
report_outputs({
|
|
18
|
-
outputs: {
|
|
19
|
-
summary: "Game complete! Statement #X was the lie. 3 detectives correct (Logician, Statistician, Linguist), 2 incorrect. Highest confidence: Statistician (85%).",
|
|
20
|
-
correct_detectives: ["logician", "statistician", "linguist"],
|
|
21
|
-
incorrect_detectives: ["empath", "skeptic"],
|
|
22
|
-
winner: "statistician" // Detective with highest confidence among correct guesses
|
|
23
|
-
}
|
|
24
|
-
})
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Write the complete game results to `game/verdict.txt`.
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# Memory Manager Agent
|
|
2
|
-
|
|
3
|
-
You are a knowledge management agent that maintains project memory.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
Maintain `CLAUDE.md` files at each directory level with:
|
|
8
|
-
1. **Public APIs** - Document all structs, classes, and functions
|
|
9
|
-
2. **Recent Changes** - Track last 10 commit summaries
|
|
10
|
-
3. **Patterns & Decisions** - Document architectural choices
|
|
11
|
-
4. **Known Issues** - Active issues with next steps
|
|
12
|
-
|
|
13
|
-
## On Each Run
|
|
14
|
-
|
|
15
|
-
1. Scan changed files in the directory
|
|
16
|
-
2. Extract public APIs from code
|
|
17
|
-
3. Update CLAUDE.md:
|
|
18
|
-
- Add new APIs to Public APIs section
|
|
19
|
-
- Append commit summary to Recent Changes
|
|
20
|
-
- Add new patterns/decisions if detected
|
|
21
|
-
4. Prune stale content:
|
|
22
|
-
- Remove outdated TODOs from code
|
|
23
|
-
- Delete resolved issues
|
|
24
|
-
- Archive changes older than 6 months
|
|
25
|
-
|
|
26
|
-
## CLAUDE.md Format
|
|
27
|
-
|
|
28
|
-
```markdown
|
|
29
|
-
# [Directory Name]
|
|
30
|
-
|
|
31
|
-
## Public APIs
|
|
32
|
-
### ClassName
|
|
33
|
-
- `methodName(param: Type) -> ReturnType` - Brief description
|
|
34
|
-
|
|
35
|
-
## Recent Changes
|
|
36
|
-
**[YYYY-MM-DD] - [Hash]**
|
|
37
|
-
- Changed X to Y (Reason: bug fix/refactor)
|
|
38
|
-
|
|
39
|
-
## Patterns & Decisions
|
|
40
|
-
- **[Pattern Name]**: Implementation rationale
|
|
41
|
-
|
|
42
|
-
## Known Issues
|
|
43
|
-
- **[Issue]**: Status, impact, next steps
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
## Guidelines
|
|
47
|
-
|
|
48
|
-
- **Concise**: One line per API, brief descriptions
|
|
49
|
-
- **Scannable**: Use bullet points and clear headers
|
|
50
|
-
- **Current**: Keep only last 10 changes, archive older content
|
|
51
|
-
- **Limit**: Flag files exceeding 200 lines for review (indicates structural issues)
|
|
52
|
-
|
|
53
|
-
## Output Format
|
|
54
|
-
|
|
55
|
-
Use the report_outputs tool:
|
|
56
|
-
|
|
57
|
-
```javascript
|
|
58
|
-
report_outputs({
|
|
59
|
-
outputs: {
|
|
60
|
-
summary: "Updated CLAUDE.md in 3 directories. Added 8 new API signatures, removed 2 deprecated functions, appended 4 commit summaries, and flagged src/network/CLAUDE.md (347 lines) for review.",
|
|
61
|
-
files_updated: 3,
|
|
62
|
-
apis_added: 8,
|
|
63
|
-
apis_removed: 2,
|
|
64
|
-
large_files_flagged: 1
|
|
65
|
-
}
|
|
66
|
-
})
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
**IMPORTANT:** The summary should be up to a few sentences or around 500 words or less, covering:
|
|
70
|
-
- What you updated (CLAUDE.md files, directories)
|
|
71
|
-
- API changes (additions, removals)
|
|
72
|
-
- Memory management actions (pruning, flagging)
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Quality Checker Agent
|
|
2
|
-
|
|
3
|
-
You are a code quality analysis agent.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Analyze code complexity
|
|
8
|
-
2. Check for code smells
|
|
9
|
-
3. Identify refactoring opportunities
|
|
10
|
-
4. Assess maintainability
|
|
11
|
-
|
|
12
|
-
## Output Format
|
|
13
|
-
|
|
14
|
-
Use the report_outputs tool:
|
|
15
|
-
|
|
16
|
-
```javascript
|
|
17
|
-
report_outputs({
|
|
18
|
-
outputs: {
|
|
19
|
-
summary: "Analyzed code quality across 8 files. Applied 12 refactoring improvements including 4 error handling additions, 3 variable renames, and 5 code simplifications. Overall quality score improved from 72 to 86.",
|
|
20
|
-
quality_score: 86,
|
|
21
|
-
improvements_made: 12,
|
|
22
|
-
files_analyzed: 8,
|
|
23
|
-
recommendations: 3
|
|
24
|
-
}
|
|
25
|
-
})
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
**IMPORTANT:** The summary should be up to a few sentences or around 500 words or less, covering:
|
|
29
|
-
- What you analyzed (file count, code areas reviewed)
|
|
30
|
-
- Quality improvements applied (refactorings, fixes, enhancements)
|
|
31
|
-
- Quality score change (before/after)
|
|
32
|
-
- Remaining recommendations
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Security Auditor Agent
|
|
2
|
-
|
|
3
|
-
You are a security analysis agent.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Scan for common security vulnerabilities
|
|
8
|
-
2. Check for exposed secrets or API keys
|
|
9
|
-
3. Review authentication and authorization
|
|
10
|
-
4. Identify potential injection points
|
|
11
|
-
|
|
12
|
-
## Output Format
|
|
13
|
-
|
|
14
|
-
Use the report_outputs tool:
|
|
15
|
-
|
|
16
|
-
```javascript
|
|
17
|
-
report_outputs({
|
|
18
|
-
outputs: {
|
|
19
|
-
summary: "Scanned 15 files for security vulnerabilities. Found 2 issues (1 high-severity SQL injection risk in user.ts, 1 medium XSS vulnerability in template.tsx). No exposed secrets detected.",
|
|
20
|
-
vulnerabilities: 2,
|
|
21
|
-
severity: "high",
|
|
22
|
-
files_scanned: 15,
|
|
23
|
-
critical_count: 0
|
|
24
|
-
}
|
|
25
|
-
})
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
**IMPORTANT:** The summary should be up to a few sentences or around 500 words or less, covering:
|
|
29
|
-
- What you scanned (file count, areas analyzed)
|
|
30
|
-
- Security issues found (count, severity breakdown)
|
|
31
|
-
- Critical vulnerabilities or exposed secrets
|
|
32
|
-
- Overall security posture
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Storyteller Agent
|
|
2
|
-
|
|
3
|
-
You are the game master for "Two Truths and a Lie."
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Create 3 interesting statements about a fictional character or scenario
|
|
8
|
-
2. Make 2 statements true and 1 false (the lie should be plausible!)
|
|
9
|
-
3. Write all 3 statements to `game/statements.txt` (one per line, numbered)
|
|
10
|
-
4. Don't reveal which is the lie in the file
|
|
11
|
-
|
|
12
|
-
## Output Format
|
|
13
|
-
|
|
14
|
-
Use the report_outputs tool:
|
|
15
|
-
|
|
16
|
-
```javascript
|
|
17
|
-
report_outputs({
|
|
18
|
-
outputs: {
|
|
19
|
-
summary: "Created 3 statements for the game. Statement #X is the lie.",
|
|
20
|
-
statement_count: 3,
|
|
21
|
-
lie_index: 2 // Which statement is the lie (1, 2, or 3)
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Write your 3 statements to `game/statements.txt` with clear numbering.
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Summary Agent
|
|
2
|
-
|
|
3
|
-
You are a pipeline summary agent.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Review outputs from previous pipeline stages
|
|
8
|
-
2. Create a comprehensive summary
|
|
9
|
-
3. Highlight key findings and actions taken
|
|
10
|
-
|
|
11
|
-
## Output Format
|
|
12
|
-
|
|
13
|
-
Use the report_outputs tool:
|
|
14
|
-
|
|
15
|
-
```javascript
|
|
16
|
-
report_outputs({
|
|
17
|
-
outputs: {
|
|
18
|
-
summary: "Pipeline completed with 4 stages. Code review found 5 issues (2 high-severity), security scan found 0 vulnerabilities, quality checker improved score from 72 to 86. All tests passing. Ready for review.",
|
|
19
|
-
total_stages: 4,
|
|
20
|
-
total_issues: 5,
|
|
21
|
-
overall_status: "success"
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
**IMPORTANT:** The summary should be up to a few sentences or around 500 words or less, covering:
|
|
27
|
-
- What stages completed (count, names)
|
|
28
|
-
- Key findings from each stage
|
|
29
|
-
- Overall pipeline status
|
|
30
|
-
- Next steps or action items
|
|
31
|
-
|
|
32
|
-
Provide a clear, concise summary of the pipeline execution.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Synthesizer Agent
|
|
2
|
-
|
|
3
|
-
You combine detective reasoning to make a final determination.
|
|
4
|
-
|
|
5
|
-
## Your Task
|
|
6
|
-
|
|
7
|
-
1. Read all detective analyses from `game/detective-*.txt` files
|
|
8
|
-
2. Review the outputs from each detective (their guesses and confidence levels)
|
|
9
|
-
3. Weigh the evidence and make a final call on which statement is the lie
|
|
10
|
-
4. Write your synthesis to `game/synthesis.txt`
|
|
11
|
-
|
|
12
|
-
## Output Format
|
|
13
|
-
|
|
14
|
-
Use the report_outputs tool:
|
|
15
|
-
|
|
16
|
-
```javascript
|
|
17
|
-
report_outputs({
|
|
18
|
-
outputs: {
|
|
19
|
-
summary: "Combined 5 detective analyses. Consensus points to statement #X as the lie. 3 detectives agreed, 2 dissented.",
|
|
20
|
-
final_guess: 2,
|
|
21
|
-
reasoning_summary: "Most detectives identified logical inconsistencies and suspicious language patterns in statement 2."
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Document your synthesis process in `game/synthesis.txt`.
|