@lucern/contracts 0.3.0-alpha.16 → 0.3.0-alpha.2
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 +0 -7
- package/dist/api-enums.contract.d.ts +3 -5
- package/dist/api-enums.contract.js +12 -14
- package/dist/api-enums.contract.js.map +1 -1
- package/dist/auth-context.contract.js +1 -13
- package/dist/auth-context.contract.js.map +1 -1
- package/dist/auth-session.contract.js +1 -13
- package/dist/auth-session.contract.js.map +1 -1
- package/dist/auth.contract.d.ts +1 -1
- package/dist/auth.contract.js +1 -13
- package/dist/auth.contract.js.map +1 -1
- package/dist/context-pack.contract.d.ts +3 -5
- package/dist/context-pack.contract.js.map +1 -1
- package/dist/{defineTable-t1wr5wgn.d.ts → defineTable-CBQ03FXl.d.ts} +1 -1
- package/dist/{dsl-DVPthQGY.d.ts → dsl-BgpoVOVQ.d.ts} +2 -2
- package/dist/dsl.d.ts +2 -2
- package/dist/dsl.js +4 -1
- package/dist/dsl.js.map +1 -1
- package/dist/function-registry/beliefs.d.ts +51 -64
- package/dist/function-registry/beliefs.js +55 -815
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +6 -15
- package/dist/function-registry/coding.js +41 -864
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +16 -22
- package/dist/function-registry/context.js +44 -803
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.d.ts +3 -9
- package/dist/function-registry/contracts.js +37 -768
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.d.ts +9 -21
- package/dist/function-registry/coordination.js +37 -768
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +2 -167
- package/dist/function-registry/edges.js +69 -976
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +41 -52
- package/dist/function-registry/evidence.js +60 -824
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +66 -162
- package/dist/function-registry/graph.js +44 -884
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +4 -7
- package/dist/function-registry/helpers.js +38 -769
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.d.ts +16 -62
- package/dist/function-registry/identity.js +43 -791
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +3 -5
- package/dist/function-registry/index.js +41 -775
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +11 -16
- package/dist/function-registry/judgments.js +40 -780
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.d.ts +1 -5
- package/dist/function-registry/legacy.js +37 -768
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +21 -28
- package/dist/function-registry/lenses.js +40 -791
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +6 -6
- package/dist/function-registry/manifest.js +2 -19
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/ontologies.d.ts +56 -70
- package/dist/function-registry/ontologies.js +43 -786
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +16 -22
- package/dist/function-registry/pipeline.js +40 -777
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +61 -76
- package/dist/function-registry/questions.js +50 -867
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +21 -28
- package/dist/function-registry/tasks.js +46 -843
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +26 -114
- package/dist/function-registry/topics.js +41 -850
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +3 -7
- package/dist/function-registry/worktrees.d.ts +51 -104
- package/dist/function-registry/worktrees.js +49 -907
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/gateway.contract.d.ts +0 -5
- package/dist/gateway.contract.js.map +1 -1
- package/dist/generated/convexSchemas.d.ts +3 -3
- package/dist/generated/convexSchemas.js +18 -39
- package/dist/generated/convexSchemas.js.map +1 -1
- package/dist/generated/schema-manifest.json +98 -1244
- package/dist/generated/tableOwnership.d.ts +28 -49
- package/dist/generated/tableOwnership.js +26 -68
- package/dist/generated/tableOwnership.js.map +1 -1
- package/dist/generated/tier-expectations.json +9 -66
- package/dist/graph-types/index.d.ts +1 -5
- package/dist/graph-types/index.js +4 -15
- package/dist/graph-types/index.js.map +1 -1
- package/dist/index-CV-0_VWJ.d.ts +25 -0
- package/dist/index.d.ts +414 -30
- package/dist/index.js +339 -34916
- package/dist/index.js.map +1 -1
- package/dist/lens-filter.contract.js +3 -4
- package/dist/lens-filter.contract.js.map +1 -1
- package/dist/lens-workflow.contract.js +3 -4
- package/dist/lens-workflow.contract.js.map +1 -1
- package/dist/schema-helpers/enumValidation.js +5 -2
- package/dist/schema-helpers/enumValidation.js.map +1 -1
- package/dist/schema-helpers/spine/nodes/decision.js +1 -2
- package/dist/schema-helpers/spine/nodes/decision.js.map +1 -1
- package/dist/schema-helpers/spine/tables/epistemicNodes.js +27 -27
- package/dist/schema-helpers/spine/tables/epistemicNodes.js.map +1 -1
- package/dist/schemas/component-table-manifest.d.ts +6 -6
- package/dist/schemas/component-table-manifest.js +2 -2
- package/dist/schemas/component-table-manifest.js.map +1 -1
- package/dist/schemas/enums.d.ts +2 -5
- package/dist/schemas/enums.js +2 -5
- package/dist/schemas/enums.js.map +1 -1
- package/dist/schemas/index.d.ts +3 -3
- package/dist/schemas/index.js +139 -1165
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +932 -3042
- package/dist/schemas/manifest.js +137 -1163
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/sl-opinion.d.ts +4 -4
- package/dist/schemas/tables/{controlPlane → identity}/agent.d.ts +1 -1
- package/dist/schemas/tables/{controlPlane → identity}/agent.js +3 -3
- package/dist/schemas/tables/identity/agent.js.map +1 -0
- package/dist/schemas/tables/{controlPlane → identity}/epistemic.d.ts +1 -1
- package/dist/schemas/tables/{controlPlane → identity}/epistemic.js +3 -3
- package/dist/schemas/tables/identity/epistemic.js.map +1 -0
- package/dist/schemas/tables/{controlPlane → identity}/model.d.ts +1 -1
- package/dist/schemas/tables/{controlPlane → identity}/model.js +6 -6
- package/dist/schemas/tables/identity/model.js.map +1 -0
- package/dist/schemas/tables/{controlPlane → identity}/platform.d.ts +11 -11
- package/dist/schemas/tables/{controlPlane → identity}/platform.js +18 -18
- package/dist/schemas/tables/identity/platform.js.map +1 -0
- package/dist/schemas/tables/{controlPlane → identity}/project.d.ts +1 -1
- package/dist/schemas/tables/{controlPlane → identity}/project.js +3 -3
- package/dist/schemas/tables/identity/project.js.map +1 -0
- package/dist/schemas/tables/{controlPlane → identity}/user.d.ts +1 -1
- package/dist/schemas/tables/{controlPlane → identity}/user.js +3 -3
- package/dist/schemas/tables/identity/user.js.map +1 -0
- package/dist/schemas/tables/kernel/config.d.ts +1 -1
- package/dist/schemas/tables/kernel/config.js.map +1 -1
- package/dist/schemas/tables/kernel/coordination.d.ts +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 +7 -7
- package/dist/schemas/tables/kernel/epistemic.js.map +1 -1
- package/dist/schemas/tables/kernel/idempotency.d.ts +1 -1
- package/dist/schemas/tables/kernel/idempotency.js.map +1 -1
- package/dist/schemas/tables/kernel/infra.d.ts +5 -5
- package/dist/schemas/tables/kernel/infra.js.map +1 -1
- package/dist/schemas/tables/kernel/intelligence.d.ts +11 -11
- 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.d.ts +13 -13
- package/dist/schemas/tables/kernel/platform.js.map +1 -1
- package/dist/schemas/tables/kernel/spine.d.ts +4 -5
- package/dist/schemas/tables/kernel/spine.js +2 -6
- package/dist/schemas/tables/kernel/spine.js.map +1 -1
- package/dist/schemas/tables/kernel/task.d.ts +43 -43
- 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 +1 -5
- 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 +55 -55
- package/dist/schemas/tables/kernel/worktree.js.map +1 -1
- package/dist/schemas/tables/mc/identity.d.ts +4 -44
- package/dist/schemas/tables/mc/identity.js +1 -66
- package/dist/schemas/tables/mc/identity.js.map +1 -1
- package/dist/schemas/tables/mc/methodology.d.ts +1 -1
- package/dist/schemas/tables/mc/methodology.js.map +1 -1
- package/dist/schemas/tables/mc/pack.d.ts +21 -21
- package/dist/schemas/tables/mc/pack.js.map +1 -1
- package/dist/schemas/tables/mc/policy.d.ts +2 -2
- package/dist/schemas/tables/mc/policy.js +1 -1
- package/dist/schemas/tables/mc/policy.js.map +1 -1
- package/dist/schemas/tables/mc/registry.d.ts +5 -5
- package/dist/schemas/tables/mc/registry.js.map +1 -1
- package/dist/schemas/tables/mc/runtime.d.ts +3 -109
- package/dist/schemas/tables/mc/runtime.js +104 -330
- package/dist/schemas/tables/mc/runtime.js.map +1 -1
- package/dist/schemas/tables/mc/tenant.d.ts +2 -4
- package/dist/schemas/tables/mc/tenant.js +1 -3
- package/dist/schemas/tables/mc/tenant.js.map +1 -1
- package/dist/schemas/tables/mc/workspace.d.ts +5 -28
- package/dist/schemas/tables/mc/workspace.js +2 -36
- package/dist/schemas/tables/mc/workspace.js.map +1 -1
- package/dist/sdk-methods.contract.d.ts +2 -2
- package/dist/{sdk-tools.contract-CKmSsrZ2.d.ts → sdk-tools.contract-S4ia0TTo.d.ts} +2 -2
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +25 -717
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/{tool-contracts-C_xvM9q2.d.ts → tool-contracts-C92-9ueT.d.ts} +2 -38
- package/dist/tool-contracts.d.ts +1 -1
- package/dist/tool-contracts.js +26 -718
- package/dist/tool-contracts.js.map +1 -1
- package/package.json +1 -30
- package/dist/component-boundary.contract.d.ts +0 -14
- package/dist/component-boundary.contract.js +0 -175
- package/dist/component-boundary.contract.js.map +0 -1
- package/dist/component-host-boundary.contract.d.ts +0 -46
- package/dist/component-host-boundary.contract.js +0 -60
- package/dist/component-host-boundary.contract.js.map +0 -1
- package/dist/edge-policy-manifest-Dw5IhT1L.d.ts +0 -133
- package/dist/function-registry/nodes.d.ts +0 -412
- package/dist/function-registry/nodes.js +0 -5354
- package/dist/function-registry/nodes.js.map +0 -1
- package/dist/function-registry-input-audit.d.ts +0 -13
- package/dist/function-registry-input-audit.js +0 -166
- package/dist/function-registry-input-audit.js.map +0 -1
- package/dist/generated/infisicalRuntimeEnv.d.ts +0 -70
- package/dist/generated/infisicalRuntimeEnv.js +0 -27051
- package/dist/generated/infisicalRuntimeEnv.js.map +0 -1
- package/dist/generated/lucernGatewayEnv.d.ts +0 -17
- package/dist/generated/lucernGatewayEnv.js +0 -38
- package/dist/generated/lucernGatewayEnv.js.map +0 -1
- package/dist/generated/lucernWebPublicEnv.d.ts +0 -26
- package/dist/generated/lucernWebPublicEnv.js +0 -32
- package/dist/generated/lucernWebPublicEnv.js.map +0 -1
- package/dist/generated/lucernWebServerEnv.d.ts +0 -33
- package/dist/generated/lucernWebServerEnv.js +0 -51
- package/dist/generated/lucernWebServerEnv.js.map +0 -1
- package/dist/graph-intelligence.contract.d.ts +0 -506
- package/dist/graph-intelligence.contract.js +0 -595
- package/dist/graph-intelligence.contract.js.map +0 -1
- package/dist/index-CM1Pl_vI.d.ts +0 -28
- package/dist/infisical-runtime.contract.d.ts +0 -1851
- package/dist/infisical-runtime.contract.js +0 -3189
- package/dist/infisical-runtime.contract.js.map +0 -1
- package/dist/manifests/edge-policy-manifest.d.ts +0 -2
- package/dist/manifests/edge-policy-manifest.data.d.ts +0 -13
- package/dist/manifests/edge-policy-manifest.data.js +0 -26
- package/dist/manifests/edge-policy-manifest.data.js.map +0 -1
- package/dist/manifests/edge-policy-manifest.js +0 -92
- package/dist/manifests/edge-policy-manifest.js.map +0 -1
- package/dist/manifests/infisical-runtime-manifest.d.ts +0 -1754
- package/dist/manifests/infisical-runtime-manifest.js +0 -3044
- package/dist/manifests/infisical-runtime-manifest.js.map +0 -1
- package/dist/manifests/invariant-manifest.d.ts +0 -65
- package/dist/manifests/invariant-manifest.js +0 -18
- package/dist/manifests/invariant-manifest.js.map +0 -1
- package/dist/manifests/invariants/ast-utils.d.ts +0 -14
- package/dist/manifests/invariants/ast-utils.js +0 -54
- package/dist/manifests/invariants/ast-utils.js.map +0 -1
- package/dist/manifests/invariants/index.d.ts +0 -15
- package/dist/manifests/invariants/index.js +0 -183
- package/dist/manifests/invariants/index.js.map +0 -1
- package/dist/manifests/invariants/inv-1-beliefs-append-only.d.ts +0 -12
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js +0 -94
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js.map +0 -1
- package/dist/manifests/invariants/inv-14-no-silent-transitions.d.ts +0 -12
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js +0 -99
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js.map +0 -1
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.d.ts +0 -12
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js +0 -42
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js.map +0 -1
- package/dist/manifests/tenant-client-manifest.d.ts +0 -327
- package/dist/manifests/tenant-client-manifest.js +0 -449
- package/dist/manifests/tenant-client-manifest.js.map +0 -1
- package/dist/mcp-gateway-boundary.contract.d.ts +0 -201
- package/dist/mcp-gateway-boundary.contract.js +0 -45
- package/dist/mcp-gateway-boundary.contract.js.map +0 -1
- package/dist/permit-principal-projection.contract.d.ts +0 -74
- package/dist/permit-principal-projection.contract.js +0 -160
- package/dist/permit-principal-projection.contract.js.map +0 -1
- package/dist/projections/check-convex-args-shape.d.ts +0 -3
- package/dist/projections/check-convex-args-shape.js +0 -403
- package/dist/projections/check-convex-args-shape.js.map +0 -1
- package/dist/projections/create-evidence.projection.d.ts +0 -176
- package/dist/projections/create-evidence.projection.js +0 -130
- package/dist/projections/create-evidence.projection.js.map +0 -1
- package/dist/projections/index.d.ts +0 -102
- package/dist/projections/index.js +0 -352
- package/dist/projections/index.js.map +0 -1
- package/dist/projections/list-beliefs.projection.d.ts +0 -36
- package/dist/projections/list-beliefs.projection.js +0 -54
- package/dist/projections/list-beliefs.projection.js.map +0 -1
- package/dist/projections/list-tasks.projection.d.ts +0 -44
- package/dist/projections/list-tasks.projection.js +0 -57
- package/dist/projections/list-tasks.projection.js.map +0 -1
- package/dist/projections/modulate-confidence.projection.d.ts +0 -219
- package/dist/projections/modulate-confidence.projection.js +0 -148
- package/dist/projections/modulate-confidence.projection.js.map +0 -1
- package/dist/projections/projection-dsl.d.ts +0 -11
- package/dist/projections/projection-dsl.js +0 -8
- package/dist/projections/projection-dsl.js.map +0 -1
- package/dist/proof-attestation.json +0 -45
- package/dist/schemas/tables/controlPlane/accessControl.d.ts +0 -260
- package/dist/schemas/tables/controlPlane/accessControl.js +0 -658
- package/dist/schemas/tables/controlPlane/accessControl.js.map +0 -1
- package/dist/schemas/tables/controlPlane/agent.js.map +0 -1
- package/dist/schemas/tables/controlPlane/epistemic.js.map +0 -1
- package/dist/schemas/tables/controlPlane/model.js.map +0 -1
- package/dist/schemas/tables/controlPlane/platform.js.map +0 -1
- package/dist/schemas/tables/controlPlane/project.js.map +0 -1
- package/dist/schemas/tables/controlPlane/user.js.map +0 -1
- package/dist/schemas/tables/kernel/events.d.ts +0 -21
- package/dist/schemas/tables/kernel/events.js +0 -43
- package/dist/schemas/tables/kernel/events.js.map +0 -1
- package/dist/tenant-bootstrap-seed.contract.d.ts +0 -1289
- package/dist/tenant-bootstrap-seed.contract.js +0 -764
- package/dist/tenant-bootstrap-seed.contract.js.map +0 -1
- package/dist/tenant-bootstrap-seed.defaults.d.ts +0 -16
- package/dist/tenant-bootstrap-seed.defaults.js +0 -321
- package/dist/tenant-bootstrap-seed.defaults.js.map +0 -1
- package/dist/tenant-client.contract.d.ts +0 -354
- package/dist/tenant-client.contract.js +0 -505
- package/dist/tenant-client.contract.js.map +0 -1
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
// src/types/reasoning-method.ts
|
|
2
|
-
var REASONING_METHODS = [
|
|
3
|
-
"deductive",
|
|
4
|
-
"inductive",
|
|
5
|
-
"abductive",
|
|
6
|
-
"analogical",
|
|
7
|
-
"causal",
|
|
8
|
-
"correlational",
|
|
9
|
-
"testimonial",
|
|
10
|
-
"statistical",
|
|
11
|
-
"implicit",
|
|
12
|
-
"pattern_match"
|
|
13
|
-
];
|
|
14
|
-
|
|
15
1
|
// src/lens-workflow.contract.ts
|
|
16
2
|
var LENS_PERSPECTIVE_TYPES = [
|
|
17
3
|
"investigation",
|
|
@@ -432,22 +418,7 @@ var ADD_WORKTREE = {
|
|
|
432
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.",
|
|
433
419
|
parameters: {
|
|
434
420
|
title: { type: "string", description: "Worktree name/objective" },
|
|
435
|
-
|
|
436
|
-
type: "string",
|
|
437
|
-
description: "Optional storage-name alias for callers that already use backend naming"
|
|
438
|
-
},
|
|
439
|
-
projectId: {
|
|
440
|
-
type: "string",
|
|
441
|
-
description: "Legacy topicId alias or resolver hint"
|
|
442
|
-
},
|
|
443
|
-
topicId: {
|
|
444
|
-
type: "string",
|
|
445
|
-
description: "Optional topic scope hint for resolver validation"
|
|
446
|
-
},
|
|
447
|
-
topicHint: {
|
|
448
|
-
type: "string",
|
|
449
|
-
description: "Natural-language topic hint for automatic topic resolution"
|
|
450
|
-
},
|
|
421
|
+
topicId: { type: "string", description: "Optional topic scope hint" },
|
|
451
422
|
branchId: {
|
|
452
423
|
type: "string",
|
|
453
424
|
description: "The branch this worktree investigates"
|
|
@@ -460,107 +431,18 @@ var ADD_WORKTREE = {
|
|
|
460
431
|
type: "string",
|
|
461
432
|
description: "The testable claim this worktree investigates"
|
|
462
433
|
},
|
|
463
|
-
rationale: {
|
|
464
|
-
type: "string",
|
|
465
|
-
description: "Why this worktree exists and why it belongs in the campaign"
|
|
466
|
-
},
|
|
467
|
-
worktreeType: {
|
|
468
|
-
type: "string",
|
|
469
|
-
description: "Schema-enum worktree type used by the kernel lifecycle and retrieval layers"
|
|
470
|
-
},
|
|
471
|
-
gate: {
|
|
472
|
-
type: "string",
|
|
473
|
-
description: "Exit gate name for this worktree"
|
|
474
|
-
},
|
|
475
|
-
startDate: {
|
|
476
|
-
type: "number",
|
|
477
|
-
description: "Planned start timestamp in milliseconds since epoch"
|
|
478
|
-
},
|
|
479
|
-
endDate: {
|
|
480
|
-
type: "number",
|
|
481
|
-
description: "Planned end timestamp in milliseconds since epoch"
|
|
482
|
-
},
|
|
483
|
-
durationWeeks: {
|
|
484
|
-
type: "number",
|
|
485
|
-
description: "Planned duration in weeks"
|
|
486
|
-
},
|
|
487
|
-
confidenceImpact: {
|
|
488
|
-
type: "string",
|
|
489
|
-
description: "Expected confidence impact if the worktree succeeds",
|
|
490
|
-
enum: ["high", "medium", "low"]
|
|
491
|
-
},
|
|
492
|
-
beliefFocus: {
|
|
493
|
-
type: "string",
|
|
494
|
-
description: "Natural-language focus spanning the target belief neighborhood"
|
|
495
|
-
},
|
|
496
434
|
beliefIds: {
|
|
497
435
|
type: "array",
|
|
498
|
-
description: "
|
|
499
|
-
},
|
|
500
|
-
beliefs: {
|
|
501
|
-
type: "array",
|
|
502
|
-
description: "Legacy alias for targetBeliefIds"
|
|
503
|
-
},
|
|
504
|
-
targetBeliefIds: {
|
|
505
|
-
type: "array",
|
|
506
|
-
description: "Belief node IDs this worktree is expected to test or update"
|
|
507
|
-
},
|
|
508
|
-
targetQuestionIds: {
|
|
509
|
-
type: "array",
|
|
510
|
-
description: "Question node IDs this worktree is expected to answer"
|
|
511
|
-
},
|
|
512
|
-
keyQuestions: {
|
|
513
|
-
type: "array",
|
|
514
|
-
description: "Inline key question objects with question, optional status, answer, answerConfidence, and linkedQuestionId"
|
|
515
|
-
},
|
|
516
|
-
evidenceSignals: {
|
|
517
|
-
type: "array",
|
|
518
|
-
description: "Evidence signal objects with signal, optional collected state, progress, and notes"
|
|
519
|
-
},
|
|
520
|
-
decisionGate: {
|
|
521
|
-
type: "object",
|
|
522
|
-
description: "Decision gate object with goCriteria, noGoSignals, optional verdict, rationale, decidedAt, and decidedBy"
|
|
523
|
-
},
|
|
524
|
-
goCriteria: {
|
|
525
|
-
type: "array",
|
|
526
|
-
description: "Shorthand go criteria used to build decisionGate"
|
|
527
|
-
},
|
|
528
|
-
noGoSignals: {
|
|
529
|
-
type: "array",
|
|
530
|
-
description: "Shorthand no-go signals used to build decisionGate"
|
|
531
|
-
},
|
|
532
|
-
proofArtifacts: {
|
|
533
|
-
type: "array",
|
|
534
|
-
description: "Expected proof artifacts required to close the worktree"
|
|
436
|
+
description: "Beliefs to test in this worktree"
|
|
535
437
|
},
|
|
536
438
|
autoShape: {
|
|
537
439
|
type: "boolean",
|
|
538
440
|
description: "Whether to invoke inquiry auto-shaping during worktree creation"
|
|
539
441
|
},
|
|
540
|
-
autoFixPolicy: {
|
|
541
|
-
type: "object",
|
|
542
|
-
description: "Policy for permitted automatic remediation inside the worktree"
|
|
543
|
-
},
|
|
544
442
|
domainPackId: {
|
|
545
443
|
type: "string",
|
|
546
444
|
description: "Optional domain pack whose shaping hooks should influence generated questions and tasks"
|
|
547
445
|
},
|
|
548
|
-
tags: {
|
|
549
|
-
type: "array",
|
|
550
|
-
description: "Additional topic-resolution tags for the worktree"
|
|
551
|
-
},
|
|
552
|
-
touchedPaths: {
|
|
553
|
-
type: "array",
|
|
554
|
-
description: "File paths used as topic-resolution signals"
|
|
555
|
-
},
|
|
556
|
-
sourceRef: {
|
|
557
|
-
type: "string",
|
|
558
|
-
description: "Source reference used as a topic-resolution signal"
|
|
559
|
-
},
|
|
560
|
-
sourceKind: {
|
|
561
|
-
type: "string",
|
|
562
|
-
description: "Source kind used as a topic-resolution signal"
|
|
563
|
-
},
|
|
564
446
|
campaign: {
|
|
565
447
|
type: "number",
|
|
566
448
|
description: "Top-level pipeline campaign number. Campaigns define the outer execution slice."
|
|
@@ -585,20 +467,12 @@ var ADD_WORKTREE = {
|
|
|
585
467
|
type: "array",
|
|
586
468
|
description: "Worktree IDs blocked by this worktree"
|
|
587
469
|
},
|
|
588
|
-
|
|
589
|
-
type: "string",
|
|
590
|
-
description: "Suggested staffing or agent allocation note"
|
|
591
|
-
},
|
|
592
|
-
lensId: {
|
|
470
|
+
gate: {
|
|
593
471
|
type: "string",
|
|
594
|
-
description: "
|
|
595
|
-
},
|
|
596
|
-
lastReconciledAt: {
|
|
597
|
-
type: "number",
|
|
598
|
-
description: "Timestamp when worktree metadata was last reconciled"
|
|
472
|
+
description: "Exit gate name for this worktree"
|
|
599
473
|
}
|
|
600
474
|
},
|
|
601
|
-
required: ["title"],
|
|
475
|
+
required: ["title", "topicId"],
|
|
602
476
|
response: {
|
|
603
477
|
description: "The created worktree",
|
|
604
478
|
fields: {
|
|
@@ -625,7 +499,7 @@ var MERGE = {
|
|
|
625
499
|
worktreeId: { type: "string", description: "The worktree to merge" },
|
|
626
500
|
outcomes: {
|
|
627
501
|
type: "array",
|
|
628
|
-
description: "
|
|
502
|
+
description: "Scoring outcomes for each belief: { beliefId, confidence, rationale }"
|
|
629
503
|
},
|
|
630
504
|
summary: { type: "string", description: "Overall findings summary" }
|
|
631
505
|
},
|
|
@@ -843,23 +717,19 @@ var FIND_CONTRADICTIONS = {
|
|
|
843
717
|
};
|
|
844
718
|
var CREATE_EDGE = {
|
|
845
719
|
name: "create_edge",
|
|
846
|
-
description: "Commit a typed relationship between two nodes in the reasoning graph. Like `git commit` \u2014 an atomic write that declares a dependency between nodes.
|
|
720
|
+
description: "Commit a typed relationship between two nodes in the reasoning graph. Like `git commit` \u2014 an atomic write that declares a dependency between nodes. The engine enforces layer transition rules \u2014 for example, L1 \u2192 L3 direct edges are forbidden (must go through L2).",
|
|
847
721
|
parameters: {
|
|
848
|
-
|
|
849
|
-
type: "
|
|
850
|
-
description: "Source
|
|
851
|
-
},
|
|
852
|
-
to: {
|
|
853
|
-
type: "object",
|
|
854
|
-
description: "Target graph ref, e.g. { kind: 'epistemic_node', nodeId: '...', nodeType: 'belief' }"
|
|
722
|
+
sourceId: {
|
|
723
|
+
type: "string",
|
|
724
|
+
description: "Source node of the relationship"
|
|
855
725
|
},
|
|
856
|
-
|
|
726
|
+
targetId: {
|
|
857
727
|
type: "string",
|
|
858
|
-
description: "
|
|
728
|
+
description: "Target node of the relationship"
|
|
859
729
|
},
|
|
860
|
-
|
|
730
|
+
edgeType: {
|
|
861
731
|
type: "string",
|
|
862
|
-
description: "
|
|
732
|
+
description: "Relationship type (informs, tests, depends_on, supersedes, etc.)"
|
|
863
733
|
},
|
|
864
734
|
weight: {
|
|
865
735
|
type: "number",
|
|
@@ -869,14 +739,10 @@ var CREATE_EDGE = {
|
|
|
869
739
|
reasoningMethod: {
|
|
870
740
|
type: "string",
|
|
871
741
|
description: "How this was determined",
|
|
872
|
-
enum: [
|
|
873
|
-
},
|
|
874
|
-
metadata: {
|
|
875
|
-
type: "object",
|
|
876
|
-
description: "Optional edge metadata."
|
|
742
|
+
enum: ["deductive", "inductive", "abductive", "analogical", "empirical"]
|
|
877
743
|
}
|
|
878
744
|
},
|
|
879
|
-
required: ["
|
|
745
|
+
required: ["sourceId", "targetId", "edgeType"],
|
|
880
746
|
response: {
|
|
881
747
|
description: "The created edge",
|
|
882
748
|
fields: {
|
|
@@ -890,240 +756,6 @@ var CREATE_EDGE = {
|
|
|
890
756
|
ontologyPrimitive: "edge",
|
|
891
757
|
tier: "showcase"
|
|
892
758
|
};
|
|
893
|
-
var UPDATE_EDGE = {
|
|
894
|
-
name: "update_edge",
|
|
895
|
-
description: "Amend metadata on an existing graph edge. Like `git commit --amend` \u2014 changes the edge annotation without recreating the relationship.",
|
|
896
|
-
parameters: {
|
|
897
|
-
edgeId: { type: "string", description: "Edge ID or global ID to update" },
|
|
898
|
-
weight: { type: "number", description: "Updated edge weight" },
|
|
899
|
-
confidence: { type: "number", description: "Updated confidence" },
|
|
900
|
-
context: { type: "string", description: "Updated human-readable context" },
|
|
901
|
-
derivationType: { type: "string", description: "Updated derivation type" },
|
|
902
|
-
metadata: { type: "object", description: "Updated metadata" }
|
|
903
|
-
},
|
|
904
|
-
required: ["edgeId"],
|
|
905
|
-
response: {
|
|
906
|
-
description: "Edge update result",
|
|
907
|
-
fields: { success: "boolean" }
|
|
908
|
-
},
|
|
909
|
-
ownerModule: "graph-primitives",
|
|
910
|
-
ontologyPrimitive: "edge",
|
|
911
|
-
tier: "workhorse"
|
|
912
|
-
};
|
|
913
|
-
var REMOVE_EDGE = {
|
|
914
|
-
name: "remove_edge",
|
|
915
|
-
description: "Remove one graph edge by ID. Like `git rm` \u2014 deletes a single explicit relationship from the spine.",
|
|
916
|
-
parameters: {
|
|
917
|
-
edgeId: { type: "string", description: "Edge ID or global ID to remove" }
|
|
918
|
-
},
|
|
919
|
-
required: ["edgeId"],
|
|
920
|
-
response: {
|
|
921
|
-
description: "Edge removal result",
|
|
922
|
-
fields: { success: "boolean" }
|
|
923
|
-
},
|
|
924
|
-
ownerModule: "graph-primitives",
|
|
925
|
-
ontologyPrimitive: "edge",
|
|
926
|
-
tier: "workhorse"
|
|
927
|
-
};
|
|
928
|
-
var REMOVE_EDGES_BETWEEN = {
|
|
929
|
-
name: "remove_edges_between",
|
|
930
|
-
description: "Remove graph edges between two nodes. Like `git rm <pathspec>` \u2014 deletes relationships matching a source, target, and optional type.",
|
|
931
|
-
parameters: {
|
|
932
|
-
fromNodeId: { type: "string", description: "Source node ID or global ID" },
|
|
933
|
-
toNodeId: { type: "string", description: "Target node ID or global ID" },
|
|
934
|
-
edgeType: { type: "string", description: "Optional edge type filter" }
|
|
935
|
-
},
|
|
936
|
-
required: ["fromNodeId", "toNodeId"],
|
|
937
|
-
response: {
|
|
938
|
-
description: "Matched edge removal result",
|
|
939
|
-
fields: { deleted: "number" }
|
|
940
|
-
},
|
|
941
|
-
ownerModule: "graph-primitives",
|
|
942
|
-
ontologyPrimitive: "edge",
|
|
943
|
-
tier: "workhorse"
|
|
944
|
-
};
|
|
945
|
-
var BATCH_CREATE_EDGES = {
|
|
946
|
-
name: "batch_create_edges",
|
|
947
|
-
description: "Commit multiple typed graph edges. Like `git commit` with many staged paths \u2014 writes a batch of explicit relationships atomically per edge.",
|
|
948
|
-
parameters: {
|
|
949
|
-
edges: {
|
|
950
|
-
type: "array",
|
|
951
|
-
description: "Edges to create, each with from, to, edgeType, and optional weight/confidence/context."
|
|
952
|
-
},
|
|
953
|
-
skipLayerValidation: {
|
|
954
|
-
type: "boolean",
|
|
955
|
-
description: "Skip kernel layer validation for trusted materialization flows."
|
|
956
|
-
}
|
|
957
|
-
},
|
|
958
|
-
required: ["edges"],
|
|
959
|
-
response: {
|
|
960
|
-
description: "Batch edge creation result",
|
|
961
|
-
fields: {
|
|
962
|
-
created: "number",
|
|
963
|
-
results: "array",
|
|
964
|
-
errors: "array"
|
|
965
|
-
}
|
|
966
|
-
},
|
|
967
|
-
ownerModule: "graph-primitives",
|
|
968
|
-
ontologyPrimitive: "edge",
|
|
969
|
-
tier: "workhorse"
|
|
970
|
-
};
|
|
971
|
-
var CREATE_EPISTEMIC_NODE = {
|
|
972
|
-
name: "create_epistemic_node",
|
|
973
|
-
description: "Commit a generic epistemic graph node. Like `git commit` \u2014 creates a canonical node in the public spine for topics, beliefs, evidence, questions, answers, sources, and entities.",
|
|
974
|
-
parameters: {
|
|
975
|
-
globalId: { type: "string", description: "Optional idempotent node global ID" },
|
|
976
|
-
nodeType: { type: "string", description: "Public epistemic node type" },
|
|
977
|
-
canonicalText: { type: "string", description: "Canonical node text" },
|
|
978
|
-
text: { type: "string", description: "Alias for canonicalText" },
|
|
979
|
-
contentHash: { type: "string", description: "Optional idempotency content hash" },
|
|
980
|
-
sourceType: { type: "string", description: "Source type for provenance" },
|
|
981
|
-
topicId: { type: "string", description: "Optional topic scope" },
|
|
982
|
-
content: { type: "string", description: "Extended content" },
|
|
983
|
-
title: { type: "string", description: "Display title" },
|
|
984
|
-
metadata: { type: "object", description: "Optional node metadata" }
|
|
985
|
-
},
|
|
986
|
-
required: ["nodeType"],
|
|
987
|
-
response: {
|
|
988
|
-
description: "Created node result",
|
|
989
|
-
fields: {
|
|
990
|
-
nodeId: "string",
|
|
991
|
-
nodeGlobalId: "string",
|
|
992
|
-
isDuplicate: "boolean"
|
|
993
|
-
}
|
|
994
|
-
},
|
|
995
|
-
ownerModule: "reasoning-kernel",
|
|
996
|
-
ontologyPrimitive: "graph",
|
|
997
|
-
tier: "showcase"
|
|
998
|
-
};
|
|
999
|
-
var GET_EPISTEMIC_NODE = {
|
|
1000
|
-
name: "get_epistemic_node",
|
|
1001
|
-
description: "Read one epistemic graph node. Like `git show` \u2014 resolves a canonical spine node by ID or global ID.",
|
|
1002
|
-
parameters: {
|
|
1003
|
-
nodeId: { type: "string", description: "Node ID or global ID" }
|
|
1004
|
-
},
|
|
1005
|
-
required: ["nodeId"],
|
|
1006
|
-
response: {
|
|
1007
|
-
description: "The resolved node",
|
|
1008
|
-
fields: { node: "object" }
|
|
1009
|
-
},
|
|
1010
|
-
ownerModule: "reasoning-kernel",
|
|
1011
|
-
ontologyPrimitive: "graph",
|
|
1012
|
-
tier: "workhorse"
|
|
1013
|
-
};
|
|
1014
|
-
var LIST_EPISTEMIC_NODES = {
|
|
1015
|
-
name: "list_epistemic_nodes",
|
|
1016
|
-
description: "List epistemic graph nodes. Like `git ls-tree` \u2014 lists canonical spine nodes by topic, type, status, or search query.",
|
|
1017
|
-
parameters: {
|
|
1018
|
-
topicId: { type: "string", description: "Optional topic scope" },
|
|
1019
|
-
nodeType: { type: "string", description: "Optional node type filter" },
|
|
1020
|
-
status: { type: "string", description: "Optional lifecycle status" },
|
|
1021
|
-
searchQuery: { type: "string", description: "Optional text search query" },
|
|
1022
|
-
limit: { type: "number", description: "Maximum nodes to return" }
|
|
1023
|
-
},
|
|
1024
|
-
required: [],
|
|
1025
|
-
response: {
|
|
1026
|
-
description: "Matching nodes",
|
|
1027
|
-
fields: { nodes: "array" }
|
|
1028
|
-
},
|
|
1029
|
-
ownerModule: "reasoning-kernel",
|
|
1030
|
-
ontologyPrimitive: "graph",
|
|
1031
|
-
tier: "workhorse"
|
|
1032
|
-
};
|
|
1033
|
-
var UPDATE_EPISTEMIC_NODE = {
|
|
1034
|
-
name: "update_epistemic_node",
|
|
1035
|
-
description: "Amend an epistemic graph node. Like `git commit --amend` \u2014 updates mutable node metadata, text, status, or verification fields.",
|
|
1036
|
-
parameters: {
|
|
1037
|
-
nodeId: { type: "string", description: "Node ID or global ID" },
|
|
1038
|
-
canonicalText: { type: "string", description: "Updated canonical text" },
|
|
1039
|
-
text: { type: "string", description: "Alias for canonicalText" },
|
|
1040
|
-
contentHash: { type: "string", description: "Updated content hash" },
|
|
1041
|
-
content: { type: "string", description: "Updated content" },
|
|
1042
|
-
title: { type: "string", description: "Updated display title" },
|
|
1043
|
-
metadata: { type: "object", description: "Updated metadata" },
|
|
1044
|
-
confidence: { type: "number", description: "Updated confidence" },
|
|
1045
|
-
verificationStatus: { type: "string", description: "Updated verification status" },
|
|
1046
|
-
status: { type: "string", description: "Updated lifecycle status" }
|
|
1047
|
-
},
|
|
1048
|
-
required: ["nodeId"],
|
|
1049
|
-
response: {
|
|
1050
|
-
description: "Node update result",
|
|
1051
|
-
fields: { success: "boolean" }
|
|
1052
|
-
},
|
|
1053
|
-
ownerModule: "reasoning-kernel",
|
|
1054
|
-
ontologyPrimitive: "graph",
|
|
1055
|
-
tier: "workhorse"
|
|
1056
|
-
};
|
|
1057
|
-
var ARCHIVE_EPISTEMIC_NODE = {
|
|
1058
|
-
name: "archive_epistemic_node",
|
|
1059
|
-
description: "Archive an epistemic graph node. Like `git rm --cached` \u2014 removes a node from active traversal without hard-deleting it.",
|
|
1060
|
-
parameters: {
|
|
1061
|
-
nodeId: { type: "string", description: "Node ID or global ID" }
|
|
1062
|
-
},
|
|
1063
|
-
required: ["nodeId"],
|
|
1064
|
-
response: {
|
|
1065
|
-
description: "Archive result",
|
|
1066
|
-
fields: { success: "boolean", effectiveStatus: "string" }
|
|
1067
|
-
},
|
|
1068
|
-
ownerModule: "reasoning-kernel",
|
|
1069
|
-
ontologyPrimitive: "graph",
|
|
1070
|
-
tier: "workhorse"
|
|
1071
|
-
};
|
|
1072
|
-
var VERIFY_EPISTEMIC_NODE = {
|
|
1073
|
-
name: "verify_epistemic_node",
|
|
1074
|
-
description: "Record verification state on an epistemic graph node. Like `git tag` \u2014 marks the node with a reviewed verification state.",
|
|
1075
|
-
parameters: {
|
|
1076
|
-
nodeId: { type: "string", description: "Node ID or global ID" },
|
|
1077
|
-
verificationStatus: { type: "string", description: "Verification status" },
|
|
1078
|
-
confidence: { type: "number", description: "Optional confidence update" }
|
|
1079
|
-
},
|
|
1080
|
-
required: ["nodeId", "verificationStatus"],
|
|
1081
|
-
response: {
|
|
1082
|
-
description: "Verification result",
|
|
1083
|
-
fields: { success: "boolean" }
|
|
1084
|
-
},
|
|
1085
|
-
ownerModule: "reasoning-kernel",
|
|
1086
|
-
ontologyPrimitive: "graph",
|
|
1087
|
-
tier: "workhorse"
|
|
1088
|
-
};
|
|
1089
|
-
var SUPERSEDE_EPISTEMIC_NODE = {
|
|
1090
|
-
name: "supersede_epistemic_node",
|
|
1091
|
-
description: "Supersede an epistemic graph node with a new version. Like `git commit --amend` on an immutable history branch \u2014 creates the replacement and marks the old node superseded.",
|
|
1092
|
-
parameters: {
|
|
1093
|
-
oldNodeId: { type: "string", description: "Node ID or global ID to supersede" },
|
|
1094
|
-
newGlobalId: { type: "string", description: "Optional replacement global ID" },
|
|
1095
|
-
newCanonicalText: { type: "string", description: "Replacement canonical text" },
|
|
1096
|
-
text: { type: "string", description: "Alias for newCanonicalText" },
|
|
1097
|
-
newContentHash: { type: "string", description: "Optional replacement content hash" },
|
|
1098
|
-
reason: { type: "string", description: "Reason for superseding" }
|
|
1099
|
-
},
|
|
1100
|
-
required: ["oldNodeId"],
|
|
1101
|
-
response: {
|
|
1102
|
-
description: "Supersede result",
|
|
1103
|
-
fields: { oldNodeId: "string", newNodeId: "string" }
|
|
1104
|
-
},
|
|
1105
|
-
ownerModule: "reasoning-kernel",
|
|
1106
|
-
ontologyPrimitive: "graph",
|
|
1107
|
-
tier: "workhorse"
|
|
1108
|
-
};
|
|
1109
|
-
var BATCH_CREATE_EPISTEMIC_NODES = {
|
|
1110
|
-
name: "batch_create_epistemic_nodes",
|
|
1111
|
-
description: "Commit multiple epistemic graph nodes. Like `git commit` with many staged files \u2014 writes a batch of canonical spine nodes.",
|
|
1112
|
-
parameters: {
|
|
1113
|
-
nodes: {
|
|
1114
|
-
type: "array",
|
|
1115
|
-
description: "Nodes to create with nodeType, canonicalText/text, and optional metadata."
|
|
1116
|
-
}
|
|
1117
|
-
},
|
|
1118
|
-
required: ["nodes"],
|
|
1119
|
-
response: {
|
|
1120
|
-
description: "Batch node creation result",
|
|
1121
|
-
fields: { created: "number", results: "array" }
|
|
1122
|
-
},
|
|
1123
|
-
ownerModule: "reasoning-kernel",
|
|
1124
|
-
ontologyPrimitive: "graph",
|
|
1125
|
-
tier: "workhorse"
|
|
1126
|
-
};
|
|
1127
759
|
var RECORD_JUDGMENT = {
|
|
1128
760
|
name: "record_judgment",
|
|
1129
761
|
description: "Record a judgment \u2014 an irreversible commitment based on the current epistemic state. Like a `git tag` marking a release. A judgment synthesizes beliefs, evidence, and uncertainties into a determination. Once issued, a judgment is evaluated against the epistemic state that existed when it was made (knowledge horizon evaluation, Invariant #10).",
|
|
@@ -1421,74 +1053,6 @@ var GET_GRAPH_STRUCTURE_ANALYSIS = {
|
|
|
1421
1053
|
ontologyPrimitive: "graph",
|
|
1422
1054
|
tier: "showcase"
|
|
1423
1055
|
};
|
|
1424
|
-
var LIST_GRAPH_INTELLIGENCE_QUERIES = {
|
|
1425
|
-
name: "list_graph_intelligence_queries",
|
|
1426
|
-
description: "List the Graph Intelligence query catalog that powers structural graph analysis experiences. Returns categories, query IDs, prompt templates, modes, and the public tool plan each query can use.",
|
|
1427
|
-
parameters: {
|
|
1428
|
-
categoryId: {
|
|
1429
|
-
type: "string",
|
|
1430
|
-
description: "Optional category filter, such as problems or strategic"
|
|
1431
|
-
},
|
|
1432
|
-
mode: {
|
|
1433
|
-
type: "string",
|
|
1434
|
-
description: "Optional mode filter: core, bias, stress, operational, alpha, semantic, or evidence"
|
|
1435
|
-
}
|
|
1436
|
-
},
|
|
1437
|
-
required: [],
|
|
1438
|
-
response: {
|
|
1439
|
-
description: "Graph Intelligence query catalog and mode-to-tool mapping",
|
|
1440
|
-
fields: {
|
|
1441
|
-
categories: "array \u2014 query categories",
|
|
1442
|
-
queries: "array \u2014 query definitions with prompt templates and tools",
|
|
1443
|
-
quickQueries: "array \u2014 recommended one-click query presets",
|
|
1444
|
-
publicToolNamesByMode: "object \u2014 public tool names available to each Graph Intelligence mode"
|
|
1445
|
-
}
|
|
1446
|
-
},
|
|
1447
|
-
ownerModule: "graph-intelligence",
|
|
1448
|
-
ontologyPrimitive: "graph",
|
|
1449
|
-
tier: "showcase"
|
|
1450
|
-
};
|
|
1451
|
-
var RUN_GRAPH_INTELLIGENCE_QUERY = {
|
|
1452
|
-
name: "run_graph_intelligence_query",
|
|
1453
|
-
description: "Run a named Graph Intelligence query against a tenant topic graph. Returns the selected query, prompt, deterministic graph-analysis bundle, graph context, and public tool plan for model synthesis.",
|
|
1454
|
-
parameters: {
|
|
1455
|
-
topicId: { type: "string", description: "Topic to analyze" },
|
|
1456
|
-
queryId: {
|
|
1457
|
-
type: "string",
|
|
1458
|
-
description: "Graph Intelligence query ID, such as confirmation-bias, pre-mortem, or thesis-summary"
|
|
1459
|
-
},
|
|
1460
|
-
prompt: {
|
|
1461
|
-
type: "string",
|
|
1462
|
-
description: "Optional custom prompt for custom analysis runs"
|
|
1463
|
-
},
|
|
1464
|
-
input: {
|
|
1465
|
-
type: "string",
|
|
1466
|
-
description: "Optional entity, theme, belief, company, or search text for input-driven queries"
|
|
1467
|
-
},
|
|
1468
|
-
mode: {
|
|
1469
|
-
type: "string",
|
|
1470
|
-
description: "Optional mode override: core, bias, stress, operational, alpha, semantic, or evidence"
|
|
1471
|
-
},
|
|
1472
|
-
limit: {
|
|
1473
|
-
type: "number",
|
|
1474
|
-
description: "Maximum graph context rows to return"
|
|
1475
|
-
}
|
|
1476
|
-
},
|
|
1477
|
-
required: ["topicId"],
|
|
1478
|
-
response: {
|
|
1479
|
-
description: "Graph Intelligence query result bundle ready for model or prompt-library synthesis",
|
|
1480
|
-
fields: {
|
|
1481
|
-
query: "object \u2014 selected query definition",
|
|
1482
|
-
prompt: "string \u2014 resolved prompt template",
|
|
1483
|
-
toolPlan: "array \u2014 public tools and args the model can call next",
|
|
1484
|
-
analysis: "object \u2014 structure, coverage, gap, and confirmation-bias analysis",
|
|
1485
|
-
context: "object \u2014 sampled beliefs, questions, evidence, edges, and contradictions"
|
|
1486
|
-
}
|
|
1487
|
-
},
|
|
1488
|
-
ownerModule: "graph-intelligence",
|
|
1489
|
-
ontologyPrimitive: "graph",
|
|
1490
|
-
tier: "showcase"
|
|
1491
|
-
};
|
|
1492
1056
|
var GET_FALSIFICATION_QUESTIONS = {
|
|
1493
1057
|
name: "get_falsification_questions",
|
|
1494
1058
|
description: "Generate Popperian falsification questions for beliefs. Like `git test` \u2014 identifies the questions most likely to disprove current beliefs. Karl Popper as a tool: surfaces what would need to be true to invalidate each belief.",
|
|
@@ -2324,7 +1888,7 @@ var IDENTITY_WHOAMI = {
|
|
|
2324
1888
|
description: "Canonical identity summary for the current session",
|
|
2325
1889
|
fields: {
|
|
2326
1890
|
principalId: "string \u2014 canonical federated principal identifier",
|
|
2327
|
-
principalType: "string \u2014 human, service,
|
|
1891
|
+
principalType: "string \u2014 human, service, or agent",
|
|
2328
1892
|
tenantId: "string | undefined \u2014 resolved tenant scope",
|
|
2329
1893
|
workspaceId: "string | undefined \u2014 resolved workspace scope",
|
|
2330
1894
|
scopes: "string[] | undefined \u2014 granted scopes for this session",
|
|
@@ -2335,60 +1899,17 @@ var IDENTITY_WHOAMI = {
|
|
|
2335
1899
|
ontologyPrimitive: "identity",
|
|
2336
1900
|
tier: "workhorse"
|
|
2337
1901
|
};
|
|
2338
|
-
var RESOLVE_INTERACTIVE_PRINCIPAL = {
|
|
2339
|
-
name: "resolve_interactive_principal",
|
|
2340
|
-
description: "Read the Permit-backed Lucern principal context for an authenticated Clerk user. Like `git config --get user.email` plus the repository ACL \u2014 resolves the identity alias into the canonical authorization subject.",
|
|
2341
|
-
parameters: {
|
|
2342
|
-
clerkId: {
|
|
2343
|
-
type: "string",
|
|
2344
|
-
description: "Authenticated Clerk subject (`sub`). Clerk proves identity only; it is not the authorization record."
|
|
2345
|
-
},
|
|
2346
|
-
tenantId: {
|
|
2347
|
-
type: "string",
|
|
2348
|
-
description: "Optional tenant scope. Omit only when the Clerk alias is globally unambiguous."
|
|
2349
|
-
},
|
|
2350
|
-
workspaceId: {
|
|
2351
|
-
type: "string",
|
|
2352
|
-
description: "Optional workspace scope. Required when the principal has access to multiple workspaces and no default can be inferred."
|
|
2353
|
-
},
|
|
2354
|
-
providerProjectId: {
|
|
2355
|
-
type: "string",
|
|
2356
|
-
description: "Optional Clerk project or provider instance id for tenants with multiple identity providers."
|
|
2357
|
-
}
|
|
2358
|
-
},
|
|
2359
|
-
required: ["clerkId"],
|
|
2360
|
-
response: {
|
|
2361
|
-
description: "Permit-backed Lucern principal context for tenant SDK bootstrap",
|
|
2362
|
-
fields: {
|
|
2363
|
-
principalId: "string \u2014 canonical Lucern principal identifier",
|
|
2364
|
-
principalType: "string \u2014 human, service, agent, group, or external_viewer",
|
|
2365
|
-
clerkId: "string \u2014 authenticated Clerk subject alias",
|
|
2366
|
-
tenantId: "string \u2014 resolved tenant scope",
|
|
2367
|
-
workspaceId: "string | null \u2014 resolved workspace scope",
|
|
2368
|
-
roles: "string[] \u2014 effective Permit roles",
|
|
2369
|
-
scopes: "string[] \u2014 effective scopes derived from Permit/control-plane projection",
|
|
2370
|
-
groupIds: "string[] \u2014 active Permit group memberships",
|
|
2371
|
-
principalStatus: "string \u2014 active, invited, suspended, disabled, revoked, or missing",
|
|
2372
|
-
tenantStatus: "string \u2014 projected tenant resource status",
|
|
2373
|
-
workspaceStatus: "string \u2014 projected workspace resource status",
|
|
2374
|
-
permit: "object \u2014 Permit subject, tenant, and optional workspace tuple"
|
|
2375
|
-
}
|
|
2376
|
-
},
|
|
2377
|
-
ownerModule: "control-plane",
|
|
2378
|
-
ontologyPrimitive: "identity",
|
|
2379
|
-
tier: "workhorse"
|
|
2380
|
-
};
|
|
2381
1902
|
var COMPILE_CONTEXT = {
|
|
2382
1903
|
name: "compile_context",
|
|
2383
|
-
description: "Compile a focused reasoning context
|
|
1904
|
+
description: "Compile a focused reasoning context for a topic. Like `git log --graph --decorate` for the reasoning substrate \u2014 returns the canonical Pillar 3 context pack through the public API shape.",
|
|
2384
1905
|
parameters: {
|
|
2385
1906
|
topicId: {
|
|
2386
1907
|
type: "string",
|
|
2387
|
-
description: "
|
|
1908
|
+
description: "Topic scope ID to compile"
|
|
2388
1909
|
},
|
|
2389
1910
|
query: {
|
|
2390
1911
|
type: "string",
|
|
2391
|
-
description: "
|
|
1912
|
+
description: "Optional focus query used to rank context items"
|
|
2392
1913
|
},
|
|
2393
1914
|
budget: {
|
|
2394
1915
|
type: "number",
|
|
@@ -2412,7 +1933,7 @@ var COMPILE_CONTEXT = {
|
|
|
2412
1933
|
description: "Include related ontological entities in the compiled result"
|
|
2413
1934
|
}
|
|
2414
1935
|
},
|
|
2415
|
-
required: [],
|
|
1936
|
+
required: ["topicId"],
|
|
2416
1937
|
response: {
|
|
2417
1938
|
description: "Compiled context pack for the requested topic",
|
|
2418
1939
|
fields: {
|
|
@@ -2586,64 +2107,18 @@ var CREATE_TASK = {
|
|
|
2586
2107
|
name: "create_task",
|
|
2587
2108
|
description: "Create an execution task tied to the reasoning state. Like `git task` \u2014 tracks concrete work items (calls to make, data to gather, analyses to run) linked to questions, beliefs, or worktrees.",
|
|
2588
2109
|
parameters: {
|
|
2589
|
-
title: { type: "string", description: "Task
|
|
2110
|
+
title: { type: "string", description: "Task description" },
|
|
2590
2111
|
topicId: { type: "string", description: "Topic scope" },
|
|
2591
|
-
description: {
|
|
2592
|
-
type: "string",
|
|
2593
|
-
description: "Long-form task description"
|
|
2594
|
-
},
|
|
2595
2112
|
taskType: {
|
|
2596
2113
|
type: "string",
|
|
2597
|
-
description: "
|
|
2598
|
-
enum: [
|
|
2599
|
-
"general",
|
|
2600
|
-
"find_evidence",
|
|
2601
|
-
"verify_claim",
|
|
2602
|
-
"research",
|
|
2603
|
-
"review",
|
|
2604
|
-
"interview",
|
|
2605
|
-
"analysis",
|
|
2606
|
-
"track_metrics"
|
|
2607
|
-
]
|
|
2608
|
-
},
|
|
2609
|
-
priority: {
|
|
2610
|
-
type: "string",
|
|
2611
|
-
description: "Priority",
|
|
2612
|
-
enum: ["urgent", "high", "medium", "low"]
|
|
2613
|
-
},
|
|
2614
|
-
status: {
|
|
2615
|
-
type: "string",
|
|
2616
|
-
description: "Initial status (defaults to todo)",
|
|
2617
|
-
enum: ["todo", "in_progress", "blocked", "done"]
|
|
2618
|
-
},
|
|
2619
|
-
linkedWorktreeId: {
|
|
2620
|
-
type: "string",
|
|
2621
|
-
description: "Worktree this task belongs to"
|
|
2622
|
-
},
|
|
2623
|
-
linkedBeliefId: {
|
|
2624
|
-
type: "string",
|
|
2625
|
-
description: "Belief this task supports"
|
|
2114
|
+
description: "Type: research, interview, analysis, data_collection",
|
|
2115
|
+
enum: ["research", "interview", "analysis", "data_collection"]
|
|
2626
2116
|
},
|
|
2627
2117
|
linkedQuestionId: {
|
|
2628
2118
|
type: "string",
|
|
2629
2119
|
description: "Question this task addresses"
|
|
2630
2120
|
},
|
|
2631
|
-
|
|
2632
|
-
type: "string",
|
|
2633
|
-
description: "Principal assigned to the task"
|
|
2634
|
-
},
|
|
2635
|
-
dueDate: {
|
|
2636
|
-
type: "number",
|
|
2637
|
-
description: "Due date as epoch milliseconds"
|
|
2638
|
-
},
|
|
2639
|
-
tags: {
|
|
2640
|
-
type: "array",
|
|
2641
|
-
description: "Free-form string tags"
|
|
2642
|
-
},
|
|
2643
|
-
metadata: {
|
|
2644
|
-
type: "object",
|
|
2645
|
-
description: "Structured task metadata for handoff context and routing hints"
|
|
2646
|
-
}
|
|
2121
|
+
linkedWorktreeId: { type: "string", description: "Worktree scope" }
|
|
2647
2122
|
},
|
|
2648
2123
|
required: ["title"],
|
|
2649
2124
|
response: {
|
|
@@ -2716,10 +2191,6 @@ var UPDATE_TASK = {
|
|
|
2716
2191
|
type: "string",
|
|
2717
2192
|
description: "Updated status",
|
|
2718
2193
|
enum: ["todo", "in_progress", "blocked", "done"]
|
|
2719
|
-
},
|
|
2720
|
-
metadata: {
|
|
2721
|
-
type: "object",
|
|
2722
|
-
description: "Structured task metadata to replace or refine"
|
|
2723
2194
|
}
|
|
2724
2195
|
},
|
|
2725
2196
|
required: ["taskId"],
|
|
@@ -2767,10 +2238,6 @@ var CREATE_TOPIC = {
|
|
|
2767
2238
|
name: "create_topic",
|
|
2768
2239
|
description: "Create a new topic container for scoping knowledge. Like `git init` \u2014 initializes a new repository for a knowledge domain. Topics are hierarchical: a deal topic can nest under a theme topic. Types: domain, theme, deal, strategy, constitution, project, portfolio.",
|
|
2769
2240
|
parameters: {
|
|
2770
|
-
globalId: {
|
|
2771
|
-
type: "string",
|
|
2772
|
-
description: "Optional idempotent topic global ID"
|
|
2773
|
-
},
|
|
2774
2241
|
name: { type: "string", description: "Topic name" },
|
|
2775
2242
|
type: {
|
|
2776
2243
|
type: "string",
|
|
@@ -2781,18 +2248,6 @@ var CREATE_TOPIC = {
|
|
|
2781
2248
|
type: "string",
|
|
2782
2249
|
description: "Optional parent topic for nesting"
|
|
2783
2250
|
},
|
|
2784
|
-
parentTopicGlobalId: {
|
|
2785
|
-
type: "string",
|
|
2786
|
-
description: "Optional parent topic global ID for nesting"
|
|
2787
|
-
},
|
|
2788
|
-
tenantId: { type: "string", description: "Optional tenant scope" },
|
|
2789
|
-
workspaceId: { type: "string", description: "Optional workspace scope" },
|
|
2790
|
-
visibility: {
|
|
2791
|
-
type: "string",
|
|
2792
|
-
description: "Topic visibility",
|
|
2793
|
-
enum: ["private", "team", "firm", "external", "public"]
|
|
2794
|
-
},
|
|
2795
|
-
metadata: { type: "object", description: "Optional topic metadata" },
|
|
2796
2251
|
createdBy: { type: "string", description: "Who created this topic" }
|
|
2797
2252
|
},
|
|
2798
2253
|
required: ["name", "type"],
|
|
@@ -2801,9 +2256,6 @@ var CREATE_TOPIC = {
|
|
|
2801
2256
|
fields: {
|
|
2802
2257
|
id: "string \u2014 topic ID",
|
|
2803
2258
|
globalId: "string \u2014 globally unique ID",
|
|
2804
|
-
topicGlobalId: "string \u2014 topic global ID",
|
|
2805
|
-
epistemicNodeId: "string \u2014 materialized topic node ID",
|
|
2806
|
-
epistemicNodeGlobalId: "string \u2014 materialized topic node global ID",
|
|
2807
2259
|
depth: "number \u2014 nesting depth"
|
|
2808
2260
|
}
|
|
2809
2261
|
},
|
|
@@ -2934,65 +2386,6 @@ var GET_TOPIC_TREE = {
|
|
|
2934
2386
|
ontologyPrimitive: "graph",
|
|
2935
2387
|
tier: "workhorse"
|
|
2936
2388
|
};
|
|
2937
|
-
var MATERIALIZE_TOPIC_GRAPH = {
|
|
2938
|
-
name: "materialize_topic_graph",
|
|
2939
|
-
description: "Backfill the topic graph spine. Like `git fsck --connectivity-only` with repair enabled \u2014 creates missing topic nodes and parent-child edges idempotently.",
|
|
2940
|
-
parameters: {
|
|
2941
|
-
rootTopicId: {
|
|
2942
|
-
type: "string",
|
|
2943
|
-
description: "Optional root topic for a bounded materialization pass"
|
|
2944
|
-
},
|
|
2945
|
-
dryRun: {
|
|
2946
|
-
type: "boolean",
|
|
2947
|
-
description: "When true, report missing rows without writing them"
|
|
2948
|
-
}
|
|
2949
|
-
},
|
|
2950
|
-
required: [],
|
|
2951
|
-
response: {
|
|
2952
|
-
description: "Topic graph materialization counts",
|
|
2953
|
-
fields: {
|
|
2954
|
-
topicsSeen: "number",
|
|
2955
|
-
nodesCreated: "number",
|
|
2956
|
-
nodesExisting: "number",
|
|
2957
|
-
edgesCreated: "number",
|
|
2958
|
-
edgesExisting: "number",
|
|
2959
|
-
errors: "array"
|
|
2960
|
-
}
|
|
2961
|
-
},
|
|
2962
|
-
ownerModule: "reasoning-kernel",
|
|
2963
|
-
ontologyPrimitive: "graph",
|
|
2964
|
-
tier: "workhorse"
|
|
2965
|
-
};
|
|
2966
|
-
var GET_TOPIC_GRAPH_SPINE = {
|
|
2967
|
-
name: "get_topic_graph_spine",
|
|
2968
|
-
description: "Verify the topic graph spine. Like `git fsck` \u2014 reads topics, materialized topic nodes, parent-child edges, and missing spine rows.",
|
|
2969
|
-
parameters: {
|
|
2970
|
-
rootTopicId: {
|
|
2971
|
-
type: "string",
|
|
2972
|
-
description: "Optional root topic for a bounded verifier pass"
|
|
2973
|
-
},
|
|
2974
|
-
includeTopicBeliefEdges: {
|
|
2975
|
-
type: "boolean",
|
|
2976
|
-
description: "Include topic -> belief edges in the verifier payload"
|
|
2977
|
-
}
|
|
2978
|
-
},
|
|
2979
|
-
required: [],
|
|
2980
|
-
response: {
|
|
2981
|
-
description: "Topic graph spine verification payload",
|
|
2982
|
-
fields: {
|
|
2983
|
-
ok: "boolean",
|
|
2984
|
-
counts: "object",
|
|
2985
|
-
topics: "array",
|
|
2986
|
-
topicNodes: "array",
|
|
2987
|
-
parentEdges: "array",
|
|
2988
|
-
missingTopicNodes: "array",
|
|
2989
|
-
missingParentEdges: "array"
|
|
2990
|
-
}
|
|
2991
|
-
},
|
|
2992
|
-
ownerModule: "reasoning-kernel",
|
|
2993
|
-
ontologyPrimitive: "graph",
|
|
2994
|
-
tier: "workhorse"
|
|
2995
|
-
};
|
|
2996
2389
|
var GET_CODE_CONTEXT = {
|
|
2997
2390
|
name: "get_code_context",
|
|
2998
2391
|
description: "Returns code-grounded beliefs, contracts, migration states, and failed attempts anchored to a specific file or function path. Like `git log -- <path>` \u2014 filters the knowledge graph to nodes anchored to a file path via metadata.codeAnchors. Results are separated by coding belief type: decisions, contracts, migrations, patterns, deprecations, and failures.",
|
|
@@ -4125,72 +3518,6 @@ var GENERATE_SESSION_HANDOFF = {
|
|
|
4125
3518
|
tier: "showcase",
|
|
4126
3519
|
internal: true
|
|
4127
3520
|
};
|
|
4128
|
-
var BEGIN_BUILD_SESSION = {
|
|
4129
|
-
name: "begin_build_session",
|
|
4130
|
-
description: "Bootstrap a coding build session for a Lucern worktree. Like `git worktree add` plus `git status` \u2014 returns the compact context packet an agent needs before editing.",
|
|
4131
|
-
parameters: {
|
|
4132
|
-
worktreeId: {
|
|
4133
|
-
type: "string",
|
|
4134
|
-
description: "The Lucern worktree ID to bootstrap."
|
|
4135
|
-
},
|
|
4136
|
-
branch: {
|
|
4137
|
-
type: "string",
|
|
4138
|
-
description: "Optional git branch name. Auto-generated from the worktree name when omitted."
|
|
4139
|
-
},
|
|
4140
|
-
branchBase: {
|
|
4141
|
-
type: "string",
|
|
4142
|
-
description: 'Base branch for the feature branch. Default: "staging".'
|
|
4143
|
-
},
|
|
4144
|
-
prBase: {
|
|
4145
|
-
type: "string",
|
|
4146
|
-
description: 'Target branch for the PR. Default: "staging".'
|
|
4147
|
-
},
|
|
4148
|
-
sessionMode: {
|
|
4149
|
-
type: "string",
|
|
4150
|
-
description: 'Session mode: "async" for Codex/headless or "interactive" for live sessions.',
|
|
4151
|
-
enum: ["async", "interactive"]
|
|
4152
|
-
},
|
|
4153
|
-
activateIfPlanning: {
|
|
4154
|
-
type: "boolean",
|
|
4155
|
-
description: "When true, automatically activate a planning worktree during bootstrap."
|
|
4156
|
-
}
|
|
4157
|
-
},
|
|
4158
|
-
required: ["worktreeId"],
|
|
4159
|
-
response: {
|
|
4160
|
-
description: "A compact build-session packet with worktree metadata, graph anchors, questions, dependencies, and git defaults.",
|
|
4161
|
-
fields: {
|
|
4162
|
-
topicId: "string \u2014 canonical topic scope",
|
|
4163
|
-
topicName: "string \u2014 human-readable topic name",
|
|
4164
|
-
worktreeId: "string \u2014 worktree ID",
|
|
4165
|
-
worktreeName: "string \u2014 human-readable worktree name",
|
|
4166
|
-
branch: "string \u2014 git branch name",
|
|
4167
|
-
branchBase: "string \u2014 base branch",
|
|
4168
|
-
prBase: "string \u2014 PR target branch",
|
|
4169
|
-
campaign: "number | null \u2014 top-level pipeline campaign",
|
|
4170
|
-
lane: "string \u2014 campaign lane",
|
|
4171
|
-
gate: "string \u2014 exit gate",
|
|
4172
|
-
hypothesis: "string \u2014 worktree hypothesis",
|
|
4173
|
-
focus: "string \u2014 session focus",
|
|
4174
|
-
status: "string \u2014 worktree status after optional activation",
|
|
4175
|
-
sessionMode: "string \u2014 async | interactive",
|
|
4176
|
-
targetBeliefIds: "array \u2014 scoped belief IDs",
|
|
4177
|
-
targetQuestionIds: "array \u2014 scoped question IDs",
|
|
4178
|
-
taskIds: "array \u2014 assigned task IDs for this worktree",
|
|
4179
|
-
incompleteTaskIds: "array \u2014 assigned task IDs that still require done/deferred/blocked proof",
|
|
4180
|
-
tasks: "array \u2014 assigned task packet with id, title, status, priority, links, and summaries",
|
|
4181
|
-
topBeliefs: "array \u2014 highest-confidence scoped beliefs",
|
|
4182
|
-
openQuestions: "array \u2014 open scoped questions",
|
|
4183
|
-
resolvedDecisions: "array \u2014 answered questions summarized for the session",
|
|
4184
|
-
dependencies: "array \u2014 upstream worktrees",
|
|
4185
|
-
unblocks: "array \u2014 downstream worktrees",
|
|
4186
|
-
mergeOrderNotes: "string \u2014 merge ordering advisory"
|
|
4187
|
-
}
|
|
4188
|
-
},
|
|
4189
|
-
ownerModule: "bootstrap",
|
|
4190
|
-
ontologyPrimitive: "worktree",
|
|
4191
|
-
tier: "showcase",
|
|
4192
|
-
internal: true
|
|
4193
|
-
};
|
|
4194
3521
|
var MCP_TOOL_CONTRACTS = {
|
|
4195
3522
|
// Belief lifecycle (commit, amend, fork, archive)
|
|
4196
3523
|
create_belief: CREATE_BELIEF,
|
|
@@ -4233,26 +3560,11 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
4233
3560
|
bisect_confidence: BISECT_CONFIDENCE,
|
|
4234
3561
|
// Edges (commit)
|
|
4235
3562
|
create_edge: CREATE_EDGE,
|
|
4236
|
-
update_edge: UPDATE_EDGE,
|
|
4237
|
-
remove_edge: REMOVE_EDGE,
|
|
4238
|
-
remove_edges_between: REMOVE_EDGES_BETWEEN,
|
|
4239
|
-
batch_create_edges: BATCH_CREATE_EDGES,
|
|
4240
|
-
// Epistemic node spine (commit/amend/show)
|
|
4241
|
-
create_epistemic_node: CREATE_EPISTEMIC_NODE,
|
|
4242
|
-
get_epistemic_node: GET_EPISTEMIC_NODE,
|
|
4243
|
-
list_epistemic_nodes: LIST_EPISTEMIC_NODES,
|
|
4244
|
-
update_epistemic_node: UPDATE_EPISTEMIC_NODE,
|
|
4245
|
-
archive_epistemic_node: ARCHIVE_EPISTEMIC_NODE,
|
|
4246
|
-
verify_epistemic_node: VERIFY_EPISTEMIC_NODE,
|
|
4247
|
-
supersede_epistemic_node: SUPERSEDE_EPISTEMIC_NODE,
|
|
4248
|
-
batch_create_epistemic_nodes: BATCH_CREATE_EPISTEMIC_NODES,
|
|
4249
3563
|
// Judgments (tag)
|
|
4250
3564
|
record_judgment: RECORD_JUDGMENT,
|
|
4251
3565
|
// Graph intelligence (showcase)
|
|
4252
3566
|
detect_confirmation_bias: DETECT_CONFIRMATION_BIAS,
|
|
4253
3567
|
get_graph_structure_analysis: GET_GRAPH_STRUCTURE_ANALYSIS,
|
|
4254
|
-
list_graph_intelligence_queries: LIST_GRAPH_INTELLIGENCE_QUERIES,
|
|
4255
|
-
run_graph_intelligence_query: RUN_GRAPH_INTELLIGENCE_QUERY,
|
|
4256
3568
|
get_falsification_questions: GET_FALSIFICATION_QUESTIONS,
|
|
4257
3569
|
// Evidence operations (workhorse)
|
|
4258
3570
|
search_evidence: SEARCH_EVIDENCE,
|
|
@@ -4280,7 +3592,6 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
4280
3592
|
update_worktree_targets: UPDATE_WORKTREE_TARGETS,
|
|
4281
3593
|
update_worktree_metadata: UPDATE_WORKTREE_METADATA,
|
|
4282
3594
|
identity_whoami: IDENTITY_WHOAMI,
|
|
4283
|
-
resolve_interactive_principal: RESOLVE_INTERACTIVE_PRINCIPAL,
|
|
4284
3595
|
compile_context: COMPILE_CONTEXT,
|
|
4285
3596
|
record_scope_learning: RECORD_SCOPE_LEARNING,
|
|
4286
3597
|
pipeline_snapshot: PIPELINE_SNAPSHOT,
|
|
@@ -4300,7 +3611,6 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
4300
3611
|
get_agent_inbox: GET_AGENT_INBOX,
|
|
4301
3612
|
claim_files: CLAIM_FILES,
|
|
4302
3613
|
generate_session_handoff: GENERATE_SESSION_HANDOFF,
|
|
4303
|
-
begin_build_session: BEGIN_BUILD_SESSION,
|
|
4304
3614
|
// Policy / ACL (workhorse)
|
|
4305
3615
|
check_permission: CHECK_PERMISSION,
|
|
4306
3616
|
filter_by_permission: FILTER_BY_PERMISSION,
|
|
@@ -4320,8 +3630,6 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
4320
3630
|
get_topic: GET_TOPIC,
|
|
4321
3631
|
update_topic: UPDATE_TOPIC,
|
|
4322
3632
|
get_topic_tree: GET_TOPIC_TREE,
|
|
4323
|
-
materialize_topic_graph: MATERIALIZE_TOPIC_GRAPH,
|
|
4324
|
-
get_topic_graph_spine: GET_TOPIC_GRAPH_SPINE,
|
|
4325
3633
|
// Coding intelligence (code-grounded knowledge)
|
|
4326
3634
|
get_code_context: GET_CODE_CONTEXT,
|
|
4327
3635
|
get_change_history: GET_CHANGE_HISTORY,
|