@lucern/sdk 1.0.22 → 1.0.24

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 CHANGED
@@ -5,6 +5,26 @@ All notable changes to `@lucern/sdk` will be documented in this file.
5
5
  ## [Unreleased]
6
6
  - No unreleased changes yet.
7
7
 
8
+ ## [1.0.24] - 2026-06-12
9
+ - SEV-1 CURE (RR.4b): the endpoint referential-semantics regression is fixed —
10
+ writeback/create_evidence targeting a UUIDv7 (v4-globalId) belief succeeds
11
+ again. This is the headline of the 1.0.24 line.
12
+ - FR.7: structured ConvexError 403 PROJECT_ACCESS_DENIED for denied writes (no
13
+ more opaque 500s) plus a creator-grant path so principals can mutate/archive
14
+ the nodes they create.
15
+ - FR.8: list_evidence by target returns a belief's linked evidence.
16
+ - FR.10: component-export parity + answer-confidence enum canonicalization.
17
+
18
+ ## [1.0.23] - 2026-06-12
19
+ - Activation release for the reasoning-tenant writeback surface. Carries the
20
+ RR.1-5 kernel write substrate and the FR lane's writeback ergonomics so
21
+ graph-writing agents stop fighting deployed-surface drift.
22
+ - FR.1: one-call `record_scope_learning` accepting signed `linkedBeliefs`
23
+ weights in `[-1, 1]`; FR.2: CLI coherence with the fixed record-merge path;
24
+ FR.4: `refine_belief`, archive surface, belief-id/`text`/`globalId` aliases,
25
+ and `flag_contradiction` explicit `topicId`.
26
+ - `worktreeType` is tightened to the canonical schema enum (#1303).
27
+
8
28
  ## [1.0.22] - 2026-06-08
9
29
  - Release notes pending.
10
30
 
@@ -1,4 +1,4 @@
1
- import type { SynthesisQualityLint } from "@lucern/contracts";
1
+ import type { PublicCompiledContext as ContractPublicCompiledContext } from "./contracts/context-pack.contract";
2
2
  export type ContextRankingProfile = "baseline_v1" | "hybrid_v1" | "weighted_v1";
3
3
  export type ContextCompilationMode = "standard" | "delta";
4
4
  export type ContextTraversalMode = "anchored_ranked" | "bounded_exploration" | "contradiction_scan" | "pattern_recall" | "forensic_replay";
@@ -220,55 +220,8 @@ export type PublicContextSupportingObjects = {
220
220
  lanes?: string[];
221
221
  entities?: unknown[];
222
222
  };
223
- export type PublicCompiledContext = {
224
- contextNarrative: Array<string | PublicContextNarrativeBlock>;
225
- narrativeCoverage?: Record<string, unknown>;
226
- synthesisLints?: SynthesisQualityLint[];
227
- retrievalReceipt?: Record<string, unknown>;
228
- assemblyReceipt?: Record<string, unknown>;
223
+ export type PublicCompiledContext = ContractPublicCompiledContext & {
229
224
  narrativeIndex?: Record<string, unknown>;
230
- supportingObjects?: PublicContextSupportingObjects;
231
- schemaVersion: string;
232
- topicId: string;
233
- topicName: string;
234
- scopedTopicIds: string[];
235
- generatedAt: number;
236
- ranking: ContextRankingProfile;
237
- summary: Record<string, unknown>;
238
- invariants?: PublicContextBelief[];
239
- activeBeliefs?: PublicContextBelief[];
240
- openQuestions?: PublicContextQuestion[];
241
- recentEvidence?: PublicContextEvidence[];
242
- contradictions?: PublicContextContradiction[];
243
- relatedEntities?: PublicContextEntity[];
244
- injectionPolicy: PublicContextInjectionPolicy;
245
- diagnostics: Record<string, unknown>;
246
- compilationMode?: string;
247
- failureContext?: {
248
- failures: Array<{
249
- attemptId: string;
250
- approach: string;
251
- outcome: string;
252
- recordedAt: number;
253
- score: number;
254
- }>;
255
- suppressedIds: string[];
256
- };
257
- deltaReport?: {
258
- changedItems: Array<{
259
- id: string;
260
- section: string;
261
- changeType: string;
262
- summary: string;
263
- }>;
264
- verificationObligations: Array<{
265
- description: string;
266
- source: string;
267
- severity: "critical" | "high" | "medium" | "low";
268
- }>;
269
- referencePoint: string;
270
- };
271
- appliedWeightOverrides?: unknown[];
272
225
  };
273
226
  export type PublicCampaignContextPayload = {
274
227
  mission?: Record<string, unknown>;
@@ -41,5 +41,5 @@
41
41
  "convex-validators",
42
42
  "proof-attestation"
43
43
  ],
44
- "signedAt": 1780891504295
44
+ "signedAt": 1781277242472
45
45
  }
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Current SDK package version. */
2
- export declare const LUCERN_SDK_VERSION = "1.0.22";
2
+ export declare const LUCERN_SDK_VERSION = "1.0.24";
3
3
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Current SDK package version. */
2
- export const LUCERN_SDK_VERSION = "1.0.22";
2
+ export const LUCERN_SDK_VERSION = "1.0.24";
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucern/sdk",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -113,10 +113,10 @@
113
113
  "typecheck": "tsc --project tsconfig.typecheck.json --noEmit"
114
114
  },
115
115
  "dependencies": {
116
- "@lucern/contracts": "1.0.22",
117
- "@lucern/reasoning-kernel": "1.0.22",
118
- "@lucern/secrets": "1.0.22",
119
- "@lucern/transport-core": "1.0.22",
116
+ "@lucern/contracts": "1.0.24",
117
+ "@lucern/reasoning-kernel": "1.0.24",
118
+ "@lucern/secrets": "1.0.24",
119
+ "@lucern/transport-core": "1.0.24",
120
120
  "effect": "^3.21.2",
121
121
  "zod": "^3.25.76"
122
122
  },