@lucern/contracts 1.0.11 → 1.0.13
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 +7 -0
- package/dist/function-registry/beliefs.d.ts +1 -1
- package/dist/function-registry/beliefs.js +126 -10
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +1 -1
- package/dist/function-registry/coding.js +124 -8
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +44 -4
- package/dist/function-registry/context.js +146 -8
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.d.ts +1 -1
- package/dist/function-registry/contracts.js +124 -8
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.d.ts +1 -1
- package/dist/function-registry/coordination.js +124 -8
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +1 -1
- package/dist/function-registry/edges.js +124 -8
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +1 -1
- package/dist/function-registry/evidence.js +309 -40
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +1 -1
- package/dist/function-registry/graph.js +126 -12
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.js +124 -8
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.d.ts +1 -1
- package/dist/function-registry/identity.js +124 -8
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.js +124 -8
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +1 -1
- package/dist/function-registry/judgments.js +124 -8
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.d.ts +1 -1
- package/dist/function-registry/legacy.js +124 -8
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +1 -1
- package/dist/function-registry/lenses.js +124 -8
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +10 -4
- package/dist/function-registry/manifest.js +14 -1
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/nodes.d.ts +1 -1
- package/dist/function-registry/nodes.js +124 -8
- package/dist/function-registry/nodes.js.map +1 -1
- package/dist/function-registry/ontologies.d.ts +1 -1
- package/dist/function-registry/ontologies.js +124 -8
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +1 -1
- package/dist/function-registry/pipeline.js +124 -8
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +1 -1
- package/dist/function-registry/questions.js +124 -8
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +1 -1
- package/dist/function-registry/tasks.js +124 -8
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +1 -1
- package/dist/function-registry/topics.js +126 -12
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +1 -1
- package/dist/function-registry/worktrees.d.ts +1 -1
- package/dist/function-registry/worktrees.js +124 -8
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/generated/infisicalRuntimeEnv.js +536 -1
- package/dist/generated/infisicalRuntimeEnv.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +941 -14
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.base.d.ts +42 -1
- package/dist/infisical-runtime.base.js +50 -1
- package/dist/infisical-runtime.base.js.map +1 -1
- package/dist/infisical-runtime.contract.d.ts +102 -0
- package/dist/infisical-runtime.contract.js +170 -1
- package/dist/infisical-runtime.contract.js.map +1 -1
- package/dist/infisical-runtime.platform-secrets.d.ts +102 -0
- package/dist/infisical-runtime.platform-secrets.js +120 -0
- package/dist/infisical-runtime.platform-secrets.js.map +1 -1
- package/dist/infisical-runtime.tenant-secrets.js.map +1 -1
- package/dist/manifests/infisical-runtime-manifest.d.ts +144 -1
- package/dist/manifests/infisical-runtime-manifest.js +170 -1
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -1
- package/dist/manifests/invariants/index.js +24 -5
- package/dist/manifests/invariants/index.js.map +1 -1
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js +24 -5
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js.map +1 -1
- package/dist/projections/check-convex-args-shape.js +138 -5
- package/dist/projections/check-convex-args-shape.js.map +1 -1
- package/dist/projections/create-evidence.projection.d.ts +168 -0
- package/dist/projections/create-evidence.projection.js +138 -5
- package/dist/projections/create-evidence.projection.js.map +1 -1
- package/dist/projections/index.d.ts +28 -0
- package/dist/projections/index.js +138 -5
- package/dist/projections/index.js.map +1 -1
- package/dist/proof-attestation.json +1 -1
- package/dist/schemas/manifest.d.ts +20 -20
- package/dist/schemas/tables/kernel/platform.d.ts +4 -4
- package/dist/sdk-methods.contract.d.ts +3 -2
- package/dist/sdk-tools.contract.js +110 -7
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/sdk-tools.contract.registry.js +110 -7
- package/dist/sdk-tools.contract.registry.js.map +1 -1
- package/dist/sdk-tools.contract.values.js +110 -7
- package/dist/sdk-tools.contract.values.js.map +1 -1
- package/dist/tool-contracts.context-orientation.d.ts +5 -0
- package/dist/tool-contracts.context-orientation.js +57 -0
- package/dist/tool-contracts.context-orientation.js.map +1 -0
- package/dist/tool-contracts.d.ts +1 -0
- package/dist/tool-contracts.intelligence-evidence.js +26 -4
- package/dist/tool-contracts.intelligence-evidence.js.map +1 -1
- package/dist/tool-contracts.js +111 -8
- package/dist/tool-contracts.js.map +1 -1
- package/dist/tool-contracts.lifecycle.js +2 -2
- package/dist/tool-contracts.lifecycle.js.map +1 -1
- package/dist/tool-contracts.questions-listing.js +27 -1
- package/dist/tool-contracts.questions-listing.js.map +1 -1
- package/dist/{tool-contracts.values-DjctSW7S.d.ts → tool-contracts.values-BhxfrXS5.d.ts} +3 -1
- package/dist/tool-contracts.values.d.ts +1 -0
- package/dist/tool-contracts.values.js +111 -8
- package/dist/tool-contracts.values.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -39,3 +39,10 @@ All notable changes to `@lucern/contracts` are tracked in this repository.
|
|
|
39
39
|
|
|
40
40
|
## [1.0.11] - 2026-05-29
|
|
41
41
|
- Release notes pending.
|
|
42
|
+
|
|
43
|
+
## [1.0.12] - 2026-05-31
|
|
44
|
+
- Release notes pending.
|
|
45
|
+
|
|
46
|
+
## [1.0.13] - 2026-06-01
|
|
47
|
+
- Publishes the evidence-relation contract, MCP output-schema metadata, and
|
|
48
|
+
retrieval/synthesis receipt fields used by the Campaign 1 closeout surfaces.
|
|
@@ -69,7 +69,7 @@ type FunctionConvexTarget = {
|
|
|
69
69
|
outputProjection?: ContractOutputProjection;
|
|
70
70
|
};
|
|
71
71
|
type FunctionGatewayTarget = {
|
|
72
|
-
handler: "identity.whoami" | "beliefs.list" | "evidence.list" | "questions.list" | "worktrees.get" | "tasks.create" | "tasks.list" | "tasks.update" | "tasks.complete";
|
|
72
|
+
handler: "identity.whoami" | "beliefs.list" | "evidence.get" | "evidence.list" | "evidence.search" | "questions.list" | "worktrees.get" | "tasks.create" | "tasks.list" | "tasks.update" | "tasks.complete" | "context.lucernOrient" | "graph.listIntelligenceQueries" | "topics.graphSpine";
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
declare const beliefsContracts: readonly [{
|
|
@@ -6,7 +6,7 @@ import { v } from 'convex/values';
|
|
|
6
6
|
// src/tool-contracts.lifecycle.ts
|
|
7
7
|
var CREATE_BELIEF = {
|
|
8
8
|
name: "create_belief",
|
|
9
|
-
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)`;
|
|
9
|
+
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)`; attach supporting or contradicting evidence with create_evidence or link_evidence_to_belief to record evidential updates.",
|
|
10
10
|
parameters: {
|
|
11
11
|
canonicalText: {
|
|
12
12
|
type: "string",
|
|
@@ -92,7 +92,7 @@ var REFINE_BELIEF = {
|
|
|
92
92
|
};
|
|
93
93
|
var MODULATE_CONFIDENCE = {
|
|
94
94
|
name: "modulate_confidence",
|
|
95
|
-
description: "
|
|
95
|
+
description: "Internal-only subjective-logic ledger append. Like `git commit` to the credence log for the scoring engine \u2014 never an operator-facing way to assert confidence. Agents, SDK callers, CLI users, and MCP clients must instead create or link evidence with `evidenceRelation: supports|contradicts`; the kernel derives the next opinion from that evidence. This compatibility primitive is reserved for governed system scoring paths that already hold a full subjective-logic tuple and truth-bearing provenance.",
|
|
96
96
|
parameters: {
|
|
97
97
|
nodeId: { type: "string", description: "The belief to score" },
|
|
98
98
|
belief: {
|
|
@@ -1659,6 +1659,60 @@ var REMOVE_LENS_FROM_TOPIC = {
|
|
|
1659
1659
|
tier: "workhorse"
|
|
1660
1660
|
};
|
|
1661
1661
|
|
|
1662
|
+
// src/tool-contracts.context-orientation.ts
|
|
1663
|
+
var LUCERN_ORIENT = {
|
|
1664
|
+
name: "lucern_orient",
|
|
1665
|
+
description: "Load the Lucern reasoning grammar before operating. Like `git help` plus a repository CONTRIBUTING guide for reasoning state - teaches the git-shaped model of topics, campaigns, lanes, worktrees, beliefs, questions, evidence, receipts, gates, and merges.",
|
|
1666
|
+
parameters: {
|
|
1667
|
+
audience: {
|
|
1668
|
+
type: "string",
|
|
1669
|
+
description: "Audience for the primer: agent, human, operator, or developer.",
|
|
1670
|
+
enum: ["agent", "human", "operator", "developer"]
|
|
1671
|
+
},
|
|
1672
|
+
depth: {
|
|
1673
|
+
type: "string",
|
|
1674
|
+
description: "Orientation depth: quick, standard, or deep.",
|
|
1675
|
+
enum: ["quick", "standard", "deep"]
|
|
1676
|
+
},
|
|
1677
|
+
situation: {
|
|
1678
|
+
type: "string",
|
|
1679
|
+
description: "Optional task or query context used to tailor suggested next calls."
|
|
1680
|
+
},
|
|
1681
|
+
includeExamples: {
|
|
1682
|
+
type: "boolean",
|
|
1683
|
+
description: "Whether to include concrete tool-call examples."
|
|
1684
|
+
},
|
|
1685
|
+
includeToolMap: {
|
|
1686
|
+
type: "boolean",
|
|
1687
|
+
description: "Whether to include situation-to-tool routing guidance."
|
|
1688
|
+
},
|
|
1689
|
+
includeFuture: {
|
|
1690
|
+
type: "boolean",
|
|
1691
|
+
description: "Whether to include future exemplar, gauntlet, and training-data capabilities."
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
required: [],
|
|
1695
|
+
response: {
|
|
1696
|
+
description: "Canonical operator primer for Lucern's git-shaped reasoning substrate.",
|
|
1697
|
+
fields: {
|
|
1698
|
+
schemaVersion: "string - lucern_orientation.v1",
|
|
1699
|
+
canonicalMentalModel: "object - concise model of Lucern as git-shaped reasoning state",
|
|
1700
|
+
workflow: "array - recommended branch -> investigate -> prove gate -> merge workflow",
|
|
1701
|
+
grammarMap: "array - primitive-to-git-analogy map for topics, campaigns, worktrees, beliefs, questions, evidence, edges, contradictions, and gates",
|
|
1702
|
+
firstMoves: "array - recommended first tools for a cold-start agent",
|
|
1703
|
+
receiptRules: "array - how to interpret candidateCounts, broadening, coverageWarning, narrativeCoverage, synthesisLints, and noDefaultGlobalScan",
|
|
1704
|
+
safetyRules: "array - mutation and completion rules that preserve reasoning lineage",
|
|
1705
|
+
toolMap: "array | undefined - situation-to-tool routing map when requested",
|
|
1706
|
+
examples: "array | undefined - concrete tool-call examples when requested",
|
|
1707
|
+
futureCapabilities: "array | undefined - exemplar, gauntlet, trace-corpus, and native-model-training capabilities when requested",
|
|
1708
|
+
suggestedNextCalls: "array - safe next tool calls for the current situation"
|
|
1709
|
+
}
|
|
1710
|
+
},
|
|
1711
|
+
ownerModule: "reasoning-kernel",
|
|
1712
|
+
ontologyPrimitive: "graph",
|
|
1713
|
+
tier: "showcase"
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1662
1716
|
// src/tool-contracts.intelligence-evidence.ts
|
|
1663
1717
|
var DETECT_CONFIRMATION_BIAS = {
|
|
1664
1718
|
name: "detect_confirmation_bias",
|
|
@@ -1813,7 +1867,7 @@ var SEARCH_EVIDENCE = {
|
|
|
1813
1867
|
};
|
|
1814
1868
|
var CREATE_EVIDENCE = {
|
|
1815
1869
|
name: "create_evidence",
|
|
1816
|
-
description: "Commit evidence to the reasoning graph. Like `git commit` \u2014 creates a traceable evidence record with canonical public IDs. Optionally links the evidence to a belief or question in the same operation.",
|
|
1870
|
+
description: "Commit evidence to the reasoning graph. Like `git commit` \u2014 creates a traceable evidence record with canonical public IDs. Optionally links the evidence to a belief or question in the same operation. When evidence bears on beliefs, state whether it supports or contradicts; SL confidence is derived from these evidence relations.",
|
|
1817
1871
|
parameters: {
|
|
1818
1872
|
topicId: { type: "string", description: "Topic scope" },
|
|
1819
1873
|
text: { type: "string", description: "Canonical evidence text" },
|
|
@@ -1824,7 +1878,20 @@ var CREATE_EVIDENCE = {
|
|
|
1824
1878
|
},
|
|
1825
1879
|
weight: {
|
|
1826
1880
|
type: "number",
|
|
1827
|
-
description: "
|
|
1881
|
+
description: "Optional support weight: -1.0 (contradicts) to +1.0 (supports). If omitted, evidenceRelation + confidence determine the weight."
|
|
1882
|
+
},
|
|
1883
|
+
evidenceRelation: {
|
|
1884
|
+
type: "string",
|
|
1885
|
+
enum: ["supports", "contradicts"],
|
|
1886
|
+
description: "Canonical relation to targetId/linkedBeliefNodeId. Prefer this over relying on signed weight inference."
|
|
1887
|
+
},
|
|
1888
|
+
confidence: {
|
|
1889
|
+
type: "number",
|
|
1890
|
+
description: "Confidence in the evidence relation, 0.0 to 1.0"
|
|
1891
|
+
},
|
|
1892
|
+
beliefRelations: {
|
|
1893
|
+
type: "array",
|
|
1894
|
+
description: "Optional additional belief relations: [{ beliefId|beliefNodeId|targetId, evidenceRelation|relation, confidence?, weight?, rationale? }]. Use one evidence node with multiple relations when the same fact supports or contradicts several beliefs."
|
|
1828
1895
|
},
|
|
1829
1896
|
metadata: {
|
|
1830
1897
|
type: "object",
|
|
@@ -1934,7 +2001,7 @@ var LINK_EVIDENCE = {
|
|
|
1934
2001
|
};
|
|
1935
2002
|
var LINK_EVIDENCE_TO_BELIEF = {
|
|
1936
2003
|
name: "link_evidence_to_belief",
|
|
1937
|
-
description: "Link evidence to a belief with a support weight. Like `git add` \u2014 stages evidence in support of (or against) a belief. The weight ranges from -1.0 (strongly contradicts) to +1.0 (strongly supports).",
|
|
2004
|
+
description: "Link evidence to a belief with a support weight. Like `git add` \u2014 stages evidence in support of (or against) a belief. The weight ranges from -1.0 (strongly contradicts) to +1.0 (strongly supports). This relation appends to the SL confidence ledger; do not hand-write confidence separately.",
|
|
1938
2005
|
parameters: {
|
|
1939
2006
|
evidenceId: { type: "string", description: "The evidence node ID" },
|
|
1940
2007
|
beliefId: { type: "string", description: "The belief node ID" },
|
|
@@ -1942,9 +2009,18 @@ var LINK_EVIDENCE_TO_BELIEF = {
|
|
|
1942
2009
|
type: "number",
|
|
1943
2010
|
description: "Support weight: -1.0 (contradicts) to +1.0 (supports)"
|
|
1944
2011
|
},
|
|
2012
|
+
evidenceRelation: {
|
|
2013
|
+
type: "string",
|
|
2014
|
+
enum: ["supports", "contradicts"],
|
|
2015
|
+
description: "Canonical semantic relation. If omitted, the sign of weight is used."
|
|
2016
|
+
},
|
|
2017
|
+
confidence: {
|
|
2018
|
+
type: "number",
|
|
2019
|
+
description: "Confidence in this evidence-to-belief relation, 0.0 to 1.0"
|
|
2020
|
+
},
|
|
1945
2021
|
rationale: { type: "string", description: "Why this evidence is relevant" }
|
|
1946
2022
|
},
|
|
1947
|
-
required: ["evidenceId", "beliefId"
|
|
2023
|
+
required: ["evidenceId", "beliefId"],
|
|
1948
2024
|
response: {
|
|
1949
2025
|
description: "The created edge linking evidence to belief",
|
|
1950
2026
|
fields: {
|
|
@@ -2709,10 +2785,34 @@ var COMPILE_CONTEXT = {
|
|
|
2709
2785
|
type: "string",
|
|
2710
2786
|
description: "Optional source kind used as a resolver signal, such as cli, worktree, commit, or docs."
|
|
2711
2787
|
},
|
|
2788
|
+
campaign: {
|
|
2789
|
+
type: "number",
|
|
2790
|
+
description: "Optional campaign dimension seed. When supplied without topicId, the compiler fans out across all carrier topics for that campaign instead of resolving a single topic."
|
|
2791
|
+
},
|
|
2792
|
+
lane: {
|
|
2793
|
+
type: "string",
|
|
2794
|
+
description: "Optional lane dimension seed. When supplied without topicId, the compiler reads all matching worktrees and their carrier topics."
|
|
2795
|
+
},
|
|
2796
|
+
status: {
|
|
2797
|
+
type: "string",
|
|
2798
|
+
description: "Optional state/status dimension seed for worktrees and graph rows."
|
|
2799
|
+
},
|
|
2800
|
+
principalId: {
|
|
2801
|
+
type: "string",
|
|
2802
|
+
description: "Optional principal seed for work authored, touched, or owned by a human, agent, group, or service principal."
|
|
2803
|
+
},
|
|
2804
|
+
workspaceId: {
|
|
2805
|
+
type: "string",
|
|
2806
|
+
description: "Optional workspace seed used by hosted MCP and SDK clients when compiling tenant-scoped context."
|
|
2807
|
+
},
|
|
2712
2808
|
budget: {
|
|
2713
2809
|
type: "number",
|
|
2714
2810
|
description: "Token budget for prompt injection planning"
|
|
2715
2811
|
},
|
|
2812
|
+
tokenBudget: {
|
|
2813
|
+
type: "number",
|
|
2814
|
+
description: "Compatibility alias for budget. External MCP clients may send tokenBudget when requesting prompt injection planning."
|
|
2815
|
+
},
|
|
2716
2816
|
ranking: {
|
|
2717
2817
|
type: "string",
|
|
2718
2818
|
description: "Ranking profile for context ordering",
|
|
@@ -2748,7 +2848,9 @@ var COMPILE_CONTEXT = {
|
|
|
2748
2848
|
recentEvidence: "array \u2014 recent evidence ranked for this query",
|
|
2749
2849
|
contradictions: "array \u2014 unresolved contradiction records",
|
|
2750
2850
|
relatedEntities: "array | undefined \u2014 ranked ontological entities in scope",
|
|
2751
|
-
contextNarrative: "array \u2014
|
|
2851
|
+
contextNarrative: "array \u2014 ordered synthesis blocks with kind/text, starting with executive_summary and canonical narrative blocks before raw objects",
|
|
2852
|
+
retrievalReceipt: "object \u2014 candidateCounts, coverageWarning, narrativeCoverage, synthesisLints, and suggestedNextActions",
|
|
2853
|
+
narrativeCoverage: "object \u2014 recordsSynthesized, recordsNamed, recordsOmitted, and blocksEmitted for the narrative",
|
|
2752
2854
|
injectionPolicy: "object \u2014 token-budgeted section selections",
|
|
2753
2855
|
diagnostics: "object \u2014 scoring and utilization telemetry"
|
|
2754
2856
|
}
|
|
@@ -4619,6 +4721,7 @@ var MCP_TOOL_CONTRACTS = {
|
|
|
4619
4721
|
update_worktree_metadata: UPDATE_WORKTREE_METADATA,
|
|
4620
4722
|
identity_whoami: IDENTITY_WHOAMI,
|
|
4621
4723
|
resolve_interactive_principal: RESOLVE_INTERACTIVE_PRINCIPAL,
|
|
4724
|
+
lucern_orient: LUCERN_ORIENT,
|
|
4622
4725
|
compile_context: COMPILE_CONTEXT,
|
|
4623
4726
|
record_scope_learning: RECORD_SCOPE_LEARNING,
|
|
4624
4727
|
pipeline_snapshot: PIPELINE_SNAPSHOT,
|
|
@@ -4695,6 +4798,12 @@ var internalSystem = {
|
|
|
4695
4798
|
mcp: "internal",
|
|
4696
4799
|
cli: "internal"
|
|
4697
4800
|
};
|
|
4801
|
+
var internalSdkRestOnly = {
|
|
4802
|
+
sdk: "internal",
|
|
4803
|
+
rest: "internal",
|
|
4804
|
+
mcp: "none",
|
|
4805
|
+
cli: "none"
|
|
4806
|
+
};
|
|
4698
4807
|
var publicWithInternalMcp = {
|
|
4699
4808
|
sdk: "public",
|
|
4700
4809
|
rest: "public",
|
|
@@ -4734,6 +4843,7 @@ function entries(names, surfaceClass, surfaceIntent, surfaces, rationale) {
|
|
|
4734
4843
|
);
|
|
4735
4844
|
}
|
|
4736
4845
|
var MCP_CORE_OPERATION_NAMES = [
|
|
4846
|
+
"lucern_orient",
|
|
4737
4847
|
"compile_context",
|
|
4738
4848
|
"identity_whoami",
|
|
4739
4849
|
"resolve_interactive_principal",
|
|
@@ -4743,7 +4853,6 @@ var MCP_CORE_OPERATION_NAMES = [
|
|
|
4743
4853
|
"get_belief",
|
|
4744
4854
|
"list_beliefs",
|
|
4745
4855
|
"refine_belief",
|
|
4746
|
-
"modulate_confidence",
|
|
4747
4856
|
"fork_belief",
|
|
4748
4857
|
"archive_belief",
|
|
4749
4858
|
"search_beliefs",
|
|
@@ -5011,6 +5120,13 @@ var LUCERN_OPERATION_MANIFEST = {
|
|
|
5011
5120
|
internalSystem,
|
|
5012
5121
|
"Lucern system/background operation. Available to platform code paths, hidden from public MCP discovery."
|
|
5013
5122
|
),
|
|
5123
|
+
modulate_confidence: {
|
|
5124
|
+
name: "modulate_confidence",
|
|
5125
|
+
surfaceClass: "platform_internal",
|
|
5126
|
+
surfaceIntent: "system",
|
|
5127
|
+
surfaces: internalSdkRestOnly,
|
|
5128
|
+
rationale: "Internal SL ledger append primitive. Public callers attach evidence or contradiction relations; confidence is derived algorithmically."
|
|
5129
|
+
},
|
|
5014
5130
|
...entries(
|
|
5015
5131
|
LEGACY_COMPAT_OPERATION_NAMES,
|
|
5016
5132
|
"legacy_compat",
|
|
@@ -5666,11 +5782,11 @@ var beliefsContracts = [
|
|
|
5666
5782
|
name: "modulate_confidence",
|
|
5667
5783
|
kind: "mutation",
|
|
5668
5784
|
domain: "beliefs",
|
|
5669
|
-
surfaceClass: "
|
|
5785
|
+
surfaceClass: "platform_internal",
|
|
5670
5786
|
path: "/beliefs/confidence",
|
|
5671
5787
|
sdkNamespace: "beliefs",
|
|
5672
5788
|
sdkMethod: "modulateConfidence",
|
|
5673
|
-
summary: "
|
|
5789
|
+
summary: "Internal SL ledger append. Public callers should attach evidence or contradiction relations instead.",
|
|
5674
5790
|
convex: {
|
|
5675
5791
|
module: "beliefs",
|
|
5676
5792
|
functionName: "modulateConfidence",
|