@empressaio/atom-contract 1.8.0 → 1.10.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.
Files changed (39) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +39 -0
  3. package/dist/conformance/common.d.ts +5 -0
  4. package/dist/conformance/common.d.ts.map +1 -1
  5. package/dist/conformance/common.js +4 -0
  6. package/dist/conformance/common.js.map +1 -1
  7. package/dist/conformance/index.d.ts +1 -1
  8. package/dist/conformance/index.d.ts.map +1 -1
  9. package/dist/conformance/index.js +1 -1
  10. package/dist/conformance/index.js.map +1 -1
  11. package/dist/property/buildable-envelope.d.ts +464 -0
  12. package/dist/property/buildable-envelope.d.ts.map +1 -0
  13. package/dist/property/buildable-envelope.js +63 -0
  14. package/dist/property/buildable-envelope.js.map +1 -0
  15. package/dist/property/common.d.ts +513 -0
  16. package/dist/property/common.d.ts.map +1 -0
  17. package/dist/property/common.js +66 -0
  18. package/dist/property/common.js.map +1 -0
  19. package/dist/property/fixtures.d.ts +141 -0
  20. package/dist/property/fixtures.d.ts.map +1 -0
  21. package/dist/property/fixtures.js +438 -0
  22. package/dist/property/fixtures.js.map +1 -0
  23. package/dist/property/index.d.ts +24 -0
  24. package/dist/property/index.d.ts.map +1 -0
  25. package/dist/property/index.js +20 -0
  26. package/dist/property/index.js.map +1 -0
  27. package/dist/property/parcel-terrain-model.d.ts +922 -0
  28. package/dist/property/parcel-terrain-model.d.ts.map +1 -0
  29. package/dist/property/parcel-terrain-model.js +117 -0
  30. package/dist/property/parcel-terrain-model.js.map +1 -0
  31. package/dist/property/setback-rule.d.ts +887 -0
  32. package/dist/property/setback-rule.d.ts.map +1 -0
  33. package/dist/property/setback-rule.js +53 -0
  34. package/dist/property/setback-rule.js.map +1 -0
  35. package/dist/property/zoning-fact.d.ts +538 -0
  36. package/dist/property/zoning-fact.d.ts.map +1 -0
  37. package/dist/property/zoning-fact.js +48 -0
  38. package/dist/property/zoning-fact.js.map +1 -0
  39. package/package.json +5 -1
@@ -0,0 +1,887 @@
1
+ import { z } from "zod";
2
+ import type { AccessPolicy } from "../registration.js";
3
+ import type { AtomTier } from "../conformance/common.js";
4
+ import type { AtomInputRef } from "../reasoning-chain.js";
5
+ import type { ReasoningChain } from "../reasoning-chain.js";
6
+ import type { ReasoningReadContract } from "../read-contract/reasoning-axes.js";
7
+ import { type SetbackAbsence, type SetbackFieldProvenance, type SetbackMatchBasis } from "./common.js";
8
+ /**
9
+ * Setback RULE atom — observed rule scalars cited to a code atom.
10
+ *
11
+ * `sourceCodeAtomRef` is a typed {@link AtomInputRef} (role `rule` or `fact`),
12
+ * NOT a bare string citation. ICC royalties accrue via separate
13
+ * {@link ObligationAtomInstance} rows — no parallel SourceAttribution type.
14
+ */
15
+ export interface SetbackRuleAtomInstance {
16
+ entityType: "setback-rule";
17
+ atomDid: string;
18
+ parcelNodeId: string;
19
+ reasoningChain: Extract<ReasoningChain, {
20
+ reasoningKind: "observed";
21
+ }>;
22
+ front: number;
23
+ side: number;
24
+ rear: number;
25
+ /** Typed pointer to the code-section (or rule) atom — never a bare string. */
26
+ sourceCodeAtomRef: AtomInputRef;
27
+ /** Consumed from setback JSON; do not invent tiers. */
28
+ fieldProvenance?: SetbackFieldProvenance;
29
+ matchBasis: SetbackMatchBasis;
30
+ /** Required when matchBasis is fallback (honest-absence grading). */
31
+ absence?: SetbackAbsence;
32
+ accessPolicy: AccessPolicy;
33
+ sourceCitation: string;
34
+ extractedAt: string;
35
+ asOf?: string;
36
+ atomTier: AtomTier;
37
+ readContract?: ReasoningReadContract;
38
+ }
39
+ export declare const SETBACK_RULE_SCHEMA: z.ZodEffects<z.ZodObject<{
40
+ atomTier: z.ZodLiteral<AtomTier>;
41
+ readContract: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
42
+ axes: z.ZodReadonly<z.ZodObject<{
43
+ calibratedConfidence: z.ZodReadonly<z.ZodObject<{
44
+ readonly estimate: z.ZodNumber;
45
+ readonly n: z.ZodNumber;
46
+ readonly intervalWidth: z.ZodNumber;
47
+ readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ estimate: number;
50
+ n: number;
51
+ intervalWidth: number;
52
+ provenance: "asserted" | "backtest" | "seed" | "live";
53
+ }, {
54
+ estimate: number;
55
+ n: number;
56
+ intervalWidth: number;
57
+ provenance: "asserted" | "backtest" | "seed" | "live";
58
+ }>>;
59
+ assertedConfidence: z.ZodReadonly<z.ZodObject<{
60
+ readonly estimate: z.ZodNumber;
61
+ readonly n: z.ZodNumber;
62
+ readonly intervalWidth: z.ZodNumber;
63
+ readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ estimate: number;
66
+ n: number;
67
+ intervalWidth: number;
68
+ provenance: "asserted" | "backtest" | "seed" | "live";
69
+ }, {
70
+ estimate: number;
71
+ n: number;
72
+ intervalWidth: number;
73
+ provenance: "asserted" | "backtest" | "seed" | "live";
74
+ }>>;
75
+ consequence: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
76
+ kind: z.ZodLiteral<"property-risk">;
77
+ stratum: z.ZodEnum<[import("../read-contract/reasoning-axes.js").PropertyRiskStratum, ...import("../read-contract/reasoning-axes.js").PropertyRiskStratum[]]>;
78
+ basis: z.ZodString;
79
+ assertedAt: z.ZodString;
80
+ auditRef: z.ZodOptional<z.ZodString>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
83
+ assertedAt: string;
84
+ kind: "property-risk";
85
+ basis: string;
86
+ auditRef?: string | undefined;
87
+ }, {
88
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
89
+ assertedAt: string;
90
+ kind: "property-risk";
91
+ basis: string;
92
+ auditRef?: string | undefined;
93
+ }>, z.ZodObject<{
94
+ kind: z.ZodLiteral<"not-applicable">;
95
+ reason: z.ZodString;
96
+ assertedAt: z.ZodString;
97
+ }, "strip", z.ZodTypeAny, {
98
+ assertedAt: string;
99
+ kind: "not-applicable";
100
+ reason: string;
101
+ }, {
102
+ assertedAt: string;
103
+ kind: "not-applicable";
104
+ reason: string;
105
+ }>]>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ calibratedConfidence: Readonly<{
108
+ estimate: number;
109
+ n: number;
110
+ intervalWidth: number;
111
+ provenance: "asserted" | "backtest" | "seed" | "live";
112
+ }>;
113
+ assertedConfidence: Readonly<{
114
+ estimate: number;
115
+ n: number;
116
+ intervalWidth: number;
117
+ provenance: "asserted" | "backtest" | "seed" | "live";
118
+ }>;
119
+ consequence: {
120
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
121
+ assertedAt: string;
122
+ kind: "property-risk";
123
+ basis: string;
124
+ auditRef?: string | undefined;
125
+ } | {
126
+ assertedAt: string;
127
+ kind: "not-applicable";
128
+ reason: string;
129
+ };
130
+ }, {
131
+ calibratedConfidence: Readonly<{
132
+ estimate: number;
133
+ n: number;
134
+ intervalWidth: number;
135
+ provenance: "asserted" | "backtest" | "seed" | "live";
136
+ }>;
137
+ assertedConfidence: Readonly<{
138
+ estimate: number;
139
+ n: number;
140
+ intervalWidth: number;
141
+ provenance: "asserted" | "backtest" | "seed" | "live";
142
+ }>;
143
+ consequence: {
144
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
145
+ assertedAt: string;
146
+ kind: "property-risk";
147
+ basis: string;
148
+ auditRef?: string | undefined;
149
+ } | {
150
+ assertedAt: string;
151
+ kind: "not-applicable";
152
+ reason: string;
153
+ };
154
+ }>>;
155
+ assembledAt: z.ZodString;
156
+ modelAttribution: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
157
+ modelId: z.ZodString;
158
+ modelVersion: z.ZodString;
159
+ promptTemplateVersion: z.ZodString;
160
+ contextTemplateVersion: z.ZodString;
161
+ samplingParams: z.ZodReadonly<z.ZodObject<{
162
+ temperature: z.ZodOptional<z.ZodNumber>;
163
+ topP: z.ZodOptional<z.ZodNumber>;
164
+ maxTokens: z.ZodOptional<z.ZodNumber>;
165
+ seed: z.ZodOptional<z.ZodNumber>;
166
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
167
+ temperature: z.ZodOptional<z.ZodNumber>;
168
+ topP: z.ZodOptional<z.ZodNumber>;
169
+ maxTokens: z.ZodOptional<z.ZodNumber>;
170
+ seed: z.ZodOptional<z.ZodNumber>;
171
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
172
+ temperature: z.ZodOptional<z.ZodNumber>;
173
+ topP: z.ZodOptional<z.ZodNumber>;
174
+ maxTokens: z.ZodOptional<z.ZodNumber>;
175
+ seed: z.ZodOptional<z.ZodNumber>;
176
+ }, z.ZodUnknown, "strip">>>;
177
+ retrievedAtomSetId: z.ZodString;
178
+ }, "strip", z.ZodTypeAny, {
179
+ modelId: string;
180
+ modelVersion: string;
181
+ promptTemplateVersion: string;
182
+ contextTemplateVersion: string;
183
+ samplingParams: Readonly<z.objectOutputType<{
184
+ temperature: z.ZodOptional<z.ZodNumber>;
185
+ topP: z.ZodOptional<z.ZodNumber>;
186
+ maxTokens: z.ZodOptional<z.ZodNumber>;
187
+ seed: z.ZodOptional<z.ZodNumber>;
188
+ }, z.ZodUnknown, "strip">>;
189
+ retrievedAtomSetId: string;
190
+ }, {
191
+ modelId: string;
192
+ modelVersion: string;
193
+ promptTemplateVersion: string;
194
+ contextTemplateVersion: string;
195
+ samplingParams: Readonly<z.objectInputType<{
196
+ temperature: z.ZodOptional<z.ZodNumber>;
197
+ topP: z.ZodOptional<z.ZodNumber>;
198
+ maxTokens: z.ZodOptional<z.ZodNumber>;
199
+ seed: z.ZodOptional<z.ZodNumber>;
200
+ }, z.ZodUnknown, "strip">>;
201
+ retrievedAtomSetId: string;
202
+ }>>>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ axes: Readonly<{
205
+ calibratedConfidence: Readonly<{
206
+ estimate: number;
207
+ n: number;
208
+ intervalWidth: number;
209
+ provenance: "asserted" | "backtest" | "seed" | "live";
210
+ }>;
211
+ assertedConfidence: Readonly<{
212
+ estimate: number;
213
+ n: number;
214
+ intervalWidth: number;
215
+ provenance: "asserted" | "backtest" | "seed" | "live";
216
+ }>;
217
+ consequence: {
218
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
219
+ assertedAt: string;
220
+ kind: "property-risk";
221
+ basis: string;
222
+ auditRef?: string | undefined;
223
+ } | {
224
+ assertedAt: string;
225
+ kind: "not-applicable";
226
+ reason: string;
227
+ };
228
+ }>;
229
+ assembledAt: string;
230
+ modelAttribution?: Readonly<{
231
+ modelId: string;
232
+ modelVersion: string;
233
+ promptTemplateVersion: string;
234
+ contextTemplateVersion: string;
235
+ samplingParams: Readonly<z.objectOutputType<{
236
+ temperature: z.ZodOptional<z.ZodNumber>;
237
+ topP: z.ZodOptional<z.ZodNumber>;
238
+ maxTokens: z.ZodOptional<z.ZodNumber>;
239
+ seed: z.ZodOptional<z.ZodNumber>;
240
+ }, z.ZodUnknown, "strip">>;
241
+ retrievedAtomSetId: string;
242
+ }> | undefined;
243
+ }, {
244
+ axes: Readonly<{
245
+ calibratedConfidence: Readonly<{
246
+ estimate: number;
247
+ n: number;
248
+ intervalWidth: number;
249
+ provenance: "asserted" | "backtest" | "seed" | "live";
250
+ }>;
251
+ assertedConfidence: Readonly<{
252
+ estimate: number;
253
+ n: number;
254
+ intervalWidth: number;
255
+ provenance: "asserted" | "backtest" | "seed" | "live";
256
+ }>;
257
+ consequence: {
258
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
259
+ assertedAt: string;
260
+ kind: "property-risk";
261
+ basis: string;
262
+ auditRef?: string | undefined;
263
+ } | {
264
+ assertedAt: string;
265
+ kind: "not-applicable";
266
+ reason: string;
267
+ };
268
+ }>;
269
+ assembledAt: string;
270
+ modelAttribution?: Readonly<{
271
+ modelId: string;
272
+ modelVersion: string;
273
+ promptTemplateVersion: string;
274
+ contextTemplateVersion: string;
275
+ samplingParams: Readonly<z.objectInputType<{
276
+ temperature: z.ZodOptional<z.ZodNumber>;
277
+ topP: z.ZodOptional<z.ZodNumber>;
278
+ maxTokens: z.ZodOptional<z.ZodNumber>;
279
+ seed: z.ZodOptional<z.ZodNumber>;
280
+ }, z.ZodUnknown, "strip">>;
281
+ retrievedAtomSetId: string;
282
+ }> | undefined;
283
+ }>>>;
284
+ sourceCitation: z.ZodString;
285
+ extractedAt: z.ZodString;
286
+ asOf: z.ZodOptional<z.ZodString>;
287
+ entityType: z.ZodLiteral<"setback-rule">;
288
+ atomDid: z.ZodEffects<z.ZodString, string, string>;
289
+ parcelNodeId: z.ZodEffects<z.ZodString, string, string>;
290
+ reasoningChain: z.ZodObject<{
291
+ reasoningKind: z.ZodLiteral<"observed">;
292
+ }, "strip", z.ZodTypeAny, {
293
+ reasoningKind: "observed";
294
+ }, {
295
+ reasoningKind: "observed";
296
+ }>;
297
+ front: z.ZodNumber;
298
+ side: z.ZodNumber;
299
+ rear: z.ZodNumber;
300
+ sourceCodeAtomRef: z.ZodEffects<z.ZodReadonly<z.ZodObject<{
301
+ atomDid: z.ZodString;
302
+ role: z.ZodEnum<[import("../reasoning-chain.js").AtomInputRefRole, ...import("../reasoning-chain.js").AtomInputRefRole[]]>;
303
+ entityType: z.ZodOptional<z.ZodString>;
304
+ citationLabel: z.ZodOptional<z.ZodString>;
305
+ }, "strip", z.ZodTypeAny, {
306
+ atomDid: string;
307
+ role: import("../reasoning-chain.js").AtomInputRefRole;
308
+ entityType?: string | undefined;
309
+ citationLabel?: string | undefined;
310
+ }, {
311
+ atomDid: string;
312
+ role: import("../reasoning-chain.js").AtomInputRefRole;
313
+ entityType?: string | undefined;
314
+ citationLabel?: string | undefined;
315
+ }>>, Readonly<{
316
+ atomDid: string;
317
+ role: import("../reasoning-chain.js").AtomInputRefRole;
318
+ entityType?: string | undefined;
319
+ citationLabel?: string | undefined;
320
+ }>, Readonly<{
321
+ atomDid: string;
322
+ role: import("../reasoning-chain.js").AtomInputRefRole;
323
+ entityType?: string | undefined;
324
+ citationLabel?: string | undefined;
325
+ }>>;
326
+ fieldProvenance: z.ZodOptional<z.ZodObject<{
327
+ front: z.ZodOptional<z.ZodObject<{
328
+ atomDid: z.ZodString;
329
+ confidence: z.ZodReadonly<z.ZodObject<{
330
+ readonly estimate: z.ZodNumber;
331
+ readonly n: z.ZodNumber;
332
+ readonly intervalWidth: z.ZodNumber;
333
+ readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
334
+ }, "strip", z.ZodTypeAny, {
335
+ estimate: number;
336
+ n: number;
337
+ intervalWidth: number;
338
+ provenance: "asserted" | "backtest" | "seed" | "live";
339
+ }, {
340
+ estimate: number;
341
+ n: number;
342
+ intervalWidth: number;
343
+ provenance: "asserted" | "backtest" | "seed" | "live";
344
+ }>>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ confidence: Readonly<{
347
+ estimate: number;
348
+ n: number;
349
+ intervalWidth: number;
350
+ provenance: "asserted" | "backtest" | "seed" | "live";
351
+ }>;
352
+ atomDid: string;
353
+ }, {
354
+ confidence: Readonly<{
355
+ estimate: number;
356
+ n: number;
357
+ intervalWidth: number;
358
+ provenance: "asserted" | "backtest" | "seed" | "live";
359
+ }>;
360
+ atomDid: string;
361
+ }>>;
362
+ side: z.ZodOptional<z.ZodObject<{
363
+ atomDid: z.ZodString;
364
+ confidence: z.ZodReadonly<z.ZodObject<{
365
+ readonly estimate: z.ZodNumber;
366
+ readonly n: z.ZodNumber;
367
+ readonly intervalWidth: z.ZodNumber;
368
+ readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
369
+ }, "strip", z.ZodTypeAny, {
370
+ estimate: number;
371
+ n: number;
372
+ intervalWidth: number;
373
+ provenance: "asserted" | "backtest" | "seed" | "live";
374
+ }, {
375
+ estimate: number;
376
+ n: number;
377
+ intervalWidth: number;
378
+ provenance: "asserted" | "backtest" | "seed" | "live";
379
+ }>>;
380
+ }, "strip", z.ZodTypeAny, {
381
+ confidence: Readonly<{
382
+ estimate: number;
383
+ n: number;
384
+ intervalWidth: number;
385
+ provenance: "asserted" | "backtest" | "seed" | "live";
386
+ }>;
387
+ atomDid: string;
388
+ }, {
389
+ confidence: Readonly<{
390
+ estimate: number;
391
+ n: number;
392
+ intervalWidth: number;
393
+ provenance: "asserted" | "backtest" | "seed" | "live";
394
+ }>;
395
+ atomDid: string;
396
+ }>>;
397
+ rear: z.ZodOptional<z.ZodObject<{
398
+ atomDid: z.ZodString;
399
+ confidence: z.ZodReadonly<z.ZodObject<{
400
+ readonly estimate: z.ZodNumber;
401
+ readonly n: z.ZodNumber;
402
+ readonly intervalWidth: z.ZodNumber;
403
+ readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
404
+ }, "strip", z.ZodTypeAny, {
405
+ estimate: number;
406
+ n: number;
407
+ intervalWidth: number;
408
+ provenance: "asserted" | "backtest" | "seed" | "live";
409
+ }, {
410
+ estimate: number;
411
+ n: number;
412
+ intervalWidth: number;
413
+ provenance: "asserted" | "backtest" | "seed" | "live";
414
+ }>>;
415
+ }, "strip", z.ZodTypeAny, {
416
+ confidence: Readonly<{
417
+ estimate: number;
418
+ n: number;
419
+ intervalWidth: number;
420
+ provenance: "asserted" | "backtest" | "seed" | "live";
421
+ }>;
422
+ atomDid: string;
423
+ }, {
424
+ confidence: Readonly<{
425
+ estimate: number;
426
+ n: number;
427
+ intervalWidth: number;
428
+ provenance: "asserted" | "backtest" | "seed" | "live";
429
+ }>;
430
+ atomDid: string;
431
+ }>>;
432
+ }, "strict", z.ZodTypeAny, {
433
+ front?: {
434
+ confidence: Readonly<{
435
+ estimate: number;
436
+ n: number;
437
+ intervalWidth: number;
438
+ provenance: "asserted" | "backtest" | "seed" | "live";
439
+ }>;
440
+ atomDid: string;
441
+ } | undefined;
442
+ side?: {
443
+ confidence: Readonly<{
444
+ estimate: number;
445
+ n: number;
446
+ intervalWidth: number;
447
+ provenance: "asserted" | "backtest" | "seed" | "live";
448
+ }>;
449
+ atomDid: string;
450
+ } | undefined;
451
+ rear?: {
452
+ confidence: Readonly<{
453
+ estimate: number;
454
+ n: number;
455
+ intervalWidth: number;
456
+ provenance: "asserted" | "backtest" | "seed" | "live";
457
+ }>;
458
+ atomDid: string;
459
+ } | undefined;
460
+ }, {
461
+ front?: {
462
+ confidence: Readonly<{
463
+ estimate: number;
464
+ n: number;
465
+ intervalWidth: number;
466
+ provenance: "asserted" | "backtest" | "seed" | "live";
467
+ }>;
468
+ atomDid: string;
469
+ } | undefined;
470
+ side?: {
471
+ confidence: Readonly<{
472
+ estimate: number;
473
+ n: number;
474
+ intervalWidth: number;
475
+ provenance: "asserted" | "backtest" | "seed" | "live";
476
+ }>;
477
+ atomDid: string;
478
+ } | undefined;
479
+ rear?: {
480
+ confidence: Readonly<{
481
+ estimate: number;
482
+ n: number;
483
+ intervalWidth: number;
484
+ provenance: "asserted" | "backtest" | "seed" | "live";
485
+ }>;
486
+ atomDid: string;
487
+ } | undefined;
488
+ }>>;
489
+ matchBasis: z.ZodEnum<["exact", "prefix", "fallback"]>;
490
+ absence: z.ZodOptional<z.ZodObject<{
491
+ kind: z.ZodLiteral<"setback-fallback">;
492
+ reason: z.ZodString;
493
+ }, "strip", z.ZodTypeAny, {
494
+ kind: "setback-fallback";
495
+ reason: string;
496
+ }, {
497
+ kind: "setback-fallback";
498
+ reason: string;
499
+ }>>;
500
+ accessPolicy: z.ZodEnum<["public-free", "public-paid", "platform-internal", "tenant-private", "tenant-shared"]>;
501
+ }, "strip", z.ZodTypeAny, {
502
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
503
+ entityType: "setback-rule";
504
+ sourceCitation: string;
505
+ extractedAt: string;
506
+ atomDid: string;
507
+ front: number;
508
+ side: number;
509
+ rear: number;
510
+ parcelNodeId: string;
511
+ reasoningChain: {
512
+ reasoningKind: "observed";
513
+ };
514
+ atomTier: AtomTier;
515
+ sourceCodeAtomRef: Readonly<{
516
+ atomDid: string;
517
+ role: import("../reasoning-chain.js").AtomInputRefRole;
518
+ entityType?: string | undefined;
519
+ citationLabel?: string | undefined;
520
+ }>;
521
+ matchBasis: "exact" | "prefix" | "fallback";
522
+ asOf?: string | undefined;
523
+ readContract?: Readonly<{
524
+ axes: Readonly<{
525
+ calibratedConfidence: Readonly<{
526
+ estimate: number;
527
+ n: number;
528
+ intervalWidth: number;
529
+ provenance: "asserted" | "backtest" | "seed" | "live";
530
+ }>;
531
+ assertedConfidence: Readonly<{
532
+ estimate: number;
533
+ n: number;
534
+ intervalWidth: number;
535
+ provenance: "asserted" | "backtest" | "seed" | "live";
536
+ }>;
537
+ consequence: {
538
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
539
+ assertedAt: string;
540
+ kind: "property-risk";
541
+ basis: string;
542
+ auditRef?: string | undefined;
543
+ } | {
544
+ assertedAt: string;
545
+ kind: "not-applicable";
546
+ reason: string;
547
+ };
548
+ }>;
549
+ assembledAt: string;
550
+ modelAttribution?: Readonly<{
551
+ modelId: string;
552
+ modelVersion: string;
553
+ promptTemplateVersion: string;
554
+ contextTemplateVersion: string;
555
+ samplingParams: Readonly<z.objectOutputType<{
556
+ temperature: z.ZodOptional<z.ZodNumber>;
557
+ topP: z.ZodOptional<z.ZodNumber>;
558
+ maxTokens: z.ZodOptional<z.ZodNumber>;
559
+ seed: z.ZodOptional<z.ZodNumber>;
560
+ }, z.ZodUnknown, "strip">>;
561
+ retrievedAtomSetId: string;
562
+ }> | undefined;
563
+ }> | undefined;
564
+ fieldProvenance?: {
565
+ front?: {
566
+ confidence: Readonly<{
567
+ estimate: number;
568
+ n: number;
569
+ intervalWidth: number;
570
+ provenance: "asserted" | "backtest" | "seed" | "live";
571
+ }>;
572
+ atomDid: string;
573
+ } | undefined;
574
+ side?: {
575
+ confidence: Readonly<{
576
+ estimate: number;
577
+ n: number;
578
+ intervalWidth: number;
579
+ provenance: "asserted" | "backtest" | "seed" | "live";
580
+ }>;
581
+ atomDid: string;
582
+ } | undefined;
583
+ rear?: {
584
+ confidence: Readonly<{
585
+ estimate: number;
586
+ n: number;
587
+ intervalWidth: number;
588
+ provenance: "asserted" | "backtest" | "seed" | "live";
589
+ }>;
590
+ atomDid: string;
591
+ } | undefined;
592
+ } | undefined;
593
+ absence?: {
594
+ kind: "setback-fallback";
595
+ reason: string;
596
+ } | undefined;
597
+ }, {
598
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
599
+ entityType: "setback-rule";
600
+ sourceCitation: string;
601
+ extractedAt: string;
602
+ atomDid: string;
603
+ front: number;
604
+ side: number;
605
+ rear: number;
606
+ parcelNodeId: string;
607
+ reasoningChain: {
608
+ reasoningKind: "observed";
609
+ };
610
+ atomTier: AtomTier;
611
+ sourceCodeAtomRef: Readonly<{
612
+ atomDid: string;
613
+ role: import("../reasoning-chain.js").AtomInputRefRole;
614
+ entityType?: string | undefined;
615
+ citationLabel?: string | undefined;
616
+ }>;
617
+ matchBasis: "exact" | "prefix" | "fallback";
618
+ asOf?: string | undefined;
619
+ readContract?: Readonly<{
620
+ axes: Readonly<{
621
+ calibratedConfidence: Readonly<{
622
+ estimate: number;
623
+ n: number;
624
+ intervalWidth: number;
625
+ provenance: "asserted" | "backtest" | "seed" | "live";
626
+ }>;
627
+ assertedConfidence: Readonly<{
628
+ estimate: number;
629
+ n: number;
630
+ intervalWidth: number;
631
+ provenance: "asserted" | "backtest" | "seed" | "live";
632
+ }>;
633
+ consequence: {
634
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
635
+ assertedAt: string;
636
+ kind: "property-risk";
637
+ basis: string;
638
+ auditRef?: string | undefined;
639
+ } | {
640
+ assertedAt: string;
641
+ kind: "not-applicable";
642
+ reason: string;
643
+ };
644
+ }>;
645
+ assembledAt: string;
646
+ modelAttribution?: Readonly<{
647
+ modelId: string;
648
+ modelVersion: string;
649
+ promptTemplateVersion: string;
650
+ contextTemplateVersion: string;
651
+ samplingParams: Readonly<z.objectInputType<{
652
+ temperature: z.ZodOptional<z.ZodNumber>;
653
+ topP: z.ZodOptional<z.ZodNumber>;
654
+ maxTokens: z.ZodOptional<z.ZodNumber>;
655
+ seed: z.ZodOptional<z.ZodNumber>;
656
+ }, z.ZodUnknown, "strip">>;
657
+ retrievedAtomSetId: string;
658
+ }> | undefined;
659
+ }> | undefined;
660
+ fieldProvenance?: {
661
+ front?: {
662
+ confidence: Readonly<{
663
+ estimate: number;
664
+ n: number;
665
+ intervalWidth: number;
666
+ provenance: "asserted" | "backtest" | "seed" | "live";
667
+ }>;
668
+ atomDid: string;
669
+ } | undefined;
670
+ side?: {
671
+ confidence: Readonly<{
672
+ estimate: number;
673
+ n: number;
674
+ intervalWidth: number;
675
+ provenance: "asserted" | "backtest" | "seed" | "live";
676
+ }>;
677
+ atomDid: string;
678
+ } | undefined;
679
+ rear?: {
680
+ confidence: Readonly<{
681
+ estimate: number;
682
+ n: number;
683
+ intervalWidth: number;
684
+ provenance: "asserted" | "backtest" | "seed" | "live";
685
+ }>;
686
+ atomDid: string;
687
+ } | undefined;
688
+ } | undefined;
689
+ absence?: {
690
+ kind: "setback-fallback";
691
+ reason: string;
692
+ } | undefined;
693
+ }>, {
694
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
695
+ entityType: "setback-rule";
696
+ sourceCitation: string;
697
+ extractedAt: string;
698
+ atomDid: string;
699
+ front: number;
700
+ side: number;
701
+ rear: number;
702
+ parcelNodeId: string;
703
+ reasoningChain: {
704
+ reasoningKind: "observed";
705
+ };
706
+ atomTier: AtomTier;
707
+ sourceCodeAtomRef: Readonly<{
708
+ atomDid: string;
709
+ role: import("../reasoning-chain.js").AtomInputRefRole;
710
+ entityType?: string | undefined;
711
+ citationLabel?: string | undefined;
712
+ }>;
713
+ matchBasis: "exact" | "prefix" | "fallback";
714
+ asOf?: string | undefined;
715
+ readContract?: Readonly<{
716
+ axes: Readonly<{
717
+ calibratedConfidence: Readonly<{
718
+ estimate: number;
719
+ n: number;
720
+ intervalWidth: number;
721
+ provenance: "asserted" | "backtest" | "seed" | "live";
722
+ }>;
723
+ assertedConfidence: Readonly<{
724
+ estimate: number;
725
+ n: number;
726
+ intervalWidth: number;
727
+ provenance: "asserted" | "backtest" | "seed" | "live";
728
+ }>;
729
+ consequence: {
730
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
731
+ assertedAt: string;
732
+ kind: "property-risk";
733
+ basis: string;
734
+ auditRef?: string | undefined;
735
+ } | {
736
+ assertedAt: string;
737
+ kind: "not-applicable";
738
+ reason: string;
739
+ };
740
+ }>;
741
+ assembledAt: string;
742
+ modelAttribution?: Readonly<{
743
+ modelId: string;
744
+ modelVersion: string;
745
+ promptTemplateVersion: string;
746
+ contextTemplateVersion: string;
747
+ samplingParams: Readonly<z.objectOutputType<{
748
+ temperature: z.ZodOptional<z.ZodNumber>;
749
+ topP: z.ZodOptional<z.ZodNumber>;
750
+ maxTokens: z.ZodOptional<z.ZodNumber>;
751
+ seed: z.ZodOptional<z.ZodNumber>;
752
+ }, z.ZodUnknown, "strip">>;
753
+ retrievedAtomSetId: string;
754
+ }> | undefined;
755
+ }> | undefined;
756
+ fieldProvenance?: {
757
+ front?: {
758
+ confidence: Readonly<{
759
+ estimate: number;
760
+ n: number;
761
+ intervalWidth: number;
762
+ provenance: "asserted" | "backtest" | "seed" | "live";
763
+ }>;
764
+ atomDid: string;
765
+ } | undefined;
766
+ side?: {
767
+ confidence: Readonly<{
768
+ estimate: number;
769
+ n: number;
770
+ intervalWidth: number;
771
+ provenance: "asserted" | "backtest" | "seed" | "live";
772
+ }>;
773
+ atomDid: string;
774
+ } | undefined;
775
+ rear?: {
776
+ confidence: Readonly<{
777
+ estimate: number;
778
+ n: number;
779
+ intervalWidth: number;
780
+ provenance: "asserted" | "backtest" | "seed" | "live";
781
+ }>;
782
+ atomDid: string;
783
+ } | undefined;
784
+ } | undefined;
785
+ absence?: {
786
+ kind: "setback-fallback";
787
+ reason: string;
788
+ } | undefined;
789
+ }, {
790
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
791
+ entityType: "setback-rule";
792
+ sourceCitation: string;
793
+ extractedAt: string;
794
+ atomDid: string;
795
+ front: number;
796
+ side: number;
797
+ rear: number;
798
+ parcelNodeId: string;
799
+ reasoningChain: {
800
+ reasoningKind: "observed";
801
+ };
802
+ atomTier: AtomTier;
803
+ sourceCodeAtomRef: Readonly<{
804
+ atomDid: string;
805
+ role: import("../reasoning-chain.js").AtomInputRefRole;
806
+ entityType?: string | undefined;
807
+ citationLabel?: string | undefined;
808
+ }>;
809
+ matchBasis: "exact" | "prefix" | "fallback";
810
+ asOf?: string | undefined;
811
+ readContract?: Readonly<{
812
+ axes: Readonly<{
813
+ calibratedConfidence: Readonly<{
814
+ estimate: number;
815
+ n: number;
816
+ intervalWidth: number;
817
+ provenance: "asserted" | "backtest" | "seed" | "live";
818
+ }>;
819
+ assertedConfidence: Readonly<{
820
+ estimate: number;
821
+ n: number;
822
+ intervalWidth: number;
823
+ provenance: "asserted" | "backtest" | "seed" | "live";
824
+ }>;
825
+ consequence: {
826
+ stratum: import("../read-contract/reasoning-axes.js").PropertyRiskStratum;
827
+ assertedAt: string;
828
+ kind: "property-risk";
829
+ basis: string;
830
+ auditRef?: string | undefined;
831
+ } | {
832
+ assertedAt: string;
833
+ kind: "not-applicable";
834
+ reason: string;
835
+ };
836
+ }>;
837
+ assembledAt: string;
838
+ modelAttribution?: Readonly<{
839
+ modelId: string;
840
+ modelVersion: string;
841
+ promptTemplateVersion: string;
842
+ contextTemplateVersion: string;
843
+ samplingParams: Readonly<z.objectInputType<{
844
+ temperature: z.ZodOptional<z.ZodNumber>;
845
+ topP: z.ZodOptional<z.ZodNumber>;
846
+ maxTokens: z.ZodOptional<z.ZodNumber>;
847
+ seed: z.ZodOptional<z.ZodNumber>;
848
+ }, z.ZodUnknown, "strip">>;
849
+ retrievedAtomSetId: string;
850
+ }> | undefined;
851
+ }> | undefined;
852
+ fieldProvenance?: {
853
+ front?: {
854
+ confidence: Readonly<{
855
+ estimate: number;
856
+ n: number;
857
+ intervalWidth: number;
858
+ provenance: "asserted" | "backtest" | "seed" | "live";
859
+ }>;
860
+ atomDid: string;
861
+ } | undefined;
862
+ side?: {
863
+ confidence: Readonly<{
864
+ estimate: number;
865
+ n: number;
866
+ intervalWidth: number;
867
+ provenance: "asserted" | "backtest" | "seed" | "live";
868
+ }>;
869
+ atomDid: string;
870
+ } | undefined;
871
+ rear?: {
872
+ confidence: Readonly<{
873
+ estimate: number;
874
+ n: number;
875
+ intervalWidth: number;
876
+ provenance: "asserted" | "backtest" | "seed" | "live";
877
+ }>;
878
+ atomDid: string;
879
+ } | undefined;
880
+ } | undefined;
881
+ absence?: {
882
+ kind: "setback-fallback";
883
+ reason: string;
884
+ } | undefined;
885
+ }>;
886
+ export declare function createSetbackRule(input: z.input<typeof SETBACK_RULE_SCHEMA>): SetbackRuleAtomInstance;
887
+ //# sourceMappingURL=setback-rule.d.ts.map