@exellix/ai-tasks 7.8.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/.env.example +3 -0
- package/.metadata/instructions-builders/create-expected-output-instructions.md +195 -0
- package/.metadata/readme.md +48 -0
- package/.metadata/shared/audit.md +29 -0
- package/.metadata/skills/professional-answer +32 -0
- package/.metadata/skills/professional-answer.compressed.md +11 -0
- package/.metadata/skills/professional-answer.instructions +33 -0
- package/.metadata/skills/professional-answer.instructions.md +33 -0
- package/.metadata/skills/professional-answer.l2.md +28 -0
- package/.metadata/skills/professional-answer.md +32 -0
- package/.metadata/skills/professional-answer.prompt +1 -0
- package/.metadata/skills/professional-answer.prompt.md +1 -0
- package/.metadata/skills/professional-decision.md +26 -0
- package/BREAKING-CHANGES.md +43 -0
- package/CHANGELOG.md +147 -0
- package/README.md +2497 -0
- package/RUNTASK_REQUEST.md +369 -0
- package/dist/activix/activixClient.d.ts +6 -0
- package/dist/activix/activixClient.d.ts.map +1 -0
- package/dist/activix/activixClient.js +131 -0
- package/dist/activix/activixClient.js.map +1 -0
- package/dist/activix/getTaskActivities.d.ts +10 -0
- package/dist/activix/getTaskActivities.d.ts.map +1 -0
- package/dist/activix/getTaskActivities.js +17 -0
- package/dist/activix/getTaskActivities.js.map +1 -0
- package/dist/activix/phaseTracking.d.ts +17 -0
- package/dist/activix/phaseTracking.d.ts.map +1 -0
- package/dist/activix/phaseTracking.js +85 -0
- package/dist/activix/phaseTracking.js.map +1 -0
- package/dist/aiScoping/index.d.ts +6 -0
- package/dist/aiScoping/index.d.ts.map +1 -0
- package/dist/aiScoping/index.js +4 -0
- package/dist/aiScoping/index.js.map +1 -0
- package/dist/aiScoping/runAiScoping.d.ts +36 -0
- package/dist/aiScoping/runAiScoping.d.ts.map +1 -0
- package/dist/aiScoping/runAiScoping.js +100 -0
- package/dist/aiScoping/runAiScoping.js.map +1 -0
- package/dist/aiScoping/runScopingCall.d.ts +23 -0
- package/dist/aiScoping/runScopingCall.d.ts.map +1 -0
- package/dist/aiScoping/runScopingCall.js +50 -0
- package/dist/aiScoping/runScopingCall.js.map +1 -0
- package/dist/aiScoping/validateAiScoping.d.ts +7 -0
- package/dist/aiScoping/validateAiScoping.d.ts.map +1 -0
- package/dist/aiScoping/validateAiScoping.js +33 -0
- package/dist/aiScoping/validateAiScoping.js.map +1 -0
- package/dist/aiSkillsUpstreamExports.d.ts +13 -0
- package/dist/aiSkillsUpstreamExports.d.ts.map +1 -0
- package/dist/aiSkillsUpstreamExports.js +12 -0
- package/dist/aiSkillsUpstreamExports.js.map +1 -0
- package/dist/analysis/analyzeRunTaskRequest.d.ts +29 -0
- package/dist/analysis/analyzeRunTaskRequest.d.ts.map +1 -0
- package/dist/analysis/analyzeRunTaskRequest.js +85 -0
- package/dist/analysis/analyzeRunTaskRequest.js.map +1 -0
- package/dist/analysis/index.d.ts +3 -0
- package/dist/analysis/index.d.ts.map +1 -0
- package/dist/analysis/index.js +2 -0
- package/dist/analysis/index.js.map +1 -0
- package/dist/builders/task-request-builder.d.ts +310 -0
- package/dist/builders/task-request-builder.d.ts.map +1 -0
- package/dist/builders/task-request-builder.js +581 -0
- package/dist/builders/task-request-builder.js.map +1 -0
- package/dist/compile/compileTaskConfiguration.d.ts +15 -0
- package/dist/compile/compileTaskConfiguration.d.ts.map +1 -0
- package/dist/compile/compileTaskConfiguration.js +184 -0
- package/dist/compile/compileTaskConfiguration.js.map +1 -0
- package/dist/compile/index.d.ts +2 -0
- package/dist/compile/index.d.ts.map +1 -0
- package/dist/compile/index.js +2 -0
- package/dist/compile/index.js.map +1 -0
- package/dist/core/task-sdk.d.ts +36 -0
- package/dist/core/task-sdk.d.ts.map +1 -0
- package/dist/core/task-sdk.js +2432 -0
- package/dist/core/task-sdk.js.map +1 -0
- package/dist/errors/smartInputValidationError.d.ts +39 -0
- package/dist/errors/smartInputValidationError.d.ts.map +1 -0
- package/dist/errors/smartInputValidationError.js +97 -0
- package/dist/errors/smartInputValidationError.js.map +1 -0
- package/dist/errors/taskConfigurationCompileError.d.ts +16 -0
- package/dist/errors/taskConfigurationCompileError.d.ts.map +1 -0
- package/dist/errors/taskConfigurationCompileError.js +20 -0
- package/dist/errors/taskConfigurationCompileError.js.map +1 -0
- package/dist/execution-strategies/applyExecutionStrategyOutputs.d.ts +17 -0
- package/dist/execution-strategies/applyExecutionStrategyOutputs.d.ts.map +1 -0
- package/dist/execution-strategies/applyExecutionStrategyOutputs.js +63 -0
- package/dist/execution-strategies/applyExecutionStrategyOutputs.js.map +1 -0
- package/dist/execution-strategies/constants.d.ts +14 -0
- package/dist/execution-strategies/constants.d.ts.map +1 -0
- package/dist/execution-strategies/constants.js +13 -0
- package/dist/execution-strategies/constants.js.map +1 -0
- package/dist/execution-strategies/executionStrategyCatalogMetadata.d.ts +9 -0
- package/dist/execution-strategies/executionStrategyCatalogMetadata.d.ts.map +1 -0
- package/dist/execution-strategies/executionStrategyCatalogMetadata.js +37 -0
- package/dist/execution-strategies/executionStrategyCatalogMetadata.js.map +1 -0
- package/dist/execution-strategies/genericExecutionFuncxEnvelope.d.ts +94 -0
- package/dist/execution-strategies/genericExecutionFuncxEnvelope.d.ts.map +1 -0
- package/dist/execution-strategies/genericExecutionFuncxEnvelope.js +306 -0
- package/dist/execution-strategies/genericExecutionFuncxEnvelope.js.map +1 -0
- package/dist/execution-strategies/resolveExecutionStrategies.d.ts +14 -0
- package/dist/execution-strategies/resolveExecutionStrategies.d.ts.map +1 -0
- package/dist/execution-strategies/resolveExecutionStrategies.js +108 -0
- package/dist/execution-strategies/resolveExecutionStrategies.js.map +1 -0
- package/dist/execution-strategies/runFuncxExecutionStrategy.d.ts +37 -0
- package/dist/execution-strategies/runFuncxExecutionStrategy.d.ts.map +1 -0
- package/dist/execution-strategies/runFuncxExecutionStrategy.js +72 -0
- package/dist/execution-strategies/runFuncxExecutionStrategy.js.map +1 -0
- package/dist/index.d.ts +99 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +106 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/resolveLlmCallForXynthesis.d.ts +52 -0
- package/dist/internal/resolveLlmCallForXynthesis.d.ts.map +1 -0
- package/dist/internal/resolveLlmCallForXynthesis.js +81 -0
- package/dist/internal/resolveLlmCallForXynthesis.js.map +1 -0
- package/dist/internal/resolveRunTaskRuntimeKnobs.d.ts +19 -0
- package/dist/internal/resolveRunTaskRuntimeKnobs.d.ts.map +1 -0
- package/dist/internal/resolveRunTaskRuntimeKnobs.js +52 -0
- package/dist/internal/resolveRunTaskRuntimeKnobs.js.map +1 -0
- package/dist/internal/runPostStepLlmCall.d.ts +52 -0
- package/dist/internal/runPostStepLlmCall.d.ts.map +1 -0
- package/dist/internal/runPostStepLlmCall.js +170 -0
- package/dist/internal/runPostStepLlmCall.js.map +1 -0
- package/dist/localTasks/collectEvidence.d.ts +3 -0
- package/dist/localTasks/collectEvidence.d.ts.map +1 -0
- package/dist/localTasks/collectEvidence.js +364 -0
- package/dist/localTasks/collectEvidence.js.map +1 -0
- package/dist/localTasks/decideWebScope.d.ts +3 -0
- package/dist/localTasks/decideWebScope.d.ts.map +1 -0
- package/dist/localTasks/decideWebScope.js +56 -0
- package/dist/localTasks/decideWebScope.js.map +1 -0
- package/dist/localTasks/index.d.ts +5 -0
- package/dist/localTasks/index.d.ts.map +1 -0
- package/dist/localTasks/index.js +19 -0
- package/dist/localTasks/index.js.map +1 -0
- package/dist/localTasks/narrixAssetPlayground.d.ts +13 -0
- package/dist/localTasks/narrixAssetPlayground.d.ts.map +1 -0
- package/dist/localTasks/narrixAssetPlayground.js +161 -0
- package/dist/localTasks/narrixAssetPlayground.js.map +1 -0
- package/dist/localTasks/narrixSubnetPlayground.d.ts +14 -0
- package/dist/localTasks/narrixSubnetPlayground.d.ts.map +1 -0
- package/dist/localTasks/narrixSubnetPlayground.js +168 -0
- package/dist/localTasks/narrixSubnetPlayground.js.map +1 -0
- package/dist/localTasks/narrixVulnGroupPlayground.d.ts +13 -0
- package/dist/localTasks/narrixVulnGroupPlayground.d.ts.map +1 -0
- package/dist/localTasks/narrixVulnGroupPlayground.js +161 -0
- package/dist/localTasks/narrixVulnGroupPlayground.js.map +1 -0
- package/dist/localTasks/narrixVulnInstancePlayground.d.ts +13 -0
- package/dist/localTasks/narrixVulnInstancePlayground.d.ts.map +1 -0
- package/dist/localTasks/narrixVulnInstancePlayground.js +165 -0
- package/dist/localTasks/narrixVulnInstancePlayground.js.map +1 -0
- package/dist/localTasks/nodeCallExport.d.ts +6 -0
- package/dist/localTasks/nodeCallExport.d.ts.map +1 -0
- package/dist/localTasks/nodeCallExport.js +99 -0
- package/dist/localTasks/nodeCallExport.js.map +1 -0
- package/dist/localTasks/nodeCallExportBatch.d.ts +3 -0
- package/dist/localTasks/nodeCallExportBatch.d.ts.map +1 -0
- package/dist/localTasks/nodeCallExportBatch.js +52 -0
- package/dist/localTasks/nodeCallExportBatch.js.map +1 -0
- package/dist/localTasks/normalizeNarrixResult.d.ts +3 -0
- package/dist/localTasks/normalizeNarrixResult.d.ts.map +1 -0
- package/dist/localTasks/normalizeNarrixResult.js +106 -0
- package/dist/localTasks/normalizeNarrixResult.js.map +1 -0
- package/dist/localTasks/registry.d.ts +4 -0
- package/dist/localTasks/registry.d.ts.map +1 -0
- package/dist/localTasks/registry.js +8 -0
- package/dist/localTasks/registry.js.map +1 -0
- package/dist/localTasks/types.d.ts +28 -0
- package/dist/localTasks/types.d.ts.map +1 -0
- package/dist/localTasks/types.js +2 -0
- package/dist/localTasks/types.js.map +1 -0
- package/dist/localTasks/validateInput.d.ts +3 -0
- package/dist/localTasks/validateInput.d.ts.map +1 -0
- package/dist/localTasks/validateInput.js +66 -0
- package/dist/localTasks/validateInput.js.map +1 -0
- package/dist/methods/convenience-methods.d.ts +45 -0
- package/dist/methods/convenience-methods.d.ts.map +1 -0
- package/dist/methods/convenience-methods.js +39 -0
- package/dist/methods/convenience-methods.js.map +1 -0
- package/dist/narrix/applyNarrixScope.d.ts +10 -0
- package/dist/narrix/applyNarrixScope.d.ts.map +1 -0
- package/dist/narrix/applyNarrixScope.js +69 -0
- package/dist/narrix/applyNarrixScope.js.map +1 -0
- package/dist/narrix/buildNarrixAttachment.d.ts +9 -0
- package/dist/narrix/buildNarrixAttachment.d.ts.map +1 -0
- package/dist/narrix/buildNarrixAttachment.js +29 -0
- package/dist/narrix/buildNarrixAttachment.js.map +1 -0
- package/dist/narrix/buildWebScopeScopeInput.d.ts +39 -0
- package/dist/narrix/buildWebScopeScopeInput.d.ts.map +1 -0
- package/dist/narrix/buildWebScopeScopeInput.js +193 -0
- package/dist/narrix/buildWebScopeScopeInput.js.map +1 -0
- package/dist/narrix/flags.d.ts +4 -0
- package/dist/narrix/flags.d.ts.map +1 -0
- package/dist/narrix/flags.js +4 -0
- package/dist/narrix/flags.js.map +1 -0
- package/dist/narrix/index.d.ts +11 -0
- package/dist/narrix/index.d.ts.map +1 -0
- package/dist/narrix/index.js +14 -0
- package/dist/narrix/index.js.map +1 -0
- package/dist/narrix/narrixClient.d.ts +9 -0
- package/dist/narrix/narrixClient.d.ts.map +1 -0
- package/dist/narrix/narrixClient.js +46 -0
- package/dist/narrix/narrixClient.js.map +1 -0
- package/dist/narrix/narrixContextMarkdown.d.ts +15 -0
- package/dist/narrix/narrixContextMarkdown.d.ts.map +1 -0
- package/dist/narrix/narrixContextMarkdown.js +98 -0
- package/dist/narrix/narrixContextMarkdown.js.map +1 -0
- package/dist/narrix/narrixRunnerModule.d.ts +11 -0
- package/dist/narrix/narrixRunnerModule.d.ts.map +1 -0
- package/dist/narrix/narrixRunnerModule.js +17 -0
- package/dist/narrix/narrixRunnerModule.js.map +1 -0
- package/dist/narrix/runNarrixForChat.d.ts +3 -0
- package/dist/narrix/runNarrixForChat.d.ts.map +1 -0
- package/dist/narrix/runNarrixForChat.js +51 -0
- package/dist/narrix/runNarrixForChat.js.map +1 -0
- package/dist/narrix/runNarrixForDocs.d.ts +3 -0
- package/dist/narrix/runNarrixForDocs.d.ts.map +1 -0
- package/dist/narrix/runNarrixForDocs.js +50 -0
- package/dist/narrix/runNarrixForDocs.js.map +1 -0
- package/dist/narrix/runNarrixForRecord.d.ts +3 -0
- package/dist/narrix/runNarrixForRecord.d.ts.map +1 -0
- package/dist/narrix/runNarrixForRecord.js +47 -0
- package/dist/narrix/runNarrixForRecord.js.map +1 -0
- package/dist/narrix/runNarrixForText.d.ts +3 -0
- package/dist/narrix/runNarrixForText.d.ts.map +1 -0
- package/dist/narrix/runNarrixForText.js +49 -0
- package/dist/narrix/runNarrixForText.js.map +1 -0
- package/dist/narrix/runnerDispatch.d.ts +12 -0
- package/dist/narrix/runnerDispatch.d.ts.map +1 -0
- package/dist/narrix/runnerDispatch.js +19 -0
- package/dist/narrix/runnerDispatch.js.map +1 -0
- package/dist/narrix/seedBundleRouting.d.ts +15 -0
- package/dist/narrix/seedBundleRouting.d.ts.map +1 -0
- package/dist/narrix/seedBundleRouting.js +46 -0
- package/dist/narrix/seedBundleRouting.js.map +1 -0
- package/dist/narrix/task.d.ts +4 -0
- package/dist/narrix/task.d.ts.map +1 -0
- package/dist/narrix/task.js +143 -0
- package/dist/narrix/task.js.map +1 -0
- package/dist/narrix/types.d.ts +104 -0
- package/dist/narrix/types.d.ts.map +1 -0
- package/dist/narrix/types.js +3 -0
- package/dist/narrix/types.js.map +1 -0
- package/dist/narrix/webContextMarkdown.d.ts +54 -0
- package/dist/narrix/webContextMarkdown.d.ts.map +1 -0
- package/dist/narrix/webContextMarkdown.js +206 -0
- package/dist/narrix/webContextMarkdown.js.map +1 -0
- package/dist/narrix/webScoper.d.ts +43 -0
- package/dist/narrix/webScoper.d.ts.map +1 -0
- package/dist/narrix/webScoper.js +144 -0
- package/dist/narrix/webScoper.js.map +1 -0
- package/dist/observability/debugTrace.d.ts +31 -0
- package/dist/observability/debugTrace.d.ts.map +1 -0
- package/dist/observability/debugTrace.js +117 -0
- package/dist/observability/debugTrace.js.map +1 -0
- package/dist/observability/extractAiTasksObservability.d.ts +7 -0
- package/dist/observability/extractAiTasksObservability.d.ts.map +1 -0
- package/dist/observability/extractAiTasksObservability.js +98 -0
- package/dist/observability/extractAiTasksObservability.js.map +1 -0
- package/dist/observability/graphExecutionRunLogContract.d.ts +19 -0
- package/dist/observability/graphExecutionRunLogContract.d.ts.map +1 -0
- package/dist/observability/graphExecutionRunLogContract.js +11 -0
- package/dist/observability/graphExecutionRunLogContract.js.map +1 -0
- package/dist/packaged-tasks-client.d.ts +66 -0
- package/dist/packaged-tasks-client.d.ts.map +1 -0
- package/dist/packaged-tasks-client.js +100 -0
- package/dist/packaged-tasks-client.js.map +1 -0
- package/dist/planWebScopeQuestions/index.d.ts +78 -0
- package/dist/planWebScopeQuestions/index.d.ts.map +1 -0
- package/dist/planWebScopeQuestions/index.js +282 -0
- package/dist/planWebScopeQuestions/index.js.map +1 -0
- package/dist/planWebScopeQuestions/runResearchPlanQuestionsFuncx.d.ts +18 -0
- package/dist/planWebScopeQuestions/runResearchPlanQuestionsFuncx.d.ts.map +1 -0
- package/dist/planWebScopeQuestions/runResearchPlanQuestionsFuncx.js +42 -0
- package/dist/planWebScopeQuestions/runResearchPlanQuestionsFuncx.js.map +1 -0
- package/dist/post-steps/audit/loadAuditTemplates.d.ts +72 -0
- package/dist/post-steps/audit/loadAuditTemplates.d.ts.map +1 -0
- package/dist/post-steps/audit/loadAuditTemplates.js +62 -0
- package/dist/post-steps/audit/loadAuditTemplates.js.map +1 -0
- package/dist/post-steps/audit/parseAuditOutput.d.ts +11 -0
- package/dist/post-steps/audit/parseAuditOutput.d.ts.map +1 -0
- package/dist/post-steps/audit/parseAuditOutput.js +50 -0
- package/dist/post-steps/audit/parseAuditOutput.js.map +1 -0
- package/dist/post-steps/audit/runAudit.d.ts +22 -0
- package/dist/post-steps/audit/runAudit.d.ts.map +1 -0
- package/dist/post-steps/audit/runAudit.js +406 -0
- package/dist/post-steps/audit/runAudit.js.map +1 -0
- package/dist/post-steps/audit/runAuditCall.d.ts +23 -0
- package/dist/post-steps/audit/runAuditCall.d.ts.map +1 -0
- package/dist/post-steps/audit/runAuditCall.js +32 -0
- package/dist/post-steps/audit/runAuditCall.js.map +1 -0
- package/dist/post-steps/polish/loadPolishTemplates.d.ts +35 -0
- package/dist/post-steps/polish/loadPolishTemplates.d.ts.map +1 -0
- package/dist/post-steps/polish/loadPolishTemplates.js +38 -0
- package/dist/post-steps/polish/loadPolishTemplates.js.map +1 -0
- package/dist/post-steps/polish/parsePolishOutput.d.ts +6 -0
- package/dist/post-steps/polish/parsePolishOutput.d.ts.map +1 -0
- package/dist/post-steps/polish/parsePolishOutput.js +47 -0
- package/dist/post-steps/polish/parsePolishOutput.js.map +1 -0
- package/dist/post-steps/polish/runPolish.d.ts +24 -0
- package/dist/post-steps/polish/runPolish.d.ts.map +1 -0
- package/dist/post-steps/polish/runPolish.js +147 -0
- package/dist/post-steps/polish/runPolish.js.map +1 -0
- package/dist/post-steps/polish/runPolishCall.d.ts +22 -0
- package/dist/post-steps/polish/runPolishCall.d.ts.map +1 -0
- package/dist/post-steps/polish/runPolishCall.js +32 -0
- package/dist/post-steps/polish/runPolishCall.js.map +1 -0
- package/dist/post-steps/resolvePostStepConfig.d.ts +58 -0
- package/dist/post-steps/resolvePostStepConfig.d.ts.map +1 -0
- package/dist/post-steps/resolvePostStepConfig.js +105 -0
- package/dist/post-steps/resolvePostStepConfig.js.map +1 -0
- package/dist/rendrixUpstreamExports.d.ts +7 -0
- package/dist/rendrixUpstreamExports.d.ts.map +1 -0
- package/dist/rendrixUpstreamExports.js +6 -0
- package/dist/rendrixUpstreamExports.js.map +1 -0
- package/dist/skillCatalogExports.d.ts +8 -0
- package/dist/skillCatalogExports.d.ts.map +1 -0
- package/dist/skillCatalogExports.js +8 -0
- package/dist/skillCatalogExports.js.map +1 -0
- package/dist/strategies/direct-execution-strategy.d.ts +31 -0
- package/dist/strategies/direct-execution-strategy.d.ts.map +1 -0
- package/dist/strategies/direct-execution-strategy.js +107 -0
- package/dist/strategies/direct-execution-strategy.js.map +1 -0
- package/dist/strategies/execution-strategy.interface.d.ts +31 -0
- package/dist/strategies/execution-strategy.interface.d.ts.map +1 -0
- package/dist/strategies/execution-strategy.interface.js +2 -0
- package/dist/strategies/execution-strategy.interface.js.map +1 -0
- package/dist/strategies/index.d.ts +9 -0
- package/dist/strategies/index.d.ts.map +1 -0
- package/dist/strategies/index.js +8 -0
- package/dist/strategies/index.js.map +1 -0
- package/dist/strategies/strategy-factory.d.ts +45 -0
- package/dist/strategies/strategy-factory.d.ts.map +1 -0
- package/dist/strategies/strategy-factory.js +59 -0
- package/dist/strategies/strategy-factory.js.map +1 -0
- package/dist/synthesis/index.d.ts +9 -0
- package/dist/synthesis/index.d.ts.map +1 -0
- package/dist/synthesis/index.js +8 -0
- package/dist/synthesis/index.js.map +1 -0
- package/dist/synthesis/resolveSourceMaterial.d.ts +35 -0
- package/dist/synthesis/resolveSourceMaterial.d.ts.map +1 -0
- package/dist/synthesis/resolveSourceMaterial.js +152 -0
- package/dist/synthesis/resolveSourceMaterial.js.map +1 -0
- package/dist/synthesis/runStructuredSynthesisRobust.d.ts +42 -0
- package/dist/synthesis/runStructuredSynthesisRobust.d.ts.map +1 -0
- package/dist/synthesis/runStructuredSynthesisRobust.js +303 -0
- package/dist/synthesis/runStructuredSynthesisRobust.js.map +1 -0
- package/dist/task-strategies/buildTaskStrategyCatalogDescriptor.d.ts +19 -0
- package/dist/task-strategies/buildTaskStrategyCatalogDescriptor.d.ts.map +1 -0
- package/dist/task-strategies/buildTaskStrategyCatalogDescriptor.js +242 -0
- package/dist/task-strategies/buildTaskStrategyCatalogDescriptor.js.map +1 -0
- package/dist/task-strategies/canonicalInputExecutionStrategies.d.ts +171 -0
- package/dist/task-strategies/canonicalInputExecutionStrategies.d.ts.map +1 -0
- package/dist/task-strategies/canonicalInputExecutionStrategies.js +117 -0
- package/dist/task-strategies/canonicalInputExecutionStrategies.js.map +1 -0
- package/dist/task-strategies/canonicalNarrixModes.d.ts +31 -0
- package/dist/task-strategies/canonicalNarrixModes.d.ts.map +1 -0
- package/dist/task-strategies/canonicalNarrixModes.js +35 -0
- package/dist/task-strategies/canonicalNarrixModes.js.map +1 -0
- package/dist/task-strategies/canonicalTaskStrategies.d.ts +104 -0
- package/dist/task-strategies/canonicalTaskStrategies.d.ts.map +1 -0
- package/dist/task-strategies/canonicalTaskStrategies.js +77 -0
- package/dist/task-strategies/canonicalTaskStrategies.js.map +1 -0
- package/dist/task-strategies/cataloxCatalogViews.d.ts +55 -0
- package/dist/task-strategies/cataloxCatalogViews.d.ts.map +1 -0
- package/dist/task-strategies/cataloxCatalogViews.js +65 -0
- package/dist/task-strategies/cataloxCatalogViews.js.map +1 -0
- package/dist/task-strategies/constants.d.ts +49 -0
- package/dist/task-strategies/constants.d.ts.map +1 -0
- package/dist/task-strategies/constants.js +49 -0
- package/dist/task-strategies/constants.js.map +1 -0
- package/dist/task-strategies/index.d.ts +22 -0
- package/dist/task-strategies/index.d.ts.map +1 -0
- package/dist/task-strategies/index.js +13 -0
- package/dist/task-strategies/index.js.map +1 -0
- package/dist/task-strategies/listAiTaskStrategies.d.ts +43 -0
- package/dist/task-strategies/listAiTaskStrategies.d.ts.map +1 -0
- package/dist/task-strategies/listAiTaskStrategies.js +74 -0
- package/dist/task-strategies/listAiTaskStrategies.js.map +1 -0
- package/dist/task-strategies/normalize.d.ts +7 -0
- package/dist/task-strategies/normalize.d.ts.map +1 -0
- package/dist/task-strategies/normalize.js +44 -0
- package/dist/task-strategies/normalize.js.map +1 -0
- package/dist/task-strategies/types.d.ts +37 -0
- package/dist/task-strategies/types.d.ts.map +1 -0
- package/dist/task-strategies/types.js +2 -0
- package/dist/task-strategies/types.js.map +1 -0
- package/dist/types/decision-contracts.d.ts +31 -0
- package/dist/types/decision-contracts.d.ts.map +1 -0
- package/dist/types/decision-contracts.js +23 -0
- package/dist/types/decision-contracts.js.map +1 -0
- package/dist/types/evidence-types.d.ts +108 -0
- package/dist/types/evidence-types.d.ts.map +1 -0
- package/dist/types/evidence-types.js +9 -0
- package/dist/types/evidence-types.js.map +1 -0
- package/dist/types/executionType.d.ts +9 -0
- package/dist/types/executionType.d.ts.map +1 -0
- package/dist/types/executionType.js +8 -0
- package/dist/types/executionType.js.map +1 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +12 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/llmCall.d.ts +121 -0
- package/dist/types/llmCall.d.ts.map +1 -0
- package/dist/types/llmCall.js +39 -0
- package/dist/types/llmCall.js.map +1 -0
- package/dist/types/task-configuration.d.ts +60 -0
- package/dist/types/task-configuration.d.ts.map +1 -0
- package/dist/types/task-configuration.js +3 -0
- package/dist/types/task-configuration.js.map +1 -0
- package/dist/types/task-types.d.ts +887 -0
- package/dist/types/task-types.d.ts.map +1 -0
- package/dist/types/task-types.js +21 -0
- package/dist/types/task-types.js.map +1 -0
- package/dist/utilities/runUtility.d.ts +3 -0
- package/dist/utilities/runUtility.d.ts.map +1 -0
- package/dist/utilities/runUtility.js +204 -0
- package/dist/utilities/runUtility.js.map +1 -0
- package/dist/utils/assertRequiredRunSkillCorrelation.d.ts +7 -0
- package/dist/utils/assertRequiredRunSkillCorrelation.d.ts.map +1 -0
- package/dist/utils/assertRequiredRunSkillCorrelation.js +17 -0
- package/dist/utils/assertRequiredRunSkillCorrelation.js.map +1 -0
- package/dist/utils/assertValidSmartInputConfig.d.ts +5 -0
- package/dist/utils/assertValidSmartInputConfig.d.ts.map +1 -0
- package/dist/utils/assertValidSmartInputConfig.js +71 -0
- package/dist/utils/assertValidSmartInputConfig.js.map +1 -0
- package/dist/utils/bridgeRunSkillGatewayMemory.d.ts +13 -0
- package/dist/utils/bridgeRunSkillGatewayMemory.d.ts.map +1 -0
- package/dist/utils/bridgeRunSkillGatewayMemory.js +65 -0
- package/dist/utils/bridgeRunSkillGatewayMemory.js.map +1 -0
- package/dist/utils/extractSmartInputRenderResult.d.ts +7 -0
- package/dist/utils/extractSmartInputRenderResult.d.ts.map +1 -0
- package/dist/utils/extractSmartInputRenderResult.js +30 -0
- package/dist/utils/extractSmartInputRenderResult.js.map +1 -0
- package/dist/utils/jsonPaths.d.ts +6 -0
- package/dist/utils/jsonPaths.d.ts.map +1 -0
- package/dist/utils/jsonPaths.js +32 -0
- package/dist/utils/jsonPaths.js.map +1 -0
- package/dist/utils/normalizeSmartInputConfig.d.ts +5 -0
- package/dist/utils/normalizeSmartInputConfig.d.ts.map +1 -0
- package/dist/utils/normalizeSmartInputConfig.js +30 -0
- package/dist/utils/normalizeSmartInputConfig.js.map +1 -0
- package/dist/utils/outputValidation.d.ts +19 -0
- package/dist/utils/outputValidation.d.ts.map +1 -0
- package/dist/utils/outputValidation.js +75 -0
- package/dist/utils/outputValidation.js.map +1 -0
- package/dist/utils/runTaskRequestShape.d.ts +16 -0
- package/dist/utils/runTaskRequestShape.d.ts.map +1 -0
- package/dist/utils/runTaskRequestShape.js +80 -0
- package/dist/utils/runTaskRequestShape.js.map +1 -0
- package/dist/utils/skillTemplateVariables.d.ts +20 -0
- package/dist/utils/skillTemplateVariables.d.ts.map +1 -0
- package/dist/utils/skillTemplateVariables.js +63 -0
- package/dist/utils/skillTemplateVariables.js.map +1 -0
- package/dist/utils/xynthesizedSmartInputPaths.d.ts +16 -0
- package/dist/utils/xynthesizedSmartInputPaths.d.ts.map +1 -0
- package/dist/utils/xynthesizedSmartInputPaths.js +56 -0
- package/dist/utils/xynthesizedSmartInputPaths.js.map +1 -0
- package/dist/utils/xynthesizedWrite.d.ts +10 -0
- package/dist/utils/xynthesizedWrite.d.ts.map +1 -0
- package/dist/utils/xynthesizedWrite.js +61 -0
- package/dist/utils/xynthesizedWrite.js.map +1 -0
- package/dist/validation/analyzeExpectedRunTaskInput.d.ts +41 -0
- package/dist/validation/analyzeExpectedRunTaskInput.d.ts.map +1 -0
- package/dist/validation/analyzeExpectedRunTaskInput.js +133 -0
- package/dist/validation/analyzeExpectedRunTaskInput.js.map +1 -0
- package/dist/validation/collectSmartInputValidationIssues.d.ts +6 -0
- package/dist/validation/collectSmartInputValidationIssues.d.ts.map +1 -0
- package/dist/validation/collectSmartInputValidationIssues.js +38 -0
- package/dist/validation/collectSmartInputValidationIssues.js.map +1 -0
- package/dist/validation/helpers.d.ts +15 -0
- package/dist/validation/helpers.d.ts.map +1 -0
- package/dist/validation/helpers.js +184 -0
- package/dist/validation/helpers.js.map +1 -0
- package/dist/validation/index.d.ts +9 -0
- package/dist/validation/index.d.ts.map +1 -0
- package/dist/validation/index.js +6 -0
- package/dist/validation/index.js.map +1 -0
- package/dist/validation/types.d.ts +51 -0
- package/dist/validation/types.d.ts.map +1 -0
- package/dist/validation/types.js +5 -0
- package/dist/validation/types.js.map +1 -0
- package/dist/validation/validateRunTaskConfig.d.ts +8 -0
- package/dist/validation/validateRunTaskConfig.d.ts.map +1 -0
- package/dist/validation/validateRunTaskConfig.js +158 -0
- package/dist/validation/validateRunTaskConfig.js.map +1 -0
- package/dist/validation/validateRunTaskInvoke.d.ts +30 -0
- package/dist/validation/validateRunTaskInvoke.d.ts.map +1 -0
- package/dist/validation/validateRunTaskInvoke.js +108 -0
- package/dist/validation/validateRunTaskInvoke.js.map +1 -0
- package/documenations/activix-feature-request-identity.md +123 -0
- package/documenations/activix.md +175 -0
- package/documenations/bug-report-xynthesis-and-synthesis-call.md +217 -0
- package/documenations/core-runtime-tokens-and-strategies.md +123 -0
- package/documenations/downstream-environment.md +48 -0
- package/documenations/downstream-test-runtime-teardown-cleanup.md +73 -0
- package/documenations/examples/xynthesis-run-task-request.example.json +170 -0
- package/documenations/feature-request-ai-skills-raw-template-access.md +82 -0
- package/documenations/feature-request-athenix-core-directive.md +145 -0
- package/documenations/feature-request-athenix-token-extraction.md +124 -0
- package/documenations/funcx-catalog-hosting-checklist.md +107 -0
- package/documenations/funcx-scoping-integration-gaps.md +120 -0
- package/documenations/funcx-upstream-github-issues-draft.md +153 -0
- package/documenations/identity-metadata-contract.md +165 -0
- package/documenations/intermediate-steps.md +33 -0
- package/documenations/record-and-template-variables.md +32 -0
- package/documenations/run-task-execution-flow.md +153 -0
- package/documenations/run-task-single-run-checklist.md +109 -0
- package/documenations/schemas/README.md +40 -0
- package/documenations/schemas/openapi-3.1-components.yaml +24 -0
- package/documenations/schemas/v1/output-schema.json +55 -0
- package/documenations/schemas/v1/output-validation-result.json +41 -0
- package/documenations/schemas/v1/run-task-request.json +219 -0
- package/documenations/schemas/v1/synthesized-artifacts.json +133 -0
- package/documenations/synthesis-invocation-notes.md +26 -0
- package/documenations/synthesized-context-guide.md +84 -0
- package/documenations/task-core-and-core-aware-synthesis.md +58 -0
- package/documenations/upstream-feature-requests/ai-skills-llm-observability.md +129 -0
- package/documenations/upstream-feature-requests/xynthesis-llm-observability.md +125 -0
- package/documenations/upstream-feedback-request-shape-clarification.md +101 -0
- package/documenations/web-context-precedence.md +33 -0
- package/documenations/web-scoping-in-ai-tasks.md +503 -0
- package/documenations/xynthesis-activix-telemetry.md +28 -0
- package/documenations/xynthesis-upstream-fixes-checklist.md +71 -0
- package/package.json +92 -0
package/.env.example
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
## How to add “Output Expected” to an instruction (Flex-MD **Request** spec)
|
|
2
|
+
|
|
3
|
+
These are instructions for generating a **request-side output contract** (what your system appends to the prompt). The model only needs to know **Markdown**.
|
|
4
|
+
|
|
5
|
+
### 1) Always append an explicit Output Format block
|
|
6
|
+
|
|
7
|
+
When you want predictable structure, append this at the **end** of the instruction:
|
|
8
|
+
|
|
9
|
+
* `## Output Format (Markdown only)`
|
|
10
|
+
|
|
11
|
+
This block is the **request frame**.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
### 2) Declare the required sections as headings (order never matters)
|
|
16
|
+
|
|
17
|
+
List the headings the model must include. State explicitly that order is irrelevant.
|
|
18
|
+
|
|
19
|
+
**Pattern:**
|
|
20
|
+
|
|
21
|
+
```md
|
|
22
|
+
## Output Format (Markdown only)
|
|
23
|
+
Return ONLY Markdown with these section headings (order does not matter):
|
|
24
|
+
- {{Heading1}}
|
|
25
|
+
- {{Heading2}}
|
|
26
|
+
- ...
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Notes**
|
|
30
|
+
|
|
31
|
+
* Use the **exact heading names** you expect to parse.
|
|
32
|
+
* Do not require heading levels (`##` vs `###`) — any heading level is acceptable.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
### 3) Attach structure requirements inline (list / table)
|
|
37
|
+
|
|
38
|
+
If a section has a required structure, annotate it inline (still plain Markdown text):
|
|
39
|
+
|
|
40
|
+
* `(ordered list)`
|
|
41
|
+
* `(list)`
|
|
42
|
+
* `(table: col1, col2, col3)`
|
|
43
|
+
* `(ordered table: col1, col2, col3)` ← ordered table means: add a `#` column + row numbering
|
|
44
|
+
|
|
45
|
+
**Example:**
|
|
46
|
+
|
|
47
|
+
```md
|
|
48
|
+
- Reasoning (ordered list)
|
|
49
|
+
- Assumptions (list)
|
|
50
|
+
- Evidence (table: source, claim, confidence)
|
|
51
|
+
- Steps (ordered table: stepName, owner)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Rules**
|
|
55
|
+
|
|
56
|
+
* Lists: unordered uses `-`, ordered uses `1.`
|
|
57
|
+
* Tables: Markdown pipe tables
|
|
58
|
+
* Ordered tables: first column must be `#` and rows numbered `1..N`
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### 4) (NEW) Add value constraints when needed (enum / range / types)
|
|
63
|
+
|
|
64
|
+
When you need precise values (enums, ranges, datatypes), specify **value constraints** inline after the section name.
|
|
65
|
+
|
|
66
|
+
Use compact tokens (Markdown text, not JSON):
|
|
67
|
+
|
|
68
|
+
* Enum: `{a|b|c}`
|
|
69
|
+
* Numeric range: `[min..max]` (example `[0..100]`)
|
|
70
|
+
* Types: `text`, `int`, `num`, `bool`, `date` (ISO `YYYY-MM-DD`)
|
|
71
|
+
* Optional: `?`
|
|
72
|
+
* List values: `list<...>` (example `list<text>`)
|
|
73
|
+
|
|
74
|
+
**Examples:**
|
|
75
|
+
|
|
76
|
+
```md
|
|
77
|
+
- Decision ({approve|reject|defer})
|
|
78
|
+
- Score (int [0..100])
|
|
79
|
+
- Tags (list<text>)
|
|
80
|
+
- Due date (date?)
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**Important**
|
|
84
|
+
|
|
85
|
+
* Constraints belong in the **request**.
|
|
86
|
+
* The **response** should output the actual value (e.g., `87`) and does not need to repeat the tokens.
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
### 5) Add the “None” rule (recommended)
|
|
91
|
+
|
|
92
|
+
If you require sections, make emptiness deterministic:
|
|
93
|
+
|
|
94
|
+
```md
|
|
95
|
+
If a section is empty, write `None`.
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
### 6) (Optional) Add a single-container rule for high reliability (L2+)
|
|
101
|
+
|
|
102
|
+
If you need stricter capture/parsing, require one fenced Markdown block:
|
|
103
|
+
|
|
104
|
+
````md
|
|
105
|
+
Return your entire answer inside a single ```markdown fenced block and nothing else.
|
|
106
|
+
````
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Request templates you can copy (levels)
|
|
111
|
+
|
|
112
|
+
### Minimal (L0)
|
|
113
|
+
|
|
114
|
+
```md
|
|
115
|
+
## Output Format
|
|
116
|
+
Reply in Markdown.
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Standard (L1)
|
|
120
|
+
|
|
121
|
+
```md
|
|
122
|
+
## Output Format (Markdown only)
|
|
123
|
+
Return ONLY Markdown with these section headings (order does not matter):
|
|
124
|
+
- Short answer
|
|
125
|
+
- Long answer
|
|
126
|
+
- Reasoning (ordered list)
|
|
127
|
+
- Assumptions (list)
|
|
128
|
+
- Unknowns (list)
|
|
129
|
+
|
|
130
|
+
If a section is empty, write `None`.
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Standard + constraints (L1, with enum/range/types)
|
|
134
|
+
|
|
135
|
+
```md
|
|
136
|
+
## Output Format (Markdown only)
|
|
137
|
+
Return ONLY Markdown with these section headings (order does not matter):
|
|
138
|
+
- Decision ({approve|reject|defer})
|
|
139
|
+
- Score (int [0..100])
|
|
140
|
+
- Rationale (ordered list)
|
|
141
|
+
- Risks (list)
|
|
142
|
+
|
|
143
|
+
If a section is empty, write `None`.
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Strict (L2)
|
|
147
|
+
|
|
148
|
+
````md
|
|
149
|
+
## Output Format (Markdown only)
|
|
150
|
+
Return your entire answer inside a single ```markdown fenced block and nothing else.
|
|
151
|
+
|
|
152
|
+
Inside the block, include these section headings (order does not matter):
|
|
153
|
+
- Short answer
|
|
154
|
+
- Long answer
|
|
155
|
+
- Reasoning (ordered list)
|
|
156
|
+
- Assumptions (list)
|
|
157
|
+
- Unknowns (list)
|
|
158
|
+
|
|
159
|
+
If a section is empty, write `None`.
|
|
160
|
+
````
|
|
161
|
+
|
|
162
|
+
### Max strict (L3)
|
|
163
|
+
|
|
164
|
+
````md
|
|
165
|
+
## Output Format (Markdown only)
|
|
166
|
+
Return your entire answer inside a single ```markdown fenced block and nothing else.
|
|
167
|
+
|
|
168
|
+
Include these section headings (order does not matter):
|
|
169
|
+
- Short answer
|
|
170
|
+
- Long answer
|
|
171
|
+
- Reasoning (ordered list)
|
|
172
|
+
- Assumptions (list)
|
|
173
|
+
- Unknowns (list)
|
|
174
|
+
|
|
175
|
+
If a section is empty, write `None`.
|
|
176
|
+
|
|
177
|
+
Formatting rules:
|
|
178
|
+
- Ordered lists use `1.`, `2.`, …
|
|
179
|
+
- Unordered lists use `-` bullets.
|
|
180
|
+
- Tables use Markdown pipe tables.
|
|
181
|
+
- Ordered tables include a first column named `#` with row numbers 1..N.
|
|
182
|
+
Do not return JSON as the response format.
|
|
183
|
+
````
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## One-liner rule for your request-builder (tax-aware)
|
|
188
|
+
|
|
189
|
+
When generating the Output Format block, include only what is used:
|
|
190
|
+
|
|
191
|
+
* If no tables are requested → don’t mention tables.
|
|
192
|
+
* If no ordered lists are requested → don’t mention numbering rules.
|
|
193
|
+
* If no value constraints are requested → don’t mention enums/ranges/types.
|
|
194
|
+
* If level is L0 → don’t list headings at all.
|
|
195
|
+
* If level is L2+ → add the single fenced block rule.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# nx-content — Content Folder
|
|
2
|
+
|
|
3
|
+
This folder is managed by **nx-content**, the Content Manager.
|
|
4
|
+
|
|
5
|
+
## How it works
|
|
6
|
+
|
|
7
|
+
- Place instruction files, prompt files, and content blocks in this folder.
|
|
8
|
+
- **Keys** are file paths relative to this folder, without extension.
|
|
9
|
+
Example: `skills/professional-answer.instructions` → file `skills/professional-answer.instructions.md`
|
|
10
|
+
- The Content Manager resolves keys to file content. It does **not** render templates or substitute variables — that is ai-parser's job.
|
|
11
|
+
|
|
12
|
+
## Extension rules
|
|
13
|
+
|
|
14
|
+
- No extension in key → tries `.md` first, then `.json`.
|
|
15
|
+
- Key with extension → used as-is.
|
|
16
|
+
|
|
17
|
+
## Block includes
|
|
18
|
+
|
|
19
|
+
In your files, use `<< path >>` (double angle brackets) to include another file's content inline:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
<< blocks/greeting >>
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The Content Manager replaces `<< path >>` with that file's raw content. Use `/` or `\\` as separator — both work.
|
|
26
|
+
|
|
27
|
+
## Folder structure (recommended)
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
.content/
|
|
31
|
+
skills/
|
|
32
|
+
professional-answer.instructions.md
|
|
33
|
+
summarize-task.instructions.md
|
|
34
|
+
prompts/
|
|
35
|
+
default.md
|
|
36
|
+
blocks/
|
|
37
|
+
greeting.md
|
|
38
|
+
disclaimer.md
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Environment variables
|
|
42
|
+
|
|
43
|
+
| Variable | Description |
|
|
44
|
+
|---|---|
|
|
45
|
+
| `CONTENT_REGISTRY_LOCAL_ROOT` | Path to this folder (default: `<cwd>/.content`) |
|
|
46
|
+
| `CONTENT_REGISTRY_MODE` | `dev` (local wins) or `prod` (git wins). Default: `dev` |
|
|
47
|
+
| `GITHUB_REPO_URL` | Git repo URL (optional) |
|
|
48
|
+
| `GITHUB_TOKEN` | GitHub PAT for HTTPS git access (optional) |
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Shared Audit Instruction
|
|
2
|
+
|
|
3
|
+
You are an objective quality auditor. Evaluate an LLM's response against the original objective and any provided context/policies. Be strict, concrete, and concise.
|
|
4
|
+
|
|
5
|
+
## Evaluation Criteria
|
|
6
|
+
- **Alignment**: Does the response directly address the original objective?
|
|
7
|
+
- **Accuracy**: Does the response avoid hallucinations and maintain factual correctness?
|
|
8
|
+
- **Format Compliance**: Does the response follow the required Markdown audit frame (sections listed below)?
|
|
9
|
+
- **Quality**: Is the tone appropriate and the content professionally high-grade?
|
|
10
|
+
|
|
11
|
+
## Output Format (Markdown only)
|
|
12
|
+
Return ONLY Markdown with these section headings (order does not matter):
|
|
13
|
+
|
|
14
|
+
## Decision
|
|
15
|
+
- Either: `passed` or `failed`
|
|
16
|
+
|
|
17
|
+
## Score
|
|
18
|
+
- A number from 0 to 100
|
|
19
|
+
|
|
20
|
+
## The Good
|
|
21
|
+
- Bullet list of what was done well
|
|
22
|
+
|
|
23
|
+
## The Bad
|
|
24
|
+
- Bullet list of what was missing / incorrect / could be improved
|
|
25
|
+
|
|
26
|
+
## Takeaways
|
|
27
|
+
- Bullet list of actionable improvements
|
|
28
|
+
|
|
29
|
+
If a section has nothing to say, write `None`.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Professional Answer Instruction
|
|
2
|
+
|
|
3
|
+
You are an expert professional advisor. Provide a comprehensive, accurate, evidence-based answer to the user's inquiry.
|
|
4
|
+
|
|
5
|
+
## Constraints
|
|
6
|
+
- Base your answer on the provided context and facts.
|
|
7
|
+
- Explicitly state any assumptions you make.
|
|
8
|
+
- Clearly identify any unknowns or information gaps.
|
|
9
|
+
- Maintain a professional and objective tone.
|
|
10
|
+
|
|
11
|
+
## Output Format
|
|
12
|
+
You MUST respond with EXACTLY this markdown structure, no extra text before or after:
|
|
13
|
+
|
|
14
|
+
### Short Answer
|
|
15
|
+
[Your 1-2 sentence summary here]
|
|
16
|
+
|
|
17
|
+
### Full Answer
|
|
18
|
+
[Your detailed explanation here]
|
|
19
|
+
|
|
20
|
+
### Assumptions
|
|
21
|
+
- [Assumption 1]
|
|
22
|
+
- [Assumption 2]
|
|
23
|
+
|
|
24
|
+
### Unknowns
|
|
25
|
+
- [Unknown 1]
|
|
26
|
+
- [Unknown 2]
|
|
27
|
+
|
|
28
|
+
### Evidence
|
|
29
|
+
1. [Evidence point 1]
|
|
30
|
+
2. [Evidence point 2]
|
|
31
|
+
|
|
32
|
+
IMPORTANT: Do not add any introductory text, conclusions, or formatting outside these exact section headings.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Reply as an expert professional advisor. Use only the given context/facts.
|
|
2
|
+
|
|
3
|
+
Output Markdown ONLY with these headings (order doesn’t matter):
|
|
4
|
+
- Short answer (1–2 sentences)
|
|
5
|
+
- Full answer
|
|
6
|
+
- Assumptions (list)
|
|
7
|
+
- Unknowns (list)
|
|
8
|
+
- Evidence (ordered list)
|
|
9
|
+
|
|
10
|
+
Lists: unordered uses `-`, ordered uses `1.`.
|
|
11
|
+
If a section is empty, write `None`.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Professional Answer Instruction
|
|
2
|
+
<!-- template-cores: {{core:question}} {{core:analysis}} -->
|
|
3
|
+
|
|
4
|
+
You are an expert professional advisor. Provide a comprehensive, accurate, evidence-based answer to the user's inquiry.
|
|
5
|
+
|
|
6
|
+
## Constraints
|
|
7
|
+
- Base your answer on the provided context and facts.
|
|
8
|
+
- Explicitly state any assumptions you make.
|
|
9
|
+
- Clearly identify any unknowns or information gaps.
|
|
10
|
+
- Maintain a professional and objective tone.
|
|
11
|
+
|
|
12
|
+
## Output Format
|
|
13
|
+
You MUST respond with EXACTLY this markdown structure, no extra text before or after:
|
|
14
|
+
|
|
15
|
+
### Short Answer
|
|
16
|
+
[Your 1-2 sentence summary here]
|
|
17
|
+
|
|
18
|
+
### Full Answer
|
|
19
|
+
[Your detailed explanation here]
|
|
20
|
+
|
|
21
|
+
### Assumptions
|
|
22
|
+
- [Assumption 1]
|
|
23
|
+
- [Assumption 2]
|
|
24
|
+
|
|
25
|
+
### Unknowns
|
|
26
|
+
- [Unknown 1]
|
|
27
|
+
- [Unknown 2]
|
|
28
|
+
|
|
29
|
+
### Evidence
|
|
30
|
+
1. [Evidence point 1]
|
|
31
|
+
2. [Evidence point 2]
|
|
32
|
+
|
|
33
|
+
IMPORTANT: Do not add any introductory text, conclusions, or formatting outside these exact section headings.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Professional Answer Instruction
|
|
2
|
+
<!-- template-cores: {{core:question}} {{core:analysis}} -->
|
|
3
|
+
|
|
4
|
+
You are an expert professional advisor. Provide a comprehensive, accurate, evidence-based answer to the user's inquiry.
|
|
5
|
+
|
|
6
|
+
## Constraints
|
|
7
|
+
- Base your answer on the provided context and facts.
|
|
8
|
+
- Explicitly state any assumptions you make.
|
|
9
|
+
- Clearly identify any unknowns or information gaps.
|
|
10
|
+
- Maintain a professional and objective tone.
|
|
11
|
+
|
|
12
|
+
## Output Format
|
|
13
|
+
You MUST respond with EXACTLY this markdown structure, no extra text before or after:
|
|
14
|
+
|
|
15
|
+
### Short Answer
|
|
16
|
+
[Your 1-2 sentence summary here]
|
|
17
|
+
|
|
18
|
+
### Full Answer
|
|
19
|
+
[Your detailed explanation here]
|
|
20
|
+
|
|
21
|
+
### Assumptions
|
|
22
|
+
- [Assumption 1]
|
|
23
|
+
- [Assumption 2]
|
|
24
|
+
|
|
25
|
+
### Unknowns
|
|
26
|
+
- [Unknown 1]
|
|
27
|
+
- [Unknown 2]
|
|
28
|
+
|
|
29
|
+
### Evidence
|
|
30
|
+
1. [Evidence point 1]
|
|
31
|
+
2. [Evidence point 2]
|
|
32
|
+
|
|
33
|
+
IMPORTANT: Do not add any introductory text, conclusions, or formatting outside these exact section headings.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Professional Answer Instruction
|
|
2
|
+
|
|
3
|
+
You are an expert professional advisor. Provide a comprehensive, accurate, evidence-based answer to the user's inquiry.
|
|
4
|
+
|
|
5
|
+
## Constraints
|
|
6
|
+
- Base your answer on the provided context and facts.
|
|
7
|
+
- Explicitly state any assumptions you make.
|
|
8
|
+
- Clearly identify any unknowns or information gaps.
|
|
9
|
+
- Maintain a professional and objective tone.
|
|
10
|
+
|
|
11
|
+
## Output Format (Markdown only)
|
|
12
|
+
Return your entire answer inside a single ```markdown fenced block and nothing else.
|
|
13
|
+
|
|
14
|
+
Inside the block, include these section headings (order does not matter):
|
|
15
|
+
- Short answer
|
|
16
|
+
- Full answer
|
|
17
|
+
- Assumptions (list)
|
|
18
|
+
- Unknowns (list)
|
|
19
|
+
- Evidence (ordered list)
|
|
20
|
+
|
|
21
|
+
Section rules:
|
|
22
|
+
- **Short answer**: 1–2 sentences.
|
|
23
|
+
- **Full answer**: detailed explanation in paragraphs (and bullets if helpful).
|
|
24
|
+
- **Assumptions**: `-` bullet list.
|
|
25
|
+
- **Unknowns**: `-` bullet list.
|
|
26
|
+
- **Evidence**: numbered list (`1.`, `2.`, …) of the key supporting facts/reasoning.
|
|
27
|
+
|
|
28
|
+
If a section is empty, write `None`
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Professional Answer Instruction
|
|
2
|
+
|
|
3
|
+
You are an expert professional advisor. Provide a comprehensive, accurate, evidence-based answer to the user's inquiry.
|
|
4
|
+
|
|
5
|
+
## Constraints
|
|
6
|
+
- Base your answer on the provided context and facts.
|
|
7
|
+
- Explicitly state any assumptions you make.
|
|
8
|
+
- Clearly identify any unknowns or information gaps.
|
|
9
|
+
- Maintain a professional and objective tone.
|
|
10
|
+
|
|
11
|
+
## Output Format
|
|
12
|
+
You MUST respond with EXACTLY this markdown structure, no extra text before or after:
|
|
13
|
+
|
|
14
|
+
### Short Answer
|
|
15
|
+
[Your 1-2 sentence summary here]
|
|
16
|
+
|
|
17
|
+
### Full Answer
|
|
18
|
+
[Your detailed explanation here]
|
|
19
|
+
|
|
20
|
+
### Assumptions
|
|
21
|
+
- [Assumption 1]
|
|
22
|
+
- [Assumption 2]
|
|
23
|
+
|
|
24
|
+
### Unknowns
|
|
25
|
+
- [Unknown 1]
|
|
26
|
+
- [Unknown 2]
|
|
27
|
+
|
|
28
|
+
### Evidence
|
|
29
|
+
1. [Evidence point 1]
|
|
30
|
+
2. [Evidence point 2]
|
|
31
|
+
|
|
32
|
+
IMPORTANT: Do not add any introductory text, conclusions, or formatting outside these exact section headings.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{{input}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{{input}}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Professional Decision Instruction
|
|
2
|
+
|
|
3
|
+
You are a senior strategic decision-maker. Your role is to evaluate situations and provide clear, well-reasoned decisions.
|
|
4
|
+
|
|
5
|
+
## Constraints
|
|
6
|
+
- Evaluate all factors provided in the input.
|
|
7
|
+
- Consider specific risks and constraints mentioned.
|
|
8
|
+
- Provide a clear decision based on the priorities.
|
|
9
|
+
- Maintain a balanced and authoritative tone.
|
|
10
|
+
|
|
11
|
+
## Output Format
|
|
12
|
+
You MUST respond with EXACTLY this markdown structure, no extra text before or after:
|
|
13
|
+
|
|
14
|
+
### Decision
|
|
15
|
+
[Your final decision or recommendation]
|
|
16
|
+
|
|
17
|
+
### Score
|
|
18
|
+
[Number from 0-100]
|
|
19
|
+
|
|
20
|
+
### Rationale
|
|
21
|
+
[Your detailed reasoning]
|
|
22
|
+
|
|
23
|
+
### Risks
|
|
24
|
+
[Potential risks and drawbacks]
|
|
25
|
+
|
|
26
|
+
IMPORTANT: Do not add any introductory text, conclusions, or formatting outside these exact section headings.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Breaking changes (`@exellix/ai-tasks`)
|
|
2
|
+
|
|
3
|
+
## Unreleased (synced runtime model)
|
|
4
|
+
|
|
5
|
+
### `@exellix/xynthesis` ≥ 3.6: `runSynthesisCall` removed
|
|
6
|
+
|
|
7
|
+
- Requires **`@exellix/xynthesis` ≥ 3.6.4** (see `package.json`).
|
|
8
|
+
- **`runSynthesisCall`** and **`RunSynthesisCallOpts`** are **removed** upstream. Use **`executeXynthesisAction`** with **`ExecuteXynthesisActionRequest`** (`gateway`, `prompts`, `workScope`, plus optional `model`, `maxTokens`, `timeoutMs`, …).
|
|
9
|
+
- **`@exellix/ai-tasks`** no longer re-exports a `runSynthesisCall` alias. Public exports: **`executeXynthesisAction`**, **`setSynthesisInvoker`**, **`getSynthesisInvoker`**, plus type **`ExecuteXynthesisActionRequest`** (result type: import from **`@exellix/xynthesis`** or **`@exellix/xynthesis/ai-actions`**).
|
|
10
|
+
- Post-step LLM helpers (`runPostStepLlmCall`, audit, polish, scoping) call **`executeXynthesisAction`** internally. Tests still mock via **`setSynthesisInvoker`**.
|
|
11
|
+
|
|
12
|
+
### Required `executionStrategies`; removed `executionStrategyKey`
|
|
13
|
+
|
|
14
|
+
- **`RunTaskRequest.executionStrategies`** is **required**: an array of `{ strategyKey: "planner" \| "optimizer", phase: "before" \| "after", priority: number, maxIterations?, args? }`. Use **`[]`** for plain MAIN (same behavior as the former default `executionStrategyKey: "direct"`).
|
|
15
|
+
- **`executionStrategyKey`** has been **removed** from types, schema, and metadata. **`response.metadata.executionStrategiesSummary`** replaces it (before/after key lists and optional `primaryOptimizerMaxIterations`).
|
|
16
|
+
- Default FuncX function ids for planner/optimizer (**generic envelope**, **`run()`** from `@x12i/funcx/functions`): **`execution/plan`**, **`execution/evaluate-result`**. Use **`@x12i/funcx` ≥ 3.8.2** so **`getRunJsonResult`** matches planner/optimizer unwrap behavior (normalization fixes landed in **3.8.2**). Export constants: **`FUNCX_EXECUTION_PLAN_FUNCTION_ID`**, **`FUNCX_EXECUTION_EVALUATE_RESULT_FUNCTION_ID`**. Override via each invocation’s `args.functionId` only when the target accepts the **same** envelope (`goal`, `input`, `context`, `result?`, `args`, `attribution`).
|
|
17
|
+
|
|
18
|
+
### `runTask` ordering: Narrix before pipeline PRE
|
|
19
|
+
|
|
20
|
+
- **Structured Narrix** (`narrixInput` with legacy `executionType: "narrix-then-direct"`, or explicit `narrixMode: "handler"`) now runs **before** `executionPipeline` PRE steps and **before** the local-task short-circuit, so PRE synthesis sees `taskMemory.narrix` / enriched memory the same way as the Narrix preprocessor path.
|
|
21
|
+
- Previously, `narrix-then-direct` ran **after** the pipeline when both were set, so Narrix could be skipped for PRE. That combination is fixed.
|
|
22
|
+
|
|
23
|
+
### `narrixMode` and resolver errors
|
|
24
|
+
|
|
25
|
+
- New field **`narrixMode`**: `off` \| `preprocessor` \| `handler`. When both `request.narrix` and `narrixInput` are set, you **must** set `narrixMode` explicitly or `resolveRunTaskRuntimeKnobs` throws.
|
|
26
|
+
- **`narrixMode: "off"`** strictly disables all Narrix invocation (ignores `request.narrix` / `narrixInput` for running Narrix).
|
|
27
|
+
|
|
28
|
+
### Pipeline PRE step types
|
|
29
|
+
|
|
30
|
+
- Unknown **`phase: "pre"`** step types now **throw** at execution time. Only **`synthesized-context`** is supported for PRE (Xynthesis pre-actions).
|
|
31
|
+
|
|
32
|
+
### Default `contextSourcePolicy: "auto"` (PRE synthesis material)
|
|
33
|
+
|
|
34
|
+
- **`auto`** now always resolves to the full combined layout (**`narrix-web-memory`** semantics): memory JSON plus optional Narrix and web markdown sections, so PRE does not silently narrow to **`memory-web`** when web is present but Narrix is absent. Explicit `memory-web` / `memory-only` still behave as before.
|
|
35
|
+
|
|
36
|
+
### Catalox snapshot shape
|
|
37
|
+
|
|
38
|
+
- **`getAiTasksTaskStrategiesCatalogSnapshot`** now includes **`input`**, **`execution`**, **`narrixModes`** list results and their catalog id fields (`inputCatalogId`, `executionCatalogId`, `narrixModesCatalogId`).
|
|
39
|
+
- **`mainExecutionWrappers`** and **`mainExecutionWrappersCatalogId`** (`ai-task-main-execution-wrappers`): same canonical rows as **`execution`**; use for FuncX-focused UI without dropping the legacy **`ai-task-execution-strategies`** catalog.
|
|
40
|
+
|
|
41
|
+
### Observability digest
|
|
42
|
+
|
|
43
|
+
- **`extractAiTasksObservabilityFromRunTaskResponse`** surfaces **`narrixMode`**, **`inputStrategyKey`**, and **`executionStrategiesSummary`** from `response.metadata` when present (populated by `runTask` on pipeline/direct paths that call `attachExecutionStateAndObservability` with resolved knobs). **`executionStrategyKey`** is no longer used.
|