@llm-dev-ops/agentics-cli 1.4.59 → 1.4.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/commands/agents.d.ts.map +1 -1
- package/dist/commands/agents.js +167 -0
- package/dist/commands/agents.js.map +1 -1
- package/dist/pipeline/auto-chain.d.ts +1 -0
- package/dist/pipeline/auto-chain.d.ts.map +1 -1
- package/dist/pipeline/auto-chain.js +124 -37
- package/dist/pipeline/auto-chain.js.map +1 -1
- package/dist/pipeline/execution-context.d.ts.map +1 -1
- package/dist/pipeline/execution-context.js +12 -37
- package/dist/pipeline/execution-context.js.map +1 -1
- package/dist/pipeline/phase2/phases/adr-generator.d.ts.map +1 -1
- package/dist/pipeline/phase2/phases/adr-generator.js +160 -1
- package/dist/pipeline/phase2/phases/adr-generator.js.map +1 -1
- package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
- package/dist/pipeline/phase2/phases/ddd-generator.js +400 -3
- package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
- package/dist/pipeline/phase2/phases/ddd-quality-gate.d.ts +43 -0
- package/dist/pipeline/phase2/phases/ddd-quality-gate.d.ts.map +1 -0
- package/dist/pipeline/phase2/phases/ddd-quality-gate.js +413 -0
- package/dist/pipeline/phase2/phases/ddd-quality-gate.js.map +1 -0
- package/dist/pipeline/phase2/phases/research-dossier.d.ts +0 -13
- package/dist/pipeline/phase2/phases/research-dossier.d.ts.map +1 -1
- package/dist/pipeline/phase2/phases/research-dossier.js +114 -1
- package/dist/pipeline/phase2/phases/research-dossier.js.map +1 -1
- package/dist/pipeline/phase2/phases/research-quality-gate.d.ts +48 -0
- package/dist/pipeline/phase2/phases/research-quality-gate.d.ts.map +1 -0
- package/dist/pipeline/phase2/phases/research-quality-gate.js +322 -0
- package/dist/pipeline/phase2/phases/research-quality-gate.js.map +1 -0
- package/dist/pipeline/phase2/phases/sparc-quality-gate.d.ts +41 -0
- package/dist/pipeline/phase2/phases/sparc-quality-gate.d.ts.map +1 -0
- package/dist/pipeline/phase2/phases/sparc-quality-gate.js +350 -0
- package/dist/pipeline/phase2/phases/sparc-quality-gate.js.map +1 -0
- package/dist/pipeline/phase2/phases/sparc-specification.d.ts +14 -0
- package/dist/pipeline/phase2/phases/sparc-specification.d.ts.map +1 -1
- package/dist/pipeline/phase2/phases/sparc-specification.js +500 -10
- package/dist/pipeline/phase2/phases/sparc-specification.js.map +1 -1
- package/dist/pipeline/phase2/phases/tdd-plan-generator.js +1 -1
- package/dist/pipeline/phase2/phases/tdd-plan-generator.js.map +1 -1
- package/dist/pipeline/phase2/phases/tech-stack-detector.d.ts +72 -0
- package/dist/pipeline/phase2/phases/tech-stack-detector.d.ts.map +1 -0
- package/dist/pipeline/phase2/phases/tech-stack-detector.js +332 -0
- package/dist/pipeline/phase2/phases/tech-stack-detector.js.map +1 -0
- package/dist/pipeline/phase2/types.d.ts +2 -0
- package/dist/pipeline/phase2/types.d.ts.map +1 -1
- package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
- package/dist/pipeline/phase3/phases/domain-codegen.js +169 -4
- package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
- package/dist/pipeline/phase3/phases/test-generator.d.ts.map +1 -1
- package/dist/pipeline/phase3/phases/test-generator.js +12 -2
- package/dist/pipeline/phase3/phases/test-generator.js.map +1 -1
- package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.d.ts.map +1 -1
- package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.js +99 -1
- package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.js.map +1 -1
- package/dist/pipeline/phase4/phases/deployment-generator.d.ts +17 -4
- package/dist/pipeline/phase4/phases/deployment-generator.d.ts.map +1 -1
- package/dist/pipeline/phase4/phases/deployment-generator.js +364 -44
- package/dist/pipeline/phase4/phases/deployment-generator.js.map +1 -1
- package/dist/pipeline/phase4/phases/erp-client-generator.d.ts.map +1 -1
- package/dist/pipeline/phase4/phases/erp-client-generator.js +27 -15
- package/dist/pipeline/phase4/phases/erp-client-generator.js.map +1 -1
- package/dist/pipeline/phase4/phases/erp-target-resolver.d.ts.map +1 -1
- package/dist/pipeline/phase4/phases/erp-target-resolver.js +49 -2
- package/dist/pipeline/phase4/phases/erp-target-resolver.js.map +1 -1
- package/dist/pipeline/phase4/phases/http-server-generator.d.ts.map +1 -1
- package/dist/pipeline/phase4/phases/http-server-generator.js +263 -3
- package/dist/pipeline/phase4/phases/http-server-generator.js.map +1 -1
- package/dist/pipeline/phase4/phases/infra-adapter-generator.d.ts.map +1 -1
- package/dist/pipeline/phase4/phases/infra-adapter-generator.js +335 -37
- package/dist/pipeline/phase4/phases/infra-adapter-generator.js.map +1 -1
- package/dist/pipeline/phase4/types.d.ts +3 -1
- package/dist/pipeline/phase4/types.d.ts.map +1 -1
- package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.d.ts.map +1 -1
- package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js +211 -2
- package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js.map +1 -1
- package/dist/pipeline/phase5-build/phases/implementation-quality-gate.d.ts +54 -0
- package/dist/pipeline/phase5-build/phases/implementation-quality-gate.d.ts.map +1 -0
- package/dist/pipeline/phase5-build/phases/implementation-quality-gate.js +417 -0
- package/dist/pipeline/phase5-build/phases/implementation-quality-gate.js.map +1 -0
- package/dist/pipeline/phases/prompt-generator.js +1 -1
- package/dist/pipeline/phases/prompt-generator.js.map +1 -1
- package/dist/pipeline/ruflo-phase-executor.d.ts +116 -1
- package/dist/pipeline/ruflo-phase-executor.d.ts.map +1 -1
- package/dist/pipeline/ruflo-phase-executor.js +666 -159
- package/dist/pipeline/ruflo-phase-executor.js.map +1 -1
- package/dist/pipeline/swarm-orchestrator.d.ts.map +1 -1
- package/dist/pipeline/swarm-orchestrator.js +62 -6
- package/dist/pipeline/swarm-orchestrator.js.map +1 -1
- package/dist/routing/capability-classifier.d.ts +43 -0
- package/dist/routing/capability-classifier.d.ts.map +1 -0
- package/dist/routing/capability-classifier.js +157 -0
- package/dist/routing/capability-classifier.js.map +1 -0
- package/dist/routing/composition-engine.d.ts +77 -0
- package/dist/routing/composition-engine.d.ts.map +1 -0
- package/dist/routing/composition-engine.js +249 -0
- package/dist/routing/composition-engine.js.map +1 -0
- package/dist/routing/graph-federation.d.ts +71 -0
- package/dist/routing/graph-federation.d.ts.map +1 -0
- package/dist/routing/graph-federation.js +210 -0
- package/dist/routing/graph-federation.js.map +1 -0
- package/dist/routing/graph-loader.d.ts +74 -0
- package/dist/routing/graph-loader.d.ts.map +1 -0
- package/dist/routing/graph-loader.js +383 -0
- package/dist/routing/graph-loader.js.map +1 -0
- package/dist/routing/graph-router.d.ts +103 -0
- package/dist/routing/graph-router.d.ts.map +1 -0
- package/dist/routing/graph-router.js +415 -0
- package/dist/routing/graph-router.js.map +1 -0
- package/dist/routing/graph-validator.d.ts +44 -0
- package/dist/routing/graph-validator.d.ts.map +1 -0
- package/dist/routing/graph-validator.js +329 -0
- package/dist/routing/graph-validator.js.map +1 -0
- package/dist/routing/index.d.ts +52 -0
- package/dist/routing/index.d.ts.map +1 -0
- package/dist/routing/index.js +68 -0
- package/dist/routing/index.js.map +1 -0
- package/dist/routing/outcome-recorder.d.ts +71 -0
- package/dist/routing/outcome-recorder.d.ts.map +1 -0
- package/dist/routing/outcome-recorder.js +133 -0
- package/dist/routing/outcome-recorder.js.map +1 -0
- package/dist/routing/weight-adjuster.d.ts +59 -0
- package/dist/routing/weight-adjuster.d.ts.map +1 -0
- package/dist/routing/weight-adjuster.js +167 -0
- package/dist/routing/weight-adjuster.js.map +1 -0
- package/dist/routing/weighted-resolver.d.ts +55 -0
- package/dist/routing/weighted-resolver.d.ts.map +1 -0
- package/dist/routing/weighted-resolver.js +133 -0
- package/dist/routing/weighted-resolver.js.map +1 -0
- package/dist/synthesis/ask-artifact-writer.d.ts.map +1 -1
- package/dist/synthesis/ask-artifact-writer.js +8 -0
- package/dist/synthesis/ask-artifact-writer.js.map +1 -1
- package/dist/synthesis/simulation-artifact-generator.d.ts +14 -0
- package/dist/synthesis/simulation-artifact-generator.d.ts.map +1 -1
- package/dist/synthesis/simulation-artifact-generator.js +224 -1
- package/dist/synthesis/simulation-artifact-generator.js.map +1 -1
- package/dist/synthesis/simulation-renderers.d.ts.map +1 -1
- package/dist/synthesis/simulation-renderers.js +211 -40
- package/dist/synthesis/simulation-renderers.js.map +1 -1
- package/package.json +3 -1
- package/scripts/postinstall.sh +25 -0
- package/dist/bundled-agents/connector-hub-agents/package-lock.json +0 -11697
- package/dist/bundled-agents/connector-hub-agents/package.json +0 -75
- package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +0 -22
- package/dist/bundled-agents/connector-hub-agents/tsconfig.json +0 -57
- package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +0 -17
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +0 -14
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +0 -35
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +0 -55
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +0 -40
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +0 -22
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +0 -38
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +0 -34
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +0 -186
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +0 -36
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +0 -121
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +0 -157
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +0 -948
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +0 -9
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +0 -27
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +0 -50
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +0 -214
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +0 -91
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +0 -1166
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +0 -308
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +0 -59
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +0 -62
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +0 -400
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +0 -113
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +0 -250
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +0 -169
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +0 -17
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +0 -97
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +0 -246
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1085
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +0 -218
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -949
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +0 -253
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -657
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +0 -205
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +0 -285
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +0 -106
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +0 -581
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +0 -136
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +0 -791
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +0 -225
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +0 -120
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +0 -535
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +0 -9
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +0 -18
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +0 -4
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +0 -9
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +0 -10
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +0 -6
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +0 -15
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +0 -73
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +0 -192
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +0 -127
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +0 -483
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +0 -49
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +0 -125
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +0 -73
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +0 -192
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +0 -27
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +0 -122
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +0 -645
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +0 -59
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +0 -156
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +0 -88
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +0 -246
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/index.js +0 -4
- package/dist/bundled-agents/copilot-agents/functions/jest.config.js +0 -29
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +0 -14
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +0 -35
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +0 -27
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +0 -21
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +0 -22
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +0 -38
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +0 -34
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +0 -174
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +0 -27
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +0 -107
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +0 -157
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +0 -941
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +0 -9
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +0 -27
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +0 -50
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +0 -185
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +0 -86
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +0 -1081
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +0 -305
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +0 -59
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +0 -62
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +0 -315
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +0 -110
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +0 -250
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +0 -169
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +0 -16
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +0 -88
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +0 -246
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1000
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +0 -215
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -864
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +0 -250
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -572
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +0 -202
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +0 -496
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +0 -133
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +0 -706
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +0 -222
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +0 -107
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +0 -360
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +0 -9
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +0 -18
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +0 -4
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +0 -9
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +0 -10
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +0 -6
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +0 -15
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +0 -73
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +0 -192
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +0 -119
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +0 -421
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +0 -49
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +0 -125
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +0 -73
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +0 -192
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +0 -27
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +0 -122
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +0 -645
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +0 -59
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +0 -156
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +0 -88
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +0 -246
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/package-lock.json +0 -5473
- package/dist/bundled-agents/copilot-agents/functions/package.json +0 -40
- package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +0 -71
- package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +0 -36
- package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +0 -77
- package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +0 -340
- package/dist/bundled-agents/copilot-agents/functions/src/health.ts +0 -53
- package/dist/bundled-agents/copilot-agents/functions/src/index.ts +0 -201
- package/dist/bundled-agents/copilot-agents/functions/src/router.ts +0 -148
- package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +0 -31
- package/dist/bundled-agents/copilot-agents/package-lock.json +0 -11825
- package/dist/bundled-agents/copilot-agents/package.json +0 -5
- package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +0 -8282
- package/dist/bundled-agents/governance-dashboard-agents/package.json +0 -13
- package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +0 -590
- package/dist/bundled-agents/orchestrator-agents/functions/index.js +0 -442
- package/dist/bundled-agents/orchestrator-agents/functions/test.js +0 -325
- package/dist/bundled-agents/orchestrator-agents/index.js +0 -6
- package/dist/bundled-agents/orchestrator-agents/package-lock.json +0 -13254
- package/dist/bundled-agents/orchestrator-agents/package.json +0 -20
- package/dist/bundled-agents/platform-agents/package-lock.json +0 -1723
- package/dist/bundled-agents/platform-agents/package.json +0 -22
- package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +0 -463
- package/dist/bundled-agents/platform-agents/src/agents/decision.ts +0 -234
- package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +0 -229
- package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +0 -327
- package/dist/bundled-agents/platform-agents/src/claude.ts +0 -71
- package/dist/bundled-agents/platform-agents/src/cors.ts +0 -24
- package/dist/bundled-agents/platform-agents/src/envelope.ts +0 -37
- package/dist/bundled-agents/platform-agents/src/health.ts +0 -20
- package/dist/bundled-agents/platform-agents/src/index.ts +0 -171
- package/dist/bundled-agents/platform-agents/src/router.ts +0 -38
- package/dist/bundled-agents/platform-agents/src/text-analysis.ts +0 -238
- package/dist/bundled-agents/platform-agents/tsconfig.json +0 -19
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +0 -3
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +0 -43
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +0 -3
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +0 -30
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +0 -3
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +0 -53
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +0 -3
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +0 -51
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +0 -3
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +0 -36
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +0 -2
- package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/index.js +0 -70
- package/dist/bundled-agents/sentinel-agents/lib/index.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/package-lock.json +0 -12591
- package/dist/bundled-agents/sentinel-agents/package.json +0 -62
- package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +0 -46
- package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +0 -33
- package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +0 -56
- package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +0 -54
- package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +0 -38
- package/dist/bundled-agents/sentinel-agents/src/claude.ts +0 -71
- package/dist/bundled-agents/sentinel-agents/src/index.ts +0 -77
- package/dist/bundled-agents/sentinel-agents/tsconfig.json +0 -20
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Phase 2 Pipeline -- Shared Tech Stack Detector (ADR-029 Fix 1)
|
|
3
|
+
*
|
|
4
|
+
* Deterministic (no LLM calls) detection of technology stack from query and
|
|
5
|
+
* dossier text. Produces a canonical TechStack object that flows end-to-end
|
|
6
|
+
* through the pipeline so every stage uses the SAME ERP, cloud, and database
|
|
7
|
+
* details.
|
|
8
|
+
*
|
|
9
|
+
* Primary consumers:
|
|
10
|
+
* - adr-generator.ts (writes tech-stack.json, embeds in LLM prompt)
|
|
11
|
+
* - ruflo-phase-executor.ts (reads tech-stack.json, embeds in wave prompts)
|
|
12
|
+
*/
|
|
13
|
+
import * as fs from 'node:fs';
|
|
14
|
+
import * as path from 'node:path';
|
|
15
|
+
// ============================================================================
|
|
16
|
+
// ERP Registry -- canonical API details per ERP vendor
|
|
17
|
+
// ============================================================================
|
|
18
|
+
const ERP_REGISTRY = [
|
|
19
|
+
{
|
|
20
|
+
name: 'Oracle Fusion',
|
|
21
|
+
slug: 'oracle-fusion',
|
|
22
|
+
baseApiPath: '/fscmRestApi/resources/v1/{resource}',
|
|
23
|
+
authMethod: 'OAuth2 JWT bearer',
|
|
24
|
+
commonResources: ['purchaseOrders', 'suppliers', 'budgets', 'transferOrders', 'journalEntries'],
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'SAP S/4HANA',
|
|
28
|
+
slug: 'sap-s4hana',
|
|
29
|
+
baseApiPath: '/sap/opu/odata4/sap/{service}',
|
|
30
|
+
authMethod: 'SAP OAuth/SAML',
|
|
31
|
+
commonResources: [
|
|
32
|
+
'API_BUSINESS_PARTNER',
|
|
33
|
+
'API_PURCHASEORDER_PROCESS_SRV',
|
|
34
|
+
'API_SALES_ORDER_SRV',
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'NetSuite',
|
|
39
|
+
slug: 'netsuite',
|
|
40
|
+
baseApiPath: '/services/rest/record/v1/{record}',
|
|
41
|
+
authMethod: 'Token-Based Authentication (TBA)',
|
|
42
|
+
commonResources: ['transferOrder', 'purchaseOrder', 'salesOrder', 'customer', 'vendor'],
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: 'Workday',
|
|
46
|
+
slug: 'workday',
|
|
47
|
+
baseApiPath: '/ccx/api/v1/{tenant}/{resource}',
|
|
48
|
+
authMethod: 'OAuth2',
|
|
49
|
+
commonResources: ['workers', 'organizations', 'budgets', 'costCenters'],
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'Microsoft Dynamics 365',
|
|
53
|
+
slug: 'dynamics-365',
|
|
54
|
+
baseApiPath: '/api/data/v9.2/{entity}',
|
|
55
|
+
authMethod: 'OAuth2 (Azure AD)',
|
|
56
|
+
commonResources: ['accounts', 'salesorders', 'invoices', 'products'],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'Infor CloudSuite',
|
|
60
|
+
slug: 'infor-cloudsuite',
|
|
61
|
+
baseApiPath: '/M3/m3api-rest/v2/execute/{program}',
|
|
62
|
+
authMethod: 'OAuth2/IFS',
|
|
63
|
+
commonResources: ['CRS610MI', 'PMS100MI', 'OIS100MI'],
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
// ============================================================================
|
|
67
|
+
// Detection patterns -- ordered from most specific to least specific
|
|
68
|
+
// ============================================================================
|
|
69
|
+
/**
|
|
70
|
+
* ERP detection rules. Order matters: more specific patterns are checked first
|
|
71
|
+
* so "Oracle Fusion" beats a bare "Oracle" match.
|
|
72
|
+
*/
|
|
73
|
+
const ERP_PATTERNS = [
|
|
74
|
+
// Oracle variants -- specific first
|
|
75
|
+
{ pattern: /\boracle\s+fusion/i, slug: 'oracle-fusion' },
|
|
76
|
+
{ pattern: /\boracle\s+erp\b/i, slug: 'oracle-fusion' },
|
|
77
|
+
{ pattern: /\boracle\s+cloud\s+erp\b/i, slug: 'oracle-fusion' },
|
|
78
|
+
{ pattern: /\boracle\b/i, slug: 'oracle-fusion' },
|
|
79
|
+
// SAP variants
|
|
80
|
+
{ pattern: /\bsap\s+s\/4\s*hana\b/i, slug: 'sap-s4hana' },
|
|
81
|
+
{ pattern: /\bsap\s+s4\s*hana\b/i, slug: 'sap-s4hana' },
|
|
82
|
+
{ pattern: /\bs\/4\s*hana\b/i, slug: 'sap-s4hana' },
|
|
83
|
+
{ pattern: /\bsap\b/i, slug: 'sap-s4hana' },
|
|
84
|
+
// NetSuite
|
|
85
|
+
{ pattern: /\bnetsuite\b/i, slug: 'netsuite' },
|
|
86
|
+
// Workday
|
|
87
|
+
{ pattern: /\bworkday\b/i, slug: 'workday' },
|
|
88
|
+
// Dynamics 365
|
|
89
|
+
{ pattern: /\bdynamics\s*365\b/i, slug: 'dynamics-365' },
|
|
90
|
+
{ pattern: /\bd365\b/i, slug: 'dynamics-365' },
|
|
91
|
+
{ pattern: /\bmicrosoft\s+dynamics\b/i, slug: 'dynamics-365' },
|
|
92
|
+
// Infor
|
|
93
|
+
{ pattern: /\binfor\s+cloudsuite\b/i, slug: 'infor-cloudsuite' },
|
|
94
|
+
{ pattern: /\binfor\s+m3\b/i, slug: 'infor-cloudsuite' },
|
|
95
|
+
{ pattern: /\binfor\b/i, slug: 'infor-cloudsuite' },
|
|
96
|
+
];
|
|
97
|
+
const CLOUD_PATTERNS = [
|
|
98
|
+
{ pattern: /\baws\b/i, provider: 'aws' },
|
|
99
|
+
{ pattern: /\bamazon\s+web\s+services\b/i, provider: 'aws' },
|
|
100
|
+
{ pattern: /\bazure\b/i, provider: 'azure' },
|
|
101
|
+
{ pattern: /\bmicrosoft\s+azure\b/i, provider: 'azure' },
|
|
102
|
+
{ pattern: /\bgcp\b/i, provider: 'gcp' },
|
|
103
|
+
{ pattern: /\bgoogle\s+cloud/i, provider: 'gcp' },
|
|
104
|
+
];
|
|
105
|
+
const DATABASE_PATTERNS = [
|
|
106
|
+
{ pattern: /\bpostgres(?:ql)?\b/i, engine: 'postgresql' },
|
|
107
|
+
{ pattern: /\bmysql\b/i, engine: 'mysql' },
|
|
108
|
+
{ pattern: /\bmongodb\b/i, engine: 'mongodb' },
|
|
109
|
+
{ pattern: /\bdynamodb\b/i, engine: 'dynamodb' },
|
|
110
|
+
{ pattern: /\bcosmos\s*db\b/i, engine: 'cosmosdb' },
|
|
111
|
+
{ pattern: /\bbigquery\b/i, engine: 'bigquery' },
|
|
112
|
+
{ pattern: /\bsnowflake\b/i, engine: 'snowflake' },
|
|
113
|
+
{ pattern: /\bsql\s*server\b/i, engine: 'sql-server' },
|
|
114
|
+
{ pattern: /\bmssql\b/i, engine: 'sql-server' },
|
|
115
|
+
];
|
|
116
|
+
const MESSAGE_QUEUE_PATTERNS = [
|
|
117
|
+
{ pattern: /\bkafka\b/i, name: 'Kafka' },
|
|
118
|
+
{ pattern: /\brabbitmq\b/i, name: 'RabbitMQ' },
|
|
119
|
+
{ pattern: /\bsqs\b/i, name: 'AWS SQS' },
|
|
120
|
+
{ pattern: /\bservice\s*bus\b/i, name: 'Azure Service Bus' },
|
|
121
|
+
{ pattern: /\bpub\/?sub\b/i, name: 'Google Pub/Sub' },
|
|
122
|
+
{ pattern: /\bnats\b/i, name: 'NATS' },
|
|
123
|
+
];
|
|
124
|
+
const SEARCH_ENGINE_PATTERNS = [
|
|
125
|
+
{ pattern: /\belasticsearch\b/i, name: 'Elasticsearch' },
|
|
126
|
+
{ pattern: /\bopensearch\b/i, name: 'OpenSearch' },
|
|
127
|
+
{ pattern: /\bsolr\b/i, name: 'Solr' },
|
|
128
|
+
{ pattern: /\balgolia\b/i, name: 'Algolia' },
|
|
129
|
+
];
|
|
130
|
+
const CACHE_PATTERNS = [
|
|
131
|
+
{ pattern: /\bredis\b/i, name: 'Redis' },
|
|
132
|
+
{ pattern: /\bmemcached\b/i, name: 'Memcached' },
|
|
133
|
+
{ pattern: /\belasticache\b/i, name: 'ElastiCache' },
|
|
134
|
+
];
|
|
135
|
+
// ============================================================================
|
|
136
|
+
// Detection functions
|
|
137
|
+
// ============================================================================
|
|
138
|
+
function detectERP(text) {
|
|
139
|
+
for (const rule of ERP_PATTERNS) {
|
|
140
|
+
if (rule.pattern.test(text)) {
|
|
141
|
+
const erp = ERP_REGISTRY.find(e => e.slug === rule.slug);
|
|
142
|
+
if (erp)
|
|
143
|
+
return erp;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return null;
|
|
147
|
+
}
|
|
148
|
+
function detectCloud(text) {
|
|
149
|
+
for (const rule of CLOUD_PATTERNS) {
|
|
150
|
+
if (rule.pattern.test(text))
|
|
151
|
+
return rule.provider;
|
|
152
|
+
}
|
|
153
|
+
return null;
|
|
154
|
+
}
|
|
155
|
+
function detectDatabase(text) {
|
|
156
|
+
for (const rule of DATABASE_PATTERNS) {
|
|
157
|
+
if (rule.pattern.test(text))
|
|
158
|
+
return rule.engine;
|
|
159
|
+
}
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
function detectFirst(text, patterns) {
|
|
163
|
+
for (const rule of patterns) {
|
|
164
|
+
if (rule.pattern.test(text))
|
|
165
|
+
return rule.name;
|
|
166
|
+
}
|
|
167
|
+
return null;
|
|
168
|
+
}
|
|
169
|
+
// ============================================================================
|
|
170
|
+
// Public API
|
|
171
|
+
// ============================================================================
|
|
172
|
+
/**
|
|
173
|
+
* Scan query and dossier text for technology mentions. Returns a deterministic
|
|
174
|
+
* TechStack — no LLM calls, purely regex-based.
|
|
175
|
+
*/
|
|
176
|
+
export function detectTechnologyStack(query, dossierText) {
|
|
177
|
+
// Query takes priority (user intent), then dossier (research findings)
|
|
178
|
+
const combined = `${query}\n${dossierText}`;
|
|
179
|
+
return {
|
|
180
|
+
erp: detectERP(combined),
|
|
181
|
+
cloud: detectCloud(combined),
|
|
182
|
+
database: detectDatabase(combined),
|
|
183
|
+
messageQueue: detectFirst(combined, MESSAGE_QUEUE_PATTERNS),
|
|
184
|
+
searchEngine: detectFirst(combined, SEARCH_ENGINE_PATTERNS),
|
|
185
|
+
cacheLayer: detectFirst(combined, CACHE_PATTERNS),
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Write tech-stack.json to the output directory.
|
|
190
|
+
* Returns the absolute path of the written file.
|
|
191
|
+
*/
|
|
192
|
+
export function writeTechStack(techStack, outputDir) {
|
|
193
|
+
const filePath = path.join(outputDir, 'tech-stack.json');
|
|
194
|
+
try {
|
|
195
|
+
fs.writeFileSync(filePath, JSON.stringify(techStack, null, 2) + '\n', { encoding: 'utf-8', mode: 0o600 });
|
|
196
|
+
process.stderr.write(`[tech-stack-detector] Wrote ${filePath}\n`);
|
|
197
|
+
}
|
|
198
|
+
catch (err) {
|
|
199
|
+
process.stderr.write(`[tech-stack-detector] Failed to write ${filePath}: ${err instanceof Error ? err.message : String(err)}\n`);
|
|
200
|
+
}
|
|
201
|
+
return filePath;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Read tech-stack.json from a directory. Returns null if not found or invalid.
|
|
205
|
+
*/
|
|
206
|
+
export function loadTechStack(dir) {
|
|
207
|
+
const filePath = path.join(dir, 'tech-stack.json');
|
|
208
|
+
try {
|
|
209
|
+
if (!fs.existsSync(filePath))
|
|
210
|
+
return null;
|
|
211
|
+
const raw = JSON.parse(fs.readFileSync(filePath, 'utf-8'));
|
|
212
|
+
return raw;
|
|
213
|
+
}
|
|
214
|
+
catch {
|
|
215
|
+
return null;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Format ERP details into a string suitable for embedding in LLM prompts.
|
|
220
|
+
*/
|
|
221
|
+
export function formatERPContextForPrompt(erp) {
|
|
222
|
+
return [
|
|
223
|
+
`ERP System: ${erp.name}`,
|
|
224
|
+
`API Base: ${erp.baseApiPath}`,
|
|
225
|
+
`Authentication: ${erp.authMethod}`,
|
|
226
|
+
`Resources: ${erp.commonResources.join(', ')}`,
|
|
227
|
+
].join('\n');
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Format the full tech stack for LLM prompt embedding.
|
|
231
|
+
* Only includes non-null fields.
|
|
232
|
+
*/
|
|
233
|
+
export function formatTechStackForPrompt(ts) {
|
|
234
|
+
const lines = ['## Technology Stack (from detection)'];
|
|
235
|
+
if (ts.erp) {
|
|
236
|
+
lines.push(formatERPContextForPrompt(ts.erp));
|
|
237
|
+
lines.push(`CRITICAL: Use these EXACT API paths. Do NOT use ${otherERPNames(ts.erp.slug)} APIs.`);
|
|
238
|
+
}
|
|
239
|
+
if (ts.cloud)
|
|
240
|
+
lines.push(`Cloud Provider: ${ts.cloud.toUpperCase()}`);
|
|
241
|
+
if (ts.database)
|
|
242
|
+
lines.push(`Database: ${ts.database}`);
|
|
243
|
+
if (ts.messageQueue)
|
|
244
|
+
lines.push(`Message Queue: ${ts.messageQueue}`);
|
|
245
|
+
if (ts.searchEngine)
|
|
246
|
+
lines.push(`Search Engine: ${ts.searchEngine}`);
|
|
247
|
+
if (ts.cacheLayer)
|
|
248
|
+
lines.push(`Cache: ${ts.cacheLayer}`);
|
|
249
|
+
return lines.join('\n');
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Return a human-readable list of other ERP names for negative prompting.
|
|
253
|
+
*/
|
|
254
|
+
function otherERPNames(currentSlug) {
|
|
255
|
+
return ERP_REGISTRY
|
|
256
|
+
.filter(e => e.slug !== currentSlug)
|
|
257
|
+
.map(e => e.name)
|
|
258
|
+
.join(', ');
|
|
259
|
+
}
|
|
260
|
+
const ERP_OPERATION_PATHS = {
|
|
261
|
+
'netsuite': {
|
|
262
|
+
transferOrder: '/services/rest/record/v1/transferOrder',
|
|
263
|
+
purchaseOrder: '/services/rest/record/v1/purchaseOrder',
|
|
264
|
+
inventoryBalance: '/services/rest/record/v1/inventoryBalance',
|
|
265
|
+
itemReceipt: '/services/rest/record/v1/itemReceipt',
|
|
266
|
+
defaultEntity: '/services/rest/record/v1/entity',
|
|
267
|
+
auditLogLabel: 'netsuite_call',
|
|
268
|
+
authComment: 'Token-Based Authentication (TBA)',
|
|
269
|
+
},
|
|
270
|
+
'oracle-fusion': {
|
|
271
|
+
transferOrder: '/fscmRestApi/resources/v1/transferOrders',
|
|
272
|
+
purchaseOrder: '/fscmRestApi/resources/v1/purchaseOrders',
|
|
273
|
+
inventoryBalance: '/fscmRestApi/resources/v1/inventoryBalances',
|
|
274
|
+
itemReceipt: '/fscmRestApi/resources/v1/receivingTransactions',
|
|
275
|
+
defaultEntity: '/fscmRestApi/resources/v1/entity',
|
|
276
|
+
auditLogLabel: 'oracle_fusion_call',
|
|
277
|
+
authComment: 'OAuth2 JWT bearer token',
|
|
278
|
+
},
|
|
279
|
+
'sap-s4hana': {
|
|
280
|
+
transferOrder: '/sap/opu/odata4/sap/API_STOCK_TRANSFER_ORDER_SRV/StockTransferOrder',
|
|
281
|
+
purchaseOrder: '/sap/opu/odata4/sap/API_PURCHASEORDER_PROCESS_SRV/A_PurchaseOrder',
|
|
282
|
+
inventoryBalance: '/sap/opu/odata4/sap/API_MATERIAL_STOCK_SRV/A_MatlStkInAcctMod',
|
|
283
|
+
itemReceipt: '/sap/opu/odata4/sap/API_MATERIAL_DOCUMENT_SRV/A_MaterialDocumentHeader',
|
|
284
|
+
defaultEntity: '/sap/opu/odata4/sap/API_ENTITY_SRV/Entity',
|
|
285
|
+
auditLogLabel: 'sap_s4hana_call',
|
|
286
|
+
authComment: 'SAP OAuth2/SAML token',
|
|
287
|
+
},
|
|
288
|
+
'workday': {
|
|
289
|
+
transferOrder: '/ccx/api/v1/{tenant}/supplyChain/transferOrders',
|
|
290
|
+
purchaseOrder: '/ccx/api/v1/{tenant}/procurement/purchaseOrders',
|
|
291
|
+
inventoryBalance: '/ccx/api/v1/{tenant}/inventory/balances',
|
|
292
|
+
itemReceipt: '/ccx/api/v1/{tenant}/receiving/receipts',
|
|
293
|
+
defaultEntity: '/ccx/api/v1/{tenant}/entity',
|
|
294
|
+
auditLogLabel: 'workday_call',
|
|
295
|
+
authComment: 'OAuth2 token',
|
|
296
|
+
},
|
|
297
|
+
'dynamics-365': {
|
|
298
|
+
transferOrder: '/api/data/v9.2/msdyn_transferorders',
|
|
299
|
+
purchaseOrder: '/api/data/v9.2/purchaseorders',
|
|
300
|
+
inventoryBalance: '/api/data/v9.2/msdyn_inventoryonhand',
|
|
301
|
+
itemReceipt: '/api/data/v9.2/msdyn_productreceipts',
|
|
302
|
+
defaultEntity: '/api/data/v9.2/entity',
|
|
303
|
+
auditLogLabel: 'dynamics365_call',
|
|
304
|
+
authComment: 'OAuth2 (Azure AD) token',
|
|
305
|
+
},
|
|
306
|
+
'infor-cloudsuite': {
|
|
307
|
+
transferOrder: '/M3/m3api-rest/v2/execute/MMS850MI/AddTransferOrder',
|
|
308
|
+
purchaseOrder: '/M3/m3api-rest/v2/execute/PPS200MI/AddPurchaseOrder',
|
|
309
|
+
inventoryBalance: '/M3/m3api-rest/v2/execute/MMS200MI/GetItemBalance',
|
|
310
|
+
itemReceipt: '/M3/m3api-rest/v2/execute/PPS300MI/AddReceipt',
|
|
311
|
+
defaultEntity: '/M3/m3api-rest/v2/execute/ENTITY',
|
|
312
|
+
auditLogLabel: 'infor_cloudsuite_call',
|
|
313
|
+
authComment: 'OAuth2/IFS token',
|
|
314
|
+
},
|
|
315
|
+
};
|
|
316
|
+
/**
|
|
317
|
+
* Get ERP-specific API operation paths for code generation.
|
|
318
|
+
* Falls back to NetSuite paths for unknown ERP slugs.
|
|
319
|
+
*/
|
|
320
|
+
export function getERPOperationPaths(erpSlug) {
|
|
321
|
+
if (erpSlug && ERP_OPERATION_PATHS[erpSlug]) {
|
|
322
|
+
return ERP_OPERATION_PATHS[erpSlug];
|
|
323
|
+
}
|
|
324
|
+
return ERP_OPERATION_PATHS['netsuite'];
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Look up an ERPSystem by slug.
|
|
328
|
+
*/
|
|
329
|
+
export function getERPBySlug(slug) {
|
|
330
|
+
return ERP_REGISTRY.find(e => e.slug === slug) ?? null;
|
|
331
|
+
}
|
|
332
|
+
//# sourceMappingURL=tech-stack-detector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tech-stack-detector.js","sourceRoot":"","sources":["../../../../src/pipeline/phase2/phases/tech-stack-detector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAoClC,+EAA+E;AAC/E,uDAAuD;AACvD,+EAA+E;AAE/E,MAAM,YAAY,GAAyB;IACzC;QACE,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,sCAAsC;QACnD,UAAU,EAAE,mBAAmB;QAC/B,eAAe,EAAE,CAAC,gBAAgB,EAAE,WAAW,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,CAAC;KAChG;IACD;Q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Y;IACvC,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,IAAI,CAAC;AACzD,CAAC"}
|
|
@@ -336,6 +336,8 @@ export interface Phase2DDDBoundedContext {
|
|
|
336
336
|
readonly adrRefs: string[];
|
|
337
337
|
/** Subdomain classification: core, supporting, or generic. */
|
|
338
338
|
readonly subdomain?: SubdomainType;
|
|
339
|
+
/** Context type: 'intelligence' for ML/analytics contexts, 'crud' for standard data management. */
|
|
340
|
+
readonly contextType?: 'intelligence' | 'crud';
|
|
339
341
|
}
|
|
340
342
|
/**
|
|
341
343
|
* A relationship between two bounded contexts in the context map.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/pipeline/phase2/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,cAAc,EAAE,aAAa,CAAC;QACrC,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,CAAC;IAC7B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,aAAa,CAAC,EA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AAiB,EAQjB,OAAO,EAGP,iBAAiB,EAGlB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"domain-codegen.d.ts","sourceRoot":"","sources":["../../../../src/pipeline/phase3/phases/domain-codegen.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EAGtB,aAAa,EAEd,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EACV,iBAAiB,EAQjB,OAAO,EAGP,iBAAiB,EAGlB,MAAM,uBAAuB,CAAC;AAw5G/B;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,WAAW,EAAE,iBAAiB,EAC9B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,sBAAsB,EAChC,KAAK,EAAE,iBAAiB,GACvB,aAAa,CAuUf;AA8PD;;;;;;;;;;GAUG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,iBAAiB,CAAC,CAwK5B"}
|
|
@@ -64,6 +64,19 @@ function toCamelCase(name) {
|
|
|
64
64
|
const pascal = toPascalCase(name);
|
|
65
65
|
return pascal.charAt(0).toLowerCase() + pascal.slice(1);
|
|
66
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Build a port interface name from a base name, preventing double-I prefix.
|
|
69
|
+
* Strips any existing "I" prefix before prepending, ensuring names like
|
|
70
|
+
* "IntegrationService" become "IntegrationServicePort" (not "IIntegrationServicePort").
|
|
71
|
+
*/
|
|
72
|
+
function toPortName(baseName) {
|
|
73
|
+
let pascal = toPascalCase(baseName);
|
|
74
|
+
// Strip leading I-prefix(es) to prevent II*, III*, etc.
|
|
75
|
+
while (/^I[A-Z]/.test(pascal)) {
|
|
76
|
+
pascal = pascal.slice(1);
|
|
77
|
+
}
|
|
78
|
+
return `${pascal}Port`;
|
|
79
|
+
}
|
|
67
80
|
/**
|
|
68
81
|
* Parse a pseudocode dataStructure string into typed fields.
|
|
69
82
|
*
|
|
@@ -1703,6 +1716,15 @@ function tsCommand(ctx, cmd, ctxModules, ctxService) {
|
|
|
1703
1716
|
const failureEventCode = failureEvents.length > 0
|
|
1704
1717
|
? failureEvents.map(e => buildEventLiteral(e, `error: err instanceof Error ? err.message : String(err),`)).join(',\n')
|
|
1705
1718
|
: ` { type: '${slugify(cmd.name)}-failed', payload: { aggregateId, timestamp: new Date().toISOString(), correlationId, error: err instanceof Error ? err.message : String(err) }, triggeredBy: '${cmd.name}' }`;
|
|
1719
|
+
// -----------------------------------------------------------------------
|
|
1720
|
+
// Intelligence context detection — ML commands get domain-specific bodies
|
|
1721
|
+
// instead of generic CRUD stubs (ADR-029 Fix 4).
|
|
1722
|
+
// -----------------------------------------------------------------------
|
|
1723
|
+
const isTrainCommand = /^Train|TrainModel|Retrain|FineTune/i.test(cmd.name);
|
|
1724
|
+
const isInferenceCommand = /^RunInference|Predict|Forecast|Classify|Score|Evaluate/i.test(cmd.name);
|
|
1725
|
+
const isAnomalyCommand = /^Detect|DetectAnomal|Monitor|Scan/i.test(cmd.name);
|
|
1726
|
+
const isIntelligenceCommand = isTrainCommand || isInferenceCommand || isAnomalyCommand
|
|
1727
|
+
|| (ctx.contextType === 'intelligence' && /Model|ML|AI|Neural|Feature/i.test(cmd.name));
|
|
1706
1728
|
// Build the handler body with try/catch for proper success/failure event separation
|
|
1707
1729
|
if (algoSteps.length > 0) {
|
|
1708
1730
|
const stepLines = algoSteps.map((step, i) => ` // Step ${i + 2}: ${step}\n ${renderAlgorithmStepAsCode(step, i + 2)}`);
|
|
@@ -1736,6 +1758,149 @@ function tsCommand(ctx, cmd, ctxModules, ctxService) {
|
|
|
1736
1758
|
` }`,
|
|
1737
1759
|
].join('\n');
|
|
1738
1760
|
}
|
|
1761
|
+
else if (isIntelligenceCommand) {
|
|
1762
|
+
// -----------------------------------------------------------------------
|
|
1763
|
+
// Intelligence context: generate ML-specific handler bodies (ADR-029 Fix 4)
|
|
1764
|
+
// -----------------------------------------------------------------------
|
|
1765
|
+
const destructureLines = inputCamelFields.length > 0
|
|
1766
|
+
? ` const { ${inputCamelFields.join(', ')} } = input;`
|
|
1767
|
+
: ' // No input fields to destructure';
|
|
1768
|
+
let domainLogicBlock;
|
|
1769
|
+
if (isTrainCommand) {
|
|
1770
|
+
domainLogicBlock = [
|
|
1771
|
+
` // --- ML Training Pipeline ---`,
|
|
1772
|
+
` // Step 1: Validate training dataset availability and integrity`,
|
|
1773
|
+
` const datasetRef = (input as Record<string, unknown>)['datasetId'] ?? (input as Record<string, unknown>)['trainingDatasetId'] ?? aggregateId;`,
|
|
1774
|
+
` if (!datasetRef) throw new Error('Training dataset reference is required');`,
|
|
1775
|
+
``,
|
|
1776
|
+
` // Step 2: Load or initialize model version`,
|
|
1777
|
+
` const existingModel = await deps.repository.findById(aggregateId);`,
|
|
1778
|
+
` const currentVersion = ((existingModel as Record<string, unknown>)?.['modelVersion'] as number | undefined) ?? 0;`,
|
|
1779
|
+
` const nextVersion = currentVersion + 1;`,
|
|
1780
|
+
``,
|
|
1781
|
+
` // Step 3: Configure hyperparameters with validated defaults`,
|
|
1782
|
+
` const hyperParams = {`,
|
|
1783
|
+
` learningRate: ((input as Record<string, unknown>)['learningRate'] as number | undefined) ?? 0.001,`,
|
|
1784
|
+
` epochs: ((input as Record<string, unknown>)['epochs'] as number | undefined) ?? 10,`,
|
|
1785
|
+
` batchSize: ((input as Record<string, unknown>)['batchSize'] as number | undefined) ?? 32,`,
|
|
1786
|
+
` validationSplit: 0.2,`,
|
|
1787
|
+
` };`,
|
|
1788
|
+
``,
|
|
1789
|
+
` // Step 4: Execute training run (delegates to ML infrastructure seam)`,
|
|
1790
|
+
` const trainingStartedAt = new Date().toISOString();`,
|
|
1791
|
+
` // NOTE: actual training execution is delegated to the ML infrastructure adapter`,
|
|
1792
|
+
` // which implements the repository seam interface for this bounded context`,
|
|
1793
|
+
``,
|
|
1794
|
+
` // Step 5: Persist trained model artifact with version metadata`,
|
|
1795
|
+
` const trainedModel = {`,
|
|
1796
|
+
` ...(existingModel as Record<string, unknown> ?? {}),`,
|
|
1797
|
+
` id: aggregateId,`,
|
|
1798
|
+
` modelVersion: nextVersion,`,
|
|
1799
|
+
` datasetRef: String(datasetRef),`,
|
|
1800
|
+
` hyperParameters: hyperParams,`,
|
|
1801
|
+
` status: 'trained' as const,`,
|
|
1802
|
+
` trainedAt: trainingStartedAt,`,
|
|
1803
|
+
` updatedAt: new Date().toISOString(),`,
|
|
1804
|
+
` };`,
|
|
1805
|
+
` const updatedAggregate = trainedModel;`,
|
|
1806
|
+
` await deps.repository.save(trainedModel);`,
|
|
1807
|
+
].join('\n');
|
|
1808
|
+
}
|
|
1809
|
+
else if (isInferenceCommand) {
|
|
1810
|
+
domainLogicBlock = [
|
|
1811
|
+
` // --- ML Inference Pipeline ---`,
|
|
1812
|
+
` // Step 1: Load the deployed model`,
|
|
1813
|
+
` const model = await deps.repository.findById(aggregateId);`,
|
|
1814
|
+
` if (!model) throw new Error(\`Model \${aggregateId} not found — cannot run inference\`);`,
|
|
1815
|
+
``,
|
|
1816
|
+
` // Step 2: Validate model is in a deployable state`,
|
|
1817
|
+
` const modelStatus = (model as Record<string, unknown>)['status'];`,
|
|
1818
|
+
` if (modelStatus !== 'trained' && modelStatus !== 'deployed') {`,
|
|
1819
|
+
` throw new Error(\`Model \${aggregateId} is in state '\${String(modelStatus)}' — must be trained or deployed before inference\`);`,
|
|
1820
|
+
` }`,
|
|
1821
|
+
``,
|
|
1822
|
+
` // Step 3: Prepare input features for inference`,
|
|
1823
|
+
` ${destructureLines}`,
|
|
1824
|
+
` const inferenceStartMs = Date.now();`,
|
|
1825
|
+
``,
|
|
1826
|
+
` // Step 4: Run inference (delegates to ML infrastructure seam)`,
|
|
1827
|
+
` // NOTE: actual inference execution is delegated to the ML infrastructure adapter`,
|
|
1828
|
+
` const inferenceResult = {`,
|
|
1829
|
+
` prediction: null as unknown,`,
|
|
1830
|
+
` confidenceScore: 0.0,`,
|
|
1831
|
+
` modelVersion: (model as Record<string, unknown>)['modelVersion'] ?? 1,`,
|
|
1832
|
+
` latencyMs: Date.now() - inferenceStartMs,`,
|
|
1833
|
+
` };`,
|
|
1834
|
+
``,
|
|
1835
|
+
` // Step 5: Persist inference result with audit trail`,
|
|
1836
|
+
` const updatedAggregate = {`,
|
|
1837
|
+
` ...(model as Record<string, unknown>),`,
|
|
1838
|
+
` lastInferenceAt: new Date().toISOString(),`,
|
|
1839
|
+
` lastInferenceLatencyMs: inferenceResult.latencyMs,`,
|
|
1840
|
+
` inferenceCount: (((model as Record<string, unknown>)['inferenceCount'] as number | undefined) ?? 0) + 1,`,
|
|
1841
|
+
` updatedAt: new Date().toISOString(),`,
|
|
1842
|
+
` };`,
|
|
1843
|
+
` await deps.repository.save(updatedAggregate);`,
|
|
1844
|
+
].join('\n');
|
|
1845
|
+
}
|
|
1846
|
+
else {
|
|
1847
|
+
// Anomaly detection / monitoring commands
|
|
1848
|
+
domainLogicBlock = [
|
|
1849
|
+
` // --- Anomaly Detection Pipeline ---`,
|
|
1850
|
+
` // Step 1: Load baseline model or detection configuration`,
|
|
1851
|
+
` const baseline = await deps.repository.findById(aggregateId);`,
|
|
1852
|
+
``,
|
|
1853
|
+
` // Step 2: Extract features from input signal`,
|
|
1854
|
+
` ${destructureLines}`,
|
|
1855
|
+
` const detectionStartMs = Date.now();`,
|
|
1856
|
+
``,
|
|
1857
|
+
` // Step 3: Compare against learned baseline thresholds`,
|
|
1858
|
+
` // NOTE: anomaly scoring is delegated to the ML infrastructure adapter`,
|
|
1859
|
+
` const anomalyScore = 0.0; // placeholder — replaced by adapter`,
|
|
1860
|
+
` const isAnomaly = anomalyScore > (((baseline as Record<string, unknown>)?.['threshold'] as number | undefined) ?? 0.95);`,
|
|
1861
|
+
``,
|
|
1862
|
+
` // Step 4: Record detection result`,
|
|
1863
|
+
` const detectionResult = {`,
|
|
1864
|
+
` anomalyScore,`,
|
|
1865
|
+
` isAnomaly,`,
|
|
1866
|
+
` detectedAt: new Date().toISOString(),`,
|
|
1867
|
+
` latencyMs: Date.now() - detectionStartMs,`,
|
|
1868
|
+
` };`,
|
|
1869
|
+
``,
|
|
1870
|
+
` // Step 5: Persist updated detection state`,
|
|
1871
|
+
` const updatedAggregate = {`,
|
|
1872
|
+
` ...(baseline as Record<string, unknown> ?? {}),`,
|
|
1873
|
+
` id: aggregateId,`,
|
|
1874
|
+
` lastDetectionResult: detectionResult,`,
|
|
1875
|
+
` totalDetections: (((baseline as Record<string, unknown>)?.['totalDetections'] as number | undefined) ?? 0) + 1,`,
|
|
1876
|
+
` updatedAt: new Date().toISOString(),`,
|
|
1877
|
+
` };`,
|
|
1878
|
+
` await deps.repository.save(updatedAggregate);`,
|
|
1879
|
+
].join('\n');
|
|
1880
|
+
}
|
|
1881
|
+
handlerBody = [
|
|
1882
|
+
` const aggregateId = crypto.randomUUID?.() ?? Date.now().toString();`,
|
|
1883
|
+
` const correlationId = crypto.randomUUID?.() ?? Date.now().toString();`,
|
|
1884
|
+
'',
|
|
1885
|
+
` try {`,
|
|
1886
|
+
` // Validate preconditions`,
|
|
1887
|
+
preconditionGuards ? preconditionGuards.split('\n').map(l => ' ' + l).join('\n') : ' // No preconditions to check',
|
|
1888
|
+
'',
|
|
1889
|
+
domainLogicBlock,
|
|
1890
|
+
'',
|
|
1891
|
+
` // Publish success events`,
|
|
1892
|
+
` await deps.eventPublisher.publish([\n${successEventCode}\n ]);`,
|
|
1893
|
+
'',
|
|
1894
|
+
postconditionAsserts ? ` // Assert postconditions\n${postconditionAsserts.split('\n').map(l => ' ' + l).join('\n')}` : '',
|
|
1895
|
+
'',
|
|
1896
|
+
` return { success: true, aggregateId, correlationId };`,
|
|
1897
|
+
` } catch (err) {`,
|
|
1898
|
+
` // Publish failure event`,
|
|
1899
|
+
` await deps.eventPublisher.publish([\n${failureEventCode}\n ]);`,
|
|
1900
|
+
` throw err;`,
|
|
1901
|
+
` }`,
|
|
1902
|
+
].join('\n');
|
|
1903
|
+
}
|
|
1739
1904
|
else {
|
|
1740
1905
|
// Build typed input destructuring
|
|
1741
1906
|
const destructureLines = inputCamelFields.length > 0
|
|
@@ -2050,7 +2215,7 @@ function sanitizeType(raw, fallback) {
|
|
|
2050
2215
|
* Produces the port interface plus any DTO interfaces referenced by methods.
|
|
2051
2216
|
*/
|
|
2052
2217
|
function tsSeam(contract) {
|
|
2053
|
-
const portName =
|
|
2218
|
+
const portName = toPortName(contract.interfaceName);
|
|
2054
2219
|
const svcPascal = toPascalCase(contract.targetService || contract.boundedContext);
|
|
2055
2220
|
// Collect DTO types that need to be defined
|
|
2056
2221
|
const dtoTypes = new Set();
|
|
@@ -2098,7 +2263,7 @@ function tsSeam(contract) {
|
|
|
2098
2263
|
* matching MockContract exists).
|
|
2099
2264
|
*/
|
|
2100
2265
|
function tsSeamFromDefinition(seam) {
|
|
2101
|
-
const portName =
|
|
2266
|
+
const portName = toPortName(seam.name);
|
|
2102
2267
|
// Generate methods based on the contract type
|
|
2103
2268
|
let methods;
|
|
2104
2269
|
switch (seam.contractType) {
|
|
@@ -2855,7 +3020,7 @@ function rustQuery(ctx, query, pseudoModules, _ctxService) {
|
|
|
2855
3020
|
* Generate a Rust seam trait from a MockContract.
|
|
2856
3021
|
*/
|
|
2857
3022
|
function rustSeam(contract) {
|
|
2858
|
-
const traitName =
|
|
3023
|
+
const traitName = toPortName(contract.interfaceName);
|
|
2859
3024
|
const methods = contract.methods
|
|
2860
3025
|
.map((m) => ` /// ${m.behavior}\n` +
|
|
2861
3026
|
` async fn ${snakeCase(m.name)}(&self, input: ${m.input || '()'}) -> Result<${m.output || '()'}, Box<dyn std::error::Error>>;`)
|
|
@@ -2876,7 +3041,7 @@ function rustSeam(contract) {
|
|
|
2876
3041
|
* Generate a Rust seam trait from a SeamDefinition.
|
|
2877
3042
|
*/
|
|
2878
3043
|
function rustSeamFromDefinition(seam) {
|
|
2879
|
-
const traitName =
|
|
3044
|
+
const traitName = toPortName(seam.name);
|
|
2880
3045
|
// Generate methods based on contract type
|
|
2881
3046
|
let methods;
|
|
2882
3047
|
switch (seam.contractType) {
|