@lucern/contracts 1.0.0 → 1.0.1
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/CHANGELOG.md +4 -1
- package/dist/dsl.d.ts +75 -4
- package/dist/dsl.values-rhsroqi0.d.ts +21 -0
- package/dist/dsl.values.d.ts +5 -0
- package/dist/dsl.values.js +675 -0
- package/dist/dsl.values.js.map +1 -0
- package/dist/function-registry/beliefs.d.ts +1 -17
- package/dist/function-registry/beliefs.js +155 -117
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +1 -17
- package/dist/function-registry/coding.js +155 -117
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +1 -17
- package/dist/function-registry/context.js +155 -117
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.d.ts +1 -17
- package/dist/function-registry/contracts.js +155 -117
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.d.ts +1 -17
- package/dist/function-registry/coordination.js +155 -117
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +1 -17
- package/dist/function-registry/edges.js +155 -117
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +1 -17
- package/dist/function-registry/evidence.js +155 -117
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +1 -17
- package/dist/function-registry/graph.js +155 -117
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +1 -1
- package/dist/function-registry/helpers.js +155 -117
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.d.ts +1 -17
- package/dist/function-registry/identity.js +155 -117
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +1 -1
- package/dist/function-registry/index.js +158 -118
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +1 -17
- package/dist/function-registry/judgments.js +155 -117
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.d.ts +1 -17
- package/dist/function-registry/legacy.js +155 -117
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +1 -17
- package/dist/function-registry/lenses.js +155 -117
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +3 -3
- package/dist/function-registry/manifest.js +1 -0
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/nodes.d.ts +1 -17
- package/dist/function-registry/nodes.js +155 -117
- package/dist/function-registry/nodes.js.map +1 -1
- package/dist/function-registry/ontologies.d.ts +1 -17
- package/dist/function-registry/ontologies.js +155 -117
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +1 -17
- package/dist/function-registry/pipeline.js +155 -117
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +1 -17
- package/dist/function-registry/questions.js +155 -117
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +1 -17
- package/dist/function-registry/tasks.js +155 -117
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +1 -17
- package/dist/function-registry/topics.js +155 -117
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +2 -2
- package/dist/function-registry/worktrees.d.ts +41 -17
- package/dist/function-registry/worktrees.js +174 -117
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/generated/lucernWebPublicEnv.js.map +1 -1
- package/dist/generated/lucernWebServerEnv.js.map +1 -1
- package/dist/{idOf-DR8tkhQS.d.ts → idOf-BmkVDhD8.d.ts} +1 -1
- package/dist/index.d.ts +47 -8
- package/dist/index.js +45072 -45005
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.base.d.ts +444 -0
- package/dist/infisical-runtime.base.js +640 -0
- package/dist/infisical-runtime.base.js.map +1 -0
- package/dist/infisical-runtime.contract.d.ts +9 -440
- package/dist/infisical-runtime.contract.js +14 -1
- package/dist/infisical-runtime.contract.js.map +1 -1
- package/dist/infisical-runtime.platform-ops-secrets.d.ts +743 -0
- package/dist/infisical-runtime.platform-ops-secrets.js +962 -0
- package/dist/infisical-runtime.platform-ops-secrets.js.map +1 -0
- package/dist/infisical-runtime.platform-secrets.d.ts +598 -0
- package/dist/infisical-runtime.platform-secrets.js +726 -0
- package/dist/infisical-runtime.platform-secrets.js.map +1 -0
- package/dist/infisical-runtime.tenant-secrets.d.ts +486 -0
- package/dist/infisical-runtime.tenant-secrets.js +1131 -0
- package/dist/infisical-runtime.tenant-secrets.js.map +1 -0
- package/dist/manifests/edge-policy-manifest.d.ts +1 -1
- package/dist/manifests/infisical-runtime-manifest.d.ts +1 -1
- package/dist/manifests/infisical-runtime-manifest.js +14 -1
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -1
- package/dist/manifests/tenant-client-manifest.d.ts +5 -1
- package/dist/manifests/tenant-client-manifest.js +5 -0
- package/dist/manifests/tenant-client-manifest.js.map +1 -1
- package/dist/proof-attestation.json +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +61 -61
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/tables/kernel/config.js.map +1 -1
- package/dist/schemas/tables/kernel/coordination.js.map +1 -1
- package/dist/schemas/tables/kernel/decision.d.ts +1 -1
- package/dist/schemas/tables/kernel/decision.js.map +1 -1
- package/dist/schemas/tables/kernel/embedding.d.ts +1 -1
- package/dist/schemas/tables/kernel/embedding.js.map +1 -1
- package/dist/schemas/tables/kernel/epistemic.d.ts +1 -1
- package/dist/schemas/tables/kernel/epistemic.js.map +1 -1
- package/dist/schemas/tables/kernel/idempotency.js.map +1 -1
- package/dist/schemas/tables/kernel/infra.js.map +1 -1
- package/dist/schemas/tables/kernel/intelligence.d.ts +1 -1
- package/dist/schemas/tables/kernel/intelligence.js.map +1 -1
- package/dist/schemas/tables/kernel/lens.d.ts +5 -5
- package/dist/schemas/tables/kernel/lens.js.map +1 -1
- package/dist/schemas/tables/kernel/ontology.d.ts +1 -1
- package/dist/schemas/tables/kernel/ontology.js.map +1 -1
- package/dist/schemas/tables/kernel/platform.js.map +1 -1
- package/dist/schemas/tables/kernel/spine.d.ts +1 -1
- package/dist/schemas/tables/kernel/spine.js.map +1 -1
- package/dist/schemas/tables/kernel/task.d.ts +1 -1
- package/dist/schemas/tables/kernel/task.js.map +1 -1
- package/dist/schemas/tables/kernel/topic.d.ts +1 -1
- package/dist/schemas/tables/kernel/topic.js.map +1 -1
- package/dist/schemas/tables/kernel/workflow.d.ts +1 -1
- package/dist/schemas/tables/kernel/workflow.js.map +1 -1
- package/dist/schemas/tables/kernel/worktree.d.ts +1 -1
- package/dist/schemas/tables/kernel/worktree.js.map +1 -1
- package/dist/schemas/tables/mc/identity.d.ts +1 -1
- package/dist/schemas/tables/mc/methodology.d.ts +1 -1
- package/dist/schemas/tables/mc/pack.d.ts +9 -9
- package/dist/schemas/tables/mc/policy.d.ts +1 -1
- package/dist/schemas/tables/mc/registry.d.ts +1 -1
- package/dist/schemas/tables/mc/runtime.d.ts +1 -1
- package/dist/schemas/tables/mc/tenant.d.ts +1 -1
- package/dist/schemas/tables/mc/workspace.d.ts +1 -1
- package/dist/schemas.values-5J5oIK7z.d.ts +26 -0
- package/dist/schemas.values.d.ts +7 -0
- package/dist/schemas.values.js +5324 -0
- package/dist/schemas.values.js.map +1 -0
- package/dist/sdk-tools.contract.analytics.d.ts +27 -0
- package/dist/sdk-tools.contract.analytics.js +616 -0
- package/dist/sdk-tools.contract.analytics.js.map +1 -0
- package/dist/sdk-tools.contract.d.ts +43 -2
- package/dist/sdk-tools.contract.graph.d.ts +11 -0
- package/dist/sdk-tools.contract.graph.js +156 -0
- package/dist/sdk-tools.contract.graph.js.map +1 -0
- package/dist/sdk-tools.contract.js +4107 -4062
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/sdk-tools.contract.registry.d.ts +25 -0
- package/dist/sdk-tools.contract.registry.js +5504 -0
- package/dist/sdk-tools.contract.registry.js.map +1 -0
- package/dist/sdk-tools.contract.types.d.ts +15 -0
- package/dist/sdk-tools.contract.types.js +3 -0
- package/dist/sdk-tools.contract.types.js.map +1 -0
- package/dist/sdk-tools.contract.values-LuBh95zg.d.ts +58 -0
- package/dist/sdk-tools.contract.values.d.ts +7 -0
- package/dist/sdk-tools.contract.values.js +5581 -0
- package/dist/sdk-tools.contract.values.js.map +1 -0
- package/dist/sdk-tools.contract.workflow.d.ts +17 -0
- package/dist/sdk-tools.contract.workflow.js +287 -0
- package/dist/sdk-tools.contract.workflow.js.map +1 -0
- package/dist/tenant-client.contract.d.ts +5 -1
- package/dist/tenant-client.contract.js +5 -0
- package/dist/tenant-client.contract.js.map +1 -1
- package/dist/tool-contracts.d.ts +34 -1
- package/dist/tool-contracts.graph.d.ts +18 -0
- package/dist/tool-contracts.graph.js +378 -0
- package/dist/tool-contracts.graph.js.map +1 -0
- package/dist/tool-contracts.intelligence-evidence.d.ts +15 -0
- package/dist/tool-contracts.intelligence-evidence.js +303 -0
- package/dist/tool-contracts.intelligence-evidence.js.map +1 -0
- package/dist/tool-contracts.js +155 -118
- package/dist/tool-contracts.js.map +1 -1
- package/dist/tool-contracts.lifecycle.d.ts +13 -0
- package/dist/tool-contracts.lifecycle.js +410 -0
- package/dist/tool-contracts.lifecycle.js.map +1 -0
- package/dist/tool-contracts.nodes-lenses.d.ts +17 -0
- package/dist/tool-contracts.nodes-lenses.js +334 -0
- package/dist/tool-contracts.nodes-lenses.js.map +1 -0
- package/dist/tool-contracts.ontology.d.ts +16 -0
- package/dist/tool-contracts.ontology.js +344 -0
- package/dist/tool-contracts.ontology.js.map +1 -0
- package/dist/tool-contracts.pipeline-coordination.d.ts +25 -0
- package/dist/tool-contracts.pipeline-coordination.js +684 -0
- package/dist/tool-contracts.pipeline-coordination.js.map +1 -0
- package/dist/tool-contracts.policy-observation-task-topic.d.ts +25 -0
- package/dist/tool-contracts.policy-observation-task-topic.js +740 -0
- package/dist/tool-contracts.policy-observation-task-topic.js.map +1 -0
- package/dist/tool-contracts.questions-listing.d.ts +27 -0
- package/dist/tool-contracts.questions-listing.js +782 -0
- package/dist/tool-contracts.questions-listing.js.map +1 -0
- package/dist/tool-contracts.types.d.ts +34 -0
- package/dist/tool-contracts.types.js +3 -0
- package/dist/tool-contracts.types.js.map +1 -0
- package/dist/tool-contracts.values-DjctSW7S.d.ts +147 -0
- package/dist/tool-contracts.values.d.ts +11 -0
- package/dist/tool-contracts.values.js +4398 -0
- package/dist/tool-contracts.values.js.map +1 -0
- package/dist/tool-contracts.worktrees.d.ts +8 -0
- package/dist/tool-contracts.worktrees.js +280 -0
- package/dist/tool-contracts.worktrees.js.map +1 -0
- package/package.json +3 -11
- package/dist/dsl-DVPthQGY.d.ts +0 -110
- package/dist/index-CM1Pl_vI.d.ts +0 -28
- package/dist/sdk-tools.contract-CKmSsrZ2.d.ts +0 -146
- package/dist/tool-contracts-C_xvM9q2.d.ts +0 -326
- package/dist/{edge-policy-manifest-Dw5IhT1L.d.ts → edge-policy-manifest-4KOSP4nk.d.ts} +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/sdk-tools.contract.analytics.ts"],"names":[],"mappings":";AAMO,IAAM,yBAAA,GAA6C;AAAA,EACxD,IAAA,EAAM,2BAAA;AAAA,EACN,WAAA,EACE,gNAAA;AAAA,EAGF,UAAA,EAAY;AAAA,IACV,OAAA,EAAS,EAAE,IAAA,EAAM,QAAA,EAAU,aAAa,aAAA,EAAc;AAAA,IACtD,SAAA,EAAW;AAAA,MACT,IAAA,EAAM,QAAA;AAAA,MACN,WAAA,EAAa;AAAA,KACf;AAAA,IACA,SAAA,EAAW;AAAA,MACT,IAAA,EAAM,OAAA;AAAA,MACN,WAAA,EACE;AAAA,KACJ;AAAA,IACA,OAAA,EAAS;AAAA,MACP,IAAA,EAAM,QAAA;AAAA,MACN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AAA,MACrB,IAAA,EAAM,QAAA;AAAA,MACN,WAAA,EACE;AAAA;AACJ,GACF;AAAA,EACA,QAAA,EAAU,CAAC,SAAS,CAAA;AAAA,EACpB,QAAA,EAAU;AAAA,IACR,WAAA,EAAa,uBAAA;AAAA,IACb,MAAA,EAAQ;AAAA,MACN,OAAA,EACE,qFAAA;AAAA,MACF,YAAA,EAAc;AAAA;AAChB,GACF;AAAA,EACA,WAAA,EAAa,cAAA;AAAA,EACb,iBAAA,EAAmB,OAAA;AAAA,EACnB,IAAA,EAAM;AACR","file":"sdk-tools.contract.analytics.js","sourcesContent":["// =============================================================================\n// 3.3 CONVICTION & ANALYTICS (7 tools)\n// =============================================================================\n\nimport type { SdkToolContract } from \"./sdk-tools.contract.types\";\n\nexport const GET_COLLECTION_CONVICTION: SdkToolContract = {\n name: \"get_collection_conviction\",\n description:\n \"Aggregate conviction score across a set of beliefs. \" +\n \"Like `git shortlog` — summary statistics for a belief collection. \" +\n \"Computes weighted average, min, max, and distribution of confidence across the set.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n beliefIds: {\n type: \"array\",\n description:\n \"Specific beliefs to aggregate (default: all project beliefs)\",\n },\n groupBy: {\n type: \"string\",\n description: \"Grouping dimension\",\n enum: [\"domain\", \"branch\", \"worktree\", \"none\"],\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Aggregate conviction metrics\",\n fields: {\n averageConfidence: \"number\",\n minConfidence: \"number\",\n maxConfidence: \"number\",\n distribution: \"object — confidence histogram\",\n beliefCount: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\nexport const GET_CONVICTION_TREND: SdkToolContract = {\n name: \"get_conviction_trend\",\n description:\n \"Time-series conviction analysis with pillar-level breakdown. \" +\n \"Like `git log --graph --stat` over time — tracks how conviction evolves across scoring events. \" +\n \"Returns data points suitable for charting conviction trajectory.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n timeRange: {\n type: \"object\",\n description: \"Time range: { start: number, end: number }\",\n },\n granularity: {\n type: \"string\",\n description: \"Time bucket size\",\n enum: [\"day\", \"week\", \"month\"],\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Time-series conviction data\",\n fields: {\n dataPoints:\n \"array — { timestamp, averageConfidence, beliefCount, scoringEvents }\",\n pillarBreakdown: \"object — per-domain conviction trends\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\nexport const ANALYZE_BELIEF_CRITICALITY: SdkToolContract = {\n name: \"analyze_belief_criticality\",\n description:\n \"Criticality scoring for belief validation prioritization. \" +\n \"Like `git bisect` for importance — identifies which beliefs are most critical \" +\n \"to validate based on dependent judgments, downstream beliefs, and graph centrality.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n limit: {\n type: \"number\",\n description: \"Maximum beliefs to score (default: 20)\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Beliefs ranked by criticality score\",\n fields: {\n beliefs:\n \"array — { nodeId, canonicalText, criticalityScore, dependentCount, centralityScore }\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\nexport const ANALYZE_BELIEF_CLUSTER_CANDIDATES: SdkToolContract = {\n name: \"analyze_belief_cluster_candidates\",\n description:\n \"Cross-project deduplication and similarity discovery. \" +\n \"Like `git cherry` — finding equivalent commits across branches. \" +\n \"Identifies beliefs that are semantically similar across projects or domains for potential merging.\",\n parameters: {\n topicId: { type: \"string\", description: \"Primary topic to analyze\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n crossProjectIds: {\n type: \"array\",\n description: \"Other projects to compare against\",\n },\n similarityThreshold: {\n type: \"number\",\n description: \"Minimum similarity score (0-1, default: 0.8)\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Cluster candidates with similarity scores\",\n fields: {\n clusters:\n \"array — { beliefs: array, similarityScore: number, suggestedAction: string }\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\nexport const CREATE_BELIEF_CONDITIONAL: SdkToolContract = {\n name: \"create_belief_conditional\",\n description:\n \"Create prerequisite or falsifier dependency edges between beliefs. \" +\n \"Like `git config` for conditional logic — declares that one belief depends on or is falsified by another. \" +\n \"These edges drive automated confidence cascading when conditions change.\",\n parameters: {\n sourceBeliefId: { type: \"string\", description: \"The dependent belief\" },\n targetBeliefId: {\n type: \"string\",\n description: \"The prerequisite or falsifier belief\",\n },\n conditionType: {\n type: \"string\",\n description: \"Dependency type\",\n enum: [\"prerequisite\", \"falsifier\", \"strengthener\"],\n },\n rationale: { type: \"string\", description: \"Why this dependency exists\" },\n },\n required: [\"sourceBeliefId\", \"targetBeliefId\", \"conditionType\"],\n response: {\n description: \"The conditional edge\",\n fields: {\n edgeId: \"string\",\n conditionType: \"string\",\n sourceBeliefId: \"string\",\n targetBeliefId: \"string\",\n },\n },\n ownerModule: \"edges\",\n ontologyPrimitive: \"edge\",\n tier: \"sdk-only\",\n};\n\nexport const GET_NECESSARY_EVIDENCE: SdkToolContract = {\n name: \"get_necessary_evidence\",\n description:\n \"Identify evidence requirements for merge readiness. \" +\n \"Like `git status` before merge — shows what evidence is missing, what questions are unanswered, \" +\n \"and what gaps need filling before a worktree can be confidently merged.\",\n parameters: {\n worktreeId: { type: \"string\", description: \"The worktree to evaluate\" },\n },\n required: [\"worktreeId\"],\n response: {\n description: \"Evidence requirements and gaps\",\n fields: {\n missingEvidence: \"array — beliefs without supporting evidence\",\n unansweredQuestions: \"array — open questions\",\n weakSupport: \"array — beliefs with insufficient evidence weight\",\n mergeReadiness: \"number — 0-1 readiness score\",\n },\n },\n ownerModule: \"workflow-engine\",\n ontologyPrimitive: \"evidence\",\n tier: \"sdk-only\",\n};\n\nexport const ANALYZE_REASONING_DEPTH: SdkToolContract = {\n name: \"analyze_reasoning_depth\",\n description:\n \"Per-belief evidence grounding depth analysis. \" +\n \"Like `git log --graph` depth analysis — measures how deeply each belief is grounded \" +\n \"in evidence layers, from L1 sources through L2 evidence to L3 beliefs.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n beliefIds: {\n type: \"array\",\n description: \"Specific beliefs to analyze (default: all)\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Reasoning depth metrics per belief\",\n fields: {\n beliefs:\n \"array — { nodeId, depth, evidenceCount, sourceCount, groundingScore }\",\n averageDepth: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\n// =============================================================================\n// 3.4 EXTENDED QUESTION & EVIDENCE ANALYTICS (1 SDK-only tool; core lifecycle moved to MCP)\n// =============================================================================\n\nexport const GET_EVIDENCE_BY_METHODOLOGY: SdkToolContract = {\n name: \"get_evidence_by_methodology\",\n description:\n \"Evidence grouped by collection methodology. \" +\n \"Like `git log --format` with custom grouping — organizes evidence by how it was gathered: \" +\n \"primary research, secondary analysis, expert interview, quantitative data, etc.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n methodology: {\n type: \"string\",\n description: \"Filter to specific methodology\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Evidence organized by methodology\",\n fields: {\n groups: \"object — { methodology: array of evidence nodes }\",\n totalCount: \"number\",\n methodologyCoverage: \"object — percentage breakdown\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"evidence\",\n tier: \"sdk-only\",\n};\n\n// =============================================================================\n// 3.5 TASK LIFECYCLE (5 tools)\n// =============================================================================\n\nexport const CREATE_EVIDENCE_TASK: SdkToolContract = {\n name: \"create_evidence_task\",\n description:\n \"Create an evidence-focused work item with structured collection template. \" +\n \"Like `git task` with evidence template — tracks concrete evidence-gathering actions \" +\n \"with methodology, source requirements, and target beliefs pre-configured.\",\n parameters: {\n title: { type: \"string\", description: \"Task description\" },\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n methodology: {\n type: \"string\",\n description: \"Evidence collection method\",\n enum: [\n \"interview\",\n \"survey\",\n \"data_analysis\",\n \"document_review\",\n \"field_research\",\n ],\n },\n targetBeliefId: {\n type: \"string\",\n description: \"Belief this evidence task aims to test\",\n },\n targetQuestionId: {\n type: \"string\",\n description: \"Question this task addresses\",\n },\n },\n required: [\"title\", \"topicId\", \"methodology\"],\n response: {\n description: \"The created evidence task\",\n fields: {\n taskId: \"string\",\n methodology: \"string\",\n status: \"string — 'pending'\",\n },\n },\n ownerModule: \"workflow-engine\",\n ontologyPrimitive: \"task\",\n tier: \"sdk-only\",\n};\n\nexport const GET_TASK_COUNTS: SdkToolContract = {\n name: \"get_task_counts\",\n description:\n \"Dashboard aggregate counts for task status distribution. \" +\n \"Like `git shortlog -s` for tasks — returns counts grouped by status, type, and assignment. \" +\n \"Useful for progress dashboards and workload balancing.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n groupBy: {\n type: \"string\",\n description: \"Grouping dimension\",\n enum: [\"status\", \"type\", \"worktree\", \"assignee\"],\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Task count aggregates\",\n fields: { counts: \"object — { group: number }\", total: \"number\" },\n },\n ownerModule: \"workflow-engine\",\n ontologyPrimitive: \"task\",\n tier: \"sdk-only\",\n};\n\nexport const ADD_RESEARCH_ACTION: SdkToolContract = {\n name: \"add_research_action\",\n description:\n \"Append a concrete next action to a task. \" +\n \"Like `git notes append` for tasks — adds specific follow-up actions \" +\n \"without modifying the original task description.\",\n parameters: {\n taskId: { type: \"string\", description: \"The task to add an action to\" },\n action: { type: \"string\", description: \"The concrete next step\" },\n priority: {\n type: \"string\",\n description: \"Action priority\",\n enum: [\"critical\", \"high\", \"medium\", \"low\"],\n },\n },\n required: [\"taskId\", \"action\"],\n response: {\n description: \"The appended action\",\n fields: { actionId: \"string\", taskId: \"string\", createdAt: \"number\" },\n },\n ownerModule: \"workflow-engine\",\n ontologyPrimitive: \"task\",\n tier: \"sdk-only\",\n};\n\n// =============================================================================\n// 3.6 DOMAIN ANALYTICS (8 tools)\n// =============================================================================\n\nexport const GET_PREDICTIONS: SdkToolContract = {\n name: \"get_predictions\",\n description:\n \"Calibration tracking for prediction-bearing beliefs. \" +\n \"Like `git tag --verify` for prediction accuracy — tracks beliefs with testable predictions, \" +\n \"their stated confidence, and actual outcomes for calibration scoring.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n status: {\n type: \"string\",\n description: \"Prediction status filter\",\n enum: [\"pending\", \"verified\", \"falsified\", \"expired\"],\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Predictions with calibration data\",\n fields: {\n predictions:\n \"array — { beliefId, prediction, statedConfidence, outcome, calibrationDelta }\",\n overallCalibration: \"number — Brier score or equivalent\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\nexport const GET_SURPRISE_DETECTION: SdkToolContract = {\n name: \"get_surprise_detection\",\n description:\n \"Analysis of ignored vs integrated surprise findings. \" +\n \"Like `git diff --stat` for unexpected findings — identifies evidence that significantly \" +\n \"deviated from prior beliefs and tracks whether it was integrated or dismissed.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n surpriseThreshold: {\n type: \"number\",\n description: \"Minimum surprise score to include (0-1, default: 0.5)\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Surprise analysis\",\n fields: {\n surprises:\n \"array — { evidenceId, surpriseScore, integrated, affectedBeliefs }\",\n ignoredCount: \"number\",\n integratedCount: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"evidence\",\n tier: \"sdk-only\",\n};\n\nexport const GET_CHALLENGED_BELIEFS: SdkToolContract = {\n name: \"get_challenged_beliefs\",\n description:\n \"Find beliefs downstream of contradiction detection. \" +\n \"Like `git log --grep=conflict` — identifies beliefs that have been challenged by contradictions, \" +\n \"negative evidence, or confidence collapses.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n minChallengeCount: {\n type: \"number\",\n description: \"Minimum number of challenges (default: 1)\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Challenged beliefs with challenge details\",\n fields: {\n beliefs:\n \"array — { nodeId, canonicalText, challengeCount, contradictions, negativeEvidence }\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\nexport const GET_CAUSAL_CHAINS: SdkToolContract = {\n name: \"get_causal_chains\",\n description:\n \"Trace cause/effect lineage through the reasoning graph. \" +\n \"Like `git log --ancestry-path` — follows causal edges to build chains of reasoning \" +\n \"from root causes to downstream effects.\",\n parameters: {\n nodeId: {\n type: \"string\",\n description: \"Starting node for causal traversal\",\n },\n direction: {\n type: \"string\",\n description: \"Trace direction\",\n enum: [\"causes\", \"effects\", \"both\"],\n },\n maxDepth: {\n type: \"number\",\n description: \"Maximum chain depth (default: 5)\",\n },\n },\n required: [\"nodeId\"],\n response: {\n description: \"Causal chains with strength annotations\",\n fields: {\n chains: \"array — { path: array, strength: number, chainType: string }\",\n totalChains: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"graph\",\n tier: \"sdk-only\",\n};\n\nexport const GET_NON_CONSENSUS_BELIEFS: SdkToolContract = {\n name: \"get_non_consensus_beliefs\",\n description:\n \"Detect contrarian positions in the belief graph. \" +\n \"Like `git log --no-merges` — standalone positions that diverge from the majority view. \" +\n \"Identifies beliefs with low consensus among evidence sources or team members.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n consensusThreshold: {\n type: \"number\",\n description: \"Below this threshold marks non-consensus (default: 0.5)\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Non-consensus beliefs with dissent analysis\",\n fields: {\n beliefs:\n \"array — { nodeId, canonicalText, consensusScore, dissentingSources, supportingSources }\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\nexport const GET_BELIEFS_BY_EPISTEMIC_STATUS: SdkToolContract = {\n name: \"get_beliefs_by_epistemic_status\",\n description:\n \"Filter beliefs by epistemic taxonomy labels. \" +\n \"Like `git log --grep` with epistemic labels — filters beliefs by their epistemic classification: \" +\n \"hypothesis, established, speculative, contested, retracted.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n epistemicStatus: {\n type: \"string\",\n description: \"Epistemic classification\",\n enum: [\n \"hypothesis\",\n \"established\",\n \"speculative\",\n \"contested\",\n \"retracted\",\n ],\n },\n },\n required: [\"topicId\", \"epistemicStatus\"],\n response: {\n description: \"Beliefs matching the epistemic status\",\n fields: {\n beliefs:\n \"array — { nodeId, canonicalText, confidence, epistemicStatus, lastModulated }\",\n count: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\n// =============================================================================\n// 3.7 BIAS DETECTION SUITE (5 tools)\n// detect_confirmation_bias is in the MCP surface\n// =============================================================================\n\nexport const DETECT_ANCHORING_BIAS: SdkToolContract = {\n name: \"detect_anchoring_bias\",\n description:\n \"Detect old unchallenged beliefs that may anchor reasoning. \" +\n \"Like `git log --before` — finding stale commits that haven't been reviewed. \" +\n \"Flags beliefs that were established early and have not received new evidence or challenge.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n staleThresholdDays: {\n type: \"number\",\n description:\n \"Days without new evidence to flag as anchored (default: 30)\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Potentially anchored beliefs\",\n fields: {\n beliefs:\n \"array — { nodeId, canonicalText, daysSinceLastEvidence, originalConfidence, currentConfidence }\",\n riskLevel: \"string — overall anchoring risk\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\nexport const DETECT_SOURCE_CONCENTRATION: SdkToolContract = {\n name: \"detect_source_concentration\",\n description:\n \"Detect single-source evidence risk across beliefs. \" +\n \"Like `git shortlog` showing only one contributor — identifies beliefs \" +\n \"where all supporting evidence comes from a single source or methodology.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n concentrationThreshold: {\n type: \"number\",\n description: \"Max acceptable single-source ratio (0-1, default: 0.8)\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Source concentration analysis\",\n fields: {\n beliefs:\n \"array — { nodeId, canonicalText, dominantSource, concentrationRatio, uniqueSourceCount }\",\n highRiskCount: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"evidence\",\n tier: \"sdk-only\",\n};\n\nexport const FIND_SOFT_CONTRADICTIONS: SdkToolContract = {\n name: \"find_soft_contradictions\",\n description:\n \"Detect semantic and embedding-level contradictions not flagged by explicit contradiction objects. \" +\n \"Like `git diff --word-diff` for subtle conflicts — finds beliefs that are semantically \" +\n \"in tension even though no formal contradiction has been flagged.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n similarityThreshold: {\n type: \"number\",\n description:\n \"Semantic similarity for contradiction detection (0-1, default: 0.7)\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Soft contradiction pairs\",\n fields: {\n pairs: \"array — { beliefA, beliefB, tensionScore, tensionDescription }\",\n totalPairs: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\nexport const FIND_SEMANTIC_BRIDGES: SdkToolContract = {\n name: \"find_semantic_bridges\",\n description:\n \"Find semantically similar but graph-distant nodes. \" +\n \"Like `git cherry` — finding equivalent commits across branches that aren't connected. \" +\n \"Identifies nodes that share semantic meaning but have no graph edges between them.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n minSemanticSimilarity: {\n type: \"number\",\n description: \"Minimum embedding similarity (0-1, default: 0.75)\",\n },\n minGraphDistance: {\n type: \"number\",\n description: \"Minimum graph hops to qualify as distant (default: 3)\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Potential bridge pairs\",\n fields: {\n bridges:\n \"array — { nodeA, nodeB, semanticSimilarity, graphDistance, suggestedEdgeType }\",\n totalBridges: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"graph\",\n tier: \"sdk-only\",\n};\n\nexport const FIND_SEMANTIC_ORPHANS: SdkToolContract = {\n name: \"find_semantic_orphans\",\n description:\n \"Find structurally connected but semantically distant nodes. \" +\n \"Like `git fsck --lost-found` — nodes that are technically connected in the graph \" +\n \"but semantically don't belong, possibly indicating miscategorization or stale edges.\",\n parameters: {\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n maxSemanticSimilarity: {\n type: \"number\",\n description:\n \"Maximum similarity to qualify as orphan (0-1, default: 0.3)\",\n },\n },\n required: [\"topicId\"],\n response: {\n description: \"Semantic orphan nodes\",\n fields: {\n orphans:\n \"array — { nodeId, connectedTo, semanticSimilarity, edgeType, suggestedAction }\",\n totalOrphans: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"graph\",\n tier: \"sdk-only\",\n};\n"]}
|
|
@@ -1,2 +1,43 @@
|
|
|
1
|
-
import './
|
|
2
|
-
export {
|
|
1
|
+
import { SdkToolContract } from './sdk-tools.contract.types.js';
|
|
2
|
+
export { ADD_NOTE_TO_WORKTREE, ADVANCE_WORKTREE_PHASE, COMPLETE_EVIDENCE_REVIEW, COMPLETE_HYPOTHESIS_FORMATION, CREATE_SYNTHESIZED_BELIEF, LINK_BELIEF_TO_WORKTREE, LINK_DOCUMENT_TO_WORKTREE, LINK_EVIDENCE_TO_WORKTREE, LINK_QUESTION_TO_WORKTREE, REFINE_WORKTREE_BELIEF, START_WORKTREE, UPDATE_WORKTREE_PHASE } from './sdk-tools.contract.workflow.js';
|
|
3
|
+
export { EXPLORE_CONNECTIONS, GET_BELIEF_RELATIONSHIPS, GET_BELIEF_SUPPORT_CHAIN, GET_DEEP_LINEAGE, GRAPH_AWARE_SEARCH, TRACE_PROVENANCE } from './sdk-tools.contract.graph.js';
|
|
4
|
+
export { ADD_RESEARCH_ACTION, ANALYZE_BELIEF_CLUSTER_CANDIDATES, ANALYZE_BELIEF_CRITICALITY, ANALYZE_REASONING_DEPTH, CREATE_BELIEF_CONDITIONAL, CREATE_EVIDENCE_TASK, DETECT_ANCHORING_BIAS, DETECT_SOURCE_CONCENTRATION, FIND_SEMANTIC_BRIDGES, FIND_SEMANTIC_ORPHANS, FIND_SOFT_CONTRADICTIONS, GET_BELIEFS_BY_EPISTEMIC_STATUS, GET_CAUSAL_CHAINS, GET_CHALLENGED_BELIEFS, GET_COLLECTION_CONVICTION, GET_CONVICTION_TREND, GET_EVIDENCE_BY_METHODOLOGY, GET_NECESSARY_EVIDENCE, GET_NON_CONSENSUS_BELIEFS, GET_PREDICTIONS, GET_SURPRISE_DETECTION, GET_TASK_COUNTS } from './sdk-tools.contract.analytics.js';
|
|
5
|
+
export { ALL_SDK_TOOL_CONTRACTS, ALL_SDK_TOOL_NAMES, SDK_ONLY_TOOL_CONTRACTS, SDK_ONLY_TOOL_NAMES, validateSdkGitSemantics } from './sdk-tools.contract.registry.js';
|
|
6
|
+
import './tool-contracts.types.js';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* SDK-Only Tool Contract Definitions
|
|
10
|
+
*
|
|
11
|
+
* Tools available in @lucern/sdk but NOT in the MCP gateway.
|
|
12
|
+
* The SDK unfolds deeper capabilities after the MCP gateway shows developers what's possible.
|
|
13
|
+
*
|
|
14
|
+
* Total SDK surface = MCP tools (44) + SDK-only tools (44) = 88 tools
|
|
15
|
+
*
|
|
16
|
+
* These tools are organized into capability tiers:
|
|
17
|
+
* - Advanced workflow & phase management (12 tools)
|
|
18
|
+
* - Deeper graph navigation (6 tools)
|
|
19
|
+
* - Conviction & analytics (7 tools)
|
|
20
|
+
* - Extended question & evidence analytics (1 tool; core lifecycle promoted to MCP)
|
|
21
|
+
* - Task lifecycle (5 tools)
|
|
22
|
+
* - Domain analytics (8 tools)
|
|
23
|
+
* - Bias detection suite (5 tools)
|
|
24
|
+
*
|
|
25
|
+
* CONTRACT SURFACE: These definitions are the external API for SDK consumers.
|
|
26
|
+
* Renaming a tool or changing its description is a BREAKING CHANGE.
|
|
27
|
+
*
|
|
28
|
+
* Git-native naming rules (same as MCP, enforced by lint):
|
|
29
|
+
* 1. Workflow tools use git verbs directly
|
|
30
|
+
* 2. Knowledge tools use epistemic verbs
|
|
31
|
+
* 3. First sentence of description includes the git analog verb
|
|
32
|
+
* 4. Description includes "Like `git X`" parenthetical
|
|
33
|
+
* 5. Parameter names use domain terms (canonicalText, nodeId, confidence)
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* MCP lifecycle tools represented in the SDK contract file for historical/export
|
|
38
|
+
* compatibility while still using MCP-owned validation paths.
|
|
39
|
+
*/
|
|
40
|
+
declare const LIST_TASKS: SdkToolContract;
|
|
41
|
+
declare const UPDATE_TASK: SdkToolContract;
|
|
42
|
+
|
|
43
|
+
export { LIST_TASKS, SdkToolContract, UPDATE_TASK };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SdkToolContract } from './sdk-tools.contract.types.js';
|
|
2
|
+
import './tool-contracts.types.js';
|
|
3
|
+
|
|
4
|
+
declare const TRACE_PROVENANCE: SdkToolContract;
|
|
5
|
+
declare const GET_BELIEF_RELATIONSHIPS: SdkToolContract;
|
|
6
|
+
declare const GET_BELIEF_SUPPORT_CHAIN: SdkToolContract;
|
|
7
|
+
declare const EXPLORE_CONNECTIONS: SdkToolContract;
|
|
8
|
+
declare const GET_DEEP_LINEAGE: SdkToolContract;
|
|
9
|
+
declare const GRAPH_AWARE_SEARCH: SdkToolContract;
|
|
10
|
+
|
|
11
|
+
export { EXPLORE_CONNECTIONS, GET_BELIEF_RELATIONSHIPS, GET_BELIEF_SUPPORT_CHAIN, GET_DEEP_LINEAGE, GRAPH_AWARE_SEARCH, TRACE_PROVENANCE };
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
// src/sdk-tools.contract.graph.ts
|
|
2
|
+
var TRACE_PROVENANCE = {
|
|
3
|
+
name: "trace_provenance",
|
|
4
|
+
description: "Fast lineage trace for any node type in the reasoning graph. Like `git log --follow` \u2014 tracks renames, forks, and full ancestry chain. Works on beliefs, evidence, questions, and judgments alike.",
|
|
5
|
+
parameters: {
|
|
6
|
+
nodeId: { type: "string", description: "The node to trace provenance for" },
|
|
7
|
+
depth: {
|
|
8
|
+
type: "number",
|
|
9
|
+
description: "Maximum ancestry depth (default: 10)"
|
|
10
|
+
},
|
|
11
|
+
includeEdgeTypes: {
|
|
12
|
+
type: "array",
|
|
13
|
+
description: "Filter to specific edge types"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
required: ["nodeId"],
|
|
17
|
+
response: {
|
|
18
|
+
description: "Provenance chain with typed ancestry",
|
|
19
|
+
fields: {
|
|
20
|
+
chain: "array \u2014 ancestry nodes",
|
|
21
|
+
edges: "array \u2014 connecting edges",
|
|
22
|
+
totalDepth: "number"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
ownerModule: "graph-search",
|
|
26
|
+
ontologyPrimitive: "graph",
|
|
27
|
+
tier: "sdk-only"
|
|
28
|
+
};
|
|
29
|
+
var GET_BELIEF_RELATIONSHIPS = {
|
|
30
|
+
name: "get_belief_relationships",
|
|
31
|
+
description: "Get structured cluster-edge map for a belief, grouped by relationship type. Like `git show --stat` \u2014 a relationship summary showing all connections. Returns evidence, questions, contradictions, forks, and dependent judgments.",
|
|
32
|
+
parameters: {
|
|
33
|
+
nodeId: { type: "string", description: "The belief to analyze" }
|
|
34
|
+
},
|
|
35
|
+
required: ["nodeId"],
|
|
36
|
+
response: {
|
|
37
|
+
description: "Relationships grouped by type",
|
|
38
|
+
fields: {
|
|
39
|
+
evidence: "array \u2014 linked evidence nodes",
|
|
40
|
+
questions: "array \u2014 testing questions",
|
|
41
|
+
contradictions: "array \u2014 flagged contradictions",
|
|
42
|
+
forks: "array \u2014 child forks",
|
|
43
|
+
judgments: "array \u2014 dependent judgments"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
ownerModule: "graph-search",
|
|
47
|
+
ontologyPrimitive: "belief",
|
|
48
|
+
tier: "sdk-only"
|
|
49
|
+
};
|
|
50
|
+
var GET_BELIEF_SUPPORT_CHAIN = {
|
|
51
|
+
name: "get_belief_support_chain",
|
|
52
|
+
description: "Full Neo4j traversal: Belief <- Question <- Evidence support chain. Like `git log --graph --all` \u2014 the richest evidence retrieval path. Returns the complete support structure showing how evidence flows through questions to beliefs.",
|
|
53
|
+
parameters: {
|
|
54
|
+
nodeId: { type: "string", description: "The belief to trace support for" },
|
|
55
|
+
includeWeights: {
|
|
56
|
+
type: "boolean",
|
|
57
|
+
description: "Include edge weights in response"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
required: ["nodeId"],
|
|
61
|
+
response: {
|
|
62
|
+
description: "Full support chain from evidence through questions to belief",
|
|
63
|
+
fields: {
|
|
64
|
+
belief: "object \u2014 the target belief",
|
|
65
|
+
questions: "array \u2014 testing questions with their evidence",
|
|
66
|
+
totalEvidenceCount: "number",
|
|
67
|
+
netSupportWeight: "number"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
ownerModule: "graph-search",
|
|
71
|
+
ontologyPrimitive: "belief",
|
|
72
|
+
tier: "sdk-only"
|
|
73
|
+
};
|
|
74
|
+
var EXPLORE_CONNECTIONS = {
|
|
75
|
+
name: "explore_connections",
|
|
76
|
+
description: "Multi-hop neighbor exploration via Neo4j graph traversal. Like `git log --all --oneline` \u2014 broad discovery of connected nodes. Explores outward from a starting node across multiple hops, returning the discovered subgraph.",
|
|
77
|
+
parameters: {
|
|
78
|
+
nodeId: { type: "string", description: "Starting node for exploration" },
|
|
79
|
+
hops: {
|
|
80
|
+
type: "number",
|
|
81
|
+
description: "Number of hops to explore (default: 2, max: 5)"
|
|
82
|
+
},
|
|
83
|
+
nodeTypes: { type: "array", description: "Filter to specific node types" }
|
|
84
|
+
},
|
|
85
|
+
required: ["nodeId"],
|
|
86
|
+
response: {
|
|
87
|
+
description: "Discovered subgraph with nodes and edges",
|
|
88
|
+
fields: {
|
|
89
|
+
nodes: "array \u2014 discovered nodes",
|
|
90
|
+
edges: "array \u2014 connecting edges",
|
|
91
|
+
hopsTraversed: "number"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
ownerModule: "graph-search",
|
|
95
|
+
ontologyPrimitive: "graph",
|
|
96
|
+
tier: "sdk-only"
|
|
97
|
+
};
|
|
98
|
+
var GET_DEEP_LINEAGE = {
|
|
99
|
+
name: "get_deep_lineage",
|
|
100
|
+
description: "10-level Neo4j ancestry traversal for deep history. Like `git log -10 --graph` \u2014 traces deep fork chains, supersedes edges, and confidence evolution. Returns the full ancestor tree with fork reasons and scoring history at each level.",
|
|
101
|
+
parameters: {
|
|
102
|
+
nodeId: {
|
|
103
|
+
type: "string",
|
|
104
|
+
description: "The node to trace deep lineage for"
|
|
105
|
+
},
|
|
106
|
+
maxDepth: {
|
|
107
|
+
type: "number",
|
|
108
|
+
description: "Maximum depth (default: 10, max: 20)"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
required: ["nodeId"],
|
|
112
|
+
response: {
|
|
113
|
+
description: "Deep lineage tree with fork reasons and scoring history",
|
|
114
|
+
fields: {
|
|
115
|
+
tree: "object \u2014 nested ancestry tree",
|
|
116
|
+
totalDepth: "number",
|
|
117
|
+
forkCount: "number",
|
|
118
|
+
oldestAncestor: "object \u2014 the root ancestor"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
ownerModule: "graph-search",
|
|
122
|
+
ontologyPrimitive: "graph",
|
|
123
|
+
tier: "sdk-only"
|
|
124
|
+
};
|
|
125
|
+
var GRAPH_AWARE_SEARCH = {
|
|
126
|
+
name: "graph_aware_search",
|
|
127
|
+
description: "Vector search enhanced with graph context expansion. Like `git grep` combined with graph neighborhood \u2014 finds semantically similar nodes then expands results by following graph edges to include structurally related context.",
|
|
128
|
+
parameters: {
|
|
129
|
+
query: { type: "string", description: "Semantic search query" },
|
|
130
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
131
|
+
projectId: {
|
|
132
|
+
type: "string",
|
|
133
|
+
description: "Deprecated legacy alias for topic scope"
|
|
134
|
+
},
|
|
135
|
+
expansionHops: {
|
|
136
|
+
type: "number",
|
|
137
|
+
description: "Graph expansion depth after vector search (default: 1)"
|
|
138
|
+
},
|
|
139
|
+
limit: { type: "number", description: "Maximum results (default: 10)" }
|
|
140
|
+
},
|
|
141
|
+
required: ["query", "topicId"],
|
|
142
|
+
response: {
|
|
143
|
+
description: "Search results with graph-expanded context",
|
|
144
|
+
fields: {
|
|
145
|
+
results: "array \u2014 { nodeId, canonicalText, score, graphContext }",
|
|
146
|
+
expandedNodes: "number \u2014 additional nodes from graph expansion"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
ownerModule: "graph-search",
|
|
150
|
+
ontologyPrimitive: "graph",
|
|
151
|
+
tier: "sdk-only"
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
export { EXPLORE_CONNECTIONS, GET_BELIEF_RELATIONSHIPS, GET_BELIEF_SUPPORT_CHAIN, GET_DEEP_LINEAGE, GRAPH_AWARE_SEARCH, TRACE_PROVENANCE };
|
|
155
|
+
//# sourceMappingURL=sdk-tools.contract.graph.js.map
|
|
156
|
+
//# sourceMappingURL=sdk-tools.contract.graph.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/sdk-tools.contract.graph.ts"],"names":[],"mappings":";AAMO,IAAM,gBAAA,GAAoC;AAAA,EAC/C,IAAA,EAAM,kBAAA;AAAA,EACN,WAAA,EACE,yMAAA;AAAA,EAGF,UAAA,EAAY;AAAA,IACV,MAAA,EAAQ,EAAE,IAAA,EAAM,QAAA,EAAU,aAAa,kCAAA,EAAmC;AAAA,IAC1E,KAAA,EAAO;AAAA,MACL,IAAA,EAAM,QAAA;AAAA,MACN,WAAA,EAAa;AAAA,KACf;AAAA,IACA,gBAAA,EAAkB;AAAA,MAChB,IAAA,EAAM,OAAA;AAAA,MACN,WAAA,EAAa;AAAA;AACf,GACF;AAAA,EACA,QAAA,EAAU,CAAC,QAAQ,CAAA;AAAA,EACnB,QAAA,EAAU;AAAA,IACR,WAAA,EAAa,sCAAA;AAAA,IACb,MAAA,EAAQ;AAAA,MACN,KAAA,EAAO,6BAAA;AAAA,MACP,KAAA,EAAO,+BAAA;AAAA,MACP,UAAA,EAAY;AAAA;AACd,GACF;AAAA,EACA,WAAA,EAAa,cAAA;AAAA,EACb,iBAA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A,EACb,iBAAA,EAAmB,OAAA;AAAA,EACnB,IAAA,EAAM;AACR;AAEO,IAAM,kBAAA,GAAsC;AAAA,EACjD,IAAA,EAAM,oBAAA;AAAA,EACN,WAAA,EACE,sOAAA;AAAA,EAGF,UAAA,EAAY;AAAA,IACV,KAAA,EAAO,EAAE,IAAA,EAAM,QAAA,EAAU,aAAa,uBAAA,EAAwB;AAAA,IAC9D,OAAA,EAAS,EAAE,IAAA,EAAM,QAAA,EAAU,aAAa,aAAA,EAAc;AAAA,IACtD,SAAA,EAAW;AAAA,MACT,IAAA,EAAM,QAAA;AAAA,MACN,WAAA,EAAa;AAAA,KACf;AAAA,IACA,aAAA,EAAe;AAAA,MACb,IAAA,EAAM,QAAA;AAAA,MACN,WAAA,EAAa;AAAA,KACf;AAAA,IACA,KAAA,EAAO,EAAE,IAAA,EAAM,QAAA,EAAU,aAAa,+BAAA;AAAgC,GACxE;AAAA,EACA,QAAA,EAAU,CAAC,OAAA,EAAS,SAAS,CAAA;AAAA,EAC7B,QAAA,EAAU;AAAA,IACR,WAAA,EAAa,4CAAA;AAAA,IACb,MAAA,EAAQ;AAAA,MACN,OAAA,EAAS,6DAAA;AAAA,MACT,aAAA,EAAe;AAAA;AACjB,GACF;AAAA,EACA,WAAA,EAAa,cAAA;AAAA,EACb,iBAAA,EAAmB,OAAA;AAAA,EACnB,IAAA,EAAM;AACR","file":"sdk-tools.contract.graph.js","sourcesContent":["// =============================================================================\n// 3.2 DEEPER GRAPH NAVIGATION (6 tools)\n// =============================================================================\n\nimport type { SdkToolContract } from \"./sdk-tools.contract.types\";\n\nexport const TRACE_PROVENANCE: SdkToolContract = {\n name: \"trace_provenance\",\n description:\n \"Fast lineage trace for any node type in the reasoning graph. \" +\n \"Like `git log --follow` — tracks renames, forks, and full ancestry chain. \" +\n \"Works on beliefs, evidence, questions, and judgments alike.\",\n parameters: {\n nodeId: { type: \"string\", description: \"The node to trace provenance for\" },\n depth: {\n type: \"number\",\n description: \"Maximum ancestry depth (default: 10)\",\n },\n includeEdgeTypes: {\n type: \"array\",\n description: \"Filter to specific edge types\",\n },\n },\n required: [\"nodeId\"],\n response: {\n description: \"Provenance chain with typed ancestry\",\n fields: {\n chain: \"array — ancestry nodes\",\n edges: \"array — connecting edges\",\n totalDepth: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"graph\",\n tier: \"sdk-only\",\n};\n\nexport const GET_BELIEF_RELATIONSHIPS: SdkToolContract = {\n name: \"get_belief_relationships\",\n description:\n \"Get structured cluster-edge map for a belief, grouped by relationship type. \" +\n \"Like `git show --stat` — a relationship summary showing all connections. \" +\n \"Returns evidence, questions, contradictions, forks, and dependent judgments.\",\n parameters: {\n nodeId: { type: \"string\", description: \"The belief to analyze\" },\n },\n required: [\"nodeId\"],\n response: {\n description: \"Relationships grouped by type\",\n fields: {\n evidence: \"array — linked evidence nodes\",\n questions: \"array — testing questions\",\n contradictions: \"array — flagged contradictions\",\n forks: \"array — child forks\",\n judgments: \"array — dependent judgments\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\nexport const GET_BELIEF_SUPPORT_CHAIN: SdkToolContract = {\n name: \"get_belief_support_chain\",\n description:\n \"Full Neo4j traversal: Belief <- Question <- Evidence support chain. \" +\n \"Like `git log --graph --all` — the richest evidence retrieval path. \" +\n \"Returns the complete support structure showing how evidence flows through questions to beliefs.\",\n parameters: {\n nodeId: { type: \"string\", description: \"The belief to trace support for\" },\n includeWeights: {\n type: \"boolean\",\n description: \"Include edge weights in response\",\n },\n },\n required: [\"nodeId\"],\n response: {\n description: \"Full support chain from evidence through questions to belief\",\n fields: {\n belief: \"object — the target belief\",\n questions: \"array — testing questions with their evidence\",\n totalEvidenceCount: \"number\",\n netSupportWeight: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"belief\",\n tier: \"sdk-only\",\n};\n\nexport const EXPLORE_CONNECTIONS: SdkToolContract = {\n name: \"explore_connections\",\n description:\n \"Multi-hop neighbor exploration via Neo4j graph traversal. \" +\n \"Like `git log --all --oneline` — broad discovery of connected nodes. \" +\n \"Explores outward from a starting node across multiple hops, returning the discovered subgraph.\",\n parameters: {\n nodeId: { type: \"string\", description: \"Starting node for exploration\" },\n hops: {\n type: \"number\",\n description: \"Number of hops to explore (default: 2, max: 5)\",\n },\n nodeTypes: { type: \"array\", description: \"Filter to specific node types\" },\n },\n required: [\"nodeId\"],\n response: {\n description: \"Discovered subgraph with nodes and edges\",\n fields: {\n nodes: \"array — discovered nodes\",\n edges: \"array — connecting edges\",\n hopsTraversed: \"number\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"graph\",\n tier: \"sdk-only\",\n};\n\nexport const GET_DEEP_LINEAGE: SdkToolContract = {\n name: \"get_deep_lineage\",\n description:\n \"10-level Neo4j ancestry traversal for deep history. \" +\n \"Like `git log -10 --graph` — traces deep fork chains, supersedes edges, and confidence evolution. \" +\n \"Returns the full ancestor tree with fork reasons and scoring history at each level.\",\n parameters: {\n nodeId: {\n type: \"string\",\n description: \"The node to trace deep lineage for\",\n },\n maxDepth: {\n type: \"number\",\n description: \"Maximum depth (default: 10, max: 20)\",\n },\n },\n required: [\"nodeId\"],\n response: {\n description: \"Deep lineage tree with fork reasons and scoring history\",\n fields: {\n tree: \"object — nested ancestry tree\",\n totalDepth: \"number\",\n forkCount: \"number\",\n oldestAncestor: \"object — the root ancestor\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"graph\",\n tier: \"sdk-only\",\n};\n\nexport const GRAPH_AWARE_SEARCH: SdkToolContract = {\n name: \"graph_aware_search\",\n description:\n \"Vector search enhanced with graph context expansion. \" +\n \"Like `git grep` combined with graph neighborhood — finds semantically similar nodes \" +\n \"then expands results by following graph edges to include structurally related context.\",\n parameters: {\n query: { type: \"string\", description: \"Semantic search query\" },\n topicId: { type: \"string\", description: \"Topic scope\" },\n projectId: {\n type: \"string\",\n description: \"Deprecated legacy alias for topic scope\",\n },\n expansionHops: {\n type: \"number\",\n description: \"Graph expansion depth after vector search (default: 1)\",\n },\n limit: { type: \"number\", description: \"Maximum results (default: 10)\" },\n },\n required: [\"query\", \"topicId\"],\n response: {\n description: \"Search results with graph-expanded context\",\n fields: {\n results: \"array — { nodeId, canonicalText, score, graphContext }\",\n expandedNodes: \"number — additional nodes from graph expansion\",\n },\n },\n ownerModule: \"graph-search\",\n ontologyPrimitive: \"graph\",\n tier: \"sdk-only\",\n};\n"]}
|