@lucern/contracts 0.1.2-alpha.5 → 0.3.0-alpha.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/dist/defineFunction-DO97DKs4.d.ts +14 -0
- package/dist/defineTable-CBQ03FXl.d.ts +36 -0
- package/dist/dsl-BgpoVOVQ.d.ts +110 -0
- package/dist/dsl.d.ts +5 -0
- package/dist/dsl.js +678 -0
- package/dist/dsl.js.map +1 -0
- package/dist/function-registry/beliefs.d.ts +479 -0
- package/dist/function-registry/beliefs.js +4677 -0
- package/dist/function-registry/beliefs.js.map +1 -0
- package/dist/function-registry/coding.d.ts +323 -0
- package/dist/function-registry/coding.js +4451 -0
- package/dist/function-registry/coding.js.map +1 -0
- package/dist/function-registry/context.d.ts +206 -0
- package/dist/function-registry/context.js +4336 -0
- package/dist/function-registry/context.js.map +1 -0
- package/dist/function-registry/contracts.d.ts +206 -0
- package/dist/function-registry/contracts.js +4284 -0
- package/dist/function-registry/contracts.js.map +1 -0
- package/dist/function-registry/coordination.d.ts +440 -0
- package/dist/function-registry/coordination.js +4405 -0
- package/dist/function-registry/coordination.js.map +1 -0
- package/dist/function-registry/edges.d.ts +167 -0
- package/dist/function-registry/edges.js +4425 -0
- package/dist/function-registry/edges.js.map +1 -0
- package/dist/function-registry/evidence.d.ts +401 -0
- package/dist/function-registry/evidence.js +4598 -0
- package/dist/function-registry/evidence.js.map +1 -0
- package/dist/function-registry/graph.d.ts +596 -0
- package/dist/function-registry/graph.js +4489 -0
- package/dist/function-registry/graph.js.map +1 -0
- package/dist/function-registry/helpers.d.ts +84 -0
- package/dist/function-registry/helpers.js +4280 -0
- package/dist/function-registry/helpers.js.map +1 -0
- package/dist/function-registry/identity.d.ts +206 -0
- package/dist/function-registry/identity.js +4295 -0
- package/dist/function-registry/identity.js.map +1 -0
- package/dist/function-registry/index.d.ts +32 -0
- package/dist/function-registry/index.js +4384 -0
- package/dist/function-registry/index.js.map +1 -0
- package/dist/function-registry/judgments.d.ts +167 -0
- package/dist/function-registry/judgments.js +4308 -0
- package/dist/function-registry/judgments.js.map +1 -0
- package/dist/function-registry/legacy.d.ts +128 -0
- package/dist/function-registry/legacy.js +4259 -0
- package/dist/function-registry/legacy.js.map +1 -0
- package/dist/function-registry/lenses.d.ts +245 -0
- package/dist/function-registry/lenses.js +4343 -0
- package/dist/function-registry/lenses.js.map +1 -0
- package/dist/function-registry/manifest.d.ts +36 -0
- package/dist/function-registry/manifest.js +367 -0
- package/dist/function-registry/manifest.js.map +1 -0
- package/dist/function-registry/ontologies.d.ts +518 -0
- package/dist/function-registry/ontologies.js +4442 -0
- package/dist/function-registry/ontologies.js.map +1 -0
- package/dist/function-registry/pipeline.d.ts +206 -0
- package/dist/function-registry/pipeline.js +4295 -0
- package/dist/function-registry/pipeline.js.map +1 -0
- package/dist/function-registry/questions.d.ts +557 -0
- package/dist/function-registry/questions.js +4528 -0
- package/dist/function-registry/questions.js.map +1 -0
- package/dist/function-registry/tasks.d.ts +245 -0
- package/dist/function-registry/tasks.js +4373 -0
- package/dist/function-registry/tasks.js.map +1 -0
- package/dist/function-registry/topics.d.ts +284 -0
- package/dist/function-registry/topics.js +4350 -0
- package/dist/function-registry/topics.js.map +1 -0
- package/dist/function-registry/types.d.ts +84 -0
- package/dist/function-registry/types.js +3 -0
- package/dist/function-registry/types.js.map +1 -0
- package/dist/function-registry/worktrees.d.ts +479 -0
- package/dist/function-registry/worktrees.js +4522 -0
- package/dist/function-registry/worktrees.js.map +1 -0
- package/dist/generated/convexSchemas.d.ts +20 -0
- package/dist/generated/convexSchemas.js +161 -0
- package/dist/generated/convexSchemas.js.map +1 -0
- package/dist/generated/schema-manifest.json +5231 -0
- package/dist/generated/tableOwnership.d.ts +128 -0
- package/dist/generated/tableOwnership.js +278 -0
- package/dist/generated/tableOwnership.js.map +1 -0
- package/dist/generated/tier-expectations.json +363 -0
- package/dist/idOf-DR8tkhQS.d.ts +10 -0
- package/dist/index-CV-0_VWJ.d.ts +25 -0
- package/dist/index.d.ts +421 -2
- package/dist/index.js +7634 -1607
- package/dist/index.js.map +1 -1
- package/dist/schema-helpers/enumValidation.d.ts +17 -0
- package/dist/schema-helpers/enumValidation.js +143 -0
- package/dist/schema-helpers/enumValidation.js.map +1 -0
- package/dist/schema-helpers/spine/nodes/decision.d.ts +19 -0
- package/dist/schema-helpers/spine/nodes/decision.js +81 -0
- package/dist/schema-helpers/spine/nodes/decision.js.map +1 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.d.ts +9 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.js +62 -0
- package/dist/schema-helpers/spine/tables/epistemicNodes.js.map +1 -0
- package/dist/schema-helpers/topicIds.d.ts +17 -0
- package/dist/schema-helpers/topicIds.js +21 -0
- package/dist/schema-helpers/topicIds.js.map +1 -0
- package/dist/schema-helpers/topicLegacyScope.d.ts +19 -0
- package/dist/schema-helpers/topicLegacyScope.js +44 -0
- package/dist/schema-helpers/topicLegacyScope.js.map +1 -0
- package/dist/schema-helpers/validators.d.ts +8 -0
- package/dist/schema-helpers/validators.js +18 -0
- package/dist/schema-helpers/validators.js.map +1 -0
- package/dist/schemas/component-table-manifest.d.ts +74 -0
- package/dist/schemas/component-table-manifest.js +26 -0
- package/dist/schemas/component-table-manifest.js.map +1 -0
- package/dist/schemas/enums.d.ts +12 -0
- package/dist/schemas/enums.js +11 -0
- package/dist/schemas/enums.js.map +1 -0
- package/dist/schemas/index.d.ts +7 -0
- package/dist/schemas/index.js +4298 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/manifest.d.ts +24586 -0
- package/dist/schemas/manifest.js +4269 -0
- package/dist/schemas/manifest.js.map +1 -0
- package/dist/schemas/sl-opinion.d.ts +31 -0
- package/dist/schemas/sl-opinion.js +19 -0
- package/dist/schemas/sl-opinion.js.map +1 -0
- package/dist/schemas/tables/identity/agent.d.ts +21 -0
- package/dist/schemas/tables/identity/agent.js +41 -0
- package/dist/schemas/tables/identity/agent.js.map +1 -0
- package/dist/schemas/tables/identity/epistemic.d.ts +18 -0
- package/dist/schemas/tables/identity/epistemic.js +38 -0
- package/dist/schemas/tables/identity/epistemic.js.map +1 -0
- package/dist/schemas/tables/identity/model.d.ts +62 -0
- package/dist/schemas/tables/identity/model.js +110 -0
- package/dist/schemas/tables/identity/model.js.map +1 -0
- package/dist/schemas/tables/identity/platform.d.ts +392 -0
- package/dist/schemas/tables/identity/platform.js +475 -0
- package/dist/schemas/tables/identity/platform.js.map +1 -0
- package/dist/schemas/tables/identity/project.d.ts +22 -0
- package/dist/schemas/tables/identity/project.js +48 -0
- package/dist/schemas/tables/identity/project.js.map +1 -0
- package/dist/schemas/tables/identity/user.d.ts +26 -0
- package/dist/schemas/tables/identity/user.js +47 -0
- package/dist/schemas/tables/identity/user.js.map +1 -0
- package/dist/schemas/tables/kernel/config.d.ts +20 -0
- package/dist/schemas/tables/kernel/config.js +39 -0
- package/dist/schemas/tables/kernel/config.js.map +1 -0
- package/dist/schemas/tables/kernel/coordination.d.ts +30 -0
- package/dist/schemas/tables/kernel/coordination.js +57 -0
- package/dist/schemas/tables/kernel/coordination.js.map +1 -0
- package/dist/schemas/tables/kernel/decision.d.ts +246 -0
- package/dist/schemas/tables/kernel/decision.js +371 -0
- package/dist/schemas/tables/kernel/decision.js.map +1 -0
- package/dist/schemas/tables/kernel/embedding.d.ts +18 -0
- package/dist/schemas/tables/kernel/embedding.js +48 -0
- package/dist/schemas/tables/kernel/embedding.js.map +1 -0
- package/dist/schemas/tables/kernel/epistemic.d.ts +317 -0
- package/dist/schemas/tables/kernel/epistemic.js +329 -0
- package/dist/schemas/tables/kernel/epistemic.js.map +1 -0
- package/dist/schemas/tables/kernel/idempotency.d.ts +13 -0
- package/dist/schemas/tables/kernel/idempotency.js +31 -0
- package/dist/schemas/tables/kernel/idempotency.js.map +1 -0
- package/dist/schemas/tables/kernel/infra.d.ts +183 -0
- package/dist/schemas/tables/kernel/infra.js +182 -0
- package/dist/schemas/tables/kernel/infra.js.map +1 -0
- package/dist/schemas/tables/kernel/intelligence.d.ts +293 -0
- package/dist/schemas/tables/kernel/intelligence.js +207 -0
- package/dist/schemas/tables/kernel/intelligence.js.map +1 -0
- package/dist/schemas/tables/kernel/lens.d.ts +192 -0
- package/dist/schemas/tables/kernel/lens.js +122 -0
- package/dist/schemas/tables/kernel/lens.js.map +1 -0
- package/dist/schemas/tables/kernel/ontology.d.ts +89 -0
- package/dist/schemas/tables/kernel/ontology.js +91 -0
- package/dist/schemas/tables/kernel/ontology.js.map +1 -0
- package/dist/schemas/tables/kernel/platform.d.ts +353 -0
- package/dist/schemas/tables/kernel/platform.js +349 -0
- package/dist/schemas/tables/kernel/platform.js.map +1 -0
- package/dist/schemas/tables/kernel/spine.d.ts +206 -0
- package/dist/schemas/tables/kernel/spine.js +243 -0
- package/dist/schemas/tables/kernel/spine.js.map +1 -0
- package/dist/schemas/tables/kernel/task.d.ts +614 -0
- package/dist/schemas/tables/kernel/task.js +189 -0
- package/dist/schemas/tables/kernel/task.js.map +1 -0
- package/dist/schemas/tables/kernel/topic.d.ts +25 -0
- package/dist/schemas/tables/kernel/topic.js +62 -0
- package/dist/schemas/tables/kernel/topic.js.map +1 -0
- package/dist/schemas/tables/kernel/workflow.d.ts +45 -0
- package/dist/schemas/tables/kernel/workflow.js +94 -0
- package/dist/schemas/tables/kernel/workflow.js.map +1 -0
- package/dist/schemas/tables/kernel/worktree.d.ts +823 -0
- package/dist/schemas/tables/kernel/worktree.js +330 -0
- package/dist/schemas/tables/kernel/worktree.js.map +1 -0
- package/dist/schemas/tables/mc/identity.d.ts +134 -0
- package/dist/schemas/tables/mc/identity.js +221 -0
- package/dist/schemas/tables/mc/identity.js.map +1 -0
- package/dist/schemas/tables/mc/methodology.d.ts +46 -0
- package/dist/schemas/tables/mc/methodology.js +69 -0
- package/dist/schemas/tables/mc/methodology.js.map +1 -0
- package/dist/schemas/tables/mc/pack.d.ts +540 -0
- package/dist/schemas/tables/mc/pack.js +294 -0
- package/dist/schemas/tables/mc/pack.js.map +1 -0
- package/dist/schemas/tables/mc/policy.d.ts +57 -0
- package/dist/schemas/tables/mc/policy.js +121 -0
- package/dist/schemas/tables/mc/policy.js.map +1 -0
- package/dist/schemas/tables/mc/registry.d.ts +155 -0
- package/dist/schemas/tables/mc/registry.js +164 -0
- package/dist/schemas/tables/mc/registry.js.map +1 -0
- package/dist/schemas/tables/mc/runtime.d.ts +119 -0
- package/dist/schemas/tables/mc/runtime.js +199 -0
- package/dist/schemas/tables/mc/runtime.js.map +1 -0
- package/dist/schemas/tables/mc/tenant.d.ts +106 -0
- package/dist/schemas/tables/mc/tenant.js +114 -0
- package/dist/schemas/tables/mc/tenant.js.map +1 -0
- package/dist/schemas/tables/mc/workspace.d.ts +28 -0
- package/dist/schemas/tables/mc/workspace.js +52 -0
- package/dist/schemas/tables/mc/workspace.js.map +1 -0
- package/dist/sdk-methods.contract.d.ts +5 -2
- package/dist/{sdk-tools.contract-BnV0hKLp.d.ts → sdk-tools.contract-S4ia0TTo.d.ts} +3 -7
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +810 -218
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tool-contracts-C92-9ueT.d.ts +290 -0
- package/dist/tool-contracts.d.ts +1 -0
- package/dist/{mcp-tools.contract.js → tool-contracts.js} +812 -159
- package/dist/tool-contracts.js.map +1 -0
- package/dist/workflow-runtime.contract.js +1 -1
- package/dist/workflow-runtime.contract.js.map +1 -1
- package/package.json +137 -2
- package/dist/mcp-tools.contract-D8kXcP6d.d.ts +0 -254
- package/dist/mcp-tools.contract.d.ts +0 -1
- package/dist/mcp-tools.contract.js.map +0 -1
|
@@ -7,19 +7,22 @@ var LENS_PERSPECTIVE_TYPES = [
|
|
|
7
7
|
"taxonomy"
|
|
8
8
|
];
|
|
9
9
|
|
|
10
|
-
// src/
|
|
10
|
+
// src/tool-contracts.ts
|
|
11
11
|
var CREATE_BELIEF = {
|
|
12
12
|
name: "create_belief",
|
|
13
|
-
description: "Commit a new belief (knowledge unit) to the reasoning graph. Like `git commit` \u2014 creates an atomic, traceable knowledge object with a
|
|
13
|
+
description: "Commit a new belief (knowledge unit) to the reasoning graph. Like `git commit` \u2014 creates an atomic, traceable knowledge object with a prior. Creation stores the vacuous opinion `(0, 0, 1, a)`; use modulate_confidence to record the first evidential update.",
|
|
14
14
|
parameters: {
|
|
15
15
|
canonicalText: {
|
|
16
16
|
type: "string",
|
|
17
17
|
description: "The belief statement \u2014 what the agent holds to be true"
|
|
18
18
|
},
|
|
19
|
-
topicId: {
|
|
19
|
+
topicId: {
|
|
20
|
+
type: "string",
|
|
21
|
+
description: "Optional topic scope hint for the belief"
|
|
22
|
+
},
|
|
20
23
|
baseRate: {
|
|
21
24
|
type: "number",
|
|
22
|
-
description: "
|
|
25
|
+
description: "Prior probability used to seed the vacuous opinion `(0, 0, 1, a)` at creation time. Defaults to 0.5 when omitted."
|
|
23
26
|
},
|
|
24
27
|
beliefType: {
|
|
25
28
|
type: "string",
|
|
@@ -30,7 +33,7 @@ var CREATE_BELIEF = {
|
|
|
30
33
|
description: "Optional extra metadata merged into the node (e.g., { codeAnchors: ['path/to/file.ts'] } for coding intelligence)"
|
|
31
34
|
}
|
|
32
35
|
},
|
|
33
|
-
required: ["canonicalText"
|
|
36
|
+
required: ["canonicalText"],
|
|
34
37
|
response: {
|
|
35
38
|
description: "The created canonical belief record",
|
|
36
39
|
fields: {
|
|
@@ -93,7 +96,7 @@ var REFINE_BELIEF = {
|
|
|
93
96
|
};
|
|
94
97
|
var MODULATE_CONFIDENCE = {
|
|
95
98
|
name: "modulate_confidence",
|
|
96
|
-
description: "Record a confidence change for a belief. Like `git commit` to the credence log \u2014 an atomic, append-only write. Each modulation is a new entry in the history, not an overwrite. Scoring happens via merge; this tool records the individual data points. Pass the full subjective-logic tuple (`belief`, `disbelief`, `uncertainty`, `baseRate`) directly. If a caller only has a scalar probability, use `@lucern/sdk` helpers `opinionFromBaseRate`, `opinionFromDogmatic`, or `opinionFromProjected` to name the intended interpretation before calling this tool. Triggers: evidence_added, evidence_removed, contradiction_detected, contradiction_resolved, agent_assessment, worktree_outcome, worktree_completed, fusion, discount, deduction
|
|
99
|
+
description: "Record a confidence change for a belief. Like `git commit` to the credence log \u2014 an atomic, append-only write. Each modulation is a new entry in the history, not an overwrite. Scoring happens via merge; this tool records the individual data points. Pass the full subjective-logic tuple (`belief`, `disbelief`, `uncertainty`, `baseRate`) directly. If a caller only has a scalar probability, use `@lucern/sdk` helpers `opinionFromBaseRate`, `opinionFromDogmatic`, or `opinionFromProjected` to name the intended interpretation before calling this tool. Every modulation must cite a truth-bearing artifact: triggeringEvidenceId, triggeringQuestionId, triggeringAnswerId, triggeringContradictionId, or triggeringWorktreeId. Triggers: evidence_added, evidence_removed, contradiction_detected, contradiction_resolved, agent_assessment, worktree_outcome, worktree_completed, fusion, discount, deduction.",
|
|
97
100
|
parameters: {
|
|
98
101
|
nodeId: { type: "string", description: "The belief to score" },
|
|
99
102
|
belief: {
|
|
@@ -112,9 +115,9 @@ var MODULATE_CONFIDENCE = {
|
|
|
112
115
|
type: "number",
|
|
113
116
|
description: "Subjective-logic base rate `a` in [0, 1]. Required for tuple payloads."
|
|
114
117
|
},
|
|
115
|
-
|
|
116
|
-
type: "
|
|
117
|
-
description: "
|
|
118
|
+
worktreeId: {
|
|
119
|
+
type: "string",
|
|
120
|
+
description: "Completed worktree that tested this belief when confidence policy requires merge-backed scoring."
|
|
118
121
|
},
|
|
119
122
|
trigger: {
|
|
120
123
|
type: "string",
|
|
@@ -129,17 +132,43 @@ var MODULATE_CONFIDENCE = {
|
|
|
129
132
|
"worktree_completed",
|
|
130
133
|
"fusion",
|
|
131
134
|
"discount",
|
|
132
|
-
"deduction"
|
|
133
|
-
"manual",
|
|
134
|
-
"decay"
|
|
135
|
+
"deduction"
|
|
135
136
|
]
|
|
136
137
|
},
|
|
138
|
+
triggeringEvidenceId: {
|
|
139
|
+
type: "string",
|
|
140
|
+
description: "Evidence node that caused an evidence-triggered modulation"
|
|
141
|
+
},
|
|
142
|
+
triggeringQuestionId: {
|
|
143
|
+
type: "string",
|
|
144
|
+
description: "Answered question whose resolution supports this modulation"
|
|
145
|
+
},
|
|
146
|
+
triggeringAnswerId: {
|
|
147
|
+
type: "string",
|
|
148
|
+
description: "Answer node whose content supports this modulation"
|
|
149
|
+
},
|
|
150
|
+
triggeringContradictionId: {
|
|
151
|
+
type: "string",
|
|
152
|
+
description: "Contradiction record that caused a contradiction-triggered modulation"
|
|
153
|
+
},
|
|
154
|
+
triggeringWorktreeId: {
|
|
155
|
+
type: "string",
|
|
156
|
+
description: "Completed worktree whose outcome caused a worktree-triggered modulation"
|
|
157
|
+
},
|
|
137
158
|
rationale: {
|
|
138
159
|
type: "string",
|
|
139
160
|
description: "Human-readable explanation of why confidence changed"
|
|
140
161
|
}
|
|
141
162
|
},
|
|
142
|
-
required: [
|
|
163
|
+
required: [
|
|
164
|
+
"nodeId",
|
|
165
|
+
"belief",
|
|
166
|
+
"disbelief",
|
|
167
|
+
"uncertainty",
|
|
168
|
+
"baseRate",
|
|
169
|
+
"trigger",
|
|
170
|
+
"rationale"
|
|
171
|
+
],
|
|
143
172
|
response: {
|
|
144
173
|
description: "Confidence modulation result",
|
|
145
174
|
fields: {
|
|
@@ -302,7 +331,7 @@ var ADD_EVIDENCE = {
|
|
|
302
331
|
description: "Commit evidence to the reasoning graph and attach it to a belief. Like `git add && git commit` \u2014 an atomic write that creates a traceable evidence object. Weight ranges from -1.0 (contradicts) to +1.0 (strongly supports). Evidence is always context-bound: tied to its source, the time it was captured, and the belief it informs.",
|
|
303
332
|
parameters: {
|
|
304
333
|
canonicalText: { type: "string", description: "The evidence statement" },
|
|
305
|
-
topicId: { type: "string", description: "
|
|
334
|
+
topicId: { type: "string", description: "Optional topic scope hint" },
|
|
306
335
|
sourceUrl: { type: "string", description: "URL of the source material" },
|
|
307
336
|
targetNodeId: {
|
|
308
337
|
type: "string",
|
|
@@ -333,7 +362,7 @@ var ADD_EVIDENCE = {
|
|
|
333
362
|
description: "Optional extra metadata merged into the node (e.g., { codeAnchors: ['path/to/file.ts'], failedApproach: true } for coding intelligence)"
|
|
334
363
|
}
|
|
335
364
|
},
|
|
336
|
-
required: ["canonicalText", "
|
|
365
|
+
required: ["canonicalText", "targetNodeId", "reasoning"],
|
|
337
366
|
response: {
|
|
338
367
|
description: "The created evidence node and its edge",
|
|
339
368
|
fields: {
|
|
@@ -363,14 +392,14 @@ var FLAG_CONTRADICTION = {
|
|
|
363
392
|
description: "How serious the contradiction is",
|
|
364
393
|
enum: ["low", "medium", "high", "critical"]
|
|
365
394
|
},
|
|
366
|
-
topicId: { type: "string", description: "
|
|
395
|
+
topicId: { type: "string", description: "Optional topic scope hint" },
|
|
367
396
|
defeatType: {
|
|
368
397
|
type: "string",
|
|
369
398
|
description: "Pollock defeat classification: rebuts (direct contradiction), undercuts (attacks the inferential link), undermines (attacks a premise)",
|
|
370
399
|
enum: ["rebuts", "undercuts", "undermines"]
|
|
371
400
|
}
|
|
372
401
|
},
|
|
373
|
-
required: ["beliefA", "beliefB", "description"
|
|
402
|
+
required: ["beliefA", "beliefB", "description"],
|
|
374
403
|
response: {
|
|
375
404
|
description: "The created contradiction object",
|
|
376
405
|
fields: {
|
|
@@ -389,7 +418,7 @@ var ADD_WORKTREE = {
|
|
|
389
418
|
description: "Check out a branch into an active worktree for investigation. Like `git worktree add <branch>` \u2014 creates independent working state on a thematic branch. Beliefs committed within the worktree can be freely amended (draft code on a feature branch). When investigation is complete, `merge` integrates findings into main.",
|
|
390
419
|
parameters: {
|
|
391
420
|
title: { type: "string", description: "Worktree name/objective" },
|
|
392
|
-
topicId: { type: "string", description: "
|
|
421
|
+
topicId: { type: "string", description: "Optional topic scope hint" },
|
|
393
422
|
branchId: {
|
|
394
423
|
type: "string",
|
|
395
424
|
description: "The branch this worktree investigates"
|
|
@@ -414,9 +443,21 @@ var ADD_WORKTREE = {
|
|
|
414
443
|
type: "string",
|
|
415
444
|
description: "Optional domain pack whose shaping hooks should influence generated questions and tasks"
|
|
416
445
|
},
|
|
417
|
-
|
|
446
|
+
campaign: {
|
|
418
447
|
type: "number",
|
|
419
|
-
description: "
|
|
448
|
+
description: "Top-level pipeline campaign number. Campaigns define the outer execution slice."
|
|
449
|
+
},
|
|
450
|
+
lane: {
|
|
451
|
+
type: "string",
|
|
452
|
+
description: "GitButler-aligned workstream lane name inside the campaign."
|
|
453
|
+
},
|
|
454
|
+
laneOrderInCampaign: {
|
|
455
|
+
type: "number",
|
|
456
|
+
description: "Ordering for this lane within its campaign."
|
|
457
|
+
},
|
|
458
|
+
orderInLane: {
|
|
459
|
+
type: "number",
|
|
460
|
+
description: "Position of this worktree inside its lane."
|
|
420
461
|
},
|
|
421
462
|
dependsOn: {
|
|
422
463
|
type: "array",
|
|
@@ -648,44 +689,6 @@ var SEARCH_BELIEFS = {
|
|
|
648
689
|
ontologyPrimitive: "belief",
|
|
649
690
|
tier: "workhorse"
|
|
650
691
|
};
|
|
651
|
-
var SEARCH_RESOURCES = {
|
|
652
|
-
name: "search_resources",
|
|
653
|
-
description: "Search beliefs, evidence, and questions in one cross-resource call. Like `git grep` across the reasoning stack \u2014 returns one ranked payload with grouped hits by resource type.",
|
|
654
|
-
parameters: {
|
|
655
|
-
q: { type: "string", description: "Search query" },
|
|
656
|
-
topicId: { type: "string", description: "Topic scope" },
|
|
657
|
-
types: {
|
|
658
|
-
type: "array",
|
|
659
|
-
description: "Optional resource filters: belief, evidence, question"
|
|
660
|
-
},
|
|
661
|
-
status: {
|
|
662
|
-
type: "string",
|
|
663
|
-
description: "Optional belief/question status filter"
|
|
664
|
-
},
|
|
665
|
-
minConfidence: {
|
|
666
|
-
type: "number",
|
|
667
|
-
description: "Optional minimum belief confidence threshold"
|
|
668
|
-
},
|
|
669
|
-
limit: { type: "number", description: "Maximum results (default: 25)" },
|
|
670
|
-
cursor: { type: "string", description: "Optional pagination cursor" }
|
|
671
|
-
},
|
|
672
|
-
required: ["q", "topicId"],
|
|
673
|
-
response: {
|
|
674
|
-
description: "Canonical cross-resource search payload",
|
|
675
|
-
fields: {
|
|
676
|
-
q: "string \u2014 echoed query text",
|
|
677
|
-
topicId: "string \u2014 canonical topic scope",
|
|
678
|
-
types: "array \u2014 the resource types included in the search",
|
|
679
|
-
results: "array \u2014 ranked mixed resource hits",
|
|
680
|
-
beliefs: "array \u2014 grouped belief hits",
|
|
681
|
-
evidence: "array \u2014 grouped evidence hits",
|
|
682
|
-
questions: "array \u2014 grouped question hits"
|
|
683
|
-
}
|
|
684
|
-
},
|
|
685
|
-
ownerModule: "graph-search",
|
|
686
|
-
ontologyPrimitive: "graph",
|
|
687
|
-
tier: "workhorse"
|
|
688
|
-
};
|
|
689
692
|
var FIND_CONTRADICTIONS = {
|
|
690
693
|
name: "find_contradictions",
|
|
691
694
|
description: "Find contradictions in the reasoning graph \u2014 beliefs that are in tension with each other. Like a merge conflict in `git` \u2014 surfaces incompatible states that require explicit resolution. Contradictions are first-class objects that may remain permanently unresolved. They can block judgments, trigger forks, or collapse confidence. Filter by project, status (unresolved, resolved, accepted), and severity.",
|
|
@@ -772,7 +775,7 @@ var RECORD_JUDGMENT = {
|
|
|
772
775
|
description: "Confidence in the judgment (0-1)"
|
|
773
776
|
}
|
|
774
777
|
},
|
|
775
|
-
required: ["title", "rationale"
|
|
778
|
+
required: ["title", "rationale"],
|
|
776
779
|
response: {
|
|
777
780
|
description: "The recorded judgment",
|
|
778
781
|
fields: {
|
|
@@ -837,7 +840,7 @@ var CREATE_LENS = {
|
|
|
837
840
|
status: "string \u2014 'active'"
|
|
838
841
|
}
|
|
839
842
|
},
|
|
840
|
-
ownerModule: "
|
|
843
|
+
ownerModule: "reasoning-kernel",
|
|
841
844
|
ontologyPrimitive: "lens",
|
|
842
845
|
tier: "showcase"
|
|
843
846
|
};
|
|
@@ -871,7 +874,7 @@ var LIST_LENSES = {
|
|
|
871
874
|
lenses: "array \u2014 each item includes lensId, name, workspaceId, perspectiveType, status, and optional isAppliedToTopic"
|
|
872
875
|
}
|
|
873
876
|
},
|
|
874
|
-
ownerModule: "
|
|
877
|
+
ownerModule: "reasoning-kernel",
|
|
875
878
|
ontologyPrimitive: "lens",
|
|
876
879
|
tier: "workhorse"
|
|
877
880
|
};
|
|
@@ -892,7 +895,7 @@ var APPLY_LENS_TO_TOPIC = {
|
|
|
892
895
|
status: "string \u2014 'active'"
|
|
893
896
|
}
|
|
894
897
|
},
|
|
895
|
-
ownerModule: "
|
|
898
|
+
ownerModule: "reasoning-kernel",
|
|
896
899
|
ontologyPrimitive: "lens",
|
|
897
900
|
tier: "workhorse"
|
|
898
901
|
};
|
|
@@ -913,7 +916,7 @@ var REMOVE_LENS_FROM_TOPIC = {
|
|
|
913
916
|
status: "string \u2014 'removed'"
|
|
914
917
|
}
|
|
915
918
|
},
|
|
916
|
-
ownerModule: "
|
|
919
|
+
ownerModule: "reasoning-kernel",
|
|
917
920
|
ontologyPrimitive: "lens",
|
|
918
921
|
tier: "workhorse"
|
|
919
922
|
};
|
|
@@ -1068,50 +1071,6 @@ var GET_FALSIFICATION_QUESTIONS = {
|
|
|
1068
1071
|
ontologyPrimitive: "question",
|
|
1069
1072
|
tier: "showcase"
|
|
1070
1073
|
};
|
|
1071
|
-
var SEARCH_SOURCES = {
|
|
1072
|
-
name: "search_sources",
|
|
1073
|
-
description: "Search and ingest external sources into the knowledge graph. Like `git fetch` \u2014 pulls information from external sources (web, documents, APIs) and stages it for evidence creation. Does not commit \u2014 you decide what becomes evidence.",
|
|
1074
|
-
parameters: {
|
|
1075
|
-
query: { type: "string", description: "Search query" },
|
|
1076
|
-
sources: {
|
|
1077
|
-
type: "array",
|
|
1078
|
-
description: "Source types to search: web, news, academic"
|
|
1079
|
-
}
|
|
1080
|
-
},
|
|
1081
|
-
required: ["query"],
|
|
1082
|
-
response: {
|
|
1083
|
-
description: "Results with source metadata, relevance scores, and suggested evidence",
|
|
1084
|
-
fields: {
|
|
1085
|
-
results: "array \u2014 { title, url, snippet, relevanceScore, suggestedEvidence }"
|
|
1086
|
-
}
|
|
1087
|
-
},
|
|
1088
|
-
ownerModule: "research-engine",
|
|
1089
|
-
ontologyPrimitive: "source",
|
|
1090
|
-
tier: "showcase"
|
|
1091
|
-
};
|
|
1092
|
-
var EXECUTE_DEEP_RESEARCH = {
|
|
1093
|
-
name: "execute_deep_research",
|
|
1094
|
-
description: "Execute multi-source deep research on a topic. Like `git submodule update --recursive` \u2014 launches a comprehensive research agent that searches multiple sources, synthesizes findings, and produces a structured report. Auto-links results to relevant questions and beliefs.",
|
|
1095
|
-
parameters: {
|
|
1096
|
-
query: { type: "string", description: "Research question or topic" },
|
|
1097
|
-
topicId: { type: "string", description: "Topic scope" },
|
|
1098
|
-
depth: {
|
|
1099
|
-
type: "string",
|
|
1100
|
-
description: "Research depth: quick, standard, deep",
|
|
1101
|
-
enum: ["quick", "standard", "deep"]
|
|
1102
|
-
}
|
|
1103
|
-
},
|
|
1104
|
-
required: ["query", "topicId"],
|
|
1105
|
-
response: {
|
|
1106
|
-
description: "Report with findings, sources, auto-linked evidence and questions",
|
|
1107
|
-
fields: {
|
|
1108
|
-
report: "object \u2014 { summary, findings, sources, linkedEvidence, linkedQuestions }"
|
|
1109
|
-
}
|
|
1110
|
-
},
|
|
1111
|
-
ownerModule: "research-engine",
|
|
1112
|
-
ontologyPrimitive: "source",
|
|
1113
|
-
tier: "showcase"
|
|
1114
|
-
};
|
|
1115
1074
|
var SEARCH_EVIDENCE = {
|
|
1116
1075
|
name: "search_evidence",
|
|
1117
1076
|
description: "Search for evidence across the reasoning graph. Like `git grep` \u2014 returns the evidence records that best match a textual query. Results share the same canonical semantics as the HTTP and SDK evidence search surface.",
|
|
@@ -1156,6 +1115,10 @@ var CREATE_EVIDENCE = {
|
|
|
1156
1115
|
type: "object",
|
|
1157
1116
|
description: "Optional metadata merged into the canonical evidence node"
|
|
1158
1117
|
},
|
|
1118
|
+
rationale: {
|
|
1119
|
+
type: "string",
|
|
1120
|
+
description: "Why this evidence should enter the reasoning graph"
|
|
1121
|
+
},
|
|
1159
1122
|
title: { type: "string", description: "Optional short title" },
|
|
1160
1123
|
content: { type: "string", description: "Optional long-form content" },
|
|
1161
1124
|
contentType: {
|
|
@@ -1164,7 +1127,7 @@ var CREATE_EVIDENCE = {
|
|
|
1164
1127
|
},
|
|
1165
1128
|
kind: { type: "string", description: "Optional evidence kind" }
|
|
1166
1129
|
},
|
|
1167
|
-
required: ["
|
|
1130
|
+
required: ["text", "rationale"],
|
|
1168
1131
|
response: {
|
|
1169
1132
|
description: "The created canonical evidence record",
|
|
1170
1133
|
fields: {
|
|
@@ -1212,7 +1175,7 @@ var LIST_EVIDENCE = {
|
|
|
1212
1175
|
limit: { type: "number", description: "Max results" },
|
|
1213
1176
|
cursor: { type: "string", description: "Pagination cursor" }
|
|
1214
1177
|
},
|
|
1215
|
-
required: [],
|
|
1178
|
+
required: ["topicId"],
|
|
1216
1179
|
response: {
|
|
1217
1180
|
description: "Canonical evidence page",
|
|
1218
1181
|
fields: {
|
|
@@ -1285,7 +1248,7 @@ var CREATE_QUESTION = {
|
|
|
1285
1248
|
description: "Commit an investigation question to the reasoning graph. Like `git issue` \u2014 creates a traceable question that drives research and evidence collection. Questions test beliefs and guide worktree investigation.",
|
|
1286
1249
|
parameters: {
|
|
1287
1250
|
text: { type: "string", description: "The question text" },
|
|
1288
|
-
topicId: { type: "string", description: "
|
|
1251
|
+
topicId: { type: "string", description: "Optional topic scope hint" },
|
|
1289
1252
|
priority: {
|
|
1290
1253
|
type: "string",
|
|
1291
1254
|
description: "Priority: urgent, high, medium, low",
|
|
@@ -1300,7 +1263,7 @@ var CREATE_QUESTION = {
|
|
|
1300
1263
|
description: "Optional metadata merged into the question record"
|
|
1301
1264
|
}
|
|
1302
1265
|
},
|
|
1303
|
-
required: ["text"
|
|
1266
|
+
required: ["text"],
|
|
1304
1267
|
response: {
|
|
1305
1268
|
description: "The created canonical question record",
|
|
1306
1269
|
fields: {
|
|
@@ -1397,6 +1360,7 @@ var ANSWER_QUESTION = {
|
|
|
1397
1360
|
description: "Answer a question with optional evidence links. Like `git commit` on the question thread \u2014 records the answer and closes the loop with a canonical answered state.",
|
|
1398
1361
|
parameters: {
|
|
1399
1362
|
id: { type: "string", description: "Canonical question ID" },
|
|
1363
|
+
topicId: { type: "string", description: "Topic scope for the answer" },
|
|
1400
1364
|
text: { type: "string", description: "Answer text" },
|
|
1401
1365
|
confidence: {
|
|
1402
1366
|
type: "string",
|
|
@@ -1409,7 +1373,7 @@ var ANSWER_QUESTION = {
|
|
|
1409
1373
|
},
|
|
1410
1374
|
rationale: { type: "string", description: "Why this answer is credible" }
|
|
1411
1375
|
},
|
|
1412
|
-
required: ["id", "text"],
|
|
1376
|
+
required: ["id", "topicId", "text"],
|
|
1413
1377
|
response: {
|
|
1414
1378
|
description: "Answer result",
|
|
1415
1379
|
fields: {
|
|
@@ -1628,6 +1592,10 @@ var LIST_BELIEFS = {
|
|
|
1628
1592
|
minConfidence: {
|
|
1629
1593
|
type: "number",
|
|
1630
1594
|
description: "Minimum confidence threshold"
|
|
1595
|
+
},
|
|
1596
|
+
limit: {
|
|
1597
|
+
type: "number",
|
|
1598
|
+
description: "Maximum results"
|
|
1631
1599
|
}
|
|
1632
1600
|
},
|
|
1633
1601
|
required: ["topicId"],
|
|
@@ -1644,20 +1612,37 @@ var LIST_BELIEFS = {
|
|
|
1644
1612
|
};
|
|
1645
1613
|
var LIST_WORKTREES = {
|
|
1646
1614
|
name: "list_worktrees",
|
|
1647
|
-
description: "List all worktrees for a topic. Like `git worktree list` \u2014 shows active and completed investigation branches with
|
|
1615
|
+
description: "List all worktrees for a topic. Like `git worktree list` \u2014 shows active and completed investigation branches with lifecycle phase, pipeline campaign/lane, status, and belief counts.",
|
|
1648
1616
|
parameters: {
|
|
1649
1617
|
topicId: { type: "string", description: "Topic scope" },
|
|
1650
1618
|
status: {
|
|
1651
1619
|
type: "string",
|
|
1652
1620
|
description: "Filter: active, merged, abandoned",
|
|
1653
1621
|
enum: ["active", "merged", "abandoned"]
|
|
1622
|
+
},
|
|
1623
|
+
groupBy: {
|
|
1624
|
+
type: "string",
|
|
1625
|
+
description: "Optional grouping mode for the response.",
|
|
1626
|
+
enum: ["campaign", "lane", "flat"]
|
|
1627
|
+
},
|
|
1628
|
+
lane: {
|
|
1629
|
+
type: "string",
|
|
1630
|
+
description: "Filter by GitButler-aligned lane name."
|
|
1631
|
+
},
|
|
1632
|
+
campaign: {
|
|
1633
|
+
type: "number",
|
|
1634
|
+
description: "Filter by top-level pipeline campaign number."
|
|
1635
|
+
},
|
|
1636
|
+
limit: {
|
|
1637
|
+
type: "number",
|
|
1638
|
+
description: "Maximum results to return."
|
|
1654
1639
|
}
|
|
1655
1640
|
},
|
|
1656
1641
|
required: ["topicId"],
|
|
1657
1642
|
response: {
|
|
1658
|
-
description: "Worktrees with phase, status, belief count, and creation time",
|
|
1643
|
+
description: "Worktrees with lifecycle phase, campaign, lane, status, belief count, and creation time",
|
|
1659
1644
|
fields: {
|
|
1660
|
-
worktrees: "array \u2014 { worktreeId, title, phase, status, beliefCount, createdAt }"
|
|
1645
|
+
worktrees: "array \u2014 { worktreeId, title, phase, campaign, lane, laneOrderInCampaign, orderInLane, status, beliefCount, createdAt }"
|
|
1661
1646
|
}
|
|
1662
1647
|
},
|
|
1663
1648
|
ownerModule: "workflow-engine",
|
|
@@ -1666,7 +1651,7 @@ var LIST_WORKTREES = {
|
|
|
1666
1651
|
};
|
|
1667
1652
|
var LIST_ALL_WORKTREES = {
|
|
1668
1653
|
name: "list_all_worktrees",
|
|
1669
|
-
description: "List ALL worktrees across ALL topics in one query. No topic scope required. Like `git worktree list --all` \u2014 returns the complete pipeline inventory with
|
|
1654
|
+
description: "List ALL worktrees across ALL topics in one query. No topic scope required. Like `git worktree list --all` \u2014 returns the complete pipeline inventory with campaign, lane, lane order, dependencies, and status. Supports filtering by status, lane, and campaign. This is the PM's primary pipeline query \u2014 one call, full picture.",
|
|
1670
1655
|
parameters: {
|
|
1671
1656
|
status: {
|
|
1672
1657
|
type: "string",
|
|
@@ -1684,13 +1669,18 @@ var LIST_ALL_WORKTREES = {
|
|
|
1684
1669
|
"dismissed"
|
|
1685
1670
|
]
|
|
1686
1671
|
},
|
|
1687
|
-
|
|
1672
|
+
lane: {
|
|
1688
1673
|
type: "string",
|
|
1689
|
-
description: "Filter by
|
|
1674
|
+
description: "Filter by lane name (e.g., 'ontology', 'tc-scope', 'control-plane', 'dev-portal', 'mcp-sdk-parity')"
|
|
1690
1675
|
},
|
|
1691
|
-
|
|
1676
|
+
campaign: {
|
|
1692
1677
|
type: "number",
|
|
1693
|
-
description: "Filter by
|
|
1678
|
+
description: "Filter by campaign number (e.g., 1, 2, 3). Returns only worktrees in that campaign."
|
|
1679
|
+
},
|
|
1680
|
+
groupBy: {
|
|
1681
|
+
type: "string",
|
|
1682
|
+
description: "Optional grouping mode for the response.",
|
|
1683
|
+
enum: ["campaign", "lane", "flat"]
|
|
1694
1684
|
},
|
|
1695
1685
|
limit: {
|
|
1696
1686
|
type: "number",
|
|
@@ -1701,10 +1691,39 @@ var LIST_ALL_WORKTREES = {
|
|
|
1701
1691
|
response: {
|
|
1702
1692
|
description: "All worktrees across all topics with full pipeline metadata",
|
|
1703
1693
|
fields: {
|
|
1704
|
-
worktrees: "array \u2014 { worktreeId, title, topicId, topicName, phase, status, hypothesis,
|
|
1694
|
+
worktrees: "array \u2014 { worktreeId, title, topicId, topicName, phase, status, hypothesis, campaign, lane, laneOrderInCampaign, orderInLane, dependsOn, blocks, gate, createdAt }",
|
|
1705
1695
|
total: "number \u2014 total count after filtering",
|
|
1706
|
-
|
|
1707
|
-
|
|
1696
|
+
lanes: "object \u2014 { laneName: count } summary of worktrees per lane",
|
|
1697
|
+
campaigns: "object \u2014 { campaignNumber: count } summary of worktrees per campaign"
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
ownerModule: "workflow-engine",
|
|
1701
|
+
ontologyPrimitive: "worktree",
|
|
1702
|
+
tier: "showcase"
|
|
1703
|
+
};
|
|
1704
|
+
var LIST_CAMPAIGNS = {
|
|
1705
|
+
name: "list_campaigns",
|
|
1706
|
+
description: "List compact pipeline campaigns with their nested lanes. Use this to see the top-level campaign > lane > worktree shape without pulling the full worktree inventory.",
|
|
1707
|
+
parameters: {
|
|
1708
|
+
topicId: {
|
|
1709
|
+
type: "string",
|
|
1710
|
+
description: "Optional topic scope."
|
|
1711
|
+
},
|
|
1712
|
+
status: {
|
|
1713
|
+
type: "string",
|
|
1714
|
+
description: "Optional worktree status filter before grouping campaigns and lanes."
|
|
1715
|
+
},
|
|
1716
|
+
limit: {
|
|
1717
|
+
type: "number",
|
|
1718
|
+
description: "Maximum worktrees to scan before grouping."
|
|
1719
|
+
}
|
|
1720
|
+
},
|
|
1721
|
+
required: [],
|
|
1722
|
+
response: {
|
|
1723
|
+
description: "Pipeline campaigns with nested lane summaries.",
|
|
1724
|
+
fields: {
|
|
1725
|
+
campaigns: "array \u2014 { campaign, lanes: [{ lane, laneOrderInCampaign, worktreeCount, activeCount, readyCount, blockedCount, completedCount, nextWorktree }] }",
|
|
1726
|
+
totalWorktrees: "number \u2014 total worktrees scanned after filtering"
|
|
1708
1727
|
}
|
|
1709
1728
|
},
|
|
1710
1729
|
ownerModule: "workflow-engine",
|
|
@@ -1767,16 +1786,28 @@ var UPDATE_WORKTREE_TARGETS = {
|
|
|
1767
1786
|
};
|
|
1768
1787
|
var UPDATE_WORKTREE_METADATA = {
|
|
1769
1788
|
name: "update_worktree_metadata",
|
|
1770
|
-
description: "Update worktree sequencing metadata \u2014
|
|
1789
|
+
description: "Update worktree sequencing metadata \u2014 campaign, lane, dependencies, blocking relations, and gates. Like `git config` for a worktree \u2014 sets the scheduling and dependency metadata that determines when this worktree can activate relative to others. Use to backfill or correct sequencing data.",
|
|
1771
1790
|
parameters: {
|
|
1772
1791
|
worktreeId: { type: "string", description: "The worktree to update" },
|
|
1773
1792
|
hypothesis: {
|
|
1774
1793
|
type: "string",
|
|
1775
1794
|
description: "Testable claim this worktree investigates"
|
|
1776
1795
|
},
|
|
1777
|
-
|
|
1796
|
+
campaign: {
|
|
1797
|
+
type: "number",
|
|
1798
|
+
description: "Top-level pipeline campaign number."
|
|
1799
|
+
},
|
|
1800
|
+
lane: {
|
|
1801
|
+
type: "string",
|
|
1802
|
+
description: "GitButler-aligned workstream lane name inside the campaign."
|
|
1803
|
+
},
|
|
1804
|
+
laneOrderInCampaign: {
|
|
1778
1805
|
type: "number",
|
|
1779
|
-
description: "
|
|
1806
|
+
description: "Ordering for this lane within the campaign."
|
|
1807
|
+
},
|
|
1808
|
+
orderInLane: {
|
|
1809
|
+
type: "number",
|
|
1810
|
+
description: "Position of this worktree inside its lane."
|
|
1780
1811
|
},
|
|
1781
1812
|
dependsOn: {
|
|
1782
1813
|
type: "array",
|
|
@@ -1814,18 +1845,6 @@ var UPDATE_WORKTREE_METADATA = {
|
|
|
1814
1845
|
type: "object",
|
|
1815
1846
|
description: "Calibrated auto-fix policy controlling dry-run vs safe execution, per-run action caps, and permitted mutation tiers."
|
|
1816
1847
|
},
|
|
1817
|
-
track: {
|
|
1818
|
-
type: "string",
|
|
1819
|
-
description: "Parallel workstream name (e.g., 'ontology', 'tc-scope', 'control-plane', 'dev-portal', 'mcp-sdk-parity', 'execution-program'). Groups worktrees into named lanes for pipeline visualization and PM analysis."
|
|
1820
|
-
},
|
|
1821
|
-
trackPosition: {
|
|
1822
|
-
type: "number",
|
|
1823
|
-
description: "Position within the track (1-indexed). E.g., TC-A=1, TC-B=2, TC-C=3 within the 'tc-scope' track."
|
|
1824
|
-
},
|
|
1825
|
-
executionBand: {
|
|
1826
|
-
type: "number",
|
|
1827
|
-
description: "Parallel execution band number. All worktrees in the same band can run simultaneously. Band 2 = OE-B + TC-A, Band 3 = TC-B + 11D-R + S2-13A, etc."
|
|
1828
|
-
},
|
|
1829
1848
|
status: {
|
|
1830
1849
|
type: "string",
|
|
1831
1850
|
description: "Override the worktree status. Use for lifecycle transitions like marking a worktree superseded, long-term, or as a raw idea.",
|
|
@@ -2010,7 +2029,7 @@ var INGEST_OBSERVATION = {
|
|
|
2010
2029
|
parameters: {
|
|
2011
2030
|
topicId: {
|
|
2012
2031
|
type: "string",
|
|
2013
|
-
description: "
|
|
2032
|
+
description: "Optional topic scope hint for the observation"
|
|
2014
2033
|
},
|
|
2015
2034
|
observationType: {
|
|
2016
2035
|
type: "string",
|
|
@@ -2039,7 +2058,7 @@ var INGEST_OBSERVATION = {
|
|
|
2039
2058
|
description: "Optional structured metadata payload"
|
|
2040
2059
|
}
|
|
2041
2060
|
},
|
|
2042
|
-
required: ["
|
|
2061
|
+
required: ["observationType", "summary"],
|
|
2043
2062
|
response: {
|
|
2044
2063
|
description: "Recorded observation entry",
|
|
2045
2064
|
fields: {
|
|
@@ -2058,7 +2077,7 @@ var GET_OBSERVATION_CONTEXT = {
|
|
|
2058
2077
|
name: "get_observation_context",
|
|
2059
2078
|
description: "Retrieve observer-ready context for a topic, including recent deltas and semantic matches. Like `git log --grep` \u2014 shows recent context and filtered matches across observation history. This powers prompt context injection without mutating graph state.",
|
|
2060
2079
|
parameters: {
|
|
2061
|
-
topicId: { type: "string", description: "
|
|
2080
|
+
topicId: { type: "string", description: "Optional topic scope hint" },
|
|
2062
2081
|
query: {
|
|
2063
2082
|
type: "string",
|
|
2064
2083
|
description: "Optional semantic query over observation history"
|
|
@@ -2101,7 +2120,7 @@ var CREATE_TASK = {
|
|
|
2101
2120
|
},
|
|
2102
2121
|
linkedWorktreeId: { type: "string", description: "Worktree scope" }
|
|
2103
2122
|
},
|
|
2104
|
-
required: ["title"
|
|
2123
|
+
required: ["title"],
|
|
2105
2124
|
response: {
|
|
2106
2125
|
description: "The created task",
|
|
2107
2126
|
fields: {
|
|
@@ -2195,6 +2214,10 @@ var LIST_TASKS = {
|
|
|
2195
2214
|
type: "string",
|
|
2196
2215
|
description: "Filter to tasks linked to this worktree"
|
|
2197
2216
|
},
|
|
2217
|
+
worktreeId: {
|
|
2218
|
+
type: "string",
|
|
2219
|
+
description: "Alias for linkedWorktreeId"
|
|
2220
|
+
},
|
|
2198
2221
|
status: {
|
|
2199
2222
|
type: "string",
|
|
2200
2223
|
description: "Filter by status: todo, in_progress, blocked, done",
|
|
@@ -2236,7 +2259,7 @@ var CREATE_TOPIC = {
|
|
|
2236
2259
|
depth: "number \u2014 nesting depth"
|
|
2237
2260
|
}
|
|
2238
2261
|
},
|
|
2239
|
-
ownerModule: "
|
|
2262
|
+
ownerModule: "reasoning-kernel",
|
|
2240
2263
|
ontologyPrimitive: "graph",
|
|
2241
2264
|
tier: "showcase"
|
|
2242
2265
|
};
|
|
@@ -2265,7 +2288,7 @@ var LIST_TOPICS = {
|
|
|
2265
2288
|
topics: "array \u2014 { id, name, type, depth, status, parentTopicId }"
|
|
2266
2289
|
}
|
|
2267
2290
|
},
|
|
2268
|
-
ownerModule: "
|
|
2291
|
+
ownerModule: "reasoning-kernel",
|
|
2269
2292
|
ontologyPrimitive: "graph",
|
|
2270
2293
|
tier: "workhorse"
|
|
2271
2294
|
};
|
|
@@ -2282,14 +2305,14 @@ var GET_TOPIC = {
|
|
|
2282
2305
|
description: "Legacy alias for topicId"
|
|
2283
2306
|
}
|
|
2284
2307
|
},
|
|
2285
|
-
required: [],
|
|
2308
|
+
required: ["topicId"],
|
|
2286
2309
|
response: {
|
|
2287
2310
|
description: "Single topic record",
|
|
2288
2311
|
fields: {
|
|
2289
2312
|
topic: "object \u2014 { id, globalId, name, type, depth, status, parentTopicId, description }"
|
|
2290
2313
|
}
|
|
2291
2314
|
},
|
|
2292
|
-
ownerModule: "
|
|
2315
|
+
ownerModule: "reasoning-kernel",
|
|
2293
2316
|
ontologyPrimitive: "graph",
|
|
2294
2317
|
tier: "workhorse"
|
|
2295
2318
|
};
|
|
@@ -2340,7 +2363,7 @@ var UPDATE_TOPIC = {
|
|
|
2340
2363
|
visibility: "string \u2014 topic visibility"
|
|
2341
2364
|
}
|
|
2342
2365
|
},
|
|
2343
|
-
ownerModule: "
|
|
2366
|
+
ownerModule: "reasoning-kernel",
|
|
2344
2367
|
ontologyPrimitive: "graph",
|
|
2345
2368
|
tier: "workhorse"
|
|
2346
2369
|
};
|
|
@@ -2359,7 +2382,7 @@ var GET_TOPIC_TREE = {
|
|
|
2359
2382
|
description: "Tree of topics with nesting",
|
|
2360
2383
|
fields: { tree: "array \u2014 topics in BFS order with depth and path" }
|
|
2361
2384
|
},
|
|
2362
|
-
ownerModule: "
|
|
2385
|
+
ownerModule: "reasoning-kernel",
|
|
2363
2386
|
ontologyPrimitive: "graph",
|
|
2364
2387
|
tier: "workhorse"
|
|
2365
2388
|
};
|
|
@@ -2637,7 +2660,7 @@ var GET_ONTOLOGY = {
|
|
|
2637
2660
|
description: "Tenant scope for key lookup. Omit for platform-level."
|
|
2638
2661
|
}
|
|
2639
2662
|
},
|
|
2640
|
-
required: [],
|
|
2663
|
+
required: ["id"],
|
|
2641
2664
|
response: {
|
|
2642
2665
|
description: "Ontology definition with latest published version",
|
|
2643
2666
|
fields: {
|
|
@@ -2675,7 +2698,7 @@ var APPLY_ONTOLOGY = {
|
|
|
2675
2698
|
topicId: "string \u2014 canonical topic ID"
|
|
2676
2699
|
}
|
|
2677
2700
|
},
|
|
2678
|
-
ownerModule: "
|
|
2701
|
+
ownerModule: "reasoning-kernel",
|
|
2679
2702
|
ontologyPrimitive: "ontology",
|
|
2680
2703
|
tier: "showcase"
|
|
2681
2704
|
};
|
|
@@ -2704,7 +2727,7 @@ var MATCH_ENTITY_TYPE = {
|
|
|
2704
2727
|
description: "Optional maximum number of ranked matches to return"
|
|
2705
2728
|
}
|
|
2706
2729
|
},
|
|
2707
|
-
required: ["text"],
|
|
2730
|
+
required: ["text", "ontologyId"],
|
|
2708
2731
|
response: {
|
|
2709
2732
|
description: "Ranked ontology entity type matches",
|
|
2710
2733
|
fields: {
|
|
@@ -2713,7 +2736,7 @@ var MATCH_ENTITY_TYPE = {
|
|
|
2713
2736
|
topicId: "string|null \u2014 topic scope used for ontology resolution"
|
|
2714
2737
|
}
|
|
2715
2738
|
},
|
|
2716
|
-
ownerModule: "
|
|
2739
|
+
ownerModule: "reasoning-kernel",
|
|
2717
2740
|
ontologyPrimitive: "ontology",
|
|
2718
2741
|
tier: "showcase"
|
|
2719
2742
|
};
|
|
@@ -2882,6 +2905,619 @@ var RESOLVE_EFFECTIVE_ONTOLOGY = {
|
|
|
2882
2905
|
ontologyPrimitive: "ontology",
|
|
2883
2906
|
tier: "workhorse"
|
|
2884
2907
|
};
|
|
2908
|
+
var RECORD_SCOPE_LEARNING = {
|
|
2909
|
+
name: "record_scope_learning",
|
|
2910
|
+
description: "Write a structured learning entry into the epistemic spine. Like `git commit` for scope learnings \u2014 records evidence, can attach to a belief, and can open a follow-up belief/question in one atomic workflow.",
|
|
2911
|
+
parameters: {
|
|
2912
|
+
topicId: { type: "string", description: "Topic scope ID" },
|
|
2913
|
+
summary: { type: "string", description: "Atomic learning statement" },
|
|
2914
|
+
title: {
|
|
2915
|
+
type: "string",
|
|
2916
|
+
description: "Optional evidence title, such as a commit, doc, or issue."
|
|
2917
|
+
},
|
|
2918
|
+
body: {
|
|
2919
|
+
type: "string",
|
|
2920
|
+
description: "Optional rich evidence body. If omitted, body is synthesized from summary and touched paths."
|
|
2921
|
+
},
|
|
2922
|
+
contentType: {
|
|
2923
|
+
type: "string",
|
|
2924
|
+
description: "Optional evidence body format, such as markdown or text."
|
|
2925
|
+
},
|
|
2926
|
+
sourceKind: {
|
|
2927
|
+
type: "string",
|
|
2928
|
+
description: "Source type for the learning event",
|
|
2929
|
+
enum: ["commit", "merge", "doc", "issue", "manual"]
|
|
2930
|
+
},
|
|
2931
|
+
sourceRef: {
|
|
2932
|
+
type: "string",
|
|
2933
|
+
description: "Optional source reference, such as SHA, PR number, or URL slug."
|
|
2934
|
+
},
|
|
2935
|
+
sourceUrl: { type: "string", description: "Optional canonical source URL" },
|
|
2936
|
+
touchedPaths: {
|
|
2937
|
+
type: "array",
|
|
2938
|
+
description: "Optional touched file paths for retrieval hints"
|
|
2939
|
+
},
|
|
2940
|
+
tags: { type: "array", description: "Optional tags" },
|
|
2941
|
+
linkedBeliefNodeId: {
|
|
2942
|
+
type: "string",
|
|
2943
|
+
description: "Optional belief to attach evidence to"
|
|
2944
|
+
},
|
|
2945
|
+
evidenceRelation: {
|
|
2946
|
+
type: "string",
|
|
2947
|
+
description: "Relation to linked belief",
|
|
2948
|
+
enum: ["supports", "contradicts"]
|
|
2949
|
+
},
|
|
2950
|
+
confidence: { type: "number", description: "Optional confidence in [0,1]" },
|
|
2951
|
+
createQuestionText: {
|
|
2952
|
+
type: "string",
|
|
2953
|
+
description: "Optional follow-up question text"
|
|
2954
|
+
},
|
|
2955
|
+
createBeliefText: {
|
|
2956
|
+
type: "string",
|
|
2957
|
+
description: "Optional new belief text"
|
|
2958
|
+
},
|
|
2959
|
+
beliefType: {
|
|
2960
|
+
type: "string",
|
|
2961
|
+
description: "Optional belief type for createBeliefText"
|
|
2962
|
+
}
|
|
2963
|
+
},
|
|
2964
|
+
required: ["summary"],
|
|
2965
|
+
response: {
|
|
2966
|
+
description: "Created learning artifacts",
|
|
2967
|
+
fields: {
|
|
2968
|
+
topicId: "string \u2014 resolved topic ID",
|
|
2969
|
+
evidenceNodeId: "string",
|
|
2970
|
+
linkedBeliefNodeId: "string | null",
|
|
2971
|
+
createdQuestionId: "string | null",
|
|
2972
|
+
createdBeliefId: "string | null",
|
|
2973
|
+
sourceUrl: "string",
|
|
2974
|
+
createdAt: "number"
|
|
2975
|
+
}
|
|
2976
|
+
},
|
|
2977
|
+
ownerModule: "reasoning-kernel",
|
|
2978
|
+
ontologyPrimitive: "evidence",
|
|
2979
|
+
tier: "workhorse",
|
|
2980
|
+
internal: true
|
|
2981
|
+
};
|
|
2982
|
+
var PIPELINE_SNAPSHOT = {
|
|
2983
|
+
name: "pipeline_snapshot",
|
|
2984
|
+
description: "Summarize a topic's worktree pipeline in campaign-and-lane form. Like `git status --short` for Lucern execution \u2014 returns the hinge worktree, next planned wave, blockers, critical path, superseded work, and graph hygiene debt.",
|
|
2985
|
+
parameters: {
|
|
2986
|
+
topicId: { type: "string", description: "Topic scope ID" }
|
|
2987
|
+
},
|
|
2988
|
+
required: ["topicId"],
|
|
2989
|
+
response: {
|
|
2990
|
+
description: "Human-oriented pipeline summary for a single topic scope",
|
|
2991
|
+
fields: {
|
|
2992
|
+
topicId: "string",
|
|
2993
|
+
topicName: "string",
|
|
2994
|
+
currentCampaign: "number | null",
|
|
2995
|
+
nextCampaign: "number | null",
|
|
2996
|
+
activeWorktrees: "array \u2014 current hinge worktree(s)",
|
|
2997
|
+
nextWave: "array \u2014 worktrees in the next planned campaign",
|
|
2998
|
+
readyNow: "array \u2014 planning worktrees with dependencies completed",
|
|
2999
|
+
blockedBy: "array \u2014 grouped blockers",
|
|
3000
|
+
criticalPath: "array \u2014 ordered incomplete worktree chain",
|
|
3001
|
+
campaigns: "array \u2014 incomplete worktrees grouped by campaign",
|
|
3002
|
+
superseded: "array \u2014 worktrees marked superseded or not for activation",
|
|
3003
|
+
graphHygiene: "object \u2014 untargeted and taskless worktree debt",
|
|
3004
|
+
riskQuestions: "array \u2014 critical/high open questions",
|
|
3005
|
+
narrative: "array \u2014 concise natural-language summary lines"
|
|
3006
|
+
}
|
|
3007
|
+
},
|
|
3008
|
+
ownerModule: "reasoning-kernel",
|
|
3009
|
+
ontologyPrimitive: "graph",
|
|
3010
|
+
tier: "workhorse",
|
|
3011
|
+
internal: true
|
|
3012
|
+
};
|
|
3013
|
+
var DISCOVER = {
|
|
3014
|
+
name: "discover",
|
|
3015
|
+
description: "Navigate the topic tree to find where knowledge lives. Like `git log --all --grep` \u2014 searches across the graph using bottom-up content matching plus top-down structural scoring.",
|
|
3016
|
+
parameters: {
|
|
3017
|
+
query: {
|
|
3018
|
+
type: "string",
|
|
3019
|
+
description: "What to look for across the topic tree"
|
|
3020
|
+
},
|
|
3021
|
+
topK: {
|
|
3022
|
+
type: "number",
|
|
3023
|
+
description: "How many matching topics to return (default: 3, max: 10)"
|
|
3024
|
+
},
|
|
3025
|
+
includeNeighborhood: {
|
|
3026
|
+
type: "boolean",
|
|
3027
|
+
description: "Whether to include beliefs/questions/evidence for matched topics"
|
|
3028
|
+
}
|
|
3029
|
+
},
|
|
3030
|
+
required: ["query"],
|
|
3031
|
+
response: {
|
|
3032
|
+
description: "Ranked topic matches with optional neighborhood content",
|
|
3033
|
+
fields: {
|
|
3034
|
+
query: "string \u2014 original query",
|
|
3035
|
+
matchedTopics: "array \u2014 ranked topics with scores and paths",
|
|
3036
|
+
neighborhoods: "array \u2014 beliefs, questions, evidence for each match",
|
|
3037
|
+
totalTopicsScored: "number",
|
|
3038
|
+
topicTreeSize: "number"
|
|
3039
|
+
}
|
|
3040
|
+
},
|
|
3041
|
+
ownerModule: "reasoning-kernel",
|
|
3042
|
+
ontologyPrimitive: "graph",
|
|
3043
|
+
tier: "showcase",
|
|
3044
|
+
deprecated: "Deprecated: use lucern.context.compile() with topicId"
|
|
3045
|
+
};
|
|
3046
|
+
var ANALYZE_TOPIC_DENSITY = {
|
|
3047
|
+
name: "analyze_topic_density",
|
|
3048
|
+
description: "Analyze topic belief density and identify natural conceptual clusters. Like `git diff --stat` for topic organization \u2014 detects when a topic has accumulated too many beliefs and suggests subtopic decomposition.",
|
|
3049
|
+
parameters: {
|
|
3050
|
+
topicId: { type: "string", description: "Topic ID to analyze" },
|
|
3051
|
+
threshold: {
|
|
3052
|
+
type: "number",
|
|
3053
|
+
description: "Belief count threshold for density warning"
|
|
3054
|
+
},
|
|
3055
|
+
minModularity: {
|
|
3056
|
+
type: "number",
|
|
3057
|
+
description: "Minimum modularity score for suggesting decomposition"
|
|
3058
|
+
}
|
|
3059
|
+
},
|
|
3060
|
+
required: ["topicId"],
|
|
3061
|
+
response: {
|
|
3062
|
+
description: "Density analysis with cluster suggestions",
|
|
3063
|
+
fields: {
|
|
3064
|
+
topicId: "string",
|
|
3065
|
+
topicName: "string",
|
|
3066
|
+
beliefCount: "number",
|
|
3067
|
+
edgeCount: "number",
|
|
3068
|
+
threshold: "number",
|
|
3069
|
+
isDense: "boolean",
|
|
3070
|
+
modularity: "number",
|
|
3071
|
+
clusterCount: "number",
|
|
3072
|
+
clusters: "array \u2014 suggested belief clusters",
|
|
3073
|
+
recommendation: "string"
|
|
3074
|
+
}
|
|
3075
|
+
},
|
|
3076
|
+
ownerModule: "reasoning-kernel",
|
|
3077
|
+
ontologyPrimitive: "graph",
|
|
3078
|
+
tier: "showcase"
|
|
3079
|
+
};
|
|
3080
|
+
var APPLY_AUTO_BRANCHING = {
|
|
3081
|
+
name: "apply_auto_branching",
|
|
3082
|
+
description: "Execute topic decomposition by creating subtopics and reassigning beliefs. Like `git subtree split` \u2014 splits a dense topic into focused subtopics while preserving belief identity and edges.",
|
|
3083
|
+
parameters: {
|
|
3084
|
+
topicId: { type: "string", description: "Parent topic ID to decompose" },
|
|
3085
|
+
clusters: {
|
|
3086
|
+
type: "array",
|
|
3087
|
+
description: "Cluster definitions from analyze_topic_density, each with name and beliefIds"
|
|
3088
|
+
},
|
|
3089
|
+
dryRun: {
|
|
3090
|
+
type: "boolean",
|
|
3091
|
+
description: "Preview changes without applying them"
|
|
3092
|
+
}
|
|
3093
|
+
},
|
|
3094
|
+
required: ["topicId", "clusters"],
|
|
3095
|
+
response: {
|
|
3096
|
+
description: "Results of the auto-branching operation",
|
|
3097
|
+
fields: {
|
|
3098
|
+
success: "boolean",
|
|
3099
|
+
parentTopicId: "string",
|
|
3100
|
+
createdSubtopics: "array",
|
|
3101
|
+
totalReassigned: "number",
|
|
3102
|
+
totalSkipped: "number",
|
|
3103
|
+
dryRun: "boolean"
|
|
3104
|
+
}
|
|
3105
|
+
},
|
|
3106
|
+
ownerModule: "reasoning-kernel",
|
|
3107
|
+
ontologyPrimitive: "graph",
|
|
3108
|
+
tier: "showcase"
|
|
3109
|
+
};
|
|
3110
|
+
var SEED_BELIEF_LATTICE = {
|
|
3111
|
+
name: "seed_belief_lattice",
|
|
3112
|
+
description: "Seed belief lattice coverage for a topic based on its resolved ontology. Like `git init` for ontology coverage \u2014 creates or previews seed beliefs for entity types that need a baseline anchor.",
|
|
3113
|
+
parameters: {
|
|
3114
|
+
topicId: {
|
|
3115
|
+
type: "string",
|
|
3116
|
+
description: "Topic scope ID. Lattice seeding must target a child topic."
|
|
3117
|
+
},
|
|
3118
|
+
dryRun: {
|
|
3119
|
+
type: "boolean",
|
|
3120
|
+
description: "Preview seeds without creating them"
|
|
3121
|
+
}
|
|
3122
|
+
},
|
|
3123
|
+
required: [],
|
|
3124
|
+
response: {
|
|
3125
|
+
description: "Lattice seed results with per-entity-type status",
|
|
3126
|
+
fields: {
|
|
3127
|
+
topicId: "string",
|
|
3128
|
+
ontologyResolved: "boolean",
|
|
3129
|
+
ontologyKey: "string | null",
|
|
3130
|
+
ontologyVersion: "string | null",
|
|
3131
|
+
entityTypeCount: "number",
|
|
3132
|
+
seeds: "array \u2014 per-entity-type seed status",
|
|
3133
|
+
summary: "object \u2014 created/existing/scored/total counts",
|
|
3134
|
+
dryRun: "boolean"
|
|
3135
|
+
}
|
|
3136
|
+
},
|
|
3137
|
+
ownerModule: "reasoning-kernel",
|
|
3138
|
+
ontologyPrimitive: "belief",
|
|
3139
|
+
tier: "workhorse",
|
|
3140
|
+
internal: true
|
|
3141
|
+
};
|
|
3142
|
+
var GET_LATTICE_COVERAGE = {
|
|
3143
|
+
name: "get_lattice_coverage",
|
|
3144
|
+
description: "Report belief lattice coverage for a topic. Like `git fsck` for ontology coverage \u2014 identifies anchored, hollow, and missing entity-type belief coverage.",
|
|
3145
|
+
parameters: {
|
|
3146
|
+
topicId: {
|
|
3147
|
+
type: "string",
|
|
3148
|
+
description: "Topic scope ID to check lattice coverage for"
|
|
3149
|
+
}
|
|
3150
|
+
},
|
|
3151
|
+
required: [],
|
|
3152
|
+
response: {
|
|
3153
|
+
description: "Per-entity-type coverage with overall score",
|
|
3154
|
+
fields: {
|
|
3155
|
+
topicId: "string",
|
|
3156
|
+
ontologyKey: "string | null",
|
|
3157
|
+
ontologyVersion: "string | null",
|
|
3158
|
+
entityTypes: "array \u2014 per-entity-type coverage rows",
|
|
3159
|
+
summary: "object \u2014 total/anchored/hollow/missing/coverageScore"
|
|
3160
|
+
}
|
|
3161
|
+
},
|
|
3162
|
+
ownerModule: "reasoning-kernel",
|
|
3163
|
+
ontologyPrimitive: "belief",
|
|
3164
|
+
tier: "workhorse",
|
|
3165
|
+
internal: true
|
|
3166
|
+
};
|
|
3167
|
+
var DISCOVER_ENTITY_CONNECTIONS = {
|
|
3168
|
+
name: "discover_entity_connections",
|
|
3169
|
+
description: "Find existing entities that should be connected to a belief/question/evidence node. Like `git log --diff-filter=M` for missing entity connections \u2014 scans entities in scope and suggests bridge edge types.",
|
|
3170
|
+
parameters: {
|
|
3171
|
+
nodeId: {
|
|
3172
|
+
type: "string",
|
|
3173
|
+
description: "Epistemic node ID to find entity connections for"
|
|
3174
|
+
},
|
|
3175
|
+
topicId: {
|
|
3176
|
+
type: "string",
|
|
3177
|
+
description: "Optional topic scope override"
|
|
3178
|
+
},
|
|
3179
|
+
minScore: {
|
|
3180
|
+
type: "number",
|
|
3181
|
+
description: "Minimum match score threshold"
|
|
3182
|
+
},
|
|
3183
|
+
limit: {
|
|
3184
|
+
type: "number",
|
|
3185
|
+
description: "Maximum candidates to return"
|
|
3186
|
+
}
|
|
3187
|
+
},
|
|
3188
|
+
required: ["nodeId"],
|
|
3189
|
+
response: {
|
|
3190
|
+
description: "Ranked entity connection candidates",
|
|
3191
|
+
fields: {
|
|
3192
|
+
nodeId: "string",
|
|
3193
|
+
candidateCount: "number",
|
|
3194
|
+
candidates: "array \u2014 suggested entity bridge candidates"
|
|
3195
|
+
}
|
|
3196
|
+
},
|
|
3197
|
+
ownerModule: "reasoning-kernel",
|
|
3198
|
+
ontologyPrimitive: "ontology",
|
|
3199
|
+
tier: "workhorse"
|
|
3200
|
+
};
|
|
3201
|
+
var TRIGGER_BELIEF_REVIEW = {
|
|
3202
|
+
name: "trigger_belief_review",
|
|
3203
|
+
description: "Flag beliefs for review after an entity changes. Like `git bisect` for stale beliefs \u2014 traverses bridge edges from the changed entity and creates review questions for stale connected beliefs.",
|
|
3204
|
+
parameters: {
|
|
3205
|
+
entityNodeId: {
|
|
3206
|
+
type: "string",
|
|
3207
|
+
description: "The entity node that changed"
|
|
3208
|
+
},
|
|
3209
|
+
changeDescription: {
|
|
3210
|
+
type: "string",
|
|
3211
|
+
description: "What changed about the entity"
|
|
3212
|
+
},
|
|
3213
|
+
maxQuestions: {
|
|
3214
|
+
type: "number",
|
|
3215
|
+
description: "Maximum review questions to create"
|
|
3216
|
+
}
|
|
3217
|
+
},
|
|
3218
|
+
required: ["entityNodeId"],
|
|
3219
|
+
response: {
|
|
3220
|
+
description: "Affected beliefs and created review questions",
|
|
3221
|
+
fields: {
|
|
3222
|
+
entityNodeId: "string",
|
|
3223
|
+
entityTitle: "string",
|
|
3224
|
+
entityType: "string",
|
|
3225
|
+
changeDescription: "string",
|
|
3226
|
+
affectedBeliefCount: "number",
|
|
3227
|
+
questionsCreated: "number",
|
|
3228
|
+
reviewedBeliefs: "array",
|
|
3229
|
+
questions: "array"
|
|
3230
|
+
}
|
|
3231
|
+
},
|
|
3232
|
+
ownerModule: "reasoning-kernel",
|
|
3233
|
+
ontologyPrimitive: "ontology",
|
|
3234
|
+
tier: "workhorse"
|
|
3235
|
+
};
|
|
3236
|
+
var EVALUATE_CONTRACT = {
|
|
3237
|
+
name: "evaluate_contract",
|
|
3238
|
+
description: "Run a contract evaluation and record the append-only result. Like `git test` for a belief binding \u2014 executes the evaluator, logs the result, and applies any allowed confidence modulation.",
|
|
3239
|
+
parameters: {
|
|
3240
|
+
contractId: { type: "string", description: "Which contract to evaluate" },
|
|
3241
|
+
trigger: {
|
|
3242
|
+
type: "string",
|
|
3243
|
+
description: "What caused this evaluation"
|
|
3244
|
+
}
|
|
3245
|
+
},
|
|
3246
|
+
required: ["contractId"],
|
|
3247
|
+
response: {
|
|
3248
|
+
description: "The most recent contract evaluation result",
|
|
3249
|
+
fields: {
|
|
3250
|
+
evaluationId: "string",
|
|
3251
|
+
result: "string",
|
|
3252
|
+
status: "string",
|
|
3253
|
+
confidenceBefore: "number",
|
|
3254
|
+
confidenceAfter: "number",
|
|
3255
|
+
rationale: "string"
|
|
3256
|
+
}
|
|
3257
|
+
},
|
|
3258
|
+
ownerModule: "graph-primitives",
|
|
3259
|
+
ontologyPrimitive: "belief",
|
|
3260
|
+
tier: "workhorse"
|
|
3261
|
+
};
|
|
3262
|
+
var GET_CONTRACT_STATUS = {
|
|
3263
|
+
name: "get_contract_status",
|
|
3264
|
+
description: "Inspect epistemic contracts and their latest evaluations. Like `git status` for verification bindings \u2014 returns the contract rows plus the freshest recorded evaluation for each one.",
|
|
3265
|
+
parameters: {
|
|
3266
|
+
beliefNodeId: {
|
|
3267
|
+
type: "string",
|
|
3268
|
+
description: "Return all contracts attached to a specific belief"
|
|
3269
|
+
},
|
|
3270
|
+
contractId: {
|
|
3271
|
+
type: "string",
|
|
3272
|
+
description: "Return one specific contract by contractId"
|
|
3273
|
+
},
|
|
3274
|
+
status: {
|
|
3275
|
+
type: "string",
|
|
3276
|
+
description: "Optional status filter applied after lookup",
|
|
3277
|
+
enum: ["active", "satisfied", "violated", "expired", "suspended", "archived"]
|
|
3278
|
+
}
|
|
3279
|
+
},
|
|
3280
|
+
required: [],
|
|
3281
|
+
response: {
|
|
3282
|
+
description: "Matching contract rows with latest evaluation context",
|
|
3283
|
+
fields: {
|
|
3284
|
+
contracts: "array \u2014 matching contracts with latestEvaluation attached",
|
|
3285
|
+
count: "number"
|
|
3286
|
+
}
|
|
3287
|
+
},
|
|
3288
|
+
ownerModule: "graph-primitives",
|
|
3289
|
+
ontologyPrimitive: "belief",
|
|
3290
|
+
tier: "workhorse"
|
|
3291
|
+
};
|
|
3292
|
+
var REGISTER_SESSION = {
|
|
3293
|
+
name: "register_session",
|
|
3294
|
+
description: "Announce this agent session's presence to other parallel sessions. Like `git init` for coordination \u2014 creates a session record so other agents can discover you.",
|
|
3295
|
+
parameters: {
|
|
3296
|
+
sessionName: { type: "string", description: "Human-readable session label" },
|
|
3297
|
+
agentType: { type: "string", description: "Agent type" },
|
|
3298
|
+
topicId: { type: "string", description: "Current Lucern topic scope ID" },
|
|
3299
|
+
worktreeId: { type: "string", description: "Active Lucern worktree ID" },
|
|
3300
|
+
gitBranch: { type: "string", description: "Current git branch name" }
|
|
3301
|
+
},
|
|
3302
|
+
required: [],
|
|
3303
|
+
response: {
|
|
3304
|
+
description: "Session registration result",
|
|
3305
|
+
fields: {
|
|
3306
|
+
sessionId: "string",
|
|
3307
|
+
status: "string \u2014 active",
|
|
3308
|
+
isNew: "boolean"
|
|
3309
|
+
}
|
|
3310
|
+
},
|
|
3311
|
+
ownerModule: "coordination",
|
|
3312
|
+
ontologyPrimitive: "graph",
|
|
3313
|
+
tier: "workhorse",
|
|
3314
|
+
internal: true
|
|
3315
|
+
};
|
|
3316
|
+
var HEARTBEAT_SESSION = {
|
|
3317
|
+
name: "heartbeat_session",
|
|
3318
|
+
description: "Update this session's heartbeat and optional status fields. Like `git status` \u2014 signals liveness and updates what you are working on.",
|
|
3319
|
+
parameters: {
|
|
3320
|
+
topicId: { type: "string", description: "Updated topic scope" },
|
|
3321
|
+
worktreeId: { type: "string", description: "Updated worktree ID" },
|
|
3322
|
+
gitBranch: { type: "string", description: "Updated git branch" },
|
|
3323
|
+
status: {
|
|
3324
|
+
type: "string",
|
|
3325
|
+
description: "Session status update",
|
|
3326
|
+
enum: ["active", "idle"]
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
required: [],
|
|
3330
|
+
response: {
|
|
3331
|
+
description: "Heartbeat result",
|
|
3332
|
+
fields: {
|
|
3333
|
+
success: "boolean",
|
|
3334
|
+
message: "string"
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3337
|
+
ownerModule: "coordination",
|
|
3338
|
+
ontologyPrimitive: "graph",
|
|
3339
|
+
tier: "workhorse",
|
|
3340
|
+
internal: true
|
|
3341
|
+
};
|
|
3342
|
+
var END_SESSION = {
|
|
3343
|
+
name: "end_session",
|
|
3344
|
+
description: "Gracefully end this agent session. Like `git stash` \u2014 marks the session as ended so other agents know you are gone.",
|
|
3345
|
+
parameters: {},
|
|
3346
|
+
required: [],
|
|
3347
|
+
response: {
|
|
3348
|
+
description: "Session end result",
|
|
3349
|
+
fields: {
|
|
3350
|
+
success: "boolean",
|
|
3351
|
+
message: "string"
|
|
3352
|
+
}
|
|
3353
|
+
},
|
|
3354
|
+
ownerModule: "coordination",
|
|
3355
|
+
ontologyPrimitive: "graph",
|
|
3356
|
+
tier: "workhorse",
|
|
3357
|
+
internal: true
|
|
3358
|
+
};
|
|
3359
|
+
var LIST_ACTIVE_SESSIONS = {
|
|
3360
|
+
name: "list_active_sessions",
|
|
3361
|
+
description: "See who else is online with active agent sessions, scope, branch, and file claims. Like `git branch --list` for live agents \u2014 shows active and idle sessions before editing.",
|
|
3362
|
+
parameters: {
|
|
3363
|
+
includeIdle: {
|
|
3364
|
+
type: "boolean",
|
|
3365
|
+
description: "Include idle sessions"
|
|
3366
|
+
}
|
|
3367
|
+
},
|
|
3368
|
+
required: [],
|
|
3369
|
+
response: {
|
|
3370
|
+
description: "List of active/idle agent sessions",
|
|
3371
|
+
fields: {
|
|
3372
|
+
sessions: "array \u2014 active session records"
|
|
3373
|
+
}
|
|
3374
|
+
},
|
|
3375
|
+
ownerModule: "coordination",
|
|
3376
|
+
ontologyPrimitive: "graph",
|
|
3377
|
+
tier: "workhorse",
|
|
3378
|
+
internal: true
|
|
3379
|
+
};
|
|
3380
|
+
var SEND_AGENT_MESSAGE = {
|
|
3381
|
+
name: "send_agent_message",
|
|
3382
|
+
description: "Send a directed message to a specific agent session. Like `git notes` \u2014 leaves a coordination note for a specific peer.",
|
|
3383
|
+
parameters: {
|
|
3384
|
+
toSessionId: { type: "string", description: "Target session ID" },
|
|
3385
|
+
content: { type: "string", description: "Message text" },
|
|
3386
|
+
messageType: {
|
|
3387
|
+
type: "string",
|
|
3388
|
+
description: "Message intent",
|
|
3389
|
+
enum: ["note", "question", "answer", "alert", "handoff"]
|
|
3390
|
+
},
|
|
3391
|
+
relatedBeliefId: {
|
|
3392
|
+
type: "string",
|
|
3393
|
+
description: "Optional related belief node ID"
|
|
3394
|
+
},
|
|
3395
|
+
relatedWorktreeId: {
|
|
3396
|
+
type: "string",
|
|
3397
|
+
description: "Optional related worktree ID"
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
required: ["toSessionId", "content"],
|
|
3401
|
+
response: {
|
|
3402
|
+
description: "Message delivery result",
|
|
3403
|
+
fields: { messageId: "string" }
|
|
3404
|
+
},
|
|
3405
|
+
ownerModule: "coordination",
|
|
3406
|
+
ontologyPrimitive: "graph",
|
|
3407
|
+
tier: "workhorse",
|
|
3408
|
+
internal: true
|
|
3409
|
+
};
|
|
3410
|
+
var BROADCAST_MESSAGE = {
|
|
3411
|
+
name: "broadcast_message",
|
|
3412
|
+
description: "Send a message to all active agent sessions. Like `git tag` \u2014 marks an important event visible to everyone.",
|
|
3413
|
+
parameters: {
|
|
3414
|
+
content: { type: "string", description: "Broadcast message text" },
|
|
3415
|
+
messageType: {
|
|
3416
|
+
type: "string",
|
|
3417
|
+
description: "Message intent",
|
|
3418
|
+
enum: ["note", "alert", "handoff"]
|
|
3419
|
+
},
|
|
3420
|
+
relatedBeliefId: {
|
|
3421
|
+
type: "string",
|
|
3422
|
+
description: "Optional related belief node ID"
|
|
3423
|
+
},
|
|
3424
|
+
relatedWorktreeId: {
|
|
3425
|
+
type: "string",
|
|
3426
|
+
description: "Optional related worktree ID"
|
|
3427
|
+
}
|
|
3428
|
+
},
|
|
3429
|
+
required: ["content"],
|
|
3430
|
+
response: {
|
|
3431
|
+
description: "Broadcast result",
|
|
3432
|
+
fields: { messageId: "string" }
|
|
3433
|
+
},
|
|
3434
|
+
ownerModule: "coordination",
|
|
3435
|
+
ontologyPrimitive: "graph",
|
|
3436
|
+
tier: "workhorse",
|
|
3437
|
+
internal: true
|
|
3438
|
+
};
|
|
3439
|
+
var GET_AGENT_INBOX = {
|
|
3440
|
+
name: "get_agent_inbox",
|
|
3441
|
+
description: "Check unread messages addressed to this session. Like `git log --incoming` \u2014 shows direct and broadcast messages from other agents.",
|
|
3442
|
+
parameters: {
|
|
3443
|
+
limit: { type: "number", description: "Max messages to return" },
|
|
3444
|
+
markAsRead: {
|
|
3445
|
+
type: "boolean",
|
|
3446
|
+
description: "Mark returned messages as read"
|
|
3447
|
+
}
|
|
3448
|
+
},
|
|
3449
|
+
required: [],
|
|
3450
|
+
response: {
|
|
3451
|
+
description: "Inbox messages",
|
|
3452
|
+
fields: {
|
|
3453
|
+
messages: "array \u2014 unread direct and broadcast messages"
|
|
3454
|
+
}
|
|
3455
|
+
},
|
|
3456
|
+
ownerModule: "coordination",
|
|
3457
|
+
ontologyPrimitive: "graph",
|
|
3458
|
+
tier: "workhorse",
|
|
3459
|
+
internal: true
|
|
3460
|
+
};
|
|
3461
|
+
var CLAIM_FILES = {
|
|
3462
|
+
name: "claim_files",
|
|
3463
|
+
description: "Declare which files this session is actively editing. Like `git add` for coordination \u2014 tells other sessions what you are touching and returns advisory conflicts.",
|
|
3464
|
+
parameters: {
|
|
3465
|
+
files: {
|
|
3466
|
+
type: "array",
|
|
3467
|
+
description: "File paths this session is actively editing"
|
|
3468
|
+
}
|
|
3469
|
+
},
|
|
3470
|
+
required: ["files"],
|
|
3471
|
+
response: {
|
|
3472
|
+
description: "File claim result with conflict detection",
|
|
3473
|
+
fields: {
|
|
3474
|
+
success: "boolean",
|
|
3475
|
+
conflicts: "array \u2014 conflicting file claims"
|
|
3476
|
+
}
|
|
3477
|
+
},
|
|
3478
|
+
ownerModule: "coordination",
|
|
3479
|
+
ontologyPrimitive: "graph",
|
|
3480
|
+
tier: "workhorse",
|
|
3481
|
+
internal: true
|
|
3482
|
+
};
|
|
3483
|
+
var GENERATE_SESSION_HANDOFF = {
|
|
3484
|
+
name: "generate_session_handoff",
|
|
3485
|
+
description: "Generate a complete, zero-context handoff message for a new coding session. Like `git format-patch` \u2014 produces a self-contained instruction set that bootstraps a fresh Lucern worktree session.",
|
|
3486
|
+
parameters: {
|
|
3487
|
+
worktreeId: {
|
|
3488
|
+
type: "string",
|
|
3489
|
+
description: "The Lucern worktree ID to generate handoff instructions for"
|
|
3490
|
+
},
|
|
3491
|
+
gitWorktreePath: {
|
|
3492
|
+
type: "string",
|
|
3493
|
+
description: "Optional existing git worktree path"
|
|
3494
|
+
},
|
|
3495
|
+
gitBranchName: {
|
|
3496
|
+
type: "string",
|
|
3497
|
+
description: "Optional branch name for the session"
|
|
3498
|
+
},
|
|
3499
|
+
additionalContext: {
|
|
3500
|
+
type: "string",
|
|
3501
|
+
description: "Optional extra context to include in the handoff"
|
|
3502
|
+
}
|
|
3503
|
+
},
|
|
3504
|
+
required: ["worktreeId"],
|
|
3505
|
+
response: {
|
|
3506
|
+
description: "A complete handoff message ready for a new coding session",
|
|
3507
|
+
fields: {
|
|
3508
|
+
handoffMessage: "string",
|
|
3509
|
+
worktreeId: "string",
|
|
3510
|
+
worktreeName: "string",
|
|
3511
|
+
trackBoundary: "object",
|
|
3512
|
+
needsActivation: "boolean",
|
|
3513
|
+
needsGitSetup: "string \u2014 create | fast-forward | ready"
|
|
3514
|
+
}
|
|
3515
|
+
},
|
|
3516
|
+
ownerModule: "bootstrap",
|
|
3517
|
+
ontologyPrimitive: "worktree",
|
|
3518
|
+
tier: "showcase",
|
|
3519
|
+
internal: true
|
|
3520
|
+
};
|
|
2885
3521
|
var MCP_TOOL_CONTRACTS = {
|
|
2886
3522
|
// Belief lifecycle (commit, amend, fork, archive)
|
|
2887
3523
|
create_belief: CREATE_BELIEF,
|
|
@@ -2891,6 +3527,8 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
2891
3527
|
fork_belief: FORK_BELIEF,
|
|
2892
3528
|
archive_belief: ARCHIVE_BELIEF,
|
|
2893
3529
|
create_epistemic_contract: CREATE_EPISTEMIC_CONTRACT,
|
|
3530
|
+
evaluate_contract: EVALUATE_CONTRACT,
|
|
3531
|
+
get_contract_status: GET_CONTRACT_STATUS,
|
|
2894
3532
|
// Evidence (commit)
|
|
2895
3533
|
create_evidence: CREATE_EVIDENCE,
|
|
2896
3534
|
get_evidence: GET_EVIDENCE,
|
|
@@ -2918,7 +3556,6 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
2918
3556
|
get_graph_neighborhood: GET_GRAPH_NEIGHBORHOOD,
|
|
2919
3557
|
trace_entity_impact: TRACE_ENTITY_IMPACT,
|
|
2920
3558
|
search_beliefs: SEARCH_BELIEFS,
|
|
2921
|
-
search_resources: SEARCH_RESOURCES,
|
|
2922
3559
|
find_contradictions: FIND_CONTRADICTIONS,
|
|
2923
3560
|
bisect_confidence: BISECT_CONFIDENCE,
|
|
2924
3561
|
// Edges (commit)
|
|
@@ -2929,9 +3566,6 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
2929
3566
|
detect_confirmation_bias: DETECT_CONFIRMATION_BIAS,
|
|
2930
3567
|
get_graph_structure_analysis: GET_GRAPH_STRUCTURE_ANALYSIS,
|
|
2931
3568
|
get_falsification_questions: GET_FALSIFICATION_QUESTIONS,
|
|
2932
|
-
// Sources & research (showcase)
|
|
2933
|
-
search_sources: SEARCH_SOURCES,
|
|
2934
|
-
execute_deep_research: EXECUTE_DEEP_RESEARCH,
|
|
2935
3569
|
// Evidence operations (workhorse)
|
|
2936
3570
|
search_evidence: SEARCH_EVIDENCE,
|
|
2937
3571
|
link_evidence_to_belief: LINK_EVIDENCE_TO_BELIEF,
|
|
@@ -2953,11 +3587,30 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
2953
3587
|
list_beliefs: LIST_BELIEFS,
|
|
2954
3588
|
list_worktrees: LIST_WORKTREES,
|
|
2955
3589
|
list_all_worktrees: LIST_ALL_WORKTREES,
|
|
3590
|
+
list_campaigns: LIST_CAMPAIGNS,
|
|
2956
3591
|
activate_worktree: ACTIVATE_WORKTREE,
|
|
2957
3592
|
update_worktree_targets: UPDATE_WORKTREE_TARGETS,
|
|
2958
3593
|
update_worktree_metadata: UPDATE_WORKTREE_METADATA,
|
|
2959
3594
|
identity_whoami: IDENTITY_WHOAMI,
|
|
2960
3595
|
compile_context: COMPILE_CONTEXT,
|
|
3596
|
+
record_scope_learning: RECORD_SCOPE_LEARNING,
|
|
3597
|
+
pipeline_snapshot: PIPELINE_SNAPSHOT,
|
|
3598
|
+
discover: DISCOVER,
|
|
3599
|
+
analyze_topic_density: ANALYZE_TOPIC_DENSITY,
|
|
3600
|
+
apply_auto_branching: APPLY_AUTO_BRANCHING,
|
|
3601
|
+
seed_belief_lattice: SEED_BELIEF_LATTICE,
|
|
3602
|
+
get_lattice_coverage: GET_LATTICE_COVERAGE,
|
|
3603
|
+
discover_entity_connections: DISCOVER_ENTITY_CONNECTIONS,
|
|
3604
|
+
trigger_belief_review: TRIGGER_BELIEF_REVIEW,
|
|
3605
|
+
register_session: REGISTER_SESSION,
|
|
3606
|
+
heartbeat_session: HEARTBEAT_SESSION,
|
|
3607
|
+
end_session: END_SESSION,
|
|
3608
|
+
list_active_sessions: LIST_ACTIVE_SESSIONS,
|
|
3609
|
+
send_agent_message: SEND_AGENT_MESSAGE,
|
|
3610
|
+
broadcast_message: BROADCAST_MESSAGE,
|
|
3611
|
+
get_agent_inbox: GET_AGENT_INBOX,
|
|
3612
|
+
claim_files: CLAIM_FILES,
|
|
3613
|
+
generate_session_handoff: GENERATE_SESSION_HANDOFF,
|
|
2961
3614
|
// Policy / ACL (workhorse)
|
|
2962
3615
|
check_permission: CHECK_PERMISSION,
|
|
2963
3616
|
filter_by_permission: FILTER_BY_PERMISSION,
|
|
@@ -3011,6 +3664,6 @@ function validateGitSemantics(tool) {
|
|
|
3011
3664
|
return { valid: true };
|
|
3012
3665
|
}
|
|
3013
3666
|
|
|
3014
|
-
export { ACTIVATE_WORKTREE, ADD_EVIDENCE, ADD_WORKTREE, ANSWER_QUESTION, APPLY_LENS_TO_TOPIC, APPLY_ONTOLOGY, ARCHIVE_BELIEF, ARCHIVE_ONTOLOGY, ARCHIVE_QUESTION, BISECT_CONFIDENCE, CHECK_PERMISSION, COMPILE_CONTEXT, COMPLETE_TASK, CREATE_ANSWER, CREATE_BELIEF, CREATE_EDGE, CREATE_EPISTEMIC_CONTRACT, CREATE_EVIDENCE, CREATE_LENS, CREATE_ONTOLOGY, CREATE_ONTOLOGY_VERSION, CREATE_QUESTION, CREATE_TASK, CREATE_TOPIC, DEPRECATE_ONTOLOGY_VERSION, DETECT_CONFIRMATION_BIAS,
|
|
3015
|
-
//# sourceMappingURL=
|
|
3016
|
-
//# sourceMappingURL=
|
|
3667
|
+
export { ACTIVATE_WORKTREE, ADD_EVIDENCE, ADD_WORKTREE, ANALYZE_TOPIC_DENSITY, ANSWER_QUESTION, APPLY_AUTO_BRANCHING, APPLY_LENS_TO_TOPIC, APPLY_ONTOLOGY, ARCHIVE_BELIEF, ARCHIVE_ONTOLOGY, ARCHIVE_QUESTION, BISECT_CONFIDENCE, BROADCAST_MESSAGE, CHECK_PERMISSION, CLAIM_FILES, COMPILE_CONTEXT, COMPLETE_TASK, CREATE_ANSWER, CREATE_BELIEF, CREATE_EDGE, CREATE_EPISTEMIC_CONTRACT, CREATE_EVIDENCE, CREATE_LENS, CREATE_ONTOLOGY, CREATE_ONTOLOGY_VERSION, CREATE_QUESTION, CREATE_TASK, CREATE_TOPIC, DEPRECATE_ONTOLOGY_VERSION, DETECT_CONFIRMATION_BIAS, DISCOVER, DISCOVER_ENTITY_CONNECTIONS, END_SESSION, EVALUATE_CONTRACT, FILTER_BY_PERMISSION, FIND_CONTRADICTIONS, FIND_MISSING_QUESTIONS, FLAG_CONTRADICTION, FORK_BELIEF, GENERATE_SESSION_HANDOFF, GET_AGENT_INBOX, GET_ANSWER, GET_AUDIT_TRAIL, GET_BELIEF, GET_CHANGE_HISTORY, GET_CODE_CONTEXT, GET_CONFIDENCE_HISTORY, GET_CONTRACT_STATUS, GET_EVIDENCE, GET_FAILURE_LOG, GET_FALSIFICATION_QUESTIONS, GET_GRAPH_GAPS, GET_GRAPH_NEIGHBORHOOD, GET_GRAPH_STRUCTURE_ANALYSIS, GET_HIGH_PRIORITY_QUESTIONS, GET_LATTICE_COVERAGE, GET_OBSERVATION_CONTEXT, GET_ONTOLOGY, GET_QUESTION, GET_TOPIC, GET_TOPIC_COVERAGE, GET_TOPIC_TREE, GIT_SEMANTIC_REQUIRED_TOOLS, HEARTBEAT_SESSION, IDENTITY_WHOAMI, INGEST_OBSERVATION, LINK_EVIDENCE, LINK_EVIDENCE_TO_BELIEF, LINK_EVIDENCE_TO_QUESTION, LIST_ACTIVE_SESSIONS, LIST_ALL_WORKTREES, LIST_BELIEFS, LIST_CAMPAIGNS, LIST_EVIDENCE, LIST_LENSES, LIST_ONTOLOGIES, LIST_QUESTIONS, LIST_TASKS, LIST_TOPICS, LIST_WORKTREES, MANAGE_WRITE_POLICY, MATCH_ENTITY_TYPE, MCP_TOOL_CONTRACTS, MERGE, MODULATE_CONFIDENCE, OPEN_PULL_REQUEST, PIPELINE_SNAPSHOT, PUBLISH_ONTOLOGY_VERSION, PUSH, QUERY_LINEAGE, RECORD_ATTEMPT, RECORD_JUDGMENT, RECORD_SCOPE_LEARNING, REFINE_BELIEF, REFINE_QUESTION, REGISTER_SESSION, REMOVE_LENS_FROM_TOPIC, RESOLVE_EFFECTIVE_ONTOLOGY, SEARCH_BELIEFS, SEARCH_EVIDENCE, SEED_BELIEF_LATTICE, SEND_AGENT_MESSAGE, TRACE_ENTITY_IMPACT, TRAVERSE_GRAPH, TRIGGER_BELIEF_REVIEW, UPDATE_ONTOLOGY, UPDATE_QUESTION_STATUS, UPDATE_TASK, UPDATE_TOPIC, UPDATE_WORKTREE_METADATA, UPDATE_WORKTREE_TARGETS, validateGitSemantics };
|
|
3668
|
+
//# sourceMappingURL=tool-contracts.js.map
|
|
3669
|
+
//# sourceMappingURL=tool-contracts.js.map
|