@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,27 @@
|
|
|
1
|
+
import { SdkToolContract } from './sdk-tools.contract.types.js';
|
|
2
|
+
import './tool-contracts.types.js';
|
|
3
|
+
|
|
4
|
+
declare const GET_COLLECTION_CONVICTION: SdkToolContract;
|
|
5
|
+
declare const GET_CONVICTION_TREND: SdkToolContract;
|
|
6
|
+
declare const ANALYZE_BELIEF_CRITICALITY: SdkToolContract;
|
|
7
|
+
declare const ANALYZE_BELIEF_CLUSTER_CANDIDATES: SdkToolContract;
|
|
8
|
+
declare const CREATE_BELIEF_CONDITIONAL: SdkToolContract;
|
|
9
|
+
declare const GET_NECESSARY_EVIDENCE: SdkToolContract;
|
|
10
|
+
declare const ANALYZE_REASONING_DEPTH: SdkToolContract;
|
|
11
|
+
declare const GET_EVIDENCE_BY_METHODOLOGY: SdkToolContract;
|
|
12
|
+
declare const CREATE_EVIDENCE_TASK: SdkToolContract;
|
|
13
|
+
declare const GET_TASK_COUNTS: SdkToolContract;
|
|
14
|
+
declare const ADD_RESEARCH_ACTION: SdkToolContract;
|
|
15
|
+
declare const GET_PREDICTIONS: SdkToolContract;
|
|
16
|
+
declare const GET_SURPRISE_DETECTION: SdkToolContract;
|
|
17
|
+
declare const GET_CHALLENGED_BELIEFS: SdkToolContract;
|
|
18
|
+
declare const GET_CAUSAL_CHAINS: SdkToolContract;
|
|
19
|
+
declare const GET_NON_CONSENSUS_BELIEFS: SdkToolContract;
|
|
20
|
+
declare const GET_BELIEFS_BY_EPISTEMIC_STATUS: SdkToolContract;
|
|
21
|
+
declare const DETECT_ANCHORING_BIAS: SdkToolContract;
|
|
22
|
+
declare const DETECT_SOURCE_CONCENTRATION: SdkToolContract;
|
|
23
|
+
declare const FIND_SOFT_CONTRADICTIONS: SdkToolContract;
|
|
24
|
+
declare const FIND_SEMANTIC_BRIDGES: SdkToolContract;
|
|
25
|
+
declare const FIND_SEMANTIC_ORPHANS: SdkToolContract;
|
|
26
|
+
|
|
27
|
+
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 };
|
|
@@ -0,0 +1,616 @@
|
|
|
1
|
+
// src/sdk-tools.contract.analytics.ts
|
|
2
|
+
var GET_COLLECTION_CONVICTION = {
|
|
3
|
+
name: "get_collection_conviction",
|
|
4
|
+
description: "Aggregate conviction score across a set of beliefs. Like `git shortlog` \u2014 summary statistics for a belief collection. Computes weighted average, min, max, and distribution of confidence across the set.",
|
|
5
|
+
parameters: {
|
|
6
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
7
|
+
projectId: {
|
|
8
|
+
type: "string",
|
|
9
|
+
description: "Deprecated legacy alias for topic scope"
|
|
10
|
+
},
|
|
11
|
+
beliefIds: {
|
|
12
|
+
type: "array",
|
|
13
|
+
description: "Specific beliefs to aggregate (default: all project beliefs)"
|
|
14
|
+
},
|
|
15
|
+
groupBy: {
|
|
16
|
+
type: "string",
|
|
17
|
+
description: "Grouping dimension",
|
|
18
|
+
enum: ["domain", "branch", "worktree", "none"]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
required: ["topicId"],
|
|
22
|
+
response: {
|
|
23
|
+
description: "Aggregate conviction metrics",
|
|
24
|
+
fields: {
|
|
25
|
+
averageConfidence: "number",
|
|
26
|
+
minConfidence: "number",
|
|
27
|
+
maxConfidence: "number",
|
|
28
|
+
distribution: "object \u2014 confidence histogram",
|
|
29
|
+
beliefCount: "number"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
ownerModule: "graph-search",
|
|
33
|
+
ontologyPrimitive: "belief",
|
|
34
|
+
tier: "sdk-only"
|
|
35
|
+
};
|
|
36
|
+
var GET_CONVICTION_TREND = {
|
|
37
|
+
name: "get_conviction_trend",
|
|
38
|
+
description: "Time-series conviction analysis with pillar-level breakdown. Like `git log --graph --stat` over time \u2014 tracks how conviction evolves across scoring events. Returns data points suitable for charting conviction trajectory.",
|
|
39
|
+
parameters: {
|
|
40
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
41
|
+
projectId: {
|
|
42
|
+
type: "string",
|
|
43
|
+
description: "Deprecated legacy alias for topic scope"
|
|
44
|
+
},
|
|
45
|
+
timeRange: {
|
|
46
|
+
type: "object",
|
|
47
|
+
description: "Time range: { start: number, end: number }"
|
|
48
|
+
},
|
|
49
|
+
granularity: {
|
|
50
|
+
type: "string",
|
|
51
|
+
description: "Time bucket size",
|
|
52
|
+
enum: ["day", "week", "month"]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
required: ["topicId"],
|
|
56
|
+
response: {
|
|
57
|
+
description: "Time-series conviction data",
|
|
58
|
+
fields: {
|
|
59
|
+
dataPoints: "array \u2014 { timestamp, averageConfidence, beliefCount, scoringEvents }",
|
|
60
|
+
pillarBreakdown: "object \u2014 per-domain conviction trends"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
ownerModule: "graph-search",
|
|
64
|
+
ontologyPrimitive: "belief",
|
|
65
|
+
tier: "sdk-only"
|
|
66
|
+
};
|
|
67
|
+
var ANALYZE_BELIEF_CRITICALITY = {
|
|
68
|
+
name: "analyze_belief_criticality",
|
|
69
|
+
description: "Criticality scoring for belief validation prioritization. Like `git bisect` for importance \u2014 identifies which beliefs are most critical to validate based on dependent judgments, downstream beliefs, and graph centrality.",
|
|
70
|
+
parameters: {
|
|
71
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
72
|
+
projectId: {
|
|
73
|
+
type: "string",
|
|
74
|
+
description: "Deprecated legacy alias for topic scope"
|
|
75
|
+
},
|
|
76
|
+
limit: {
|
|
77
|
+
type: "number",
|
|
78
|
+
description: "Maximum beliefs to score (default: 20)"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
required: ["topicId"],
|
|
82
|
+
response: {
|
|
83
|
+
description: "Beliefs ranked by criticality score",
|
|
84
|
+
fields: {
|
|
85
|
+
beliefs: "array \u2014 { nodeId, canonicalText, criticalityScore, dependentCount, centralityScore }"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
ownerModule: "graph-search",
|
|
89
|
+
ontologyPrimitive: "belief",
|
|
90
|
+
tier: "sdk-only"
|
|
91
|
+
};
|
|
92
|
+
var ANALYZE_BELIEF_CLUSTER_CANDIDATES = {
|
|
93
|
+
name: "analyze_belief_cluster_candidates",
|
|
94
|
+
description: "Cross-project deduplication and similarity discovery. Like `git cherry` \u2014 finding equivalent commits across branches. Identifies beliefs that are semantically similar across projects or domains for potential merging.",
|
|
95
|
+
parameters: {
|
|
96
|
+
topicId: { type: "string", description: "Primary topic to analyze" },
|
|
97
|
+
projectId: {
|
|
98
|
+
type: "string",
|
|
99
|
+
description: "Deprecated legacy alias for topic scope"
|
|
100
|
+
},
|
|
101
|
+
crossProjectIds: {
|
|
102
|
+
type: "array",
|
|
103
|
+
description: "Other projects to compare against"
|
|
104
|
+
},
|
|
105
|
+
similarityThreshold: {
|
|
106
|
+
type: "number",
|
|
107
|
+
description: "Minimum similarity score (0-1, default: 0.8)"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
required: ["topicId"],
|
|
111
|
+
response: {
|
|
112
|
+
description: "Cluster candidates with similarity scores",
|
|
113
|
+
fields: {
|
|
114
|
+
clusters: "array \u2014 { beliefs: array, similarityScore: number, suggestedAction: string }"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
ownerModule: "graph-search",
|
|
118
|
+
ontologyPrimitive: "belief",
|
|
119
|
+
tier: "sdk-only"
|
|
120
|
+
};
|
|
121
|
+
var CREATE_BELIEF_CONDITIONAL = {
|
|
122
|
+
name: "create_belief_conditional",
|
|
123
|
+
description: "Create prerequisite or falsifier dependency edges between beliefs. Like `git config` for conditional logic \u2014 declares that one belief depends on or is falsified by another. These edges drive automated confidence cascading when conditions change.",
|
|
124
|
+
parameters: {
|
|
125
|
+
sourceBeliefId: { type: "string", description: "The dependent belief" },
|
|
126
|
+
targetBeliefId: {
|
|
127
|
+
type: "string",
|
|
128
|
+
description: "The prerequisite or falsifier belief"
|
|
129
|
+
},
|
|
130
|
+
conditionType: {
|
|
131
|
+
type: "string",
|
|
132
|
+
description: "Dependency type",
|
|
133
|
+
enum: ["prerequisite", "falsifier", "strengthener"]
|
|
134
|
+
},
|
|
135
|
+
rationale: { type: "string", description: "Why this dependency exists" }
|
|
136
|
+
},
|
|
137
|
+
required: ["sourceBeliefId", "targetBeliefId", "conditionType"],
|
|
138
|
+
response: {
|
|
139
|
+
description: "The conditional edge",
|
|
140
|
+
fields: {
|
|
141
|
+
edgeId: "string",
|
|
142
|
+
conditionType: "string",
|
|
143
|
+
sourceBeliefId: "string",
|
|
144
|
+
targetBeliefId: "string"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
ownerModule: "edges",
|
|
148
|
+
ontologyPrimitive: "edge",
|
|
149
|
+
tier: "sdk-only"
|
|
150
|
+
};
|
|
151
|
+
var GET_NECESSARY_EVIDENCE = {
|
|
152
|
+
name: "get_necessary_evidence",
|
|
153
|
+
description: "Identify evidence requirements for merge readiness. Like `git status` before merge \u2014 shows what evidence is missing, what questions are unanswered, and what gaps need filling before a worktree can be confidently merged.",
|
|
154
|
+
parameters: {
|
|
155
|
+
worktreeId: { type: "string", description: "The worktree to evaluate" }
|
|
156
|
+
},
|
|
157
|
+
required: ["worktreeId"],
|
|
158
|
+
response: {
|
|
159
|
+
description: "Evidence requirements and gaps",
|
|
160
|
+
fields: {
|
|
161
|
+
missingEvidence: "array \u2014 beliefs without supporting evidence",
|
|
162
|
+
unansweredQuestions: "array \u2014 open questions",
|
|
163
|
+
weakSupport: "array \u2014 beliefs with insufficient evidence weight",
|
|
164
|
+
mergeReadiness: "number \u2014 0-1 readiness score"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
ownerModule: "workflow-engine",
|
|
168
|
+
ontologyPrimitive: "evidence",
|
|
169
|
+
tier: "sdk-only"
|
|
170
|
+
};
|
|
171
|
+
var ANALYZE_REASONING_DEPTH = {
|
|
172
|
+
name: "analyze_reasoning_depth",
|
|
173
|
+
description: "Per-belief evidence grounding depth analysis. Like `git log --graph` depth analysis \u2014 measures how deeply each belief is grounded in evidence layers, from L1 sources through L2 evidence to L3 beliefs.",
|
|
174
|
+
parameters: {
|
|
175
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
176
|
+
projectId: {
|
|
177
|
+
type: "string",
|
|
178
|
+
description: "Deprecated legacy alias for topic scope"
|
|
179
|
+
},
|
|
180
|
+
beliefIds: {
|
|
181
|
+
type: "array",
|
|
182
|
+
description: "Specific beliefs to analyze (default: all)"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
required: ["topicId"],
|
|
186
|
+
response: {
|
|
187
|
+
description: "Reasoning depth metrics per belief",
|
|
188
|
+
fields: {
|
|
189
|
+
beliefs: "array \u2014 { nodeId, depth, evidenceCount, sourceCount, groundingScore }",
|
|
190
|
+
averageDepth: "number"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
ownerModule: "graph-search",
|
|
194
|
+
ontologyPrimitive: "belief",
|
|
195
|
+
tier: "sdk-only"
|
|
196
|
+
};
|
|
197
|
+
var GET_EVIDENCE_BY_METHODOLOGY = {
|
|
198
|
+
name: "get_evidence_by_methodology",
|
|
199
|
+
description: "Evidence grouped by collection methodology. Like `git log --format` with custom grouping \u2014 organizes evidence by how it was gathered: primary research, secondary analysis, expert interview, quantitative data, etc.",
|
|
200
|
+
parameters: {
|
|
201
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
202
|
+
projectId: {
|
|
203
|
+
type: "string",
|
|
204
|
+
description: "Deprecated legacy alias for topic scope"
|
|
205
|
+
},
|
|
206
|
+
methodology: {
|
|
207
|
+
type: "string",
|
|
208
|
+
description: "Filter to specific methodology"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
required: ["topicId"],
|
|
212
|
+
response: {
|
|
213
|
+
description: "Evidence organized by methodology",
|
|
214
|
+
fields: {
|
|
215
|
+
groups: "object \u2014 { methodology: array of evidence nodes }",
|
|
216
|
+
totalCount: "number",
|
|
217
|
+
methodologyCoverage: "object \u2014 percentage breakdown"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
ownerModule: "graph-search",
|
|
221
|
+
ontologyPrimitive: "evidence",
|
|
222
|
+
tier: "sdk-only"
|
|
223
|
+
};
|
|
224
|
+
var CREATE_EVIDENCE_TASK = {
|
|
225
|
+
name: "create_evidence_task",
|
|
226
|
+
description: "Create an evidence-focused work item with structured collection template. Like `git task` with evidence template \u2014 tracks concrete evidence-gathering actions with methodology, source requirements, and target beliefs pre-configured.",
|
|
227
|
+
parameters: {
|
|
228
|
+
title: { type: "string", description: "Task description" },
|
|
229
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
230
|
+
projectId: {
|
|
231
|
+
type: "string",
|
|
232
|
+
description: "Deprecated legacy alias for topic scope"
|
|
233
|
+
},
|
|
234
|
+
methodology: {
|
|
235
|
+
type: "string",
|
|
236
|
+
description: "Evidence collection method",
|
|
237
|
+
enum: [
|
|
238
|
+
"interview",
|
|
239
|
+
"survey",
|
|
240
|
+
"data_analysis",
|
|
241
|
+
"document_review",
|
|
242
|
+
"field_research"
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
targetBeliefId: {
|
|
246
|
+
type: "string",
|
|
247
|
+
description: "Belief this evidence task aims to test"
|
|
248
|
+
},
|
|
249
|
+
targetQuestionId: {
|
|
250
|
+
type: "string",
|
|
251
|
+
description: "Question this task addresses"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
required: ["title", "topicId", "methodology"],
|
|
255
|
+
response: {
|
|
256
|
+
description: "The created evidence task",
|
|
257
|
+
fields: {
|
|
258
|
+
taskId: "string",
|
|
259
|
+
methodology: "string",
|
|
260
|
+
status: "string \u2014 'pending'"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
ownerModule: "workflow-engine",
|
|
264
|
+
ontologyPrimitive: "task",
|
|
265
|
+
tier: "sdk-only"
|
|
266
|
+
};
|
|
267
|
+
var GET_TASK_COUNTS = {
|
|
268
|
+
name: "get_task_counts",
|
|
269
|
+
description: "Dashboard aggregate counts for task status distribution. Like `git shortlog -s` for tasks \u2014 returns counts grouped by status, type, and assignment. Useful for progress dashboards and workload balancing.",
|
|
270
|
+
parameters: {
|
|
271
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
272
|
+
projectId: {
|
|
273
|
+
type: "string",
|
|
274
|
+
description: "Deprecated legacy alias for topic scope"
|
|
275
|
+
},
|
|
276
|
+
groupBy: {
|
|
277
|
+
type: "string",
|
|
278
|
+
description: "Grouping dimension",
|
|
279
|
+
enum: ["status", "type", "worktree", "assignee"]
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
required: ["topicId"],
|
|
283
|
+
response: {
|
|
284
|
+
description: "Task count aggregates",
|
|
285
|
+
fields: { counts: "object \u2014 { group: number }", total: "number" }
|
|
286
|
+
},
|
|
287
|
+
ownerModule: "workflow-engine",
|
|
288
|
+
ontologyPrimitive: "task",
|
|
289
|
+
tier: "sdk-only"
|
|
290
|
+
};
|
|
291
|
+
var ADD_RESEARCH_ACTION = {
|
|
292
|
+
name: "add_research_action",
|
|
293
|
+
description: "Append a concrete next action to a task. Like `git notes append` for tasks \u2014 adds specific follow-up actions without modifying the original task description.",
|
|
294
|
+
parameters: {
|
|
295
|
+
taskId: { type: "string", description: "The task to add an action to" },
|
|
296
|
+
action: { type: "string", description: "The concrete next step" },
|
|
297
|
+
priority: {
|
|
298
|
+
type: "string",
|
|
299
|
+
description: "Action priority",
|
|
300
|
+
enum: ["critical", "high", "medium", "low"]
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
required: ["taskId", "action"],
|
|
304
|
+
response: {
|
|
305
|
+
description: "The appended action",
|
|
306
|
+
fields: { actionId: "string", taskId: "string", createdAt: "number" }
|
|
307
|
+
},
|
|
308
|
+
ownerModule: "workflow-engine",
|
|
309
|
+
ontologyPrimitive: "task",
|
|
310
|
+
tier: "sdk-only"
|
|
311
|
+
};
|
|
312
|
+
var GET_PREDICTIONS = {
|
|
313
|
+
name: "get_predictions",
|
|
314
|
+
description: "Calibration tracking for prediction-bearing beliefs. Like `git tag --verify` for prediction accuracy \u2014 tracks beliefs with testable predictions, their stated confidence, and actual outcomes for calibration scoring.",
|
|
315
|
+
parameters: {
|
|
316
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
317
|
+
projectId: {
|
|
318
|
+
type: "string",
|
|
319
|
+
description: "Deprecated legacy alias for topic scope"
|
|
320
|
+
},
|
|
321
|
+
status: {
|
|
322
|
+
type: "string",
|
|
323
|
+
description: "Prediction status filter",
|
|
324
|
+
enum: ["pending", "verified", "falsified", "expired"]
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
required: ["topicId"],
|
|
328
|
+
response: {
|
|
329
|
+
description: "Predictions with calibration data",
|
|
330
|
+
fields: {
|
|
331
|
+
predictions: "array \u2014 { beliefId, prediction, statedConfidence, outcome, calibrationDelta }",
|
|
332
|
+
overallCalibration: "number \u2014 Brier score or equivalent"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
ownerModule: "graph-search",
|
|
336
|
+
ontologyPrimitive: "belief",
|
|
337
|
+
tier: "sdk-only"
|
|
338
|
+
};
|
|
339
|
+
var GET_SURPRISE_DETECTION = {
|
|
340
|
+
name: "get_surprise_detection",
|
|
341
|
+
description: "Analysis of ignored vs integrated surprise findings. Like `git diff --stat` for unexpected findings \u2014 identifies evidence that significantly deviated from prior beliefs and tracks whether it was integrated or dismissed.",
|
|
342
|
+
parameters: {
|
|
343
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
344
|
+
projectId: {
|
|
345
|
+
type: "string",
|
|
346
|
+
description: "Deprecated legacy alias for topic scope"
|
|
347
|
+
},
|
|
348
|
+
surpriseThreshold: {
|
|
349
|
+
type: "number",
|
|
350
|
+
description: "Minimum surprise score to include (0-1, default: 0.5)"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
required: ["topicId"],
|
|
354
|
+
response: {
|
|
355
|
+
description: "Surprise analysis",
|
|
356
|
+
fields: {
|
|
357
|
+
surprises: "array \u2014 { evidenceId, surpriseScore, integrated, affectedBeliefs }",
|
|
358
|
+
ignoredCount: "number",
|
|
359
|
+
integratedCount: "number"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
ownerModule: "graph-search",
|
|
363
|
+
ontologyPrimitive: "evidence",
|
|
364
|
+
tier: "sdk-only"
|
|
365
|
+
};
|
|
366
|
+
var GET_CHALLENGED_BELIEFS = {
|
|
367
|
+
name: "get_challenged_beliefs",
|
|
368
|
+
description: "Find beliefs downstream of contradiction detection. Like `git log --grep=conflict` \u2014 identifies beliefs that have been challenged by contradictions, negative evidence, or confidence collapses.",
|
|
369
|
+
parameters: {
|
|
370
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
371
|
+
projectId: {
|
|
372
|
+
type: "string",
|
|
373
|
+
description: "Deprecated legacy alias for topic scope"
|
|
374
|
+
},
|
|
375
|
+
minChallengeCount: {
|
|
376
|
+
type: "number",
|
|
377
|
+
description: "Minimum number of challenges (default: 1)"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
required: ["topicId"],
|
|
381
|
+
response: {
|
|
382
|
+
description: "Challenged beliefs with challenge details",
|
|
383
|
+
fields: {
|
|
384
|
+
beliefs: "array \u2014 { nodeId, canonicalText, challengeCount, contradictions, negativeEvidence }"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
ownerModule: "graph-search",
|
|
388
|
+
ontologyPrimitive: "belief",
|
|
389
|
+
tier: "sdk-only"
|
|
390
|
+
};
|
|
391
|
+
var GET_CAUSAL_CHAINS = {
|
|
392
|
+
name: "get_causal_chains",
|
|
393
|
+
description: "Trace cause/effect lineage through the reasoning graph. Like `git log --ancestry-path` \u2014 follows causal edges to build chains of reasoning from root causes to downstream effects.",
|
|
394
|
+
parameters: {
|
|
395
|
+
nodeId: {
|
|
396
|
+
type: "string",
|
|
397
|
+
description: "Starting node for causal traversal"
|
|
398
|
+
},
|
|
399
|
+
direction: {
|
|
400
|
+
type: "string",
|
|
401
|
+
description: "Trace direction",
|
|
402
|
+
enum: ["causes", "effects", "both"]
|
|
403
|
+
},
|
|
404
|
+
maxDepth: {
|
|
405
|
+
type: "number",
|
|
406
|
+
description: "Maximum chain depth (default: 5)"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
required: ["nodeId"],
|
|
410
|
+
response: {
|
|
411
|
+
description: "Causal chains with strength annotations",
|
|
412
|
+
fields: {
|
|
413
|
+
chains: "array \u2014 { path: array, strength: number, chainType: string }",
|
|
414
|
+
totalChains: "number"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
ownerModule: "graph-search",
|
|
418
|
+
ontologyPrimitive: "graph",
|
|
419
|
+
tier: "sdk-only"
|
|
420
|
+
};
|
|
421
|
+
var GET_NON_CONSENSUS_BELIEFS = {
|
|
422
|
+
name: "get_non_consensus_beliefs",
|
|
423
|
+
description: "Detect contrarian positions in the belief graph. Like `git log --no-merges` \u2014 standalone positions that diverge from the majority view. Identifies beliefs with low consensus among evidence sources or team members.",
|
|
424
|
+
parameters: {
|
|
425
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
426
|
+
projectId: {
|
|
427
|
+
type: "string",
|
|
428
|
+
description: "Deprecated legacy alias for topic scope"
|
|
429
|
+
},
|
|
430
|
+
consensusThreshold: {
|
|
431
|
+
type: "number",
|
|
432
|
+
description: "Below this threshold marks non-consensus (default: 0.5)"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
required: ["topicId"],
|
|
436
|
+
response: {
|
|
437
|
+
description: "Non-consensus beliefs with dissent analysis",
|
|
438
|
+
fields: {
|
|
439
|
+
beliefs: "array \u2014 { nodeId, canonicalText, consensusScore, dissentingSources, supportingSources }"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
ownerModule: "graph-search",
|
|
443
|
+
ontologyPrimitive: "belief",
|
|
444
|
+
tier: "sdk-only"
|
|
445
|
+
};
|
|
446
|
+
var GET_BELIEFS_BY_EPISTEMIC_STATUS = {
|
|
447
|
+
name: "get_beliefs_by_epistemic_status",
|
|
448
|
+
description: "Filter beliefs by epistemic taxonomy labels. Like `git log --grep` with epistemic labels \u2014 filters beliefs by their epistemic classification: hypothesis, established, speculative, contested, retracted.",
|
|
449
|
+
parameters: {
|
|
450
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
451
|
+
projectId: {
|
|
452
|
+
type: "string",
|
|
453
|
+
description: "Deprecated legacy alias for topic scope"
|
|
454
|
+
},
|
|
455
|
+
epistemicStatus: {
|
|
456
|
+
type: "string",
|
|
457
|
+
description: "Epistemic classification",
|
|
458
|
+
enum: [
|
|
459
|
+
"hypothesis",
|
|
460
|
+
"established",
|
|
461
|
+
"speculative",
|
|
462
|
+
"contested",
|
|
463
|
+
"retracted"
|
|
464
|
+
]
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
required: ["topicId", "epistemicStatus"],
|
|
468
|
+
response: {
|
|
469
|
+
description: "Beliefs matching the epistemic status",
|
|
470
|
+
fields: {
|
|
471
|
+
beliefs: "array \u2014 { nodeId, canonicalText, confidence, epistemicStatus, lastModulated }",
|
|
472
|
+
count: "number"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
ownerModule: "graph-search",
|
|
476
|
+
ontologyPrimitive: "belief",
|
|
477
|
+
tier: "sdk-only"
|
|
478
|
+
};
|
|
479
|
+
var DETECT_ANCHORING_BIAS = {
|
|
480
|
+
name: "detect_anchoring_bias",
|
|
481
|
+
description: "Detect old unchallenged beliefs that may anchor reasoning. Like `git log --before` \u2014 finding stale commits that haven't been reviewed. Flags beliefs that were established early and have not received new evidence or challenge.",
|
|
482
|
+
parameters: {
|
|
483
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
484
|
+
projectId: {
|
|
485
|
+
type: "string",
|
|
486
|
+
description: "Deprecated legacy alias for topic scope"
|
|
487
|
+
},
|
|
488
|
+
staleThresholdDays: {
|
|
489
|
+
type: "number",
|
|
490
|
+
description: "Days without new evidence to flag as anchored (default: 30)"
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
required: ["topicId"],
|
|
494
|
+
response: {
|
|
495
|
+
description: "Potentially anchored beliefs",
|
|
496
|
+
fields: {
|
|
497
|
+
beliefs: "array \u2014 { nodeId, canonicalText, daysSinceLastEvidence, originalConfidence, currentConfidence }",
|
|
498
|
+
riskLevel: "string \u2014 overall anchoring risk"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
ownerModule: "graph-search",
|
|
502
|
+
ontologyPrimitive: "belief",
|
|
503
|
+
tier: "sdk-only"
|
|
504
|
+
};
|
|
505
|
+
var DETECT_SOURCE_CONCENTRATION = {
|
|
506
|
+
name: "detect_source_concentration",
|
|
507
|
+
description: "Detect single-source evidence risk across beliefs. Like `git shortlog` showing only one contributor \u2014 identifies beliefs where all supporting evidence comes from a single source or methodology.",
|
|
508
|
+
parameters: {
|
|
509
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
510
|
+
projectId: {
|
|
511
|
+
type: "string",
|
|
512
|
+
description: "Deprecated legacy alias for topic scope"
|
|
513
|
+
},
|
|
514
|
+
concentrationThreshold: {
|
|
515
|
+
type: "number",
|
|
516
|
+
description: "Max acceptable single-source ratio (0-1, default: 0.8)"
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
required: ["topicId"],
|
|
520
|
+
response: {
|
|
521
|
+
description: "Source concentration analysis",
|
|
522
|
+
fields: {
|
|
523
|
+
beliefs: "array \u2014 { nodeId, canonicalText, dominantSource, concentrationRatio, uniqueSourceCount }",
|
|
524
|
+
highRiskCount: "number"
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
ownerModule: "graph-search",
|
|
528
|
+
ontologyPrimitive: "evidence",
|
|
529
|
+
tier: "sdk-only"
|
|
530
|
+
};
|
|
531
|
+
var FIND_SOFT_CONTRADICTIONS = {
|
|
532
|
+
name: "find_soft_contradictions",
|
|
533
|
+
description: "Detect semantic and embedding-level contradictions not flagged by explicit contradiction objects. Like `git diff --word-diff` for subtle conflicts \u2014 finds beliefs that are semantically in tension even though no formal contradiction has been flagged.",
|
|
534
|
+
parameters: {
|
|
535
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
536
|
+
projectId: {
|
|
537
|
+
type: "string",
|
|
538
|
+
description: "Deprecated legacy alias for topic scope"
|
|
539
|
+
},
|
|
540
|
+
similarityThreshold: {
|
|
541
|
+
type: "number",
|
|
542
|
+
description: "Semantic similarity for contradiction detection (0-1, default: 0.7)"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
required: ["topicId"],
|
|
546
|
+
response: {
|
|
547
|
+
description: "Soft contradiction pairs",
|
|
548
|
+
fields: {
|
|
549
|
+
pairs: "array \u2014 { beliefA, beliefB, tensionScore, tensionDescription }",
|
|
550
|
+
totalPairs: "number"
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
ownerModule: "graph-search",
|
|
554
|
+
ontologyPrimitive: "belief",
|
|
555
|
+
tier: "sdk-only"
|
|
556
|
+
};
|
|
557
|
+
var FIND_SEMANTIC_BRIDGES = {
|
|
558
|
+
name: "find_semantic_bridges",
|
|
559
|
+
description: "Find semantically similar but graph-distant nodes. Like `git cherry` \u2014 finding equivalent commits across branches that aren't connected. Identifies nodes that share semantic meaning but have no graph edges between them.",
|
|
560
|
+
parameters: {
|
|
561
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
562
|
+
projectId: {
|
|
563
|
+
type: "string",
|
|
564
|
+
description: "Deprecated legacy alias for topic scope"
|
|
565
|
+
},
|
|
566
|
+
minSemanticSimilarity: {
|
|
567
|
+
type: "number",
|
|
568
|
+
description: "Minimum embedding similarity (0-1, default: 0.75)"
|
|
569
|
+
},
|
|
570
|
+
minGraphDistance: {
|
|
571
|
+
type: "number",
|
|
572
|
+
description: "Minimum graph hops to qualify as distant (default: 3)"
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
required: ["topicId"],
|
|
576
|
+
response: {
|
|
577
|
+
description: "Potential bridge pairs",
|
|
578
|
+
fields: {
|
|
579
|
+
bridges: "array \u2014 { nodeA, nodeB, semanticSimilarity, graphDistance, suggestedEdgeType }",
|
|
580
|
+
totalBridges: "number"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
ownerModule: "graph-search",
|
|
584
|
+
ontologyPrimitive: "graph",
|
|
585
|
+
tier: "sdk-only"
|
|
586
|
+
};
|
|
587
|
+
var FIND_SEMANTIC_ORPHANS = {
|
|
588
|
+
name: "find_semantic_orphans",
|
|
589
|
+
description: "Find structurally connected but semantically distant nodes. Like `git fsck --lost-found` \u2014 nodes that are technically connected in the graph but semantically don't belong, possibly indicating miscategorization or stale edges.",
|
|
590
|
+
parameters: {
|
|
591
|
+
topicId: { type: "string", description: "Topic scope" },
|
|
592
|
+
projectId: {
|
|
593
|
+
type: "string",
|
|
594
|
+
description: "Deprecated legacy alias for topic scope"
|
|
595
|
+
},
|
|
596
|
+
maxSemanticSimilarity: {
|
|
597
|
+
type: "number",
|
|
598
|
+
description: "Maximum similarity to qualify as orphan (0-1, default: 0.3)"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
required: ["topicId"],
|
|
602
|
+
response: {
|
|
603
|
+
description: "Semantic orphan nodes",
|
|
604
|
+
fields: {
|
|
605
|
+
orphans: "array \u2014 { nodeId, connectedTo, semanticSimilarity, edgeType, suggestedAction }",
|
|
606
|
+
totalOrphans: "number"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
ownerModule: "graph-search",
|
|
610
|
+
ontologyPrimitive: "graph",
|
|
611
|
+
tier: "sdk-only"
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
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 };
|
|
615
|
+
//# sourceMappingURL=sdk-tools.contract.analytics.js.map
|
|
616
|
+
//# sourceMappingURL=sdk-tools.contract.analytics.js.map
|