ridgeline 0.4.4 → 0.5.7
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/README.md +1 -14
- package/dist/agents/core/builder.md +15 -15
- package/dist/agents/core/planner.md +12 -12
- package/dist/agents/core/reviewer.md +19 -19
- package/dist/agents/core/shaper.md +44 -45
- package/dist/agents/core/specifier.md +20 -23
- package/dist/agents/planners/context.md +10 -10
- package/dist/agents/planners/simplicity.md +1 -1
- package/dist/agents/planners/thoroughness.md +2 -2
- package/dist/agents/planners/velocity.md +2 -2
- package/dist/agents/specialists/auditor.md +34 -33
- package/dist/agents/specialists/explorer.md +74 -0
- package/dist/agents/specialists/tester.md +24 -24
- package/dist/agents/specialists/verifier.md +17 -20
- package/dist/agents/specifiers/clarity.md +1 -1
- package/dist/agents/specifiers/completeness.md +2 -2
- package/dist/agents/specifiers/pragmatism.md +2 -2
- package/dist/cli.js +15 -10
- package/dist/cli.js.map +1 -1
- package/dist/commands/build.js +42 -75
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/clean.d.ts +1 -1
- package/dist/commands/clean.js +2 -5
- package/dist/commands/clean.js.map +1 -1
- package/dist/commands/create.d.ts +1 -0
- package/dist/commands/create.js +5 -1
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/dry-run.js +1 -1
- package/dist/commands/dry-run.js.map +1 -1
- package/dist/commands/plan.js +3 -3
- package/dist/commands/plan.js.map +1 -1
- package/dist/commands/rewind.js +1 -6
- package/dist/commands/rewind.js.map +1 -1
- package/dist/commands/shape.d.ts +1 -0
- package/dist/commands/shape.js +9 -7
- package/dist/commands/shape.js.map +1 -1
- package/dist/commands/spec.d.ts +1 -0
- package/dist/commands/spec.js +2 -1
- package/dist/commands/spec.js.map +1 -1
- package/dist/config.js +3 -3
- package/dist/config.js.map +1 -1
- package/dist/engine/claude/claude.exec.js +2 -2
- package/dist/engine/claude/stream.display.d.ts +17 -0
- package/dist/engine/claude/stream.display.js +101 -0
- package/dist/engine/claude/stream.display.js.map +1 -0
- package/dist/engine/claude/stream.parse.d.ts +21 -0
- package/dist/engine/claude/stream.parse.js +119 -0
- package/dist/engine/claude/stream.parse.js.map +1 -0
- package/dist/engine/claude/stream.result.d.ts +6 -0
- package/dist/engine/claude/stream.result.js +61 -0
- package/dist/engine/claude/stream.result.js.map +1 -0
- package/dist/engine/discovery/agent.registry.d.ts +27 -0
- package/dist/engine/discovery/agent.registry.js +152 -0
- package/dist/engine/discovery/agent.registry.js.map +1 -0
- package/dist/engine/discovery/agent.scan.d.ts +0 -1
- package/dist/engine/discovery/agent.scan.js +1 -20
- package/dist/engine/discovery/agent.scan.js.map +1 -1
- package/dist/engine/discovery/flavour.resolve.d.ts +11 -0
- package/dist/engine/discovery/flavour.resolve.js +98 -0
- package/dist/engine/discovery/flavour.resolve.js.map +1 -0
- package/dist/engine/index.d.ts +6 -3
- package/dist/engine/index.js +12 -9
- package/dist/engine/index.js.map +1 -1
- package/dist/engine/pipeline/build.exec.js +7 -5
- package/dist/engine/pipeline/build.exec.js.map +1 -1
- package/dist/engine/pipeline/ensemble.exec.d.ts +3 -4
- package/dist/engine/pipeline/ensemble.exec.js +12 -104
- package/dist/engine/pipeline/ensemble.exec.js.map +1 -1
- package/dist/engine/pipeline/phase.sequence.js +69 -67
- package/dist/engine/pipeline/phase.sequence.js.map +1 -1
- package/dist/engine/pipeline/pipeline.shared.js +5 -4
- package/dist/engine/pipeline/pipeline.shared.js.map +1 -1
- package/dist/engine/pipeline/review.exec.js +9 -7
- package/dist/engine/pipeline/review.exec.js.map +1 -1
- package/dist/engine/pipeline/specify.exec.d.ts +1 -0
- package/dist/engine/pipeline/specify.exec.js +5 -3
- package/dist/engine/pipeline/specify.exec.js.map +1 -1
- package/dist/engine/worktree.d.ts +0 -8
- package/dist/engine/worktree.js +2 -163
- package/dist/engine/worktree.js.map +1 -1
- package/dist/flavours/data-analysis/core/builder.md +119 -0
- package/dist/flavours/data-analysis/core/planner.md +102 -0
- package/dist/flavours/data-analysis/core/reviewer.md +148 -0
- package/dist/flavours/data-analysis/core/shaper.md +139 -0
- package/dist/flavours/data-analysis/core/specifier.md +74 -0
- package/dist/flavours/data-analysis/planners/context.md +50 -0
- package/dist/flavours/data-analysis/planners/simplicity.md +7 -0
- package/dist/flavours/data-analysis/planners/thoroughness.md +7 -0
- package/dist/flavours/data-analysis/planners/velocity.md +7 -0
- package/dist/flavours/data-analysis/specialists/auditor.md +94 -0
- package/dist/flavours/data-analysis/specialists/explorer.md +93 -0
- package/dist/flavours/data-analysis/specialists/tester.md +107 -0
- package/dist/flavours/data-analysis/specialists/verifier.md +103 -0
- package/dist/flavours/data-analysis/specifiers/clarity.md +7 -0
- package/dist/flavours/data-analysis/specifiers/completeness.md +15 -0
- package/dist/flavours/data-analysis/specifiers/pragmatism.md +7 -0
- package/dist/flavours/game-dev/core/builder.md +104 -0
- package/dist/flavours/game-dev/core/planner.md +90 -0
- package/dist/flavours/game-dev/core/reviewer.md +151 -0
- package/dist/flavours/game-dev/core/shaper.md +139 -0
- package/dist/flavours/game-dev/core/specifier.md +73 -0
- package/dist/flavours/game-dev/planners/context.md +50 -0
- package/dist/flavours/game-dev/planners/simplicity.md +7 -0
- package/dist/flavours/game-dev/planners/thoroughness.md +7 -0
- package/dist/flavours/game-dev/planners/velocity.md +7 -0
- package/dist/flavours/game-dev/specialists/auditor.md +91 -0
- package/dist/flavours/game-dev/specialists/explorer.md +78 -0
- package/dist/flavours/game-dev/specialists/tester.md +73 -0
- package/dist/flavours/game-dev/specialists/verifier.md +104 -0
- package/dist/flavours/game-dev/specifiers/clarity.md +7 -0
- package/dist/flavours/game-dev/specifiers/completeness.md +7 -0
- package/dist/flavours/game-dev/specifiers/pragmatism.md +7 -0
- package/dist/flavours/legal-drafting/core/builder.md +118 -0
- package/dist/flavours/legal-drafting/core/planner.md +92 -0
- package/dist/flavours/legal-drafting/core/reviewer.md +150 -0
- package/dist/flavours/legal-drafting/core/shaper.md +137 -0
- package/dist/flavours/legal-drafting/core/specifier.md +68 -0
- package/dist/flavours/legal-drafting/planners/context.md +48 -0
- package/dist/flavours/legal-drafting/planners/simplicity.md +7 -0
- package/dist/flavours/legal-drafting/planners/thoroughness.md +7 -0
- package/dist/flavours/legal-drafting/planners/velocity.md +7 -0
- package/dist/flavours/legal-drafting/specialists/auditor.md +92 -0
- package/dist/flavours/legal-drafting/specialists/explorer.md +78 -0
- package/dist/flavours/legal-drafting/specialists/tester.md +76 -0
- package/dist/flavours/legal-drafting/specialists/verifier.md +111 -0
- package/dist/flavours/legal-drafting/specifiers/clarity.md +7 -0
- package/dist/flavours/legal-drafting/specifiers/completeness.md +7 -0
- package/dist/flavours/legal-drafting/specifiers/pragmatism.md +7 -0
- package/dist/flavours/machine-learning/core/builder.md +127 -0
- package/dist/flavours/machine-learning/core/planner.md +90 -0
- package/dist/flavours/machine-learning/core/reviewer.md +152 -0
- package/dist/flavours/machine-learning/core/shaper.md +141 -0
- package/dist/flavours/machine-learning/core/specifier.md +71 -0
- package/dist/flavours/machine-learning/planners/context.md +49 -0
- package/dist/flavours/machine-learning/planners/simplicity.md +7 -0
- package/dist/flavours/machine-learning/planners/thoroughness.md +7 -0
- package/dist/flavours/machine-learning/planners/velocity.md +7 -0
- package/dist/flavours/machine-learning/specialists/auditor.md +96 -0
- package/dist/flavours/machine-learning/specialists/explorer.md +81 -0
- package/dist/flavours/machine-learning/specialists/tester.md +82 -0
- package/dist/flavours/machine-learning/specialists/verifier.md +100 -0
- package/dist/flavours/machine-learning/specifiers/clarity.md +7 -0
- package/dist/flavours/machine-learning/specifiers/completeness.md +7 -0
- package/dist/flavours/machine-learning/specifiers/pragmatism.md +7 -0
- package/dist/flavours/mobile-app/core/builder.md +108 -0
- package/dist/flavours/mobile-app/core/planner.md +90 -0
- package/dist/flavours/mobile-app/core/reviewer.md +144 -0
- package/dist/flavours/mobile-app/core/shaper.md +146 -0
- package/dist/flavours/mobile-app/core/specifier.md +73 -0
- package/dist/flavours/mobile-app/planners/context.md +41 -0
- package/dist/flavours/mobile-app/planners/simplicity.md +7 -0
- package/dist/flavours/mobile-app/planners/thoroughness.md +7 -0
- package/dist/flavours/mobile-app/planners/velocity.md +7 -0
- package/dist/flavours/mobile-app/specialists/auditor.md +92 -0
- package/dist/flavours/mobile-app/specialists/explorer.md +84 -0
- package/dist/flavours/mobile-app/specialists/tester.md +75 -0
- package/dist/flavours/mobile-app/specialists/verifier.md +114 -0
- package/dist/flavours/mobile-app/specifiers/clarity.md +7 -0
- package/dist/flavours/mobile-app/specifiers/completeness.md +7 -0
- package/dist/flavours/mobile-app/specifiers/pragmatism.md +7 -0
- package/dist/flavours/music-composition/core/builder.md +112 -0
- package/dist/flavours/music-composition/core/planner.md +102 -0
- package/dist/flavours/music-composition/core/reviewer.md +139 -0
- package/dist/flavours/music-composition/core/shaper.md +139 -0
- package/dist/flavours/music-composition/core/specifier.md +72 -0
- package/dist/flavours/music-composition/planners/context.md +39 -0
- package/dist/flavours/music-composition/planners/simplicity.md +7 -0
- package/dist/flavours/music-composition/planners/thoroughness.md +7 -0
- package/dist/flavours/music-composition/planners/velocity.md +7 -0
- package/dist/flavours/music-composition/specialists/auditor.md +90 -0
- package/dist/flavours/music-composition/specialists/explorer.md +87 -0
- package/dist/flavours/music-composition/specialists/tester.md +74 -0
- package/dist/flavours/music-composition/specialists/verifier.md +89 -0
- package/dist/flavours/music-composition/specifiers/clarity.md +7 -0
- package/dist/flavours/music-composition/specifiers/completeness.md +7 -0
- package/dist/flavours/music-composition/specifiers/pragmatism.md +7 -0
- package/dist/flavours/novel-writing/core/builder.md +116 -0
- package/dist/flavours/novel-writing/core/planner.md +92 -0
- package/dist/flavours/novel-writing/core/reviewer.md +152 -0
- package/dist/flavours/novel-writing/core/shaper.md +143 -0
- package/dist/flavours/novel-writing/core/specifier.md +76 -0
- package/dist/flavours/novel-writing/planners/context.md +39 -0
- package/dist/flavours/novel-writing/planners/simplicity.md +7 -0
- package/dist/flavours/novel-writing/planners/thoroughness.md +7 -0
- package/dist/flavours/novel-writing/planners/velocity.md +7 -0
- package/dist/flavours/novel-writing/specialists/auditor.md +87 -0
- package/dist/flavours/novel-writing/specialists/explorer.md +83 -0
- package/dist/flavours/novel-writing/specialists/tester.md +89 -0
- package/dist/flavours/novel-writing/specialists/verifier.md +122 -0
- package/dist/flavours/novel-writing/specifiers/clarity.md +7 -0
- package/dist/flavours/novel-writing/specifiers/completeness.md +7 -0
- package/dist/flavours/novel-writing/specifiers/pragmatism.md +7 -0
- package/dist/flavours/screenwriting/core/builder.md +115 -0
- package/dist/flavours/screenwriting/core/planner.md +92 -0
- package/dist/flavours/screenwriting/core/reviewer.md +151 -0
- package/dist/flavours/screenwriting/core/shaper.md +143 -0
- package/dist/flavours/screenwriting/core/specifier.md +78 -0
- package/dist/flavours/screenwriting/planners/context.md +52 -0
- package/dist/flavours/screenwriting/planners/simplicity.md +7 -0
- package/dist/flavours/screenwriting/planners/thoroughness.md +7 -0
- package/dist/flavours/screenwriting/planners/velocity.md +7 -0
- package/dist/flavours/screenwriting/specialists/auditor.md +98 -0
- package/dist/flavours/screenwriting/specialists/explorer.md +87 -0
- package/dist/flavours/screenwriting/specialists/tester.md +90 -0
- package/dist/flavours/screenwriting/specialists/verifier.md +129 -0
- package/dist/flavours/screenwriting/specifiers/clarity.md +7 -0
- package/dist/flavours/screenwriting/specifiers/completeness.md +7 -0
- package/dist/flavours/screenwriting/specifiers/pragmatism.md +7 -0
- package/dist/flavours/security-audit/core/builder.md +123 -0
- package/dist/flavours/security-audit/core/planner.md +92 -0
- package/dist/flavours/security-audit/core/reviewer.md +150 -0
- package/dist/flavours/security-audit/core/shaper.md +145 -0
- package/dist/flavours/security-audit/core/specifier.md +69 -0
- package/dist/flavours/security-audit/planners/context.md +51 -0
- package/dist/flavours/security-audit/planners/simplicity.md +7 -0
- package/dist/flavours/security-audit/planners/thoroughness.md +7 -0
- package/dist/flavours/security-audit/planners/velocity.md +7 -0
- package/dist/flavours/security-audit/specialists/auditor.md +100 -0
- package/dist/flavours/security-audit/specialists/explorer.md +84 -0
- package/dist/flavours/security-audit/specialists/tester.md +80 -0
- package/dist/flavours/security-audit/specialists/verifier.md +101 -0
- package/dist/flavours/security-audit/specifiers/clarity.md +7 -0
- package/dist/flavours/security-audit/specifiers/completeness.md +7 -0
- package/dist/flavours/security-audit/specifiers/pragmatism.md +7 -0
- package/dist/flavours/software-engineering/core/builder.md +100 -0
- package/dist/flavours/software-engineering/core/planner.md +90 -0
- package/dist/flavours/software-engineering/core/reviewer.md +137 -0
- package/dist/flavours/software-engineering/core/shaper.md +137 -0
- package/dist/flavours/software-engineering/core/specifier.md +69 -0
- package/dist/flavours/software-engineering/planners/context.md +37 -0
- package/dist/flavours/software-engineering/planners/simplicity.md +7 -0
- package/dist/flavours/software-engineering/planners/thoroughness.md +7 -0
- package/dist/flavours/software-engineering/planners/velocity.md +7 -0
- package/dist/flavours/software-engineering/specialists/auditor.md +88 -0
- package/dist/{agents/specialists/scout.md → flavours/software-engineering/specialists/explorer.md} +2 -2
- package/dist/flavours/software-engineering/specialists/tester.md +72 -0
- package/dist/flavours/software-engineering/specialists/verifier.md +89 -0
- package/dist/flavours/software-engineering/specifiers/clarity.md +7 -0
- package/dist/flavours/software-engineering/specifiers/completeness.md +7 -0
- package/dist/flavours/software-engineering/specifiers/pragmatism.md +7 -0
- package/dist/flavours/technical-writing/core/builder.md +119 -0
- package/dist/flavours/technical-writing/core/planner.md +102 -0
- package/dist/flavours/technical-writing/core/reviewer.md +138 -0
- package/dist/flavours/technical-writing/core/shaper.md +137 -0
- package/dist/flavours/technical-writing/core/specifier.md +69 -0
- package/dist/flavours/technical-writing/planners/context.md +49 -0
- package/dist/flavours/technical-writing/planners/simplicity.md +7 -0
- package/dist/flavours/technical-writing/planners/thoroughness.md +7 -0
- package/dist/flavours/technical-writing/planners/velocity.md +7 -0
- package/dist/flavours/technical-writing/specialists/auditor.md +94 -0
- package/dist/flavours/technical-writing/specialists/explorer.md +85 -0
- package/dist/flavours/technical-writing/specialists/tester.md +93 -0
- package/dist/flavours/technical-writing/specialists/verifier.md +113 -0
- package/dist/flavours/technical-writing/specifiers/clarity.md +7 -0
- package/dist/flavours/technical-writing/specifiers/completeness.md +7 -0
- package/dist/flavours/technical-writing/specifiers/pragmatism.md +7 -0
- package/dist/flavours/test-suite/core/builder.md +114 -0
- package/dist/flavours/test-suite/core/planner.md +101 -0
- package/dist/flavours/test-suite/core/reviewer.md +161 -0
- package/dist/flavours/test-suite/core/shaper.md +144 -0
- package/dist/flavours/test-suite/core/specifier.md +71 -0
- package/dist/flavours/test-suite/planners/context.md +52 -0
- package/dist/flavours/test-suite/planners/simplicity.md +7 -0
- package/dist/flavours/test-suite/planners/thoroughness.md +7 -0
- package/dist/flavours/test-suite/planners/velocity.md +7 -0
- package/dist/flavours/test-suite/specialists/auditor.md +85 -0
- package/dist/flavours/test-suite/specialists/explorer.md +88 -0
- package/dist/flavours/test-suite/specialists/tester.md +88 -0
- package/dist/flavours/test-suite/specialists/verifier.md +100 -0
- package/dist/flavours/test-suite/specifiers/clarity.md +7 -0
- package/dist/flavours/test-suite/specifiers/completeness.md +7 -0
- package/dist/flavours/test-suite/specifiers/pragmatism.md +7 -0
- package/dist/flavours/translation/core/builder.md +120 -0
- package/dist/flavours/translation/core/planner.md +90 -0
- package/dist/flavours/translation/core/reviewer.md +151 -0
- package/dist/flavours/translation/core/shaper.md +137 -0
- package/dist/flavours/translation/core/specifier.md +71 -0
- package/dist/flavours/translation/planners/context.md +53 -0
- package/dist/flavours/translation/planners/simplicity.md +7 -0
- package/dist/flavours/translation/planners/thoroughness.md +7 -0
- package/dist/flavours/translation/planners/velocity.md +7 -0
- package/dist/flavours/translation/specialists/auditor.md +109 -0
- package/dist/flavours/translation/specialists/explorer.md +98 -0
- package/dist/flavours/translation/specialists/tester.md +82 -0
- package/dist/flavours/translation/specialists/verifier.md +121 -0
- package/dist/flavours/translation/specifiers/clarity.md +7 -0
- package/dist/flavours/translation/specifiers/completeness.md +7 -0
- package/dist/flavours/translation/specifiers/pragmatism.md +7 -0
- package/dist/stores/budget.d.ts +5 -0
- package/dist/stores/budget.js +74 -0
- package/dist/stores/budget.js.map +1 -0
- package/dist/stores/feedback.io.d.ts +6 -0
- package/dist/stores/feedback.io.js +64 -0
- package/dist/stores/feedback.io.js.map +1 -0
- package/dist/stores/feedback.verdict.d.ts +4 -0
- package/dist/stores/feedback.verdict.js +179 -0
- package/dist/stores/feedback.verdict.js.map +1 -0
- package/dist/stores/handoff.d.ts +2 -0
- package/dist/stores/handoff.js +54 -0
- package/dist/stores/handoff.js.map +1 -0
- package/dist/stores/index.d.ts +9 -0
- package/dist/stores/index.js +49 -0
- package/dist/stores/index.js.map +1 -0
- package/dist/stores/inputs.d.ts +2 -0
- package/dist/stores/inputs.js +64 -0
- package/dist/stores/inputs.js.map +1 -0
- package/dist/stores/phases.d.ts +15 -0
- package/dist/stores/phases.js +81 -0
- package/dist/stores/phases.js.map +1 -0
- package/dist/stores/settings.d.ts +12 -0
- package/dist/stores/settings.js +85 -0
- package/dist/stores/settings.js.map +1 -0
- package/dist/stores/state.d.ts +20 -0
- package/dist/stores/state.js +264 -0
- package/dist/stores/state.js.map +1 -0
- package/dist/stores/tags.d.ts +6 -0
- package/dist/stores/tags.js +34 -0
- package/dist/stores/tags.js.map +1 -0
- package/dist/stores/trajectory.d.ts +11 -0
- package/dist/stores/trajectory.js +66 -0
- package/dist/stores/trajectory.js.map +1 -0
- package/dist/types.d.ts +1 -2
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: velocity
|
|
3
|
-
description: Plans for fastest time-to-working-
|
|
3
|
+
description: Plans for fastest time-to-working-deliverable — progressive enhancement, visible value first
|
|
4
4
|
perspective: velocity
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
You are the Velocity Planner. Your goal is to reach a working, demonstrable
|
|
7
|
+
You are the Velocity Planner. Your goal is to reach a working, demonstrable deliverable as fast as possible. Front-load the most visible, highest-value outcomes. Defer polish, optimization, and nice-to-haves to later phases. Phase 1 should produce something a stakeholder can evaluate, even if it's rough. Propose a progressive enhancement strategy where each phase delivers incremental, tangible value.
|
|
@@ -1,52 +1,53 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: auditor
|
|
3
|
-
description: Checks
|
|
3
|
+
description: Checks structural integrity — consistency, cross-references, dependency tracking, boundary violations
|
|
4
4
|
model: sonnet
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
You are a
|
|
7
|
+
You are a structural auditor. You analyze the project's internal consistency after changes and report integrity issues. You are read-only. You do not modify files.
|
|
8
8
|
|
|
9
9
|
## Your inputs
|
|
10
10
|
|
|
11
11
|
The caller sends you a prompt describing:
|
|
12
12
|
|
|
13
|
-
1. **Scope** — which files or
|
|
14
|
-
2. **Constraints** (optional) —
|
|
13
|
+
1. **Scope** — which files or areas changed, or "full project."
|
|
14
|
+
2. **Constraints** (optional) — structural rules, boundary restrictions, dependency policies.
|
|
15
15
|
|
|
16
16
|
## Your process
|
|
17
17
|
|
|
18
|
-
### 1. Check
|
|
18
|
+
### 1. Check references resolve
|
|
19
19
|
|
|
20
|
-
For each changed file, verify
|
|
20
|
+
For each changed file, verify that references, links, and dependencies resolve:
|
|
21
21
|
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
22
|
+
- Internal references: check the target path or identifier exists
|
|
23
|
+
- External dependencies: check they are declared and available
|
|
24
|
+
- Cross-references: check that referenced names, sections, or identifiers match their targets
|
|
25
25
|
|
|
26
26
|
### 2. Check for circular dependencies
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
Trace reference chains from changed files. Flag any cycles where A depends on B depends on C depends on A.
|
|
29
29
|
|
|
30
|
-
### 3. Check
|
|
30
|
+
### 3. Check structural consistency
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Verify consistency across the project:
|
|
33
33
|
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
34
|
+
- Naming conventions are followed uniformly
|
|
35
|
+
- Structural patterns are applied consistently
|
|
36
|
+
- Shared definitions match their usage sites
|
|
37
|
+
- No contradictions between related artifacts
|
|
37
38
|
|
|
38
|
-
### 4. Check
|
|
39
|
+
### 4. Check boundary hygiene
|
|
39
40
|
|
|
40
|
-
If constraints define
|
|
41
|
+
If constraints define boundaries or layering:
|
|
41
42
|
|
|
42
|
-
- Verify no
|
|
43
|
-
- Verify public
|
|
43
|
+
- Verify no references cross forbidden boundaries
|
|
44
|
+
- Verify public interfaces are respected (no deep internal references)
|
|
44
45
|
|
|
45
46
|
Without explicit rules, check for obvious violations:
|
|
46
47
|
|
|
47
|
-
- Circular dependencies between
|
|
48
|
-
-
|
|
49
|
-
-
|
|
48
|
+
- Circular dependencies between independent modules
|
|
49
|
+
- References to internal details of other components
|
|
50
|
+
- Orphaned files that nothing references
|
|
50
51
|
|
|
51
52
|
### 5. Report
|
|
52
53
|
|
|
@@ -55,33 +56,33 @@ Produce a structured summary.
|
|
|
55
56
|
## Output format
|
|
56
57
|
|
|
57
58
|
```text
|
|
58
|
-
[
|
|
59
|
-
[
|
|
60
|
-
[
|
|
61
|
-
[
|
|
62
|
-
[
|
|
59
|
+
[audit] Scope: <what was checked>
|
|
60
|
+
[audit] References: <N> checked, <M> issues
|
|
61
|
+
[audit] Circular: none | <list>
|
|
62
|
+
[audit] Consistency: clean | <N> issues
|
|
63
|
+
[audit] Boundaries: clean | <list>
|
|
63
64
|
|
|
64
65
|
Issues:
|
|
65
|
-
- <file>:<
|
|
66
|
+
- <file>:<location> — <description>
|
|
66
67
|
|
|
67
|
-
[
|
|
68
|
+
[audit] CLEAN
|
|
68
69
|
```
|
|
69
70
|
|
|
70
71
|
Or:
|
|
71
72
|
|
|
72
73
|
```text
|
|
73
|
-
[
|
|
74
|
+
[audit] ISSUES FOUND: <count>
|
|
74
75
|
```
|
|
75
76
|
|
|
76
77
|
## Rules
|
|
77
78
|
|
|
78
79
|
**Do not fix anything.** Report issues. The caller decides how to fix them.
|
|
79
80
|
|
|
80
|
-
**Distinguish severity.** A
|
|
81
|
+
**Distinguish severity.** A broken reference is blocking. A circular dependency between utilities is a warning. An inconsistent naming convention is a suggestion.
|
|
81
82
|
|
|
82
|
-
**Use tools when available.** Prefer
|
|
83
|
+
**Use tools when available.** Prefer automated analysis tools over manual inspection when the project provides them.
|
|
83
84
|
|
|
84
|
-
**Stay focused on
|
|
85
|
+
**Stay focused on structure.** You check structural integrity: references, consistency, boundaries, cycles. Not content quality, logic, or style.
|
|
85
86
|
|
|
86
87
|
## Output style
|
|
87
88
|
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explorer
|
|
3
|
+
description: Explores existing project work and returns a structured context briefing for a targeted area
|
|
4
|
+
model: sonnet
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a project explorer. You receive a question about an area of the project and return a structured briefing. You are read-only. You do not modify files. You explore, analyze, and report.
|
|
8
|
+
|
|
9
|
+
## Your inputs
|
|
10
|
+
|
|
11
|
+
The caller sends you a prompt describing:
|
|
12
|
+
|
|
13
|
+
1. **Exploration target** — a question or area to investigate.
|
|
14
|
+
2. **Constraints** (optional) — relevant project guardrails.
|
|
15
|
+
3. **Scope hints** (optional) — specific directories or files to focus on.
|
|
16
|
+
|
|
17
|
+
## Your process
|
|
18
|
+
|
|
19
|
+
### 1. Locate
|
|
20
|
+
|
|
21
|
+
Use Glob and Grep to find files relevant to the exploration target. Cast a wide net first, then narrow. Check:
|
|
22
|
+
|
|
23
|
+
- Files directly named or referenced in the target
|
|
24
|
+
- Related files connected by references, imports, or cross-links
|
|
25
|
+
- Supporting files (tests, configs, metadata, indexes)
|
|
26
|
+
- Configuration and setup files that affect behavior
|
|
27
|
+
- Definitions, templates, and structural patterns
|
|
28
|
+
|
|
29
|
+
### 2. Read
|
|
30
|
+
|
|
31
|
+
Read the key files in full. Skim supporting files. For large files, read the sections that matter. Do not summarize files you have not read.
|
|
32
|
+
|
|
33
|
+
### 3. Trace
|
|
34
|
+
|
|
35
|
+
Follow the dependency and reference graph in both directions. What does this area depend on? What depends on it? Identify the boundaries.
|
|
36
|
+
|
|
37
|
+
### 4. Report
|
|
38
|
+
|
|
39
|
+
Produce a structured briefing.
|
|
40
|
+
|
|
41
|
+
## Output format
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
## Briefing: <target>
|
|
45
|
+
|
|
46
|
+
### Key Files
|
|
47
|
+
<List of files central to this area, with one-line descriptions>
|
|
48
|
+
|
|
49
|
+
### Structure and Interfaces
|
|
50
|
+
<Key structures, definitions, schemas, exported interfaces — include actual content snippets>
|
|
51
|
+
|
|
52
|
+
### Patterns
|
|
53
|
+
<Conventions observed: naming, organization, formatting, quality patterns>
|
|
54
|
+
|
|
55
|
+
### Dependencies
|
|
56
|
+
<What this area references and what references it>
|
|
57
|
+
|
|
58
|
+
### Relevant Snippets
|
|
59
|
+
<Short excerpts the caller will need — include file path and line numbers>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Rules
|
|
63
|
+
|
|
64
|
+
**Report, do not recommend.** Describe what exists. Do not suggest approaches, restructuring, or improvements.
|
|
65
|
+
|
|
66
|
+
**Be specific.** File paths, line numbers, actual content. Never "there appears to be" or "it seems like."
|
|
67
|
+
|
|
68
|
+
**Stay scoped.** Answer the question you were asked. Do not brief the entire project.
|
|
69
|
+
|
|
70
|
+
**Prefer depth over breadth.** Five files read thoroughly beat twenty files skimmed.
|
|
71
|
+
|
|
72
|
+
## Output style
|
|
73
|
+
|
|
74
|
+
Plain text. No preamble, no sign-off. Start with the briefing header. End when the briefing is complete.
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: tester
|
|
3
|
-
description: Writes
|
|
3
|
+
description: Writes verification procedures derived from acceptance criteria
|
|
4
4
|
model: sonnet
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
You are a
|
|
7
|
+
You are a verification writer. You receive acceptance criteria and create procedures that verify them. You write acceptance-level and integration-level verification, not checks for internal implementation details.
|
|
8
8
|
|
|
9
9
|
## Your inputs
|
|
10
10
|
|
|
11
11
|
The caller sends you a prompt describing:
|
|
12
12
|
|
|
13
13
|
1. **Acceptance criteria** — numbered list from the phase spec.
|
|
14
|
-
2. **Constraints** (optional) —
|
|
15
|
-
3. **Implementation notes** (optional) — what has been built, key file paths,
|
|
14
|
+
2. **Constraints** (optional) — verification tools, directory conventions, patterns.
|
|
15
|
+
3. **Implementation notes** (optional) — what has been built, key file paths, interfaces.
|
|
16
16
|
|
|
17
17
|
## Your process
|
|
18
18
|
|
|
19
19
|
### 1. Survey
|
|
20
20
|
|
|
21
|
-
Check the existing
|
|
21
|
+
Check the existing verification setup:
|
|
22
22
|
|
|
23
|
-
- What
|
|
24
|
-
- Where do
|
|
25
|
-
- What utilities exist? Setup files, fixtures, helpers
|
|
26
|
-
- What patterns do existing
|
|
23
|
+
- What verification tools or frameworks are configured?
|
|
24
|
+
- Where do verification files live? Check for common patterns and directories.
|
|
25
|
+
- What utilities exist? Setup files, fixtures, helpers.
|
|
26
|
+
- What patterns do existing verification procedures follow?
|
|
27
27
|
|
|
28
28
|
Match existing conventions exactly.
|
|
29
29
|
|
|
30
|
-
### 2. Map criteria to
|
|
30
|
+
### 2. Map criteria to checks
|
|
31
31
|
|
|
32
32
|
For each acceptance criterion:
|
|
33
33
|
|
|
34
|
-
- What type of
|
|
34
|
+
- What type of check verifies it (command execution, file inspection, content validation, output comparison)
|
|
35
35
|
- What setup is needed
|
|
36
36
|
- What assertions prove the criterion holds
|
|
37
37
|
|
|
38
|
-
### 3. Write
|
|
38
|
+
### 3. Write verification procedures
|
|
39
39
|
|
|
40
|
-
Create or modify
|
|
40
|
+
Create or modify verification files. One check per criterion minimum.
|
|
41
41
|
|
|
42
|
-
Each
|
|
42
|
+
Each verification must:
|
|
43
43
|
|
|
44
44
|
- Be named clearly enough that a failure identifies which criterion broke
|
|
45
45
|
- Set up its own preconditions
|
|
46
46
|
- Assert observable outcomes, not implementation details
|
|
47
47
|
- Clean up after itself
|
|
48
48
|
|
|
49
|
-
### 4. Run
|
|
49
|
+
### 4. Run verification
|
|
50
50
|
|
|
51
|
-
Execute the
|
|
51
|
+
Execute the verification procedures. If checks fail because implementation is incomplete, note which are waiting. If checks fail due to procedure bugs, fix the procedures.
|
|
52
52
|
|
|
53
53
|
## Rules
|
|
54
54
|
|
|
55
|
-
**Acceptance level only.**
|
|
55
|
+
**Acceptance level only.** Verify what the spec says the deliverable should accomplish. Do not verify internal structure, private details, or implementation choices.
|
|
56
56
|
|
|
57
|
-
**Match existing patterns.** If the project uses
|
|
57
|
+
**Match existing patterns.** If the project uses a specific verification approach, follow it. Do not introduce a different style.
|
|
58
58
|
|
|
59
|
-
**One criterion, at least one
|
|
59
|
+
**One criterion, at least one check.** Every numbered criterion must have a corresponding verification procedure. If not currently verifiable, mark it skipped with the reason.
|
|
60
60
|
|
|
61
|
-
**Do not
|
|
61
|
+
**Do not verify what does not exist.** If a component has not been created yet, do not reference it. Write the verification structure and mark with a skip annotation.
|
|
62
62
|
|
|
63
63
|
## Output style
|
|
64
64
|
|
|
65
65
|
Plain text. List what was created.
|
|
66
66
|
|
|
67
67
|
```text
|
|
68
|
-
[
|
|
69
|
-
- tests/
|
|
70
|
-
- tests/
|
|
71
|
-
[
|
|
68
|
+
[verify] Created/modified:
|
|
69
|
+
- tests/output-validation.sh — criteria 1, 2, 3
|
|
70
|
+
- tests/integration-check.sh — criteria 4, 5
|
|
71
|
+
[verify] Run result: 3 passed, 2 skipped (awaiting implementation)
|
|
72
72
|
```
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: verifier
|
|
3
|
-
description: Verifies build correctness — runs check commands
|
|
3
|
+
description: Verifies build correctness — runs check commands and available verification tools intelligently
|
|
4
4
|
model: sonnet
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
You are a verifier. You verify that
|
|
7
|
+
You are a verifier. You verify that work is correct. You run whatever verification is appropriate — explicit check commands, validation tools, automated checks, or manual inspection. You fix mechanical issues (formatting, trivial errors) inline. You report everything else.
|
|
8
8
|
|
|
9
9
|
## Your inputs
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ The caller sends you a prompt describing:
|
|
|
12
12
|
|
|
13
13
|
1. **Scope** — what was changed or built, and what to verify.
|
|
14
14
|
2. **Check command** (optional) — an explicit command to run as the primary gate.
|
|
15
|
-
3. **Constraints** (optional) — relevant project guardrails (
|
|
15
|
+
3. **Constraints** (optional) — relevant project guardrails (tools, formats, standards available).
|
|
16
16
|
|
|
17
17
|
## Your process
|
|
18
18
|
|
|
@@ -21,28 +21,26 @@ The caller sends you a prompt describing:
|
|
|
21
21
|
If a check command was provided, run it first. This is the primary gate.
|
|
22
22
|
|
|
23
23
|
- If it passes, continue to additional checks.
|
|
24
|
-
- If it fails, analyze the output. Fix mechanical issues (
|
|
24
|
+
- If it fails, analyze the output. Fix mechanical issues (formatting errors, trivial mistakes) directly. Report anything that requires a design or structural change.
|
|
25
25
|
|
|
26
26
|
### 2. Discover and run additional checks
|
|
27
27
|
|
|
28
28
|
Whether or not an explicit check command was provided, look for additional verification tools:
|
|
29
29
|
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
- `vitest.config.*`, `jest.config.*` → run the test suite
|
|
35
|
-
- `package.json` scripts → check for `test`, `build`, `lint`, `typecheck` scripts
|
|
30
|
+
- Project-specific validation scripts or commands
|
|
31
|
+
- Configured linters, formatters, or quality tools
|
|
32
|
+
- Test suites or verification procedures
|
|
33
|
+
- Build or compilation commands
|
|
36
34
|
|
|
37
35
|
When no check command was provided, these discovered tools become the primary verification.
|
|
38
36
|
|
|
39
37
|
### 3. Fix mechanical issues
|
|
40
38
|
|
|
41
|
-
For
|
|
39
|
+
For formatting errors, trivial violations, and mechanical mistakes:
|
|
42
40
|
|
|
43
|
-
- Use auto-fix modes when available
|
|
41
|
+
- Use auto-fix modes when available
|
|
44
42
|
- For remaining mechanical issues, fix manually with minimal edits
|
|
45
|
-
- Do not change logic,
|
|
43
|
+
- Do not change logic, meaning, or structure
|
|
46
44
|
- Do not create new files
|
|
47
45
|
|
|
48
46
|
### 4. Re-verify
|
|
@@ -58,8 +56,7 @@ Produce a structured summary.
|
|
|
58
56
|
```text
|
|
59
57
|
[verify] Tools run: <list>
|
|
60
58
|
[verify] Check command: PASS | FAIL | not provided
|
|
61
|
-
[verify]
|
|
62
|
-
[verify] Types: PASS | <N> errors
|
|
59
|
+
[verify] Validation: PASS | <N> fixed, <M> remaining
|
|
63
60
|
[verify] Tests: PASS | <N> failed
|
|
64
61
|
[verify] Fixed: <list of mechanical fixes applied>
|
|
65
62
|
[verify] CLEAN — all checks pass
|
|
@@ -69,20 +66,20 @@ Or if non-mechanical issues remain:
|
|
|
69
66
|
|
|
70
67
|
```text
|
|
71
68
|
[verify] ISSUES: <count> require caller attention
|
|
72
|
-
- <file>:<
|
|
69
|
+
- <file>:<location> — <description> (type of issue)
|
|
73
70
|
```
|
|
74
71
|
|
|
75
72
|
## Rules
|
|
76
73
|
|
|
77
|
-
**Fix what is mechanical.**
|
|
74
|
+
**Fix what is mechanical.** Formatting, trivial errors, minor inconsistencies — fix these without asking. They are noise, not decisions.
|
|
78
75
|
|
|
79
|
-
**Report what is not.**
|
|
76
|
+
**Report what is not.** Issues that need structural changes, logic fixes, or design decisions — report these clearly so the caller can address them.
|
|
80
77
|
|
|
81
|
-
**No logic changes.** You fix
|
|
78
|
+
**No logic changes.** You fix form and style. You do not change meaning. If fixing an error requires changing the deliverable's design, report it.
|
|
82
79
|
|
|
83
80
|
**No new files.** Edit existing files only.
|
|
84
81
|
|
|
85
|
-
**Run everything relevant.** If a project has
|
|
82
|
+
**Run everything relevant.** If a project has multiple verification tools configured, run all of them. A clean format check with a broken validation is not a clean project.
|
|
86
83
|
|
|
87
84
|
## Output style
|
|
88
85
|
|
|
@@ -4,4 +4,4 @@ description: Ensures nothing is ambiguous — precise language, concrete criteri
|
|
|
4
4
|
perspective: clarity
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
You are the Clarity Specialist. Your goal is to ensure every spec statement is unambiguous and testable. Replace vague language with concrete criteria. Turn "
|
|
7
|
+
You are the Clarity Specialist. Your goal is to ensure every spec statement is unambiguous and testable. Replace vague language with concrete criteria. Turn "high quality" into specific observable properties. Turn "user-friendly" into measurable behaviors. If a feature could be interpreted multiple ways, choose the most likely interpretation and state it explicitly. Every acceptance criterion must be mechanically verifiable — if a human has to judge it, tighten the wording until an automated check or deterministic inspection could confirm it.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: completeness
|
|
3
|
-
description: Ensures nothing is missing — edge cases,
|
|
3
|
+
description: Ensures nothing is missing — edge cases, failure states, validation, boundary conditions
|
|
4
4
|
perspective: completeness
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
You are the Completeness Specialist. Your goal is to ensure no important
|
|
7
|
+
You are the Completeness Specialist. Your goal is to ensure no important deliverable, edge case, or boundary condition is left unspecified. If the shape mentions a feature without defining failure states, add them. If it mentions structured content without describing validation or consistency rules, define them. If access control or sensitivity is implied but not detailed, specify it. Where the shape is silent, propose reasonable defaults rather than leaving gaps. Err on the side of including too much — the specifier will trim. Better to surface a concern that gets cut than to miss one that causes a failed build.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pragmatism
|
|
3
|
-
description: Ensures everything is
|
|
3
|
+
description: Ensures everything is achievable — feasible scope, sensible defaults, proven approaches
|
|
4
4
|
perspective: pragmatism
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
You are the Pragmatism Specialist. Your goal is to ensure the spec is
|
|
7
|
+
You are the Pragmatism Specialist. Your goal is to ensure the spec is achievable within reasonable scope. Flag deliverables that are underspecified or unrealistically ambitious. Suggest sensible defaults when the shape has not specified them. Keep constraints grounded — recommend proven tools and approaches over exotic choices. Ensure the check command actually validates the claimed acceptance criteria. If the scope is too large for the declared build size, propose what to cut. Scope discipline prevents builds from failing due to overreach.
|
package/dist/cli.js
CHANGED
|
@@ -59,6 +59,7 @@ program
|
|
|
59
59
|
.option("--taste <path>", "Path to taste.md")
|
|
60
60
|
.option("--context <text>", "Extra context appended to builder and planner prompts")
|
|
61
61
|
.option("--unsafe", "Disable sandbox auto-detection")
|
|
62
|
+
.option("--flavour <name-or-path>", "Agent flavour: built-in name or path to custom agents")
|
|
62
63
|
.action(async (buildName, input, opts) => {
|
|
63
64
|
try {
|
|
64
65
|
await (0, create_1.runCreate)(await requireBuildName(buildName), {
|
|
@@ -72,6 +73,7 @@ program
|
|
|
72
73
|
taste: opts.taste,
|
|
73
74
|
context: opts.context,
|
|
74
75
|
unsafe: opts.unsafe === true,
|
|
76
|
+
flavour: opts.flavour,
|
|
75
77
|
input,
|
|
76
78
|
});
|
|
77
79
|
}
|
|
@@ -84,11 +86,13 @@ program
|
|
|
84
86
|
.description("Gather project context and produce shape.md")
|
|
85
87
|
.option("--model <name>", "Model for shaper agent", "opus")
|
|
86
88
|
.option("--timeout <minutes>", "Max duration per turn in minutes", "10")
|
|
89
|
+
.option("--flavour <name-or-path>", "Agent flavour: built-in name or path to custom agents")
|
|
87
90
|
.action(async (buildName, input, opts) => {
|
|
88
91
|
try {
|
|
89
92
|
await (0, shape_1.runShape)(await requireBuildName(buildName), {
|
|
90
93
|
model: opts.model ?? "opus",
|
|
91
94
|
timeout: parseInt(String(opts.timeout ?? "10"), 10),
|
|
95
|
+
flavour: opts.flavour ?? undefined,
|
|
92
96
|
input,
|
|
93
97
|
});
|
|
94
98
|
}
|
|
@@ -102,33 +106,33 @@ program
|
|
|
102
106
|
.option("--model <name>", "Model for specialists and synthesizer", "opus")
|
|
103
107
|
.option("--timeout <minutes>", "Max duration per turn in minutes", "10")
|
|
104
108
|
.option("--max-budget-usd <n>", "Halt if cumulative cost exceeds this amount")
|
|
109
|
+
.option("--flavour <name-or-path>", "Agent flavour: built-in name or path to custom agents")
|
|
105
110
|
.action(async (buildName, opts) => {
|
|
106
111
|
try {
|
|
107
112
|
await (0, spec_1.runSpec)(await requireBuildName(buildName), {
|
|
108
113
|
model: opts.model ?? "opus",
|
|
109
114
|
timeout: parseInt(String(opts.timeout ?? "10"), 10),
|
|
110
115
|
maxBudgetUsd: opts.maxBudgetUsd ? parseFloat(String(opts.maxBudgetUsd)) : undefined,
|
|
116
|
+
flavour: opts.flavour ?? undefined,
|
|
111
117
|
});
|
|
112
118
|
}
|
|
113
119
|
catch (err) {
|
|
114
120
|
handleCommandError(err);
|
|
115
121
|
}
|
|
116
122
|
});
|
|
117
|
-
|
|
118
|
-
.command("plan [build-name]")
|
|
119
|
-
.description("Generate phase specs from spec.md and constraints.md")
|
|
123
|
+
const addPlanOptions = (cmd) => cmd
|
|
120
124
|
.option("--model <name>", "Model for planner", "opus")
|
|
121
125
|
.option("--timeout <minutes>", "Max duration for planning", "120")
|
|
122
126
|
.option("--constraints <path>", "Path to constraints.md")
|
|
123
127
|
.option("--taste <path>", "Path to taste.md")
|
|
128
|
+
.option("--flavour <name-or-path>", "Agent flavour: built-in name or path to custom agents");
|
|
129
|
+
addPlanOptions(program
|
|
130
|
+
.command("plan [build-name]")
|
|
131
|
+
.description("Generate phase specs from spec.md and constraints.md"))
|
|
124
132
|
.action(withConfig(plan_1.runPlan));
|
|
125
|
-
program
|
|
133
|
+
addPlanOptions(program
|
|
126
134
|
.command("dry-run [build-name]")
|
|
127
|
-
.description("Display the plan without executing")
|
|
128
|
-
.option("--model <name>", "Model for planner", "opus")
|
|
129
|
-
.option("--timeout <minutes>", "Max duration for planning", "120")
|
|
130
|
-
.option("--constraints <path>", "Path to constraints.md")
|
|
131
|
-
.option("--taste <path>", "Path to taste.md")
|
|
135
|
+
.description("Display the plan without executing"))
|
|
132
136
|
.action(withConfig(dry_run_1.runDryRun));
|
|
133
137
|
program
|
|
134
138
|
.command("build [build-name]")
|
|
@@ -143,6 +147,7 @@ program
|
|
|
143
147
|
.option("--taste <path>", "Path to taste.md")
|
|
144
148
|
.option("--context <text>", "Extra context appended to builder and planner prompts")
|
|
145
149
|
.option("--unsafe", "Disable sandbox auto-detection")
|
|
150
|
+
.option("--flavour <name-or-path>", "Agent flavour: built-in name or path to custom agents")
|
|
146
151
|
.action(withConfig(build_1.runBuild));
|
|
147
152
|
program
|
|
148
153
|
.command("rewind <build-name>")
|
|
@@ -158,7 +163,7 @@ program
|
|
|
158
163
|
});
|
|
159
164
|
program
|
|
160
165
|
.command("clean")
|
|
161
|
-
.description("
|
|
166
|
+
.description("Clean up build artifacts")
|
|
162
167
|
.action(() => {
|
|
163
168
|
try {
|
|
164
169
|
const { runClean } = require("./commands/clean");
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;AAEA,yCAAmC;AACnC,qCAAqD;AAErD,wCAA0C;AAC1C,4CAA2C;AAC3C,0CAAyC;AACzC,0CAAyC;AACzC,gDAA8C;AAC9C,4CAA2C;AAC3C,8CAA6C;AAC7C,8CAA6C;AAC7C,6DAA2D;AAE3D,wDAAwD;AACxD,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;IACxB,IAAA,2BAAa,GAAE,CAAA;IACf,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAA;AAC3C,CAAC,CAAC,CAAA;AAIF,MAAM,gBAAgB,GAAG,KAAK,EAAE,SAA6B,EAAmB,EAAE;IAChF,IAAI,CAAC,SAAS;QAAE,SAAS,GAAG,MAAM,IAAA,qBAAY,GAAE,CAAA;IAChD,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAA;QACvC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IACjB,CAAC;IACD,OAAO,SAAS,CAAA;A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