dino-spec 16.2.0 → 17.2.0
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 +45 -10
- package/bin/dino-hud.js +0 -0
- package/bin/dino.js +3 -3
- package/dist/agents/context-distributor.d.ts +2 -2
- package/dist/agents/context-distributor.d.ts.map +1 -1
- package/dist/agents/context-distributor.js +19 -17
- package/dist/agents/context-distributor.js.map +1 -1
- package/dist/agents/index.d.ts +1 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +379 -371
- package/dist/agents/index.js.map +1 -1
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +48 -40
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/tui/index.d.ts +1 -1
- package/dist/cli/tui/index.d.ts.map +1 -1
- package/dist/cli/tui/index.js.map +1 -1
- package/dist/cli/tui/setup-wizard.d.ts.map +1 -1
- package/dist/cli/tui/setup-wizard.js +42 -38
- package/dist/cli/tui/setup-wizard.js.map +1 -1
- package/dist/commands/compact.d.ts.map +1 -1
- package/dist/commands/compact.js +9 -10
- package/dist/commands/compact.js.map +1 -1
- package/dist/commands/dashboard.d.ts.map +1 -1
- package/dist/commands/dashboard.js +6 -8
- package/dist/commands/dashboard.js.map +1 -1
- package/dist/commands/debug.d.ts +1 -1
- package/dist/commands/debug.d.ts.map +1 -1
- package/dist/commands/debug.js +31 -32
- package/dist/commands/debug.js.map +1 -1
- package/dist/commands/hooks/index.d.ts +4 -4
- package/dist/commands/hooks/index.d.ts.map +1 -1
- package/dist/commands/hooks/index.js +25 -30
- package/dist/commands/hooks/index.js.map +1 -1
- package/dist/commands/hooks/registry.d.ts +1 -1
- package/dist/commands/hooks/registry.d.ts.map +1 -1
- package/dist/commands/hooks/registry.js +18 -5
- package/dist/commands/hooks/registry.js.map +1 -1
- package/dist/commands/hooks/types.d.ts +1 -1
- package/dist/commands/hooks/types.d.ts.map +1 -1
- package/dist/commands/hooks/utils.d.ts +2 -1
- package/dist/commands/hooks/utils.d.ts.map +1 -1
- package/dist/commands/hooks/utils.js +8 -7
- package/dist/commands/hooks/utils.js.map +1 -1
- package/dist/commands/hud.d.ts.map +1 -1
- package/dist/commands/hud.js +24 -26
- package/dist/commands/hud.js.map +1 -1
- package/dist/commands/init.d.ts +15 -2
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +291 -38
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/mcp-serve.d.ts +1 -1
- package/dist/commands/mcp-serve.d.ts.map +1 -1
- package/dist/commands/mcp-serve.js +1 -1
- package/dist/commands/mcp-serve.js.map +1 -1
- package/dist/commands/mcp.d.ts +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +12 -5
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/memory/consolidate.d.ts.map +1 -1
- package/dist/commands/memory/consolidate.js +2 -1
- package/dist/commands/memory/consolidate.js.map +1 -1
- package/dist/commands/memory/decay.d.ts.map +1 -1
- package/dist/commands/memory/decay.js +1 -1
- package/dist/commands/memory/decay.js.map +1 -1
- package/dist/commands/memory/index.d.ts +8 -8
- package/dist/commands/memory/index.d.ts.map +1 -1
- package/dist/commands/memory/index.js +4 -4
- package/dist/commands/memory/index.js.map +1 -1
- package/dist/commands/memory/list.d.ts.map +1 -1
- package/dist/commands/memory/list.js +6 -5
- package/dist/commands/memory/list.js.map +1 -1
- package/dist/commands/memory/prune.d.ts.map +1 -1
- package/dist/commands/memory/prune.js +2 -1
- package/dist/commands/memory/prune.js.map +1 -1
- package/dist/commands/memory/recall.d.ts.map +1 -1
- package/dist/commands/memory/recall.js +2 -2
- package/dist/commands/memory/recall.js.map +1 -1
- package/dist/commands/memory/reflect.d.ts.map +1 -1
- package/dist/commands/memory/reflect.js +7 -6
- package/dist/commands/memory/reflect.js.map +1 -1
- package/dist/commands/memory/search.d.ts.map +1 -1
- package/dist/commands/memory/search.js +20 -16
- package/dist/commands/memory/search.js.map +1 -1
- package/dist/commands/memory/stats.d.ts.map +1 -1
- package/dist/commands/memory/stats.js +15 -10
- package/dist/commands/memory/stats.js.map +1 -1
- package/dist/commands/profile.d.ts.map +1 -1
- package/dist/commands/profile.js +7 -9
- package/dist/commands/profile.js.map +1 -1
- package/dist/commands/provider.d.ts.map +1 -1
- package/dist/commands/provider.js +18 -16
- package/dist/commands/provider.js.map +1 -1
- package/dist/commands/recommendations.d.ts.map +1 -1
- package/dist/commands/recommendations.js +13 -12
- package/dist/commands/recommendations.js.map +1 -1
- package/dist/commands/refresh.d.ts.map +1 -1
- package/dist/commands/refresh.js +8 -10
- package/dist/commands/refresh.js.map +1 -1
- package/dist/commands/session-sync.d.ts.map +1 -1
- package/dist/commands/session-sync.js +3 -4
- package/dist/commands/session-sync.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +14 -16
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +8 -8
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +22 -15
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/store/index.d.ts +4 -4
- package/dist/commands/store/index.d.ts.map +1 -1
- package/dist/commands/store/index.js +2 -2
- package/dist/commands/store/index.js.map +1 -1
- package/dist/commands/store/install.d.ts.map +1 -1
- package/dist/commands/store/install.js +1 -1
- package/dist/commands/store/install.js.map +1 -1
- package/dist/commands/store/list.d.ts.map +1 -1
- package/dist/commands/store/list.js +5 -5
- package/dist/commands/store/list.js.map +1 -1
- package/dist/commands/store/remove.d.ts.map +1 -1
- package/dist/commands/store/remove.js.map +1 -1
- package/dist/commands/store/search.d.ts.map +1 -1
- package/dist/commands/store/search.js +8 -11
- package/dist/commands/store/search.js.map +1 -1
- package/dist/commands/store/sync.js.map +1 -1
- package/dist/commands/update.d.ts +2 -2
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +10 -12
- package/dist/commands/update.js.map +1 -1
- package/dist/core/agents/__tests__/action-mask.test.js +7 -7
- package/dist/core/agents/__tests__/action-mask.test.js.map +1 -1
- package/dist/core/agents/__tests__/budgets.test.js +11 -6
- package/dist/core/agents/__tests__/budgets.test.js.map +1 -1
- package/dist/core/agents/__tests__/communication.test.js +8 -5
- package/dist/core/agents/__tests__/communication.test.js.map +1 -1
- package/dist/core/agents/__tests__/orchestrator.test.js +36 -23
- package/dist/core/agents/__tests__/orchestrator.test.js.map +1 -1
- package/dist/core/agents/action-mask.d.ts +2 -2
- package/dist/core/agents/action-mask.d.ts.map +1 -1
- package/dist/core/agents/action-mask.js.map +1 -1
- package/dist/core/agents/ambiguity-resolver.d.ts.map +1 -1
- package/dist/core/agents/ambiguity-resolver.js +1 -2
- package/dist/core/agents/ambiguity-resolver.js.map +1 -1
- package/dist/core/agents/blackboard.d.ts.map +1 -1
- package/dist/core/agents/blackboard.js +4 -4
- package/dist/core/agents/blackboard.js.map +1 -1
- package/dist/core/agents/budgets.d.ts +1 -1
- package/dist/core/agents/budgets.d.ts.map +1 -1
- package/dist/core/agents/budgets.js +3 -2
- package/dist/core/agents/budgets.js.map +1 -1
- package/dist/core/agents/circuit-breaker.d.ts.map +1 -1
- package/dist/core/agents/circuit-breaker.js +3 -1
- package/dist/core/agents/circuit-breaker.js.map +1 -1
- package/dist/core/agents/circuit-registry.d.ts +1 -1
- package/dist/core/agents/circuit-registry.d.ts.map +1 -1
- package/dist/core/agents/circuit-registry.js.map +1 -1
- package/dist/core/agents/confidence-gate.d.ts.map +1 -1
- package/dist/core/agents/confidence-gate.js +2 -6
- package/dist/core/agents/confidence-gate.js.map +1 -1
- package/dist/core/agents/context-isolation.d.ts.map +1 -1
- package/dist/core/agents/context-isolation.js +40 -57
- package/dist/core/agents/context-isolation.js.map +1 -1
- package/dist/core/agents/feedback-collector.d.ts.map +1 -1
- package/dist/core/agents/feedback-collector.js +1 -1
- package/dist/core/agents/feedback-collector.js.map +1 -1
- package/dist/core/agents/index.d.ts +11 -11
- package/dist/core/agents/index.d.ts.map +1 -1
- package/dist/core/agents/index.js +37 -37
- package/dist/core/agents/index.js.map +1 -1
- package/dist/core/agents/initializer.d.ts.map +1 -1
- package/dist/core/agents/initializer.js +14 -14
- package/dist/core/agents/initializer.js.map +1 -1
- package/dist/core/agents/message-protocol.d.ts.map +1 -1
- package/dist/core/agents/message-protocol.js +2 -2
- package/dist/core/agents/message-protocol.js.map +1 -1
- package/dist/core/agents/orchestrator.d.ts +3 -3
- package/dist/core/agents/orchestrator.d.ts.map +1 -1
- package/dist/core/agents/orchestrator.js +17 -15
- package/dist/core/agents/orchestrator.js.map +1 -1
- package/dist/core/agents/parallel-reviewer.d.ts +1 -1
- package/dist/core/agents/parallel-reviewer.d.ts.map +1 -1
- package/dist/core/agents/parallel-reviewer.js +33 -37
- package/dist/core/agents/parallel-reviewer.js.map +1 -1
- package/dist/core/agents/programmatic/context-delegate.d.ts.map +1 -1
- package/dist/core/agents/programmatic/context-delegate.js +10 -10
- package/dist/core/agents/programmatic/context-delegate.js.map +1 -1
- package/dist/core/agents/programmatic/index.d.ts +3 -3
- package/dist/core/agents/programmatic/index.d.ts.map +1 -1
- package/dist/core/agents/programmatic/index.js +4 -4
- package/dist/core/agents/programmatic/index.js.map +1 -1
- package/dist/core/agents/programmatic/result-collector.d.ts +2 -2
- package/dist/core/agents/programmatic/result-collector.d.ts.map +1 -1
- package/dist/core/agents/programmatic/result-collector.js +18 -16
- package/dist/core/agents/programmatic/result-collector.js.map +1 -1
- package/dist/core/agents/programmatic/script-executor.d.ts +1 -1
- package/dist/core/agents/programmatic/script-executor.d.ts.map +1 -1
- package/dist/core/agents/programmatic/script-executor.js +149 -152
- package/dist/core/agents/programmatic/script-executor.js.map +1 -1
- package/dist/core/agents/recursive/aggregator.d.ts +1 -1
- package/dist/core/agents/recursive/aggregator.d.ts.map +1 -1
- package/dist/core/agents/recursive/aggregator.js +13 -17
- package/dist/core/agents/recursive/aggregator.js.map +1 -1
- package/dist/core/agents/recursive/budget-allocator.d.ts +1 -1
- package/dist/core/agents/recursive/budget-allocator.d.ts.map +1 -1
- package/dist/core/agents/recursive/budget-allocator.js +8 -9
- package/dist/core/agents/recursive/budget-allocator.js.map +1 -1
- package/dist/core/agents/recursive/checkpoint-chain.d.ts +4 -4
- package/dist/core/agents/recursive/checkpoint-chain.d.ts.map +1 -1
- package/dist/core/agents/recursive/checkpoint-chain.js +11 -18
- package/dist/core/agents/recursive/checkpoint-chain.js.map +1 -1
- package/dist/core/agents/recursive/complexity-analyzer.d.ts.map +1 -1
- package/dist/core/agents/recursive/complexity-analyzer.js +59 -29
- package/dist/core/agents/recursive/complexity-analyzer.js.map +1 -1
- package/dist/core/agents/recursive/index.d.ts +6 -6
- package/dist/core/agents/recursive/index.d.ts.map +1 -1
- package/dist/core/agents/recursive/index.js +11 -11
- package/dist/core/agents/recursive/index.js.map +1 -1
- package/dist/core/agents/recursive/orchestrator.d.ts +2 -2
- package/dist/core/agents/recursive/orchestrator.d.ts.map +1 -1
- package/dist/core/agents/recursive/orchestrator.js +60 -19
- package/dist/core/agents/recursive/orchestrator.js.map +1 -1
- package/dist/core/agents/recursive/spawn-controller.d.ts +3 -3
- package/dist/core/agents/recursive/spawn-controller.d.ts.map +1 -1
- package/dist/core/agents/recursive/spawn-controller.js +10 -10
- package/dist/core/agents/recursive/spawn-controller.js.map +1 -1
- package/dist/core/agents/recursive/types.d.ts +2 -2
- package/dist/core/agents/recursive/types.d.ts.map +1 -1
- package/dist/core/agents/recursive/types.js +2 -2
- package/dist/core/agents/recursive/types.js.map +1 -1
- package/dist/core/agents/reviewer-loop.d.ts.map +1 -1
- package/dist/core/agents/reviewer-loop.js +2 -6
- package/dist/core/agents/reviewer-loop.js.map +1 -1
- package/dist/core/agents/skill-auditor.d.ts.map +1 -1
- package/dist/core/agents/skill-auditor.js +8 -14
- package/dist/core/agents/skill-auditor.js.map +1 -1
- package/dist/core/agents/types.d.ts +1 -1
- package/dist/core/agents/types.d.ts.map +1 -1
- package/dist/core/analyzer/change-intent.d.ts +1 -1
- package/dist/core/analyzer/change-intent.d.ts.map +1 -1
- package/dist/core/analyzer/change-intent.js +6 -5
- package/dist/core/analyzer/change-intent.js.map +1 -1
- package/dist/core/analyzer/command-extractor.d.ts.map +1 -1
- package/dist/core/analyzer/command-extractor.js +2 -4
- package/dist/core/analyzer/command-extractor.js.map +1 -1
- package/dist/core/analyzer/dependency-graph.d.ts.map +1 -1
- package/dist/core/analyzer/dependency-graph.js +379 -74
- package/dist/core/analyzer/dependency-graph.js.map +1 -1
- package/dist/core/analyzer/focus-detector.d.ts.map +1 -1
- package/dist/core/analyzer/focus-detector.js +25 -25
- package/dist/core/analyzer/focus-detector.js.map +1 -1
- package/dist/core/analyzer/index.d.ts +8 -8
- package/dist/core/analyzer/index.d.ts.map +1 -1
- package/dist/core/analyzer/index.js +18 -18
- package/dist/core/analyzer/index.js.map +1 -1
- package/dist/core/analyzer/multi-lang/index.d.ts +2 -2
- package/dist/core/analyzer/multi-lang/index.d.ts.map +1 -1
- package/dist/core/analyzer/multi-lang/index.js +36 -38
- package/dist/core/analyzer/multi-lang/index.js.map +1 -1
- package/dist/core/analyzer/multi-lang/language-detector.d.ts +1 -1
- package/dist/core/analyzer/multi-lang/language-detector.d.ts.map +1 -1
- package/dist/core/analyzer/multi-lang/language-detector.js +27 -14
- package/dist/core/analyzer/multi-lang/language-detector.js.map +1 -1
- package/dist/core/analyzer/multi-lang/pattern-extractor.d.ts +1 -1
- package/dist/core/analyzer/multi-lang/pattern-extractor.d.ts.map +1 -1
- package/dist/core/analyzer/multi-lang/pattern-extractor.js +21 -10
- package/dist/core/analyzer/multi-lang/pattern-extractor.js.map +1 -1
- package/dist/core/analyzer/multi-lang/types.d.ts.map +1 -1
- package/dist/core/analyzer/pattern-detector.d.ts.map +1 -1
- package/dist/core/analyzer/pattern-detector.js +2 -2
- package/dist/core/analyzer/pattern-detector.js.map +1 -1
- package/dist/core/analyzer/project-detector.d.ts.map +1 -1
- package/dist/core/analyzer/project-detector.js +13 -8
- package/dist/core/analyzer/project-detector.js.map +1 -1
- package/dist/core/analyzer/semantic-diff.d.ts.map +1 -1
- package/dist/core/analyzer/semantic-diff.js +23 -8
- package/dist/core/analyzer/semantic-diff.js.map +1 -1
- package/dist/core/analyzer/structure-mapper.d.ts +2 -2
- package/dist/core/analyzer/structure-mapper.d.ts.map +1 -1
- package/dist/core/analyzer/structure-mapper.js +3 -3
- package/dist/core/analyzer/structure-mapper.js.map +1 -1
- package/dist/core/analyzer/types.d.ts.map +1 -1
- package/dist/core/budget/cross-section-dedup.d.ts.map +1 -1
- package/dist/core/budget/cross-section-dedup.js +24 -21
- package/dist/core/budget/cross-section-dedup.js.map +1 -1
- package/dist/core/budget/entropy-budget.d.ts.map +1 -1
- package/dist/core/budget/entropy-budget.js +16 -21
- package/dist/core/budget/entropy-budget.js.map +1 -1
- package/dist/core/budget/index.d.ts +2 -2
- package/dist/core/budget/index.d.ts.map +1 -1
- package/dist/core/budget/index.js +3 -3
- package/dist/core/budget/index.js.map +1 -1
- package/dist/core/budget/language-entropy-profiles.d.ts.map +1 -1
- package/dist/core/budget/language-entropy-profiles.js +59 -7
- package/dist/core/budget/language-entropy-profiles.js.map +1 -1
- package/dist/core/budget/token-estimator.d.ts.map +1 -1
- package/dist/core/budget/token-estimator.js.map +1 -1
- package/dist/core/cache/cache-analyzer.d.ts.map +1 -1
- package/dist/core/cache/cache-analyzer.js +23 -25
- package/dist/core/cache/cache-analyzer.js.map +1 -1
- package/dist/core/cache/cache-metrics.d.ts +1 -1
- package/dist/core/cache/cache-metrics.d.ts.map +1 -1
- package/dist/core/cache/cache-metrics.js +7 -12
- package/dist/core/cache/cache-metrics.js.map +1 -1
- package/dist/core/cache/file-cache.d.ts.map +1 -1
- package/dist/core/cache/file-cache.js +4 -5
- package/dist/core/cache/file-cache.js.map +1 -1
- package/dist/core/cache/index.d.ts +3 -3
- package/dist/core/cache/index.d.ts.map +1 -1
- package/dist/core/cache/index.js +3 -3
- package/dist/core/cache/index.js.map +1 -1
- package/dist/core/checkpoints/category-compressor.d.ts +1 -1
- package/dist/core/checkpoints/category-compressor.d.ts.map +1 -1
- package/dist/core/checkpoints/category-compressor.js +6 -7
- package/dist/core/checkpoints/category-compressor.js.map +1 -1
- package/dist/core/checkpoints/checkpoint-store.d.ts.map +1 -1
- package/dist/core/checkpoints/checkpoint-store.js +2 -2
- package/dist/core/checkpoints/checkpoint-store.js.map +1 -1
- package/dist/core/checkpoints/checkpoint.d.ts +2 -2
- package/dist/core/checkpoints/checkpoint.d.ts.map +1 -1
- package/dist/core/checkpoints/checkpoint.js +19 -18
- package/dist/core/checkpoints/checkpoint.js.map +1 -1
- package/dist/core/checkpoints/compression-templates.d.ts +1 -1
- package/dist/core/checkpoints/compression-templates.d.ts.map +1 -1
- package/dist/core/checkpoints/compression-templates.js +2 -4
- package/dist/core/checkpoints/compression-templates.js.map +1 -1
- package/dist/core/checkpoints/compression-verifier.d.ts.map +1 -1
- package/dist/core/checkpoints/compression-verifier.js +1 -0
- package/dist/core/checkpoints/compression-verifier.js.map +1 -1
- package/dist/core/checkpoints/context-serializer.d.ts.map +1 -1
- package/dist/core/checkpoints/context-serializer.js +9 -15
- package/dist/core/checkpoints/context-serializer.js.map +1 -1
- package/dist/core/checkpoints/git-recovery.d.ts.map +1 -1
- package/dist/core/checkpoints/git-recovery.js +2 -3
- package/dist/core/checkpoints/git-recovery.js.map +1 -1
- package/dist/core/checkpoints/handoff-schema.d.ts +1 -1
- package/dist/core/checkpoints/handoff-schema.d.ts.map +1 -1
- package/dist/core/checkpoints/handoff-schema.js +28 -18
- package/dist/core/checkpoints/handoff-schema.js.map +1 -1
- package/dist/core/checkpoints/handoff.d.ts +1 -1
- package/dist/core/checkpoints/handoff.d.ts.map +1 -1
- package/dist/core/checkpoints/handoff.js +4 -6
- package/dist/core/checkpoints/handoff.js.map +1 -1
- package/dist/core/checkpoints/index.d.ts +4 -4
- package/dist/core/checkpoints/index.d.ts.map +1 -1
- package/dist/core/checkpoints/index.js +4 -4
- package/dist/core/checkpoints/index.js.map +1 -1
- package/dist/core/checkpoints/session-recovery.d.ts.map +1 -1
- package/dist/core/checkpoints/session-recovery.js +6 -4
- package/dist/core/checkpoints/session-recovery.js.map +1 -1
- package/dist/core/chunking/index.d.ts +2 -2
- package/dist/core/chunking/index.d.ts.map +1 -1
- package/dist/core/chunking/index.js +9 -11
- package/dist/core/chunking/index.js.map +1 -1
- package/dist/core/chunking/types.d.ts.map +1 -1
- package/dist/core/chunking/types.js.map +1 -1
- package/dist/core/chunking/typescript-chunker.d.ts +1 -1
- package/dist/core/chunking/typescript-chunker.d.ts.map +1 -1
- package/dist/core/chunking/typescript-chunker.js +16 -12
- package/dist/core/chunking/typescript-chunker.js.map +1 -1
- package/dist/core/chunking/utils.d.ts.map +1 -1
- package/dist/core/chunking/utils.js +14 -14
- package/dist/core/chunking/utils.js.map +1 -1
- package/dist/core/config/constants.d.ts +1 -1
- package/dist/core/config/constants.d.ts.map +1 -1
- package/dist/core/config/constants.js +2 -2
- package/dist/core/config/constants.js.map +1 -1
- package/dist/core/config/feature-flags.d.ts +1 -1
- package/dist/core/config/feature-flags.d.ts.map +1 -1
- package/dist/core/config/feature-flags.js +2 -2
- package/dist/core/config/feature-flags.js.map +1 -1
- package/dist/core/config/generated-files.d.ts.map +1 -1
- package/dist/core/config/generated-files.js.map +1 -1
- package/dist/core/config/index.d.ts +2 -2
- package/dist/core/config/index.d.ts.map +1 -1
- package/dist/core/config/index.js +2 -2
- package/dist/core/config/index.js.map +1 -1
- package/dist/core/config/markers.d.ts.map +1 -1
- package/dist/core/config/markers.js.map +1 -1
- package/dist/core/config/optional-commands.d.ts.map +1 -1
- package/dist/core/config/optional-commands.js +1 -1
- package/dist/core/config/optional-commands.js.map +1 -1
- package/dist/core/config/paths.d.ts.map +1 -1
- package/dist/core/config/paths.js.map +1 -1
- package/dist/core/config-repair.d.ts +91 -0
- package/dist/core/config-repair.d.ts.map +1 -0
- package/dist/core/config-repair.js +409 -0
- package/dist/core/config-repair.js.map +1 -0
- package/dist/core/config.d.ts +1 -1
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/config.js.map +1 -1
- package/dist/core/context/__tests__/budget-thresholds.test.js +14 -14
- package/dist/core/context/__tests__/budget-thresholds.test.js.map +1 -1
- package/dist/core/context/__tests__/compaction-engine.test.js +57 -39
- package/dist/core/context/__tests__/compaction-engine.test.js.map +1 -1
- package/dist/core/context/__tests__/feedback-loop-engine.test.js +68 -40
- package/dist/core/context/__tests__/feedback-loop-engine.test.js.map +1 -1
- package/dist/core/context/__tests__/output-persistence.test.js +5 -4
- package/dist/core/context/__tests__/output-persistence.test.js.map +1 -1
- package/dist/core/context/access-tracker.d.ts.map +1 -1
- package/dist/core/context/access-tracker.js +9 -11
- package/dist/core/context/access-tracker.js.map +1 -1
- package/dist/core/context/adaptation-strategy.d.ts.map +1 -1
- package/dist/core/context/adaptation-strategy.js +7 -7
- package/dist/core/context/adaptation-strategy.js.map +1 -1
- package/dist/core/context/auto-injection-engine.d.ts +1 -1
- package/dist/core/context/auto-injection-engine.d.ts.map +1 -1
- package/dist/core/context/auto-injection-engine.js +15 -14
- package/dist/core/context/auto-injection-engine.js.map +1 -1
- package/dist/core/context/auto-unload-engine.d.ts.map +1 -1
- package/dist/core/context/auto-unload-engine.js +7 -7
- package/dist/core/context/auto-unload-engine.js.map +1 -1
- package/dist/core/context/budget-thresholds.d.ts.map +1 -1
- package/dist/core/context/budget-thresholds.js +22 -12
- package/dist/core/context/budget-thresholds.js.map +1 -1
- package/dist/core/context/compaction-engine.d.ts.map +1 -1
- package/dist/core/context/compaction-engine.js +10 -8
- package/dist/core/context/compaction-engine.js.map +1 -1
- package/dist/core/context/context-auditor.d.ts.map +1 -1
- package/dist/core/context/context-auditor.js +20 -23
- package/dist/core/context/context-auditor.js.map +1 -1
- package/dist/core/context/context-health.d.ts +1 -1
- package/dist/core/context/context-health.d.ts.map +1 -1
- package/dist/core/context/context-health.js +18 -21
- package/dist/core/context/context-health.js.map +1 -1
- package/dist/core/context/context-manifest.d.ts.map +1 -1
- package/dist/core/context/context-manifest.js +9 -13
- package/dist/core/context/context-manifest.js.map +1 -1
- package/dist/core/context/demand-detector.d.ts +4 -4
- package/dist/core/context/demand-detector.d.ts.map +1 -1
- package/dist/core/context/demand-detector.js +17 -23
- package/dist/core/context/demand-detector.js.map +1 -1
- package/dist/core/context/demand-signal-patterns.d.ts.map +1 -1
- package/dist/core/context/demand-signal-patterns.js +20 -4
- package/dist/core/context/demand-signal-patterns.js.map +1 -1
- package/dist/core/context/feedback-loop-engine.d.ts +1 -1
- package/dist/core/context/feedback-loop-engine.d.ts.map +1 -1
- package/dist/core/context/feedback-loop-engine.js +29 -6
- package/dist/core/context/feedback-loop-engine.js.map +1 -1
- package/dist/core/context/focus-resource-loader.d.ts.map +1 -1
- package/dist/core/context/focus-resource-loader.js +17 -10
- package/dist/core/context/focus-resource-loader.js.map +1 -1
- package/dist/core/context/index.d.ts +20 -21
- package/dist/core/context/index.d.ts.map +1 -1
- package/dist/core/context/index.js +156 -159
- package/dist/core/context/index.js.map +1 -1
- package/dist/core/context/lazy-loader.d.ts +1 -1
- package/dist/core/context/lazy-loader.d.ts.map +1 -1
- package/dist/core/context/lazy-loader.js +13 -13
- package/dist/core/context/lazy-loader.js.map +1 -1
- package/dist/core/context/memory-decay.d.ts.map +1 -1
- package/dist/core/context/memory-decay.js +10 -12
- package/dist/core/context/memory-decay.js.map +1 -1
- package/dist/core/context/output-persistence.d.ts.map +1 -1
- package/dist/core/context/output-persistence.js +6 -10
- package/dist/core/context/output-persistence.js.map +1 -1
- package/dist/core/context/positional-optimizer.d.ts.map +1 -1
- package/dist/core/context/positional-optimizer.js +15 -16
- package/dist/core/context/positional-optimizer.js.map +1 -1
- package/dist/core/context/prefetch-learner.d.ts.map +1 -1
- package/dist/core/context/prefetch-learner.js +7 -5
- package/dist/core/context/prefetch-learner.js.map +1 -1
- package/dist/core/context/prefetch-optimizer.d.ts.map +1 -1
- package/dist/core/context/prefetch-optimizer.js +10 -9
- package/dist/core/context/prefetch-optimizer.js.map +1 -1
- package/dist/core/context/semantic-signal-detector.d.ts +1 -1
- package/dist/core/context/semantic-signal-detector.d.ts.map +1 -1
- package/dist/core/context/semantic-signal-detector.js +11 -13
- package/dist/core/context/semantic-signal-detector.js.map +1 -1
- package/dist/core/context/smart-prefetch-engine.d.ts.map +1 -1
- package/dist/core/context/smart-prefetch-engine.js +6 -4
- package/dist/core/context/smart-prefetch-engine.js.map +1 -1
- package/dist/core/context/token-tracker.d.ts.map +1 -1
- package/dist/core/context/token-tracker.js +32 -24
- package/dist/core/context/token-tracker.js.map +1 -1
- package/dist/core/context/tool-clearing.d.ts +1 -1
- package/dist/core/context/tool-clearing.d.ts.map +1 -1
- package/dist/core/context/tool-clearing.js +25 -20
- package/dist/core/context/tool-clearing.js.map +1 -1
- package/dist/core/context/tool-protection.d.ts.map +1 -1
- package/dist/core/context/tool-protection.js +1 -3
- package/dist/core/context/tool-protection.js.map +1 -1
- package/dist/core/context/tool-summarization.d.ts.map +1 -1
- package/dist/core/context/tool-summarization.js +24 -19
- package/dist/core/context/tool-summarization.js.map +1 -1
- package/dist/core/context/window-boundary.d.ts.map +1 -1
- package/dist/core/context/window-boundary.js +4 -6
- package/dist/core/context/window-boundary.js.map +1 -1
- package/dist/core/context-repl/__tests__/condensation.test.js +4 -3
- package/dist/core/context-repl/__tests__/condensation.test.js.map +1 -1
- package/dist/core/context-repl/__tests__/query-executor.test.js +28 -8
- package/dist/core/context-repl/__tests__/query-executor.test.js.map +1 -1
- package/dist/core/context-repl/__tests__/query-parser.test.js +6 -5
- package/dist/core/context-repl/__tests__/query-parser.test.js.map +1 -1
- package/dist/core/context-repl/__tests__/repl-environment.test.js +6 -6
- package/dist/core/context-repl/__tests__/repl-environment.test.js.map +1 -1
- package/dist/core/context-repl/condensation.d.ts +1 -1
- package/dist/core/context-repl/condensation.d.ts.map +1 -1
- package/dist/core/context-repl/condensation.js +15 -9
- package/dist/core/context-repl/condensation.js.map +1 -1
- package/dist/core/context-repl/confidence-scorer.d.ts.map +1 -1
- package/dist/core/context-repl/confidence-scorer.js +5 -5
- package/dist/core/context-repl/confidence-scorer.js.map +1 -1
- package/dist/core/context-repl/context-window-monitor.d.ts +1 -1
- package/dist/core/context-repl/context-window-monitor.d.ts.map +1 -1
- package/dist/core/context-repl/context-window-monitor.js +5 -8
- package/dist/core/context-repl/context-window-monitor.js.map +1 -1
- package/dist/core/context-repl/index.d.ts +15 -16
- package/dist/core/context-repl/index.d.ts.map +1 -1
- package/dist/core/context-repl/index.js +23 -23
- package/dist/core/context-repl/index.js.map +1 -1
- package/dist/core/context-repl/partitioning/__tests__/by-dependency.test.js +7 -20
- package/dist/core/context-repl/partitioning/__tests__/by-dependency.test.js.map +1 -1
- package/dist/core/context-repl/partitioning/__tests__/by-directory.test.js +10 -18
- package/dist/core/context-repl/partitioning/__tests__/by-directory.test.js.map +1 -1
- package/dist/core/context-repl/partitioning/__tests__/by-feature.test.js +22 -31
- package/dist/core/context-repl/partitioning/__tests__/by-feature.test.js.map +1 -1
- package/dist/core/context-repl/partitioning/__tests__/by-time.test.js +14 -19
- package/dist/core/context-repl/partitioning/__tests__/by-time.test.js.map +1 -1
- package/dist/core/context-repl/partitioning/__tests__/index.test.js +6 -13
- package/dist/core/context-repl/partitioning/__tests__/index.test.js.map +1 -1
- package/dist/core/context-repl/partitioning/index.d.ts +5 -5
- package/dist/core/context-repl/partitioning/index.d.ts.map +1 -1
- package/dist/core/context-repl/partitioning/index.js +20 -20
- package/dist/core/context-repl/partitioning/index.js.map +1 -1
- package/dist/core/context-repl/partitioning/partition-cache.d.ts +1 -1
- package/dist/core/context-repl/partitioning/partition-cache.d.ts.map +1 -1
- package/dist/core/context-repl/partitioning/partition-cache.js +2 -2
- package/dist/core/context-repl/partitioning/partition-cache.js.map +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-dependency.d.ts +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-dependency.d.ts.map +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-dependency.js +25 -18
- package/dist/core/context-repl/partitioning/strategies/by-dependency.js.map +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-directory.d.ts +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-directory.d.ts.map +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-directory.js +8 -6
- package/dist/core/context-repl/partitioning/strategies/by-directory.js.map +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-feature.d.ts +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-feature.d.ts.map +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-feature.js +19 -38
- package/dist/core/context-repl/partitioning/strategies/by-feature.js.map +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-time.d.ts +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-time.d.ts.map +1 -1
- package/dist/core/context-repl/partitioning/strategies/by-time.js +12 -11
- package/dist/core/context-repl/partitioning/strategies/by-time.js.map +1 -1
- package/dist/core/context-repl/partitioning/strategies/index.d.ts +4 -4
- package/dist/core/context-repl/partitioning/strategies/index.d.ts.map +1 -1
- package/dist/core/context-repl/partitioning/strategies/index.js +8 -8
- package/dist/core/context-repl/partitioning/strategies/index.js.map +1 -1
- package/dist/core/context-repl/partitioning/types.d.ts.map +1 -1
- package/dist/core/context-repl/partitioning/types.js.map +1 -1
- package/dist/core/context-repl/query-executor.d.ts +1 -1
- package/dist/core/context-repl/query-executor.d.ts.map +1 -1
- package/dist/core/context-repl/query-executor.js +43 -22
- package/dist/core/context-repl/query-executor.js.map +1 -1
- package/dist/core/context-repl/query-parser.d.ts +1 -1
- package/dist/core/context-repl/query-parser.d.ts.map +1 -1
- package/dist/core/context-repl/query-parser.js +39 -40
- package/dist/core/context-repl/query-parser.js.map +1 -1
- package/dist/core/context-repl/reconnaissance-engine.d.ts +1 -1
- package/dist/core/context-repl/reconnaissance-engine.d.ts.map +1 -1
- package/dist/core/context-repl/reconnaissance-engine.js +9 -14
- package/dist/core/context-repl/reconnaissance-engine.js.map +1 -1
- package/dist/core/context-repl/recursive/__tests__/budget.test.js +7 -4
- package/dist/core/context-repl/recursive/__tests__/budget.test.js.map +1 -1
- package/dist/core/context-repl/recursive/__tests__/decomposer.test.js +6 -6
- package/dist/core/context-repl/recursive/__tests__/decomposer.test.js.map +1 -1
- package/dist/core/context-repl/recursive/__tests__/integration.test.js +12 -8
- package/dist/core/context-repl/recursive/__tests__/integration.test.js.map +1 -1
- package/dist/core/context-repl/recursive/__tests__/quality.test.js +10 -29
- package/dist/core/context-repl/recursive/__tests__/quality.test.js.map +1 -1
- package/dist/core/context-repl/recursive/__tests__/synthesizer.test.js +27 -13
- package/dist/core/context-repl/recursive/__tests__/synthesizer.test.js.map +1 -1
- package/dist/core/context-repl/recursive/budget.d.ts +1 -1
- package/dist/core/context-repl/recursive/budget.d.ts.map +1 -1
- package/dist/core/context-repl/recursive/budget.js +2 -2
- package/dist/core/context-repl/recursive/budget.js.map +1 -1
- package/dist/core/context-repl/recursive/decomposer.d.ts +4 -4
- package/dist/core/context-repl/recursive/decomposer.d.ts.map +1 -1
- package/dist/core/context-repl/recursive/decomposer.js +52 -35
- package/dist/core/context-repl/recursive/decomposer.js.map +1 -1
- package/dist/core/context-repl/recursive/index.d.ts +7 -7
- package/dist/core/context-repl/recursive/index.d.ts.map +1 -1
- package/dist/core/context-repl/recursive/index.js +33 -29
- package/dist/core/context-repl/recursive/index.js.map +1 -1
- package/dist/core/context-repl/recursive/quality.d.ts +1 -1
- package/dist/core/context-repl/recursive/quality.d.ts.map +1 -1
- package/dist/core/context-repl/recursive/quality.js +14 -13
- package/dist/core/context-repl/recursive/quality.js.map +1 -1
- package/dist/core/context-repl/recursive/synthesizer.d.ts +2 -2
- package/dist/core/context-repl/recursive/synthesizer.d.ts.map +1 -1
- package/dist/core/context-repl/recursive/synthesizer.js +9 -9
- package/dist/core/context-repl/recursive/synthesizer.js.map +1 -1
- package/dist/core/context-repl/recursive/trajectory.d.ts +1 -1
- package/dist/core/context-repl/recursive/trajectory.d.ts.map +1 -1
- package/dist/core/context-repl/recursive/trajectory.js +16 -16
- package/dist/core/context-repl/recursive/trajectory.js.map +1 -1
- package/dist/core/context-repl/recursive/types.d.ts.map +1 -1
- package/dist/core/context-repl/recursive/types.js.map +1 -1
- package/dist/core/context-repl/repl-environment.d.ts +1 -1
- package/dist/core/context-repl/repl-environment.d.ts.map +1 -1
- package/dist/core/context-repl/repl-environment.js +20 -18
- package/dist/core/context-repl/repl-environment.js.map +1 -1
- package/dist/core/context-repl/types.d.ts +2 -2
- package/dist/core/context-repl/types.d.ts.map +1 -1
- package/dist/core/context-repl/types.js +16 -5
- package/dist/core/context-repl/types.js.map +1 -1
- package/dist/core/context-repl/variable-loader.d.ts +2 -2
- package/dist/core/context-repl/variable-loader.d.ts.map +1 -1
- package/dist/core/context-repl/variable-loader.js +12 -14
- package/dist/core/context-repl/variable-loader.js.map +1 -1
- package/dist/core/conversations/conversation-manager.d.ts.map +1 -1
- package/dist/core/conversations/conversation-manager.js +5 -2
- package/dist/core/conversations/conversation-manager.js.map +1 -1
- package/dist/core/conversations/index.d.ts.map +1 -1
- package/dist/core/conversations/index.js.map +1 -1
- package/dist/core/dashboard/dashboard-formatter.d.ts +1 -1
- package/dist/core/dashboard/dashboard-formatter.d.ts.map +1 -1
- package/dist/core/dashboard/dashboard-formatter.js +25 -9
- package/dist/core/dashboard/dashboard-formatter.js.map +1 -1
- package/dist/core/dashboard/health-metrics-aggregator.d.ts.map +1 -1
- package/dist/core/dashboard/health-metrics-aggregator.js +16 -14
- package/dist/core/dashboard/health-metrics-aggregator.js.map +1 -1
- package/dist/core/debug/context-decision-logger.d.ts +1 -1
- package/dist/core/debug/context-decision-logger.d.ts.map +1 -1
- package/dist/core/debug/context-decision-logger.js +6 -49
- package/dist/core/debug/context-decision-logger.js.map +1 -1
- package/dist/core/debug/debug-config.d.ts.map +1 -1
- package/dist/core/debug/debug-config.js +4 -4
- package/dist/core/debug/debug-config.js.map +1 -1
- package/dist/core/debug/debug-logger.d.ts +1 -1
- package/dist/core/debug/debug-logger.d.ts.map +1 -1
- package/dist/core/debug/debug-logger.js +21 -15
- package/dist/core/debug/debug-logger.js.map +1 -1
- package/dist/core/debug/index.d.ts +3 -3
- package/dist/core/debug/index.d.ts.map +1 -1
- package/dist/core/debug/index.js +4 -4
- package/dist/core/debug/index.js.map +1 -1
- package/dist/core/embeddings/adapters/index.d.ts +4 -4
- package/dist/core/embeddings/adapters/index.d.ts.map +1 -1
- package/dist/core/embeddings/adapters/index.js +5 -7
- package/dist/core/embeddings/adapters/index.js.map +1 -1
- package/dist/core/embeddings/adapters/local.d.ts +2 -2
- package/dist/core/embeddings/adapters/local.d.ts.map +1 -1
- package/dist/core/embeddings/adapters/local.js +8 -9
- package/dist/core/embeddings/adapters/local.js.map +1 -1
- package/dist/core/embeddings/adapters/qdrant.d.ts +1 -1
- package/dist/core/embeddings/adapters/qdrant.d.ts.map +1 -1
- package/dist/core/embeddings/adapters/qdrant.js +4 -9
- package/dist/core/embeddings/adapters/qdrant.js.map +1 -1
- package/dist/core/embeddings/adapters/types.d.ts +1 -1
- package/dist/core/embeddings/adapters/types.d.ts.map +1 -1
- package/dist/core/embeddings/adapters/types.js.map +1 -1
- package/dist/core/embeddings/backends/index.d.ts.map +1 -1
- package/dist/core/embeddings/backends/index.js +2 -2
- package/dist/core/embeddings/backends/index.js.map +1 -1
- package/dist/core/embeddings/backends/local.d.ts.map +1 -1
- package/dist/core/embeddings/backends/local.js +43 -15
- package/dist/core/embeddings/backends/local.js.map +1 -1
- package/dist/core/embeddings/content-indexer.d.ts +1 -1
- package/dist/core/embeddings/content-indexer.d.ts.map +1 -1
- package/dist/core/embeddings/content-indexer.js +7 -7
- package/dist/core/embeddings/content-indexer.js.map +1 -1
- package/dist/core/embeddings/index.d.ts +11 -11
- package/dist/core/embeddings/index.d.ts.map +1 -1
- package/dist/core/embeddings/index.js +12 -9
- package/dist/core/embeddings/index.js.map +1 -1
- package/dist/core/embeddings/query-cache.d.ts.map +1 -1
- package/dist/core/embeddings/query-cache.js +1 -1
- package/dist/core/embeddings/query-cache.js.map +1 -1
- package/dist/core/embeddings/semantic-cache.d.ts.map +1 -1
- package/dist/core/embeddings/semantic-cache.js +1 -1
- package/dist/core/embeddings/semantic-cache.js.map +1 -1
- package/dist/core/embeddings/types.d.ts.map +1 -1
- package/dist/core/embeddings/types.js.map +1 -1
- package/dist/core/embeddings/vector-store.d.ts +1 -1
- package/dist/core/embeddings/vector-store.d.ts.map +1 -1
- package/dist/core/embeddings/vector-store.js +20 -21
- package/dist/core/embeddings/vector-store.js.map +1 -1
- package/dist/core/embeddings/vector-utils.d.ts.map +1 -1
- package/dist/core/embeddings/vector-utils.js +4 -4
- package/dist/core/embeddings/vector-utils.js.map +1 -1
- package/dist/core/environment/__tests__/pre-verify.test.js +23 -19
- package/dist/core/environment/__tests__/pre-verify.test.js.map +1 -1
- package/dist/core/environment/index.d.ts +1 -1
- package/dist/core/environment/index.d.ts.map +1 -1
- package/dist/core/environment/index.js +1 -1
- package/dist/core/environment/index.js.map +1 -1
- package/dist/core/environment/pre-verify.d.ts.map +1 -1
- package/dist/core/environment/pre-verify.js +3 -3
- package/dist/core/environment/pre-verify.js.map +1 -1
- package/dist/core/environment/types.d.ts.map +1 -1
- package/dist/core/errors/index.d.ts +2 -2
- package/dist/core/errors/index.d.ts.map +1 -1
- package/dist/core/errors/index.js +6 -11
- package/dist/core/errors/index.js.map +1 -1
- package/dist/core/errors.d.ts +3 -3
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/errors.js +4 -4
- package/dist/core/errors.js.map +1 -1
- package/dist/core/examples/index.d.ts +1 -1
- package/dist/core/examples/index.d.ts.map +1 -1
- package/dist/core/examples/index.js +1 -1
- package/dist/core/examples/index.js.map +1 -1
- package/dist/core/examples/tool-examples.d.ts.map +1 -1
- package/dist/core/examples/tool-examples.js +6 -15
- package/dist/core/examples/tool-examples.js.map +1 -1
- package/dist/core/experiments/assignment-engine.d.ts +88 -0
- package/dist/core/experiments/assignment-engine.d.ts.map +1 -0
- package/dist/core/experiments/assignment-engine.js +162 -0
- package/dist/core/experiments/assignment-engine.js.map +1 -0
- package/dist/core/experiments/experiment-schema.d.ts +126 -0
- package/dist/core/experiments/experiment-schema.d.ts.map +1 -0
- package/dist/core/experiments/experiment-schema.js +238 -0
- package/dist/core/experiments/experiment-schema.js.map +1 -0
- package/dist/core/experiments/experiment-store.d.ts +94 -0
- package/dist/core/experiments/experiment-store.d.ts.map +1 -0
- package/dist/core/experiments/experiment-store.js +271 -0
- package/dist/core/experiments/experiment-store.js.map +1 -0
- package/dist/core/experiments/index.d.ts +18 -0
- package/dist/core/experiments/index.d.ts.map +1 -0
- package/dist/core/experiments/index.js +14 -0
- package/dist/core/experiments/index.js.map +1 -0
- package/dist/core/experiments/metrics-segmenter.d.ts +99 -0
- package/dist/core/experiments/metrics-segmenter.d.ts.map +1 -0
- package/dist/core/experiments/metrics-segmenter.js +171 -0
- package/dist/core/experiments/metrics-segmenter.js.map +1 -0
- package/dist/core/experiments/statistical-analyzer.d.ts +71 -0
- package/dist/core/experiments/statistical-analyzer.d.ts.map +1 -0
- package/dist/core/experiments/statistical-analyzer.js +357 -0
- package/dist/core/experiments/statistical-analyzer.js.map +1 -0
- package/dist/core/features/index.d.ts +1 -1
- package/dist/core/features/index.d.ts.map +1 -1
- package/dist/core/features/index.js +3 -7
- package/dist/core/features/index.js.map +1 -1
- package/dist/core/features/types.d.ts.map +1 -1
- package/dist/core/generator/claude-md.d.ts.map +1 -1
- package/dist/core/generator/claude-md.js +35 -40
- package/dist/core/generator/claude-md.js.map +1 -1
- package/dist/core/generator/index.d.ts +2 -2
- package/dist/core/generator/index.d.ts.map +1 -1
- package/dist/core/generator/index.js +2 -2
- package/dist/core/generator/index.js.map +1 -1
- package/dist/core/generator/session-md.d.ts +8 -2
- package/dist/core/generator/session-md.d.ts.map +1 -1
- package/dist/core/generator/session-md.js +197 -72
- package/dist/core/generator/session-md.js.map +1 -1
- package/dist/core/handoff/index.d.ts +2 -2
- package/dist/core/handoff/index.d.ts.map +1 -1
- package/dist/core/handoff/index.js +1 -1
- package/dist/core/handoff/index.js.map +1 -1
- package/dist/core/handoff/writer.d.ts.map +1 -1
- package/dist/core/handoff/writer.js +1 -1
- package/dist/core/handoff/writer.js.map +1 -1
- package/dist/core/intelligence/adaptive-compaction.d.ts +1 -1
- package/dist/core/intelligence/adaptive-compaction.d.ts.map +1 -1
- package/dist/core/intelligence/adaptive-compaction.js +27 -30
- package/dist/core/intelligence/adaptive-compaction.js.map +1 -1
- package/dist/core/intelligence/budget-forecast.d.ts +1 -1
- package/dist/core/intelligence/budget-forecast.d.ts.map +1 -1
- package/dist/core/intelligence/budget-forecast.js +8 -9
- package/dist/core/intelligence/budget-forecast.js.map +1 -1
- package/dist/core/intelligence/context-budget.d.ts +2 -2
- package/dist/core/intelligence/context-budget.d.ts.map +1 -1
- package/dist/core/intelligence/context-budget.js +30 -30
- package/dist/core/intelligence/context-budget.js.map +1 -1
- package/dist/core/intelligence/effort-advisor.d.ts.map +1 -1
- package/dist/core/intelligence/effort-advisor.js +5 -7
- package/dist/core/intelligence/effort-advisor.js.map +1 -1
- package/dist/core/intelligence/index.d.ts +8 -8
- package/dist/core/intelligence/index.d.ts.map +1 -1
- package/dist/core/intelligence/index.js +46 -46
- package/dist/core/intelligence/index.js.map +1 -1
- package/dist/core/intelligence/playbook/evolution-engine.d.ts +1 -1
- package/dist/core/intelligence/playbook/evolution-engine.d.ts.map +1 -1
- package/dist/core/intelligence/playbook/evolution-engine.js +26 -27
- package/dist/core/intelligence/playbook/evolution-engine.js.map +1 -1
- package/dist/core/intelligence/playbook/feedback-collector.d.ts +2 -2
- package/dist/core/intelligence/playbook/feedback-collector.d.ts.map +1 -1
- package/dist/core/intelligence/playbook/feedback-collector.js +19 -19
- package/dist/core/intelligence/playbook/feedback-collector.js.map +1 -1
- package/dist/core/intelligence/playbook/index.d.ts +7 -7
- package/dist/core/intelligence/playbook/index.d.ts.map +1 -1
- package/dist/core/intelligence/playbook/index.js +20 -22
- package/dist/core/intelligence/playbook/index.js.map +1 -1
- package/dist/core/intelligence/playbook/playbook-store.d.ts +2 -2
- package/dist/core/intelligence/playbook/playbook-store.d.ts.map +1 -1
- package/dist/core/intelligence/playbook/playbook-store.js +18 -16
- package/dist/core/intelligence/playbook/playbook-store.js.map +1 -1
- package/dist/core/intelligence/playbook/strategy-extractor.d.ts +2 -2
- package/dist/core/intelligence/playbook/strategy-extractor.d.ts.map +1 -1
- package/dist/core/intelligence/playbook/strategy-extractor.js +41 -43
- package/dist/core/intelligence/playbook/strategy-extractor.js.map +1 -1
- package/dist/core/intelligence/playbook/tool-sequence.d.ts +1 -1
- package/dist/core/intelligence/playbook/tool-sequence.d.ts.map +1 -1
- package/dist/core/intelligence/playbook/tool-sequence.js +3 -4
- package/dist/core/intelligence/playbook/tool-sequence.js.map +1 -1
- package/dist/core/intelligence/playbook/types.d.ts +1 -1
- package/dist/core/intelligence/playbook/types.d.ts.map +1 -1
- package/dist/core/intelligence/progress-tracker.d.ts +1 -1
- package/dist/core/intelligence/progress-tracker.d.ts.map +1 -1
- package/dist/core/intelligence/progress-tracker.js.map +1 -1
- package/dist/core/intelligence/session-compactor.d.ts.map +1 -1
- package/dist/core/intelligence/session-compactor.js +28 -42
- package/dist/core/intelligence/session-compactor.js.map +1 -1
- package/dist/core/intelligence/trajectory.d.ts +1 -1
- package/dist/core/intelligence/trajectory.d.ts.map +1 -1
- package/dist/core/intelligence/trajectory.js +37 -27
- package/dist/core/intelligence/trajectory.js.map +1 -1
- package/dist/core/knowledge-graph/entity-extractor.d.ts +1 -1
- package/dist/core/knowledge-graph/entity-extractor.d.ts.map +1 -1
- package/dist/core/knowledge-graph/entity-extractor.js +15 -15
- package/dist/core/knowledge-graph/entity-extractor.js.map +1 -1
- package/dist/core/knowledge-graph/graph.d.ts +1 -1
- package/dist/core/knowledge-graph/graph.d.ts.map +1 -1
- package/dist/core/knowledge-graph/graph.js +60 -65
- package/dist/core/knowledge-graph/graph.js.map +1 -1
- package/dist/core/knowledge-graph/index.d.ts +3 -3
- package/dist/core/knowledge-graph/index.d.ts.map +1 -1
- package/dist/core/knowledge-graph/index.js +13 -13
- package/dist/core/knowledge-graph/index.js.map +1 -1
- package/dist/core/knowledge-graph/types.d.ts.map +1 -1
- package/dist/core/knowledge-graph/types.js.map +1 -1
- package/dist/core/memory/access-heatmap.d.ts.map +1 -1
- package/dist/core/memory/access-heatmap.js +6 -8
- package/dist/core/memory/access-heatmap.js.map +1 -1
- package/dist/core/memory/adaptive-strategy.d.ts +1 -1
- package/dist/core/memory/adaptive-strategy.d.ts.map +1 -1
- package/dist/core/memory/adaptive-strategy.js +12 -16
- package/dist/core/memory/adaptive-strategy.js.map +1 -1
- package/dist/core/memory/consolidation.d.ts +2 -2
- package/dist/core/memory/consolidation.d.ts.map +1 -1
- package/dist/core/memory/consolidation.js +45 -58
- package/dist/core/memory/consolidation.js.map +1 -1
- package/dist/core/memory/cross-linker.d.ts +1 -1
- package/dist/core/memory/cross-linker.d.ts.map +1 -1
- package/dist/core/memory/cross-linker.js +11 -13
- package/dist/core/memory/cross-linker.js.map +1 -1
- package/dist/core/memory/distillation.d.ts +1 -1
- package/dist/core/memory/distillation.d.ts.map +1 -1
- package/dist/core/memory/distillation.js +83 -23
- package/dist/core/memory/distillation.js.map +1 -1
- package/dist/core/memory/failure-registry.d.ts.map +1 -1
- package/dist/core/memory/failure-registry.js +10 -9
- package/dist/core/memory/failure-registry.js.map +1 -1
- package/dist/core/memory/formatters.d.ts +1 -1
- package/dist/core/memory/formatters.d.ts.map +1 -1
- package/dist/core/memory/formatters.js +3 -3
- package/dist/core/memory/formatters.js.map +1 -1
- package/dist/core/memory/global-memory.d.ts +1 -1
- package/dist/core/memory/global-memory.d.ts.map +1 -1
- package/dist/core/memory/global-memory.js +23 -18
- package/dist/core/memory/global-memory.js.map +1 -1
- package/dist/core/memory/graph.d.ts.map +1 -1
- package/dist/core/memory/graph.js +34 -23
- package/dist/core/memory/graph.js.map +1 -1
- package/dist/core/memory/hybrid-retrieval.d.ts +1 -1
- package/dist/core/memory/hybrid-retrieval.d.ts.map +1 -1
- package/dist/core/memory/hybrid-retrieval.js +13 -11
- package/dist/core/memory/hybrid-retrieval.js.map +1 -1
- package/dist/core/memory/index.d.ts +30 -36
- package/dist/core/memory/index.d.ts.map +1 -1
- package/dist/core/memory/index.js +220 -224
- package/dist/core/memory/index.js.map +1 -1
- package/dist/core/memory/memory-capture-agent.d.ts +1 -1
- package/dist/core/memory/memory-capture-agent.d.ts.map +1 -1
- package/dist/core/memory/memory-capture-agent.js +109 -18
- package/dist/core/memory/memory-capture-agent.js.map +1 -1
- package/dist/core/memory/memory-decay.d.ts +1 -1
- package/dist/core/memory/memory-decay.d.ts.map +1 -1
- package/dist/core/memory/memory-decay.js +7 -9
- package/dist/core/memory/memory-decay.js.map +1 -1
- package/dist/core/memory/memory-rehearsal-agent.d.ts +2 -2
- package/dist/core/memory/memory-rehearsal-agent.d.ts.map +1 -1
- package/dist/core/memory/memory-rehearsal-agent.js +8 -9
- package/dist/core/memory/memory-rehearsal-agent.js.map +1 -1
- package/dist/core/memory/memory-retrieval-agent.d.ts +1 -1
- package/dist/core/memory/memory-retrieval-agent.d.ts.map +1 -1
- package/dist/core/memory/memory-retrieval-agent.js +12 -12
- package/dist/core/memory/memory-retrieval-agent.js.map +1 -1
- package/dist/core/memory/memory-staging.d.ts +1 -1
- package/dist/core/memory/memory-staging.d.ts.map +1 -1
- package/dist/core/memory/memory-staging.js +8 -8
- package/dist/core/memory/memory-staging.js.map +1 -1
- package/dist/core/memory/memory-store.d.ts +2 -2
- package/dist/core/memory/memory-store.d.ts.map +1 -1
- package/dist/core/memory/memory-store.js +13 -13
- package/dist/core/memory/memory-store.js.map +1 -1
- package/dist/core/memory/pattern-feedback.d.ts +1 -1
- package/dist/core/memory/pattern-feedback.d.ts.map +1 -1
- package/dist/core/memory/pattern-feedback.js +3 -5
- package/dist/core/memory/pattern-feedback.js.map +1 -1
- package/dist/core/memory/pattern-learner.d.ts.map +1 -1
- package/dist/core/memory/pattern-learner.js +13 -13
- package/dist/core/memory/pattern-learner.js.map +1 -1
- package/dist/core/memory/proactive-extractor.d.ts.map +1 -1
- package/dist/core/memory/proactive-extractor.js +3 -5
- package/dist/core/memory/proactive-extractor.js.map +1 -1
- package/dist/core/memory/recitation.d.ts.map +1 -1
- package/dist/core/memory/recitation.js +6 -16
- package/dist/core/memory/recitation.js.map +1 -1
- package/dist/core/memory/retrieval-optimizer.d.ts.map +1 -1
- package/dist/core/memory/retrieval-optimizer.js +16 -19
- package/dist/core/memory/retrieval-optimizer.js.map +1 -1
- package/dist/core/memory/retrieval.d.ts +1 -1
- package/dist/core/memory/retrieval.d.ts.map +1 -1
- package/dist/core/memory/retrieval.js +4 -5
- package/dist/core/memory/retrieval.js.map +1 -1
- package/dist/core/memory/semantic-recall.d.ts +2 -2
- package/dist/core/memory/semantic-recall.d.ts.map +1 -1
- package/dist/core/memory/semantic-recall.js +7 -9
- package/dist/core/memory/semantic-recall.js.map +1 -1
- package/dist/core/memory/semantic-validation.d.ts.map +1 -1
- package/dist/core/memory/semantic-validation.js +22 -21
- package/dist/core/memory/semantic-validation.js.map +1 -1
- package/dist/core/memory/similarity-utils.d.ts +1 -1
- package/dist/core/memory/similarity-utils.d.ts.map +1 -1
- package/dist/core/memory/similarity-utils.js +2 -3
- package/dist/core/memory/similarity-utils.js.map +1 -1
- package/dist/core/memory/spaced-repetition.d.ts.map +1 -1
- package/dist/core/memory/spaced-repetition.js +10 -9
- package/dist/core/memory/spaced-repetition.js.map +1 -1
- package/dist/core/memory/store.d.ts +1 -1
- package/dist/core/memory/store.d.ts.map +1 -1
- package/dist/core/memory/store.js +4 -4
- package/dist/core/memory/store.js.map +1 -1
- package/dist/core/memory/types.d.ts.map +1 -1
- package/dist/core/memory/types.js +4 -4
- package/dist/core/memory/types.js.map +1 -1
- package/dist/core/memory/virtual-memory.d.ts +1 -1
- package/dist/core/memory/virtual-memory.d.ts.map +1 -1
- package/dist/core/memory/virtual-memory.js +23 -35
- package/dist/core/memory/virtual-memory.js.map +1 -1
- package/dist/core/memory/xml-utils.d.ts +1 -1
- package/dist/core/memory/xml-utils.d.ts.map +1 -1
- package/dist/core/memory/xml-utils.js +7 -8
- package/dist/core/memory/xml-utils.js.map +1 -1
- package/dist/core/metrics/__tests__/metrics-collector.test.js +8 -8
- package/dist/core/metrics/__tests__/metrics-collector.test.js.map +1 -1
- package/dist/core/metrics/index.d.ts +2 -2
- package/dist/core/metrics/index.d.ts.map +1 -1
- package/dist/core/metrics/index.js +17 -17
- package/dist/core/metrics/index.js.map +1 -1
- package/dist/core/metrics/metrics-collector.d.ts +5 -1
- package/dist/core/metrics/metrics-collector.d.ts.map +1 -1
- package/dist/core/metrics/metrics-collector.js +20 -18
- package/dist/core/metrics/metrics-collector.js.map +1 -1
- package/dist/core/metrics/metrics-schema.d.ts +5 -1
- package/dist/core/metrics/metrics-schema.d.ts.map +1 -1
- package/dist/core/metrics/metrics-schema.js +3 -2
- package/dist/core/metrics/metrics-schema.js.map +1 -1
- package/dist/core/plans/index.d.ts.map +1 -1
- package/dist/core/plans/index.js.map +1 -1
- package/dist/core/plans/plan-manager.d.ts.map +1 -1
- package/dist/core/plans/plan-manager.js +15 -8
- package/dist/core/plans/plan-manager.js.map +1 -1
- package/dist/core/profiling/index.d.ts.map +1 -1
- package/dist/core/profiling/index.js.map +1 -1
- package/dist/core/profiling/operation-profiler.d.ts.map +1 -1
- package/dist/core/profiling/operation-profiler.js +8 -9
- package/dist/core/profiling/operation-profiler.js.map +1 -1
- package/dist/core/profiling/perf-report-generator.d.ts.map +1 -1
- package/dist/core/profiling/perf-report-generator.js +0 -2
- package/dist/core/profiling/perf-report-generator.js.map +1 -1
- package/dist/core/provider/index.d.ts.map +1 -1
- package/dist/core/provider/index.js.map +1 -1
- package/dist/core/provider/storage.d.ts.map +1 -1
- package/dist/core/provider/storage.js +15 -15
- package/dist/core/provider/storage.js.map +1 -1
- package/dist/core/ralph/git-integration.d.ts +56 -0
- package/dist/core/ralph/git-integration.d.ts.map +1 -1
- package/dist/core/ralph/git-integration.js +182 -5
- package/dist/core/ralph/git-integration.js.map +1 -1
- package/dist/core/ralph/index.d.ts +15 -13
- package/dist/core/ralph/index.d.ts.map +1 -1
- package/dist/core/ralph/index.js +14 -11
- package/dist/core/ralph/index.js.map +1 -1
- package/dist/core/ralph/learning-consolidator.d.ts +1 -1
- package/dist/core/ralph/learning-consolidator.d.ts.map +1 -1
- package/dist/core/ralph/learning-consolidator.js +141 -33
- package/dist/core/ralph/learning-consolidator.js.map +1 -1
- package/dist/core/ralph/metrics.d.ts +1 -1
- package/dist/core/ralph/metrics.d.ts.map +1 -1
- package/dist/core/ralph/metrics.js +14 -22
- package/dist/core/ralph/metrics.js.map +1 -1
- package/dist/core/ralph/prd-generator.d.ts +1 -1
- package/dist/core/ralph/prd-generator.d.ts.map +1 -1
- package/dist/core/ralph/prd-generator.js +21 -21
- package/dist/core/ralph/prd-generator.js.map +1 -1
- package/dist/core/ralph/progress-tracker.d.ts +1 -1
- package/dist/core/ralph/progress-tracker.d.ts.map +1 -1
- package/dist/core/ralph/progress-tracker.js +27 -28
- package/dist/core/ralph/progress-tracker.js.map +1 -1
- package/dist/core/ralph/state-handler.d.ts +141 -0
- package/dist/core/ralph/state-handler.d.ts.map +1 -0
- package/dist/core/ralph/state-handler.js +465 -0
- package/dist/core/ralph/state-handler.js.map +1 -0
- package/dist/core/ralph/sub-agent-spawner.d.ts +1 -1
- package/dist/core/ralph/sub-agent-spawner.d.ts.map +1 -1
- package/dist/core/ralph/sub-agent-spawner.js +14 -16
- package/dist/core/ralph/sub-agent-spawner.js.map +1 -1
- package/dist/core/ralph/task-integration.d.ts +1 -1
- package/dist/core/ralph/task-integration.d.ts.map +1 -1
- package/dist/core/ralph/task-integration.js +13 -16
- package/dist/core/ralph/task-integration.js.map +1 -1
- package/dist/core/ralph/types.d.ts +6 -0
- package/dist/core/ralph/types.d.ts.map +1 -1
- package/dist/core/ralph/types.js +8 -2
- package/dist/core/ralph/types.js.map +1 -1
- package/dist/core/recommendations/heuristics.d.ts.map +1 -1
- package/dist/core/recommendations/heuristics.js +9 -5
- package/dist/core/recommendations/heuristics.js.map +1 -1
- package/dist/core/recommendations/priority-scorer.d.ts.map +1 -1
- package/dist/core/recommendations/priority-scorer.js +3 -5
- package/dist/core/recommendations/priority-scorer.js.map +1 -1
- package/dist/core/recommendations/recommendation-engine.d.ts.map +1 -1
- package/dist/core/recommendations/recommendation-engine.js +23 -23
- package/dist/core/recommendations/recommendation-engine.js.map +1 -1
- package/dist/core/retrieval/hybrid.d.ts +2 -2
- package/dist/core/retrieval/hybrid.d.ts.map +1 -1
- package/dist/core/retrieval/hybrid.js +3 -3
- package/dist/core/retrieval/hybrid.js.map +1 -1
- package/dist/core/retrieval/index.d.ts +5 -5
- package/dist/core/retrieval/index.d.ts.map +1 -1
- package/dist/core/retrieval/index.js +3 -3
- package/dist/core/retrieval/index.js.map +1 -1
- package/dist/core/retrieval/ranker.d.ts.map +1 -1
- package/dist/core/retrieval/ranker.js +17 -15
- package/dist/core/retrieval/ranker.js.map +1 -1
- package/dist/core/retrieval/stages.d.ts +5 -5
- package/dist/core/retrieval/stages.d.ts.map +1 -1
- package/dist/core/retrieval/stages.js +15 -16
- package/dist/core/retrieval/stages.js.map +1 -1
- package/dist/core/retrieval/types.d.ts.map +1 -1
- package/dist/core/retrieval/types.js.map +1 -1
- package/dist/core/session/index.d.ts +1 -1
- package/dist/core/session/index.d.ts.map +1 -1
- package/dist/core/session/index.js +1 -1
- package/dist/core/session/index.js.map +1 -1
- package/dist/core/session/roadmap-sync.d.ts.map +1 -1
- package/dist/core/session/roadmap-sync.js +13 -13
- package/dist/core/session/roadmap-sync.js.map +1 -1
- package/dist/core/settings-validator.d.ts +68 -0
- package/dist/core/settings-validator.d.ts.map +1 -0
- package/dist/core/settings-validator.js +406 -0
- package/dist/core/settings-validator.js.map +1 -0
- package/dist/core/spec-analyzer/feedback.d.ts +1 -1
- package/dist/core/spec-analyzer/feedback.d.ts.map +1 -1
- package/dist/core/spec-analyzer/feedback.js +8 -4
- package/dist/core/spec-analyzer/feedback.js.map +1 -1
- package/dist/core/spec-analyzer/index.d.ts +3 -3
- package/dist/core/spec-analyzer/index.d.ts.map +1 -1
- package/dist/core/spec-analyzer/index.js +4 -4
- package/dist/core/spec-analyzer/index.js.map +1 -1
- package/dist/core/spec-analyzer/learning-engine.d.ts +1 -1
- package/dist/core/spec-analyzer/learning-engine.d.ts.map +1 -1
- package/dist/core/spec-analyzer/learning-engine.js +6 -4
- package/dist/core/spec-analyzer/learning-engine.js.map +1 -1
- package/dist/core/spec-analyzer/outcome-store.d.ts +1 -1
- package/dist/core/spec-analyzer/outcome-store.d.ts.map +1 -1
- package/dist/core/spec-analyzer/outcome-store.js +11 -25
- package/dist/core/spec-analyzer/outcome-store.js.map +1 -1
- package/dist/core/spec-analyzer/question-context.d.ts.map +1 -1
- package/dist/core/spec-analyzer/question-context.js +8 -15
- package/dist/core/spec-analyzer/question-context.js.map +1 -1
- package/dist/core/spec-analyzer/question-generator.d.ts.map +1 -1
- package/dist/core/spec-analyzer/question-generator.js +7 -8
- package/dist/core/spec-analyzer/question-generator.js.map +1 -1
- package/dist/core/spec-analyzer/question-templates.d.ts.map +1 -1
- package/dist/core/spec-analyzer/question-templates.js +5 -18
- package/dist/core/spec-analyzer/question-templates.js.map +1 -1
- package/dist/core/spec-analyzer/question-types.d.ts.map +1 -1
- package/dist/core/spec-analyzer/question-types.js.map +1 -1
- package/dist/core/spec-analyzer/types.d.ts.map +1 -1
- package/dist/core/spec-analyzer/types.js.map +1 -1
- package/dist/core/tasks/index.d.ts +2 -2
- package/dist/core/tasks/index.d.ts.map +1 -1
- package/dist/core/tasks/index.js +7 -7
- package/dist/core/tasks/index.js.map +1 -1
- package/dist/core/tasks/registry.d.ts +1 -1
- package/dist/core/tasks/registry.d.ts.map +1 -1
- package/dist/core/tasks/registry.js +2 -4
- package/dist/core/tasks/registry.js.map +1 -1
- package/dist/core/tasks/todo-sync.d.ts +1 -1
- package/dist/core/tasks/todo-sync.d.ts.map +1 -1
- package/dist/core/tasks/todo-sync.js +2 -2
- package/dist/core/tasks/todo-sync.js.map +1 -1
- package/dist/core/tasks/types.d.ts.map +1 -1
- package/dist/core/tasks/types.js.map +1 -1
- package/dist/core/test-optimization/file-test-mapper.d.ts +1 -1
- package/dist/core/test-optimization/file-test-mapper.d.ts.map +1 -1
- package/dist/core/test-optimization/file-test-mapper.js +3 -5
- package/dist/core/test-optimization/file-test-mapper.js.map +1 -1
- package/dist/core/test-optimization/impact-analyzer.d.ts.map +1 -1
- package/dist/core/test-optimization/impact-analyzer.js +5 -5
- package/dist/core/test-optimization/impact-analyzer.js.map +1 -1
- package/dist/core/test-optimization/index.d.ts +6 -6
- package/dist/core/test-optimization/index.d.ts.map +1 -1
- package/dist/core/test-optimization/index.js +6 -6
- package/dist/core/test-optimization/index.js.map +1 -1
- package/dist/core/test-optimization/scope-analyzer.d.ts +1 -1
- package/dist/core/test-optimization/scope-analyzer.d.ts.map +1 -1
- package/dist/core/test-optimization/scope-analyzer.js +33 -14
- package/dist/core/test-optimization/scope-analyzer.js.map +1 -1
- package/dist/core/test-optimization/test-state-manager.d.ts +13 -1
- package/dist/core/test-optimization/test-state-manager.d.ts.map +1 -1
- package/dist/core/test-optimization/test-state-manager.js +25 -2
- package/dist/core/test-optimization/test-state-manager.js.map +1 -1
- package/dist/core/test-optimization/types.d.ts +8 -0
- package/dist/core/test-optimization/types.d.ts.map +1 -1
- package/dist/core/traces/context-transitions.d.ts +1 -1
- package/dist/core/traces/context-transitions.d.ts.map +1 -1
- package/dist/core/traces/context-transitions.js +6 -8
- package/dist/core/traces/context-transitions.js.map +1 -1
- package/dist/core/traces/execution-tree.d.ts +1 -1
- package/dist/core/traces/execution-tree.d.ts.map +1 -1
- package/dist/core/traces/execution-tree.js +16 -10
- package/dist/core/traces/execution-tree.js.map +1 -1
- package/dist/core/traces/index.d.ts +7 -7
- package/dist/core/traces/index.d.ts.map +1 -1
- package/dist/core/traces/index.js +17 -17
- package/dist/core/traces/index.js.map +1 -1
- package/dist/core/traces/memory-access-log.d.ts +1 -1
- package/dist/core/traces/memory-access-log.d.ts.map +1 -1
- package/dist/core/traces/memory-access-log.js +3 -3
- package/dist/core/traces/memory-access-log.js.map +1 -1
- package/dist/core/traces/trace-exporter.d.ts +1 -1
- package/dist/core/traces/trace-exporter.d.ts.map +1 -1
- package/dist/core/traces/trace-exporter.js +533 -522
- package/dist/core/traces/trace-exporter.js.map +1 -1
- package/dist/core/traces/types.d.ts.map +1 -1
- package/dist/core/traces/types.js.map +1 -1
- package/dist/core/updater/deprecated-files.d.ts.map +1 -1
- package/dist/core/updater/deprecated-files.js +1 -1
- package/dist/core/updater/deprecated-files.js.map +1 -1
- package/dist/core/updater/index.d.ts +6 -6
- package/dist/core/updater/index.d.ts.map +1 -1
- package/dist/core/updater/index.js +6 -6
- package/dist/core/updater/index.js.map +1 -1
- package/dist/core/updater/types.d.ts +2 -2
- package/dist/core/updater/types.d.ts.map +1 -1
- package/dist/core/updater/types.js +2 -2
- package/dist/core/updater/types.js.map +1 -1
- package/dist/core/updater/update-executor.d.ts +1 -1
- package/dist/core/updater/update-executor.d.ts.map +1 -1
- package/dist/core/updater/update-executor.js +7 -10
- package/dist/core/updater/update-executor.js.map +1 -1
- package/dist/core/updater/version-checker.d.ts +1 -1
- package/dist/core/updater/version-checker.d.ts.map +1 -1
- package/dist/core/updater/version-checker.js +8 -8
- package/dist/core/updater/version-checker.js.map +1 -1
- package/dist/core/validation/ambiguity-detector.d.ts +1 -1
- package/dist/core/validation/ambiguity-detector.d.ts.map +1 -1
- package/dist/core/validation/ambiguity-detector.js +1 -1
- package/dist/core/validation/ambiguity-detector.js.map +1 -1
- package/dist/core/validation/confidence-display.d.ts.map +1 -1
- package/dist/core/validation/confidence-display.js +1 -1
- package/dist/core/validation/confidence-display.js.map +1 -1
- package/dist/core/validation/confidence-scorer.d.ts +1 -1
- package/dist/core/validation/confidence-scorer.d.ts.map +1 -1
- package/dist/core/validation/confidence-scorer.js +2 -3
- package/dist/core/validation/confidence-scorer.js.map +1 -1
- package/dist/core/validation/edge-case-analyzer.d.ts +1 -1
- package/dist/core/validation/edge-case-analyzer.d.ts.map +1 -1
- package/dist/core/validation/edge-case-analyzer.js +1 -1
- package/dist/core/validation/edge-case-analyzer.js.map +1 -1
- package/dist/core/validation/engine.d.ts +2 -2
- package/dist/core/validation/engine.d.ts.map +1 -1
- package/dist/core/validation/engine.js +4 -4
- package/dist/core/validation/engine.js.map +1 -1
- package/dist/core/validation/impact-assessor.d.ts +1 -1
- package/dist/core/validation/impact-assessor.d.ts.map +1 -1
- package/dist/core/validation/impact-assessor.js +5 -1
- package/dist/core/validation/impact-assessor.js.map +1 -1
- package/dist/core/validation/index.d.ts +11 -11
- package/dist/core/validation/index.d.ts.map +1 -1
- package/dist/core/validation/index.js +11 -11
- package/dist/core/validation/index.js.map +1 -1
- package/dist/core/validation/pattern-trust.d.ts.map +1 -1
- package/dist/core/validation/pattern-trust.js +3 -3
- package/dist/core/validation/pattern-trust.js.map +1 -1
- package/dist/core/validation/question-generator.d.ts +1 -1
- package/dist/core/validation/question-generator.d.ts.map +1 -1
- package/dist/core/validation/question-generator.js +10 -6
- package/dist/core/validation/question-generator.js.map +1 -1
- package/dist/core/validation/rules.d.ts +1 -1
- package/dist/core/validation/rules.d.ts.map +1 -1
- package/dist/core/validation/rules.js +2 -2
- package/dist/core/validation/rules.js.map +1 -1
- package/dist/core/validation/types.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +3 -5
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -6
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/post-edit.d.ts.map +1 -1
- package/dist/hooks/post-edit.js +699 -699
- package/dist/hooks/post-edit.js.map +1 -1
- package/dist/hooks/post-execution.d.ts.map +1 -1
- package/dist/hooks/post-execution.js +615 -615
- package/dist/hooks/post-execution.js.map +1 -1
- package/dist/hooks/post-typecheck.d.ts +21 -0
- package/dist/hooks/post-typecheck.d.ts.map +1 -0
- package/dist/hooks/post-typecheck.js +349 -0
- package/dist/hooks/post-typecheck.js.map +1 -0
- package/dist/hooks/pre-compact.d.ts.map +1 -1
- package/dist/hooks/pre-compact.js +415 -415
- package/dist/hooks/pre-compact.js.map +1 -1
- package/dist/hooks/pre-tool-use.d.ts.map +1 -1
- package/dist/hooks/pre-tool-use.js +309 -309
- package/dist/hooks/pre-tool-use.js.map +1 -1
- package/dist/hooks/pre-validate.d.ts.map +1 -1
- package/dist/hooks/pre-validate.js +542 -542
- package/dist/hooks/pre-validate.js.map +1 -1
- package/dist/hooks/session-end.d.ts.map +1 -1
- package/dist/hooks/session-end.js +157 -157
- package/dist/hooks/session-end.js.map +1 -1
- package/dist/hooks/session-start-verify.d.ts.map +1 -1
- package/dist/hooks/session-start-verify.js +10 -11
- package/dist/hooks/session-start-verify.js.map +1 -1
- package/dist/hooks/session-start.d.ts +7 -1
- package/dist/hooks/session-start.d.ts.map +1 -1
- package/dist/hooks/session-start.js +897 -734
- package/dist/hooks/session-start.js.map +1 -1
- package/dist/hooks/shared/index.d.ts +1 -1
- package/dist/hooks/shared/index.d.ts.map +1 -1
- package/dist/hooks/shared/index.js +39 -46
- package/dist/hooks/shared/index.js.map +1 -1
- package/dist/hooks/shared/paths.d.ts.map +1 -1
- package/dist/hooks/shared/paths.js +27 -27
- package/dist/hooks/shared/paths.js.map +1 -1
- package/dist/hooks/shared/session.d.ts +4 -0
- package/dist/hooks/shared/session.d.ts.map +1 -1
- package/dist/hooks/shared/session.js +68 -59
- package/dist/hooks/shared/session.js.map +1 -1
- package/dist/hooks/shared/utils.d.ts +1 -1
- package/dist/hooks/shared/utils.d.ts.map +1 -1
- package/dist/hooks/shared/utils.js +43 -43
- package/dist/hooks/shared/utils.js.map +1 -1
- package/dist/hooks/subagent-start.d.ts.map +1 -1
- package/dist/hooks/subagent-start.js.map +1 -1
- package/dist/hooks/subagent-stop.d.ts.map +1 -1
- package/dist/hooks/subagent-stop.js +222 -222
- package/dist/hooks/subagent-stop.js.map +1 -1
- package/dist/hooks/types.d.ts +14 -0
- package/dist/hooks/types.d.ts.map +1 -1
- package/dist/hooks/types.js.map +1 -1
- package/dist/hooks/user-prompt-submit.d.ts.map +1 -1
- package/dist/hooks/user-prompt-submit.js +951 -951
- package/dist/hooks/user-prompt-submit.js.map +1 -1
- package/dist/hud/config-counter.d.ts.map +1 -1
- package/dist/hud/config-counter.js +3 -6
- package/dist/hud/config-counter.js.map +1 -1
- package/dist/hud/config.d.ts.map +1 -1
- package/dist/hud/config.js +2 -2
- package/dist/hud/config.js.map +1 -1
- package/dist/hud/context-tracker.d.ts.map +1 -1
- package/dist/hud/context-tracker.js +2 -2
- package/dist/hud/context-tracker.js.map +1 -1
- package/dist/hud/index.d.ts +10 -10
- package/dist/hud/index.d.ts.map +1 -1
- package/dist/hud/index.js +22 -22
- package/dist/hud/index.js.map +1 -1
- package/dist/hud/mcp-status.d.ts.map +1 -1
- package/dist/hud/mcp-status.js +3 -3
- package/dist/hud/mcp-status.js.map +1 -1
- package/dist/hud/plan-detector.d.ts.map +1 -1
- package/dist/hud/plan-detector.js +2 -2
- package/dist/hud/plan-detector.js.map +1 -1
- package/dist/hud/render/agent-status.d.ts.map +1 -1
- package/dist/hud/render/agent-status.js +4 -8
- package/dist/hud/render/agent-status.js.map +1 -1
- package/dist/hud/render/blockers-badge.d.ts +1 -1
- package/dist/hud/render/blockers-badge.d.ts.map +1 -1
- package/dist/hud/render/blockers-badge.js.map +1 -1
- package/dist/hud/render/budget-bar.d.ts +1 -1
- package/dist/hud/render/budget-bar.d.ts.map +1 -1
- package/dist/hud/render/budget-bar.js +0 -1
- package/dist/hud/render/budget-bar.js.map +1 -1
- package/dist/hud/render/budget-pressure.d.ts +1 -1
- package/dist/hud/render/budget-pressure.d.ts.map +1 -1
- package/dist/hud/render/budget-pressure.js.map +1 -1
- package/dist/hud/render/cache-stats.d.ts +1 -1
- package/dist/hud/render/cache-stats.d.ts.map +1 -1
- package/dist/hud/render/cache-stats.js.map +1 -1
- package/dist/hud/render/circuit.d.ts +1 -1
- package/dist/hud/render/circuit.d.ts.map +1 -1
- package/dist/hud/render/circuit.js +2 -6
- package/dist/hud/render/circuit.js.map +1 -1
- package/dist/hud/render/config-counts.d.ts.map +1 -1
- package/dist/hud/render/config-counts.js.map +1 -1
- package/dist/hud/render/context-health.d.ts +1 -1
- package/dist/hud/render/context-health.d.ts.map +1 -1
- package/dist/hud/render/context-health.js.map +1 -1
- package/dist/hud/render/cost-display.d.ts +1 -1
- package/dist/hud/render/cost-display.d.ts.map +1 -1
- package/dist/hud/render/cost-display.js.map +1 -1
- package/dist/hud/render/deferred-status.d.ts +1 -1
- package/dist/hud/render/deferred-status.d.ts.map +1 -1
- package/dist/hud/render/deferred-status.js.map +1 -1
- package/dist/hud/render/focus-display.d.ts +1 -1
- package/dist/hud/render/focus-display.d.ts.map +1 -1
- package/dist/hud/render/focus-display.js +2 -2
- package/dist/hud/render/focus-display.js.map +1 -1
- package/dist/hud/render/git-status.d.ts +1 -1
- package/dist/hud/render/git-status.d.ts.map +1 -1
- package/dist/hud/render/git-status.js +1 -1
- package/dist/hud/render/git-status.js.map +1 -1
- package/dist/hud/render/index.d.ts +19 -19
- package/dist/hud/render/index.d.ts.map +1 -1
- package/dist/hud/render/index.js +29 -29
- package/dist/hud/render/index.js.map +1 -1
- package/dist/hud/render/layouts.d.ts +1 -1
- package/dist/hud/render/layouts.d.ts.map +1 -1
- package/dist/hud/render/layouts.js +20 -18
- package/dist/hud/render/layouts.js.map +1 -1
- package/dist/hud/render/model-plan.d.ts.map +1 -1
- package/dist/hud/render/model-plan.js.map +1 -1
- package/dist/hud/render/phase-indicator.d.ts.map +1 -1
- package/dist/hud/render/phase-indicator.js.map +1 -1
- package/dist/hud/render/session-limit.d.ts +1 -1
- package/dist/hud/render/session-limit.d.ts.map +1 -1
- package/dist/hud/render/session-limit.js +0 -1
- package/dist/hud/render/session-limit.js.map +1 -1
- package/dist/hud/render/session-timer.d.ts.map +1 -1
- package/dist/hud/render/session-timer.js.map +1 -1
- package/dist/hud/render/status-icons.d.ts +1 -1
- package/dist/hud/render/status-icons.d.ts.map +1 -1
- package/dist/hud/render/status-icons.js +1 -3
- package/dist/hud/render/status-icons.js.map +1 -1
- package/dist/hud/render/todo-progress.d.ts +1 -1
- package/dist/hud/render/todo-progress.d.ts.map +1 -1
- package/dist/hud/render/todo-progress.js +10 -14
- package/dist/hud/render/todo-progress.js.map +1 -1
- package/dist/hud/render/tool-usage.d.ts +1 -1
- package/dist/hud/render/tool-usage.d.ts.map +1 -1
- package/dist/hud/render/tool-usage.js +4 -8
- package/dist/hud/render/tool-usage.js.map +1 -1
- package/dist/hud/render/tools.d.ts.map +1 -1
- package/dist/hud/render/tools.js +3 -7
- package/dist/hud/render/tools.js.map +1 -1
- package/dist/hud/render/weekly-usage.d.ts +1 -1
- package/dist/hud/render/weekly-usage.d.ts.map +1 -1
- package/dist/hud/render/weekly-usage.js +0 -1
- package/dist/hud/render/weekly-usage.js.map +1 -1
- package/dist/hud/session-reader.d.ts +1 -1
- package/dist/hud/session-reader.d.ts.map +1 -1
- package/dist/hud/session-reader.js +6 -6
- package/dist/hud/session-reader.js.map +1 -1
- package/dist/hud/stdin.d.ts.map +1 -1
- package/dist/hud/stdin.js +8 -6
- package/dist/hud/stdin.js.map +1 -1
- package/dist/hud/transcript-reader.d.ts +1 -1
- package/dist/hud/transcript-reader.d.ts.map +1 -1
- package/dist/hud/transcript-reader.js +37 -18
- package/dist/hud/transcript-reader.js.map +1 -1
- package/dist/hud/types.d.ts +1 -1
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/usage-api.d.ts.map +1 -1
- package/dist/hud/usage-api.js +6 -6
- package/dist/hud/usage-api.js.map +1 -1
- package/dist/hud/usage-rotation.d.ts.map +1 -1
- package/dist/hud/usage-rotation.js +3 -3
- package/dist/hud/usage-rotation.js.map +1 -1
- package/dist/hud/usage-tracker.d.ts +1 -1
- package/dist/hud/usage-tracker.d.ts.map +1 -1
- package/dist/hud/usage-tracker.js +7 -8
- package/dist/hud/usage-tracker.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/mcp/__tests__/dynamic-updates.test.js +22 -13
- package/dist/mcp/__tests__/dynamic-updates.test.js.map +1 -1
- package/dist/mcp/cache.d.ts.map +1 -1
- package/dist/mcp/cache.js.map +1 -1
- package/dist/mcp/dynamic-updates.d.ts.map +1 -1
- package/dist/mcp/dynamic-updates.js +2 -2
- package/dist/mcp/dynamic-updates.js.map +1 -1
- package/dist/mcp/focus-filter.d.ts.map +1 -1
- package/dist/mcp/focus-filter.js +78 -78
- package/dist/mcp/focus-filter.js.map +1 -1
- package/dist/mcp/focus-tag-learner.d.ts +5 -1
- package/dist/mcp/focus-tag-learner.d.ts.map +1 -1
- package/dist/mcp/focus-tag-learner.js +15 -9
- package/dist/mcp/focus-tag-learner.js.map +1 -1
- package/dist/mcp/index.d.ts +4 -4
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +11 -11
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/proximity-tags.d.ts.map +1 -1
- package/dist/mcp/proximity-tags.js +3 -3
- package/dist/mcp/proximity-tags.js.map +1 -1
- package/dist/mcp/registry.d.ts +4 -4
- package/dist/mcp/registry.d.ts.map +1 -1
- package/dist/mcp/registry.js +8 -10
- package/dist/mcp/registry.js.map +1 -1
- package/dist/mcp/resources/index.d.ts +1 -1
- package/dist/mcp/resources/index.d.ts.map +1 -1
- package/dist/mcp/resources/index.js +22 -15
- package/dist/mcp/resources/index.js.map +1 -1
- package/dist/mcp/server.d.ts +2 -2
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +19 -13
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/setup.d.ts +1 -1
- package/dist/mcp/setup.d.ts.map +1 -1
- package/dist/mcp/setup.js +19 -16
- package/dist/mcp/setup.js.map +1 -1
- package/dist/mcp/tool-catalog.d.ts.map +1 -1
- package/dist/mcp/tool-catalog.js +44 -16
- package/dist/mcp/tool-catalog.js.map +1 -1
- package/dist/mcp/tool-loader.d.ts +2 -2
- package/dist/mcp/tool-loader.d.ts.map +1 -1
- package/dist/mcp/tool-loader.js +1 -1
- package/dist/mcp/tool-loader.js.map +1 -1
- package/dist/mcp/tool-recommender.d.ts +1 -1
- package/dist/mcp/tool-recommender.d.ts.map +1 -1
- package/dist/mcp/tool-recommender.js +103 -28
- package/dist/mcp/tool-recommender.js.map +1 -1
- package/dist/mcp/tool-tiers.d.ts.map +1 -1
- package/dist/mcp/tool-tiers.js.map +1 -1
- package/dist/mcp/tools/__tests__/environment.test.js +6 -6
- package/dist/mcp/tools/__tests__/environment.test.js.map +1 -1
- package/dist/mcp/tools/agents.d.ts +4 -0
- package/dist/mcp/tools/agents.d.ts.map +1 -1
- package/dist/mcp/tools/agents.js +215 -60
- package/dist/mcp/tools/agents.js.map +1 -1
- package/dist/mcp/tools/auto-inject.d.ts.map +1 -1
- package/dist/mcp/tools/auto-inject.js +3 -3
- package/dist/mcp/tools/auto-inject.js.map +1 -1
- package/dist/mcp/tools/auto-unload.d.ts.map +1 -1
- package/dist/mcp/tools/auto-unload.js +8 -11
- package/dist/mcp/tools/auto-unload.js.map +1 -1
- package/dist/mcp/tools/chunking.d.ts.map +1 -1
- package/dist/mcp/tools/chunking.js +8 -12
- package/dist/mcp/tools/chunking.js.map +1 -1
- package/dist/mcp/tools/config-validate.d.ts +27 -0
- package/dist/mcp/tools/config-validate.d.ts.map +1 -0
- package/dist/mcp/tools/config-validate.js +139 -0
- package/dist/mcp/tools/config-validate.js.map +1 -0
- package/dist/mcp/tools/context-repl.d.ts +2 -2
- package/dist/mcp/tools/context-repl.d.ts.map +1 -1
- package/dist/mcp/tools/context-repl.js +7 -7
- package/dist/mcp/tools/context-repl.js.map +1 -1
- package/dist/mcp/tools/effort.d.ts.map +1 -1
- package/dist/mcp/tools/effort.js +9 -8
- package/dist/mcp/tools/effort.js.map +1 -1
- package/dist/mcp/tools/embeddings.d.ts.map +1 -1
- package/dist/mcp/tools/embeddings.js +3 -3
- package/dist/mcp/tools/embeddings.js.map +1 -1
- package/dist/mcp/tools/environment.d.ts.map +1 -1
- package/dist/mcp/tools/environment.js +10 -10
- package/dist/mcp/tools/environment.js.map +1 -1
- package/dist/mcp/tools/experiments.d.ts +34 -0
- package/dist/mcp/tools/experiments.d.ts.map +1 -0
- package/dist/mcp/tools/experiments.js +212 -0
- package/dist/mcp/tools/experiments.js.map +1 -0
- package/dist/mcp/tools/feedback.d.ts +1 -1
- package/dist/mcp/tools/feedback.d.ts.map +1 -1
- package/dist/mcp/tools/feedback.js +4 -4
- package/dist/mcp/tools/feedback.js.map +1 -1
- package/dist/mcp/tools/health.d.ts.map +1 -1
- package/dist/mcp/tools/health.js +10 -13
- package/dist/mcp/tools/health.js.map +1 -1
- package/dist/mcp/tools/index.d.ts +27 -25
- package/dist/mcp/tools/index.d.ts.map +1 -1
- package/dist/mcp/tools/index.js +48 -32
- package/dist/mcp/tools/index.js.map +1 -1
- package/dist/mcp/tools/knowledge-graph.d.ts +1 -1
- package/dist/mcp/tools/knowledge-graph.d.ts.map +1 -1
- package/dist/mcp/tools/knowledge-graph.js +31 -16
- package/dist/mcp/tools/knowledge-graph.js.map +1 -1
- package/dist/mcp/tools/lazy-context.d.ts +1 -1
- package/dist/mcp/tools/lazy-context.d.ts.map +1 -1
- package/dist/mcp/tools/lazy-context.js +19 -18
- package/dist/mcp/tools/lazy-context.js.map +1 -1
- package/dist/mcp/tools/memory-decay.d.ts.map +1 -1
- package/dist/mcp/tools/memory-decay.js +2 -4
- package/dist/mcp/tools/memory-decay.js.map +1 -1
- package/dist/mcp/tools/memory.d.ts.map +1 -1
- package/dist/mcp/tools/memory.js +6 -6
- package/dist/mcp/tools/memory.js.map +1 -1
- package/dist/mcp/tools/observability.d.ts.map +1 -1
- package/dist/mcp/tools/observability.js +48 -44
- package/dist/mcp/tools/observability.js.map +1 -1
- package/dist/mcp/tools/output-persistence.d.ts.map +1 -1
- package/dist/mcp/tools/output-persistence.js +3 -3
- package/dist/mcp/tools/output-persistence.js.map +1 -1
- package/dist/mcp/tools/plans.d.ts.map +1 -1
- package/dist/mcp/tools/plans.js +3 -7
- package/dist/mcp/tools/plans.js.map +1 -1
- package/dist/mcp/tools/prefetch.d.ts.map +1 -1
- package/dist/mcp/tools/prefetch.js +7 -7
- package/dist/mcp/tools/prefetch.js.map +1 -1
- package/dist/mcp/tools/ralph.d.ts +10 -2
- package/dist/mcp/tools/ralph.d.ts.map +1 -1
- package/dist/mcp/tools/ralph.js +260 -54
- package/dist/mcp/tools/ralph.js.map +1 -1
- package/dist/mcp/tools/recommendations.d.ts.map +1 -1
- package/dist/mcp/tools/recommendations.js +12 -15
- package/dist/mcp/tools/recommendations.js.map +1 -1
- package/dist/mcp/tools/retrieval.d.ts.map +1 -1
- package/dist/mcp/tools/retrieval.js +11 -15
- package/dist/mcp/tools/retrieval.js.map +1 -1
- package/dist/mcp/tools/scripts.d.ts.map +1 -1
- package/dist/mcp/tools/scripts.js +42 -42
- package/dist/mcp/tools/scripts.js.map +1 -1
- package/dist/mcp/tools/session.d.ts +7 -1
- package/dist/mcp/tools/session.d.ts.map +1 -1
- package/dist/mcp/tools/session.js +125 -77
- package/dist/mcp/tools/session.js.map +1 -1
- package/dist/mcp/tools/spec-feedback.d.ts.map +1 -1
- package/dist/mcp/tools/spec-feedback.js +10 -11
- package/dist/mcp/tools/spec-feedback.js.map +1 -1
- package/dist/mcp/tools/tasks.d.ts.map +1 -1
- package/dist/mcp/tools/tasks.js +11 -7
- package/dist/mcp/tools/tasks.js.map +1 -1
- package/dist/mcp/tools/tool-clearing.d.ts.map +1 -1
- package/dist/mcp/tools/tool-clearing.js +9 -12
- package/dist/mcp/tools/tool-clearing.js.map +1 -1
- package/dist/mcp/types.d.ts.map +1 -1
- package/dist/mcp/types.js.map +1 -1
- package/dist/mcp/utils/format-helpers.d.ts.map +1 -1
- package/dist/mcp/utils/format-helpers.js +10 -8
- package/dist/mcp/utils/format-helpers.js.map +1 -1
- package/dist/mcp/utils/index.d.ts +4 -4
- package/dist/mcp/utils/index.d.ts.map +1 -1
- package/dist/mcp/utils/index.js +14 -14
- package/dist/mcp/utils/index.js.map +1 -1
- package/dist/mcp/utils/response-builder.d.ts +1 -1
- package/dist/mcp/utils/response-builder.d.ts.map +1 -1
- package/dist/mcp/utils/response-builder.js +2 -6
- package/dist/mcp/utils/response-builder.js.map +1 -1
- package/dist/mcp/utils/response-helpers.d.ts.map +1 -1
- package/dist/mcp/utils/response-helpers.js.map +1 -1
- package/dist/mcp/utils/session-helpers.d.ts +1 -1
- package/dist/mcp/utils/session-helpers.d.ts.map +1 -1
- package/dist/mcp/utils/session-helpers.js +13 -17
- package/dist/mcp/utils/session-helpers.js.map +1 -1
- package/dist/mcp-server.d.ts +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +15 -15
- package/dist/mcp-server.js.map +1 -1
- package/dist/plugin/index.d.ts +1 -1
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/index.js +12 -22
- package/dist/plugin/index.js.map +1 -1
- package/dist/plugin/loader.d.ts +1 -1
- package/dist/plugin/loader.d.ts.map +1 -1
- package/dist/plugin/loader.js +2 -2
- package/dist/plugin/loader.js.map +1 -1
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/index.js +801 -801
- package/dist/rules/index.js.map +1 -1
- package/dist/skills/index.d.ts.map +1 -1
- package/dist/skills/index.js +985 -955
- package/dist/skills/index.js.map +1 -1
- package/dist/statusline/budget-tracker.d.ts.map +1 -1
- package/dist/statusline/budget-tracker.js +5 -8
- package/dist/statusline/budget-tracker.js.map +1 -1
- package/dist/statusline/index.d.ts +1 -1
- package/dist/statusline/index.d.ts.map +1 -1
- package/dist/statusline/index.js +60 -60
- package/dist/statusline/index.js.map +1 -1
- package/dist/store/index.d.ts +4 -4
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/index.js +5 -5
- package/dist/store/index.js.map +1 -1
- package/dist/store/installer.d.ts +1 -1
- package/dist/store/installer.d.ts.map +1 -1
- package/dist/store/installer.js +21 -14
- package/dist/store/installer.js.map +1 -1
- package/dist/store/registry.d.ts +1 -1
- package/dist/store/registry.d.ts.map +1 -1
- package/dist/store/registry.js +3 -3
- package/dist/store/registry.js.map +1 -1
- package/dist/store/remote.d.ts +1 -1
- package/dist/store/remote.d.ts.map +1 -1
- package/dist/store/remote.js +15 -13
- package/dist/store/remote.js.map +1 -1
- package/dist/store/types.d.ts.map +1 -1
- package/dist/store/types.js +2 -2
- package/dist/store/types.js.map +1 -1
- package/dist/utils/ascii-art.d.ts.map +1 -1
- package/dist/utils/ascii-art.js +11 -11
- package/dist/utils/ascii-art.js.map +1 -1
- package/dist/utils/exec.d.ts.map +1 -1
- package/dist/utils/exec.js +3 -1
- package/dist/utils/exec.js.map +1 -1
- package/dist/utils/file-system.d.ts +1 -1
- package/dist/utils/file-system.d.ts.map +1 -1
- package/dist/utils/file-system.js +18 -17
- package/dist/utils/file-system.js.map +1 -1
- package/dist/utils/gitignore.d.ts +3 -3
- package/dist/utils/gitignore.d.ts.map +1 -1
- package/dist/utils/gitignore.js +45 -45
- package/dist/utils/gitignore.js.map +1 -1
- package/dist/utils/validation.d.ts +4 -4
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +10 -10
- package/dist/utils/validation.js.map +1 -1
- package/package.json +79 -76
package/dist/skills/index.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Creates workflow phase skills in .claude/skills/dino/
|
|
5
5
|
* Each skill represents a workflow phase with appropriate tools and context.
|
|
6
6
|
*/
|
|
7
|
-
import { join } from 'path';
|
|
8
|
-
import { FileSystem } from '../utils/file-system.js';
|
|
7
|
+
import { join } from 'node:path';
|
|
9
8
|
import { VERSION } from '../core/config.js';
|
|
9
|
+
import { FileSystem } from '../utils/file-system.js';
|
|
10
10
|
/**
|
|
11
11
|
* Generate frontmatter YAML from options
|
|
12
12
|
*/
|
|
@@ -55,102 +55,102 @@ const PHASE_SKILLS = [
|
|
|
55
55
|
allowedTools: ['Read', 'Grep', 'Glob', 'AskUserQuestion', 'TodoWrite', 'Task'],
|
|
56
56
|
disallowedTools: ['Edit', 'Write', 'Bash'],
|
|
57
57
|
},
|
|
58
|
-
content: `# 📋 Spec Phase
|
|
59
|
-
|
|
60
|
-
Intelligent specification kit that analyzes prompts, clarifies requirements, and gates implementation until 80% confidence is reached.
|
|
61
|
-
|
|
62
|
-
## Auto-Trigger
|
|
63
|
-
|
|
64
|
-
This skill auto-triggers when ambiguity score > 40. Can also be invoked manually via \`/dino.spec\`.
|
|
65
|
-
|
|
66
|
-
## Algorithm
|
|
67
|
-
|
|
68
|
-
### Stage 0: Triage
|
|
69
|
-
|
|
70
|
-
1. **Check session context**
|
|
71
|
-
- If active focus/recent work exists:
|
|
72
|
-
- Ask: "I see you were working on [focus area]. Is this related?"
|
|
73
|
-
- If yes: Build on existing context
|
|
74
|
-
- If no: Fresh analysis mode
|
|
75
|
-
|
|
76
|
-
2. **Detect multi-part requests**
|
|
77
|
-
- Look for: "and", "also", numbered lists, multiple verbs
|
|
78
|
-
- If multi-part detected:
|
|
79
|
-
- Split into discrete tasks
|
|
80
|
-
- Present recommended order
|
|
81
|
-
- Run spec-kit on FIRST task only
|
|
82
|
-
|
|
83
|
-
3. **Calculate complexity score (0-100)**
|
|
84
|
-
|
|
85
|
-
### Stage 1: Mode Selection
|
|
86
|
-
|
|
87
|
-
| Complexity | Ambiguity | Mode |
|
|
88
|
-
|------------|-----------|------|
|
|
89
|
-
| < 30 | < 20 | SKIP - proceed directly |
|
|
90
|
-
| < 30 | >= 20 | LIGHTWEIGHT - quick check |
|
|
91
|
-
| >= 30 | * | FULL - thorough analysis |
|
|
92
|
-
|
|
93
|
-
### Stage 2a: Lightweight Mode
|
|
94
|
-
|
|
95
|
-
For low complexity requests:
|
|
96
|
-
|
|
97
|
-
1. Quick confidence check
|
|
98
|
-
2. If quick_confidence >= 80%: One-liner confirmation, proceed
|
|
99
|
-
3. If quick_confidence < 80%: Escalate to FULL mode
|
|
100
|
-
|
|
101
|
-
### Stage 2b: Full Mode
|
|
102
|
-
|
|
103
|
-
**RESEARCH-FIRST** (exploratory requests):
|
|
104
|
-
1. Scout codebase for patterns
|
|
105
|
-
2. Present 2-3 concrete options
|
|
106
|
-
3. Targeted questions after direction chosen
|
|
107
|
-
4. Iterate until confidence >= 80%
|
|
108
|
-
|
|
109
|
-
**QUESTIONS-FIRST** (specific but unclear):
|
|
110
|
-
1. Identify uncertainties: Where? What? When?
|
|
111
|
-
2. Ask targeted questions
|
|
112
|
-
3. Research only if complexity revealed
|
|
113
|
-
4. Iterate until confidence >= 80%
|
|
114
|
-
|
|
115
|
-
## Complexity Scoring
|
|
116
|
-
|
|
117
|
-
- **Ambiguity (0-25)**: vague verbs, missing details, unclear success
|
|
118
|
-
- **Scope (0-25)**: multiple components, cross-cutting, file count
|
|
119
|
-
- **Risk (0-25)**: security, data, breaking changes
|
|
120
|
-
- **Novelty (0-25)**: new patterns, external deps, unfamiliar domain
|
|
121
|
-
|
|
122
|
-
## Confidence Gate
|
|
123
|
-
|
|
124
|
-
**CRITICAL: Implementation is BLOCKED until confidence reaches threshold**
|
|
125
|
-
|
|
126
|
-
| Task Type | Confidence Gate | Criteria |
|
|
127
|
-
|-----------|-----------------|----------|
|
|
128
|
-
| Normal tasks | 80% | Default for most tasks |
|
|
129
|
-
| Ralph-eligible tasks | 90% | complexity > 70, 3+ parts, breaking changes |
|
|
130
|
-
|
|
131
|
-
### Ralph Loop Eligibility
|
|
132
|
-
|
|
133
|
-
A task is Ralph-eligible (requires 90% confidence) when:
|
|
134
|
-
- **High complexity:** Score > 70
|
|
135
|
-
- **Multi-story:** 3+ distinct parts
|
|
136
|
-
- **Breaking changes:** System-wide impact (with scope >= 15)
|
|
137
|
-
- **Cross-cutting:** Affects entire codebase (scope >= 20)
|
|
138
|
-
|
|
139
|
-
When Ralph-eligible:
|
|
140
|
-
1. Higher gate ensures thorough understanding before large-scale work
|
|
141
|
-
2. After reaching 90% confidence, recommend \`/dino.ralph\`
|
|
142
|
-
3. Ralph provides fresh-context iterations with learning persistence
|
|
143
|
-
|
|
144
|
-
If below threshold after 5 question rounds, present assumptions for explicit validation.
|
|
145
|
-
|
|
146
|
-
## Output
|
|
147
|
-
|
|
148
|
-
Update \`.dino/session.md\` with:
|
|
149
|
-
- Requirements with acceptance criteria
|
|
150
|
-
- Clarifications log
|
|
151
|
-
- Validated assumptions
|
|
152
|
-
- Risk assessment
|
|
153
|
-
- Recommended next step (/dino.nest or /dino.hunt)
|
|
58
|
+
content: `# 📋 Spec Phase
|
|
59
|
+
|
|
60
|
+
Intelligent specification kit that analyzes prompts, clarifies requirements, and gates implementation until 80% confidence is reached.
|
|
61
|
+
|
|
62
|
+
## Auto-Trigger
|
|
63
|
+
|
|
64
|
+
This skill auto-triggers when ambiguity score > 40. Can also be invoked manually via \`/dino.spec\`.
|
|
65
|
+
|
|
66
|
+
## Algorithm
|
|
67
|
+
|
|
68
|
+
### Stage 0: Triage
|
|
69
|
+
|
|
70
|
+
1. **Check session context**
|
|
71
|
+
- If active focus/recent work exists:
|
|
72
|
+
- Ask: "I see you were working on [focus area]. Is this related?"
|
|
73
|
+
- If yes: Build on existing context
|
|
74
|
+
- If no: Fresh analysis mode
|
|
75
|
+
|
|
76
|
+
2. **Detect multi-part requests**
|
|
77
|
+
- Look for: "and", "also", numbered lists, multiple verbs
|
|
78
|
+
- If multi-part detected:
|
|
79
|
+
- Split into discrete tasks
|
|
80
|
+
- Present recommended order
|
|
81
|
+
- Run spec-kit on FIRST task only
|
|
82
|
+
|
|
83
|
+
3. **Calculate complexity score (0-100)**
|
|
84
|
+
|
|
85
|
+
### Stage 1: Mode Selection
|
|
86
|
+
|
|
87
|
+
| Complexity | Ambiguity | Mode |
|
|
88
|
+
|------------|-----------|------|
|
|
89
|
+
| < 30 | < 20 | SKIP - proceed directly |
|
|
90
|
+
| < 30 | >= 20 | LIGHTWEIGHT - quick check |
|
|
91
|
+
| >= 30 | * | FULL - thorough analysis |
|
|
92
|
+
|
|
93
|
+
### Stage 2a: Lightweight Mode
|
|
94
|
+
|
|
95
|
+
For low complexity requests:
|
|
96
|
+
|
|
97
|
+
1. Quick confidence check
|
|
98
|
+
2. If quick_confidence >= 80%: One-liner confirmation, proceed
|
|
99
|
+
3. If quick_confidence < 80%: Escalate to FULL mode
|
|
100
|
+
|
|
101
|
+
### Stage 2b: Full Mode
|
|
102
|
+
|
|
103
|
+
**RESEARCH-FIRST** (exploratory requests):
|
|
104
|
+
1. Scout codebase for patterns
|
|
105
|
+
2. Present 2-3 concrete options
|
|
106
|
+
3. Targeted questions after direction chosen
|
|
107
|
+
4. Iterate until confidence >= 80%
|
|
108
|
+
|
|
109
|
+
**QUESTIONS-FIRST** (specific but unclear):
|
|
110
|
+
1. Identify uncertainties: Where? What? When?
|
|
111
|
+
2. Ask targeted questions
|
|
112
|
+
3. Research only if complexity revealed
|
|
113
|
+
4. Iterate until confidence >= 80%
|
|
114
|
+
|
|
115
|
+
## Complexity Scoring
|
|
116
|
+
|
|
117
|
+
- **Ambiguity (0-25)**: vague verbs, missing details, unclear success
|
|
118
|
+
- **Scope (0-25)**: multiple components, cross-cutting, file count
|
|
119
|
+
- **Risk (0-25)**: security, data, breaking changes
|
|
120
|
+
- **Novelty (0-25)**: new patterns, external deps, unfamiliar domain
|
|
121
|
+
|
|
122
|
+
## Confidence Gate
|
|
123
|
+
|
|
124
|
+
**CRITICAL: Implementation is BLOCKED until confidence reaches threshold**
|
|
125
|
+
|
|
126
|
+
| Task Type | Confidence Gate | Criteria |
|
|
127
|
+
|-----------|-----------------|----------|
|
|
128
|
+
| Normal tasks | 80% | Default for most tasks |
|
|
129
|
+
| Ralph-eligible tasks | 90% | complexity > 70, 3+ parts, breaking changes |
|
|
130
|
+
|
|
131
|
+
### Ralph Loop Eligibility
|
|
132
|
+
|
|
133
|
+
A task is Ralph-eligible (requires 90% confidence) when:
|
|
134
|
+
- **High complexity:** Score > 70
|
|
135
|
+
- **Multi-story:** 3+ distinct parts
|
|
136
|
+
- **Breaking changes:** System-wide impact (with scope >= 15)
|
|
137
|
+
- **Cross-cutting:** Affects entire codebase (scope >= 20)
|
|
138
|
+
|
|
139
|
+
When Ralph-eligible:
|
|
140
|
+
1. Higher gate ensures thorough understanding before large-scale work
|
|
141
|
+
2. After reaching 90% confidence, recommend \`/dino.ralph\`
|
|
142
|
+
3. Ralph provides fresh-context iterations with learning persistence
|
|
143
|
+
|
|
144
|
+
If below threshold after 5 question rounds, present assumptions for explicit validation.
|
|
145
|
+
|
|
146
|
+
## Output
|
|
147
|
+
|
|
148
|
+
Update \`.dino/session.md\` with:
|
|
149
|
+
- Requirements with acceptance criteria
|
|
150
|
+
- Clarifications log
|
|
151
|
+
- Validated assumptions
|
|
152
|
+
- Risk assessment
|
|
153
|
+
- Recommended next step (/dino.nest or /dino.hunt)
|
|
154
154
|
`,
|
|
155
155
|
},
|
|
156
156
|
{
|
|
@@ -166,37 +166,37 @@ Update \`.dino/session.md\` with:
|
|
|
166
166
|
effort: 'low',
|
|
167
167
|
allowedTools: ['Read', 'Grep', 'Glob', 'AskUserQuestion', 'TodoWrite'],
|
|
168
168
|
},
|
|
169
|
-
content: `# 🦕 Discover Phase
|
|
170
|
-
|
|
171
|
-
Capture and clarify requirements from user prompts.
|
|
172
|
-
|
|
173
|
-
## Workflow
|
|
174
|
-
|
|
175
|
-
1. **Analyze Request**
|
|
176
|
-
- Parse user's intent and goals
|
|
177
|
-
- Identify explicit requirements
|
|
178
|
-
- Note implicit assumptions
|
|
179
|
-
|
|
180
|
-
2. **Gather Context**
|
|
181
|
-
- Read relevant existing code
|
|
182
|
-
- Check session.md for prior context
|
|
183
|
-
- Review related files
|
|
184
|
-
|
|
185
|
-
3. **Document Requirements**
|
|
186
|
-
- Update session.md Notes section
|
|
187
|
-
- Create TodoWrite items for actionable items
|
|
188
|
-
- Record decisions and constraints
|
|
189
|
-
|
|
190
|
-
4. **Clarify if Needed**
|
|
191
|
-
- Use AskUserQuestion for ambiguities
|
|
192
|
-
- Validate understanding before proceeding
|
|
193
|
-
|
|
194
|
-
## Output
|
|
195
|
-
|
|
196
|
-
After discovery, update \`.dino/session.md\` with:
|
|
197
|
-
- Clear requirements summary
|
|
198
|
-
- Key constraints identified
|
|
199
|
-
- Open questions (if any)
|
|
169
|
+
content: `# 🦕 Discover Phase
|
|
170
|
+
|
|
171
|
+
Capture and clarify requirements from user prompts.
|
|
172
|
+
|
|
173
|
+
## Workflow
|
|
174
|
+
|
|
175
|
+
1. **Analyze Request**
|
|
176
|
+
- Parse user's intent and goals
|
|
177
|
+
- Identify explicit requirements
|
|
178
|
+
- Note implicit assumptions
|
|
179
|
+
|
|
180
|
+
2. **Gather Context**
|
|
181
|
+
- Read relevant existing code
|
|
182
|
+
- Check session.md for prior context
|
|
183
|
+
- Review related files
|
|
184
|
+
|
|
185
|
+
3. **Document Requirements**
|
|
186
|
+
- Update session.md Notes section
|
|
187
|
+
- Create TodoWrite items for actionable items
|
|
188
|
+
- Record decisions and constraints
|
|
189
|
+
|
|
190
|
+
4. **Clarify if Needed**
|
|
191
|
+
- Use AskUserQuestion for ambiguities
|
|
192
|
+
- Validate understanding before proceeding
|
|
193
|
+
|
|
194
|
+
## Output
|
|
195
|
+
|
|
196
|
+
After discovery, update \`.dino/session.md\` with:
|
|
197
|
+
- Clear requirements summary
|
|
198
|
+
- Key constraints identified
|
|
199
|
+
- Open questions (if any)
|
|
200
200
|
`,
|
|
201
201
|
},
|
|
202
202
|
{
|
|
@@ -213,33 +213,33 @@ After discovery, update \`.dino/session.md\` with:
|
|
|
213
213
|
allowedTools: ['Read', 'Grep', 'Glob', 'Task', 'WebSearch', 'WebFetch'],
|
|
214
214
|
disallowedTools: ['Edit', 'Write', 'Bash'],
|
|
215
215
|
},
|
|
216
|
-
content: `# 🔍 Scout Phase
|
|
217
|
-
|
|
218
|
-
Research existing patterns and explore implementation options.
|
|
219
|
-
|
|
220
|
-
## Workflow
|
|
221
|
-
|
|
222
|
-
1. **Explore Codebase**
|
|
223
|
-
- Search for similar patterns
|
|
224
|
-
- Review existing implementations
|
|
225
|
-
- Identify reusable components
|
|
226
|
-
|
|
227
|
-
2. **Research Options**
|
|
228
|
-
- Compare approaches
|
|
229
|
-
- Check documentation
|
|
230
|
-
- Review best practices
|
|
231
|
-
|
|
232
|
-
3. **Document Findings**
|
|
233
|
-
- List viable options with pros/cons
|
|
234
|
-
- Note dependencies and risks
|
|
235
|
-
- Identify technical constraints
|
|
236
|
-
|
|
237
|
-
## Output
|
|
238
|
-
|
|
239
|
-
Research summary with:
|
|
240
|
-
- Existing patterns found
|
|
241
|
-
- Implementation options
|
|
242
|
-
- Recommended approach
|
|
216
|
+
content: `# 🔍 Scout Phase
|
|
217
|
+
|
|
218
|
+
Research existing patterns and explore implementation options.
|
|
219
|
+
|
|
220
|
+
## Workflow
|
|
221
|
+
|
|
222
|
+
1. **Explore Codebase**
|
|
223
|
+
- Search for similar patterns
|
|
224
|
+
- Review existing implementations
|
|
225
|
+
- Identify reusable components
|
|
226
|
+
|
|
227
|
+
2. **Research Options**
|
|
228
|
+
- Compare approaches
|
|
229
|
+
- Check documentation
|
|
230
|
+
- Review best practices
|
|
231
|
+
|
|
232
|
+
3. **Document Findings**
|
|
233
|
+
- List viable options with pros/cons
|
|
234
|
+
- Note dependencies and risks
|
|
235
|
+
- Identify technical constraints
|
|
236
|
+
|
|
237
|
+
## Output
|
|
238
|
+
|
|
239
|
+
Research summary with:
|
|
240
|
+
- Existing patterns found
|
|
241
|
+
- Implementation options
|
|
242
|
+
- Recommended approach
|
|
243
243
|
`,
|
|
244
244
|
},
|
|
245
245
|
{
|
|
@@ -255,33 +255,33 @@ Research summary with:
|
|
|
255
255
|
effort: 'low',
|
|
256
256
|
allowedTools: ['Read', 'AskUserQuestion'],
|
|
257
257
|
},
|
|
258
|
-
content: `# 🐕 Sniff Phase
|
|
259
|
-
|
|
260
|
-
Detect and resolve ambiguities before implementation.
|
|
261
|
-
|
|
262
|
-
## Workflow
|
|
263
|
-
|
|
264
|
-
1. **Identify Ambiguities**
|
|
265
|
-
- Review requirements for unclear points
|
|
266
|
-
- Check for conflicting constraints
|
|
267
|
-
- Note missing information
|
|
268
|
-
|
|
269
|
-
2. **Ask Questions**
|
|
270
|
-
- Use AskUserQuestion with clear options
|
|
271
|
-
- Prioritize blocking questions
|
|
272
|
-
- Group related questions
|
|
273
|
-
|
|
274
|
-
3. **Record Decisions**
|
|
275
|
-
- Update session.md with answers
|
|
276
|
-
- Document design decisions
|
|
277
|
-
- Note any deferred items
|
|
278
|
-
|
|
279
|
-
## Question Guidelines
|
|
280
|
-
|
|
281
|
-
- Keep questions focused and specific
|
|
282
|
-
- Provide 2-4 clear options when possible
|
|
283
|
-
- Include recommended option with rationale
|
|
284
|
-
- Use multiSelect when choices aren't exclusive
|
|
258
|
+
content: `# 🐕 Sniff Phase
|
|
259
|
+
|
|
260
|
+
Detect and resolve ambiguities before implementation.
|
|
261
|
+
|
|
262
|
+
## Workflow
|
|
263
|
+
|
|
264
|
+
1. **Identify Ambiguities**
|
|
265
|
+
- Review requirements for unclear points
|
|
266
|
+
- Check for conflicting constraints
|
|
267
|
+
- Note missing information
|
|
268
|
+
|
|
269
|
+
2. **Ask Questions**
|
|
270
|
+
- Use AskUserQuestion with clear options
|
|
271
|
+
- Prioritize blocking questions
|
|
272
|
+
- Group related questions
|
|
273
|
+
|
|
274
|
+
3. **Record Decisions**
|
|
275
|
+
- Update session.md with answers
|
|
276
|
+
- Document design decisions
|
|
277
|
+
- Note any deferred items
|
|
278
|
+
|
|
279
|
+
## Question Guidelines
|
|
280
|
+
|
|
281
|
+
- Keep questions focused and specific
|
|
282
|
+
- Provide 2-4 clear options when possible
|
|
283
|
+
- Include recommended option with rationale
|
|
284
|
+
- Use multiSelect when choices aren't exclusive
|
|
285
285
|
`,
|
|
286
286
|
},
|
|
287
287
|
{
|
|
@@ -298,52 +298,52 @@ Detect and resolve ambiguities before implementation.
|
|
|
298
298
|
allowedTools: ['Read', 'Grep', 'Glob', 'EnterPlanMode', 'TodoWrite'],
|
|
299
299
|
disallowedTools: ['Edit', 'Write', 'Bash'],
|
|
300
300
|
},
|
|
301
|
-
content: `# 🪺 Nest Phase
|
|
302
|
-
|
|
303
|
-
Plan the implementation approach for user approval.
|
|
304
|
-
|
|
305
|
-
## Workflow
|
|
306
|
-
|
|
307
|
-
1. **Enter Plan Mode**
|
|
308
|
-
- Use EnterPlanMode for non-trivial tasks
|
|
309
|
-
- Gather full context before planning
|
|
310
|
-
|
|
311
|
-
2. **Design Approach**
|
|
312
|
-
- Outline file changes needed
|
|
313
|
-
- Identify dependencies
|
|
314
|
-
- Plan execution order
|
|
315
|
-
|
|
316
|
-
3. **Create Plan**
|
|
317
|
-
- Write structured implementation plan
|
|
318
|
-
- Include verification steps
|
|
319
|
-
- Note rollback strategy
|
|
320
|
-
|
|
321
|
-
4. **Get Approval**
|
|
322
|
-
- Use ExitPlanMode to present plan
|
|
323
|
-
- Wait for user confirmation
|
|
324
|
-
- Adjust based on feedback
|
|
325
|
-
|
|
326
|
-
## Plan Template
|
|
327
|
-
|
|
328
|
-
\`\`\`markdown
|
|
329
|
-
## Summary
|
|
330
|
-
Brief description of what will be implemented
|
|
331
|
-
|
|
332
|
-
## Files to Modify
|
|
333
|
-
- file1.ts - description
|
|
334
|
-
- file2.ts - description
|
|
335
|
-
|
|
336
|
-
## Files to Create
|
|
337
|
-
- newfile.ts - purpose
|
|
338
|
-
|
|
339
|
-
## Execution Steps
|
|
340
|
-
1. Step one
|
|
341
|
-
2. Step two
|
|
342
|
-
...
|
|
343
|
-
|
|
344
|
-
## Verification
|
|
345
|
-
- How to verify success
|
|
346
|
-
\`\`\`
|
|
301
|
+
content: `# 🪺 Nest Phase
|
|
302
|
+
|
|
303
|
+
Plan the implementation approach for user approval.
|
|
304
|
+
|
|
305
|
+
## Workflow
|
|
306
|
+
|
|
307
|
+
1. **Enter Plan Mode**
|
|
308
|
+
- Use EnterPlanMode for non-trivial tasks
|
|
309
|
+
- Gather full context before planning
|
|
310
|
+
|
|
311
|
+
2. **Design Approach**
|
|
312
|
+
- Outline file changes needed
|
|
313
|
+
- Identify dependencies
|
|
314
|
+
- Plan execution order
|
|
315
|
+
|
|
316
|
+
3. **Create Plan**
|
|
317
|
+
- Write structured implementation plan
|
|
318
|
+
- Include verification steps
|
|
319
|
+
- Note rollback strategy
|
|
320
|
+
|
|
321
|
+
4. **Get Approval**
|
|
322
|
+
- Use ExitPlanMode to present plan
|
|
323
|
+
- Wait for user confirmation
|
|
324
|
+
- Adjust based on feedback
|
|
325
|
+
|
|
326
|
+
## Plan Template
|
|
327
|
+
|
|
328
|
+
\`\`\`markdown
|
|
329
|
+
## Summary
|
|
330
|
+
Brief description of what will be implemented
|
|
331
|
+
|
|
332
|
+
## Files to Modify
|
|
333
|
+
- file1.ts - description
|
|
334
|
+
- file2.ts - description
|
|
335
|
+
|
|
336
|
+
## Files to Create
|
|
337
|
+
- newfile.ts - purpose
|
|
338
|
+
|
|
339
|
+
## Execution Steps
|
|
340
|
+
1. Step one
|
|
341
|
+
2. Step two
|
|
342
|
+
...
|
|
343
|
+
|
|
344
|
+
## Verification
|
|
345
|
+
- How to verify success
|
|
346
|
+
\`\`\`
|
|
347
347
|
`,
|
|
348
348
|
},
|
|
349
349
|
{
|
|
@@ -359,33 +359,33 @@ Brief description of what will be implemented
|
|
|
359
359
|
effort: 'low',
|
|
360
360
|
allowedTools: ['Read', 'TodoWrite'],
|
|
361
361
|
},
|
|
362
|
-
content: `# 🥚 Hatch Phase
|
|
363
|
-
|
|
364
|
-
Break the approved plan into atomic, trackable tasks.
|
|
365
|
-
|
|
366
|
-
## Workflow
|
|
367
|
-
|
|
368
|
-
1. **Decompose Plan**
|
|
369
|
-
- Split into atomic tasks
|
|
370
|
-
- Identify dependencies
|
|
371
|
-
- Order by execution sequence
|
|
372
|
-
|
|
373
|
-
2. **Create Todos**
|
|
374
|
-
- Use TodoWrite with clear items
|
|
375
|
-
- Include both content and activeForm
|
|
376
|
-
- Mark first task as in_progress
|
|
377
|
-
|
|
378
|
-
3. **Validate Coverage**
|
|
379
|
-
- Check all plan items are covered
|
|
380
|
-
- Include verification tasks
|
|
381
|
-
- Add cleanup tasks if needed
|
|
382
|
-
|
|
383
|
-
## Todo Guidelines
|
|
384
|
-
|
|
385
|
-
- Each todo should be completable in one action
|
|
386
|
-
- Include success criteria
|
|
387
|
-
- Order reflects execution sequence
|
|
388
|
-
- Group related tasks
|
|
362
|
+
content: `# 🥚 Hatch Phase
|
|
363
|
+
|
|
364
|
+
Break the approved plan into atomic, trackable tasks.
|
|
365
|
+
|
|
366
|
+
## Workflow
|
|
367
|
+
|
|
368
|
+
1. **Decompose Plan**
|
|
369
|
+
- Split into atomic tasks
|
|
370
|
+
- Identify dependencies
|
|
371
|
+
- Order by execution sequence
|
|
372
|
+
|
|
373
|
+
2. **Create Todos**
|
|
374
|
+
- Use TodoWrite with clear items
|
|
375
|
+
- Include both content and activeForm
|
|
376
|
+
- Mark first task as in_progress
|
|
377
|
+
|
|
378
|
+
3. **Validate Coverage**
|
|
379
|
+
- Check all plan items are covered
|
|
380
|
+
- Include verification tasks
|
|
381
|
+
- Add cleanup tasks if needed
|
|
382
|
+
|
|
383
|
+
## Todo Guidelines
|
|
384
|
+
|
|
385
|
+
- Each todo should be completable in one action
|
|
386
|
+
- Include success criteria
|
|
387
|
+
- Order reflects execution sequence
|
|
388
|
+
- Group related tasks
|
|
389
389
|
`,
|
|
390
390
|
},
|
|
391
391
|
{
|
|
@@ -401,33 +401,33 @@ Break the approved plan into atomic, trackable tasks.
|
|
|
401
401
|
effort: 'medium',
|
|
402
402
|
allowedTools: ['Read', 'Edit', 'Write', 'Bash', 'Glob', 'Grep', 'TodoWrite'],
|
|
403
403
|
},
|
|
404
|
-
content: `# 🦖 Hunt Phase
|
|
405
|
-
|
|
406
|
-
Execute implementation tasks methodically.
|
|
407
|
-
|
|
408
|
-
## Workflow
|
|
409
|
-
|
|
410
|
-
1. **Execute Todos**
|
|
411
|
-
- Work through TodoWrite items in order
|
|
412
|
-
- Mark each as complete when done
|
|
413
|
-
- Update session.md focus as you work
|
|
414
|
-
|
|
415
|
-
2. **Track Progress**
|
|
416
|
-
- Complete one task before starting next
|
|
417
|
-
- Note any blockers immediately
|
|
418
|
-
- Update progress signals
|
|
419
|
-
|
|
420
|
-
3. **Maintain Context**
|
|
421
|
-
- Keep session.md current
|
|
422
|
-
- Track file changes
|
|
423
|
-
- Note decisions made during implementation
|
|
424
|
-
|
|
425
|
-
## Best Practices
|
|
426
|
-
|
|
427
|
-
- Read files before editing
|
|
428
|
-
- Test changes incrementally
|
|
429
|
-
- Commit logical chunks
|
|
430
|
-
- Update todos as you complete them
|
|
404
|
+
content: `# 🦖 Hunt Phase
|
|
405
|
+
|
|
406
|
+
Execute implementation tasks methodically.
|
|
407
|
+
|
|
408
|
+
## Workflow
|
|
409
|
+
|
|
410
|
+
1. **Execute Todos**
|
|
411
|
+
- Work through TodoWrite items in order
|
|
412
|
+
- Mark each as complete when done
|
|
413
|
+
- Update session.md focus as you work
|
|
414
|
+
|
|
415
|
+
2. **Track Progress**
|
|
416
|
+
- Complete one task before starting next
|
|
417
|
+
- Note any blockers immediately
|
|
418
|
+
- Update progress signals
|
|
419
|
+
|
|
420
|
+
3. **Maintain Context**
|
|
421
|
+
- Keep session.md current
|
|
422
|
+
- Track file changes
|
|
423
|
+
- Note decisions made during implementation
|
|
424
|
+
|
|
425
|
+
## Best Practices
|
|
426
|
+
|
|
427
|
+
- Read files before editing
|
|
428
|
+
- Test changes incrementally
|
|
429
|
+
- Commit logical chunks
|
|
430
|
+
- Update todos as you complete them
|
|
431
431
|
`,
|
|
432
432
|
},
|
|
433
433
|
{
|
|
@@ -443,38 +443,38 @@ Execute implementation tasks methodically.
|
|
|
443
443
|
effort: 'low',
|
|
444
444
|
allowedTools: ['Read', 'Bash', 'Edit', 'TodoWrite'],
|
|
445
445
|
},
|
|
446
|
-
content: `# ⏳ Aging Phase
|
|
447
|
-
|
|
448
|
-
Verify implementation through testing and validation.
|
|
449
|
-
|
|
450
|
-
## Workflow
|
|
451
|
-
|
|
452
|
-
1. **Run Tests**
|
|
453
|
-
- Execute test suite
|
|
454
|
-
- Review failures
|
|
455
|
-
- Fix issues found
|
|
456
|
-
|
|
457
|
-
2. **Verify Build**
|
|
458
|
-
- Run build command
|
|
459
|
-
- Check for errors
|
|
460
|
-
- Validate output
|
|
461
|
-
|
|
462
|
-
3. **Check Lint**
|
|
463
|
-
- Run linter
|
|
464
|
-
- Fix violations
|
|
465
|
-
- Verify clean
|
|
466
|
-
|
|
467
|
-
4. **Manual Verification**
|
|
468
|
-
- Test key functionality
|
|
469
|
-
- Verify requirements met
|
|
470
|
-
- Check edge cases
|
|
471
|
-
|
|
472
|
-
## Success Criteria
|
|
473
|
-
|
|
474
|
-
- All tests passing
|
|
475
|
-
- Build succeeds
|
|
476
|
-
- No lint errors
|
|
477
|
-
- Requirements verified
|
|
446
|
+
content: `# ⏳ Aging Phase
|
|
447
|
+
|
|
448
|
+
Verify implementation through testing and validation.
|
|
449
|
+
|
|
450
|
+
## Workflow
|
|
451
|
+
|
|
452
|
+
1. **Run Tests**
|
|
453
|
+
- Execute test suite
|
|
454
|
+
- Review failures
|
|
455
|
+
- Fix issues found
|
|
456
|
+
|
|
457
|
+
2. **Verify Build**
|
|
458
|
+
- Run build command
|
|
459
|
+
- Check for errors
|
|
460
|
+
- Validate output
|
|
461
|
+
|
|
462
|
+
3. **Check Lint**
|
|
463
|
+
- Run linter
|
|
464
|
+
- Fix violations
|
|
465
|
+
- Verify clean
|
|
466
|
+
|
|
467
|
+
4. **Manual Verification**
|
|
468
|
+
- Test key functionality
|
|
469
|
+
- Verify requirements met
|
|
470
|
+
- Check edge cases
|
|
471
|
+
|
|
472
|
+
## Success Criteria
|
|
473
|
+
|
|
474
|
+
- All tests passing
|
|
475
|
+
- Build succeeds
|
|
476
|
+
- No lint errors
|
|
477
|
+
- Requirements verified
|
|
478
478
|
`,
|
|
479
479
|
},
|
|
480
480
|
{
|
|
@@ -490,41 +490,41 @@ Verify implementation through testing and validation.
|
|
|
490
490
|
effort: 'low',
|
|
491
491
|
allowedTools: ['Read', 'Edit', 'Write', 'Bash'],
|
|
492
492
|
},
|
|
493
|
-
content: `# 🦴 Fossil Phase
|
|
494
|
-
|
|
495
|
-
Archive completed work and prepare for next task.
|
|
496
|
-
|
|
497
|
-
## Workflow
|
|
498
|
-
|
|
499
|
-
1. **Document Changes**
|
|
500
|
-
- Update relevant documentation
|
|
501
|
-
- Add code comments if needed
|
|
502
|
-
- Update CHANGELOG if applicable
|
|
503
|
-
|
|
504
|
-
2. **Clean Session**
|
|
505
|
-
- Clear completed todos
|
|
506
|
-
- Resolve blockers
|
|
507
|
-
- Archive session if significant
|
|
508
|
-
|
|
509
|
-
3. **Commit Work**
|
|
510
|
-
- Stage all changes
|
|
511
|
-
- Write descriptive commit message
|
|
512
|
-
- Push if appropriate
|
|
513
|
-
|
|
514
|
-
4. **Prepare Next**
|
|
515
|
-
- Clear session focus
|
|
516
|
-
- Note follow-up items
|
|
517
|
-
- Reset for next task
|
|
518
|
-
|
|
519
|
-
## Commit Message Template
|
|
520
|
-
|
|
521
|
-
\`\`\`
|
|
522
|
-
<type>(<scope>): <description>
|
|
523
|
-
|
|
524
|
-
<body>
|
|
525
|
-
|
|
526
|
-
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
527
|
-
\`\`\`
|
|
493
|
+
content: `# 🦴 Fossil Phase
|
|
494
|
+
|
|
495
|
+
Archive completed work and prepare for next task.
|
|
496
|
+
|
|
497
|
+
## Workflow
|
|
498
|
+
|
|
499
|
+
1. **Document Changes**
|
|
500
|
+
- Update relevant documentation
|
|
501
|
+
- Add code comments if needed
|
|
502
|
+
- Update CHANGELOG if applicable
|
|
503
|
+
|
|
504
|
+
2. **Clean Session**
|
|
505
|
+
- Clear completed todos
|
|
506
|
+
- Resolve blockers
|
|
507
|
+
- Archive session if significant
|
|
508
|
+
|
|
509
|
+
3. **Commit Work**
|
|
510
|
+
- Stage all changes
|
|
511
|
+
- Write descriptive commit message
|
|
512
|
+
- Push if appropriate
|
|
513
|
+
|
|
514
|
+
4. **Prepare Next**
|
|
515
|
+
- Clear session focus
|
|
516
|
+
- Note follow-up items
|
|
517
|
+
- Reset for next task
|
|
518
|
+
|
|
519
|
+
## Commit Message Template
|
|
520
|
+
|
|
521
|
+
\`\`\`
|
|
522
|
+
<type>(<scope>): <description>
|
|
523
|
+
|
|
524
|
+
<body>
|
|
525
|
+
|
|
526
|
+
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
527
|
+
\`\`\`
|
|
528
528
|
`,
|
|
529
529
|
},
|
|
530
530
|
];
|
|
@@ -539,124 +539,124 @@ const UTILITY_SKILLS = [
|
|
|
539
539
|
phase: 'Utility',
|
|
540
540
|
emoji: '📋',
|
|
541
541
|
frontmatter: {
|
|
542
|
-
description: 'Load dino
|
|
542
|
+
description: 'Load dino handoff context from previous session',
|
|
543
543
|
model: 'haiku',
|
|
544
544
|
context: 'inherit',
|
|
545
545
|
effort: 'low',
|
|
546
546
|
allowedTools: ['Read', 'Bash', 'mcp__dino__dino_status', 'mcp__dino__dino_task_status'],
|
|
547
547
|
},
|
|
548
|
-
content: `# dino.handoff
|
|
549
|
-
|
|
550
|
-
Load context from a previous session handoff.
|
|
551
|
-
|
|
552
|
-
## Usage
|
|
553
|
-
|
|
554
|
-
Run \`/dino.handoff\` at the start of a new session to restore context from a previous session.
|
|
555
|
-
|
|
556
|
-
## What it loads
|
|
557
|
-
|
|
558
|
-
- **Active plan** from \`.dino/plans/active.json\` - Current implementation plan
|
|
559
|
-
- **Session state** from \`.dino/session.md\` - Focus, phase, blockers
|
|
560
|
-
- **Task checkpoints** from \`.dino/checkpoints/\` - Progress context
|
|
561
|
-
- **Handoff notes** from \`.dino/handoff/latest.md\` - Important notes for continuation
|
|
562
|
-
|
|
563
|
-
## Instructions
|
|
564
|
-
|
|
565
|
-
1. Read \`.dino/handoff/latest.md\` if it exists
|
|
566
|
-
2. Read \`.dino/session.md\` for current session state
|
|
567
|
-
3. Check \`.dino/plans/active.json\` for active plan
|
|
568
|
-
4. Use \`mcp__dino__dino_status\` to get session summary
|
|
569
|
-
5. Use \`mcp__dino__dino_task_status\` if tasks are in progress
|
|
570
|
-
6. Summarize the context for the user with clear next steps
|
|
571
|
-
|
|
572
|
-
## Example Output
|
|
573
|
-
|
|
574
|
-
\`\`\`
|
|
575
|
-
# Session Handoff
|
|
576
|
-
|
|
577
|
-
**Last Session:** 2025-01-19 18:30
|
|
578
|
-
**Plan:** dino-hud v2 (3/10 steps)
|
|
579
|
-
**Phase:** iterating
|
|
580
|
-
**Focus:** src/hud/render/
|
|
581
|
-
|
|
582
|
-
## Next Steps
|
|
583
|
-
1. Create context-health.ts renderer
|
|
584
|
-
2. Update layouts.ts with new format
|
|
585
|
-
3. Test the preview command
|
|
586
|
-
|
|
587
|
-
## Notes
|
|
588
|
-
- Git branch and model display working
|
|
589
|
-
- Need to test context health thresholds
|
|
590
|
-
\`\`\`
|
|
548
|
+
content: `# dino.handoff
|
|
549
|
+
|
|
550
|
+
Load context from a previous session handoff.
|
|
551
|
+
|
|
552
|
+
## Usage
|
|
553
|
+
|
|
554
|
+
Run \`/dino.handoff\` at the start of a new session to restore context from a previous session.
|
|
555
|
+
|
|
556
|
+
## What it loads
|
|
557
|
+
|
|
558
|
+
- **Active plan** from \`.dino/plans/active.json\` - Current implementation plan
|
|
559
|
+
- **Session state** from \`.dino/session.md\` - Focus, phase, blockers
|
|
560
|
+
- **Task checkpoints** from \`.dino/checkpoints/\` - Progress context
|
|
561
|
+
- **Handoff notes** from \`.dino/handoff/latest.md\` - Important notes for continuation
|
|
562
|
+
|
|
563
|
+
## Instructions
|
|
564
|
+
|
|
565
|
+
1. Read \`.dino/handoff/latest.md\` if it exists
|
|
566
|
+
2. Read \`.dino/session.md\` for current session state
|
|
567
|
+
3. Check \`.dino/plans/active.json\` for active plan
|
|
568
|
+
4. Use \`mcp__dino__dino_status\` to get session summary
|
|
569
|
+
5. Use \`mcp__dino__dino_task_status\` if tasks are in progress
|
|
570
|
+
6. Summarize the context for the user with clear next steps
|
|
571
|
+
|
|
572
|
+
## Example Output
|
|
573
|
+
|
|
574
|
+
\`\`\`
|
|
575
|
+
# Session Handoff
|
|
576
|
+
|
|
577
|
+
**Last Session:** 2025-01-19 18:30
|
|
578
|
+
**Plan:** dino-hud v2 (3/10 steps)
|
|
579
|
+
**Phase:** iterating
|
|
580
|
+
**Focus:** src/hud/render/
|
|
581
|
+
|
|
582
|
+
## Next Steps
|
|
583
|
+
1. Create context-health.ts renderer
|
|
584
|
+
2. Update layouts.ts with new format
|
|
585
|
+
3. Test the preview command
|
|
586
|
+
|
|
587
|
+
## Notes
|
|
588
|
+
- Git branch and model display working
|
|
589
|
+
- Need to test context health thresholds
|
|
590
|
+
\`\`\`
|
|
591
591
|
`,
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
594
|
name: 'init',
|
|
595
595
|
filename: 'init.md',
|
|
596
|
-
description: 'Update dino
|
|
596
|
+
description: 'Update dino files safely',
|
|
597
597
|
phase: 'Utility',
|
|
598
598
|
emoji: '🔄',
|
|
599
599
|
frontmatter: {
|
|
600
|
-
description: 'Update dino
|
|
600
|
+
description: 'Update dino installation without losing session context',
|
|
601
601
|
model: 'haiku',
|
|
602
602
|
context: 'inherit',
|
|
603
603
|
effort: 'low',
|
|
604
604
|
allowedTools: ['Read', 'Bash', 'Glob'],
|
|
605
605
|
},
|
|
606
|
-
content: `# 🔄 dino.init
|
|
607
|
-
|
|
608
|
-
Update dino
|
|
609
|
-
|
|
610
|
-
## When to Use
|
|
611
|
-
|
|
612
|
-
- After updating dino
|
|
613
|
-
- To add new skills/rules added in recent updates
|
|
614
|
-
- To fix corrupted or missing dino
|
|
615
|
-
- To remove deprecated files from old versions
|
|
616
|
-
|
|
617
|
-
## What It Does
|
|
618
|
-
|
|
619
|
-
Runs \`dino init\` which performs a **smart update**:
|
|
620
|
-
|
|
621
|
-
| File Type | Behavior |
|
|
622
|
-
|-----------|----------|
|
|
623
|
-
| session.md | **NEVER** regenerated (preserves context) |
|
|
624
|
-
| CLAUDE.md | Only dino sections updated (user content preserved) |
|
|
625
|
-
| Skills/Rules/Agents | New files added, unchanged files updated, customized files skipped |
|
|
626
|
-
| Deprecated files | Automatically removed |
|
|
627
|
-
| Hash registry | Updated to track file states |
|
|
628
|
-
|
|
629
|
-
## Workflow
|
|
630
|
-
|
|
631
|
-
1. Run the smart update command:
|
|
632
|
-
\`\`\`bash
|
|
633
|
-
dino init
|
|
634
|
-
\`\`\`
|
|
635
|
-
|
|
636
|
-
2. Review output showing:
|
|
637
|
-
- **Created**: New files that were added
|
|
638
|
-
- **Updated**: Non-customized files that were refreshed
|
|
639
|
-
- **Removed**: Deprecated files that were cleaned up
|
|
640
|
-
|
|
641
|
-
3. Note: Customized files (where you made changes) are automatically detected and skipped
|
|
642
|
-
|
|
643
|
-
## Full Reset (Rarely Needed)
|
|
644
|
-
|
|
645
|
-
If you need a complete fresh install:
|
|
646
|
-
\`\`\`bash
|
|
647
|
-
dino init --force
|
|
648
|
-
\`\`\`
|
|
649
|
-
|
|
650
|
-
**Warning**: \`--force\` will:
|
|
651
|
-
- Regenerate session.md (loses current session context)
|
|
652
|
-
- Replace all files including customized ones
|
|
653
|
-
- Reset to default state
|
|
654
|
-
|
|
655
|
-
## Notes
|
|
656
|
-
|
|
657
|
-
- Smart update is safe to run repeatedly
|
|
658
|
-
- Run after any dino
|
|
659
|
-
- Check \`.dino/file-hashes.json\` to see tracked file states
|
|
606
|
+
content: `# 🔄 dino.init
|
|
607
|
+
|
|
608
|
+
Update dino installation without losing session context or customizations.
|
|
609
|
+
|
|
610
|
+
## When to Use
|
|
611
|
+
|
|
612
|
+
- After updating dino package (\`bun update dino\`)
|
|
613
|
+
- To add new skills/rules added in recent updates
|
|
614
|
+
- To fix corrupted or missing dino files
|
|
615
|
+
- To remove deprecated files from old versions
|
|
616
|
+
|
|
617
|
+
## What It Does
|
|
618
|
+
|
|
619
|
+
Runs \`dino init\` which performs a **smart update**:
|
|
620
|
+
|
|
621
|
+
| File Type | Behavior |
|
|
622
|
+
|-----------|----------|
|
|
623
|
+
| session.md | **NEVER** regenerated (preserves context) |
|
|
624
|
+
| CLAUDE.md | Only dino sections updated (user content preserved) |
|
|
625
|
+
| Skills/Rules/Agents | New files added, unchanged files updated, customized files skipped |
|
|
626
|
+
| Deprecated files | Automatically removed |
|
|
627
|
+
| Hash registry | Updated to track file states |
|
|
628
|
+
|
|
629
|
+
## Workflow
|
|
630
|
+
|
|
631
|
+
1. Run the smart update command:
|
|
632
|
+
\`\`\`bash
|
|
633
|
+
dino init
|
|
634
|
+
\`\`\`
|
|
635
|
+
|
|
636
|
+
2. Review output showing:
|
|
637
|
+
- **Created**: New files that were added
|
|
638
|
+
- **Updated**: Non-customized files that were refreshed
|
|
639
|
+
- **Removed**: Deprecated files that were cleaned up
|
|
640
|
+
|
|
641
|
+
3. Note: Customized files (where you made changes) are automatically detected and skipped
|
|
642
|
+
|
|
643
|
+
## Full Reset (Rarely Needed)
|
|
644
|
+
|
|
645
|
+
If you need a complete fresh install:
|
|
646
|
+
\`\`\`bash
|
|
647
|
+
dino init --force
|
|
648
|
+
\`\`\`
|
|
649
|
+
|
|
650
|
+
**Warning**: \`--force\` will:
|
|
651
|
+
- Regenerate session.md (loses current session context)
|
|
652
|
+
- Replace all files including customized ones
|
|
653
|
+
- Reset to default state
|
|
654
|
+
|
|
655
|
+
## Notes
|
|
656
|
+
|
|
657
|
+
- Smart update is safe to run repeatedly
|
|
658
|
+
- Run after any dino version upgrade
|
|
659
|
+
- Check \`.dino/file-hashes.json\` to see tracked file states
|
|
660
660
|
`,
|
|
661
661
|
},
|
|
662
662
|
{
|
|
@@ -670,47 +670,59 @@ dino init --force
|
|
|
670
670
|
model: 'sonnet',
|
|
671
671
|
context: 'fork',
|
|
672
672
|
effort: 'high',
|
|
673
|
-
allowedTools: [
|
|
673
|
+
allowedTools: [
|
|
674
|
+
'Read',
|
|
675
|
+
'Edit',
|
|
676
|
+
'Write',
|
|
677
|
+
'Bash',
|
|
678
|
+
'Glob',
|
|
679
|
+
'Grep',
|
|
680
|
+
'Task',
|
|
681
|
+
'TaskCreate',
|
|
682
|
+
'TaskUpdate',
|
|
683
|
+
'TaskList',
|
|
684
|
+
'AskUserQuestion',
|
|
685
|
+
],
|
|
674
686
|
},
|
|
675
|
-
content: `# 🔄 Ralph Loop
|
|
676
|
-
|
|
677
|
-
Fresh-context iterative execution for large-scale multi-story work.
|
|
678
|
-
|
|
679
|
-
## Prerequisites
|
|
680
|
-
|
|
681
|
-
Before starting Ralph Loop:
|
|
682
|
-
1. Run \`/dino.spec\` and achieve **90%+ confidence**
|
|
683
|
-
2. Have a PRD with stories in the required format
|
|
684
|
-
|
|
685
|
-
## Algorithm
|
|
686
|
-
|
|
687
|
-
1. **Initialize** - Parse PRD, create progress file, set max 10 iterations
|
|
688
|
-
2. **Iterate** - For each story:
|
|
689
|
-
- Create git checkpoint
|
|
690
|
-
- Build sub-agent context (~2K tokens)
|
|
691
|
-
- Spawn fresh sub-agent via Task tool
|
|
692
|
-
- Run test command
|
|
693
|
-
- If pass: mark complete, commit
|
|
694
|
-
- If fail: extract learnings, retry (max 2 per story)
|
|
695
|
-
3. **Complete** - Report final status
|
|
696
|
-
|
|
697
|
-
## Story Format
|
|
698
|
-
|
|
699
|
-
\`\`\`markdown
|
|
700
|
-
### Story: {title}
|
|
701
|
-
**ID:** {unique_id}
|
|
702
|
-
**Files:** file1.ts, file2.ts
|
|
703
|
-
**Acceptance Criteria:**
|
|
704
|
-
- [ ] Criterion 1
|
|
705
|
-
- [ ] Criterion 2
|
|
706
|
-
**Test Command:** vitest run src/path
|
|
707
|
-
\`\`\`
|
|
708
|
-
|
|
709
|
-
## Limits
|
|
710
|
-
|
|
711
|
-
- Max 10 total iterations
|
|
712
|
-
- Max 2 iterations per story (then manual review)
|
|
713
|
-
- Fresh context each iteration (no history accumulation)
|
|
687
|
+
content: `# 🔄 Ralph Loop
|
|
688
|
+
|
|
689
|
+
Fresh-context iterative execution for large-scale multi-story work.
|
|
690
|
+
|
|
691
|
+
## Prerequisites
|
|
692
|
+
|
|
693
|
+
Before starting Ralph Loop:
|
|
694
|
+
1. Run \`/dino.spec\` and achieve **90%+ confidence**
|
|
695
|
+
2. Have a PRD with stories in the required format
|
|
696
|
+
|
|
697
|
+
## Algorithm
|
|
698
|
+
|
|
699
|
+
1. **Initialize** - Parse PRD, create progress file, set max 10 iterations
|
|
700
|
+
2. **Iterate** - For each story:
|
|
701
|
+
- Create git checkpoint
|
|
702
|
+
- Build sub-agent context (~2K tokens)
|
|
703
|
+
- Spawn fresh sub-agent via Task tool
|
|
704
|
+
- Run test command
|
|
705
|
+
- If pass: mark complete, commit
|
|
706
|
+
- If fail: extract learnings, retry (max 2 per story)
|
|
707
|
+
3. **Complete** - Report final status
|
|
708
|
+
|
|
709
|
+
## Story Format
|
|
710
|
+
|
|
711
|
+
\`\`\`markdown
|
|
712
|
+
### Story: {title}
|
|
713
|
+
**ID:** {unique_id}
|
|
714
|
+
**Files:** file1.ts, file2.ts
|
|
715
|
+
**Acceptance Criteria:**
|
|
716
|
+
- [ ] Criterion 1
|
|
717
|
+
- [ ] Criterion 2
|
|
718
|
+
**Test Command:** vitest run src/path
|
|
719
|
+
\`\`\`
|
|
720
|
+
|
|
721
|
+
## Limits
|
|
722
|
+
|
|
723
|
+
- Max 10 total iterations
|
|
724
|
+
- Max 2 iterations per story (then manual review)
|
|
725
|
+
- Fresh context each iteration (no history accumulation)
|
|
714
726
|
`,
|
|
715
727
|
},
|
|
716
728
|
{
|
|
@@ -726,21 +738,21 @@ Before starting Ralph Loop:
|
|
|
726
738
|
effort: 'low',
|
|
727
739
|
allowedTools: ['Read', 'Bash'],
|
|
728
740
|
},
|
|
729
|
-
content: `# 📊 Status
|
|
730
|
-
|
|
731
|
-
Quick check of current session state.
|
|
732
|
-
|
|
733
|
-
## Usage
|
|
734
|
-
|
|
735
|
-
Run \`/dino.status\` to see:
|
|
736
|
-
- Current focus area
|
|
737
|
-
- Test/build/lint status
|
|
738
|
-
- Active blockers
|
|
739
|
-
- Recent changes
|
|
740
|
-
|
|
741
|
-
## Output
|
|
742
|
-
|
|
743
|
-
Reads \`.dino/session.md\` and displays formatted status.
|
|
741
|
+
content: `# 📊 Status
|
|
742
|
+
|
|
743
|
+
Quick check of current session state.
|
|
744
|
+
|
|
745
|
+
## Usage
|
|
746
|
+
|
|
747
|
+
Run \`/dino.status\` to see:
|
|
748
|
+
- Current focus area
|
|
749
|
+
- Test/build/lint status
|
|
750
|
+
- Active blockers
|
|
751
|
+
- Recent changes
|
|
752
|
+
|
|
753
|
+
## Output
|
|
754
|
+
|
|
755
|
+
Reads \`.dino/session.md\` and displays formatted status.
|
|
744
756
|
`,
|
|
745
757
|
},
|
|
746
758
|
{
|
|
@@ -756,57 +768,57 @@ Reads \`.dino/session.md\` and displays formatted status.
|
|
|
756
768
|
effort: 'high',
|
|
757
769
|
allowedTools: ['Read', 'Edit', 'Write', 'Bash', 'AskUserQuestion', 'Glob', 'Grep'],
|
|
758
770
|
},
|
|
759
|
-
content: `# 🚀 Release
|
|
760
|
-
|
|
761
|
-
Release workflow with intelligent documentation updates.
|
|
762
|
-
|
|
763
|
-
## Workflow
|
|
764
|
-
|
|
765
|
-
1. **Analyze Context for Doc Updates**
|
|
766
|
-
- Check if README.md, ARCHITECTURE.md, CLAUDE.md are in context
|
|
767
|
-
- Detect if changes warrant documentation updates:
|
|
768
|
-
- New features → README.md
|
|
769
|
-
- Architecture changes → ARCHITECTURE.md
|
|
770
|
-
- Pattern/command changes → CLAUDE.md
|
|
771
|
-
- If file not in context, only read if update is likely needed
|
|
772
|
-
|
|
773
|
-
2. **Confirm Doc Updates**
|
|
774
|
-
- Use AskUserQuestion to confirm which docs to update
|
|
775
|
-
- Options: Update all detected, Select specific, Skip doc updates
|
|
776
|
-
- Show reasoning for each suggested update
|
|
777
|
-
|
|
778
|
-
3. **Update Documentation**
|
|
779
|
-
- Apply confirmed documentation changes
|
|
780
|
-
- Keep updates focused and minimal
|
|
781
|
-
|
|
782
|
-
4. **Execute Release**
|
|
783
|
-
- Run build: \`node build.js\`
|
|
784
|
-
- Run tests: \`vitest run\`
|
|
785
|
-
- If tests pass, bump version in package.json
|
|
786
|
-
- Publish to npm: \`npm publish\`
|
|
787
|
-
- Verify publish succeeded
|
|
788
|
-
|
|
789
|
-
5. **Commit and Push**
|
|
790
|
-
- Stage all changes
|
|
791
|
-
- Create release commit: \`chore: release vX.Y.Z\`
|
|
792
|
-
- Push to remote
|
|
793
|
-
|
|
794
|
-
## Doc Update Detection Rules
|
|
795
|
-
|
|
796
|
-
| Change Type | Documentation |
|
|
797
|
-
|-------------|---------------|
|
|
798
|
-
| New feature/command | README.md |
|
|
799
|
-
| API changes | README.md, ARCHITECTURE.md |
|
|
800
|
-
| Architecture changes | ARCHITECTURE.md |
|
|
801
|
-
| Pattern changes | CLAUDE.md |
|
|
802
|
-
| Config changes | CLAUDE.md |
|
|
803
|
-
| Bug fixes only | None |
|
|
804
|
-
|
|
805
|
-
## Context Efficiency
|
|
806
|
-
|
|
807
|
-
- Uses \`context: inherit\` to leverage already-loaded files
|
|
808
|
-
- Only reads files not in context when update is detected
|
|
809
|
-
- Minimizes token usage by analyzing existing context first
|
|
771
|
+
content: `# 🚀 Release
|
|
772
|
+
|
|
773
|
+
Release workflow with intelligent documentation updates.
|
|
774
|
+
|
|
775
|
+
## Workflow
|
|
776
|
+
|
|
777
|
+
1. **Analyze Context for Doc Updates**
|
|
778
|
+
- Check if README.md, ARCHITECTURE.md, CLAUDE.md are in context
|
|
779
|
+
- Detect if changes warrant documentation updates:
|
|
780
|
+
- New features → README.md
|
|
781
|
+
- Architecture changes → ARCHITECTURE.md
|
|
782
|
+
- Pattern/command changes → CLAUDE.md
|
|
783
|
+
- If file not in context, only read if update is likely needed
|
|
784
|
+
|
|
785
|
+
2. **Confirm Doc Updates**
|
|
786
|
+
- Use AskUserQuestion to confirm which docs to update
|
|
787
|
+
- Options: Update all detected, Select specific, Skip doc updates
|
|
788
|
+
- Show reasoning for each suggested update
|
|
789
|
+
|
|
790
|
+
3. **Update Documentation**
|
|
791
|
+
- Apply confirmed documentation changes
|
|
792
|
+
- Keep updates focused and minimal
|
|
793
|
+
|
|
794
|
+
4. **Execute Release**
|
|
795
|
+
- Run build: \`node build.js\`
|
|
796
|
+
- Run tests: \`vitest run\`
|
|
797
|
+
- If tests pass, bump version in package.json
|
|
798
|
+
- Publish to npm: \`npm publish\`
|
|
799
|
+
- Verify publish succeeded
|
|
800
|
+
|
|
801
|
+
5. **Commit and Push**
|
|
802
|
+
- Stage all changes
|
|
803
|
+
- Create release commit: \`chore: release vX.Y.Z\`
|
|
804
|
+
- Push to remote
|
|
805
|
+
|
|
806
|
+
## Doc Update Detection Rules
|
|
807
|
+
|
|
808
|
+
| Change Type | Documentation |
|
|
809
|
+
|-------------|---------------|
|
|
810
|
+
| New feature/command | README.md |
|
|
811
|
+
| API changes | README.md, ARCHITECTURE.md |
|
|
812
|
+
| Architecture changes | ARCHITECTURE.md |
|
|
813
|
+
| Pattern changes | CLAUDE.md |
|
|
814
|
+
| Config changes | CLAUDE.md |
|
|
815
|
+
| Bug fixes only | None |
|
|
816
|
+
|
|
817
|
+
## Context Efficiency
|
|
818
|
+
|
|
819
|
+
- Uses \`context: inherit\` to leverage already-loaded files
|
|
820
|
+
- Only reads files not in context when update is detected
|
|
821
|
+
- Minimizes token usage by analyzing existing context first
|
|
810
822
|
`,
|
|
811
823
|
},
|
|
812
824
|
{
|
|
@@ -822,97 +834,97 @@ Release workflow with intelligent documentation updates.
|
|
|
822
834
|
effort: 'low',
|
|
823
835
|
allowedTools: ['Read', 'Glob', 'Write', 'Bash'],
|
|
824
836
|
},
|
|
825
|
-
content: `# Roadmap Management
|
|
826
|
-
|
|
827
|
-
Efficiently manage roadmap lifecycle: read, update, and auto-cleanup.
|
|
828
|
-
|
|
829
|
-
## Trigger Detection
|
|
830
|
-
|
|
831
|
-
This skill auto-triggers when user prompts contain:
|
|
832
|
-
- "continue roadmap", "roadmap progress", "resume roadmap"
|
|
833
|
-
- "next phase", "what's next on roadmap"
|
|
834
|
-
- "roadmap status", "check roadmap"
|
|
835
|
-
|
|
836
|
-
## Workflow
|
|
837
|
-
|
|
838
|
-
### 1. Load Active Roadmaps
|
|
839
|
-
|
|
840
|
-
Read all files from \`.dino/roadmaps/*.md\`:
|
|
841
|
-
|
|
842
|
-
\`\`\`bash
|
|
843
|
-
ls .dino/roadmaps/*.md 2>/dev/null
|
|
844
|
-
\`\`\`
|
|
845
|
-
|
|
846
|
-
For each roadmap found, read and parse:
|
|
847
|
-
- Title (first H1)
|
|
848
|
-
- Phases with status (✅ = done, ⏳ = pending)
|
|
849
|
-
- Current phase (first ⏳ phase)
|
|
850
|
-
|
|
851
|
-
### 2. Display Summary
|
|
852
|
-
|
|
853
|
-
Output format:
|
|
854
|
-
\`\`\`
|
|
855
|
-
## Active Roadmaps
|
|
856
|
-
|
|
857
|
-
### {roadmap-name}
|
|
858
|
-
Progress: {completed}/{total} phases ({percentage}%)
|
|
859
|
-
Current: Phase {N}: {phase-name}
|
|
860
|
-
Next tasks:
|
|
861
|
-
- [ ] Task 1
|
|
862
|
-
- [ ] Task 2
|
|
863
|
-
\`\`\`
|
|
864
|
-
|
|
865
|
-
### 3. On Completion
|
|
866
|
-
|
|
867
|
-
When user completes phase work:
|
|
868
|
-
|
|
869
|
-
1. **Update roadmap file** - Change \`⏳\` to \`✅\` for completed phase
|
|
870
|
-
2. **Check if all complete** - If all phases are \`✅\`:
|
|
871
|
-
- Move to \`.dino/archives/{roadmap-name}-complete.md\`
|
|
872
|
-
- Add completion timestamp at top
|
|
873
|
-
- Remove from active roadmaps
|
|
874
|
-
|
|
875
|
-
### 4. Auto-Archive Logic
|
|
876
|
-
|
|
877
|
-
A roadmap is complete when:
|
|
878
|
-
- All \`### Phase\` sections contain \`✅\` in their header
|
|
879
|
-
- OR all \`- [ ]\` items are \`- [x]\`
|
|
880
|
-
|
|
881
|
-
Archive command:
|
|
882
|
-
\`\`\`bash
|
|
883
|
-
mkdir -p .dino/archives
|
|
884
|
-
mv .dino/roadmaps/{name}.md .dino/archives/{name}-complete.md
|
|
885
|
-
\`\`\`
|
|
886
|
-
|
|
887
|
-
## Output Minimization
|
|
888
|
-
|
|
889
|
-
Keep output minimal for token efficiency:
|
|
890
|
-
- Only show current phase details
|
|
891
|
-
- Collapse completed phases to single line
|
|
892
|
-
- Don't repeat full roadmap content
|
|
893
|
-
|
|
894
|
-
## Integration
|
|
895
|
-
|
|
896
|
-
Works with:
|
|
897
|
-
- \`/dino.hunt\` - Implementation of roadmap tasks
|
|
898
|
-
- \`/dino.aging\` - Verification before phase completion
|
|
899
|
-
- \`/dino.fossil\` - Archives completed roadmaps
|
|
900
|
-
|
|
901
|
-
## Example Session
|
|
902
|
-
|
|
903
|
-
User: "continue roadmap"
|
|
904
|
-
1. Read \`.dino/roadmaps/*.md\`
|
|
905
|
-
2. Output summary of active roadmaps
|
|
906
|
-
3. Show current phase tasks
|
|
907
|
-
4. User completes tasks
|
|
908
|
-
5. Update phase status
|
|
909
|
-
6. If all done, archive roadmap
|
|
910
|
-
|
|
911
|
-
## Notes
|
|
912
|
-
|
|
913
|
-
- Roadmaps live in \`.dino/roadmaps/\` (active) or \`.dino/archives/\` (complete)
|
|
914
|
-
- Use \`⏳\` for pending, \`✅\` for complete in phase headers
|
|
915
|
-
- Archived roadmaps include completion date for reference
|
|
837
|
+
content: `# Roadmap Management
|
|
838
|
+
|
|
839
|
+
Efficiently manage roadmap lifecycle: read, update, and auto-cleanup.
|
|
840
|
+
|
|
841
|
+
## Trigger Detection
|
|
842
|
+
|
|
843
|
+
This skill auto-triggers when user prompts contain:
|
|
844
|
+
- "continue roadmap", "roadmap progress", "resume roadmap"
|
|
845
|
+
- "next phase", "what's next on roadmap"
|
|
846
|
+
- "roadmap status", "check roadmap"
|
|
847
|
+
|
|
848
|
+
## Workflow
|
|
849
|
+
|
|
850
|
+
### 1. Load Active Roadmaps
|
|
851
|
+
|
|
852
|
+
Read all files from \`.dino/roadmaps/*.md\`:
|
|
853
|
+
|
|
854
|
+
\`\`\`bash
|
|
855
|
+
ls .dino/roadmaps/*.md 2>/dev/null
|
|
856
|
+
\`\`\`
|
|
857
|
+
|
|
858
|
+
For each roadmap found, read and parse:
|
|
859
|
+
- Title (first H1)
|
|
860
|
+
- Phases with status (✅ = done, ⏳ = pending)
|
|
861
|
+
- Current phase (first ⏳ phase)
|
|
862
|
+
|
|
863
|
+
### 2. Display Summary
|
|
864
|
+
|
|
865
|
+
Output format:
|
|
866
|
+
\`\`\`
|
|
867
|
+
## Active Roadmaps
|
|
868
|
+
|
|
869
|
+
### {roadmap-name}
|
|
870
|
+
Progress: {completed}/{total} phases ({percentage}%)
|
|
871
|
+
Current: Phase {N}: {phase-name}
|
|
872
|
+
Next tasks:
|
|
873
|
+
- [ ] Task 1
|
|
874
|
+
- [ ] Task 2
|
|
875
|
+
\`\`\`
|
|
876
|
+
|
|
877
|
+
### 3. On Completion
|
|
878
|
+
|
|
879
|
+
When user completes phase work:
|
|
880
|
+
|
|
881
|
+
1. **Update roadmap file** - Change \`⏳\` to \`✅\` for completed phase
|
|
882
|
+
2. **Check if all complete** - If all phases are \`✅\`:
|
|
883
|
+
- Move to \`.dino/archives/{roadmap-name}-complete.md\`
|
|
884
|
+
- Add completion timestamp at top
|
|
885
|
+
- Remove from active roadmaps
|
|
886
|
+
|
|
887
|
+
### 4. Auto-Archive Logic
|
|
888
|
+
|
|
889
|
+
A roadmap is complete when:
|
|
890
|
+
- All \`### Phase\` sections contain \`✅\` in their header
|
|
891
|
+
- OR all \`- [ ]\` items are \`- [x]\`
|
|
892
|
+
|
|
893
|
+
Archive command:
|
|
894
|
+
\`\`\`bash
|
|
895
|
+
mkdir -p .dino/archives
|
|
896
|
+
mv .dino/roadmaps/{name}.md .dino/archives/{name}-complete.md
|
|
897
|
+
\`\`\`
|
|
898
|
+
|
|
899
|
+
## Output Minimization
|
|
900
|
+
|
|
901
|
+
Keep output minimal for token efficiency:
|
|
902
|
+
- Only show current phase details
|
|
903
|
+
- Collapse completed phases to single line
|
|
904
|
+
- Don't repeat full roadmap content
|
|
905
|
+
|
|
906
|
+
## Integration
|
|
907
|
+
|
|
908
|
+
Works with:
|
|
909
|
+
- \`/dino.hunt\` - Implementation of roadmap tasks
|
|
910
|
+
- \`/dino.aging\` - Verification before phase completion
|
|
911
|
+
- \`/dino.fossil\` - Archives completed roadmaps
|
|
912
|
+
|
|
913
|
+
## Example Session
|
|
914
|
+
|
|
915
|
+
User: "continue roadmap"
|
|
916
|
+
1. Read \`.dino/roadmaps/*.md\`
|
|
917
|
+
2. Output summary of active roadmaps
|
|
918
|
+
3. Show current phase tasks
|
|
919
|
+
4. User completes tasks
|
|
920
|
+
5. Update phase status
|
|
921
|
+
6. If all done, archive roadmap
|
|
922
|
+
|
|
923
|
+
## Notes
|
|
924
|
+
|
|
925
|
+
- Roadmaps live in \`.dino/roadmaps/\` (active) or \`.dino/archives/\` (complete)
|
|
926
|
+
- Use \`⏳\` for pending, \`✅\` for complete in phase headers
|
|
927
|
+
- Archived roadmaps include completion date for reference
|
|
916
928
|
`,
|
|
917
929
|
},
|
|
918
930
|
{
|
|
@@ -929,96 +941,96 @@ User: "continue roadmap"
|
|
|
929
941
|
allowedTools: ['Read', 'Grep', 'Glob', 'AskUserQuestion'],
|
|
930
942
|
disallowedTools: ['Edit', 'Write', 'Bash', 'Task'],
|
|
931
943
|
},
|
|
932
|
-
content: `# 🔒 Audit Phase
|
|
933
|
-
|
|
934
|
-
**Strict gatekeeper that validates specifications before implementation.**
|
|
935
|
-
|
|
936
|
-
This skill is the AUDITOR agent in the three-agent Ralph Gate system. It can also be used standalone to validate any specification.
|
|
937
|
-
|
|
938
|
-
## Role
|
|
939
|
-
|
|
940
|
-
You are an EXTREMELY STRICT auditor. Your job is to find problems, not approve things. Implementation should be BLOCKED by default unless everything is perfect.
|
|
941
|
-
|
|
942
|
-
## Scoring System
|
|
943
|
-
|
|
944
|
-
### 1. Specification Completeness (25 points)
|
|
945
|
-
|
|
946
|
-
| Criterion | Points | Check |
|
|
947
|
-
|-----------|--------|-------|
|
|
948
|
-
| Clear problem statement | 5 | What problem are we solving? |
|
|
949
|
-
| Explicit success criteria | 5 | How do we know when done? |
|
|
950
|
-
| Defined scope boundaries | 5 | What is NOT included? |
|
|
951
|
-
| Edge cases identified | 5 | What could go wrong? |
|
|
952
|
-
| Error handling specified | 5 | How to handle failures? |
|
|
953
|
-
|
|
954
|
-
### 2. Ambiguity Score (MUST BE ZERO)
|
|
955
|
-
|
|
956
|
-
Check for these ambiguity types:
|
|
957
|
-
|
|
958
|
-
| Type | Example | Fix Required |
|
|
959
|
-
|------|---------|--------------|
|
|
960
|
-
| Vague verbs | "improve", "enhance", "better" | Specify measurable outcome |
|
|
961
|
-
| Undefined terms | "fast", "clean", "modern" | Define with numbers/criteria |
|
|
962
|
-
| Implicit assumptions | "the usual way" | Make explicit |
|
|
963
|
-
| Conflicting requirements | "fast AND thorough" | Prioritize or resolve |
|
|
964
|
-
| Missing details | "handle errors" | Specify which errors, how |
|
|
965
|
-
|
|
966
|
-
**Any ambiguity = AUTOMATIC REJECTION**
|
|
967
|
-
|
|
968
|
-
### 3. PRD Quality (25 points) - For Ralph-eligible tasks
|
|
969
|
-
|
|
970
|
-
| Criterion | Points | Check |
|
|
971
|
-
|-----------|--------|-------|
|
|
972
|
-
| Stories in correct format | 5 | Markdown headers, fields |
|
|
973
|
-
| Each story has unique ID | 5 | story-1, story-2, etc. |
|
|
974
|
-
| Each story has file list | 5 | Explicit file paths |
|
|
975
|
-
| Each story has acceptance criteria | 5 | Checkbox list |
|
|
976
|
-
| Each story has test command | 5 | Runnable command |
|
|
977
|
-
|
|
978
|
-
### 4. Risk Mitigation (25 points)
|
|
979
|
-
|
|
980
|
-
| Criterion | Points | Check |
|
|
981
|
-
|-----------|--------|-------|
|
|
982
|
-
| Security risks addressed | 5 | Input validation, auth, etc. |
|
|
983
|
-
| Performance risks addressed | 5 | Scale, complexity, etc. |
|
|
984
|
-
| Breaking changes identified | 5 | API changes, migrations |
|
|
985
|
-
| Rollback plan exists | 5 | How to undo if needed |
|
|
986
|
-
| Dependencies validated | 5 | External deps checked |
|
|
987
|
-
|
|
988
|
-
### 5. Research Completeness (25 points) - When research provided
|
|
989
|
-
|
|
990
|
-
| Criterion | Points | Check |
|
|
991
|
-
|-----------|--------|-------|
|
|
992
|
-
| All patterns documented | 5 | Similar code found |
|
|
993
|
-
| Architecture understood | 5 | Fits existing structure |
|
|
994
|
-
| Integration points mapped | 5 | Connections identified |
|
|
995
|
-
| Test strategy defined | 5 | What tests to add/modify |
|
|
996
|
-
| File impact complete | 5 | All affected files listed |
|
|
997
|
-
|
|
998
|
-
## Pass/Fail Criteria
|
|
999
|
-
|
|
1000
|
-
| Condition | Result |
|
|
1001
|
-
|-----------|--------|
|
|
1002
|
-
| Score >= 95 AND ambiguity == 0 | GATE: APPROVED |
|
|
1003
|
-
| Score < 95 OR ambiguity > 0 | GATE: REJECTED |
|
|
1004
|
-
|
|
1005
|
-
## Auditor Mindset
|
|
1006
|
-
|
|
1007
|
-
- Assume the specification is INCOMPLETE until proven otherwise
|
|
1008
|
-
- Look for what's MISSING, not just what's wrong
|
|
1009
|
-
- Ask "what could go wrong?" for every part
|
|
1010
|
-
- Prefer rejection over approval when uncertain
|
|
1011
|
-
- Better to ask one more question than to approve prematurely
|
|
1012
|
-
|
|
1013
|
-
## Standalone Usage
|
|
1014
|
-
|
|
1015
|
-
Can be invoked directly: \`/dino.audit\`
|
|
1016
|
-
|
|
1017
|
-
Use when:
|
|
1018
|
-
- Validating a specification before implementation
|
|
1019
|
-
- Reviewing a PR description
|
|
1020
|
-
- Checking requirements completeness
|
|
1021
|
-
- Gate-checking before major changes
|
|
944
|
+
content: `# 🔒 Audit Phase
|
|
945
|
+
|
|
946
|
+
**Strict gatekeeper that validates specifications before implementation.**
|
|
947
|
+
|
|
948
|
+
This skill is the AUDITOR agent in the three-agent Ralph Gate system. It can also be used standalone to validate any specification.
|
|
949
|
+
|
|
950
|
+
## Role
|
|
951
|
+
|
|
952
|
+
You are an EXTREMELY STRICT auditor. Your job is to find problems, not approve things. Implementation should be BLOCKED by default unless everything is perfect.
|
|
953
|
+
|
|
954
|
+
## Scoring System
|
|
955
|
+
|
|
956
|
+
### 1. Specification Completeness (25 points)
|
|
957
|
+
|
|
958
|
+
| Criterion | Points | Check |
|
|
959
|
+
|-----------|--------|-------|
|
|
960
|
+
| Clear problem statement | 5 | What problem are we solving? |
|
|
961
|
+
| Explicit success criteria | 5 | How do we know when done? |
|
|
962
|
+
| Defined scope boundaries | 5 | What is NOT included? |
|
|
963
|
+
| Edge cases identified | 5 | What could go wrong? |
|
|
964
|
+
| Error handling specified | 5 | How to handle failures? |
|
|
965
|
+
|
|
966
|
+
### 2. Ambiguity Score (MUST BE ZERO)
|
|
967
|
+
|
|
968
|
+
Check for these ambiguity types:
|
|
969
|
+
|
|
970
|
+
| Type | Example | Fix Required |
|
|
971
|
+
|------|---------|--------------|
|
|
972
|
+
| Vague verbs | "improve", "enhance", "better" | Specify measurable outcome |
|
|
973
|
+
| Undefined terms | "fast", "clean", "modern" | Define with numbers/criteria |
|
|
974
|
+
| Implicit assumptions | "the usual way" | Make explicit |
|
|
975
|
+
| Conflicting requirements | "fast AND thorough" | Prioritize or resolve |
|
|
976
|
+
| Missing details | "handle errors" | Specify which errors, how |
|
|
977
|
+
|
|
978
|
+
**Any ambiguity = AUTOMATIC REJECTION**
|
|
979
|
+
|
|
980
|
+
### 3. PRD Quality (25 points) - For Ralph-eligible tasks
|
|
981
|
+
|
|
982
|
+
| Criterion | Points | Check |
|
|
983
|
+
|-----------|--------|-------|
|
|
984
|
+
| Stories in correct format | 5 | Markdown headers, fields |
|
|
985
|
+
| Each story has unique ID | 5 | story-1, story-2, etc. |
|
|
986
|
+
| Each story has file list | 5 | Explicit file paths |
|
|
987
|
+
| Each story has acceptance criteria | 5 | Checkbox list |
|
|
988
|
+
| Each story has test command | 5 | Runnable command |
|
|
989
|
+
|
|
990
|
+
### 4. Risk Mitigation (25 points)
|
|
991
|
+
|
|
992
|
+
| Criterion | Points | Check |
|
|
993
|
+
|-----------|--------|-------|
|
|
994
|
+
| Security risks addressed | 5 | Input validation, auth, etc. |
|
|
995
|
+
| Performance risks addressed | 5 | Scale, complexity, etc. |
|
|
996
|
+
| Breaking changes identified | 5 | API changes, migrations |
|
|
997
|
+
| Rollback plan exists | 5 | How to undo if needed |
|
|
998
|
+
| Dependencies validated | 5 | External deps checked |
|
|
999
|
+
|
|
1000
|
+
### 5. Research Completeness (25 points) - When research provided
|
|
1001
|
+
|
|
1002
|
+
| Criterion | Points | Check |
|
|
1003
|
+
|-----------|--------|-------|
|
|
1004
|
+
| All patterns documented | 5 | Similar code found |
|
|
1005
|
+
| Architecture understood | 5 | Fits existing structure |
|
|
1006
|
+
| Integration points mapped | 5 | Connections identified |
|
|
1007
|
+
| Test strategy defined | 5 | What tests to add/modify |
|
|
1008
|
+
| File impact complete | 5 | All affected files listed |
|
|
1009
|
+
|
|
1010
|
+
## Pass/Fail Criteria
|
|
1011
|
+
|
|
1012
|
+
| Condition | Result |
|
|
1013
|
+
|-----------|--------|
|
|
1014
|
+
| Score >= 95 AND ambiguity == 0 | GATE: APPROVED |
|
|
1015
|
+
| Score < 95 OR ambiguity > 0 | GATE: REJECTED |
|
|
1016
|
+
|
|
1017
|
+
## Auditor Mindset
|
|
1018
|
+
|
|
1019
|
+
- Assume the specification is INCOMPLETE until proven otherwise
|
|
1020
|
+
- Look for what's MISSING, not just what's wrong
|
|
1021
|
+
- Ask "what could go wrong?" for every part
|
|
1022
|
+
- Prefer rejection over approval when uncertain
|
|
1023
|
+
- Better to ask one more question than to approve prematurely
|
|
1024
|
+
|
|
1025
|
+
## Standalone Usage
|
|
1026
|
+
|
|
1027
|
+
Can be invoked directly: \`/dino.audit\`
|
|
1028
|
+
|
|
1029
|
+
Use when:
|
|
1030
|
+
- Validating a specification before implementation
|
|
1031
|
+
- Reviewing a PR description
|
|
1032
|
+
- Checking requirements completeness
|
|
1033
|
+
- Gate-checking before major changes
|
|
1022
1034
|
`,
|
|
1023
1035
|
},
|
|
1024
1036
|
{
|
|
@@ -1032,62 +1044,71 @@ Use when:
|
|
|
1032
1044
|
model: 'opus',
|
|
1033
1045
|
context: 'fork',
|
|
1034
1046
|
effort: 'high',
|
|
1035
|
-
allowedTools: [
|
|
1047
|
+
allowedTools: [
|
|
1048
|
+
'Read',
|
|
1049
|
+
'Grep',
|
|
1050
|
+
'Glob',
|
|
1051
|
+
'Task',
|
|
1052
|
+
'Write',
|
|
1053
|
+
'AskUserQuestion',
|
|
1054
|
+
'mcp__dino__dino_status',
|
|
1055
|
+
'mcp__dino__dino_focus_set',
|
|
1056
|
+
],
|
|
1036
1057
|
},
|
|
1037
|
-
content: `# 🦖 Ralph Gate - EXECUTE NOW
|
|
1038
|
-
|
|
1039
|
-
**YOU MUST EXECUTE THE THREE-AGENT WORKFLOW BELOW. DO NOT JUST DESCRIBE IT.**
|
|
1040
|
-
|
|
1041
|
-
## STEP 1: CREATE OUTPUT DIRECTORY
|
|
1042
|
-
|
|
1043
|
-
Write to \`.dino/ralph-gate/status.md\` with: "# Ralph Gate Status\\n\\nStatus: PHASE 1 - RESEARCH"
|
|
1044
|
-
|
|
1045
|
-
## STEP 2: SPAWN SCOUT AGENT (MANDATORY)
|
|
1046
|
-
|
|
1047
|
-
**USE THE TASK TOOL NOW** with these parameters:
|
|
1048
|
-
- subagent_type: "Explore"
|
|
1049
|
-
- description: "Ralph Gate Scout - Deep Research"
|
|
1050
|
-
- prompt: Include the user request, then require: finding all related code with Grep/Glob, mapping dependencies, assessing risks, creating file impact list. Output must be a RESEARCH REPORT with patterns, risk matrix, file list, and draft PRD with stories.
|
|
1051
|
-
|
|
1052
|
-
**WAIT FOR SCOUT TO COMPLETE.**
|
|
1053
|
-
|
|
1054
|
-
## STEP 3: SAVE SCOUT OUTPUT
|
|
1055
|
-
|
|
1056
|
-
Write scout output to \`.dino/ralph-gate/research-report.md\`
|
|
1057
|
-
|
|
1058
|
-
## STEP 4: SPAWN AUDITOR AGENT (MANDATORY)
|
|
1059
|
-
|
|
1060
|
-
**USE THE TASK TOOL NOW** with:
|
|
1061
|
-
- subagent_type: "Plan"
|
|
1062
|
-
- model: "opus"
|
|
1063
|
-
- description: "Ralph Gate Auditor - Strict Validation"
|
|
1064
|
-
- prompt: Include user request + research report. Auditor scores: Specification (25pts), Ambiguity (must be 0), PRD Quality (25pts), Risk (25pts), Research (25pts). Output "GATE: APPROVED" if score >= 95 AND ambiguity == 0, else "GATE: REJECTED" with blocking issues.
|
|
1065
|
-
|
|
1066
|
-
**WAIT FOR AUDITOR TO COMPLETE.**
|
|
1067
|
-
|
|
1068
|
-
## STEP 5: CHECK GATE RESULT
|
|
1069
|
-
|
|
1070
|
-
- IF "GATE: APPROVED" → Continue to Step 6
|
|
1071
|
-
- IF "GATE: REJECTED" → Use AskUserQuestion to clarify issues, then re-run Step 4 (max 3 cycles)
|
|
1072
|
-
|
|
1073
|
-
## STEP 6: SAVE AUDIT REPORT
|
|
1074
|
-
|
|
1075
|
-
Write auditor output to \`.dino/ralph-gate/audit-report.md\`
|
|
1076
|
-
|
|
1077
|
-
## STEP 7: SPAWN RALPH EXECUTOR (ONLY IF APPROVED)
|
|
1078
|
-
|
|
1079
|
-
**USE THE TASK TOOL NOW** with:
|
|
1080
|
-
- subagent_type: "general-purpose"
|
|
1081
|
-
- description: "Ralph Loop Executor"
|
|
1082
|
-
- prompt: Include gate status and validated PRD. For each story: git checkpoint, implement changes, run test command, commit if pass or retry (max 2). Update \`.dino/ralph-progress.md\` after each story.
|
|
1083
|
-
|
|
1084
|
-
## STEP 8: REPORT RESULTS
|
|
1085
|
-
|
|
1086
|
-
Save final status to \`.dino/ralph-gate/final-status.md\` and report: stories completed, stories failed, iterations used, files modified.
|
|
1087
|
-
|
|
1088
|
-
---
|
|
1089
|
-
|
|
1090
|
-
**START NOW: Execute Step 1, then Step 2, etc. Do not summarize.**
|
|
1058
|
+
content: `# 🦖 Ralph Gate - EXECUTE NOW
|
|
1059
|
+
|
|
1060
|
+
**YOU MUST EXECUTE THE THREE-AGENT WORKFLOW BELOW. DO NOT JUST DESCRIBE IT.**
|
|
1061
|
+
|
|
1062
|
+
## STEP 1: CREATE OUTPUT DIRECTORY
|
|
1063
|
+
|
|
1064
|
+
Write to \`.dino/ralph-gate/status.md\` with: "# Ralph Gate Status\\n\\nStatus: PHASE 1 - RESEARCH"
|
|
1065
|
+
|
|
1066
|
+
## STEP 2: SPAWN SCOUT AGENT (MANDATORY)
|
|
1067
|
+
|
|
1068
|
+
**USE THE TASK TOOL NOW** with these parameters:
|
|
1069
|
+
- subagent_type: "Explore"
|
|
1070
|
+
- description: "Ralph Gate Scout - Deep Research"
|
|
1071
|
+
- prompt: Include the user request, then require: finding all related code with Grep/Glob, mapping dependencies, assessing risks, creating file impact list. Output must be a RESEARCH REPORT with patterns, risk matrix, file list, and draft PRD with stories.
|
|
1072
|
+
|
|
1073
|
+
**WAIT FOR SCOUT TO COMPLETE.**
|
|
1074
|
+
|
|
1075
|
+
## STEP 3: SAVE SCOUT OUTPUT
|
|
1076
|
+
|
|
1077
|
+
Write scout output to \`.dino/ralph-gate/research-report.md\`
|
|
1078
|
+
|
|
1079
|
+
## STEP 4: SPAWN AUDITOR AGENT (MANDATORY)
|
|
1080
|
+
|
|
1081
|
+
**USE THE TASK TOOL NOW** with:
|
|
1082
|
+
- subagent_type: "Plan"
|
|
1083
|
+
- model: "opus"
|
|
1084
|
+
- description: "Ralph Gate Auditor - Strict Validation"
|
|
1085
|
+
- prompt: Include user request + research report. Auditor scores: Specification (25pts), Ambiguity (must be 0), PRD Quality (25pts), Risk (25pts), Research (25pts). Output "GATE: APPROVED" if score >= 95 AND ambiguity == 0, else "GATE: REJECTED" with blocking issues.
|
|
1086
|
+
|
|
1087
|
+
**WAIT FOR AUDITOR TO COMPLETE.**
|
|
1088
|
+
|
|
1089
|
+
## STEP 5: CHECK GATE RESULT
|
|
1090
|
+
|
|
1091
|
+
- IF "GATE: APPROVED" → Continue to Step 6
|
|
1092
|
+
- IF "GATE: REJECTED" → Use AskUserQuestion to clarify issues, then re-run Step 4 (max 3 cycles)
|
|
1093
|
+
|
|
1094
|
+
## STEP 6: SAVE AUDIT REPORT
|
|
1095
|
+
|
|
1096
|
+
Write auditor output to \`.dino/ralph-gate/audit-report.md\`
|
|
1097
|
+
|
|
1098
|
+
## STEP 7: SPAWN RALPH EXECUTOR (ONLY IF APPROVED)
|
|
1099
|
+
|
|
1100
|
+
**USE THE TASK TOOL NOW** with:
|
|
1101
|
+
- subagent_type: "general-purpose"
|
|
1102
|
+
- description: "Ralph Loop Executor"
|
|
1103
|
+
- prompt: Include gate status and validated PRD. For each story: git checkpoint, implement changes, run test command, commit if pass or retry (max 2). Update \`.dino/ralph-progress.md\` after each story.
|
|
1104
|
+
|
|
1105
|
+
## STEP 8: REPORT RESULTS
|
|
1106
|
+
|
|
1107
|
+
Save final status to \`.dino/ralph-gate/final-status.md\` and report: stories completed, stories failed, iterations used, files modified.
|
|
1108
|
+
|
|
1109
|
+
---
|
|
1110
|
+
|
|
1111
|
+
**START NOW: Execute Step 1, then Step 2, etc. Do not summarize.**
|
|
1091
1112
|
`,
|
|
1092
1113
|
},
|
|
1093
1114
|
];
|
|
@@ -1105,138 +1126,147 @@ const RESEARCH_SKILL = {
|
|
|
1105
1126
|
model: 'sonnet',
|
|
1106
1127
|
context: 'fork',
|
|
1107
1128
|
effort: 'medium',
|
|
1108
|
-
allowedTools: [
|
|
1129
|
+
allowedTools: [
|
|
1130
|
+
'Read',
|
|
1131
|
+
'Grep',
|
|
1132
|
+
'Glob',
|
|
1133
|
+
'Task',
|
|
1134
|
+
'WebSearch',
|
|
1135
|
+
'WebFetch',
|
|
1136
|
+
'Write',
|
|
1137
|
+
'AskUserQuestion',
|
|
1138
|
+
],
|
|
1109
1139
|
disallowedTools: ['Edit', 'Bash'],
|
|
1110
1140
|
},
|
|
1111
|
-
content: `# Research Skill
|
|
1112
|
-
|
|
1113
|
-
Research technical topics and save findings for future reuse. Avoids redundant web fetches by checking saved research first.
|
|
1114
|
-
|
|
1115
|
-
## Usage
|
|
1116
|
-
|
|
1117
|
-
\`\`\`
|
|
1118
|
-
/research <topic> # Research and save
|
|
1119
|
-
/research list # List saved research
|
|
1120
|
-
/research recall <topic> # Recall saved research without re-fetching
|
|
1121
|
-
\`\`\`
|
|
1122
|
-
|
|
1123
|
-
**Examples:**
|
|
1124
|
-
- \`/research context engineering\`
|
|
1125
|
-
- \`/research react hooks best practices\`
|
|
1126
|
-
- \`/research recall typescript generics\`
|
|
1127
|
-
|
|
1128
|
-
## Workflow
|
|
1129
|
-
|
|
1130
|
-
### 1. Check Saved Research First (CRITICAL)
|
|
1131
|
-
|
|
1132
|
-
Before ANY web search, check for existing research:
|
|
1133
|
-
|
|
1134
|
-
\`\`\`
|
|
1135
|
-
.dino/research/<topic-slug>.md
|
|
1136
|
-
.claude/docs/<topic>.md
|
|
1137
|
-
\`\`\`
|
|
1138
|
-
|
|
1139
|
-
If found and recent (< 30 days), present it directly without web fetching.
|
|
1140
|
-
|
|
1141
|
-
### 2. Web Research (only if needed)
|
|
1142
|
-
|
|
1143
|
-
Only fetch from web when:
|
|
1144
|
-
- No saved research exists
|
|
1145
|
-
- Saved research is stale (> 30 days)
|
|
1146
|
-
- User explicitly requests fresh research with \`--fresh\`
|
|
1147
|
-
|
|
1148
|
-
When researching:
|
|
1149
|
-
- Search authoritative sources
|
|
1150
|
-
- Cross-reference multiple sources
|
|
1151
|
-
- Extract actionable information
|
|
1152
|
-
|
|
1153
|
-
### 3. Save Research (ALWAYS)
|
|
1154
|
-
|
|
1155
|
-
Save ALL research to \`.dino/research/<topic-slug>.md\` in ready-to-use format:
|
|
1156
|
-
|
|
1157
|
-
\`\`\`markdown
|
|
1158
|
-
---
|
|
1159
|
-
topic: <Full Topic Name>
|
|
1160
|
-
slug: <topic-slug>
|
|
1161
|
-
created: <ISO date>
|
|
1162
|
-
updated: <ISO date>
|
|
1163
|
-
sources:
|
|
1164
|
-
- url: <source url>
|
|
1165
|
-
title: <source title>
|
|
1166
|
-
accessed: <ISO date>
|
|
1167
|
-
tags: [<tag1>, <tag2>]
|
|
1168
|
-
---
|
|
1169
|
-
|
|
1170
|
-
# <Topic Name>
|
|
1171
|
-
|
|
1172
|
-
## TL;DR
|
|
1173
|
-
<2-3 sentence summary for quick reference>
|
|
1174
|
-
|
|
1175
|
-
## Key Facts
|
|
1176
|
-
- Fact 1
|
|
1177
|
-
- Fact 2
|
|
1178
|
-
- Fact 3
|
|
1179
|
-
|
|
1180
|
-
## Details
|
|
1181
|
-
<Detailed explanation with examples>
|
|
1182
|
-
|
|
1183
|
-
## Code Examples (if applicable)
|
|
1184
|
-
\\\`\\\`\\\`code
|
|
1185
|
-
<ready-to-use code snippets>
|
|
1186
|
-
\\\`\\\`\\\`
|
|
1187
|
-
|
|
1188
|
-
## Common Pitfalls
|
|
1189
|
-
- Pitfall 1
|
|
1190
|
-
- Pitfall 2
|
|
1191
|
-
|
|
1192
|
-
## See Also
|
|
1193
|
-
- Related topic 1
|
|
1194
|
-
- Related topic 2
|
|
1195
|
-
\`\`\`
|
|
1196
|
-
|
|
1197
|
-
### 4. Present to User
|
|
1198
|
-
|
|
1199
|
-
After saving, present a summary and note where it's saved.
|
|
1200
|
-
|
|
1201
|
-
## File Naming
|
|
1202
|
-
|
|
1203
|
-
Convert topic to slug: lowercase, replace spaces with hyphens, remove special chars.
|
|
1204
|
-
|
|
1205
|
-
Examples:
|
|
1206
|
-
- "Context Engineering" → \`context-engineering.md\`
|
|
1207
|
-
- "React Hooks Best Practices" → \`react-hooks-best-practices.md\`
|
|
1208
|
-
- "TypeScript Generics" → \`typescript-generics.md\`
|
|
1209
|
-
|
|
1210
|
-
## Commands
|
|
1211
|
-
|
|
1212
|
-
### \`/research <topic>\`
|
|
1213
|
-
1. Check \`.dino/research/\` for existing research
|
|
1214
|
-
2. If found and fresh: present it
|
|
1215
|
-
3. If not found or stale: research, save, present
|
|
1216
|
-
|
|
1217
|
-
### \`/research list\`
|
|
1218
|
-
List all saved research files with topics and dates.
|
|
1219
|
-
|
|
1220
|
-
### \`/research recall <topic>\`
|
|
1221
|
-
Load and present saved research without any web fetching.
|
|
1222
|
-
Returns error if no saved research exists.
|
|
1223
|
-
|
|
1224
|
-
### \`/research <topic> --fresh\`
|
|
1225
|
-
Force fresh research even if saved version exists.
|
|
1226
|
-
Updates the saved file with new findings.
|
|
1227
|
-
|
|
1228
|
-
## Benefits
|
|
1229
|
-
|
|
1230
|
-
- **No redundant fetches**: Same topic researched once, reused many times
|
|
1231
|
-
- **Git tracked**: Research persists across sessions and is shared with team
|
|
1232
|
-
- **Ready-to-use format**: Code examples, key facts, TL;DR for quick reference
|
|
1233
|
-
- **Source tracking**: Know where information came from and when
|
|
1234
|
-
|
|
1235
|
-
## Notes
|
|
1236
|
-
|
|
1237
|
-
- Research is saved to \`.dino/research/\` which is now git-tracked
|
|
1238
|
-
- High-value permanent docs can also go to \`.claude/docs/\`
|
|
1239
|
-
- Fork context ensures clean separation from main conversation
|
|
1141
|
+
content: `# Research Skill
|
|
1142
|
+
|
|
1143
|
+
Research technical topics and save findings for future reuse. Avoids redundant web fetches by checking saved research first.
|
|
1144
|
+
|
|
1145
|
+
## Usage
|
|
1146
|
+
|
|
1147
|
+
\`\`\`
|
|
1148
|
+
/research <topic> # Research and save
|
|
1149
|
+
/research list # List saved research
|
|
1150
|
+
/research recall <topic> # Recall saved research without re-fetching
|
|
1151
|
+
\`\`\`
|
|
1152
|
+
|
|
1153
|
+
**Examples:**
|
|
1154
|
+
- \`/research context engineering\`
|
|
1155
|
+
- \`/research react hooks best practices\`
|
|
1156
|
+
- \`/research recall typescript generics\`
|
|
1157
|
+
|
|
1158
|
+
## Workflow
|
|
1159
|
+
|
|
1160
|
+
### 1. Check Saved Research First (CRITICAL)
|
|
1161
|
+
|
|
1162
|
+
Before ANY web search, check for existing research:
|
|
1163
|
+
|
|
1164
|
+
\`\`\`
|
|
1165
|
+
.dino/research/<topic-slug>.md
|
|
1166
|
+
.claude/docs/<topic>.md
|
|
1167
|
+
\`\`\`
|
|
1168
|
+
|
|
1169
|
+
If found and recent (< 30 days), present it directly without web fetching.
|
|
1170
|
+
|
|
1171
|
+
### 2. Web Research (only if needed)
|
|
1172
|
+
|
|
1173
|
+
Only fetch from web when:
|
|
1174
|
+
- No saved research exists
|
|
1175
|
+
- Saved research is stale (> 30 days)
|
|
1176
|
+
- User explicitly requests fresh research with \`--fresh\`
|
|
1177
|
+
|
|
1178
|
+
When researching:
|
|
1179
|
+
- Search authoritative sources
|
|
1180
|
+
- Cross-reference multiple sources
|
|
1181
|
+
- Extract actionable information
|
|
1182
|
+
|
|
1183
|
+
### 3. Save Research (ALWAYS)
|
|
1184
|
+
|
|
1185
|
+
Save ALL research to \`.dino/research/<topic-slug>.md\` in ready-to-use format:
|
|
1186
|
+
|
|
1187
|
+
\`\`\`markdown
|
|
1188
|
+
---
|
|
1189
|
+
topic: <Full Topic Name>
|
|
1190
|
+
slug: <topic-slug>
|
|
1191
|
+
created: <ISO date>
|
|
1192
|
+
updated: <ISO date>
|
|
1193
|
+
sources:
|
|
1194
|
+
- url: <source url>
|
|
1195
|
+
title: <source title>
|
|
1196
|
+
accessed: <ISO date>
|
|
1197
|
+
tags: [<tag1>, <tag2>]
|
|
1198
|
+
---
|
|
1199
|
+
|
|
1200
|
+
# <Topic Name>
|
|
1201
|
+
|
|
1202
|
+
## TL;DR
|
|
1203
|
+
<2-3 sentence summary for quick reference>
|
|
1204
|
+
|
|
1205
|
+
## Key Facts
|
|
1206
|
+
- Fact 1
|
|
1207
|
+
- Fact 2
|
|
1208
|
+
- Fact 3
|
|
1209
|
+
|
|
1210
|
+
## Details
|
|
1211
|
+
<Detailed explanation with examples>
|
|
1212
|
+
|
|
1213
|
+
## Code Examples (if applicable)
|
|
1214
|
+
\\\`\\\`\\\`code
|
|
1215
|
+
<ready-to-use code snippets>
|
|
1216
|
+
\\\`\\\`\\\`
|
|
1217
|
+
|
|
1218
|
+
## Common Pitfalls
|
|
1219
|
+
- Pitfall 1
|
|
1220
|
+
- Pitfall 2
|
|
1221
|
+
|
|
1222
|
+
## See Also
|
|
1223
|
+
- Related topic 1
|
|
1224
|
+
- Related topic 2
|
|
1225
|
+
\`\`\`
|
|
1226
|
+
|
|
1227
|
+
### 4. Present to User
|
|
1228
|
+
|
|
1229
|
+
After saving, present a summary and note where it's saved.
|
|
1230
|
+
|
|
1231
|
+
## File Naming
|
|
1232
|
+
|
|
1233
|
+
Convert topic to slug: lowercase, replace spaces with hyphens, remove special chars.
|
|
1234
|
+
|
|
1235
|
+
Examples:
|
|
1236
|
+
- "Context Engineering" → \`context-engineering.md\`
|
|
1237
|
+
- "React Hooks Best Practices" → \`react-hooks-best-practices.md\`
|
|
1238
|
+
- "TypeScript Generics" → \`typescript-generics.md\`
|
|
1239
|
+
|
|
1240
|
+
## Commands
|
|
1241
|
+
|
|
1242
|
+
### \`/research <topic>\`
|
|
1243
|
+
1. Check \`.dino/research/\` for existing research
|
|
1244
|
+
2. If found and fresh: present it
|
|
1245
|
+
3. If not found or stale: research, save, present
|
|
1246
|
+
|
|
1247
|
+
### \`/research list\`
|
|
1248
|
+
List all saved research files with topics and dates.
|
|
1249
|
+
|
|
1250
|
+
### \`/research recall <topic>\`
|
|
1251
|
+
Load and present saved research without any web fetching.
|
|
1252
|
+
Returns error if no saved research exists.
|
|
1253
|
+
|
|
1254
|
+
### \`/research <topic> --fresh\`
|
|
1255
|
+
Force fresh research even if saved version exists.
|
|
1256
|
+
Updates the saved file with new findings.
|
|
1257
|
+
|
|
1258
|
+
## Benefits
|
|
1259
|
+
|
|
1260
|
+
- **No redundant fetches**: Same topic researched once, reused many times
|
|
1261
|
+
- **Git tracked**: Research persists across sessions and is shared with team
|
|
1262
|
+
- **Ready-to-use format**: Code examples, key facts, TL;DR for quick reference
|
|
1263
|
+
- **Source tracking**: Know where information came from and when
|
|
1264
|
+
|
|
1265
|
+
## Notes
|
|
1266
|
+
|
|
1267
|
+
- Research is saved to \`.dino/research/\` which is now git-tracked
|
|
1268
|
+
- High-value permanent docs can also go to \`.claude/docs/\`
|
|
1269
|
+
- Fork context ensures clean separation from main conversation
|
|
1240
1270
|
`,
|
|
1241
1271
|
};
|
|
1242
1272
|
/**
|
|
@@ -1379,39 +1409,39 @@ function generateMainSkill() {
|
|
|
1379
1409
|
model: 'sonnet',
|
|
1380
1410
|
context: 'inherit',
|
|
1381
1411
|
});
|
|
1382
|
-
return `${frontmatter}
|
|
1383
|
-
|
|
1384
|
-
# 🦖 Dino-Spec Skills (v${VERSION})
|
|
1385
|
-
|
|
1386
|
-
Workflow phase skills for structured development.
|
|
1387
|
-
|
|
1388
|
-
## Phase Skills
|
|
1389
|
-
|
|
1390
|
-
| Skill | Phase | Description |
|
|
1391
|
-
|-------|-------|-------------|
|
|
1392
|
-
| \`/dino.spec\` | Specification | Analyze prompts, clarify requirements |
|
|
1393
|
-
| \`/dino.discover\` | Discovery | Capture requirements |
|
|
1394
|
-
| \`/dino.scout\` | Research | Explore options |
|
|
1395
|
-
| \`/dino.sniff\` | Clarification | Resolve ambiguities |
|
|
1396
|
-
| \`/dino.nest\` | Planning | Design approach |
|
|
1397
|
-
| \`/dino.hatch\` | Breakdown | Create tasks |
|
|
1398
|
-
| \`/dino.hunt\` | Implementation | Execute tasks |
|
|
1399
|
-
| \`/dino.aging\` | Verification | Run tests |
|
|
1400
|
-
| \`/dino.fossil\` | Completion | Archive work |
|
|
1401
|
-
|
|
1402
|
-
## Utility Skills
|
|
1403
|
-
|
|
1404
|
-
| Skill | Description |
|
|
1405
|
-
|-------|-------------|
|
|
1406
|
-
| \`/dino.init\` | Update dino
|
|
1407
|
-
| \`/dino.ralph\` | Fresh-context iterative execution |
|
|
1408
|
-
| \`/dino.status\` | Check session state (--next, --focus, --tips) |
|
|
1409
|
-
| \`/dino.release\` | Release workflow with doc updates |
|
|
1410
|
-
|
|
1411
|
-
## Usage
|
|
1412
|
-
|
|
1413
|
-
Invoke any skill by typing its command (e.g., \`/dino.discover\`).
|
|
1414
|
-
Skills automatically use session context from \`.dino/session.md\`.
|
|
1412
|
+
return `${frontmatter}
|
|
1413
|
+
|
|
1414
|
+
# 🦖 Dino-Spec Skills (v${VERSION})
|
|
1415
|
+
|
|
1416
|
+
Workflow phase skills for structured development.
|
|
1417
|
+
|
|
1418
|
+
## Phase Skills
|
|
1419
|
+
|
|
1420
|
+
| Skill | Phase | Description |
|
|
1421
|
+
|-------|-------|-------------|
|
|
1422
|
+
| \`/dino.spec\` | Specification | Analyze prompts, clarify requirements |
|
|
1423
|
+
| \`/dino.discover\` | Discovery | Capture requirements |
|
|
1424
|
+
| \`/dino.scout\` | Research | Explore options |
|
|
1425
|
+
| \`/dino.sniff\` | Clarification | Resolve ambiguities |
|
|
1426
|
+
| \`/dino.nest\` | Planning | Design approach |
|
|
1427
|
+
| \`/dino.hatch\` | Breakdown | Create tasks |
|
|
1428
|
+
| \`/dino.hunt\` | Implementation | Execute tasks |
|
|
1429
|
+
| \`/dino.aging\` | Verification | Run tests |
|
|
1430
|
+
| \`/dino.fossil\` | Completion | Archive work |
|
|
1431
|
+
|
|
1432
|
+
## Utility Skills
|
|
1433
|
+
|
|
1434
|
+
| Skill | Description |
|
|
1435
|
+
|-------|-------------|
|
|
1436
|
+
| \`/dino.init\` | Update dino files safely |
|
|
1437
|
+
| \`/dino.ralph\` | Fresh-context iterative execution |
|
|
1438
|
+
| \`/dino.status\` | Check session state (--next, --focus, --tips) |
|
|
1439
|
+
| \`/dino.release\` | Release workflow with doc updates |
|
|
1440
|
+
|
|
1441
|
+
## Usage
|
|
1442
|
+
|
|
1443
|
+
Invoke any skill by typing its command (e.g., \`/dino.discover\`).
|
|
1444
|
+
Skills automatically use session context from \`.dino/session.md\`.
|
|
1415
1445
|
`;
|
|
1416
1446
|
}
|
|
1417
1447
|
/**
|