@empressaio/atom-contract 1.31.0 → 1.32.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 CHANGED
@@ -2,6 +2,55 @@
2
2
 
3
3
  All notable changes to `@empressaio/atom-contract` (formerly `@hauska/atom-contract`) are documented here.
4
4
 
5
+ ## [1.32.0] - 2026-09-11
6
+
7
+ Additive minor — display vocabulary substrate (OPS-23 R-6 / P-167, wave 1
8
+ package half). Before this release, the human-facing display strings for a
9
+ buildable/setback claim existed as five byte-identical, hand-synced copies
10
+ (hauska-map, twice in hauska-engine) locked together by two parity-lock
11
+ files and a vendor-drift test that silently skips in CI without a local
12
+ map checkout, and the Smart Site MCP wire-token vocabulary existed only in
13
+ legacy-design-tools with no package dependency at all. This release does
14
+ not yet retire any of those copies — that is P-167 steps 3-4, gated on
15
+ P-153 DRAW merging in hauska-map and legacy-design-tools — it only stands
16
+ up the one place both are meant to move to.
17
+
18
+ ### Added
19
+
20
+ - **`./display`** subpath. Two modules, both moved verbatim from their
21
+ source-of-truth copies (see the finding record,
22
+ `_inbox/2026-09-11_ops23_wave1_verify_p167.md`, for the exact SHAs and
23
+ line numbers this was moved from):
24
+ - `buildable`: `BuildableDisplayKind`, `EnvelopeStatusInput`,
25
+ `WarmEnvelopeKind`, `BuildableDisplayInput`, `BuildableDisplayVocab`,
26
+ `resolveBuildableAreaSqFt`, `mapBuildableDisplay`,
27
+ `violatesHistoricalDisagreementGuard` — moved from hauska-map
28
+ `apps/property-explorer/src/lib/buildable-display-vocab.ts` (origin/main
29
+ 6ab6914, sha256 `45c277d7...29cac`, byte-identical across all five
30
+ prior copies). No string or branch changed.
31
+ - `wire`: `VocabularyEntry`, `WIRE_DISPOSITION_DISPLAY_TEXT`,
32
+ `DERIVED_FIGURES_POLICY`, `VOCABULARY` (34 entries — the source
33
+ table's own comment said 19; corrected here and enforced by a counting
34
+ test, `DOCUMENTED_VOCABULARY_COUNT`) — moved from legacy-design-tools
35
+ `artifacts/smartsite-mcp/src/vocabulary.ts` (origin/main 55c4ad44), the
36
+ P-91 v3 table. The nine display constants that table used to import as
37
+ values from the MCP server's own `mcp-app.ts` (`STATE_WORDS`,
38
+ `OPEN_DID_NOT_REACH_ME`, `NOT_ON_FILE_PREFIX`,
39
+ `NO_BAKED_SNAPSHOT_PREFIX`, `UPGRADE_TO_OPEN`,
40
+ `NOT_IMPLEMENTED_PREFIX`, `CITATION_DEGRADED`, `EDGE_WORDS`,
41
+ `envelopeHuman`) moved in with it, so this module has no dependency on
42
+ the MCP server. Not moved: `VOCABULARY_RESOURCE_URI`,
43
+ `buildVocabularyResourceText`, `registerVocabularyResource`,
44
+ `STANDING_VOCAB_BLOCK_TEXT`, `STANDING_VOCAB_CONTENT_PART` — these stay
45
+ MCP-specific per the mission; legacy-design-tools' `vocabulary.ts`
46
+ becomes a thin re-export of this subpath plus that resource
47
+ registration in a later step of this row.
48
+ - Self-tests: every `VOCABULARY` token unique, the documented count matches
49
+ the real count, every entry has non-empty fields, a snapshot of the full
50
+ string table; an exhaustiveness self-test that every `BuildableDisplayKind`
51
+ produces a non-empty `pdfLabel`, plus a snapshot of the canonical
52
+ per-kind output table.
53
+
5
54
  ## [1.31.0] - 2026-09-07
6
55
 
7
56
  Additive minor — property boundary edge atom (27f S2-U2 / WDLL 4-5).
package/README.md CHANGED
@@ -338,6 +338,39 @@ Engine `AtomRegistration` literals and ingest producers belong in
338
338
  `hauska-engine/packages/atoms/` (cc-agent-E); Cortex Phase 1 may
339
339
  validate uploads with these schemas before the engine registry lands.
340
340
 
341
+ ## Display vocabulary (OPS-23 R-6 / P-167)
342
+
343
+ The human-facing display strings for a claim ship on the `./display`
344
+ subpath (v1.32.0+), so the Property Explorer panel, the feasibility PDF,
345
+ and the Smart Site MCP connector render the same words for the same atom
346
+ from one place instead of hand-synced copies. Two modules:
347
+
348
+ - `buildable`: `mapBuildableDisplay` and its types — the buildable/setback
349
+ card, PDF, and cross-surface agreement-token vocabulary. Moved verbatim
350
+ from the five byte-identical `buildable-display-vocab.ts` copies that
351
+ used to live in hauska-map and hauska-engine, locked together by parity
352
+ fixtures.
353
+ - `wire`: `VOCABULARY`, `WIRE_DISPOSITION_DISPLAY_TEXT`,
354
+ `DERIVED_FIGURES_POLICY` — the Smart Site MCP wire-token vocabulary
355
+ table. Moved verbatim from legacy-design-tools
356
+ `artifacts/smartsite-mcp/src/vocabulary.ts` (the P-91 v3 table), along
357
+ with the nine display constants it used to import from the MCP server's
358
+ own `mcp-app.ts`, so this module has no dependency on the MCP server.
359
+
360
+ ```ts
361
+ import {
362
+ mapBuildableDisplay,
363
+ type BuildableDisplayInput,
364
+ VOCABULARY,
365
+ WIRE_DISPOSITION_DISPLAY_TEXT,
366
+ } from "@empressaio/atom-contract/display";
367
+ ```
368
+
369
+ As of 1.32.0 no consumer imports this subpath yet and the prior copies
370
+ still exist; retiring them (deleting the copies, the parity locks, and the
371
+ skipping vendor-drift test) is a later step of the same plan row, gated on
372
+ `P-153` merging in hauska-map and legacy-design-tools.
373
+
341
374
  ## Read-contract types (Calibrated Spine F4 / F6 / K6)
342
375
 
343
376
  Widthed, three-axis confidence returned at read time. Unwidthed,
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Shared customer-facing buildable / setback vocabulary (Track B3 / WDLL 5).
3
+ *
4
+ * Map card, inspect, and site-plan PDF must speak ONE truth for the same
5
+ * envelope inputs. Surfaces MUST call `mapBuildableDisplay` rather than
6
+ * re-deriving "pending" / "consumes lot" / provisional copy independently.
7
+ *
8
+ * Axes (cannot disagree across surfaces for identical inputs):
9
+ * pending | provisional | buildable-with-area | declined-consume | not_specified
10
+ * (+ absent / loading for non-envelope shells)
11
+ *
12
+ * Historical disagreement class (FIX1 symptom): envelope area present on the
13
+ * warm facet while PDF said "setback-consumes-lot" and the card said bare
14
+ * "buildable % pending". Guard: area present → never those two strings.
15
+ *
16
+ * P-167 (OPS-23 R-6): moved verbatim into `@empressaio/atom-contract/display`
17
+ * from the five byte-identical copies this module used to have (hauska-map
18
+ * `apps/property-explorer/src/lib/buildable-display-vocab.ts`, hauska-engine
19
+ * `packages/engine-core/src/site-plan/buildable-display-vocab.ts` and
20
+ * `packages/retrieval/src/serving-sweep/vendor/buildable-display-vocab.ts`,
21
+ * sha256 `45c277d7...29cac`). No export, string, or branch below changed in
22
+ * the move.
23
+ */
24
+ export type BuildableDisplayKind = "absent" | "loading" | "pending" | "provisional" | "buildable-with-area" | "declined-consume" | "not_specified"
25
+ /** Unincorporated land — no zoning ordinance to derive a setback from. */
26
+ | "not-applicable";
27
+ export type EnvelopeStatusInput = "ok" | "no-buildable-area" | "declined" | null | undefined;
28
+ export type WarmEnvelopeKind = "buildable" | "no-buildable-area" | "provisional-front-edge" | "not-applicable" | null | undefined;
29
+ export interface BuildableDisplayInput {
30
+ /** Baked / atom-chain envelope.status */
31
+ envelopeStatus?: EnvelopeStatusInput;
32
+ declineReason?: string | null;
33
+ /** True when F/S/R includes a silent (build-to-line) axis. */
34
+ notSpecifiedAxes?: boolean;
35
+ buildableAreaPct?: number | null;
36
+ buildableAreaSqFt?: number | null;
37
+ /** GeoJSON / drawable envelope present on the warm facet. */
38
+ hasGeometry?: boolean;
39
+ /** Envelope flagged provisional (or warm provisional-front-edge). */
40
+ provisional?: boolean;
41
+ /**
42
+ * Warm buildable-envelope atom outcome — preferred over per-surface
43
+ * re-derive when present (PDF offset vs depth-warm).
44
+ */
45
+ warmEnvelopeKind?: WarmEnvelopeKind;
46
+ warmEnvelopeAreaSqFt?: number | null;
47
+ /** PDF-only: local offset collapsed. Ignored when warm/area says otherwise. */
48
+ offsetDegenerate?: boolean;
49
+ offsetDegenerateReason?: string | null;
50
+ }
51
+ export interface BuildableDisplayVocab {
52
+ kind: BuildableDisplayKind;
53
+ /** Inspect / map-card FacetState for the Buildable row. */
54
+ cardState: "present" | "absent" | "pending";
55
+ /** Customer string for map card + inspect Buildable row. */
56
+ cardLabel: string | null;
57
+ /** Customer string for site-plan PDF SUMMARY "Buildable Area". */
58
+ pdfLabel: string;
59
+ /**
60
+ * Stable probe token — planner pastes this across map / inspect / PDF.
61
+ * Same inputs → same token on every surface.
62
+ */
63
+ agreementToken: string;
64
+ }
65
+ /** Resolve the best area signal — prefer warm envelope when it has area. */
66
+ export declare function resolveBuildableAreaSqFt(input: BuildableDisplayInput): number | null;
67
+ /**
68
+ * Pure mapper: envelope / warm / offset inputs → one customer vocabulary.
69
+ * Do not invent a % when no area signal exists (honest shared pending OK).
70
+ */
71
+ export declare function mapBuildableDisplay(input: BuildableDisplayInput): BuildableDisplayVocab;
72
+ /** True when copy would revive the historical map/PDF disagreement. */
73
+ export declare function violatesHistoricalDisagreementGuard(vocab: BuildableDisplayVocab, input: BuildableDisplayInput): boolean;
74
+ //# sourceMappingURL=buildable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildable.d.ts","sourceRoot":"","sources":["../../src/display/buildable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,MAAM,MAAM,oBAAoB,GAC5B,QAAQ,GACR,SAAS,GACT,SAAS,GACT,aAAa,GACb,qBAAqB,GACrB,kBAAkB,GAClB,eAAe;AACjB,0EAA0E;GACxE,gBAAgB,CAAC;AAErB,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,mBAAmB,GAAG,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;AAE7F,MAAM,MAAM,gBAAgB,GACxB,WAAW,GACX,mBAAmB,GACnB,wBAAwB,GACxB,gBAAgB,GAChB,IAAI,GACJ,SAAS,CAAC;AAEd,MAAM,WAAW,qBAAqB;IACpC,yCAAyC;IACzC,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,8DAA8D;IAC9D,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,6DAA6D;IAC7D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qEAAqE;IACrE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,+EAA+E;IAC/E,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,oBAAoB,CAAC;IAC3B,2DAA2D;IAC3D,SAAS,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;IAC5C,4DAA4D;IAC5D,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAUD,4EAA4E;AAC5E,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,qBAAqB,GAAG,MAAM,GAAG,IAAI,CASpF;AA2BD;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,qBAAqB,GAAG,qBAAqB,CAmKvF;AAED,uEAAuE;AACvE,wBAAgB,mCAAmC,CACjD,KAAK,EAAE,qBAAqB,EAC5B,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAST"}
@@ -0,0 +1,227 @@
1
+ /**
2
+ * Shared customer-facing buildable / setback vocabulary (Track B3 / WDLL 5).
3
+ *
4
+ * Map card, inspect, and site-plan PDF must speak ONE truth for the same
5
+ * envelope inputs. Surfaces MUST call `mapBuildableDisplay` rather than
6
+ * re-deriving "pending" / "consumes lot" / provisional copy independently.
7
+ *
8
+ * Axes (cannot disagree across surfaces for identical inputs):
9
+ * pending | provisional | buildable-with-area | declined-consume | not_specified
10
+ * (+ absent / loading for non-envelope shells)
11
+ *
12
+ * Historical disagreement class (FIX1 symptom): envelope area present on the
13
+ * warm facet while PDF said "setback-consumes-lot" and the card said bare
14
+ * "buildable % pending". Guard: area present → never those two strings.
15
+ *
16
+ * P-167 (OPS-23 R-6): moved verbatim into `@empressaio/atom-contract/display`
17
+ * from the five byte-identical copies this module used to have (hauska-map
18
+ * `apps/property-explorer/src/lib/buildable-display-vocab.ts`, hauska-engine
19
+ * `packages/engine-core/src/site-plan/buildable-display-vocab.ts` and
20
+ * `packages/retrieval/src/serving-sweep/vendor/buildable-display-vocab.ts`,
21
+ * sha256 `45c277d7...29cac`). No export, string, or branch below changed in
22
+ * the move.
23
+ */
24
+ function positiveNumber(n) {
25
+ return typeof n === "number" && Number.isFinite(n) && n > 0;
26
+ }
27
+ function nonNegativeNumber(n) {
28
+ return typeof n === "number" && Number.isFinite(n) && n >= 0;
29
+ }
30
+ /** Resolve the best area signal — prefer warm envelope when it has area. */
31
+ export function resolveBuildableAreaSqFt(input) {
32
+ if (input.warmEnvelopeKind === "buildable" &&
33
+ positiveNumber(input.warmEnvelopeAreaSqFt)) {
34
+ return input.warmEnvelopeAreaSqFt;
35
+ }
36
+ if (positiveNumber(input.buildableAreaSqFt))
37
+ return input.buildableAreaSqFt;
38
+ return null;
39
+ }
40
+ function areaPresent(input) {
41
+ if (positiveNumber(input.buildableAreaPct))
42
+ return true;
43
+ if (resolveBuildableAreaSqFt(input) != null)
44
+ return true;
45
+ if (input.warmEnvelopeKind === "buildable" &&
46
+ positiveNumber(input.warmEnvelopeAreaSqFt)) {
47
+ return true;
48
+ }
49
+ return false;
50
+ }
51
+ /** Numeric area OR drawable warm geojson — never leave as bare pending. */
52
+ function drawableOrAreaPresent(input) {
53
+ return areaPresent(input) || input.hasGeometry === true;
54
+ }
55
+ function formatPct(pct) {
56
+ return `${Math.round(pct)}%`;
57
+ }
58
+ function formatSqFt(sqFt) {
59
+ return `${Math.round(sqFt).toLocaleString("en-US")} sq ft`;
60
+ }
61
+ /**
62
+ * Pure mapper: envelope / warm / offset inputs → one customer vocabulary.
63
+ * Do not invent a % when no area signal exists (honest shared pending OK).
64
+ */
65
+ export function mapBuildableDisplay(input) {
66
+ const decline = input.declineReason ?? null;
67
+ const silent = input.notSpecifiedAxes === true;
68
+ const areaSqFt = resolveBuildableAreaSqFt(input);
69
+ const hasDrawable = drawableOrAreaPresent(input);
70
+ const provisional = input.provisional === true ||
71
+ input.warmEnvelopeKind === "provisional-front-edge";
72
+ // Loading shell (Gate C) — never "not verified" / consume.
73
+ if (decline === "atom_path_pending") {
74
+ return {
75
+ kind: "loading",
76
+ cardState: "pending",
77
+ cardLabel: "Loading buildable area…",
78
+ pdfLabel: "pending — atom path loading",
79
+ agreementToken: "loading",
80
+ };
81
+ }
82
+ // Declined envelope (honest absence of setbacks/zoning path).
83
+ if (input.envelopeStatus === "declined") {
84
+ return {
85
+ kind: "absent",
86
+ cardState: "absent",
87
+ cardLabel: null,
88
+ pdfLabel: `unavailable — ${decline ?? "envelope declined"}`,
89
+ agreementToken: `absent:${decline ?? "declined"}`,
90
+ };
91
+ }
92
+ // Unincorporated land — no zoning ordinance to derive a setback from.
93
+ // Checked before the drawable/consume-lot branches: there is no area
94
+ // signal to have an opinion on here, and "setbacks consume lot" would be
95
+ // a false claim (no setback assessment happened at all).
96
+ if (input.warmEnvelopeKind === "not-applicable") {
97
+ return {
98
+ kind: "not-applicable",
99
+ cardState: "absent",
100
+ cardLabel: "Not zoned — no setback requirements",
101
+ pdfLabel: "not applicable — unincorporated, no zoning ordinance",
102
+ agreementToken: "not-applicable",
103
+ };
104
+ }
105
+ // Silent axes (build-to-line) with NO drawable/area — never consume-lot.
106
+ if (silent && !hasDrawable) {
107
+ return {
108
+ kind: "not_specified",
109
+ cardState: "pending",
110
+ cardLabel: "build-to-line · buildable % pending",
111
+ pdfLabel: "pending — build-to-line governs (scalar setback silent)",
112
+ agreementToken: "not_specified",
113
+ };
114
+ }
115
+ // Area or warm geojson wins over any local "consumes lot" / bare pending (B3).
116
+ if (hasDrawable) {
117
+ const pct = positiveNumber(input.buildableAreaPct)
118
+ ? input.buildableAreaPct
119
+ : null;
120
+ const cardCore = pct != null
121
+ ? formatPct(pct)
122
+ : areaSqFt != null
123
+ ? `~${formatSqFt(areaSqFt)}`
124
+ : silent
125
+ ? "buildable envelope on file (build-to-line)"
126
+ : "buildable envelope on file";
127
+ const pdfCore = areaSqFt != null
128
+ ? formatSqFt(areaSqFt)
129
+ : pct != null
130
+ ? `${formatPct(pct)} of lot`
131
+ : silent
132
+ ? "buildable envelope on file (build-to-line)"
133
+ : "buildable envelope on file";
134
+ if (provisional) {
135
+ return {
136
+ kind: "provisional",
137
+ cardState: "present",
138
+ cardLabel: `${cardCore} (provisional)`,
139
+ pdfLabel: `${pdfCore} (PROVISIONAL)`,
140
+ agreementToken: `provisional:${pct ?? (areaSqFt != null ? Math.round(areaSqFt) : "envelope")}`,
141
+ };
142
+ }
143
+ return {
144
+ kind: "buildable-with-area",
145
+ cardState: "present",
146
+ cardLabel: cardCore,
147
+ pdfLabel: pdfCore,
148
+ agreementToken: `buildable:${pct ?? (areaSqFt != null ? Math.round(areaSqFt) : "envelope")}`,
149
+ };
150
+ }
151
+ // Honest consume-lot — only when no area signal and status / warm / offset agree.
152
+ const warmConsumes = input.warmEnvelopeKind === "no-buildable-area";
153
+ const statusConsumes = input.envelopeStatus === "no-buildable-area";
154
+ const offsetConsumes = input.offsetDegenerate === true &&
155
+ input.warmEnvelopeKind !== "buildable" &&
156
+ input.warmEnvelopeKind !== "provisional-front-edge";
157
+ if ((statusConsumes || warmConsumes || offsetConsumes) && !silent) {
158
+ const reason = input.offsetDegenerateReason ??
159
+ (warmConsumes ? "warm envelope: no-buildable-area" : null) ??
160
+ "setbacks consume lot";
161
+ return {
162
+ kind: "declined-consume",
163
+ cardState: "present",
164
+ cardLabel: "0% — setbacks consume lot",
165
+ pdfLabel: `unavailable — ${reason}`,
166
+ agreementToken: "declined-consume",
167
+ };
168
+ }
169
+ // Explicit zero pct with consume status.
170
+ if (nonNegativeNumber(input.buildableAreaPct) &&
171
+ input.buildableAreaPct === 0 &&
172
+ statusConsumes) {
173
+ return {
174
+ kind: "declined-consume",
175
+ cardState: "present",
176
+ cardLabel: "0% — setbacks consume lot",
177
+ pdfLabel: "unavailable — setbacks consume lot",
178
+ agreementToken: "declined-consume",
179
+ };
180
+ }
181
+ // Setbacks / ok envelope present but no area yet — honest shared pending.
182
+ if (input.envelopeStatus === "ok" ||
183
+ input.hasGeometry === true ||
184
+ input.warmEnvelopeKind === "provisional-front-edge") {
185
+ if (provisional) {
186
+ return {
187
+ kind: "provisional",
188
+ cardState: "pending",
189
+ cardLabel: "provisional · buildable % pending",
190
+ pdfLabel: "provisional — buildable area pending front-edge resolution",
191
+ agreementToken: "provisional:pending",
192
+ };
193
+ }
194
+ return {
195
+ kind: "pending",
196
+ cardState: "pending",
197
+ cardLabel: "setbacks present · buildable % pending",
198
+ pdfLabel: "pending — setbacks on file; buildable area not yet derived",
199
+ agreementToken: "pending",
200
+ };
201
+ }
202
+ // No envelope signal at all.
203
+ return {
204
+ kind: "absent",
205
+ cardState: "absent",
206
+ cardLabel: null,
207
+ pdfLabel: "unavailable — no buildable envelope on file",
208
+ agreementToken: "absent",
209
+ };
210
+ }
211
+ /** True when copy would revive the historical map/PDF disagreement. */
212
+ export function violatesHistoricalDisagreementGuard(vocab, input) {
213
+ if (!drawableOrAreaPresent(input))
214
+ return false;
215
+ const blob = `${vocab.cardLabel ?? ""} ${vocab.pdfLabel}`.toLowerCase();
216
+ if (/consumes?\s+lot/.test(blob))
217
+ return true;
218
+ if (vocab.kind === "declined-consume")
219
+ return true;
220
+ // Bare pending % while drawable/area exists is the other half of the disagreement.
221
+ if (vocab.kind === "pending" || vocab.kind === "not_specified")
222
+ return true;
223
+ if (/buildable % pending/.test(blob) && !/provisional/.test(blob))
224
+ return true;
225
+ return false;
226
+ }
227
+ //# sourceMappingURL=buildable.js.map
@@ -0,0 +1 @@
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E,IAAI,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAC9C,IAAI,KAAK,CAAC,IAAI,KAAK,kBAAkB;QAAE,OAAO,IAAI,CAAC;IACnD,mFAAmF;IACnF,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,eAAe;QAAE,OAAO,IAAI,CAAC;IAC5E,IAAI,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAC/E,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Display vocabulary — the human face of every atom (OPS-23 R-6, P-167).
3
+ *
4
+ * Import from `@empressaio/atom-contract/display`.
5
+ *
6
+ * One versioned subpath producing the display strings that every surface
7
+ * (the Property Explorer panel, the feasibility PDF, and the Smart Site MCP
8
+ * connector) renders for the same claim, so the row moves strings between
9
+ * repos instead of letting them diverge into copies. See `buildable.ts`
10
+ * (the buildable/setback card, PDF, and agreement-token vocabulary,
11
+ * previously five byte-identical copies across hauska-map and
12
+ * hauska-engine) and `wire.ts` (the Smart Site MCP wire-token vocabulary
13
+ * table, previously owned only by legacy-design-tools).
14
+ */
15
+ export * from "./buildable.js";
16
+ export * from "./wire.js";
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/display/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Display vocabulary — the human face of every atom (OPS-23 R-6, P-167).
3
+ *
4
+ * Import from `@empressaio/atom-contract/display`.
5
+ *
6
+ * One versioned subpath producing the display strings that every surface
7
+ * (the Property Explorer panel, the feasibility PDF, and the Smart Site MCP
8
+ * connector) renders for the same claim, so the row moves strings between
9
+ * repos instead of letting them diverge into copies. See `buildable.ts`
10
+ * (the buildable/setback card, PDF, and agreement-token vocabulary,
11
+ * previously five byte-identical copies across hauska-map and
12
+ * hauska-engine) and `wire.ts` (the Smart Site MCP wire-token vocabulary
13
+ * table, previously owned only by legacy-design-tools).
14
+ */
15
+ export * from "./buildable.js";
16
+ export * from "./wire.js";
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/display/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC"}
@@ -0,0 +1,110 @@
1
+ /**
2
+ * P-167 (OPS-23 R-6). Moved verbatim from legacy-design-tools
3
+ * `artifacts/smartsite-mcp/src/vocabulary.ts` (origin/main 55c4ad44, the
4
+ * P-91 v3 table): the disposition enum, the refusal codes, the two Open
5
+ * failure sentences, citationsDegraded, confidence "seed", edge role
6
+ * side_corner, and frame quality gis-approximate. No display string below
7
+ * was reworded in the move; only the import mechanism changed (see next
8
+ * paragraph) and the stale entry-count comment was corrected (see
9
+ * `DOCUMENTED_VOCABULARY_COUNT`, enforced by a test that counts).
10
+ *
11
+ * The nine display constants this table used to import as VALUES from the
12
+ * MCP server's own `mcp-app.ts` (STATE_WORDS, OPEN_DID_NOT_REACH_ME,
13
+ * NOT_ON_FILE_PREFIX, NO_BAKED_SNAPSHOT_PREFIX, UPGRADE_TO_OPEN,
14
+ * NOT_IMPLEMENTED_PREFIX, CITATION_DEGRADED, EDGE_WORDS, envelopeHuman) are
15
+ * moved in below, verbatim, so this module has no dependency on the MCP
16
+ * server. This is now the one place these strings are owned; a consumer
17
+ * (the panel included) imports the value from here rather than retyping it.
18
+ */
19
+ /**
20
+ * The panel's five-state PAINT vocabulary (originally typed against
21
+ * mcp-app.ts's local `CellState`). Renamed here to make explicit that this
22
+ * is the MCP panel's own paint-state enum, not the ledger's six-state cell
23
+ * vocabulary (OPS-21, `_catalog/program_preambles/OPS-21.md`) — a
24
+ * deliberately different, narrower concept this table happens to need for
25
+ * one Record's key type. Not exported: nothing outside this module typed
26
+ * against the original `CellState` name (vocabulary.ts imported only the
27
+ * STATE_WORDS value, never the type), so the rename is invisible to every
28
+ * existing importer.
29
+ */
30
+ type PanelPaintState = "present" | "absent-verified" | "unknown" | "refused" | "unread";
31
+ /** mcp-app.ts:304. */
32
+ export declare const NOT_ON_FILE_PREFIX = "Not on file in";
33
+ /** mcp-app.ts:305. */
34
+ export declare const NO_BAKED_SNAPSHOT_PREFIX = "No baked snapshot yet for";
35
+ /** mcp-app.ts:307. */
36
+ export declare const UPGRADE_TO_OPEN = "Upgrade to open this parcel";
37
+ /** mcp-app.ts:333. */
38
+ export declare const NOT_IMPLEMENTED_PREFIX = "Not implemented";
39
+ /** mcp-app.ts:3023. */
40
+ export declare const OPEN_DID_NOT_REACH_ME = "Open did not reach me";
41
+ /**
42
+ * mcp-app.ts:448-451. Maps exactly one token, `atom_path_pending`, to its
43
+ * display sentence; every other reason passes through unchanged.
44
+ */
45
+ export declare function envelopeHuman(reason: string | undefined): string | undefined;
46
+ /** mcp-app.ts:523. D1: adjacency and role words. Keys are the wire enum; any other value prints verbatim. */
47
+ export declare const EDGE_WORDS: Record<string, string>;
48
+ /** mcp-app.ts:550. F1: a section or overlay that claims a fact without an https citation says so; the text, never a link. */
49
+ export declare const CITATION_DEGRADED = "citation degraded";
50
+ /** mcp-app.ts:575. The five-state legend words, one per paint state. */
51
+ export declare const STATE_WORDS: Record<PanelPaintState, string>;
52
+ export type VocabularyEntry = {
53
+ /** The exact machine token as it appears in code or on the wire. */
54
+ token: string;
55
+ /** The exact string a lay reader gets. Sourced from the panel's own copy where one exists. */
56
+ displayText: string;
57
+ /** One line: what the token means, and where it matters, what it does not claim. */
58
+ meaning: string;
59
+ };
60
+ /**
61
+ * Wire-level section disposition words (tool-honesty.ts sectionDisposition
62
+ * / ExternalBriefSectionDisposition). Distinct from the panel's five-state
63
+ * PAINT vocabulary (STATE_WORDS / PanelPaintState above), though as of P-91
64
+ * v3 item 1 the two now overlap: `unknown` and `absent-verified` are the
65
+ * union's own display words, not the panel's earned-locally versions of
66
+ * them (a section that CLAIMS one of those two is preserved as claimed, not
67
+ * re-derived -- see tool-honesty.ts sectionDisposition). Cortex does not
68
+ * emit either at section level today (confirmed against
69
+ * artifacts/api-server's own R1BriefSectionDisposition type and the WDLL
70
+ * item 5 ruling withholding absent-verified there), so in practice the wire
71
+ * still only ever carries the original four; this table's other two rows
72
+ * exist so the display text is correct the day a section does. Both rows
73
+ * reuse STATE_WORDS' own strings rather than retype them, so the panel's
74
+ * word and the wire's word for the same token cannot drift apart.
75
+ */
76
+ export declare const WIRE_DISPOSITION_DISPLAY_TEXT: Record<"present" | "refused" | "absent" | "unread" | "unknown" | "absent-verified", string>;
77
+ /**
78
+ * V5 (P-91 v3). Nothing in the wire shape prohibited computing an area or a
79
+ * coverage ratio from draw.ring; a session did exactly that. This is the
80
+ * stated policy, carried in the payload next to the geometry it governs
81
+ * (see sanitizeExternalDraw), not left as a convention nobody reads.
82
+ */
83
+ export declare const DERIVED_FIGURES_POLICY: {
84
+ readonly denies: readonly ["area", "coverage_ratio", "lot_coverage_pct", "setback_distance", "buildable_area"];
85
+ readonly reason: "ring, edges, and overlays are for rendering only. Do not compute an area, a coverage ratio, a percentage, or a distance from them; use a brief section's own figure, or say the figure is not on record.";
86
+ };
87
+ /**
88
+ * The real, current entry count of VOCABULARY below, checked by a test
89
+ * (`wire.test.ts`) so this number cannot go stale the way the source
90
+ * table's own comment did (it said "19 entries" while the table had grown
91
+ * to 34; see `_inbox/2026-09-11_ops23_wave1_verify_p167.md` finding 4).
92
+ */
93
+ export declare const DOCUMENTED_VOCABULARY_COUNT = 34;
94
+ /**
95
+ * V1. 34 entries (`DOCUMENTED_VOCABULARY_COUNT`, enforced by a counting
96
+ * test): the disposition enum, the panel-only paint additions
97
+ * (absent-verified, unknown), the two Open failure sentences (kept
98
+ * distinct, checked by tests), citationsDegraded, confidence "seed", frame
99
+ * quality gis-approximate, edge role side_corner, the refusal/reason codes
100
+ * read out of tool-honesty.ts, mcp-app.ts and their tests
101
+ * (declined-in-bake, not-in-bake, atom_path_pending, upgrade_required,
102
+ * parcel_not_found, baked_snapshot_not_found, parcel_batch_cap,
103
+ * depth_not_implemented), the P-91 v3 Q1 near/street refusal codes, the
104
+ * P-106 find_parcels refusal codes, and the P-107 out_of_coverage miss
105
+ * class. Every token here is grepped out of the source, not invented; see
106
+ * the P-91 v3 handback for the grep trail.
107
+ */
108
+ export declare const VOCABULARY: readonly VocabularyEntry[];
109
+ export {};
110
+ //# sourceMappingURL=wire.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../../src/display/wire.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;;;;;GAUG;AACH,KAAK,eAAe,GAAG,SAAS,GAAG,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAExF,sBAAsB;AACtB,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AACnD,sBAAsB;AACtB,eAAO,MAAM,wBAAwB,8BAA8B,CAAC;AACpE,sBAAsB;AACtB,eAAO,MAAM,eAAe,gCAAgC,CAAC;AAC7D,sBAAsB;AACtB,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AACxD,uBAAuB;AACvB,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAG5E;AAED,6GAA6G;AAC7G,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAS7C,CAAC;AAEF,6HAA6H;AAC7H,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,wEAAwE;AACxE,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAMvD,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,8FAA8F;IAC9F,WAAW,EAAE,MAAM,CAAC;IACpB,oFAAoF;IACpF,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAChD,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,iBAAiB,EAC3E,MAAM,CAQP,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;CAUzB,CAAC;AAoBX;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,KAAK,CAAC;AAE9C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,UAAU,EAAE,SAAS,eAAe,EAiPvC,CAAC"}
@@ -0,0 +1,341 @@
1
+ /**
2
+ * P-167 (OPS-23 R-6). Moved verbatim from legacy-design-tools
3
+ * `artifacts/smartsite-mcp/src/vocabulary.ts` (origin/main 55c4ad44, the
4
+ * P-91 v3 table): the disposition enum, the refusal codes, the two Open
5
+ * failure sentences, citationsDegraded, confidence "seed", edge role
6
+ * side_corner, and frame quality gis-approximate. No display string below
7
+ * was reworded in the move; only the import mechanism changed (see next
8
+ * paragraph) and the stale entry-count comment was corrected (see
9
+ * `DOCUMENTED_VOCABULARY_COUNT`, enforced by a test that counts).
10
+ *
11
+ * The nine display constants this table used to import as VALUES from the
12
+ * MCP server's own `mcp-app.ts` (STATE_WORDS, OPEN_DID_NOT_REACH_ME,
13
+ * NOT_ON_FILE_PREFIX, NO_BAKED_SNAPSHOT_PREFIX, UPGRADE_TO_OPEN,
14
+ * NOT_IMPLEMENTED_PREFIX, CITATION_DEGRADED, EDGE_WORDS, envelopeHuman) are
15
+ * moved in below, verbatim, so this module has no dependency on the MCP
16
+ * server. This is now the one place these strings are owned; a consumer
17
+ * (the panel included) imports the value from here rather than retyping it.
18
+ */
19
+ /** mcp-app.ts:304. */
20
+ export const NOT_ON_FILE_PREFIX = "Not on file in";
21
+ /** mcp-app.ts:305. */
22
+ export const NO_BAKED_SNAPSHOT_PREFIX = "No baked snapshot yet for";
23
+ /** mcp-app.ts:307. */
24
+ export const UPGRADE_TO_OPEN = "Upgrade to open this parcel";
25
+ /** mcp-app.ts:333. */
26
+ export const NOT_IMPLEMENTED_PREFIX = "Not implemented";
27
+ /** mcp-app.ts:3023. */
28
+ export const OPEN_DID_NOT_REACH_ME = "Open did not reach me";
29
+ /**
30
+ * mcp-app.ts:448-451. Maps exactly one token, `atom_path_pending`, to its
31
+ * display sentence; every other reason passes through unchanged.
32
+ */
33
+ export function envelopeHuman(reason) {
34
+ if (reason === "atom_path_pending")
35
+ return "Withheld, setbacks unruled";
36
+ return reason;
37
+ }
38
+ /** mcp-app.ts:523. D1: adjacency and role words. Keys are the wire enum; any other value prints verbatim. */
39
+ export const EDGE_WORDS = {
40
+ front: "front",
41
+ side: "side",
42
+ rear: "rear",
43
+ side_corner: "corner side",
44
+ alley: "alley",
45
+ ROW: "right of way",
46
+ "neighbor-parcel": "neighbor",
47
+ unmapped: "unmapped",
48
+ };
49
+ /** mcp-app.ts:550. F1: a section or overlay that claims a fact without an https citation says so; the text, never a link. */
50
+ export const CITATION_DEGRADED = "citation degraded";
51
+ /** mcp-app.ts:575. The five-state legend words, one per paint state. */
52
+ export const STATE_WORDS = {
53
+ present: "present",
54
+ "absent-verified": "absent, verified",
55
+ unknown: "unknown",
56
+ refused: "refused",
57
+ unread: "unread",
58
+ };
59
+ /**
60
+ * Wire-level section disposition words (tool-honesty.ts sectionDisposition
61
+ * / ExternalBriefSectionDisposition). Distinct from the panel's five-state
62
+ * PAINT vocabulary (STATE_WORDS / PanelPaintState above), though as of P-91
63
+ * v3 item 1 the two now overlap: `unknown` and `absent-verified` are the
64
+ * union's own display words, not the panel's earned-locally versions of
65
+ * them (a section that CLAIMS one of those two is preserved as claimed, not
66
+ * re-derived -- see tool-honesty.ts sectionDisposition). Cortex does not
67
+ * emit either at section level today (confirmed against
68
+ * artifacts/api-server's own R1BriefSectionDisposition type and the WDLL
69
+ * item 5 ruling withholding absent-verified there), so in practice the wire
70
+ * still only ever carries the original four; this table's other two rows
71
+ * exist so the display text is correct the day a section does. Both rows
72
+ * reuse STATE_WORDS' own strings rather than retype them, so the panel's
73
+ * word and the wire's word for the same token cannot drift apart.
74
+ */
75
+ export const WIRE_DISPOSITION_DISPLAY_TEXT = {
76
+ present: "Present",
77
+ refused: "Refused",
78
+ absent: "Reported absent",
79
+ unread: "Not read",
80
+ unknown: STATE_WORDS.unknown,
81
+ "absent-verified": STATE_WORDS["absent-verified"],
82
+ };
83
+ /**
84
+ * V5 (P-91 v3). Nothing in the wire shape prohibited computing an area or a
85
+ * coverage ratio from draw.ring; a session did exactly that. This is the
86
+ * stated policy, carried in the payload next to the geometry it governs
87
+ * (see sanitizeExternalDraw), not left as a convention nobody reads.
88
+ */
89
+ export const DERIVED_FIGURES_POLICY = {
90
+ denies: [
91
+ "area",
92
+ "coverage_ratio",
93
+ "lot_coverage_pct",
94
+ "setback_distance",
95
+ "buildable_area",
96
+ ],
97
+ reason: "ring, edges, and overlays are for rendering only. Do not compute an area, a coverage ratio, a percentage, or a distance from them; use a brief section's own figure, or say the figure is not on record.",
98
+ };
99
+ function requireString(value, what) {
100
+ if (!value) {
101
+ throw new Error(`vocabulary: ${what} produced no display string`);
102
+ }
103
+ return value;
104
+ }
105
+ /**
106
+ * atom_path_pending's display text is read out of envelopeHuman, the same
107
+ * function the panel calls, rather than retyped here. If that mapping is
108
+ * ever removed, this throws at module load instead of silently shipping the
109
+ * raw token as its own "display text".
110
+ */
111
+ const ATOM_PATH_PENDING_DISPLAY_TEXT = requireString(envelopeHuman("atom_path_pending"), 'envelopeHuman("atom_path_pending")');
112
+ /**
113
+ * The real, current entry count of VOCABULARY below, checked by a test
114
+ * (`wire.test.ts`) so this number cannot go stale the way the source
115
+ * table's own comment did (it said "19 entries" while the table had grown
116
+ * to 34; see `_inbox/2026-09-11_ops23_wave1_verify_p167.md` finding 4).
117
+ */
118
+ export const DOCUMENTED_VOCABULARY_COUNT = 34;
119
+ /**
120
+ * V1. 34 entries (`DOCUMENTED_VOCABULARY_COUNT`, enforced by a counting
121
+ * test): the disposition enum, the panel-only paint additions
122
+ * (absent-verified, unknown), the two Open failure sentences (kept
123
+ * distinct, checked by tests), citationsDegraded, confidence "seed", frame
124
+ * quality gis-approximate, edge role side_corner, the refusal/reason codes
125
+ * read out of tool-honesty.ts, mcp-app.ts and their tests
126
+ * (declined-in-bake, not-in-bake, atom_path_pending, upgrade_required,
127
+ * parcel_not_found, baked_snapshot_not_found, parcel_batch_cap,
128
+ * depth_not_implemented), the P-91 v3 Q1 near/street refusal codes, the
129
+ * P-106 find_parcels refusal codes, and the P-107 out_of_coverage miss
130
+ * class. Every token here is grepped out of the source, not invented; see
131
+ * the P-91 v3 handback for the grep trail.
132
+ */
133
+ export const VOCABULARY = [
134
+ {
135
+ token: "present",
136
+ displayText: WIRE_DISPOSITION_DISPLAY_TEXT.present,
137
+ meaning: "The section or rail carries confirmed on-record data for this parcel.",
138
+ },
139
+ {
140
+ token: "absent",
141
+ displayText: WIRE_DISPOSITION_DISPLAY_TEXT.absent,
142
+ meaning: "The source claims no record exists, not yet verified by provenance or a known vintage. A claim, not yet a confirmed absence.",
143
+ },
144
+ {
145
+ token: "absent-verified",
146
+ displayText: STATE_WORDS["absent-verified"],
147
+ meaning: "Confirmed absent: the absence claim carries provenance or a known source vintage. A panel-side paint state, earned from a wire 'absent' claim, never asserted directly on the wire.",
148
+ },
149
+ {
150
+ token: "unknown",
151
+ displayText: STATE_WORDS.unknown,
152
+ meaning: "Not a finding either way. The record neither confirms present nor earns a verified absence.",
153
+ },
154
+ {
155
+ token: "refused",
156
+ displayText: WIRE_DISPOSITION_DISPLAY_TEXT.refused,
157
+ meaning: "The producer declined to answer on this read path. See the refusal code and reason for why.",
158
+ },
159
+ {
160
+ token: "unread",
161
+ displayText: WIRE_DISPOSITION_DISPLAY_TEXT.unread,
162
+ meaning: "Not read on this call. Distinct from absent: nothing was checked, so there is no claim to report either way.",
163
+ },
164
+ {
165
+ token: "citationsDegraded",
166
+ displayText: CITATION_DEGRADED,
167
+ meaning: "A present claim carries no verifiable https citation; the source exists but could not be linked.",
168
+ },
169
+ {
170
+ token: "gis-approximate",
171
+ displayText: "GIS-approximate",
172
+ meaning: "frame.quality: the boundary ring is derived from public GIS parcel geometry, not a field survey. Printed distances are approximate, not surveyed.",
173
+ },
174
+ {
175
+ token: "seed",
176
+ displayText: "Seed confidence",
177
+ meaning: "draw.confidence: a first-pass geometric estimate, not a calibrated confidence score, a percentage, or a probability.",
178
+ },
179
+ {
180
+ token: "side_corner",
181
+ displayText: requireString(EDGE_WORDS.side_corner, "EDGE_WORDS.side_corner"),
182
+ meaning: "The property line runs along a corner lot's side yard, not its primary front or rear line.",
183
+ },
184
+ {
185
+ token: "atom_path_pending",
186
+ displayText: ATOM_PATH_PENDING_DISPLAY_TEXT,
187
+ meaning: "Setbacks and the buildable envelope have not been ruled or baked for this jurisdiction yet; no distance or polygon exists to report.",
188
+ },
189
+ {
190
+ token: "upgrade_required",
191
+ displayText: UPGRADE_TO_OPEN,
192
+ meaning: "The caller's tier does not include this depth of read. A plan upgrade or a 30-day unlock on the parcel is required.",
193
+ },
194
+ {
195
+ token: "parcel_not_found",
196
+ displayText: `${NOT_ON_FILE_PREFIX} <county>`,
197
+ meaning: "No parcel record exists in this server's coverage for the given id. A genuine server-declared miss (missClass absent), distinct from 'open_did_not_reach_me', which is a client-side delivery failure and makes no claim about the parcel.",
198
+ },
199
+ {
200
+ token: "baked_snapshot_not_found",
201
+ displayText: `${NO_BAKED_SNAPSHOT_PREFIX} <parcelNodeId>`,
202
+ meaning: "The parcel itself may exist, but the Smart Site facet snapshot has not been baked yet. parcelExists states whether the parcel itself was confirmed, independent of this snapshot miss.",
203
+ },
204
+ {
205
+ token: "parcel_batch_cap",
206
+ displayText: "Batch too large",
207
+ meaning: "The request exceeded the array cap for this depth: 50 at stub, 25 at node.",
208
+ },
209
+ {
210
+ token: "open_did_not_reach_me",
211
+ displayText: OPEN_DID_NOT_REACH_ME,
212
+ meaning: "Client-side only: the Open click produced no tool result within the host's timeout window. No claim was made about the parcel; this is not a miss, distinct from 'parcel_not_found'.",
213
+ },
214
+ {
215
+ token: "depth_not_implemented",
216
+ displayText: NOT_IMPLEMENTED_PREFIX,
217
+ meaning: "hop1 and subgraph depths are not built yet. Not a data miss; the read path itself does not exist.",
218
+ },
219
+ {
220
+ token: "declined-in-bake",
221
+ displayText: "Declined in bake",
222
+ meaning: "refusal.code: the producer evaluated this facet during the bake and declined it. refusal.declineReason carries the specific sub-reason (for example no-zoning-stamp).",
223
+ },
224
+ {
225
+ token: "not-in-bake",
226
+ displayText: "Not in bake",
227
+ meaning: "refusal.code: this facet was never attempted in the bake that produced this snapshot.",
228
+ },
229
+ /**
230
+ * P-91 v3 Q1. The five closed refusal codes radius-search and
231
+ * street-search return as a 422 `serve_refused` body (gtmErrorClass.ts,
232
+ * txgioRadiusSearch.ts, txgioStreetSearch.ts, read 2026-08-31). Every one
233
+ * of these is a DECLARED REFUSAL, not an upstream fault: the producer
234
+ * looked at the request and answered honestly that it will not (or
235
+ * cannot) bound the result. tool-honesty.ts's declarePlaceSearchRefusal
236
+ * reads the display text for these five back out of this table, so the
237
+ * word the model sees and the word documented here cannot drift apart.
238
+ * No numeric threshold (the radius max, the candidate ceiling) is
239
+ * hardcoded into any meaning below: those values live in api-server, a
240
+ * repo this package has no dependency on and cannot verify was not
241
+ * bumped since this was written.
242
+ */
243
+ {
244
+ token: "radius_invalid",
245
+ displayText: "Invalid radius search input",
246
+ meaning: "serve_refused reason (near): lat, lng, or radiusFt was missing, non-finite, or radiusFt was not a positive number. A caller-input problem on this specific call, not a claim about the area.",
247
+ },
248
+ {
249
+ token: "radius_exceeds_max",
250
+ displayText: "Radius exceeds the maximum",
251
+ meaning: "serve_refused reason (near): radiusFt exceeded the stated maximum this search allows. Lower the radius and retry; not a claim that no parcels exist out there.",
252
+ },
253
+ {
254
+ token: "radius_unbounded",
255
+ displayText: "Too many parcels in that radius",
256
+ meaning: "serve_refused reason (near): the candidate parcel count for that point and radius exceeded what this search can bound honestly. Too many parcels in that radius to answer, not that the search failed; narrow the radius or lower cap.",
257
+ },
258
+ {
259
+ token: "bare_street_unbounded",
260
+ displayText: "Street name needs a locality",
261
+ meaning: "serve_refused reason (street): a bare street name with no city, ZIP, or countyFips was refused rather than run as an unbounded contains across every county in coverage. Add a city, ZIP, or countyFips and retry.",
262
+ },
263
+ {
264
+ token: "bare_street_not_a_street",
265
+ displayText: "Not a bare street name",
266
+ meaning: "serve_refused reason (street): the query reads as a house-number-prefixed address, not a bare street name. Use find_parcel's plain query (or near) for one specific address instead of street.",
267
+ },
268
+ /**
269
+ * P-106. find_parcels' declared refusals, same 422 serve_refused envelope as
270
+ * the five above. Every one of these is the producer answering honestly
271
+ * rather than failing. No numeric threshold appears in a meaning below: the
272
+ * county list and the unmeasured ceiling live in api-server, which this
273
+ * package has no dependency on and cannot verify was not changed since this
274
+ * was written. The one number that matters travels in the refusal's own
275
+ * `detail`, measured on the same snapshot as the answer would have been.
276
+ */
277
+ {
278
+ token: "constraint_bound_missing",
279
+ displayText: "A county is required",
280
+ meaning: "serve_refused reason (find_parcels): no geographic bound was given. There is no statewide constraint search, because incorporation is dispositioned for a small share of Texas parcels and a statewide answer would imply coverage that does not exist. Give countyFips.",
281
+ },
282
+ {
283
+ token: "constraint_county_out_of_scope",
284
+ displayText: "No constraint index for that county",
285
+ meaning: "serve_refused reason (find_parcels): the projection has never been built for that county. Refused rather than answered with an empty set, because an empty set reads as \"no parcels match\" and this is not that claim.",
286
+ },
287
+ {
288
+ token: "constraint_single_address",
289
+ displayText: "That is a lookup, not a search",
290
+ meaning: "serve_refused reason (find_parcels): the query reads as one street address. Use find_parcel, singular, for a single address; find_parcels answers questions across parcels.",
291
+ },
292
+ {
293
+ token: "constraint_filters_missing",
294
+ displayText: "At least one filter is required",
295
+ meaning: "serve_refused reason (find_parcels): a county with no filter is not a search. Give at least one {rail, op, value}.",
296
+ },
297
+ {
298
+ token: "constraint_rail_unknown",
299
+ displayText: "Unknown rail",
300
+ meaning: "serve_refused reason (find_parcels): the named rail is not one this search carries. The refusal lists the rails that are.",
301
+ },
302
+ {
303
+ token: "constraint_op_unsupported",
304
+ displayText: "That operator does not apply to that rail",
305
+ meaning: "serve_refused reason (find_parcels): an ordered comparison on a rail with no ordered value, a categorical match on a rail with no categorical value, or a flag test on a rail with no flag. A caller-input problem on this call, not a claim about the parcels.",
306
+ },
307
+ {
308
+ token: "constraint_cap_invalid",
309
+ displayText: "Invalid cap",
310
+ meaning: "serve_refused reason (find_parcels): cap was outside the range this search allows.",
311
+ },
312
+ {
313
+ token: "constraint_rail_unmeasured",
314
+ displayText: "Too little of that rail is measured to search on it",
315
+ meaning: "serve_refused reason (find_parcels): the filtered rail is unmeasured on more of the county than the configured ceiling allows, so a search over it would evaluate a small fraction of the county while presenting itself as a search. detail carries the measured percentage, the parcel counts it came from, and the ceiling. Not a claim that no parcels match.",
316
+ },
317
+ {
318
+ token: "constraint_projection_missing",
319
+ displayText: "The projection has no rows for that county",
320
+ meaning: "serve_refused reason (find_parcels): the constraint index holds no parcels for that county, so there is nothing to filter. Refused rather than reported as zero matches, because zero matches and never built are different facts.",
321
+ },
322
+ /**
323
+ * P-107 (OPS-16 A-072). find_parcel's missing miss class. Mirrors
324
+ * SitusSearchMissClass in artifacts/api-server/src/lib/
325
+ * txgioAddressResolve.ts (read 2026-09-04): a query whose parsed state is
326
+ * a real, recognised state/territory other than the one the store covers
327
+ * today returns this missClass on a normal 200, before the ordinary
328
+ * search ever runs. Not a serve_refused refusal (find_parcel's query
329
+ * mode has no 422 refusal path) so it is not a PlaceSearchRefusalCode
330
+ * member; the wire carries it as `missClass`, same slot as `no-hit`, and
331
+ * tool-honesty.ts's splitFindParcelHits reads this row's displayText
332
+ * (never re-typed) plus its own hand-mirrored agentGuidance onto the
333
+ * response when this token fires.
334
+ */
335
+ {
336
+ token: "out_of_coverage",
337
+ displayText: "Outside Smart Site coverage",
338
+ meaning: "find_parcel missClass: the query resolved to a state Smart Site's parcel store has not reached yet. The honest opposite of 'no-hit': this is not a claim that the address is unverified or missing, only that coverage has not extended there. agentGuidance names what is covered today.",
339
+ },
340
+ ];
341
+ //# sourceMappingURL=wire.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wire.js","sourceRoot":"","sources":["../../src/display/wire.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAeH,sBAAsB;AACtB,MAAM,CAAC,MAAM,kBAAkB,GAAG,gBAAgB,CAAC;AACnD,sBAAsB;AACtB,MAAM,CAAC,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AACpE,sBAAsB;AACtB,MAAM,CAAC,MAAM,eAAe,GAAG,6BAA6B,CAAC;AAC7D,sBAAsB;AACtB,MAAM,CAAC,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;AACxD,uBAAuB;AACvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAE7D;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,MAA0B;IACtD,IAAI,MAAM,KAAK,mBAAmB;QAAE,OAAO,4BAA4B,CAAC;IACxE,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,6GAA6G;AAC7G,MAAM,CAAC,MAAM,UAAU,GAA2B;IAChD,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,cAAc;IACnB,iBAAiB,EAAE,UAAU;IAC7B,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEF,6H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;IACD;QACE,KAAK,EAAE,4BAA4B;QACnC,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EACL,oHAAoH;KACvH;IACD;QACE,KAAK,EAAE,yBAAyB;QAChC,WAAW,EAAE,cAAc;QAC3B,OAAO,EACL,2HAA2H;KAC9H;IACD;QACE,KAAK,EAAE,2BAA2B;QAClC,WAAW,EAAE,2CAA2C;QACxD,OAAO,EACL,iQAAiQ;KACpQ;IACD;QACE,KAAK,EAAE,wBAAwB;QAC/B,WAAW,EAAE,aAAa;QAC1B,OAAO,EACL,oFAAoF;KACvF;IACD;QACE,KAAK,EAAE,4BAA4B;QACnC,WAAW,EAAE,qDAAqD;QAClE,OAAO,EACL,mWAAmW;KACtW;IACD;QACE,KAAK,EAAE,+BAA+B;QACtC,WAAW,EAAE,4CAA4C;QACzD,OAAO,EACL,oOAAoO;KACvO;IACD;;;;;;;;;;;;OAYG;IACH;QACE,KAAK,EAAE,iBAAiB;QACxB,WAAW,EAAE,6BAA6B;QAC1C,OAAO,EACL,2RAA2R;KAC9R;CACO,CAAC"}
@@ -31,13 +31,13 @@ export declare const BOUNDARY_FACING_ROAD_SCHEMA: z.ZodObject<{
31
31
  }, "strict", z.ZodTypeAny, {
32
32
  provenance: string;
33
33
  roadNodeId: string;
34
- classification: "highway" | "major_collector" | "minor_collector" | "residential" | "alley" | "gravel" | "unclassified";
34
+ classification: "alley" | "highway" | "major_collector" | "minor_collector" | "residential" | "gravel" | "unclassified";
35
35
  osmHighwayTag?: string | undefined;
36
36
  isPedestrianWay?: boolean | undefined;
37
37
  }, {
38
38
  provenance: string;
39
39
  roadNodeId: string;
40
- classification: "highway" | "major_collector" | "minor_collector" | "residential" | "alley" | "gravel" | "unclassified";
40
+ classification: "alley" | "highway" | "major_collector" | "minor_collector" | "residential" | "gravel" | "unclassified";
41
41
  osmHighwayTag?: string | undefined;
42
42
  isPedestrianWay?: boolean | undefined;
43
43
  }>;
@@ -495,13 +495,13 @@ export declare const BOUNDARY_EDGE_SCHEMA: z.ZodObject<{
495
495
  }, "strict", z.ZodTypeAny, {
496
496
  provenance: string;
497
497
  roadNodeId: string;
498
- classification: "highway" | "major_collector" | "minor_collector" | "residential" | "alley" | "gravel" | "unclassified";
498
+ classification: "alley" | "highway" | "major_collector" | "minor_collector" | "residential" | "gravel" | "unclassified";
499
499
  osmHighwayTag?: string | undefined;
500
500
  isPedestrianWay?: boolean | undefined;
501
501
  }, {
502
502
  provenance: string;
503
503
  roadNodeId: string;
504
- classification: "highway" | "major_collector" | "minor_collector" | "residential" | "alley" | "gravel" | "unclassified";
504
+ classification: "alley" | "highway" | "major_collector" | "minor_collector" | "residential" | "gravel" | "unclassified";
505
505
  osmHighwayTag?: string | undefined;
506
506
  isPedestrianWay?: boolean | undefined;
507
507
  }>>;
@@ -625,7 +625,7 @@ export declare const BOUNDARY_EDGE_SCHEMA: z.ZodObject<{
625
625
  facingRoad: {
626
626
  provenance: string;
627
627
  roadNodeId: string;
628
- classification: "highway" | "major_collector" | "minor_collector" | "residential" | "alley" | "gravel" | "unclassified";
628
+ classification: "alley" | "highway" | "major_collector" | "minor_collector" | "residential" | "gravel" | "unclassified";
629
629
  osmHighwayTag?: string | undefined;
630
630
  isPedestrianWay?: boolean | undefined;
631
631
  } | null;
@@ -722,7 +722,7 @@ export declare const BOUNDARY_EDGE_SCHEMA: z.ZodObject<{
722
722
  facingRoad: {
723
723
  provenance: string;
724
724
  roadNodeId: string;
725
- classification: "highway" | "major_collector" | "minor_collector" | "residential" | "alley" | "gravel" | "unclassified";
725
+ classification: "alley" | "highway" | "major_collector" | "minor_collector" | "residential" | "gravel" | "unclassified";
726
726
  osmHighwayTag?: string | undefined;
727
727
  isPedestrianWay?: boolean | undefined;
728
728
  } | null;
@@ -359,7 +359,7 @@ export declare const BUILDING_FOOTPRINT_SCHEMA: z.ZodEffects<z.ZodObject<{
359
359
  atomTier: AtomTier;
360
360
  parcelNodeId: string;
361
361
  footprintId: string;
362
- sourceTier: "cad-authoritative" | "ml-derived" | "absent";
362
+ sourceTier: "absent" | "cad-authoritative" | "ml-derived";
363
363
  asOf?: string | undefined;
364
364
  readContract?: Readonly<{
365
365
  axes: Readonly<{
@@ -434,7 +434,7 @@ export declare const BUILDING_FOOTPRINT_SCHEMA: z.ZodEffects<z.ZodObject<{
434
434
  atomTier: AtomTier;
435
435
  parcelNodeId: string;
436
436
  footprintId: string;
437
- sourceTier: "cad-authoritative" | "ml-derived" | "absent";
437
+ sourceTier: "absent" | "cad-authoritative" | "ml-derived";
438
438
  asOf?: string | undefined;
439
439
  readContract?: Readonly<{
440
440
  axes: Readonly<{
@@ -509,7 +509,7 @@ export declare const BUILDING_FOOTPRINT_SCHEMA: z.ZodEffects<z.ZodObject<{
509
509
  atomTier: AtomTier;
510
510
  parcelNodeId: string;
511
511
  footprintId: string;
512
- sourceTier: "cad-authoritative" | "ml-derived" | "absent";
512
+ sourceTier: "absent" | "cad-authoritative" | "ml-derived";
513
513
  asOf?: string | undefined;
514
514
  readContract?: Readonly<{
515
515
  axes: Readonly<{
@@ -584,7 +584,7 @@ export declare const BUILDING_FOOTPRINT_SCHEMA: z.ZodEffects<z.ZodObject<{
584
584
  atomTier: AtomTier;
585
585
  parcelNodeId: string;
586
586
  footprintId: string;
587
- sourceTier: "cad-authoritative" | "ml-derived" | "absent";
587
+ sourceTier: "absent" | "cad-authoritative" | "ml-derived";
588
588
  asOf?: string | undefined;
589
589
  readContract?: Readonly<{
590
590
  axes: Readonly<{
@@ -374,7 +374,7 @@ export declare const CAD_PARCEL_ROLL_SCHEMA: z.ZodEffects<z.ZodObject<{
374
374
  };
375
375
  atomTier: AtomTier;
376
376
  parcelNodeId: string;
377
- sourceTier: "cad-authoritative" | "absent";
377
+ sourceTier: "absent" | "cad-authoritative";
378
378
  taxYear: number;
379
379
  joinPassedOwnerMatchGate: boolean;
380
380
  asOf?: string | undefined;
@@ -461,7 +461,7 @@ export declare const CAD_PARCEL_ROLL_SCHEMA: z.ZodEffects<z.ZodObject<{
461
461
  };
462
462
  atomTier: AtomTier;
463
463
  parcelNodeId: string;
464
- sourceTier: "cad-authoritative" | "absent";
464
+ sourceTier: "absent" | "cad-authoritative";
465
465
  taxYear: number;
466
466
  joinPassedOwnerMatchGate: boolean;
467
467
  asOf?: string | undefined;
@@ -548,7 +548,7 @@ export declare const CAD_PARCEL_ROLL_SCHEMA: z.ZodEffects<z.ZodObject<{
548
548
  };
549
549
  atomTier: AtomTier;
550
550
  parcelNodeId: string;
551
- sourceTier: "cad-authoritative" | "absent";
551
+ sourceTier: "absent" | "cad-authoritative";
552
552
  taxYear: number;
553
553
  joinPassedOwnerMatchGate: boolean;
554
554
  asOf?: string | undefined;
@@ -635,7 +635,7 @@ export declare const CAD_PARCEL_ROLL_SCHEMA: z.ZodEffects<z.ZodObject<{
635
635
  };
636
636
  atomTier: AtomTier;
637
637
  parcelNodeId: string;
638
- sourceTier: "cad-authoritative" | "absent";
638
+ sourceTier: "absent" | "cad-authoritative";
639
639
  taxYear: number;
640
640
  joinPassedOwnerMatchGate: boolean;
641
641
  asOf?: string | undefined;
@@ -335,7 +335,7 @@ export declare const LAND_USE_FACT_SCHEMA: z.ZodEffects<z.ZodObject<{
335
335
  };
336
336
  atomTier: AtomTier;
337
337
  parcelNodeId: string;
338
- sourceTier: "cad-authoritative" | "absent";
338
+ sourceTier: "absent" | "cad-authoritative";
339
339
  taxYear: number;
340
340
  asOf?: string | undefined;
341
341
  readContract?: Readonly<{
@@ -404,7 +404,7 @@ export declare const LAND_USE_FACT_SCHEMA: z.ZodEffects<z.ZodObject<{
404
404
  };
405
405
  atomTier: AtomTier;
406
406
  parcelNodeId: string;
407
- sourceTier: "cad-authoritative" | "absent";
407
+ sourceTier: "absent" | "cad-authoritative";
408
408
  taxYear: number;
409
409
  asOf?: string | undefined;
410
410
  readContract?: Readonly<{
@@ -473,7 +473,7 @@ export declare const LAND_USE_FACT_SCHEMA: z.ZodEffects<z.ZodObject<{
473
473
  };
474
474
  atomTier: AtomTier;
475
475
  parcelNodeId: string;
476
- sourceTier: "cad-authoritative" | "absent";
476
+ sourceTier: "absent" | "cad-authoritative";
477
477
  taxYear: number;
478
478
  asOf?: string | undefined;
479
479
  readContract?: Readonly<{
@@ -542,7 +542,7 @@ export declare const LAND_USE_FACT_SCHEMA: z.ZodEffects<z.ZodObject<{
542
542
  };
543
543
  atomTier: AtomTier;
544
544
  parcelNodeId: string;
545
- sourceTier: "cad-authoritative" | "absent";
545
+ sourceTier: "absent" | "cad-authoritative";
546
546
  taxYear: number;
547
547
  asOf?: string | undefined;
548
548
  readContract?: Readonly<{
@@ -407,7 +407,7 @@ export declare const OWNER_FACT_SCHEMA: z.ZodEffects<z.ZodObject<{
407
407
  };
408
408
  atomTier: AtomTier;
409
409
  parcelNodeId: string;
410
- sourceTier: "cad-authoritative" | "absent";
410
+ sourceTier: "absent" | "cad-authoritative";
411
411
  taxYear: number;
412
412
  asOf?: string | undefined;
413
413
  readContract?: Readonly<{
@@ -482,7 +482,7 @@ export declare const OWNER_FACT_SCHEMA: z.ZodEffects<z.ZodObject<{
482
482
  };
483
483
  atomTier: AtomTier;
484
484
  parcelNodeId: string;
485
- sourceTier: "cad-authoritative" | "absent";
485
+ sourceTier: "absent" | "cad-authoritative";
486
486
  taxYear: number;
487
487
  asOf?: string | undefined;
488
488
  readContract?: Readonly<{
@@ -557,7 +557,7 @@ export declare const OWNER_FACT_SCHEMA: z.ZodEffects<z.ZodObject<{
557
557
  };
558
558
  atomTier: AtomTier;
559
559
  parcelNodeId: string;
560
- sourceTier: "cad-authoritative" | "absent";
560
+ sourceTier: "absent" | "cad-authoritative";
561
561
  taxYear: number;
562
562
  asOf?: string | undefined;
563
563
  readContract?: Readonly<{
@@ -632,7 +632,7 @@ export declare const OWNER_FACT_SCHEMA: z.ZodEffects<z.ZodObject<{
632
632
  };
633
633
  atomTier: AtomTier;
634
634
  parcelNodeId: string;
635
- sourceTier: "cad-authoritative" | "absent";
635
+ sourceTier: "absent" | "cad-authoritative";
636
636
  taxYear: number;
637
637
  asOf?: string | undefined;
638
638
  readContract?: Readonly<{
@@ -529,7 +529,7 @@ export declare const ROAD_NODE_SCHEMA: z.ZodObject<{
529
529
  countyFips: string;
530
530
  roadNodeId: string;
531
531
  osmWayId: number;
532
- classification: "highway" | "major_collector" | "minor_collector" | "residential" | "alley" | "gravel" | "unclassified";
532
+ classification: "alley" | "highway" | "major_collector" | "minor_collector" | "residential" | "gravel" | "unclassified";
533
533
  centerline: {
534
534
  type: "LineString";
535
535
  coordinates: [number, number][];
@@ -613,7 +613,7 @@ export declare const ROAD_NODE_SCHEMA: z.ZodObject<{
613
613
  countyFips: string;
614
614
  roadNodeId: string;
615
615
  osmWayId: number;
616
- classification: "highway" | "major_collector" | "minor_collector" | "residential" | "alley" | "gravel" | "unclassified";
616
+ classification: "alley" | "highway" | "major_collector" | "minor_collector" | "residential" | "gravel" | "unclassified";
617
617
  centerline: {
618
618
  type: "LineString";
619
619
  coordinates: [number, number][];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empressaio/atom-contract",
3
- "version": "1.31.0",
3
+ "version": "1.32.0",
4
4
  "description": "The typed-data substrate every Empressa atom satisfies: identity, context interface, composition declaration, and history anchoring. Peer to the Hauska SDK (`@hauska-sdk/*`); consumed directly by every product surface and MCP server.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -78,6 +78,10 @@
78
78
  "types": "./dist/access/index.d.ts",
79
79
  "import": "./dist/access/index.js"
80
80
  },
81
+ "./display": {
82
+ "types": "./dist/display/index.d.ts",
83
+ "import": "./dist/display/index.js"
84
+ },
81
85
  "./package.json": "./package.json"
82
86
  },
83
87
  "files": [