agent-bober 0.17.1 → 0.19.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/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +26 -0
- package/README.md +402 -10
- package/agents/bober-art-director.md +100 -0
- package/agents/bober-design-critic.md +114 -0
- package/agents/bober-frontend-builder.md +101 -0
- package/agents/bober-security-auditor.md +193 -0
- package/agents/bober-security-verifier.md +104 -0
- package/agents/bober-seo-strategist.md +144 -0
- package/agents/bober-seo-verifier.md +103 -0
- package/dist/calendar/calendar-egress.d.ts +26 -0
- package/dist/calendar/calendar-egress.d.ts.map +1 -0
- package/dist/calendar/calendar-egress.js +35 -0
- package/dist/calendar/calendar-egress.js.map +1 -0
- package/dist/calendar/calendar-token.d.ts +34 -0
- package/dist/calendar/calendar-token.d.ts.map +1 -0
- package/dist/calendar/calendar-token.js +56 -0
- package/dist/calendar/calendar-token.js.map +1 -0
- package/dist/calendar/connector.d.ts +22 -0
- package/dist/calendar/connector.d.ts.map +1 -0
- package/dist/calendar/connector.js +3 -0
- package/dist/calendar/connector.js.map +1 -0
- package/dist/calendar/finding-source.d.ts +20 -0
- package/dist/calendar/finding-source.d.ts.map +1 -0
- package/dist/calendar/finding-source.js +35 -0
- package/dist/calendar/finding-source.js.map +1 -0
- package/dist/calendar/google-connector.d.ts +65 -0
- package/dist/calendar/google-connector.d.ts.map +1 -0
- package/dist/calendar/google-connector.js +129 -0
- package/dist/calendar/google-connector.js.map +1 -0
- package/dist/calendar/ics-connector.d.ts +12 -0
- package/dist/calendar/ics-connector.d.ts.map +1 -0
- package/dist/calendar/ics-connector.js +48 -0
- package/dist/calendar/ics-connector.js.map +1 -0
- package/dist/calendar/proposal-gate.d.ts +84 -0
- package/dist/calendar/proposal-gate.d.ts.map +1 -0
- package/dist/calendar/proposal-gate.js +126 -0
- package/dist/calendar/proposal-gate.js.map +1 -0
- package/dist/calendar/slotter.d.ts +34 -0
- package/dist/calendar/slotter.d.ts.map +1 -0
- package/dist/calendar/slotter.js +196 -0
- package/dist/calendar/slotter.js.map +1 -0
- package/dist/calendar/types.d.ts +162 -0
- package/dist/calendar/types.d.ts.map +1 -0
- package/dist/calendar/types.js +28 -0
- package/dist/calendar/types.js.map +1 -0
- package/dist/chat/answerer.d.ts +17 -0
- package/dist/chat/answerer.d.ts.map +1 -0
- package/dist/chat/answerer.js +52 -0
- package/dist/chat/answerer.js.map +1 -0
- package/dist/chat/approval-cursor.d.ts +25 -0
- package/dist/chat/approval-cursor.d.ts.map +1 -0
- package/dist/chat/approval-cursor.js +61 -0
- package/dist/chat/approval-cursor.js.map +1 -0
- package/dist/chat/approval-reader.d.ts +11 -0
- package/dist/chat/approval-reader.d.ts.map +1 -0
- package/dist/chat/approval-reader.js +20 -0
- package/dist/chat/approval-reader.js.map +1 -0
- package/dist/chat/careful-sidecar.d.ts +15 -0
- package/dist/chat/careful-sidecar.d.ts.map +1 -0
- package/dist/chat/careful-sidecar.js +39 -0
- package/dist/chat/careful-sidecar.js.map +1 -0
- package/dist/chat/chat-session.d.ts +156 -0
- package/dist/chat/chat-session.d.ts.map +1 -0
- package/dist/chat/chat-session.js +570 -0
- package/dist/chat/chat-session.js.map +1 -0
- package/dist/chat/completion-tailer.d.ts +27 -0
- package/dist/chat/completion-tailer.d.ts.map +1 -0
- package/dist/chat/completion-tailer.js +187 -0
- package/dist/chat/completion-tailer.js.map +1 -0
- package/dist/chat/conversation-store.d.ts +22 -0
- package/dist/chat/conversation-store.d.ts.map +1 -0
- package/dist/chat/conversation-store.js +66 -0
- package/dist/chat/conversation-store.js.map +1 -0
- package/dist/chat/cursor-store.d.ts +23 -0
- package/dist/chat/cursor-store.d.ts.map +1 -0
- package/dist/chat/cursor-store.js +42 -0
- package/dist/chat/cursor-store.js.map +1 -0
- package/dist/chat/pid-sidecar.d.ts +22 -0
- package/dist/chat/pid-sidecar.d.ts.map +1 -0
- package/dist/chat/pid-sidecar.js +42 -0
- package/dist/chat/pid-sidecar.js.map +1 -0
- package/dist/chat/roster-reader.d.ts +16 -0
- package/dist/chat/roster-reader.d.ts.map +1 -0
- package/dist/chat/roster-reader.js +39 -0
- package/dist/chat/roster-reader.js.map +1 -0
- package/dist/chat/run-spawner.d.ts +71 -0
- package/dist/chat/run-spawner.d.ts.map +1 -0
- package/dist/chat/run-spawner.js +121 -0
- package/dist/chat/run-spawner.js.map +1 -0
- package/dist/chat/slash-commands.d.ts +40 -0
- package/dist/chat/slash-commands.d.ts.map +1 -0
- package/dist/chat/slash-commands.js +153 -0
- package/dist/chat/slash-commands.js.map +1 -0
- package/dist/chat/steer-cleanup.d.ts +12 -0
- package/dist/chat/steer-cleanup.d.ts.map +1 -0
- package/dist/chat/steer-cleanup.js +60 -0
- package/dist/chat/steer-cleanup.js.map +1 -0
- package/dist/chat/turn-classifier.d.ts +46 -0
- package/dist/chat/turn-classifier.d.ts.map +1 -0
- package/dist/chat/turn-classifier.js +157 -0
- package/dist/chat/turn-classifier.js.map +1 -0
- package/dist/cli/commands/blackboard.d.ts +33 -0
- package/dist/cli/commands/blackboard.d.ts.map +1 -0
- package/dist/cli/commands/blackboard.js +114 -0
- package/dist/cli/commands/blackboard.js.map +1 -0
- package/dist/cli/commands/calendar.d.ts +75 -0
- package/dist/cli/commands/calendar.d.ts.map +1 -0
- package/dist/cli/commands/calendar.js +203 -0
- package/dist/cli/commands/calendar.js.map +1 -0
- package/dist/cli/commands/chat.d.ts +13 -0
- package/dist/cli/commands/chat.d.ts.map +1 -0
- package/dist/cli/commands/chat.js +43 -0
- package/dist/cli/commands/chat.js.map +1 -0
- package/dist/cli/commands/do.d.ts +52 -0
- package/dist/cli/commands/do.d.ts.map +1 -0
- package/dist/cli/commands/do.js +216 -0
- package/dist/cli/commands/do.js.map +1 -0
- package/dist/cli/commands/evolve.d.ts +18 -0
- package/dist/cli/commands/evolve.d.ts.map +1 -0
- package/dist/cli/commands/evolve.js +72 -0
- package/dist/cli/commands/evolve.js.map +1 -0
- package/dist/cli/commands/facts.d.ts +15 -0
- package/dist/cli/commands/facts.d.ts.map +1 -0
- package/dist/cli/commands/facts.js +213 -0
- package/dist/cli/commands/facts.js.map +1 -0
- package/dist/cli/commands/hub.d.ts +29 -0
- package/dist/cli/commands/hub.d.ts.map +1 -0
- package/dist/cli/commands/hub.js +233 -0
- package/dist/cli/commands/hub.js.map +1 -0
- package/dist/cli/commands/medical.d.ts +49 -0
- package/dist/cli/commands/medical.d.ts.map +1 -0
- package/dist/cli/commands/medical.js +365 -0
- package/dist/cli/commands/medical.js.map +1 -0
- package/dist/cli/commands/memory.d.ts +2 -1
- package/dist/cli/commands/memory.d.ts.map +1 -1
- package/dist/cli/commands/memory.js +94 -7
- package/dist/cli/commands/memory.js.map +1 -1
- package/dist/cli/commands/plan.d.ts.map +1 -1
- package/dist/cli/commands/plan.js +29 -3
- package/dist/cli/commands/plan.js.map +1 -1
- package/dist/cli/commands/replay.d.ts +17 -0
- package/dist/cli/commands/replay.d.ts.map +1 -0
- package/dist/cli/commands/replay.js +261 -0
- package/dist/cli/commands/replay.js.map +1 -0
- package/dist/cli/commands/research.d.ts +41 -0
- package/dist/cli/commands/research.d.ts.map +1 -0
- package/dist/cli/commands/research.js +313 -0
- package/dist/cli/commands/research.js.map +1 -0
- package/dist/cli/commands/run.d.ts +9 -0
- package/dist/cli/commands/run.d.ts.map +1 -1
- package/dist/cli/commands/run.js +27 -1
- package/dist/cli/commands/run.js.map +1 -1
- package/dist/cli/commands/security-audit.d.ts +89 -0
- package/dist/cli/commands/security-audit.d.ts.map +1 -0
- package/dist/cli/commands/security-audit.js +238 -0
- package/dist/cli/commands/security-audit.js.map +1 -0
- package/dist/cli/commands/sprint.d.ts.map +1 -1
- package/dist/cli/commands/sprint.js +17 -3
- package/dist/cli/commands/sprint.js.map +1 -1
- package/dist/cli/commands/task.d.ts +64 -0
- package/dist/cli/commands/task.d.ts.map +1 -0
- package/dist/cli/commands/task.js +422 -0
- package/dist/cli/commands/task.js.map +1 -0
- package/dist/cli/commands/telegram.d.ts +10 -0
- package/dist/cli/commands/telegram.d.ts.map +1 -0
- package/dist/cli/commands/telegram.js +44 -0
- package/dist/cli/commands/telegram.js.map +1 -0
- package/dist/cli/commands/vault.d.ts +40 -0
- package/dist/cli/commands/vault.d.ts.map +1 -0
- package/dist/cli/commands/vault.js +122 -0
- package/dist/cli/commands/vault.js.map +1 -0
- package/dist/cli/index.js +45 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/defaults.js +8 -0
- package/dist/config/defaults.js.map +1 -1
- package/dist/config/role-providers.d.ts +16 -1
- package/dist/config/role-providers.d.ts.map +1 -1
- package/dist/config/role-providers.js +14 -2
- package/dist/config/role-providers.js.map +1 -1
- package/dist/config/schema.d.ts +4050 -454
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +429 -1
- package/dist/config/schema.js.map +1 -1
- package/dist/contracts/eval-result.d.ts +84 -84
- package/dist/contracts/spec.d.ts +28 -28
- package/dist/contracts/sprint-contract.d.ts +4 -4
- package/dist/do-bridge/coding-promoter.d.ts +19 -0
- package/dist/do-bridge/coding-promoter.d.ts.map +1 -0
- package/dist/do-bridge/coding-promoter.js +43 -0
- package/dist/do-bridge/coding-promoter.js.map +1 -0
- package/dist/do-bridge/finding-port.d.ts +88 -0
- package/dist/do-bridge/finding-port.d.ts.map +1 -0
- package/dist/do-bridge/finding-port.js +95 -0
- package/dist/do-bridge/finding-port.js.map +1 -0
- package/dist/do-bridge/launcher.d.ts +55 -0
- package/dist/do-bridge/launcher.d.ts.map +1 -0
- package/dist/do-bridge/launcher.js +37 -0
- package/dist/do-bridge/launcher.js.map +1 -0
- package/dist/do-bridge/promote.d.ts +50 -0
- package/dist/do-bridge/promote.d.ts.map +1 -0
- package/dist/do-bridge/promote.js +116 -0
- package/dist/do-bridge/promote.js.map +1 -0
- package/dist/do-bridge/reconcile.d.ts +50 -0
- package/dist/do-bridge/reconcile.d.ts.map +1 -0
- package/dist/do-bridge/reconcile.js +70 -0
- package/dist/do-bridge/reconcile.js.map +1 -0
- package/dist/do-bridge/registry.d.ts +23 -0
- package/dist/do-bridge/registry.d.ts.map +1 -0
- package/dist/do-bridge/registry.js +42 -0
- package/dist/do-bridge/registry.js.map +1 -0
- package/dist/do-bridge/types.d.ts +50 -0
- package/dist/do-bridge/types.d.ts.map +1 -0
- package/dist/do-bridge/types.js +17 -0
- package/dist/do-bridge/types.js.map +1 -0
- package/dist/fleet/child-config.d.ts.map +1 -1
- package/dist/fleet/child-config.js +7 -0
- package/dist/fleet/child-config.js.map +1 -1
- package/dist/fleet/coordinator.d.ts +27 -1
- package/dist/fleet/coordinator.d.ts.map +1 -1
- package/dist/fleet/coordinator.js +70 -0
- package/dist/fleet/coordinator.js.map +1 -1
- package/dist/fleet/critic-deep.d.ts +61 -0
- package/dist/fleet/critic-deep.d.ts.map +1 -0
- package/dist/fleet/critic-deep.js +202 -0
- package/dist/fleet/critic-deep.js.map +1 -0
- package/dist/fleet/decomposer-deep-constants.d.ts +4 -0
- package/dist/fleet/decomposer-deep-constants.d.ts.map +1 -0
- package/dist/fleet/decomposer-deep-constants.js +14 -0
- package/dist/fleet/decomposer-deep-constants.js.map +1 -0
- package/dist/fleet/decomposer-deep-types.d.ts +8 -0
- package/dist/fleet/decomposer-deep-types.d.ts.map +1 -0
- package/dist/fleet/decomposer-deep-types.js +9 -0
- package/dist/fleet/decomposer-deep-types.js.map +1 -0
- package/dist/fleet/decomposer-deep.d.ts +44 -0
- package/dist/fleet/decomposer-deep.d.ts.map +1 -0
- package/dist/fleet/decomposer-deep.js +261 -0
- package/dist/fleet/decomposer-deep.js.map +1 -0
- package/dist/fleet/decomposer.d.ts +22 -0
- package/dist/fleet/decomposer.d.ts.map +1 -0
- package/dist/fleet/decomposer.js +144 -0
- package/dist/fleet/decomposer.js.map +1 -0
- package/dist/fleet/index.d.ts +102 -0
- package/dist/fleet/index.d.ts.map +1 -1
- package/dist/fleet/index.js +316 -9
- package/dist/fleet/index.js.map +1 -1
- package/dist/fleet/manifest-write.d.ts +30 -0
- package/dist/fleet/manifest-write.d.ts.map +1 -0
- package/dist/fleet/manifest-write.js +90 -0
- package/dist/fleet/manifest-write.js.map +1 -0
- package/dist/fleet/manifest.d.ts +32 -6
- package/dist/fleet/manifest.d.ts.map +1 -1
- package/dist/fleet/manifest.js +8 -0
- package/dist/fleet/manifest.js.map +1 -1
- package/dist/fleet/reporter.d.ts +4 -1
- package/dist/fleet/reporter.d.ts.map +1 -1
- package/dist/fleet/reporter.js +2 -1
- package/dist/fleet/reporter.js.map +1 -1
- package/dist/fleet/scaffolder.d.ts +5 -1
- package/dist/fleet/scaffolder.d.ts.map +1 -1
- package/dist/fleet/scaffolder.js +11 -2
- package/dist/fleet/scaffolder.js.map +1 -1
- package/dist/fleet/shared-blackboard.d.ts +51 -0
- package/dist/fleet/shared-blackboard.d.ts.map +1 -0
- package/dist/fleet/shared-blackboard.js +79 -0
- package/dist/fleet/shared-blackboard.js.map +1 -0
- package/dist/fleet/synthesis.d.ts +16 -0
- package/dist/fleet/synthesis.d.ts.map +1 -0
- package/dist/fleet/synthesis.js +22 -0
- package/dist/fleet/synthesis.js.map +1 -0
- package/dist/fleet/tier-policy.d.ts +18 -0
- package/dist/fleet/tier-policy.d.ts.map +1 -0
- package/dist/fleet/tier-policy.js +53 -0
- package/dist/fleet/tier-policy.js.map +1 -0
- package/dist/fleet/tool-role-guard.d.ts +24 -0
- package/dist/fleet/tool-role-guard.d.ts.map +1 -0
- package/dist/fleet/tool-role-guard.js +55 -0
- package/dist/fleet/tool-role-guard.js.map +1 -0
- package/dist/graph/client.d.ts.map +1 -1
- package/dist/graph/client.js +115 -23
- package/dist/graph/client.js.map +1 -1
- package/dist/graph/mcp-client.d.ts +1 -0
- package/dist/graph/mcp-client.d.ts.map +1 -1
- package/dist/graph/mcp-client.js +58 -7
- package/dist/graph/mcp-client.js.map +1 -1
- package/dist/hub/collector.d.ts +12 -0
- package/dist/hub/collector.d.ts.map +1 -0
- package/dist/hub/collector.js +36 -0
- package/dist/hub/collector.js.map +1 -0
- package/dist/hub/finding-source.d.ts +22 -0
- package/dist/hub/finding-source.d.ts.map +1 -0
- package/dist/hub/finding-source.js +41 -0
- package/dist/hub/finding-source.js.map +1 -0
- package/dist/hub/finding-store.d.ts +68 -0
- package/dist/hub/finding-store.d.ts.map +1 -0
- package/dist/hub/finding-store.js +122 -0
- package/dist/hub/finding-store.js.map +1 -0
- package/dist/hub/finding.d.ts +54 -0
- package/dist/hub/finding.d.ts.map +1 -0
- package/dist/hub/finding.js +24 -0
- package/dist/hub/finding.js.map +1 -0
- package/dist/hub/gmail-to-task.d.ts +69 -0
- package/dist/hub/gmail-to-task.d.ts.map +1 -0
- package/dist/hub/gmail-to-task.js +102 -0
- package/dist/hub/gmail-to-task.js.map +1 -0
- package/dist/hub/hub-config.d.ts +18 -0
- package/dist/hub/hub-config.d.ts.map +1 -0
- package/dist/hub/hub-config.js +40 -0
- package/dist/hub/hub-config.js.map +1 -0
- package/dist/hub/judge.d.ts +30 -0
- package/dist/hub/judge.d.ts.map +1 -0
- package/dist/hub/judge.js +177 -0
- package/dist/hub/judge.js.map +1 -0
- package/dist/hub/lenses.d.ts +60 -0
- package/dist/hub/lenses.d.ts.map +1 -0
- package/dist/hub/lenses.js +123 -0
- package/dist/hub/lenses.js.map +1 -0
- package/dist/hub/priority-md.d.ts +21 -0
- package/dist/hub/priority-md.d.ts.map +1 -0
- package/dist/hub/priority-md.js +64 -0
- package/dist/hub/priority-md.js.map +1 -0
- package/dist/hub/repo-resolver.d.ts +11 -0
- package/dist/hub/repo-resolver.d.ts.map +1 -0
- package/dist/hub/repo-resolver.js +39 -0
- package/dist/hub/repo-resolver.js.map +1 -0
- package/dist/hub/scope.d.ts +39 -0
- package/dist/hub/scope.d.ts.map +1 -0
- package/dist/hub/scope.js +62 -0
- package/dist/hub/scope.js.map +1 -0
- package/dist/hub/task-inbox.d.ts +16 -0
- package/dist/hub/task-inbox.d.ts.map +1 -0
- package/dist/hub/task-inbox.js +39 -0
- package/dist/hub/task-inbox.js.map +1 -0
- package/dist/incident/resolution-verify.d.ts +2 -2
- package/dist/incident/types.d.ts +8 -8
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp/run-manager.d.ts +9 -1
- package/dist/mcp/run-manager.d.ts.map +1 -1
- package/dist/mcp/run-manager.js.map +1 -1
- package/dist/medical/adapters/apple-health.d.ts +32 -0
- package/dist/medical/adapters/apple-health.d.ts.map +1 -0
- package/dist/medical/adapters/apple-health.js +100 -0
- package/dist/medical/adapters/apple-health.js.map +1 -0
- package/dist/medical/analysis/cadence.d.ts +32 -0
- package/dist/medical/analysis/cadence.d.ts.map +1 -0
- package/dist/medical/analysis/cadence.js +72 -0
- package/dist/medical/analysis/cadence.js.map +1 -0
- package/dist/medical/analysis/cross-marker.d.ts +33 -0
- package/dist/medical/analysis/cross-marker.d.ts.map +1 -0
- package/dist/medical/analysis/cross-marker.js +79 -0
- package/dist/medical/analysis/cross-marker.js.map +1 -0
- package/dist/medical/analysis/finding-writer.d.ts +26 -0
- package/dist/medical/analysis/finding-writer.d.ts.map +1 -0
- package/dist/medical/analysis/finding-writer.js +60 -0
- package/dist/medical/analysis/finding-writer.js.map +1 -0
- package/dist/medical/analysis/finding.d.ts +63 -0
- package/dist/medical/analysis/finding.d.ts.map +1 -0
- package/dist/medical/analysis/finding.js +70 -0
- package/dist/medical/analysis/finding.js.map +1 -0
- package/dist/medical/analysis/review-pass.d.ts +76 -0
- package/dist/medical/analysis/review-pass.d.ts.map +1 -0
- package/dist/medical/analysis/review-pass.js +119 -0
- package/dist/medical/analysis/review-pass.js.map +1 -0
- package/dist/medical/analysis/trends.d.ts +36 -0
- package/dist/medical/analysis/trends.d.ts.map +1 -0
- package/dist/medical/analysis/trends.js +157 -0
- package/dist/medical/analysis/trends.js.map +1 -0
- package/dist/medical/audit.d.ts +31 -0
- package/dist/medical/audit.d.ts.map +1 -0
- package/dist/medical/audit.js +56 -0
- package/dist/medical/audit.js.map +1 -0
- package/dist/medical/consent.d.ts +37 -0
- package/dist/medical/consent.d.ts.map +1 -0
- package/dist/medical/consent.js +73 -0
- package/dist/medical/consent.js.map +1 -0
- package/dist/medical/disclaimer.d.ts +11 -0
- package/dist/medical/disclaimer.d.ts.map +1 -0
- package/dist/medical/disclaimer.js +21 -0
- package/dist/medical/disclaimer.js.map +1 -0
- package/dist/medical/egress.d.ts +30 -0
- package/dist/medical/egress.d.ts.map +1 -0
- package/dist/medical/egress.js +50 -0
- package/dist/medical/egress.js.map +1 -0
- package/dist/medical/engine.d.ts +73 -0
- package/dist/medical/engine.d.ts.map +1 -0
- package/dist/medical/engine.js +333 -0
- package/dist/medical/engine.js.map +1 -0
- package/dist/medical/guardrails.d.ts +47 -0
- package/dist/medical/guardrails.d.ts.map +1 -0
- package/dist/medical/guardrails.js +92 -0
- package/dist/medical/guardrails.js.map +1 -0
- package/dist/medical/health-store.d.ts +85 -0
- package/dist/medical/health-store.d.ts.map +1 -0
- package/dist/medical/health-store.js +214 -0
- package/dist/medical/health-store.js.map +1 -0
- package/dist/medical/inference.d.ts +22 -0
- package/dist/medical/inference.d.ts.map +1 -0
- package/dist/medical/inference.js +39 -0
- package/dist/medical/inference.js.map +1 -0
- package/dist/medical/ingestion.d.ts +33 -0
- package/dist/medical/ingestion.d.ts.map +1 -0
- package/dist/medical/ingestion.js +52 -0
- package/dist/medical/ingestion.js.map +1 -0
- package/dist/medical/lab-note.d.ts +72 -0
- package/dist/medical/lab-note.d.ts.map +1 -0
- package/dist/medical/lab-note.js +161 -0
- package/dist/medical/lab-note.js.map +1 -0
- package/dist/medical/lab-pdf-parser.d.ts +19 -0
- package/dist/medical/lab-pdf-parser.d.ts.map +1 -0
- package/dist/medical/lab-pdf-parser.js +57 -0
- package/dist/medical/lab-pdf-parser.js.map +1 -0
- package/dist/medical/lab-reindex.d.ts +24 -0
- package/dist/medical/lab-reindex.d.ts.map +1 -0
- package/dist/medical/lab-reindex.js +45 -0
- package/dist/medical/lab-reindex.js.map +1 -0
- package/dist/medical/lab-types.d.ts +75 -0
- package/dist/medical/lab-types.d.ts.map +1 -0
- package/dist/medical/lab-types.js +17 -0
- package/dist/medical/lab-types.js.map +1 -0
- package/dist/medical/numerics.d.ts +66 -0
- package/dist/medical/numerics.d.ts.map +1 -0
- package/dist/medical/numerics.js +216 -0
- package/dist/medical/numerics.js.map +1 -0
- package/dist/medical/profile.d.ts +96 -0
- package/dist/medical/profile.d.ts.map +1 -0
- package/dist/medical/profile.js +273 -0
- package/dist/medical/profile.js.map +1 -0
- package/dist/medical/recommend/context.d.ts +48 -0
- package/dist/medical/recommend/context.d.ts.map +1 -0
- package/dist/medical/recommend/context.js +109 -0
- package/dist/medical/recommend/context.js.map +1 -0
- package/dist/medical/recommend/judge-panel.d.ts +49 -0
- package/dist/medical/recommend/judge-panel.d.ts.map +1 -0
- package/dist/medical/recommend/judge-panel.js +164 -0
- package/dist/medical/recommend/judge-panel.js.map +1 -0
- package/dist/medical/recommend/lenses.d.ts +72 -0
- package/dist/medical/recommend/lenses.d.ts.map +1 -0
- package/dist/medical/recommend/lenses.js +220 -0
- package/dist/medical/recommend/lenses.js.map +1 -0
- package/dist/medical/recommend/recommend.d.ts +86 -0
- package/dist/medical/recommend/recommend.d.ts.map +1 -0
- package/dist/medical/recommend/recommend.js +211 -0
- package/dist/medical/recommend/recommend.js.map +1 -0
- package/dist/medical/recommend/types.d.ts +98 -0
- package/dist/medical/recommend/types.d.ts.map +1 -0
- package/dist/medical/recommend/types.js +20 -0
- package/dist/medical/recommend/types.js.map +1 -0
- package/dist/medical/recommend/urgency.d.ts +26 -0
- package/dist/medical/recommend/urgency.d.ts.map +1 -0
- package/dist/medical/recommend/urgency.js +124 -0
- package/dist/medical/recommend/urgency.js.map +1 -0
- package/dist/medical/red-flag.d.ts +42 -0
- package/dist/medical/red-flag.d.ts.map +1 -0
- package/dist/medical/red-flag.js +161 -0
- package/dist/medical/red-flag.js.map +1 -0
- package/dist/medical/refusal.d.ts +46 -0
- package/dist/medical/refusal.d.ts.map +1 -0
- package/dist/medical/refusal.js +131 -0
- package/dist/medical/refusal.js.map +1 -0
- package/dist/medical/research/online-research.d.ts +65 -0
- package/dist/medical/research/online-research.d.ts.map +1 -0
- package/dist/medical/research/online-research.js +101 -0
- package/dist/medical/research/online-research.js.map +1 -0
- package/dist/medical/research/research-note.d.ts +32 -0
- package/dist/medical/research/research-note.d.ts.map +1 -0
- package/dist/medical/research/research-note.js +55 -0
- package/dist/medical/research/research-note.js.map +1 -0
- package/dist/medical/retrieval/grounding-critic.d.ts +34 -0
- package/dist/medical/retrieval/grounding-critic.d.ts.map +1 -0
- package/dist/medical/retrieval/grounding-critic.js +153 -0
- package/dist/medical/retrieval/grounding-critic.js.map +1 -0
- package/dist/medical/retrieval/literature.d.ts +78 -0
- package/dist/medical/retrieval/literature.d.ts.map +1 -0
- package/dist/medical/retrieval/literature.js +292 -0
- package/dist/medical/retrieval/literature.js.map +1 -0
- package/dist/medical/retrieval/medline-source.d.ts +72 -0
- package/dist/medical/retrieval/medline-source.d.ts.map +1 -0
- package/dist/medical/retrieval/medline-source.js +120 -0
- package/dist/medical/retrieval/medline-source.js.map +1 -0
- package/dist/medical/supplements.d.ts +82 -0
- package/dist/medical/supplements.d.ts.map +1 -0
- package/dist/medical/supplements.js +173 -0
- package/dist/medical/supplements.js.map +1 -0
- package/dist/medical/team.d.ts +15 -0
- package/dist/medical/team.d.ts.map +1 -0
- package/dist/medical/team.js +44 -0
- package/dist/medical/team.js.map +1 -0
- package/dist/medical/types.d.ts +175 -0
- package/dist/medical/types.d.ts.map +1 -0
- package/dist/medical/types.js +8 -0
- package/dist/medical/types.js.map +1 -0
- package/dist/medical/whoop/whoop-client.d.ts +114 -0
- package/dist/medical/whoop/whoop-client.d.ts.map +1 -0
- package/dist/medical/whoop/whoop-client.js +226 -0
- package/dist/medical/whoop/whoop-client.js.map +1 -0
- package/dist/medical/whoop/whoop-sync.d.ts +25 -0
- package/dist/medical/whoop/whoop-sync.d.ts.map +1 -0
- package/dist/medical/whoop/whoop-sync.js +97 -0
- package/dist/medical/whoop/whoop-sync.js.map +1 -0
- package/dist/medical/whoop/whoop-token.d.ts +44 -0
- package/dist/medical/whoop/whoop-token.d.ts.map +1 -0
- package/dist/medical/whoop/whoop-token.js +66 -0
- package/dist/medical/whoop/whoop-token.js.map +1 -0
- package/dist/orchestrator/agentic-loop.d.ts +160 -1
- package/dist/orchestrator/agentic-loop.d.ts.map +1 -1
- package/dist/orchestrator/agentic-loop.js +350 -41
- package/dist/orchestrator/agentic-loop.js.map +1 -1
- package/dist/orchestrator/compaction.d.ts +47 -0
- package/dist/orchestrator/compaction.d.ts.map +1 -0
- package/dist/orchestrator/compaction.js +75 -0
- package/dist/orchestrator/compaction.js.map +1 -0
- package/dist/orchestrator/context-handoff.d.ts +60 -60
- package/dist/orchestrator/contract-materialization.d.ts +33 -0
- package/dist/orchestrator/contract-materialization.d.ts.map +1 -0
- package/dist/orchestrator/contract-materialization.js +113 -0
- package/dist/orchestrator/contract-materialization.js.map +1 -0
- package/dist/orchestrator/generator-agent.d.ts +19 -0
- package/dist/orchestrator/generator-agent.d.ts.map +1 -1
- package/dist/orchestrator/generator-agent.js +27 -1
- package/dist/orchestrator/generator-agent.js.map +1 -1
- package/dist/orchestrator/loop-events.d.ts +98 -0
- package/dist/orchestrator/loop-events.d.ts.map +1 -0
- package/dist/orchestrator/loop-events.js +2 -0
- package/dist/orchestrator/loop-events.js.map +1 -0
- package/dist/orchestrator/memory/distill.d.ts +4 -1
- package/dist/orchestrator/memory/distill.d.ts.map +1 -1
- package/dist/orchestrator/memory/distill.js +41 -1
- package/dist/orchestrator/memory/distill.js.map +1 -1
- package/dist/orchestrator/memory/fact-detector.d.ts +61 -0
- package/dist/orchestrator/memory/fact-detector.d.ts.map +1 -0
- package/dist/orchestrator/memory/fact-detector.js +153 -0
- package/dist/orchestrator/memory/fact-detector.js.map +1 -0
- package/dist/orchestrator/memory/fact-judge.d.ts +19 -0
- package/dist/orchestrator/memory/fact-judge.d.ts.map +1 -0
- package/dist/orchestrator/memory/fact-judge.js +121 -0
- package/dist/orchestrator/memory/fact-judge.js.map +1 -0
- package/dist/orchestrator/memory/fact-retrieve.d.ts +52 -0
- package/dist/orchestrator/memory/fact-retrieve.d.ts.map +1 -0
- package/dist/orchestrator/memory/fact-retrieve.js +117 -0
- package/dist/orchestrator/memory/fact-retrieve.js.map +1 -0
- package/dist/orchestrator/memory/hygiene.d.ts +66 -0
- package/dist/orchestrator/memory/hygiene.d.ts.map +1 -0
- package/dist/orchestrator/memory/hygiene.js +153 -0
- package/dist/orchestrator/memory/hygiene.js.map +1 -0
- package/dist/orchestrator/memory/reconcile.d.ts +47 -0
- package/dist/orchestrator/memory/reconcile.d.ts.map +1 -0
- package/dist/orchestrator/memory/reconcile.js +116 -0
- package/dist/orchestrator/memory/reconcile.js.map +1 -0
- package/dist/orchestrator/memory/retrieve.d.ts +5 -3
- package/dist/orchestrator/memory/retrieve.d.ts.map +1 -1
- package/dist/orchestrator/memory/retrieve.js +9 -6
- package/dist/orchestrator/memory/retrieve.js.map +1 -1
- package/dist/orchestrator/model-resolver.d.ts.map +1 -1
- package/dist/orchestrator/model-resolver.js +10 -6
- package/dist/orchestrator/model-resolver.js.map +1 -1
- package/dist/orchestrator/pipeline.d.ts +29 -4
- package/dist/orchestrator/pipeline.d.ts.map +1 -1
- package/dist/orchestrator/pipeline.js +165 -56
- package/dist/orchestrator/pipeline.js.map +1 -1
- package/dist/orchestrator/planner-agent.d.ts.map +1 -1
- package/dist/orchestrator/planner-agent.js +16 -1
- package/dist/orchestrator/planner-agent.js.map +1 -1
- package/dist/orchestrator/security-audit-types.d.ts +53 -0
- package/dist/orchestrator/security-audit-types.d.ts.map +1 -0
- package/dist/orchestrator/security-audit-types.js +10 -0
- package/dist/orchestrator/security-audit-types.js.map +1 -0
- package/dist/orchestrator/security-auditor-agent.d.ts +68 -0
- package/dist/orchestrator/security-auditor-agent.d.ts.map +1 -0
- package/dist/orchestrator/security-auditor-agent.js +482 -0
- package/dist/orchestrator/security-auditor-agent.js.map +1 -0
- package/dist/orchestrator/security-gate.d.ts +73 -0
- package/dist/orchestrator/security-gate.d.ts.map +1 -0
- package/dist/orchestrator/security-gate.js +174 -0
- package/dist/orchestrator/security-gate.js.map +1 -0
- package/dist/orchestrator/security-hub.d.ts +45 -0
- package/dist/orchestrator/security-hub.d.ts.map +1 -0
- package/dist/orchestrator/security-hub.js +147 -0
- package/dist/orchestrator/security-hub.js.map +1 -0
- package/dist/orchestrator/security-knowledge/benchmark/harness.d.ts +43 -0
- package/dist/orchestrator/security-knowledge/benchmark/harness.d.ts.map +1 -0
- package/dist/orchestrator/security-knowledge/benchmark/harness.js +13 -0
- package/dist/orchestrator/security-knowledge/benchmark/harness.js.map +1 -0
- package/dist/orchestrator/security-knowledge/diff-provider.d.ts +79 -0
- package/dist/orchestrator/security-knowledge/diff-provider.d.ts.map +1 -0
- package/dist/orchestrator/security-knowledge/diff-provider.js +320 -0
- package/dist/orchestrator/security-knowledge/diff-provider.js.map +1 -0
- package/dist/orchestrator/security-knowledge/index.d.ts +22 -0
- package/dist/orchestrator/security-knowledge/index.d.ts.map +1 -0
- package/dist/orchestrator/security-knowledge/index.js +66 -0
- package/dist/orchestrator/security-knowledge/index.js.map +1 -0
- package/dist/orchestrator/security-knowledge/parser.d.ts +9 -0
- package/dist/orchestrator/security-knowledge/parser.d.ts.map +1 -0
- package/dist/orchestrator/security-knowledge/parser.js +137 -0
- package/dist/orchestrator/security-knowledge/parser.js.map +1 -0
- package/dist/orchestrator/security-knowledge/registry.d.ts +25 -0
- package/dist/orchestrator/security-knowledge/registry.d.ts.map +1 -0
- package/dist/orchestrator/security-knowledge/registry.js +114 -0
- package/dist/orchestrator/security-knowledge/registry.js.map +1 -0
- package/dist/orchestrator/security-knowledge/resolver.d.ts +48 -0
- package/dist/orchestrator/security-knowledge/resolver.d.ts.map +1 -0
- package/dist/orchestrator/security-knowledge/resolver.js +63 -0
- package/dist/orchestrator/security-knowledge/resolver.js.map +1 -0
- package/dist/orchestrator/security-knowledge/selector.d.ts +18 -0
- package/dist/orchestrator/security-knowledge/selector.d.ts.map +1 -0
- package/dist/orchestrator/security-knowledge/selector.js +46 -0
- package/dist/orchestrator/security-knowledge/selector.js.map +1 -0
- package/dist/orchestrator/security-knowledge/signature.d.ts +37 -0
- package/dist/orchestrator/security-knowledge/signature.d.ts.map +1 -0
- package/dist/orchestrator/security-knowledge/signature.js +2 -0
- package/dist/orchestrator/security-knowledge/signature.js.map +1 -0
- package/dist/orchestrator/security-knowledge/supply-chain-inspector.d.ts +29 -0
- package/dist/orchestrator/security-knowledge/supply-chain-inspector.d.ts.map +1 -0
- package/dist/orchestrator/security-knowledge/supply-chain-inspector.js +211 -0
- package/dist/orchestrator/security-knowledge/supply-chain-inspector.js.map +1 -0
- package/dist/orchestrator/security-scanners.d.ts +126 -0
- package/dist/orchestrator/security-scanners.d.ts.map +1 -0
- package/dist/orchestrator/security-scanners.js +501 -0
- package/dist/orchestrator/security-scanners.js.map +1 -0
- package/dist/orchestrator/security-verifier-agent.d.ts +62 -0
- package/dist/orchestrator/security-verifier-agent.d.ts.map +1 -0
- package/dist/orchestrator/security-verifier-agent.js +230 -0
- package/dist/orchestrator/security-verifier-agent.js.map +1 -0
- package/dist/orchestrator/selfimprove/eval-guards.d.ts +51 -0
- package/dist/orchestrator/selfimprove/eval-guards.d.ts.map +1 -0
- package/dist/orchestrator/selfimprove/eval-guards.js +120 -0
- package/dist/orchestrator/selfimprove/eval-guards.js.map +1 -0
- package/dist/orchestrator/selfimprove/gepa.d.ts +74 -0
- package/dist/orchestrator/selfimprove/gepa.d.ts.map +1 -0
- package/dist/orchestrator/selfimprove/gepa.js +227 -0
- package/dist/orchestrator/selfimprove/gepa.js.map +1 -0
- package/dist/orchestrator/selfimprove/replay-harness.d.ts +65 -0
- package/dist/orchestrator/selfimprove/replay-harness.d.ts.map +1 -0
- package/dist/orchestrator/selfimprove/replay-harness.js +134 -0
- package/dist/orchestrator/selfimprove/replay-harness.js.map +1 -0
- package/dist/orchestrator/selfimprove/replay-store.d.ts +45 -0
- package/dist/orchestrator/selfimprove/replay-store.d.ts.map +1 -0
- package/dist/orchestrator/selfimprove/replay-store.js +119 -0
- package/dist/orchestrator/selfimprove/replay-store.js.map +1 -0
- package/dist/orchestrator/selfimprove/replay-types.d.ts +32 -0
- package/dist/orchestrator/selfimprove/replay-types.d.ts.map +1 -0
- package/dist/orchestrator/selfimprove/replay-types.js +15 -0
- package/dist/orchestrator/selfimprove/replay-types.js.map +1 -0
- package/dist/orchestrator/session-store.d.ts +95 -0
- package/dist/orchestrator/session-store.d.ts.map +1 -0
- package/dist/orchestrator/session-store.js +186 -0
- package/dist/orchestrator/session-store.js.map +1 -0
- package/dist/orchestrator/stack-knowledge.d.ts +17 -0
- package/dist/orchestrator/stack-knowledge.d.ts.map +1 -0
- package/dist/orchestrator/stack-knowledge.js +35 -0
- package/dist/orchestrator/stack-knowledge.js.map +1 -0
- package/dist/orchestrator/subagents.d.ts +62 -0
- package/dist/orchestrator/subagents.d.ts.map +1 -0
- package/dist/orchestrator/subagents.js +143 -0
- package/dist/orchestrator/subagents.js.map +1 -0
- package/dist/orchestrator/tools/executor.d.ts +68 -0
- package/dist/orchestrator/tools/executor.d.ts.map +1 -0
- package/dist/orchestrator/tools/executor.js +104 -0
- package/dist/orchestrator/tools/executor.js.map +1 -0
- package/dist/orchestrator/tools/mcp-bridge.d.ts +76 -0
- package/dist/orchestrator/tools/mcp-bridge.d.ts.map +1 -0
- package/dist/orchestrator/tools/mcp-bridge.js +154 -0
- package/dist/orchestrator/tools/mcp-bridge.js.map +1 -0
- package/dist/orchestrator/tools/schemas.d.ts.map +1 -1
- package/dist/orchestrator/tools/schemas.js +3 -0
- package/dist/orchestrator/tools/schemas.js.map +1 -1
- package/dist/orchestrator/workflow/budget.d.ts +24 -2
- package/dist/orchestrator/workflow/budget.d.ts.map +1 -1
- package/dist/orchestrator/workflow/budget.js +39 -1
- package/dist/orchestrator/workflow/budget.js.map +1 -1
- package/dist/orchestrator/workflow/engine.d.ts +4 -2
- package/dist/orchestrator/workflow/engine.d.ts.map +1 -1
- package/dist/orchestrator/workflow/selector.d.ts +18 -0
- package/dist/orchestrator/workflow/selector.d.ts.map +1 -1
- package/dist/orchestrator/workflow/selector.js +51 -0
- package/dist/orchestrator/workflow/selector.js.map +1 -1
- package/dist/orchestrator/workflow/ts-engine.d.ts +3 -1
- package/dist/orchestrator/workflow/ts-engine.d.ts.map +1 -1
- package/dist/orchestrator/workflow/ts-engine.js +2 -2
- package/dist/orchestrator/workflow/ts-engine.js.map +1 -1
- package/dist/orchestrator/workflow/workflow-engine.d.ts +3 -1
- package/dist/orchestrator/workflow/workflow-engine.d.ts.map +1 -1
- package/dist/orchestrator/workflow/workflow-engine.js +3 -3
- package/dist/orchestrator/workflow/workflow-engine.js.map +1 -1
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +116 -26
- package/dist/providers/anthropic.js.map +1 -1
- package/dist/providers/claude-code.d.ts.map +1 -1
- package/dist/providers/claude-code.js +17 -0
- package/dist/providers/claude-code.js.map +1 -1
- package/dist/providers/cost-meter.d.ts +52 -0
- package/dist/providers/cost-meter.d.ts.map +1 -0
- package/dist/providers/cost-meter.js +81 -0
- package/dist/providers/cost-meter.js.map +1 -0
- package/dist/providers/factory.d.ts +6 -1
- package/dist/providers/factory.d.ts.map +1 -1
- package/dist/providers/factory.js +24 -5
- package/dist/providers/factory.js.map +1 -1
- package/dist/providers/google.d.ts.map +1 -1
- package/dist/providers/google.js +29 -0
- package/dist/providers/google.js.map +1 -1
- package/dist/providers/grounded-search.d.ts +128 -0
- package/dist/providers/grounded-search.d.ts.map +1 -0
- package/dist/providers/grounded-search.js +160 -0
- package/dist/providers/grounded-search.js.map +1 -0
- package/dist/providers/openai-compat.d.ts +15 -1
- package/dist/providers/openai-compat.d.ts.map +1 -1
- package/dist/providers/openai-compat.js +24 -0
- package/dist/providers/openai-compat.js.map +1 -1
- package/dist/providers/openai.d.ts +7 -0
- package/dist/providers/openai.d.ts.map +1 -1
- package/dist/providers/openai.js +95 -4
- package/dist/providers/openai.js.map +1 -1
- package/dist/providers/types.d.ts +88 -0
- package/dist/providers/types.d.ts.map +1 -1
- package/dist/research/cadence.d.ts +33 -0
- package/dist/research/cadence.d.ts.map +1 -0
- package/dist/research/cadence.js +55 -0
- package/dist/research/cadence.js.map +1 -0
- package/dist/research/digest.d.ts +80 -0
- package/dist/research/digest.d.ts.map +1 -0
- package/dist/research/digest.js +119 -0
- package/dist/research/digest.js.map +1 -0
- package/dist/research/egress.d.ts +28 -0
- package/dist/research/egress.d.ts.map +1 -0
- package/dist/research/egress.js +41 -0
- package/dist/research/egress.js.map +1 -0
- package/dist/research/job-store.d.ts +30 -0
- package/dist/research/job-store.d.ts.map +1 -0
- package/dist/research/job-store.js +100 -0
- package/dist/research/job-store.js.map +1 -0
- package/dist/research/model-diversity.d.ts +27 -0
- package/dist/research/model-diversity.d.ts.map +1 -0
- package/dist/research/model-diversity.js +52 -0
- package/dist/research/model-diversity.js.map +1 -0
- package/dist/research/note-writer.d.ts +36 -0
- package/dist/research/note-writer.d.ts.map +1 -0
- package/dist/research/note-writer.js +53 -0
- package/dist/research/note-writer.js.map +1 -0
- package/dist/research/online-retrieval.d.ts +27 -0
- package/dist/research/online-retrieval.d.ts.map +1 -0
- package/dist/research/online-retrieval.js +22 -0
- package/dist/research/online-retrieval.js.map +1 -0
- package/dist/research/runner.d.ts +80 -0
- package/dist/research/runner.d.ts.map +1 -0
- package/dist/research/runner.js +115 -0
- package/dist/research/runner.js.map +1 -0
- package/dist/research/scheduler.d.ts +61 -0
- package/dist/research/scheduler.d.ts.map +1 -0
- package/dist/research/scheduler.js +58 -0
- package/dist/research/scheduler.js.map +1 -0
- package/dist/research/types.d.ts +81 -0
- package/dist/research/types.d.ts.map +1 -0
- package/dist/research/types.js +57 -0
- package/dist/research/types.js.map +1 -0
- package/dist/seo/adapters/http.d.ts +43 -0
- package/dist/seo/adapters/http.d.ts.map +1 -0
- package/dist/seo/adapters/http.js +35 -0
- package/dist/seo/adapters/http.js.map +1 -0
- package/dist/seo/ai-visibility-provider.d.ts +171 -0
- package/dist/seo/ai-visibility-provider.d.ts.map +1 -0
- package/dist/seo/ai-visibility-provider.js +165 -0
- package/dist/seo/ai-visibility-provider.js.map +1 -0
- package/dist/seo/ai-visibility-scorer.d.ts +43 -0
- package/dist/seo/ai-visibility-scorer.d.ts.map +1 -0
- package/dist/seo/ai-visibility-scorer.js +102 -0
- package/dist/seo/ai-visibility-scorer.js.map +1 -0
- package/dist/seo/analyzer.d.ts +58 -0
- package/dist/seo/analyzer.d.ts.map +1 -0
- package/dist/seo/analyzer.js +265 -0
- package/dist/seo/analyzer.js.map +1 -0
- package/dist/seo/benchmark/harness.d.ts +56 -0
- package/dist/seo/benchmark/harness.d.ts.map +1 -0
- package/dist/seo/benchmark/harness.js +172 -0
- package/dist/seo/benchmark/harness.js.map +1 -0
- package/dist/seo/builder/approved-finding.d.ts +115 -0
- package/dist/seo/builder/approved-finding.d.ts.map +1 -0
- package/dist/seo/builder/approved-finding.js +145 -0
- package/dist/seo/builder/approved-finding.js.map +1 -0
- package/dist/seo/builder/build-runner.d.ts +41 -0
- package/dist/seo/builder/build-runner.d.ts.map +1 -0
- package/dist/seo/builder/build-runner.js +156 -0
- package/dist/seo/builder/build-runner.js.map +1 -0
- package/dist/seo/builder/draft-generators.d.ts +32 -0
- package/dist/seo/builder/draft-generators.d.ts.map +1 -0
- package/dist/seo/builder/draft-generators.js +31 -0
- package/dist/seo/builder/draft-generators.js.map +1 -0
- package/dist/seo/builder/draft-store.d.ts +30 -0
- package/dist/seo/builder/draft-store.d.ts.map +1 -0
- package/dist/seo/builder/draft-store.js +76 -0
- package/dist/seo/builder/draft-store.js.map +1 -0
- package/dist/seo/builder/draft-types.d.ts +36 -0
- package/dist/seo/builder/draft-types.d.ts.map +1 -0
- package/dist/seo/builder/draft-types.js +14 -0
- package/dist/seo/builder/draft-types.js.map +1 -0
- package/dist/seo/builder/hub-approved-source.d.ts +11 -0
- package/dist/seo/builder/hub-approved-source.d.ts.map +1 -0
- package/dist/seo/builder/hub-approved-source.js +48 -0
- package/dist/seo/builder/hub-approved-source.js.map +1 -0
- package/dist/seo/builder/seo-builder.d.ts +72 -0
- package/dist/seo/builder/seo-builder.d.ts.map +1 -0
- package/dist/seo/builder/seo-builder.js +72 -0
- package/dist/seo/builder/seo-builder.js.map +1 -0
- package/dist/seo/citation-gate.d.ts +36 -0
- package/dist/seo/citation-gate.d.ts.map +1 -0
- package/dist/seo/citation-gate.js +59 -0
- package/dist/seo/citation-gate.js.map +1 -0
- package/dist/seo/command.d.ts +11 -0
- package/dist/seo/command.d.ts.map +1 -0
- package/dist/seo/command.js +90 -0
- package/dist/seo/command.js.map +1 -0
- package/dist/seo/content-sanitizer.d.ts +56 -0
- package/dist/seo/content-sanitizer.d.ts.map +1 -0
- package/dist/seo/content-sanitizer.js +55 -0
- package/dist/seo/content-sanitizer.js.map +1 -0
- package/dist/seo/crawl-engine.d.ts +35 -0
- package/dist/seo/crawl-engine.d.ts.map +1 -0
- package/dist/seo/crawl-engine.js +2 -0
- package/dist/seo/crawl-engine.js.map +1 -0
- package/dist/seo/data-source.d.ts +156 -0
- package/dist/seo/data-source.d.ts.map +1 -0
- package/dist/seo/data-source.js +2 -0
- package/dist/seo/data-source.js.map +1 -0
- package/dist/seo/egress.d.ts +39 -0
- package/dist/seo/egress.d.ts.map +1 -0
- package/dist/seo/egress.js +64 -0
- package/dist/seo/egress.js.map +1 -0
- package/dist/seo/hub-emitter.d.ts +28 -0
- package/dist/seo/hub-emitter.d.ts.map +1 -0
- package/dist/seo/hub-emitter.js +95 -0
- package/dist/seo/hub-emitter.js.map +1 -0
- package/dist/seo/index.d.ts +42 -0
- package/dist/seo/index.d.ts.map +1 -0
- package/dist/seo/index.js +19 -0
- package/dist/seo/index.js.map +1 -0
- package/dist/seo/never-encode-filter.d.ts +45 -0
- package/dist/seo/never-encode-filter.d.ts.map +1 -0
- package/dist/seo/never-encode-filter.js +51 -0
- package/dist/seo/never-encode-filter.js.map +1 -0
- package/dist/seo/parser.d.ts +46 -0
- package/dist/seo/parser.d.ts.map +1 -0
- package/dist/seo/parser.js +113 -0
- package/dist/seo/parser.js.map +1 -0
- package/dist/seo/playbook-index.d.ts +19 -0
- package/dist/seo/playbook-index.d.ts.map +1 -0
- package/dist/seo/playbook-index.js +74 -0
- package/dist/seo/playbook-index.js.map +1 -0
- package/dist/seo/quota-governor.d.ts +100 -0
- package/dist/seo/quota-governor.d.ts.map +1 -0
- package/dist/seo/quota-governor.js +199 -0
- package/dist/seo/quota-governor.js.map +1 -0
- package/dist/seo/quota-ledger.d.ts +50 -0
- package/dist/seo/quota-ledger.d.ts.map +1 -0
- package/dist/seo/quota-ledger.js +95 -0
- package/dist/seo/quota-ledger.js.map +1 -0
- package/dist/seo/report-store.d.ts +30 -0
- package/dist/seo/report-store.d.ts.map +1 -0
- package/dist/seo/report-store.js +94 -0
- package/dist/seo/report-store.js.map +1 -0
- package/dist/seo/retriever.d.ts +34 -0
- package/dist/seo/retriever.d.ts.map +1 -0
- package/dist/seo/retriever.js +95 -0
- package/dist/seo/retriever.js.map +1 -0
- package/dist/seo/runner.d.ts +108 -0
- package/dist/seo/runner.d.ts.map +1 -0
- package/dist/seo/runner.js +512 -0
- package/dist/seo/runner.js.map +1 -0
- package/dist/seo/scrape-throttle.d.ts +84 -0
- package/dist/seo/scrape-throttle.d.ts.map +1 -0
- package/dist/seo/scrape-throttle.js +149 -0
- package/dist/seo/scrape-throttle.js.map +1 -0
- package/dist/seo/serp-provider.d.ts +52 -0
- package/dist/seo/serp-provider.d.ts.map +1 -0
- package/dist/seo/serp-provider.js +17 -0
- package/dist/seo/serp-provider.js.map +1 -0
- package/dist/seo/sources/ai-visibility-adapter.d.ts +87 -0
- package/dist/seo/sources/ai-visibility-adapter.d.ts.map +1 -0
- package/dist/seo/sources/ai-visibility-adapter.js +85 -0
- package/dist/seo/sources/ai-visibility-adapter.js.map +1 -0
- package/dist/seo/sources/api-spine-provider.d.ts +66 -0
- package/dist/seo/sources/api-spine-provider.d.ts.map +1 -0
- package/dist/seo/sources/api-spine-provider.js +68 -0
- package/dist/seo/sources/api-spine-provider.js.map +1 -0
- package/dist/seo/sources/citation-verifier.d.ts +95 -0
- package/dist/seo/sources/citation-verifier.d.ts.map +1 -0
- package/dist/seo/sources/citation-verifier.js +106 -0
- package/dist/seo/sources/citation-verifier.js.map +1 -0
- package/dist/seo/sources/crawl-source.d.ts +62 -0
- package/dist/seo/sources/crawl-source.d.ts.map +1 -0
- package/dist/seo/sources/crawl-source.js +87 -0
- package/dist/seo/sources/crawl-source.js.map +1 -0
- package/dist/seo/sources/damcrawler-crawl-engine.d.ts +151 -0
- package/dist/seo/sources/damcrawler-crawl-engine.d.ts.map +1 -0
- package/dist/seo/sources/damcrawler-crawl-engine.js +154 -0
- package/dist/seo/sources/damcrawler-crawl-engine.js.map +1 -0
- package/dist/seo/sources/damcrawler-serp-provider.d.ts +75 -0
- package/dist/seo/sources/damcrawler-serp-provider.d.ts.map +1 -0
- package/dist/seo/sources/damcrawler-serp-provider.js +60 -0
- package/dist/seo/sources/damcrawler-serp-provider.js.map +1 -0
- package/dist/seo/sources/dataforseo-adapter.d.ts +46 -0
- package/dist/seo/sources/dataforseo-adapter.d.ts.map +1 -0
- package/dist/seo/sources/dataforseo-adapter.js +335 -0
- package/dist/seo/sources/dataforseo-adapter.js.map +1 -0
- package/dist/seo/sources/dataforseo-serp-provider.d.ts +30 -0
- package/dist/seo/sources/dataforseo-serp-provider.d.ts.map +1 -0
- package/dist/seo/sources/dataforseo-serp-provider.js +20 -0
- package/dist/seo/sources/dataforseo-serp-provider.js.map +1 -0
- package/dist/seo/sources/engine-scrape-parser-chatgpt.d.ts +62 -0
- package/dist/seo/sources/engine-scrape-parser-chatgpt.d.ts.map +1 -0
- package/dist/seo/sources/engine-scrape-parser-chatgpt.js +72 -0
- package/dist/seo/sources/engine-scrape-parser-chatgpt.js.map +1 -0
- package/dist/seo/sources/engine-scrape-parser-perplexity.d.ts +10 -0
- package/dist/seo/sources/engine-scrape-parser-perplexity.d.ts.map +1 -0
- package/dist/seo/sources/engine-scrape-parser-perplexity.js +72 -0
- package/dist/seo/sources/engine-scrape-parser-perplexity.js.map +1 -0
- package/dist/seo/sources/gsc-adapter.d.ts +64 -0
- package/dist/seo/sources/gsc-adapter.d.ts.map +1 -0
- package/dist/seo/sources/gsc-adapter.js +221 -0
- package/dist/seo/sources/gsc-adapter.js.map +1 -0
- package/dist/seo/sources/local-export.d.ts +53 -0
- package/dist/seo/sources/local-export.d.ts.map +1 -0
- package/dist/seo/sources/local-export.js +307 -0
- package/dist/seo/sources/local-export.js.map +1 -0
- package/dist/seo/sources/mention-citation-extractor.d.ts +136 -0
- package/dist/seo/sources/mention-citation-extractor.d.ts.map +1 -0
- package/dist/seo/sources/mention-citation-extractor.js +272 -0
- package/dist/seo/sources/mention-citation-extractor.js.map +1 -0
- package/dist/seo/sources/scrape-arm-provider.d.ts +109 -0
- package/dist/seo/sources/scrape-arm-provider.d.ts.map +1 -0
- package/dist/seo/sources/scrape-arm-provider.js +129 -0
- package/dist/seo/sources/scrape-arm-provider.js.map +1 -0
- package/dist/seo/tracked-prompt-store.d.ts +33 -0
- package/dist/seo/tracked-prompt-store.d.ts.map +1 -0
- package/dist/seo/tracked-prompt-store.js +68 -0
- package/dist/seo/tracked-prompt-store.js.map +1 -0
- package/dist/seo/types.d.ts +128 -0
- package/dist/seo/types.d.ts.map +1 -0
- package/dist/seo/types.js +14 -0
- package/dist/seo/types.js.map +1 -0
- package/dist/seo/verifier.d.ts +34 -0
- package/dist/seo/verifier.d.ts.map +1 -0
- package/dist/seo/verifier.js +204 -0
- package/dist/seo/verifier.js.map +1 -0
- package/dist/seo/workflow-capabilities.d.ts +26 -0
- package/dist/seo/workflow-capabilities.d.ts.map +1 -0
- package/dist/seo/workflow-capabilities.js +12 -0
- package/dist/seo/workflow-capabilities.js.map +1 -0
- package/dist/state/facts.d.ts +114 -0
- package/dist/state/facts.d.ts.map +1 -0
- package/dist/state/facts.js +218 -0
- package/dist/state/facts.js.map +1 -0
- package/dist/state/guidance.d.ts +37 -0
- package/dist/state/guidance.d.ts.map +1 -0
- package/dist/state/guidance.js +144 -0
- package/dist/state/guidance.js.map +1 -0
- package/dist/state/history.d.ts +2 -2
- package/dist/state/index.d.ts +2 -2
- package/dist/state/index.d.ts.map +1 -1
- package/dist/state/index.js +2 -2
- package/dist/state/index.js.map +1 -1
- package/dist/state/memory.d.ts +43 -11
- package/dist/state/memory.d.ts.map +1 -1
- package/dist/state/memory.js +93 -15
- package/dist/state/memory.js.map +1 -1
- package/dist/state/outline-state.d.ts +0 -12
- package/dist/state/outline-state.d.ts.map +1 -1
- package/dist/state/outline-state.js +1 -18
- package/dist/state/outline-state.js.map +1 -1
- package/dist/state/pause.d.ts +47 -0
- package/dist/state/pause.d.ts.map +1 -0
- package/dist/state/pause.js +146 -0
- package/dist/state/pause.js.map +1 -0
- package/dist/state/security-audit-state.d.ts +20 -0
- package/dist/state/security-audit-state.d.ts.map +1 -0
- package/dist/state/security-audit-state.js +59 -0
- package/dist/state/security-audit-state.js.map +1 -0
- package/dist/state/sprint-state.d.ts +8 -0
- package/dist/state/sprint-state.d.ts.map +1 -1
- package/dist/state/sprint-state.js +32 -1
- package/dist/state/sprint-state.js.map +1 -1
- package/dist/teams/registry.d.ts +16 -0
- package/dist/teams/registry.d.ts.map +1 -0
- package/dist/teams/registry.js +70 -0
- package/dist/teams/registry.js.map +1 -0
- package/dist/teams/types.d.ts +25 -0
- package/dist/teams/types.d.ts.map +1 -0
- package/dist/teams/types.js +2 -0
- package/dist/teams/types.js.map +1 -0
- package/dist/telegram/bot.d.ts +137 -0
- package/dist/telegram/bot.d.ts.map +1 -0
- package/dist/telegram/bot.js +323 -0
- package/dist/telegram/bot.js.map +1 -0
- package/dist/telegram/digest.d.ts +19 -0
- package/dist/telegram/digest.d.ts.map +1 -0
- package/dist/telegram/digest.js +23 -0
- package/dist/telegram/digest.js.map +1 -0
- package/dist/telegram/fleet-view.d.ts +38 -0
- package/dist/telegram/fleet-view.d.ts.map +1 -0
- package/dist/telegram/fleet-view.js +98 -0
- package/dist/telegram/fleet-view.js.map +1 -0
- package/dist/telegram/handlers/approvals.d.ts +61 -0
- package/dist/telegram/handlers/approvals.d.ts.map +1 -0
- package/dist/telegram/handlers/approvals.js +122 -0
- package/dist/telegram/handlers/approvals.js.map +1 -0
- package/dist/telegram/handlers/capture.d.ts +43 -0
- package/dist/telegram/handlers/capture.d.ts.map +1 -0
- package/dist/telegram/handlers/capture.js +51 -0
- package/dist/telegram/handlers/capture.js.map +1 -0
- package/dist/telegram/handlers/prioritize.d.ts +50 -0
- package/dist/telegram/handlers/prioritize.d.ts.map +1 -0
- package/dist/telegram/handlers/prioritize.js +99 -0
- package/dist/telegram/handlers/prioritize.js.map +1 -0
- package/dist/telegram/handlers/upload.d.ts +105 -0
- package/dist/telegram/handlers/upload.d.ts.map +1 -0
- package/dist/telegram/handlers/upload.js +149 -0
- package/dist/telegram/handlers/upload.js.map +1 -0
- package/dist/telegram/keyboard.d.ts +48 -0
- package/dist/telegram/keyboard.d.ts.map +1 -0
- package/dist/telegram/keyboard.js +81 -0
- package/dist/telegram/keyboard.js.map +1 -0
- package/dist/telegram/outbound.d.ts +77 -0
- package/dist/telegram/outbound.d.ts.map +1 -0
- package/dist/telegram/outbound.js +45 -0
- package/dist/telegram/outbound.js.map +1 -0
- package/dist/telegram/router.d.ts +46 -0
- package/dist/telegram/router.d.ts.map +1 -0
- package/dist/telegram/router.js +63 -0
- package/dist/telegram/router.js.map +1 -0
- package/dist/telegram/streaming.d.ts +36 -0
- package/dist/telegram/streaming.d.ts.map +1 -0
- package/dist/telegram/streaming.js +55 -0
- package/dist/telegram/streaming.js.map +1 -0
- package/dist/telegram/whitelist.d.ts +20 -0
- package/dist/telegram/whitelist.d.ts.map +1 -0
- package/dist/telegram/whitelist.js +34 -0
- package/dist/telegram/whitelist.js.map +1 -0
- package/dist/utils/git.d.ts +0 -6
- package/dist/utils/git.d.ts.map +1 -1
- package/dist/utils/git.js +0 -19
- package/dist/utils/git.js.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/vault/conventions.d.ts +23 -0
- package/dist/vault/conventions.d.ts.map +1 -0
- package/dist/vault/conventions.js +22 -0
- package/dist/vault/conventions.js.map +1 -0
- package/dist/vault/frontmatter.d.ts +47 -0
- package/dist/vault/frontmatter.d.ts.map +1 -0
- package/dist/vault/frontmatter.js +149 -0
- package/dist/vault/frontmatter.js.map +1 -0
- package/dist/vault/index-map.d.ts +35 -0
- package/dist/vault/index-map.d.ts.map +1 -0
- package/dist/vault/index-map.js +67 -0
- package/dist/vault/index-map.js.map +1 -0
- package/dist/vault/mcp-adapter.d.ts +96 -0
- package/dist/vault/mcp-adapter.d.ts.map +1 -0
- package/dist/vault/mcp-adapter.js +176 -0
- package/dist/vault/mcp-adapter.js.map +1 -0
- package/dist/vault/note-io.d.ts +29 -0
- package/dist/vault/note-io.d.ts.map +1 -0
- package/dist/vault/note-io.js +44 -0
- package/dist/vault/note-io.js.map +1 -0
- package/dist/vault/profile.d.ts +35 -0
- package/dist/vault/profile.d.ts.map +1 -0
- package/dist/vault/profile.js +50 -0
- package/dist/vault/profile.js.map +1 -0
- package/dist/vault/reindex.d.ts +55 -0
- package/dist/vault/reindex.d.ts.map +1 -0
- package/dist/vault/reindex.js +69 -0
- package/dist/vault/reindex.js.map +1 -0
- package/dist/vault/types.d.ts +25 -0
- package/dist/vault/types.d.ts.map +1 -0
- package/dist/vault/types.js +9 -0
- package/dist/vault/types.js.map +1 -0
- package/package.json +22 -4
- package/scripts/sync-targets.json +2 -1
- package/skills/bober.design/SKILL.md +190 -0
- package/skills/bober.design/references/1-anti-slop.md +102 -0
- package/skills/bober.design/references/2-design-brief.md +84 -0
- package/skills/bober.design/references/3-critique-rubric.md +62 -0
- package/skills/bober.design/references/4-copy-guide.md +43 -0
- package/skills/bober.plan/SKILL.md +15 -1
- package/skills/bober.run/SKILL.md +7 -4
- package/skills/bober.security-anchor/SKILL.md +172 -0
- package/skills/bober.security-audit/SKILL.md +288 -0
- package/skills/bober.security-dex-backend/SKILL.md +306 -0
- package/skills/bober.security-generic/SKILL.md +295 -0
- package/skills/bober.security-igaming/SKILL.md +290 -0
- package/skills/bober.security-node/SKILL.md +267 -0
- package/skills/bober.security-payments/SKILL.md +249 -0
- package/skills/bober.security-react/SKILL.md +194 -0
- package/skills/bober.security-solidity/SKILL.md +306 -0
- package/skills/bober.seo/SKILL.md +132 -0
- package/skills/bober.seo-ai-visibility/SKILL.md +110 -0
- package/skills/bober.seo-content-decay/SKILL.md +99 -0
- package/skills/bober.seo-generic/SKILL.md +173 -0
- package/skills/bober.seo-internal-linking/SKILL.md +87 -0
- package/skills/bober.seo-parasite-watch/SKILL.md +121 -0
- package/skills/bober.seo-rank-track/SKILL.md +98 -0
- package/skills/bober.seo-schema-audit/SKILL.md +97 -0
- package/skills/bober.seo-technical-audit/SKILL.md +113 -0
- package/skills/bober.seo-topical-map/SKILL.md +100 -0
- package/skills/bober.seo-verticals/SKILL.md +133 -0
- package/skills/bober.using-bober/SKILL.md +1 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* In-context auto-compaction (agent-loop-capability-port sprint 7).
|
|
3
|
+
*
|
|
4
|
+
* A pure, testable helper that summarizes the older ("head") messages of a
|
|
5
|
+
* conversation into a single replacement message via ONE extra `client.chat`
|
|
6
|
+
* call, so `runAgenticLoop` can keep long runs inside the context window
|
|
7
|
+
* without the coarse sprint-boundary reset (`summarizeOlderSprints` /
|
|
8
|
+
* `contextReset` — a different, unrelated layer; see `context-handoff.ts`).
|
|
9
|
+
*
|
|
10
|
+
* Fails open: any error from the summarization call is caught, logged, and
|
|
11
|
+
* surfaced as `undefined` so the caller can skip compaction for that turn
|
|
12
|
+
* and continue uncompacted (sc-7-4). Never throws.
|
|
13
|
+
*/
|
|
14
|
+
import { logger } from "../utils/logger.js";
|
|
15
|
+
const SUMMARY_SYSTEM = "Summarize this conversation preserving: task objective, file paths touched, " +
|
|
16
|
+
"decisions made, errors seen. Be concise and factual.";
|
|
17
|
+
// ── Serialize head so we never send tool_use/tool_result blocks without tools ──
|
|
18
|
+
/**
|
|
19
|
+
* Render the head messages to a single plain-text transcript. The head may
|
|
20
|
+
* contain `AssistantMessage`/`ToolResultMessage` entries (tool_use/tool_result
|
|
21
|
+
* content), which the main loop only ever sends alongside `tools`. Sending
|
|
22
|
+
* them to a no-tools summarization call risks a provider 400, so we flatten
|
|
23
|
+
* everything to plain text instead.
|
|
24
|
+
*/
|
|
25
|
+
function renderTranscript(messages) {
|
|
26
|
+
return messages
|
|
27
|
+
.map((m) => {
|
|
28
|
+
if ("toolResults" in m) {
|
|
29
|
+
return `[tool results] ${m.toolResults.map((r) => r.content).join("\n")}`;
|
|
30
|
+
}
|
|
31
|
+
if ("toolCalls" in m) {
|
|
32
|
+
const calls = m.toolCalls.map((c) => c.name).join(", ");
|
|
33
|
+
return calls.length > 0
|
|
34
|
+
? `[assistant] ${m.content}\n[tool calls] ${calls}`
|
|
35
|
+
: `[assistant] ${m.content}`;
|
|
36
|
+
}
|
|
37
|
+
if ("systemUpdate" in m) {
|
|
38
|
+
return `[system update] ${m.systemUpdate}`;
|
|
39
|
+
}
|
|
40
|
+
return `[${m.role}] ${m.content}`;
|
|
41
|
+
})
|
|
42
|
+
.join("\n\n");
|
|
43
|
+
}
|
|
44
|
+
// ── Pure helper: one summarization chat, fail-open ─────────────────
|
|
45
|
+
/**
|
|
46
|
+
* Summarize `head` into a single replacement message via ONE `client.chat`
|
|
47
|
+
* call. Passes NO `tools` and a bounded `maxTokens` — mirrors the existing
|
|
48
|
+
* one-shot `coerceJsonOutput` precedent (`agentic-loop.ts`).
|
|
49
|
+
*
|
|
50
|
+
* @returns `undefined` on any failure (fail-open, sc-7-4) — the caller must
|
|
51
|
+
* skip compaction for that turn and continue uncompacted, never throw.
|
|
52
|
+
*/
|
|
53
|
+
export async function summarizeMessages(params) {
|
|
54
|
+
const { client, model, head, instructions, maxTokens = 4096 } = params;
|
|
55
|
+
const system = instructions ? `${SUMMARY_SYSTEM}\n\n${instructions}` : SUMMARY_SYSTEM;
|
|
56
|
+
const messages = [{ role: "user", content: renderTranscript(head) }];
|
|
57
|
+
try {
|
|
58
|
+
const response = await client.chat({ model, system, messages, maxTokens });
|
|
59
|
+
const summaryMessage = {
|
|
60
|
+
role: "user",
|
|
61
|
+
content: `[Conversation summary] ${response.text}`,
|
|
62
|
+
};
|
|
63
|
+
return {
|
|
64
|
+
summaryMessage,
|
|
65
|
+
usage: response.usage,
|
|
66
|
+
...(response.costUsd !== undefined ? { costUsd: response.costUsd } : {}),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
catch (err) {
|
|
70
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
71
|
+
logger.warn(`Compaction summarization failed (skipped, continuing uncompacted): ${message}`);
|
|
72
|
+
return undefined;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=compaction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compaction.js","sourceRoot":"","sources":["../../src/orchestrator/compaction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AA0B5C,MAAM,cAAc,GAClB,8EAA8E;IAC9E,sDAAsD,CAAC;AAEzD,kFAAkF;AAElF;;;;;;GAMG;AACH,SAAS,gBAAgB,CAAC,QAAmB;IAC3C,OAAO,QAAQ;SACZ,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QACT,IAAI,aAAa,IAAI,CAAC,EAAE,CAAC;YACvB,OAAO,kBAAkB,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QAC5E,CAAC;QACD,IAAI,WAAW,IAAI,CAAC,EAAE,CAAC;YACrB,MAAM,KAAK,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACxD,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC;gBACrB,CAAC,CAAC,eAAe,CAAC,CAAC,OAAO,kBAAkB,KAAK,EAAE;gBACnD,CAAC,CAAC,eAAe,CAAC,CAAC,OAAO,EAAE,CAAC;QACjC,CAAC;QACD,IAAI,cAAc,IAAI,CAAC,EAAE,CAAC;YACxB,OAAO,mBAAmB,CAAC,CAAC,YAAY,EAAE,CAAC;QAC7C,CAAC;QACD,OAAO,IAAI,CAAC,CAAC,IAAI,KAAM,CAAiB,CAAC,OAAO,EAAE,CAAC;IACrD,CAAC,CAAC;SACD,IAAI,CAAC,MAAM,CAAC,CAAC;AAClB,CAAC;AAED,sEAAsE;AAEtE;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,MAAwB;IAExB,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;IACvE,MAAM,MAAM,GAAG,YAAY,CAAC,CAAC,CAAC,GAAG,cAAc,OAAO,YAAY,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC;IACtF,MAAM,QAAQ,GAAc,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAEhF,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC;QAC3E,MAAM,cAAc,GAAY;YAC9B,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,0BAA0B,QAAQ,CAAC,IAAI,EAAE;SACnD,CAAC;QACF,OAAO;YACL,cAAc;YACd,KAAK,EAAE,QAAQ,CAAC,KAAK;YACrB,GAAG,CAAC,QAAQ,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACzE,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,OAAO,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACjE,MAAM,CAAC,IAAI,CAAC,sEAAsE,OAAO,EAAE,CAAC,CAAC;QAC7F,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC"}
|
|
@@ -9,13 +9,13 @@ export declare const DecisionSchema: z.ZodObject<{
|
|
|
9
9
|
rationale: z.ZodString;
|
|
10
10
|
madeBy: z.ZodEnum<["planner", "generator", "evaluator", "human"]>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
description: string;
|
|
13
12
|
timestamp: string;
|
|
13
|
+
description: string;
|
|
14
14
|
rationale: string;
|
|
15
15
|
madeBy: "planner" | "generator" | "evaluator" | "human";
|
|
16
16
|
}, {
|
|
17
|
-
description: string;
|
|
18
17
|
timestamp: string;
|
|
18
|
+
description: string;
|
|
19
19
|
rationale: string;
|
|
20
20
|
madeBy: "planner" | "generator" | "evaluator" | "human";
|
|
21
21
|
}>;
|
|
@@ -27,14 +27,14 @@ export declare const ProjectContextSchema: z.ZodObject<{
|
|
|
27
27
|
entryPoints: z.ZodArray<z.ZodString, "many">;
|
|
28
28
|
currentBranch: z.ZodString;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
name: string;
|
|
31
30
|
type: string;
|
|
31
|
+
name: string;
|
|
32
32
|
techStack: string[];
|
|
33
33
|
entryPoints: string[];
|
|
34
34
|
currentBranch: string;
|
|
35
35
|
}, {
|
|
36
|
-
name: string;
|
|
37
36
|
type: string;
|
|
37
|
+
name: string;
|
|
38
38
|
techStack: string[];
|
|
39
39
|
entryPoints: string[];
|
|
40
40
|
currentBranch: string;
|
|
@@ -51,14 +51,14 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
51
51
|
entryPoints: z.ZodArray<z.ZodString, "many">;
|
|
52
52
|
currentBranch: z.ZodString;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
name: string;
|
|
55
54
|
type: string;
|
|
55
|
+
name: string;
|
|
56
56
|
techStack: string[];
|
|
57
57
|
entryPoints: string[];
|
|
58
58
|
currentBranch: string;
|
|
59
59
|
}, {
|
|
60
|
-
name: string;
|
|
61
60
|
type: string;
|
|
61
|
+
name: string;
|
|
62
62
|
techStack: string[];
|
|
63
63
|
entryPoints: string[];
|
|
64
64
|
currentBranch: string;
|
|
@@ -86,7 +86,7 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
86
86
|
priority: "must-have" | "should-have" | "nice-to-have";
|
|
87
87
|
acceptanceCriteria: string[];
|
|
88
88
|
dependencies: string[];
|
|
89
|
-
estimatedComplexity?: "
|
|
89
|
+
estimatedComplexity?: "high" | "medium" | "low" | undefined;
|
|
90
90
|
estimatedSprints?: number | undefined;
|
|
91
91
|
}, {
|
|
92
92
|
description: string;
|
|
@@ -95,7 +95,7 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
95
95
|
priority: "must-have" | "should-have" | "nice-to-have";
|
|
96
96
|
acceptanceCriteria: string[];
|
|
97
97
|
dependencies?: string[] | undefined;
|
|
98
|
-
estimatedComplexity?: "
|
|
98
|
+
estimatedComplexity?: "high" | "medium" | "low" | undefined;
|
|
99
99
|
estimatedSprints?: number | undefined;
|
|
100
100
|
}>, "many">;
|
|
101
101
|
assumptions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -118,8 +118,8 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
118
118
|
recommendation: z.ZodOptional<z.ZodString>;
|
|
119
119
|
ambiguityWeight: z.ZodOptional<z.ZodNumber>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
|
-
questionId: string;
|
|
122
121
|
category: "other" | "scope" | "user-personas" | "data-model" | "tech-constraints" | "design-ux" | "integrations" | "non-functional" | "error-handling" | "integration-risk" | "pattern-conflict" | "regression-risk";
|
|
122
|
+
questionId: string;
|
|
123
123
|
question: string;
|
|
124
124
|
options?: {
|
|
125
125
|
description: string;
|
|
@@ -128,8 +128,8 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
128
128
|
recommendation?: string | undefined;
|
|
129
129
|
ambiguityWeight?: number | undefined;
|
|
130
130
|
}, {
|
|
131
|
-
questionId: string;
|
|
132
131
|
category: "other" | "scope" | "user-personas" | "data-model" | "tech-constraints" | "design-ux" | "integrations" | "non-functional" | "error-handling" | "integration-risk" | "pattern-conflict" | "regression-risk";
|
|
132
|
+
questionId: string;
|
|
133
133
|
question: string;
|
|
134
134
|
options?: {
|
|
135
135
|
description: string;
|
|
@@ -144,15 +144,15 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
144
144
|
resolvedAt: z.ZodString;
|
|
145
145
|
resolvedBy: z.ZodDefault<z.ZodEnum<["user", "planner"]>>;
|
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
|
147
|
-
questionId: string;
|
|
148
147
|
answer: string;
|
|
148
|
+
questionId: string;
|
|
149
149
|
resolvedAt: string;
|
|
150
|
-
resolvedBy: "
|
|
150
|
+
resolvedBy: "user" | "planner";
|
|
151
151
|
}, {
|
|
152
|
-
questionId: string;
|
|
153
152
|
answer: string;
|
|
153
|
+
questionId: string;
|
|
154
154
|
resolvedAt: string;
|
|
155
|
-
resolvedBy?: "
|
|
155
|
+
resolvedBy?: "user" | "planner" | undefined;
|
|
156
156
|
}>, "many">>;
|
|
157
157
|
techStack: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
158
158
|
techNotes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -164,8 +164,9 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
164
164
|
updatedAt: z.ZodString;
|
|
165
165
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
createdAt: string;
|
|
168
|
+
status: "completed" | "draft" | "needs-clarification" | "ready" | "in-progress" | "abandoned";
|
|
167
169
|
mode: "greenfield" | "brownfield";
|
|
168
|
-
status: "draft" | "needs-clarification" | "ready" | "in-progress" | "completed" | "abandoned";
|
|
169
170
|
description: string;
|
|
170
171
|
specId: string;
|
|
171
172
|
version: number;
|
|
@@ -177,14 +178,14 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
177
178
|
priority: "must-have" | "should-have" | "nice-to-have";
|
|
178
179
|
acceptanceCriteria: string[];
|
|
179
180
|
dependencies: string[];
|
|
180
|
-
estimatedComplexity?: "
|
|
181
|
+
estimatedComplexity?: "high" | "medium" | "low" | undefined;
|
|
181
182
|
estimatedSprints?: number | undefined;
|
|
182
183
|
}[];
|
|
183
184
|
assumptions: string[];
|
|
184
185
|
outOfScope: string[];
|
|
185
186
|
clarificationQuestions: {
|
|
186
|
-
questionId: string;
|
|
187
187
|
category: "other" | "scope" | "user-personas" | "data-model" | "tech-constraints" | "design-ux" | "integrations" | "non-functional" | "error-handling" | "integration-risk" | "pattern-conflict" | "regression-risk";
|
|
188
|
+
questionId: string;
|
|
188
189
|
question: string;
|
|
189
190
|
options?: {
|
|
190
191
|
description: string;
|
|
@@ -194,15 +195,14 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
194
195
|
ambiguityWeight?: number | undefined;
|
|
195
196
|
}[];
|
|
196
197
|
resolvedClarifications: {
|
|
197
|
-
questionId: string;
|
|
198
198
|
answer: string;
|
|
199
|
+
questionId: string;
|
|
199
200
|
resolvedAt: string;
|
|
200
|
-
resolvedBy: "
|
|
201
|
+
resolvedBy: "user" | "planner";
|
|
201
202
|
}[];
|
|
202
203
|
techStack: string[];
|
|
203
204
|
nonFunctionalRequirements: unknown[];
|
|
204
205
|
constraints: string[];
|
|
205
|
-
createdAt: string;
|
|
206
206
|
updatedAt: string;
|
|
207
207
|
ambiguityScore?: number | undefined;
|
|
208
208
|
techNotes?: Record<string, unknown> | undefined;
|
|
@@ -210,8 +210,9 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
210
210
|
metadata?: Record<string, unknown> | undefined;
|
|
211
211
|
completedAt?: string | undefined;
|
|
212
212
|
}, {
|
|
213
|
+
createdAt: string;
|
|
214
|
+
status: "completed" | "draft" | "needs-clarification" | "ready" | "in-progress" | "abandoned";
|
|
213
215
|
mode: "greenfield" | "brownfield";
|
|
214
|
-
status: "draft" | "needs-clarification" | "ready" | "in-progress" | "completed" | "abandoned";
|
|
215
216
|
description: string;
|
|
216
217
|
specId: string;
|
|
217
218
|
title: string;
|
|
@@ -222,18 +223,17 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
222
223
|
priority: "must-have" | "should-have" | "nice-to-have";
|
|
223
224
|
acceptanceCriteria: string[];
|
|
224
225
|
dependencies?: string[] | undefined;
|
|
225
|
-
estimatedComplexity?: "
|
|
226
|
+
estimatedComplexity?: "high" | "medium" | "low" | undefined;
|
|
226
227
|
estimatedSprints?: number | undefined;
|
|
227
228
|
}[];
|
|
228
|
-
createdAt: string;
|
|
229
229
|
updatedAt: string;
|
|
230
230
|
version?: number | undefined;
|
|
231
231
|
assumptions?: string[] | undefined;
|
|
232
232
|
outOfScope?: string[] | undefined;
|
|
233
233
|
ambiguityScore?: number | undefined;
|
|
234
234
|
clarificationQuestions?: {
|
|
235
|
-
questionId: string;
|
|
236
235
|
category: "other" | "scope" | "user-personas" | "data-model" | "tech-constraints" | "design-ux" | "integrations" | "non-functional" | "error-handling" | "integration-risk" | "pattern-conflict" | "regression-risk";
|
|
236
|
+
questionId: string;
|
|
237
237
|
question: string;
|
|
238
238
|
options?: {
|
|
239
239
|
description: string;
|
|
@@ -243,10 +243,10 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
243
243
|
ambiguityWeight?: number | undefined;
|
|
244
244
|
}[] | undefined;
|
|
245
245
|
resolvedClarifications?: {
|
|
246
|
-
questionId: string;
|
|
247
246
|
answer: string;
|
|
247
|
+
questionId: string;
|
|
248
248
|
resolvedAt: string;
|
|
249
|
-
resolvedBy?: "
|
|
249
|
+
resolvedBy?: "user" | "planner" | undefined;
|
|
250
250
|
}[] | undefined;
|
|
251
251
|
techStack?: string[] | undefined;
|
|
252
252
|
techNotes?: Record<string, unknown> | undefined;
|
|
@@ -300,7 +300,7 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
300
300
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
301
301
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
302
302
|
}, "strip", z.ZodTypeAny, {
|
|
303
|
-
status: "
|
|
303
|
+
status: "failed" | "completed" | "evaluating" | "in-progress" | "proposed" | "negotiating" | "agreed" | "passed" | "needs-rework";
|
|
304
304
|
description: string;
|
|
305
305
|
specId: string;
|
|
306
306
|
title: string;
|
|
@@ -321,8 +321,8 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
321
321
|
definitionOfDone: string;
|
|
322
322
|
estimatedFiles: string[];
|
|
323
323
|
iterationHistory: unknown[];
|
|
324
|
-
ambiguityScore?: number | undefined;
|
|
325
324
|
createdAt?: string | undefined;
|
|
325
|
+
ambiguityScore?: number | undefined;
|
|
326
326
|
updatedAt?: string | undefined;
|
|
327
327
|
completedAt?: string | undefined;
|
|
328
328
|
generatorNotes?: string | undefined;
|
|
@@ -333,7 +333,7 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
333
333
|
evalResults?: unknown[] | undefined;
|
|
334
334
|
startedAt?: string | undefined;
|
|
335
335
|
}, {
|
|
336
|
-
status: "
|
|
336
|
+
status: "failed" | "completed" | "evaluating" | "in-progress" | "proposed" | "negotiating" | "agreed" | "passed" | "needs-rework";
|
|
337
337
|
description: string;
|
|
338
338
|
specId: string;
|
|
339
339
|
title: string;
|
|
@@ -348,11 +348,11 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
348
348
|
nonGoals: string[];
|
|
349
349
|
stopConditions: string[];
|
|
350
350
|
definitionOfDone: string;
|
|
351
|
+
createdAt?: string | undefined;
|
|
351
352
|
features?: string[] | undefined;
|
|
352
353
|
assumptions?: string[] | undefined;
|
|
353
354
|
outOfScope?: string[] | undefined;
|
|
354
355
|
ambiguityScore?: number | undefined;
|
|
355
|
-
createdAt?: string | undefined;
|
|
356
356
|
updatedAt?: string | undefined;
|
|
357
357
|
completedAt?: string | undefined;
|
|
358
358
|
dependsOn?: string[] | undefined;
|
|
@@ -410,7 +410,7 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
410
410
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
411
411
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
412
412
|
}, "strip", z.ZodTypeAny, {
|
|
413
|
-
status: "
|
|
413
|
+
status: "failed" | "completed" | "evaluating" | "in-progress" | "proposed" | "negotiating" | "agreed" | "passed" | "needs-rework";
|
|
414
414
|
description: string;
|
|
415
415
|
specId: string;
|
|
416
416
|
title: string;
|
|
@@ -431,8 +431,8 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
431
431
|
definitionOfDone: string;
|
|
432
432
|
estimatedFiles: string[];
|
|
433
433
|
iterationHistory: unknown[];
|
|
434
|
-
ambiguityScore?: number | undefined;
|
|
435
434
|
createdAt?: string | undefined;
|
|
435
|
+
ambiguityScore?: number | undefined;
|
|
436
436
|
updatedAt?: string | undefined;
|
|
437
437
|
completedAt?: string | undefined;
|
|
438
438
|
generatorNotes?: string | undefined;
|
|
@@ -443,7 +443,7 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
443
443
|
evalResults?: unknown[] | undefined;
|
|
444
444
|
startedAt?: string | undefined;
|
|
445
445
|
}, {
|
|
446
|
-
status: "
|
|
446
|
+
status: "failed" | "completed" | "evaluating" | "in-progress" | "proposed" | "negotiating" | "agreed" | "passed" | "needs-rework";
|
|
447
447
|
description: string;
|
|
448
448
|
specId: string;
|
|
449
449
|
title: string;
|
|
@@ -458,11 +458,11 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
458
458
|
nonGoals: string[];
|
|
459
459
|
stopConditions: string[];
|
|
460
460
|
definitionOfDone: string;
|
|
461
|
+
createdAt?: string | undefined;
|
|
461
462
|
features?: string[] | undefined;
|
|
462
463
|
assumptions?: string[] | undefined;
|
|
463
464
|
outOfScope?: string[] | undefined;
|
|
464
465
|
ambiguityScore?: number | undefined;
|
|
465
|
-
createdAt?: string | undefined;
|
|
466
466
|
updatedAt?: string | undefined;
|
|
467
467
|
completedAt?: string | undefined;
|
|
468
468
|
dependsOn?: string[] | undefined;
|
|
@@ -484,13 +484,13 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
484
484
|
rationale: z.ZodString;
|
|
485
485
|
madeBy: z.ZodEnum<["planner", "generator", "evaluator", "human"]>;
|
|
486
486
|
}, "strip", z.ZodTypeAny, {
|
|
487
|
-
description: string;
|
|
488
487
|
timestamp: string;
|
|
488
|
+
description: string;
|
|
489
489
|
rationale: string;
|
|
490
490
|
madeBy: "planner" | "generator" | "evaluator" | "human";
|
|
491
491
|
}, {
|
|
492
|
-
description: string;
|
|
493
492
|
timestamp: string;
|
|
493
|
+
description: string;
|
|
494
494
|
rationale: string;
|
|
495
495
|
madeBy: "planner" | "generator" | "evaluator" | "human";
|
|
496
496
|
}>, "many">;
|
|
@@ -501,15 +501,16 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
501
501
|
from: "planner" | "generator" | "evaluator" | "human";
|
|
502
502
|
to: "planner" | "generator" | "evaluator" | "human";
|
|
503
503
|
projectContext: {
|
|
504
|
-
name: string;
|
|
505
504
|
type: string;
|
|
505
|
+
name: string;
|
|
506
506
|
techStack: string[];
|
|
507
507
|
entryPoints: string[];
|
|
508
508
|
currentBranch: string;
|
|
509
509
|
};
|
|
510
510
|
spec: {
|
|
511
|
+
createdAt: string;
|
|
512
|
+
status: "completed" | "draft" | "needs-clarification" | "ready" | "in-progress" | "abandoned";
|
|
511
513
|
mode: "greenfield" | "brownfield";
|
|
512
|
-
status: "draft" | "needs-clarification" | "ready" | "in-progress" | "completed" | "abandoned";
|
|
513
514
|
description: string;
|
|
514
515
|
specId: string;
|
|
515
516
|
version: number;
|
|
@@ -521,14 +522,14 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
521
522
|
priority: "must-have" | "should-have" | "nice-to-have";
|
|
522
523
|
acceptanceCriteria: string[];
|
|
523
524
|
dependencies: string[];
|
|
524
|
-
estimatedComplexity?: "
|
|
525
|
+
estimatedComplexity?: "high" | "medium" | "low" | undefined;
|
|
525
526
|
estimatedSprints?: number | undefined;
|
|
526
527
|
}[];
|
|
527
528
|
assumptions: string[];
|
|
528
529
|
outOfScope: string[];
|
|
529
530
|
clarificationQuestions: {
|
|
530
|
-
questionId: string;
|
|
531
531
|
category: "other" | "scope" | "user-personas" | "data-model" | "tech-constraints" | "design-ux" | "integrations" | "non-functional" | "error-handling" | "integration-risk" | "pattern-conflict" | "regression-risk";
|
|
532
|
+
questionId: string;
|
|
532
533
|
question: string;
|
|
533
534
|
options?: {
|
|
534
535
|
description: string;
|
|
@@ -538,15 +539,14 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
538
539
|
ambiguityWeight?: number | undefined;
|
|
539
540
|
}[];
|
|
540
541
|
resolvedClarifications: {
|
|
541
|
-
questionId: string;
|
|
542
542
|
answer: string;
|
|
543
|
+
questionId: string;
|
|
543
544
|
resolvedAt: string;
|
|
544
|
-
resolvedBy: "
|
|
545
|
+
resolvedBy: "user" | "planner";
|
|
545
546
|
}[];
|
|
546
547
|
techStack: string[];
|
|
547
548
|
nonFunctionalRequirements: unknown[];
|
|
548
549
|
constraints: string[];
|
|
549
|
-
createdAt: string;
|
|
550
550
|
updatedAt: string;
|
|
551
551
|
ambiguityScore?: number | undefined;
|
|
552
552
|
techNotes?: Record<string, unknown> | undefined;
|
|
@@ -555,7 +555,7 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
555
555
|
completedAt?: string | undefined;
|
|
556
556
|
};
|
|
557
557
|
sprintHistory: {
|
|
558
|
-
status: "
|
|
558
|
+
status: "failed" | "completed" | "evaluating" | "in-progress" | "proposed" | "negotiating" | "agreed" | "passed" | "needs-rework";
|
|
559
559
|
description: string;
|
|
560
560
|
specId: string;
|
|
561
561
|
title: string;
|
|
@@ -576,8 +576,8 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
576
576
|
definitionOfDone: string;
|
|
577
577
|
estimatedFiles: string[];
|
|
578
578
|
iterationHistory: unknown[];
|
|
579
|
-
ambiguityScore?: number | undefined;
|
|
580
579
|
createdAt?: string | undefined;
|
|
580
|
+
ambiguityScore?: number | undefined;
|
|
581
581
|
updatedAt?: string | undefined;
|
|
582
582
|
completedAt?: string | undefined;
|
|
583
583
|
generatorNotes?: string | undefined;
|
|
@@ -591,13 +591,13 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
591
591
|
instructions: string;
|
|
592
592
|
changedFiles: string[];
|
|
593
593
|
decisions: {
|
|
594
|
-
description: string;
|
|
595
594
|
timestamp: string;
|
|
595
|
+
description: string;
|
|
596
596
|
rationale: string;
|
|
597
597
|
madeBy: "planner" | "generator" | "evaluator" | "human";
|
|
598
598
|
}[];
|
|
599
599
|
currentContract?: {
|
|
600
|
-
status: "
|
|
600
|
+
status: "failed" | "completed" | "evaluating" | "in-progress" | "proposed" | "negotiating" | "agreed" | "passed" | "needs-rework";
|
|
601
601
|
description: string;
|
|
602
602
|
specId: string;
|
|
603
603
|
title: string;
|
|
@@ -618,8 +618,8 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
618
618
|
definitionOfDone: string;
|
|
619
619
|
estimatedFiles: string[];
|
|
620
620
|
iterationHistory: unknown[];
|
|
621
|
-
ambiguityScore?: number | undefined;
|
|
622
621
|
createdAt?: string | undefined;
|
|
622
|
+
ambiguityScore?: number | undefined;
|
|
623
623
|
updatedAt?: string | undefined;
|
|
624
624
|
completedAt?: string | undefined;
|
|
625
625
|
generatorNotes?: string | undefined;
|
|
@@ -636,15 +636,16 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
636
636
|
from: "planner" | "generator" | "evaluator" | "human";
|
|
637
637
|
to: "planner" | "generator" | "evaluator" | "human";
|
|
638
638
|
projectContext: {
|
|
639
|
-
name: string;
|
|
640
639
|
type: string;
|
|
640
|
+
name: string;
|
|
641
641
|
techStack: string[];
|
|
642
642
|
entryPoints: string[];
|
|
643
643
|
currentBranch: string;
|
|
644
644
|
};
|
|
645
645
|
spec: {
|
|
646
|
+
createdAt: string;
|
|
647
|
+
status: "completed" | "draft" | "needs-clarification" | "ready" | "in-progress" | "abandoned";
|
|
646
648
|
mode: "greenfield" | "brownfield";
|
|
647
|
-
status: "draft" | "needs-clarification" | "ready" | "in-progress" | "completed" | "abandoned";
|
|
648
649
|
description: string;
|
|
649
650
|
specId: string;
|
|
650
651
|
title: string;
|
|
@@ -655,18 +656,17 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
655
656
|
priority: "must-have" | "should-have" | "nice-to-have";
|
|
656
657
|
acceptanceCriteria: string[];
|
|
657
658
|
dependencies?: string[] | undefined;
|
|
658
|
-
estimatedComplexity?: "
|
|
659
|
+
estimatedComplexity?: "high" | "medium" | "low" | undefined;
|
|
659
660
|
estimatedSprints?: number | undefined;
|
|
660
661
|
}[];
|
|
661
|
-
createdAt: string;
|
|
662
662
|
updatedAt: string;
|
|
663
663
|
version?: number | undefined;
|
|
664
664
|
assumptions?: string[] | undefined;
|
|
665
665
|
outOfScope?: string[] | undefined;
|
|
666
666
|
ambiguityScore?: number | undefined;
|
|
667
667
|
clarificationQuestions?: {
|
|
668
|
-
questionId: string;
|
|
669
668
|
category: "other" | "scope" | "user-personas" | "data-model" | "tech-constraints" | "design-ux" | "integrations" | "non-functional" | "error-handling" | "integration-risk" | "pattern-conflict" | "regression-risk";
|
|
669
|
+
questionId: string;
|
|
670
670
|
question: string;
|
|
671
671
|
options?: {
|
|
672
672
|
description: string;
|
|
@@ -676,10 +676,10 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
676
676
|
ambiguityWeight?: number | undefined;
|
|
677
677
|
}[] | undefined;
|
|
678
678
|
resolvedClarifications?: {
|
|
679
|
-
questionId: string;
|
|
680
679
|
answer: string;
|
|
680
|
+
questionId: string;
|
|
681
681
|
resolvedAt: string;
|
|
682
|
-
resolvedBy?: "
|
|
682
|
+
resolvedBy?: "user" | "planner" | undefined;
|
|
683
683
|
}[] | undefined;
|
|
684
684
|
techStack?: string[] | undefined;
|
|
685
685
|
techNotes?: Record<string, unknown> | undefined;
|
|
@@ -690,7 +690,7 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
690
690
|
completedAt?: string | undefined;
|
|
691
691
|
};
|
|
692
692
|
sprintHistory: {
|
|
693
|
-
status: "
|
|
693
|
+
status: "failed" | "completed" | "evaluating" | "in-progress" | "proposed" | "negotiating" | "agreed" | "passed" | "needs-rework";
|
|
694
694
|
description: string;
|
|
695
695
|
specId: string;
|
|
696
696
|
title: string;
|
|
@@ -705,11 +705,11 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
705
705
|
nonGoals: string[];
|
|
706
706
|
stopConditions: string[];
|
|
707
707
|
definitionOfDone: string;
|
|
708
|
+
createdAt?: string | undefined;
|
|
708
709
|
features?: string[] | undefined;
|
|
709
710
|
assumptions?: string[] | undefined;
|
|
710
711
|
outOfScope?: string[] | undefined;
|
|
711
712
|
ambiguityScore?: number | undefined;
|
|
712
|
-
createdAt?: string | undefined;
|
|
713
713
|
updatedAt?: string | undefined;
|
|
714
714
|
completedAt?: string | undefined;
|
|
715
715
|
dependsOn?: string[] | undefined;
|
|
@@ -726,13 +726,13 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
726
726
|
instructions: string;
|
|
727
727
|
changedFiles: string[];
|
|
728
728
|
decisions: {
|
|
729
|
-
description: string;
|
|
730
729
|
timestamp: string;
|
|
730
|
+
description: string;
|
|
731
731
|
rationale: string;
|
|
732
732
|
madeBy: "planner" | "generator" | "evaluator" | "human";
|
|
733
733
|
}[];
|
|
734
734
|
currentContract?: {
|
|
735
|
-
status: "
|
|
735
|
+
status: "failed" | "completed" | "evaluating" | "in-progress" | "proposed" | "negotiating" | "agreed" | "passed" | "needs-rework";
|
|
736
736
|
description: string;
|
|
737
737
|
specId: string;
|
|
738
738
|
title: string;
|
|
@@ -747,11 +747,11 @@ export declare const ContextHandoffSchema: z.ZodObject<{
|
|
|
747
747
|
nonGoals: string[];
|
|
748
748
|
stopConditions: string[];
|
|
749
749
|
definitionOfDone: string;
|
|
750
|
+
createdAt?: string | undefined;
|
|
750
751
|
features?: string[] | undefined;
|
|
751
752
|
assumptions?: string[] | undefined;
|
|
752
753
|
outOfScope?: string[] | undefined;
|
|
753
754
|
ambiguityScore?: number | undefined;
|
|
754
|
-
createdAt?: string | undefined;
|
|
755
755
|
updatedAt?: string | undefined;
|
|
756
756
|
completedAt?: string | undefined;
|
|
757
757
|
dependsOn?: string[] | undefined;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Materialize sprint contracts from a plan spec's feature list.
|
|
3
|
+
*
|
|
4
|
+
* Extracted verbatim from the runTsPipeline inline loop so that both the run
|
|
5
|
+
* pipeline AND the standalone `plan` command (Sprint 2) share one source of
|
|
6
|
+
* truth. Contract content is feature-derived; ids are deterministic and
|
|
7
|
+
* zero-padded as `sprint-<specId>-NN` so listContracts() lexical ordering
|
|
8
|
+
* matches sprint execution order.
|
|
9
|
+
*
|
|
10
|
+
* These auto-generated contracts use placeholder precision fields;
|
|
11
|
+
* a planner-authored contract (saved directly by the bober-planner
|
|
12
|
+
* subagent) supersedes them with substantive nonGoals, stopConditions,
|
|
13
|
+
* and definitionOfDone.
|
|
14
|
+
*
|
|
15
|
+
* The post-plan and post-sprint-contract audit checkpoints are pipeline
|
|
16
|
+
* concerns and live in pipeline.ts — NOT here. This helper has zero
|
|
17
|
+
* runWithAudit / appendHistory / checkpoint references.
|
|
18
|
+
*/
|
|
19
|
+
import type { BoberConfig } from "../config/schema.js";
|
|
20
|
+
import type { PlanSpec } from "../contracts/spec.js";
|
|
21
|
+
import type { SprintContract } from "../contracts/sprint-contract.js";
|
|
22
|
+
/**
|
|
23
|
+
* Create and persist one SprintContract per feature in spec.features.
|
|
24
|
+
*
|
|
25
|
+
* Contract content is derived from feature fields. Ids are set to
|
|
26
|
+
* `sprint-<specId>-NN` (width-2 zero-padded) after construction so
|
|
27
|
+
* listContracts() lexical sort equals sprint execution order.
|
|
28
|
+
*
|
|
29
|
+
* Returns the contracts array in feature / sprintNumber order so the caller
|
|
30
|
+
* can pass it to the post-sprint-contract checkpoint and the sprint loop.
|
|
31
|
+
*/
|
|
32
|
+
export declare function materializeContracts(spec: PlanSpec, projectRoot: string, config: BoberConfig): Promise<SprintContract[]>;
|
|
33
|
+
//# sourceMappingURL=contract-materialization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract-materialization.d.ts","sourceRoot":"","sources":["../../src/orchestrator/contract-materialization.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAMtE;;;;;;;;;GASG;AACH,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,QAAQ,EACd,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,WAAW,GAClB,OAAO,CAAC,cAAc,EAAE,CAAC,CA6F3B"}
|