@empressaio/atom-contract 1.7.0 → 1.8.0
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 +55 -0
- package/dist/actor-record.d.ts +208 -0
- package/dist/actor-record.d.ts.map +1 -0
- package/dist/actor-record.js +98 -0
- package/dist/actor-record.js.map +1 -0
- package/dist/conformance/common.d.ts +6 -0
- package/dist/conformance/common.d.ts.map +1 -1
- package/dist/conformance/common.js +5 -0
- package/dist/conformance/common.js.map +1 -1
- package/dist/conformance/index.d.ts +1 -1
- package/dist/conformance/index.d.ts.map +1 -1
- package/dist/conformance/index.js +1 -1
- package/dist/conformance/index.js.map +1 -1
- package/dist/encumbrances/administrative-rule.d.ts +2 -2
- package/dist/encumbrances/restriction-clause.d.ts +2 -2
- package/dist/encumbrances/restriction-corpus.d.ts +2 -2
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/obligation.d.ts +54 -6
- package/dist/obligation.d.ts.map +1 -1
- package/dist/obligation.js +14 -0
- package/dist/obligation.js.map +1 -1
- package/dist/og/common.d.ts +2 -2
- package/dist/og/mineral-lease.d.ts +6 -6
- package/dist/og/ownership-interest.d.ts +8 -8
- package/dist/og/pad.d.ts +6 -6
- package/dist/og/production-timeseries.d.ts +4 -4
- package/dist/og/rrc-lease.d.ts +4 -4
- package/dist/og/well.d.ts +4 -4
- package/dist/og/zone.d.ts +2 -2
- package/dist/read-contract/index.d.ts +1 -0
- package/dist/read-contract/index.d.ts.map +1 -1
- package/dist/read-contract/index.js +1 -0
- package/dist/read-contract/index.js.map +1 -1
- package/dist/read-contract/reasoning-axes.d.ts +475 -0
- package/dist/read-contract/reasoning-axes.d.ts.map +1 -0
- package/dist/read-contract/reasoning-axes.js +75 -0
- package/dist/read-contract/reasoning-axes.js.map +1 -0
- package/dist/reasoning/fixtures.d.ts +63 -0
- package/dist/reasoning/fixtures.d.ts.map +1 -0
- package/dist/reasoning/fixtures.js +127 -0
- package/dist/reasoning/fixtures.js.map +1 -0
- package/dist/reasoning/index.d.ts +9 -0
- package/dist/reasoning/index.d.ts.map +1 -0
- package/dist/reasoning/index.js +9 -0
- package/dist/reasoning/index.js.map +1 -0
- package/dist/reasoning-chain.d.ts +177 -0
- package/dist/reasoning-chain.d.ts.map +1 -0
- package/dist/reasoning-chain.js +63 -0
- package/dist/reasoning-chain.js.map +1 -0
- package/dist/workspace/property-workspace.d.ts +6 -6
- package/package.json +5 -1
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Alternate read-contract axes for property / envelope / non-life-safety
|
|
3
|
+
* reasoning atoms (Gate B §2.5.2).
|
|
4
|
+
*
|
|
5
|
+
* Life-safety surfaces keep {@link ThreeAxisConfidence} with required
|
|
6
|
+
* ASCE7/IBC {@link ConsequenceAxis}. Property reasoning uses honest
|
|
7
|
+
* property-risk strata or explicit not-applicable — never stuffed ASCE7.
|
|
8
|
+
*/
|
|
9
|
+
import { z } from "zod";
|
|
10
|
+
import { WIDTHED_CONFIDENCE_SCHEMA, type WidthedConfidence } from "./common.js";
|
|
11
|
+
import { MODEL_ATTRIBUTION_STAMP_SCHEMA, type ModelAttributionStamp } from "./model-attribution.js";
|
|
12
|
+
/** Property-risk stratum — no "essential" invent (life-safety only). */
|
|
13
|
+
export type PropertyRiskStratum = "routine" | "elevated" | "critical";
|
|
14
|
+
export declare const PROPERTY_RISK_STRATA: ReadonlyArray<PropertyRiskStratum>;
|
|
15
|
+
export type PropertyConsequence = {
|
|
16
|
+
kind: "property-risk";
|
|
17
|
+
stratum: PropertyRiskStratum;
|
|
18
|
+
/** Honest basis: e.g. "flood-sfha", "no-buildable-area", "setback-constrained". */
|
|
19
|
+
basis: string;
|
|
20
|
+
assertedAt: string;
|
|
21
|
+
auditRef?: string;
|
|
22
|
+
} | {
|
|
23
|
+
kind: "not-applicable";
|
|
24
|
+
reason: string;
|
|
25
|
+
assertedAt: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const PROPERTY_CONSEQUENCE_PROPERTY_RISK_SCHEMA: z.ZodObject<{
|
|
28
|
+
kind: z.ZodLiteral<"property-risk">;
|
|
29
|
+
stratum: z.ZodEnum<[PropertyRiskStratum, ...PropertyRiskStratum[]]>;
|
|
30
|
+
basis: z.ZodString;
|
|
31
|
+
assertedAt: z.ZodString;
|
|
32
|
+
auditRef: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
stratum: PropertyRiskStratum;
|
|
35
|
+
assertedAt: string;
|
|
36
|
+
kind: "property-risk";
|
|
37
|
+
basis: string;
|
|
38
|
+
auditRef?: string | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
stratum: PropertyRiskStratum;
|
|
41
|
+
assertedAt: string;
|
|
42
|
+
kind: "property-risk";
|
|
43
|
+
basis: string;
|
|
44
|
+
auditRef?: string | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
export declare const PROPERTY_CONSEQUENCE_NOT_APPLICABLE_SCHEMA: z.ZodObject<{
|
|
47
|
+
kind: z.ZodLiteral<"not-applicable">;
|
|
48
|
+
reason: z.ZodString;
|
|
49
|
+
assertedAt: z.ZodString;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
assertedAt: string;
|
|
52
|
+
kind: "not-applicable";
|
|
53
|
+
reason: string;
|
|
54
|
+
}, {
|
|
55
|
+
assertedAt: string;
|
|
56
|
+
kind: "not-applicable";
|
|
57
|
+
reason: string;
|
|
58
|
+
}>;
|
|
59
|
+
export declare const PROPERTY_CONSEQUENCE_SCHEMA: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
60
|
+
kind: z.ZodLiteral<"property-risk">;
|
|
61
|
+
stratum: z.ZodEnum<[PropertyRiskStratum, ...PropertyRiskStratum[]]>;
|
|
62
|
+
basis: z.ZodString;
|
|
63
|
+
assertedAt: z.ZodString;
|
|
64
|
+
auditRef: z.ZodOptional<z.ZodString>;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
stratum: PropertyRiskStratum;
|
|
67
|
+
assertedAt: string;
|
|
68
|
+
kind: "property-risk";
|
|
69
|
+
basis: string;
|
|
70
|
+
auditRef?: string | undefined;
|
|
71
|
+
}, {
|
|
72
|
+
stratum: PropertyRiskStratum;
|
|
73
|
+
assertedAt: string;
|
|
74
|
+
kind: "property-risk";
|
|
75
|
+
basis: string;
|
|
76
|
+
auditRef?: string | undefined;
|
|
77
|
+
}>, z.ZodObject<{
|
|
78
|
+
kind: z.ZodLiteral<"not-applicable">;
|
|
79
|
+
reason: z.ZodString;
|
|
80
|
+
assertedAt: z.ZodString;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
assertedAt: string;
|
|
83
|
+
kind: "not-applicable";
|
|
84
|
+
reason: string;
|
|
85
|
+
}, {
|
|
86
|
+
assertedAt: string;
|
|
87
|
+
kind: "not-applicable";
|
|
88
|
+
reason: string;
|
|
89
|
+
}>]>;
|
|
90
|
+
export interface ReasoningThreeAxisConfidence {
|
|
91
|
+
readonly calibratedConfidence: WidthedConfidence;
|
|
92
|
+
readonly assertedConfidence: WidthedConfidence;
|
|
93
|
+
readonly consequence: PropertyConsequence;
|
|
94
|
+
}
|
|
95
|
+
export declare const REASONING_THREE_AXIS_CONFIDENCE_SCHEMA: z.ZodReadonly<z.ZodObject<{
|
|
96
|
+
calibratedConfidence: z.ZodReadonly<z.ZodObject<{
|
|
97
|
+
readonly estimate: z.ZodNumber;
|
|
98
|
+
readonly n: z.ZodNumber;
|
|
99
|
+
readonly intervalWidth: z.ZodNumber;
|
|
100
|
+
readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
estimate: number;
|
|
103
|
+
n: number;
|
|
104
|
+
intervalWidth: number;
|
|
105
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
106
|
+
}, {
|
|
107
|
+
estimate: number;
|
|
108
|
+
n: number;
|
|
109
|
+
intervalWidth: number;
|
|
110
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
111
|
+
}>>;
|
|
112
|
+
assertedConfidence: z.ZodReadonly<z.ZodObject<{
|
|
113
|
+
readonly estimate: z.ZodNumber;
|
|
114
|
+
readonly n: z.ZodNumber;
|
|
115
|
+
readonly intervalWidth: z.ZodNumber;
|
|
116
|
+
readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
estimate: number;
|
|
119
|
+
n: number;
|
|
120
|
+
intervalWidth: number;
|
|
121
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
122
|
+
}, {
|
|
123
|
+
estimate: number;
|
|
124
|
+
n: number;
|
|
125
|
+
intervalWidth: number;
|
|
126
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
127
|
+
}>>;
|
|
128
|
+
consequence: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
129
|
+
kind: z.ZodLiteral<"property-risk">;
|
|
130
|
+
stratum: z.ZodEnum<[PropertyRiskStratum, ...PropertyRiskStratum[]]>;
|
|
131
|
+
basis: z.ZodString;
|
|
132
|
+
assertedAt: z.ZodString;
|
|
133
|
+
auditRef: z.ZodOptional<z.ZodString>;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
stratum: PropertyRiskStratum;
|
|
136
|
+
assertedAt: string;
|
|
137
|
+
kind: "property-risk";
|
|
138
|
+
basis: string;
|
|
139
|
+
auditRef?: string | undefined;
|
|
140
|
+
}, {
|
|
141
|
+
stratum: PropertyRiskStratum;
|
|
142
|
+
assertedAt: string;
|
|
143
|
+
kind: "property-risk";
|
|
144
|
+
basis: string;
|
|
145
|
+
auditRef?: string | undefined;
|
|
146
|
+
}>, z.ZodObject<{
|
|
147
|
+
kind: z.ZodLiteral<"not-applicable">;
|
|
148
|
+
reason: z.ZodString;
|
|
149
|
+
assertedAt: z.ZodString;
|
|
150
|
+
}, "strip", z.ZodTypeAny, {
|
|
151
|
+
assertedAt: string;
|
|
152
|
+
kind: "not-applicable";
|
|
153
|
+
reason: string;
|
|
154
|
+
}, {
|
|
155
|
+
assertedAt: string;
|
|
156
|
+
kind: "not-applicable";
|
|
157
|
+
reason: string;
|
|
158
|
+
}>]>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
calibratedConfidence: Readonly<{
|
|
161
|
+
estimate: number;
|
|
162
|
+
n: number;
|
|
163
|
+
intervalWidth: number;
|
|
164
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
165
|
+
}>;
|
|
166
|
+
assertedConfidence: Readonly<{
|
|
167
|
+
estimate: number;
|
|
168
|
+
n: number;
|
|
169
|
+
intervalWidth: number;
|
|
170
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
171
|
+
}>;
|
|
172
|
+
consequence: {
|
|
173
|
+
stratum: PropertyRiskStratum;
|
|
174
|
+
assertedAt: string;
|
|
175
|
+
kind: "property-risk";
|
|
176
|
+
basis: string;
|
|
177
|
+
auditRef?: string | undefined;
|
|
178
|
+
} | {
|
|
179
|
+
assertedAt: string;
|
|
180
|
+
kind: "not-applicable";
|
|
181
|
+
reason: string;
|
|
182
|
+
};
|
|
183
|
+
}, {
|
|
184
|
+
calibratedConfidence: Readonly<{
|
|
185
|
+
estimate: number;
|
|
186
|
+
n: number;
|
|
187
|
+
intervalWidth: number;
|
|
188
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
189
|
+
}>;
|
|
190
|
+
assertedConfidence: Readonly<{
|
|
191
|
+
estimate: number;
|
|
192
|
+
n: number;
|
|
193
|
+
intervalWidth: number;
|
|
194
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
195
|
+
}>;
|
|
196
|
+
consequence: {
|
|
197
|
+
stratum: PropertyRiskStratum;
|
|
198
|
+
assertedAt: string;
|
|
199
|
+
kind: "property-risk";
|
|
200
|
+
basis: string;
|
|
201
|
+
auditRef?: string | undefined;
|
|
202
|
+
} | {
|
|
203
|
+
assertedAt: string;
|
|
204
|
+
kind: "not-applicable";
|
|
205
|
+
reason: string;
|
|
206
|
+
};
|
|
207
|
+
}>>;
|
|
208
|
+
/**
|
|
209
|
+
* Read-contract for property / envelope reasoning emitters.
|
|
210
|
+
* Life-safety / ICC code-risk surfaces keep {@link ReadContract}.
|
|
211
|
+
*/
|
|
212
|
+
export interface ReasoningReadContract {
|
|
213
|
+
readonly axes: ReasoningThreeAxisConfidence;
|
|
214
|
+
readonly assembledAt: string;
|
|
215
|
+
readonly modelAttribution?: ModelAttributionStamp;
|
|
216
|
+
}
|
|
217
|
+
export declare const REASONING_READ_CONTRACT_SCHEMA: z.ZodReadonly<z.ZodObject<{
|
|
218
|
+
axes: z.ZodReadonly<z.ZodObject<{
|
|
219
|
+
calibratedConfidence: z.ZodReadonly<z.ZodObject<{
|
|
220
|
+
readonly estimate: z.ZodNumber;
|
|
221
|
+
readonly n: z.ZodNumber;
|
|
222
|
+
readonly intervalWidth: z.ZodNumber;
|
|
223
|
+
readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
|
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
|
225
|
+
estimate: number;
|
|
226
|
+
n: number;
|
|
227
|
+
intervalWidth: number;
|
|
228
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
229
|
+
}, {
|
|
230
|
+
estimate: number;
|
|
231
|
+
n: number;
|
|
232
|
+
intervalWidth: number;
|
|
233
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
234
|
+
}>>;
|
|
235
|
+
assertedConfidence: z.ZodReadonly<z.ZodObject<{
|
|
236
|
+
readonly estimate: z.ZodNumber;
|
|
237
|
+
readonly n: z.ZodNumber;
|
|
238
|
+
readonly intervalWidth: z.ZodNumber;
|
|
239
|
+
readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
|
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
|
241
|
+
estimate: number;
|
|
242
|
+
n: number;
|
|
243
|
+
intervalWidth: number;
|
|
244
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
245
|
+
}, {
|
|
246
|
+
estimate: number;
|
|
247
|
+
n: number;
|
|
248
|
+
intervalWidth: number;
|
|
249
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
250
|
+
}>>;
|
|
251
|
+
consequence: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
252
|
+
kind: z.ZodLiteral<"property-risk">;
|
|
253
|
+
stratum: z.ZodEnum<[PropertyRiskStratum, ...PropertyRiskStratum[]]>;
|
|
254
|
+
basis: z.ZodString;
|
|
255
|
+
assertedAt: z.ZodString;
|
|
256
|
+
auditRef: z.ZodOptional<z.ZodString>;
|
|
257
|
+
}, "strip", z.ZodTypeAny, {
|
|
258
|
+
stratum: PropertyRiskStratum;
|
|
259
|
+
assertedAt: string;
|
|
260
|
+
kind: "property-risk";
|
|
261
|
+
basis: string;
|
|
262
|
+
auditRef?: string | undefined;
|
|
263
|
+
}, {
|
|
264
|
+
stratum: PropertyRiskStratum;
|
|
265
|
+
assertedAt: string;
|
|
266
|
+
kind: "property-risk";
|
|
267
|
+
basis: string;
|
|
268
|
+
auditRef?: string | undefined;
|
|
269
|
+
}>, z.ZodObject<{
|
|
270
|
+
kind: z.ZodLiteral<"not-applicable">;
|
|
271
|
+
reason: z.ZodString;
|
|
272
|
+
assertedAt: z.ZodString;
|
|
273
|
+
}, "strip", z.ZodTypeAny, {
|
|
274
|
+
assertedAt: string;
|
|
275
|
+
kind: "not-applicable";
|
|
276
|
+
reason: string;
|
|
277
|
+
}, {
|
|
278
|
+
assertedAt: string;
|
|
279
|
+
kind: "not-applicable";
|
|
280
|
+
reason: string;
|
|
281
|
+
}>]>;
|
|
282
|
+
}, "strip", z.ZodTypeAny, {
|
|
283
|
+
calibratedConfidence: Readonly<{
|
|
284
|
+
estimate: number;
|
|
285
|
+
n: number;
|
|
286
|
+
intervalWidth: number;
|
|
287
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
288
|
+
}>;
|
|
289
|
+
assertedConfidence: Readonly<{
|
|
290
|
+
estimate: number;
|
|
291
|
+
n: number;
|
|
292
|
+
intervalWidth: number;
|
|
293
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
294
|
+
}>;
|
|
295
|
+
consequence: {
|
|
296
|
+
stratum: PropertyRiskStratum;
|
|
297
|
+
assertedAt: string;
|
|
298
|
+
kind: "property-risk";
|
|
299
|
+
basis: string;
|
|
300
|
+
auditRef?: string | undefined;
|
|
301
|
+
} | {
|
|
302
|
+
assertedAt: string;
|
|
303
|
+
kind: "not-applicable";
|
|
304
|
+
reason: string;
|
|
305
|
+
};
|
|
306
|
+
}, {
|
|
307
|
+
calibratedConfidence: Readonly<{
|
|
308
|
+
estimate: number;
|
|
309
|
+
n: number;
|
|
310
|
+
intervalWidth: number;
|
|
311
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
312
|
+
}>;
|
|
313
|
+
assertedConfidence: Readonly<{
|
|
314
|
+
estimate: number;
|
|
315
|
+
n: number;
|
|
316
|
+
intervalWidth: number;
|
|
317
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
318
|
+
}>;
|
|
319
|
+
consequence: {
|
|
320
|
+
stratum: PropertyRiskStratum;
|
|
321
|
+
assertedAt: string;
|
|
322
|
+
kind: "property-risk";
|
|
323
|
+
basis: string;
|
|
324
|
+
auditRef?: string | undefined;
|
|
325
|
+
} | {
|
|
326
|
+
assertedAt: string;
|
|
327
|
+
kind: "not-applicable";
|
|
328
|
+
reason: string;
|
|
329
|
+
};
|
|
330
|
+
}>>;
|
|
331
|
+
assembledAt: z.ZodString;
|
|
332
|
+
modelAttribution: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
333
|
+
modelId: z.ZodString;
|
|
334
|
+
modelVersion: z.ZodString;
|
|
335
|
+
promptTemplateVersion: z.ZodString;
|
|
336
|
+
contextTemplateVersion: z.ZodString;
|
|
337
|
+
samplingParams: z.ZodReadonly<z.ZodObject<{
|
|
338
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
339
|
+
topP: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
341
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
342
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
343
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
344
|
+
topP: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
347
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
348
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
349
|
+
topP: z.ZodOptional<z.ZodNumber>;
|
|
350
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
351
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
352
|
+
}, z.ZodUnknown, "strip">>>;
|
|
353
|
+
retrievedAtomSetId: z.ZodString;
|
|
354
|
+
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
modelId: string;
|
|
356
|
+
modelVersion: string;
|
|
357
|
+
promptTemplateVersion: string;
|
|
358
|
+
contextTemplateVersion: string;
|
|
359
|
+
samplingParams: Readonly<z.objectOutputType<{
|
|
360
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
361
|
+
topP: z.ZodOptional<z.ZodNumber>;
|
|
362
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
363
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
364
|
+
}, z.ZodUnknown, "strip">>;
|
|
365
|
+
retrievedAtomSetId: string;
|
|
366
|
+
}, {
|
|
367
|
+
modelId: string;
|
|
368
|
+
modelVersion: string;
|
|
369
|
+
promptTemplateVersion: string;
|
|
370
|
+
contextTemplateVersion: string;
|
|
371
|
+
samplingParams: Readonly<z.objectInputType<{
|
|
372
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
373
|
+
topP: z.ZodOptional<z.ZodNumber>;
|
|
374
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
375
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
}, z.ZodUnknown, "strip">>;
|
|
377
|
+
retrievedAtomSetId: string;
|
|
378
|
+
}>>>;
|
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
axes: Readonly<{
|
|
381
|
+
calibratedConfidence: Readonly<{
|
|
382
|
+
estimate: number;
|
|
383
|
+
n: number;
|
|
384
|
+
intervalWidth: number;
|
|
385
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
386
|
+
}>;
|
|
387
|
+
assertedConfidence: Readonly<{
|
|
388
|
+
estimate: number;
|
|
389
|
+
n: number;
|
|
390
|
+
intervalWidth: number;
|
|
391
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
392
|
+
}>;
|
|
393
|
+
consequence: {
|
|
394
|
+
stratum: PropertyRiskStratum;
|
|
395
|
+
assertedAt: string;
|
|
396
|
+
kind: "property-risk";
|
|
397
|
+
basis: string;
|
|
398
|
+
auditRef?: string | undefined;
|
|
399
|
+
} | {
|
|
400
|
+
assertedAt: string;
|
|
401
|
+
kind: "not-applicable";
|
|
402
|
+
reason: string;
|
|
403
|
+
};
|
|
404
|
+
}>;
|
|
405
|
+
assembledAt: string;
|
|
406
|
+
modelAttribution?: Readonly<{
|
|
407
|
+
modelId: string;
|
|
408
|
+
modelVersion: string;
|
|
409
|
+
promptTemplateVersion: string;
|
|
410
|
+
contextTemplateVersion: string;
|
|
411
|
+
samplingParams: Readonly<z.objectOutputType<{
|
|
412
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
413
|
+
topP: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
416
|
+
}, z.ZodUnknown, "strip">>;
|
|
417
|
+
retrievedAtomSetId: string;
|
|
418
|
+
}> | undefined;
|
|
419
|
+
}, {
|
|
420
|
+
axes: Readonly<{
|
|
421
|
+
calibratedConfidence: Readonly<{
|
|
422
|
+
estimate: number;
|
|
423
|
+
n: number;
|
|
424
|
+
intervalWidth: number;
|
|
425
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
426
|
+
}>;
|
|
427
|
+
assertedConfidence: Readonly<{
|
|
428
|
+
estimate: number;
|
|
429
|
+
n: number;
|
|
430
|
+
intervalWidth: number;
|
|
431
|
+
provenance: "asserted" | "backtest" | "seed" | "live";
|
|
432
|
+
}>;
|
|
433
|
+
consequence: {
|
|
434
|
+
stratum: PropertyRiskStratum;
|
|
435
|
+
assertedAt: string;
|
|
436
|
+
kind: "property-risk";
|
|
437
|
+
basis: string;
|
|
438
|
+
auditRef?: string | undefined;
|
|
439
|
+
} | {
|
|
440
|
+
assertedAt: string;
|
|
441
|
+
kind: "not-applicable";
|
|
442
|
+
reason: string;
|
|
443
|
+
};
|
|
444
|
+
}>;
|
|
445
|
+
assembledAt: string;
|
|
446
|
+
modelAttribution?: Readonly<{
|
|
447
|
+
modelId: string;
|
|
448
|
+
modelVersion: string;
|
|
449
|
+
promptTemplateVersion: string;
|
|
450
|
+
contextTemplateVersion: string;
|
|
451
|
+
samplingParams: Readonly<z.objectInputType<{
|
|
452
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
453
|
+
topP: z.ZodOptional<z.ZodNumber>;
|
|
454
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
455
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
456
|
+
}, z.ZodUnknown, "strip">>;
|
|
457
|
+
retrievedAtomSetId: string;
|
|
458
|
+
}> | undefined;
|
|
459
|
+
}>>;
|
|
460
|
+
export declare function createPropertyConsequence(input: z.input<typeof PROPERTY_CONSEQUENCE_SCHEMA>): PropertyConsequence;
|
|
461
|
+
export interface CreateReasoningThreeAxisConfidenceInput {
|
|
462
|
+
calibratedConfidence: z.input<typeof WIDTHED_CONFIDENCE_SCHEMA>;
|
|
463
|
+
assertedConfidence: z.input<typeof WIDTHED_CONFIDENCE_SCHEMA>;
|
|
464
|
+
consequence: z.input<typeof PROPERTY_CONSEQUENCE_SCHEMA>;
|
|
465
|
+
}
|
|
466
|
+
export declare function createReasoningThreeAxisConfidence(input: CreateReasoningThreeAxisConfidenceInput): ReasoningThreeAxisConfidence;
|
|
467
|
+
export interface CreateReasoningReadContractInput {
|
|
468
|
+
axes: CreateReasoningThreeAxisConfidenceInput;
|
|
469
|
+
assembledAt: string;
|
|
470
|
+
modelAttribution?: z.input<typeof MODEL_ATTRIBUTION_STAMP_SCHEMA>;
|
|
471
|
+
}
|
|
472
|
+
export declare function createReasoningReadContract(input: CreateReasoningReadContractInput): ReasoningReadContract;
|
|
473
|
+
/** Runtime validator for property reasoning read-contract emitters. */
|
|
474
|
+
export declare function validateReasoningReadContract(value: unknown): ReasoningReadContract;
|
|
475
|
+
//# sourceMappingURL=reasoning-axes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reasoning-axes.d.ts","sourceRoot":"","sources":["../../src/read-contract/reasoning-axes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,yBAAyB,EAEzB,KAAK,iBAAiB,EACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,8BAA8B,EAC9B,KAAK,qBAAqB,EAC3B,MAAM,wBAAwB,CAAC;AAEhC,wEAAwE;AACxE,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAEtE,eAAO,MAAM,oBAAoB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAM9B,CAAC;AAEd,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,GACjD,mBAAmB,CAErB;AAED,MAAM,WAAW,uCAAuC;IACtD,oBAAoB,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;IAChE,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;IAC9D,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;CAC1D;AAED,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,uCAAuC,GAC7C,4BAA4B,CAO9B;AAED,MAAM,WAAW,gCAAgC;IAC/C,IAAI,EAAE,uCAAuC,CAAC;IAC9C,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;CACnE;AAED,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,gCAAgC,GACtC,qBAAqB,CAWvB;AAED,uEAAuE;AACvE,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,OAAO,GAAG,qBAAqB,CAGnF"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Alternate read-contract axes for property / envelope / non-life-safety
|
|
3
|
+
* reasoning atoms (Gate B §2.5.2).
|
|
4
|
+
*
|
|
5
|
+
* Life-safety surfaces keep {@link ThreeAxisConfidence} with required
|
|
6
|
+
* ASCE7/IBC {@link ConsequenceAxis}. Property reasoning uses honest
|
|
7
|
+
* property-risk strata or explicit not-applicable — never stuffed ASCE7.
|
|
8
|
+
*/
|
|
9
|
+
import { z } from "zod";
|
|
10
|
+
import { WIDTHED_CONFIDENCE_SCHEMA, createWidthedConfidence, } from "./common.js";
|
|
11
|
+
import { MODEL_ATTRIBUTION_STAMP_SCHEMA, } from "./model-attribution.js";
|
|
12
|
+
export const PROPERTY_RISK_STRATA = [
|
|
13
|
+
"routine",
|
|
14
|
+
"elevated",
|
|
15
|
+
"critical",
|
|
16
|
+
];
|
|
17
|
+
export const PROPERTY_CONSEQUENCE_PROPERTY_RISK_SCHEMA = z.object({
|
|
18
|
+
kind: z.literal("property-risk"),
|
|
19
|
+
stratum: z.enum(PROPERTY_RISK_STRATA),
|
|
20
|
+
basis: z.string().min(1),
|
|
21
|
+
assertedAt: z.string().min(1),
|
|
22
|
+
auditRef: z.string().min(1).optional(),
|
|
23
|
+
});
|
|
24
|
+
export const PROPERTY_CONSEQUENCE_NOT_APPLICABLE_SCHEMA = z.object({
|
|
25
|
+
kind: z.literal("not-applicable"),
|
|
26
|
+
reason: z.string().min(1),
|
|
27
|
+
assertedAt: z.string().min(1),
|
|
28
|
+
});
|
|
29
|
+
export const PROPERTY_CONSEQUENCE_SCHEMA = z.discriminatedUnion("kind", [
|
|
30
|
+
PROPERTY_CONSEQUENCE_PROPERTY_RISK_SCHEMA,
|
|
31
|
+
PROPERTY_CONSEQUENCE_NOT_APPLICABLE_SCHEMA,
|
|
32
|
+
]);
|
|
33
|
+
export const REASONING_THREE_AXIS_CONFIDENCE_SCHEMA = z
|
|
34
|
+
.object({
|
|
35
|
+
calibratedConfidence: WIDTHED_CONFIDENCE_SCHEMA,
|
|
36
|
+
assertedConfidence: WIDTHED_CONFIDENCE_SCHEMA,
|
|
37
|
+
consequence: PROPERTY_CONSEQUENCE_SCHEMA,
|
|
38
|
+
})
|
|
39
|
+
.readonly();
|
|
40
|
+
export const REASONING_READ_CONTRACT_SCHEMA = z
|
|
41
|
+
.object({
|
|
42
|
+
axes: REASONING_THREE_AXIS_CONFIDENCE_SCHEMA,
|
|
43
|
+
assembledAt: z.string().min(1),
|
|
44
|
+
modelAttribution: MODEL_ATTRIBUTION_STAMP_SCHEMA.optional(),
|
|
45
|
+
})
|
|
46
|
+
.readonly();
|
|
47
|
+
export function createPropertyConsequence(input) {
|
|
48
|
+
return PROPERTY_CONSEQUENCE_SCHEMA.parse(input);
|
|
49
|
+
}
|
|
50
|
+
export function createReasoningThreeAxisConfidence(input) {
|
|
51
|
+
const parsed = REASONING_THREE_AXIS_CONFIDENCE_SCHEMA.parse(input);
|
|
52
|
+
return {
|
|
53
|
+
calibratedConfidence: createWidthedConfidence(parsed.calibratedConfidence),
|
|
54
|
+
assertedConfidence: createWidthedConfidence(parsed.assertedConfidence),
|
|
55
|
+
consequence: createPropertyConsequence(parsed.consequence),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export function createReasoningReadContract(input) {
|
|
59
|
+
const parsed = REASONING_READ_CONTRACT_SCHEMA.parse({
|
|
60
|
+
axes: input.axes,
|
|
61
|
+
assembledAt: input.assembledAt,
|
|
62
|
+
modelAttribution: input.modelAttribution,
|
|
63
|
+
});
|
|
64
|
+
return {
|
|
65
|
+
axes: createReasoningThreeAxisConfidence(parsed.axes),
|
|
66
|
+
assembledAt: parsed.assembledAt,
|
|
67
|
+
modelAttribution: parsed.modelAttribution,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/** Runtime validator for property reasoning read-contract emitters. */
|
|
71
|
+
export function validateReasoningReadContract(value) {
|
|
72
|
+
const parsed = REASONING_READ_CONTRACT_SCHEMA.parse(value);
|
|
73
|
+
return createReasoningReadContract(parsed);
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=reasoning-axes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reasoning-axes.js","sourceRoot":"","sources":["../../src/read-contract/reasoning-axes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAA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7C,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reasoning-chain conformance fixtures per Gate B §2.3 and §5.7.
|
|
3
|
+
*
|
|
4
|
+
* Property entityTypes (zoning-fact, setback-rule, buildable-envelope) are
|
|
5
|
+
* Phase 1b bindings — named in comments, not registered as full kinds in 1.8.0.
|
|
6
|
+
*/
|
|
7
|
+
import type { AccessPolicy } from "../registration.js";
|
|
8
|
+
import type { ReasoningChain } from "../reasoning-chain.js";
|
|
9
|
+
import { type ReasoningReadContract } from "../read-contract/reasoning-axes.js";
|
|
10
|
+
import type { ObligationAtomInstance } from "../obligation.js";
|
|
11
|
+
import { ICC_ACTOR_RECORD_FIXTURE } from "../actor-record.js";
|
|
12
|
+
/** Stub shape showing how reasoning chain attaches before Phase 1b kinds ship. */
|
|
13
|
+
export interface ReasoningInstanceStub {
|
|
14
|
+
/** Phase 1b: entityType would be e.g. "zoning-fact". */
|
|
15
|
+
entityTypeHint: string;
|
|
16
|
+
reasoningChain: ReasoningChain;
|
|
17
|
+
sourceCitation: string;
|
|
18
|
+
extractedAt: string;
|
|
19
|
+
accessPolicy: AccessPolicy;
|
|
20
|
+
readContract?: ReasoningReadContract;
|
|
21
|
+
}
|
|
22
|
+
/** Observed fact stub — public-free with provenance fields present. */
|
|
23
|
+
export declare const OBSERVED_FACT_REASONING_STUB: ReasoningInstanceStub;
|
|
24
|
+
/** Derived envelope stub — not-applicable consequence, no stuffed ASCE7. */
|
|
25
|
+
export declare const DERIVED_ENVELOPE_REASONING_STUB: ReasoningInstanceStub;
|
|
26
|
+
/** Negative fixture inputs — validated in tests, not valid instances. */
|
|
27
|
+
export declare const NEGATIVE_DERIVED_NO_INPUT_REFS: {
|
|
28
|
+
reasoningKind: "derived";
|
|
29
|
+
derivationMethod: string;
|
|
30
|
+
inputAtomRefs: [];
|
|
31
|
+
};
|
|
32
|
+
export declare const NEGATIVE_DERIVED_EMPTY_ATOM_DID: {
|
|
33
|
+
reasoningKind: "derived";
|
|
34
|
+
derivationMethod: string;
|
|
35
|
+
inputAtomRefs: {
|
|
36
|
+
atomDid: string;
|
|
37
|
+
role: "fact";
|
|
38
|
+
}[];
|
|
39
|
+
};
|
|
40
|
+
/** Re-export ICC actor for obligation edge demonstrations. */
|
|
41
|
+
export { ICC_ACTOR_RECORD_FIXTURE };
|
|
42
|
+
/**
|
|
43
|
+
* ICC inbound reference royalty — reuses shipped ObligationAtomInstance shape.
|
|
44
|
+
* amount omitted with graceTerms pending-rate when commercial rates unset (I-K).
|
|
45
|
+
*/
|
|
46
|
+
export declare const ICC_LICENSE_REFERENCE_OBLIGATION_FIXTURE: ObligationAtomInstance;
|
|
47
|
+
/** Negative obligation fixture — license type without owedToActorDid. */
|
|
48
|
+
export declare const NEGATIVE_ICC_OBLIGATION_MISSING_ACTOR: {
|
|
49
|
+
entityType: "obligation";
|
|
50
|
+
obligationDid: string;
|
|
51
|
+
obligationType: "license-reference-royalty";
|
|
52
|
+
anchorDid: string;
|
|
53
|
+
anchorKind: string;
|
|
54
|
+
dueDate: string;
|
|
55
|
+
recurrence: string;
|
|
56
|
+
graceTerms: string;
|
|
57
|
+
status: "upcoming";
|
|
58
|
+
confidence: import("../read-contract/common.js").WidthedConfidence;
|
|
59
|
+
sourceCitation: string;
|
|
60
|
+
extractedAt: string;
|
|
61
|
+
accessPolicy: "platform-internal";
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=fixtures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../src/reasoning/fixtures.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,kFAAkF;AAClF,MAAM,WAAW,qBAAqB;IACpC,wDAAwD;IACxD,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;IAC3B,YAAY,CAAC,EAAE,qBAAqB,CAAC;CACtC;AAgBD,uEAAuE;AACvE,eAAO,MAAM,4BAA4B,EAAE,qBAM1C,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,+BAA+B,EAAE,qBA6C7C,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,8BAA8B;;;mBAGpB,EAAE;CACxB,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;CAI3C,CAAC;AAEF,8DAA8D;AAC9D,OAAO,EAAE,wBAAwB,EAAE,CAAC;AAEpC;;;GAGG;AACH,eAAO,MAAM,wCAAwC,EAAE,sBAetD,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;CAcjD,CAAC"}
|