@floless/app 0.137.4 → 0.138.1
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/dist/floless-server.cjs +48371 -27278
- package/dist/internal-workflows/floless-rfi-gmail-send/.floless-owner.json +1 -0
- package/dist/internal-workflows/floless-rfi-gmail-send/floless-rfi-gmail-send.flo +32 -0
- package/dist/schemas/steel.model.v2.schema.json +218 -27
- package/dist/skills/floless-app-knowledge/SKILL.md +5 -2
- package/dist/skills/floless-app-rfi/SKILL.md +410 -0
- package/dist/skills/floless-app-routines/SKILL.md +7 -2
- package/dist/skills/floless-app-routines/references/routines-api.md +14 -5
- package/dist/skills/floless-app-steel-model/SKILL.md +34 -32
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +498 -34
- package/dist/skills/floless-app-steel-takeoff/references/elevation-registration.md +6 -6
- package/dist/skills/floless-app-tweak-contract/SKILL.md +6 -2
- package/dist/templates/floless-workspace-knowledge.flo +20 -4
- package/dist/templates/steel-model.flo +27 -15
- package/dist/web/app.css +559 -131
- package/dist/web/app.js +216 -54
- package/dist/web/aware.js +982 -128
- package/dist/web/checkpoint-standard.js +218 -0
- package/dist/web/commands-filter.js +23 -0
- package/dist/web/commands-shell.js +237 -5
- package/dist/web/commands-steel.js +172 -47
- package/dist/web/connection-review-client.js +2 -2
- package/dist/web/display-units.js +243 -0
- package/dist/web/grid-core.js +470 -56
- package/dist/web/grid-display.js +344 -0
- package/dist/web/index.html +106 -66
- package/dist/web/instructor-reporter.js +5 -0
- package/dist/web/instructor.js +175 -33
- package/dist/web/json-schema-subset.js +145 -25
- package/dist/web/steel-3d-core.js +124 -140
- package/dist/web/steel-3d-view.js +352 -100
- package/dist/web/steel-catalog-picker.js +98 -15
- package/dist/web/steel-detail-refs.js +1 -1
- package/dist/web/steel-editor.html +6458 -915
- package/dist/web/steel-filter.html +404 -57
- package/dist/web/steel-model-adapter.js +1 -1
- package/dist/web/steel-model-commands.js +71 -64
- package/dist/web/steel-model-v2-client-validation.js +10 -3
- package/dist/web/steel-model-v2-commands.js +268 -76
- package/dist/web/steel-model-v2-projection.js +18 -17
- package/dist/web/steel-plan-transform.js +13 -13
- package/dist/web/steel-plan-view-id.js +1 -7
- package/dist/web/steel-read-confidence.js +454 -5
- package/dist/web/steel-units.js +17 -3
- package/dist/web/steel-view-generation.js +21 -7
- package/dist/web/workspaces.js +2178 -497
- package/package.json +4 -1
|
@@ -7,7 +7,7 @@ description: >-
|
|
|
7
7
|
two-phase Drawing Filter process: first prepare and save the deterministic Filter, then read only the
|
|
8
8
|
selected evidence into model-global members, registered plan views, observations, and revision history.
|
|
9
9
|
metadata:
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.50.0
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
# Steel Takeoff — read drawings into `steel.model/v2`
|
|
@@ -127,13 +127,137 @@ The ledger must close all of these inventories:
|
|
|
127
127
|
- the final selected candidate is schema-valid, uses the exact saved Filter, stays within work limits,
|
|
128
128
|
resolves member profiles/elevations honestly, and contains no unaccounted source evidence.
|
|
129
129
|
|
|
130
|
-
Encode that ledger as the closed `steel-read/
|
|
130
|
+
Encode that ledger as the closed `steel-read/v6` attestation fields: `massing`, `layers`,
|
|
131
131
|
`facetExclusions`, `lineDispositions`, `lineDispositionGroups`, `pageReviews`, `references`,
|
|
132
132
|
`candidateDispositions`, and `jointReviews`. POST it with the candidate to `/revision-read/audit`. Treat every blocked check and sample id as mandatory remaining
|
|
133
133
|
work, then repeat until `status: "read-complete"`. Never edit or fabricate a receipt: the server creates
|
|
134
134
|
it from the exact manifest, saved Filter, candidate, proof, project incarnation, base, and generation.
|
|
135
135
|
|
|
136
|
-
###
|
|
136
|
+
### Say the questions out loud — publishing quietly is the failure this whole flow exists to prevent
|
|
137
|
+
|
|
138
|
+
Every audit response carries **`audit.rfis`**: the questions this read could not settle. The server
|
|
139
|
+
derives them from what you stated — you cannot author one, merge two, or leave one out. They are there
|
|
140
|
+
whether the read was refused or went through.
|
|
141
|
+
|
|
142
|
+
The response also carries the response-only sibling **`rfiAnnotations`**, which checks those exact
|
|
143
|
+
questions against the project's durable RFI list without changing the signed audit. Read it before
|
|
144
|
+
asking anything:
|
|
145
|
+
|
|
146
|
+
- When it is `ok: false`, say that FloLess could not check the RFI list. Do not claim a question is
|
|
147
|
+
new, and do not file it until current RFI state can be checked.
|
|
148
|
+
- A `filed` row names the exact record, its persisted lifecycle `status`, its first and latest read
|
|
149
|
+
versions, and what the current cycle already holds. For `open`, `sent`, or `answered`, **do not ask
|
|
150
|
+
the original question again and do not offer to file another RFI**. Tell the user, for example,
|
|
151
|
+
*"Already filed as RFI-007, sent since v2"*, then offer the legal next move: add new information,
|
|
152
|
+
record an answer, or continue working that record.
|
|
153
|
+
- A closed filed row is not suppressed. Say how it closed and use its `recurrence` value: `reopen`
|
|
154
|
+
means continue that record, while `successor` means this recurrence needs a linked new record. Do
|
|
155
|
+
not present either as an unrelated first-time question.
|
|
156
|
+
- `historical-evidence` means one or more older delimiter-ambiguous records may describe the same
|
|
157
|
+
drawing fact, but none is current authority. When `historicalEvidence` names one uniquely, cite it
|
|
158
|
+
only as evidence to inspect. When only `historicalEvidenceCount` is present, say the legacy evidence
|
|
159
|
+
is ambiguous and do not assign any record ID to the question. In both cases keep the present question
|
|
160
|
+
open for the user and never claim the historical record already files it.
|
|
161
|
+
- Only `not-filed` is a confirmed new question. Match rows by the exact `gapKey`; never infer RFI
|
|
162
|
+
state from similar wording, member marks, or array position.
|
|
163
|
+
|
|
164
|
+
**Tell the user about them in the chat, before you move on.** A model published in silence looks
|
|
165
|
+
finished, and the gaps in it are exactly the things a detailer would want to have been asked about. The
|
|
166
|
+
owner's ruling behind this whole design is that the read stays a conversation:
|
|
167
|
+
|
|
168
|
+
> *"You ask in chat a question to the user: hey I can't define the elevation for the beam … then you
|
|
169
|
+
> ask: please provide elevation, or we can create an RFI. The whole point is to chat about it, not hard
|
|
170
|
+
> refuse — if I want hard refuse I would build deterministic code."*
|
|
171
|
+
|
|
172
|
+
How to say it:
|
|
173
|
+
|
|
174
|
+
- **Group by kind, and lead with what changes the model most.** A member with no elevation before a
|
|
175
|
+
layer nobody could classify; a connection that does not fit before a page that would not render.
|
|
176
|
+
- **Name things the way a detailer would** — the mark and the sheet (*"the beam at grid C/3 on S-201"*),
|
|
177
|
+
never an element id or a `gapKey`.
|
|
178
|
+
- **Say WHERE it is, from `at`.** Every question carries `at`: the thing it is about, so the user can go
|
|
179
|
+
and look. A `{"where":"drawing"}` entry names a page of `audit.rfiPages` by its `pageIx` — quote that
|
|
180
|
+
page's sheet and page number (*"S-502, page 9"*). `role: "referenced-sheet"` is the sheet a callout
|
|
181
|
+
points **at** rather than the callout itself, so say so (*"referenced sheet S-502, from the callout on
|
|
182
|
+
S-202"*) and **never call it the detail** — nothing in the read proves which detail on that sheet it
|
|
183
|
+
is. `role: "page"` is a **whole sheet** with no rectangle on it, and which sheet depends on the
|
|
184
|
+
question. On an `unreviewed-page` question it is the sheet **nobody reviewed** (*"S-201 was never
|
|
185
|
+
reviewed"*); on a question about a member it is a sheet you told the audit you **checked** and could
|
|
186
|
+
not settle it from (*"checked S-201; nothing on it settles the size"*). **Never say the thing is
|
|
187
|
+
drawn there, and never call an unreviewed sheet checked** — the two are opposite facts wearing one
|
|
188
|
+
role, and the question's kind is what tells them apart. A `{"where":"model"}` entry
|
|
189
|
+
names a member or connection the user can select in the editor; a
|
|
190
|
+
`{"where":"filter"}` entry is a Drawing Filter row, for a question about a setting no line carries.
|
|
191
|
+
A question with only a model or filter target is one the drawings never showed: say the set does not
|
|
192
|
+
draw it, rather than pointing at a page it is not on.
|
|
193
|
+
- **Summarise at volume.** Two hundred unresolved lines is one sentence with a number, not two hundred
|
|
194
|
+
bullets. `audit.rfisOmitted`, when present, is how many did not fit the report at all — say that
|
|
195
|
+
number rather than implying the list is complete.
|
|
196
|
+
- **Then offer the ways out, and make clear each one still ends with a model:** the user gives you the
|
|
197
|
+
value, you carry it as an RFI, or you proceed on an assumption you state. Ask which.
|
|
198
|
+
|
|
199
|
+
### Carrying one as an RFI — what to actually send
|
|
200
|
+
|
|
201
|
+
When the user cannot answer, the question becomes a **durable record** with a lifecycle, like an issue
|
|
202
|
+
on GitHub: it stands open, it can be sent to the Engineer of Record, answered days later, and closed.
|
|
203
|
+
It is not a note in the chat and not a line in the audit — it survives the read.
|
|
204
|
+
|
|
205
|
+
Send the gaps the user could not answer on the `revision-read` submit, for both a first read and a
|
|
206
|
+
re-read, as `rfiSelection`:
|
|
207
|
+
|
|
208
|
+
```json
|
|
209
|
+
{
|
|
210
|
+
"requestId": "<the same requestId you sent to /revision-read/audit>",
|
|
211
|
+
"gaps": [
|
|
212
|
+
{
|
|
213
|
+
"gapKey": "<copy it verbatim from the audit row>",
|
|
214
|
+
"proposed": "What the model now embodies, in a sentence.",
|
|
215
|
+
"tried": "What you already checked, so nobody repeats it."
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
- **Only the gaps the user could not answer.** A question the user ANSWERED in chat must not appear:
|
|
222
|
+
you asked, they answered, and the model carries the answer. Sending everything the audit raised
|
|
223
|
+
would file questions that are already settled and make the RFI list a copy of the audit, which is
|
|
224
|
+
precisely what it is not.
|
|
225
|
+
- **`gapKey` verbatim.** The server refuses a key this read does not raise, and names it; that means
|
|
226
|
+
re-audit and ask again, never quietly drop it.
|
|
227
|
+
- **`proposed` says what the model DID.** The owner's rule is that the user always ends with a model,
|
|
228
|
+
so an RFI that does not say what was assumed in the meantime is a question without its consequence.
|
|
229
|
+
`tried` is what you already checked.
|
|
230
|
+
- **A first-read response tells you what was filed** — `rfis: [{ gapKey, result, rfiId }]`, where `result` is
|
|
231
|
+
`created`, `reused`, `reopened`, `successor`, `already-seeded`, `unplaceable` or `over-capacity`.
|
|
232
|
+
**Say it back to the user**: *"Filed as RFI-001: what size is the beam at C/3 on S-201."* A record
|
|
233
|
+
created in silence is the same silence this whole flow exists to prevent. `unplaceable` means the
|
|
234
|
+
question could not be tied to a drawing, a model object or a Filter row and was NOT filed — say so.
|
|
235
|
+
- **If the response contains `rfiFailure`, the model already published. Do not re-read or re-submit it.**
|
|
236
|
+
POST the exact original `rfiSelection` to
|
|
237
|
+
`/api/projects/<projectId>/versions/<versionN>/rfis`. Preserve the request id, gap order, keys,
|
|
238
|
+
`proposed`, and `tried` byte-for-byte in meaning; for an omission-only failure with no submitted
|
|
239
|
+
selection, send `{ "requestId": "<the read request id>", "gaps": [] }`. The server proves the
|
|
240
|
+
selection against that version's stored audit and retry receipt, and a repeat is safe. A 409 is a
|
|
241
|
+
refusal to trust the retry — quote it and stop rather than changing the list. A 503 may be retried
|
|
242
|
+
later with the same body.
|
|
243
|
+
- **A re-read binds the exact choice to its staged review.** Its submit response shows the carried
|
|
244
|
+
count in `staged.rfiSelection`; the browser's Apply step publishes the version and reports which
|
|
245
|
+
records were created or reused. A selected gap that the human's accepted changes remove is reported
|
|
246
|
+
as `not-in-report` and is not filed. A gap that appears only after those choices is returned in
|
|
247
|
+
`unaskedRfis` and is neither asked nor filed automatically.
|
|
248
|
+
- **A changed staged review invalidates the earlier choice.** When the current staged summary says
|
|
249
|
+
`rfiSelection.decision: "required"`, submit the choice again against that exact current stage with
|
|
250
|
+
`If-Match-Stage`, including an explicit empty `gaps: []` when everything was answered. Never rebind
|
|
251
|
+
stage A's choice to stage B or tell the user to Apply while the decision is required.
|
|
252
|
+
- **`rfisOmitted` questions cannot be filed at all** — they never reached the report. Say the number.
|
|
253
|
+
- If the RFI file is quarantined the submit is refused with both ways forward: publish without the
|
|
254
|
+
questions, or repair the file. Neither costs the user the model.
|
|
255
|
+
|
|
256
|
+
Do **not** treat a question as a reason to withhold the model, and do not go quiet because the audit
|
|
257
|
+
came back `read-complete` — `read-complete` means *publishable with questions attached*, not *nothing
|
|
258
|
+
left to ask*.
|
|
259
|
+
|
|
260
|
+
### What `steel-read/v6` requires
|
|
137
261
|
|
|
138
262
|
The manifest GET returns derived fields you cannot compute yourself. Copy them exactly; do not guess,
|
|
139
263
|
recompute, or omit them.
|
|
@@ -141,8 +265,33 @@ recompute, or omit them.
|
|
|
141
265
|
- **`pageShards`** — one `{ pageId, candidateShardHash, candidateCount }` per manifest page. Give every
|
|
142
266
|
page **exactly one** review: `{ pageId, kind: "whole", candidateShardHash, note }`. No second review
|
|
143
267
|
per page, no `bbox`, no `elementIds` — the shard already binds the page's bounds and its whole
|
|
144
|
-
candidate set. A
|
|
145
|
-
|
|
268
|
+
candidate set. A duplicate `pageId`, a foreign `pageId`, or a hash from another page or an older
|
|
269
|
+
manifest still blocks `visual-coverage`: a wrong hash means you were holding a different manifest,
|
|
270
|
+
which uncertainty cannot excuse. If you genuinely **could not review** a page — it will not render,
|
|
271
|
+
it is a scan too poor to read — say `kind: "unreviewed"` with a note saying why, and still copy its
|
|
272
|
+
real `candidateShardHash`. That publishes the model with a question against that sheet instead of
|
|
273
|
+
refusing the read. Omitting the page entirely does the same thing but records that nobody said why,
|
|
274
|
+
so say why.
|
|
275
|
+
- **`unaccounted`** — present only when this manifest holds pages its saved Drawing Filter cannot
|
|
276
|
+
account for. When it is there, **the ledger-derived figures are not**: `unaccounted.withheld` names
|
|
277
|
+
exactly which ones are missing, and nothing else about the response has been narrowed — the manifest,
|
|
278
|
+
`pageShards`, `sourceSetDigest` and `referenceCandidates` are all still there and still worth working
|
|
279
|
+
from. Do **not** invent the withheld counts; you cannot compute them and the audit would refuse them.
|
|
280
|
+
Instead read `unaccounted.questions`: each row names a `pageId`, the `sheets` involved and a plain
|
|
281
|
+
`question`. **Put every row whose `answerable` is `true` to the user** — which sheet a page really is,
|
|
282
|
+
which of two sheets claims it, whether a changed drawing is the one to read — and act on the answer
|
|
283
|
+
(usually: fix the Drawing Filter and re-save it, or regenerate this request's steel manifest). A row
|
|
284
|
+
whose `answerable` is `false` is one no answer of theirs would settle — read that row's own `why`
|
|
285
|
+
for what *would*, and never apply one blanket remedy. Two shapes reach it: a page the scan did not
|
|
286
|
+
classify as a model page is fixed by **reclassifying it in the Drawing Filter** (regenerating the
|
|
287
|
+
manifest reproduces the same classification and loops), while a fault in the stored manifest — a
|
|
288
|
+
candidate whose page is missing, whose element is unreadable, or whose kind disagrees with it — is
|
|
289
|
+
fixed by regenerating. Tell the user which of the two they have. **Regeneration is not always
|
|
290
|
+
available:** `POST …/steel-manifest` is refused `409 revision-filter-prepared` when this request has
|
|
291
|
+
already published its Filter checkpoint and the saved Filter still matches the manifest's own copy of
|
|
292
|
+
it. If that happens, stop and relay the questions — retrying cannot change that answer. `pageCount`/`candidateCount` are the whole
|
|
293
|
+
population even when `truncated` is `true` and the list you were shown is shorter.
|
|
294
|
+
|
|
146
295
|
- **`layerLineCounts`** — each `layers[]` row carries `lineCounts: { model, evidence }`, the number of
|
|
147
296
|
ledger lines that layer holds on model pages and on evidence-only pages. The server recomputes both
|
|
148
297
|
and `layer-census` blocks on any mismatch. A layer with non-zero counts on **both** roles means one
|
|
@@ -169,26 +318,71 @@ recompute, or omit them.
|
|
|
169
318
|
|
|
170
319
|
`facetExclusions[]` is the thickness/colour sibling of `layers[]`: a dismissal decided on a dimension
|
|
171
320
|
with no semantic name — `0.2 pt` says nothing about whether it is steel. Each row is
|
|
172
|
-
`{ dim, value, disposition, note, lineCounts }`, with the same
|
|
321
|
+
`{ dim, value, disposition, note, lineCounts }`, with the same six dispositions `layers[]` uses.
|
|
173
322
|
Attest `member` or `mixed` when a band really does carry steel: that is not a failure, it is the
|
|
174
323
|
mechanism, and every line failing that dimension on that value then needs its own row.
|
|
175
324
|
|
|
176
|
-
|
|
177
|
-
|
|
325
|
+
### When you cannot classify something, SAY SO — do not guess and do not go silent
|
|
326
|
+
|
|
327
|
+
`layers[]` and `facetExclusions[]` both take `disposition: "unresolved"`, and `pageReviews[]` takes
|
|
328
|
+
`kind: "unreviewed"`. Use them whenever the drawings genuinely do not tell you: a layer whose linework
|
|
329
|
+
you cannot separate from the slab edge, a line weight you cannot attribute, a page you cannot read.
|
|
330
|
+
|
|
331
|
+
**This is not a fallback for being unsure enough to bother.** It is the honest answer, and it is
|
|
332
|
+
better than both alternatives. Guessing `annotation` on a layer that holds steel deletes real members
|
|
333
|
+
from the model, silently. Omitting the row is worse than saying `unresolved`, because the read still
|
|
334
|
+
publishes but nobody learns why: the question is raised either way, and only your note can explain it.
|
|
335
|
+
|
|
336
|
+
Each one publishes a plain-English question against the model instead of stopping it. Write the `note`
|
|
337
|
+
as the reason a person needs — *"greyed-out linework, could be existing steel or could be a background
|
|
338
|
+
xref"* — never `TBD`, `unknown` or `n/a`, which are read as saying nothing at all.
|
|
339
|
+
|
|
340
|
+
**`unresolved` does NOT open the exclusion shorthand.** It sits outside it exactly as `member` and
|
|
341
|
+
`mixed` do: a value you could not classify cannot justify dismissing anything, so every line failing
|
|
342
|
+
that dimension still needs its own row — which may itself be `disposition: "unresolved"` with a
|
|
343
|
+
reason. If admitting uncertainty dismissed lines wholesale, it would be a way to skip the work.
|
|
344
|
+
|
|
345
|
+
**A line you simply never mention publishes too — and that is the weakest outcome available to you.**
|
|
346
|
+
A candidate line with no observation and no written row no longer stops the read; it becomes a question
|
|
347
|
+
against its sheet, saying how many lines and why. Do not read that as permission. The question carries
|
|
348
|
+
an exact count and a BOUNDED sample of line ids per sheet and cause — never all of them — so past that
|
|
349
|
+
bound the lines you left out reach the user as a number and nothing else, with no way back to a place
|
|
350
|
+
on a drawing. A `lineDispositions[]` row with a real reason, or `disposition: "unresolved"` with a note,
|
|
351
|
+
is a question someone can answer; silence is a question about linework nobody can find.
|
|
352
|
+
|
|
353
|
+
A `steel-read/v1` through `steel-read/v5` attestation is refused outright with no migration: re-run
|
|
354
|
+
the read so this shape is emitted.
|
|
355
|
+
|
|
356
|
+
For every resolved `references[]` row, keep the existing `targetPageId`. When the drawing identifies a
|
|
357
|
+
specific destination detail, also state `targetDetail: { tag, region }`: the human-readable detail tag
|
|
358
|
+
and the full detail-cell extent in the manifest page's coordinate space. When a reference marker is
|
|
359
|
+
itself inside a detail, state that containing cell as `sourceDetail: { tag, region }`. A plan callout
|
|
360
|
+
normally has no `sourceDetail`; a missing reference may carry its source detail but never a target.
|
|
361
|
+
|
|
362
|
+
These locators are observations made while reading the drawing. Do not substitute the small tag-text
|
|
363
|
+
box for the full detail cell, do not infer a cell from server geometry, and do not invent one when the
|
|
364
|
+
sheet is raster or ambiguous. Omit the locator and keep the honest page-only reference in that case.
|
|
365
|
+
The server checks page ownership, raw bounds, marker containment and repeated-locator consistency; it
|
|
366
|
+
does not certify that a tag semantically names the detail. A valid source detail lets FloLess follow
|
|
367
|
+
only that detail's own outgoing references to a fixed point. Any non-zero qualification or traversal
|
|
368
|
+
capacity count means that transitive navigation is incomplete: tell the user exact highlighting is
|
|
369
|
+
unavailable for affected branches and never claim the whole chain was followed.
|
|
178
370
|
|
|
179
371
|
The whole closed shape, with every optional field shown (the two 64-hex placeholders below stand for
|
|
180
372
|
the real `candidateShardHash` from `pageShards` and the real joint `dependencyHash`):
|
|
181
373
|
|
|
182
374
|
```json
|
|
183
375
|
{
|
|
184
|
-
"version":
|
|
376
|
+
"version": 6,
|
|
185
377
|
"massing": { "buildingCount": 1, "summary": "One two-storey steel-framed building." },
|
|
186
378
|
"layers": [
|
|
187
|
-
{ "layer": "S-BEAM", "disposition": "member", "note": "Primary framing linework.", "lineCounts": { "model": 128, "evidence": 0 } }
|
|
379
|
+
{ "layer": "S-BEAM", "disposition": "member", "note": "Primary framing linework.", "lineCounts": { "model": 128, "evidence": 0 } },
|
|
380
|
+
{ "layer": "X-MISC", "disposition": "unresolved", "note": "Thin linework running with the slab edge; could be edge angle or could be the edge itself.", "lineCounts": { "model": 42, "evidence": 0 } }
|
|
188
381
|
],
|
|
189
382
|
"facetExclusions": [
|
|
190
383
|
{ "dim": "thickness", "value": 0.2, "disposition": "annotation", "note": "Hatch, ticks and leader work.", "lineCounts": { "model": 25937, "evidence": 1591 } },
|
|
191
|
-
{ "dim": "color", "value": "#9f9f9f", "disposition": "existing", "note": "Greyed-out existing construction.", "lineCounts": { "model": 4200, "evidence": 438 } }
|
|
384
|
+
{ "dim": "color", "value": "#9f9f9f", "disposition": "existing", "note": "Greyed-out existing construction.", "lineCounts": { "model": 4200, "evidence": 438 } },
|
|
385
|
+
{ "dim": "thickness", "value": 0.35, "disposition": "unresolved", "note": "Carries both bracing and dimension witness lines on different sheets; could not separate them.", "lineCounts": { "model": 611, "evidence": 74 } }
|
|
192
386
|
],
|
|
193
387
|
"lineDispositions": [
|
|
194
388
|
{ "elementId": "<line id A>", "disposition": "annotation", "reason": "Dimension leader." },
|
|
@@ -199,11 +393,13 @@ the real `candidateShardHash` from `pageShards` and the real joint `dependencyHa
|
|
|
199
393
|
{ "disposition": "duplicate", "reason": "Coincident re-draws of the canonical grid line.", "duplicateOf": "<line id A>", "elementIds": ["<line id E>", "<line id F>"] }
|
|
200
394
|
],
|
|
201
395
|
"pageReviews": [
|
|
202
|
-
{ "pageId": "<manifest page id>", "kind": "whole", "candidateShardHash": "0000000000000000000000000000000000000000000000000000000000000000", "note": "Reviewed the whole sheet against its candidate shard." }
|
|
396
|
+
{ "pageId": "<manifest page id>", "kind": "whole", "candidateShardHash": "0000000000000000000000000000000000000000000000000000000000000000", "note": "Reviewed the whole sheet against its candidate shard." },
|
|
397
|
+
{ "pageId": "<manifest page id 2>", "kind": "unreviewed", "candidateShardHash": "0000000000000000000000000000000000000000000000000000000000000000", "note": "Scanned at too low a resolution to read; the linework is illegible at every zoom." }
|
|
203
398
|
],
|
|
204
399
|
"references": [
|
|
205
|
-
{ "elementId": "<marker id
|
|
206
|
-
{ "elementId": "<marker id
|
|
400
|
+
{ "elementId": "<plan marker id>", "status": "resolved", "targetPageId": "<detail page id>", "targetDetail": { "tag": "7/S5.2", "region": [120.0, 80.0, 420.0, 310.0] } },
|
|
401
|
+
{ "elementId": "<detail marker id>", "status": "resolved", "targetPageId": "<schedule page id>", "sourceDetail": { "tag": "7/S5.2", "region": [120.0, 80.0, 420.0, 310.0] }, "targetDetail": { "tag": "GENERAL NOTES", "region": [40.0, 40.0, 560.0, 760.0] } },
|
|
402
|
+
{ "elementId": "<marker id B>", "status": "missing", "sourceDetail": { "tag": "7/S5.2", "region": [120.0, 80.0, 420.0, 310.0] }, "reason": "Sheet S-503 is not in the set." }
|
|
207
403
|
],
|
|
208
404
|
"candidateDispositions": [
|
|
209
405
|
{ "elementId": "<marker id C>", "disposition": "modeled", "reason": "Built as a shear tab.", "jointId": "j-1" },
|
|
@@ -333,14 +529,108 @@ Read every kept Filter element in context. An element the saved Filter excluded
|
|
|
333
529
|
changed member. If a needed label or line was filtered out, stop and ask the user to adjust and save the
|
|
334
530
|
Filter; never silently broaden it.
|
|
335
531
|
|
|
532
|
+
### Build the design-set knowledge first — this step is mandatory and the server enforces it
|
|
533
|
+
|
|
534
|
+
**Before you read a single member, build a context from the WHOLE design set and record it.** A read
|
|
535
|
+
that starts at the framing plan reaches confident wrong answers, and the failure is silent: the number
|
|
536
|
+
looks plausible, so nothing catches it.
|
|
537
|
+
|
|
538
|
+
On one 18-sheet set the top-of-steel rule was spread across **six** sheets: the abbreviations sheet
|
|
539
|
+
defined the symbol, a plan note said *"top of steel elevation is as noted on plan"* while that plan
|
|
540
|
+
noted nothing, and only the frame elevations closed it. **An illustration of the spread, not a pattern
|
|
541
|
+
to match** — the next set will divide the same information differently.
|
|
542
|
+
|
|
543
|
+
Sequence, and the order is the point:
|
|
544
|
+
|
|
545
|
+
1. `GET …/steel-manifest`. It publishes `sourceSetDigest` and one `candidateShardHash` per page —
|
|
546
|
+
you cannot compute either, so take them from here.
|
|
547
|
+
2. **Read the set.** Index, abbreviations and legend, general notes, typical details, schedules,
|
|
548
|
+
elevations and sections — then the plans. `reading-structural-drawings` owns this discipline
|
|
549
|
+
(its Pass 0); do not re-derive it.
|
|
550
|
+
3. Compose the `set-knowledge/v1` artifact and `POST` it to `…/set-knowledge` with
|
|
551
|
+
`{ expectedManifestHash, knowledge }`.
|
|
552
|
+
4. Only then read members.
|
|
553
|
+
|
|
554
|
+
**The audit and the final commit both refuse without it** (`steel-set-knowledge-missing`), so this is
|
|
555
|
+
not advice you can defer and catch up on later.
|
|
556
|
+
|
|
557
|
+
#### What the artifact must contain, and what the server actually checks
|
|
558
|
+
|
|
559
|
+
The server does **not** check the JSON's shape — that would prove nothing, since you fill it in. It
|
|
560
|
+
checks the claims:
|
|
561
|
+
|
|
562
|
+
- **Every page of the manifest appears exactly once**, with a `role` and a plain-English `note`.
|
|
563
|
+
- **Every claim quotes the drawing and names the elements that carry the quote.** A citation is
|
|
564
|
+
`{ sourceHash, pageId, elementIds, quote }`; the server re-reads those elements' text for your
|
|
565
|
+
quote. Quote **verbatim** — case, spacing and typographic prime/quote characters are forgiven,
|
|
566
|
+
wording is not.
|
|
567
|
+
- **A row's own assertions are checked too.** An `abbreviations` row must cite elements carrying both
|
|
568
|
+
the `code` and what it `means`; a `datums` row both the level `name` and its `as_drawn` value; a
|
|
569
|
+
`governingNotes` row the note's `text`; a `scheduleRows` row both its `key` and its `value`. Citing a
|
|
570
|
+
real element for an invented meaning is refused.
|
|
571
|
+
- **When a member's size comes from a schedule table rather than from the member, write the row down.**
|
|
572
|
+
`scheduleRows[]` is `{ key, value, cite }` — `B1` → `203x133x25 UKB` — and it is how a size lifted
|
|
573
|
+
off a table stops being an unciteable claim. Write the value as a **complete designation** the
|
|
574
|
+
catalogue can resolve (`203x133x25 UKB`, not the bare `203x133x25`): a fragment resolves to nothing
|
|
575
|
+
and raises a question against the row. The key and the size are usually two separate elements, so
|
|
576
|
+
cite both.
|
|
577
|
+
**It is optional and it is not a coverage obligation** — write a row for a mark whose size you took
|
|
578
|
+
from a schedule, and nothing more. A mark with no schedule row (`ETB`, `ESB` on a real set) is not a
|
|
579
|
+
gap here; if you cannot tell what size it is, ask, and let the unresolved member raise its own
|
|
580
|
+
question. **Duplicate keys are allowed** — two buildings can each have a `B1` — so record what each
|
|
581
|
+
table says rather than trying to reconcile them.
|
|
582
|
+
The server then checks every member whose mark matches a row against that row, and **asks** when
|
|
583
|
+
they disagree. It never blocks, and it treats a legacy family name and its modern equivalent as the
|
|
584
|
+
same section (`UC305x305x97` and `UKC305x305x97`), so do not "modernise" what the sheet says.
|
|
585
|
+
- **A value split across two text spans is normal** — quote it and cite *both* elements. Roughly a
|
|
586
|
+
third of real feet-and-inch values are not in any single span.
|
|
587
|
+
- **A page you found nothing on carries `noneFound` with that page's `candidateShardHash`**, not a
|
|
588
|
+
citation. Only `not-structural` and `image-only` may do this.
|
|
589
|
+
- **`not-structural` is refused on a sheet the server classified as structural**, and **`image-only` is
|
|
590
|
+
refused on a sheet that carries any extractable text.** On a readable structural sheet the only
|
|
591
|
+
thing that passes is reading it.
|
|
592
|
+
- **If the set carries no extractable text at all** — stroke-plotted and scanned sets are common —
|
|
593
|
+
receipt every page as `image-only` and say in `open[]` what that leaves unanswered.
|
|
594
|
+
- **`open[]` is where a question the set does not answer goes**, naming the pages you checked by
|
|
595
|
+
`pageId`. A reference resolving outside this request's own PDFs (*"see architectural drawings"*) is
|
|
596
|
+
an `open[]` row naming the missing discipline — a legitimate terminus, not a
|
|
597
|
+
failure, and different from not having looked.
|
|
598
|
+
- `datums[].worldZ_mm` is your conversion and the server does **not** verify it against `as_drawn`.
|
|
599
|
+
There is no notation parser and there will not be one — sets state elevations too many different
|
|
600
|
+
ways for one. Getting it right is on you.
|
|
601
|
+
|
|
602
|
+
#### The honest limit of this step
|
|
603
|
+
|
|
604
|
+
The server can prove the artifact **exists**, is grounded in these exact sources, and is current at
|
|
605
|
+
audit and at commit. It **cannot** prove you built it before you read the members. Building it first is
|
|
606
|
+
the discipline; the gate only stops you finishing without it. Writing it afterwards to clear the
|
|
607
|
+
refusal produces exactly the confident wrong answer the step exists to prevent.
|
|
608
|
+
|
|
336
609
|
### Grid and plan registration
|
|
337
610
|
|
|
338
|
-
Author one top-level model grid in world millimetres
|
|
611
|
+
Author one top-level model grid in world millimetres — and author its SPACING STRINGS in the units the
|
|
612
|
+
drawing states. The notation takes feet-inches (`25'-0"`), bare inches (`6"`), metres (`7.5m`) and bare or
|
|
613
|
+
suffixed millimetres (`6000`, `6000mm`), mixed freely, and every one of them parses to millimetres. On a
|
|
614
|
+
metric job write millimetres: feet-inches resolves only to a sixteenth of an inch, so a 6000 mm bay
|
|
615
|
+
written that way comes back as 6000.75, and the error compounds along the run. The same applies to
|
|
616
|
+
`grid.z` levels (`"0, 4200"`). Axis ids are stable and model-global, and a
|
|
339
617
|
registration control names an id, never the editable bubble label — an axis without a label of its own
|
|
340
618
|
takes a positional auto-name, so a label-keyed control silently matches the wrong gridline and puts the
|
|
341
619
|
model metres out. Never read axis direction from whether an id is a letter.
|
|
342
620
|
|
|
343
|
-
|
|
621
|
+
**X/Y start with an offset, then gaps.** In `grid.x` and `grid.y`, the first entry is the first
|
|
622
|
+
grid line's signed offset from `grid.origin`; later entries are positive gaps between consecutive
|
|
623
|
+
lines. After expanding repetitions, N axes need N entries: one starting offset and N-1 gaps.
|
|
624
|
+
For ten lines starting at the origin with 25-foot bays, write `0'-0", 9*25'-0"` (metric equivalent:
|
|
625
|
+
`0mm, 9*7620mm`). Writing `10*25'-0"` also gives ten entries, but puts the first line 7620 mm from
|
|
626
|
+
the origin and shifts the whole run by one bay. Do not append a gap merely to satisfy an axis-count
|
|
627
|
+
error. Preserve intentional positive or negative starting offsets; use zero only when the first line
|
|
628
|
+
belongs at the origin. Check the expanded first and last positions against the drawing, not only the
|
|
629
|
+
count. If the starting offset is unclear, ask the user where the first line belongs, naming the sheet
|
|
630
|
+
and grid line with a link to the drawing; propose zero only as a stated option for them to confirm.
|
|
631
|
+
`grid.z` is different: its entries are absolute elevations, not cumulative gaps.
|
|
632
|
+
|
|
633
|
+
Every plan view must declare `viewKind: "plan"`, `sheet`, `elevation_mm`, `mm_per_px` and two
|
|
344
634
|
non-coincident registration controls:
|
|
345
635
|
|
|
346
636
|
- `datum_at`: the display point of the chosen datum intersection;
|
|
@@ -348,18 +638,98 @@ non-coincident registration controls:
|
|
|
348
638
|
- `control2_at`: the display point of a second grid intersection;
|
|
349
639
|
- `control2_ref`: that intersection's `{xAxisId, yAxisId}` axis ids.
|
|
350
640
|
|
|
351
|
-
|
|
641
|
+
**Prefer the server's proposal where there is one.** The manifest response carries `scaleProposals`,
|
|
642
|
+
one row per plan page: the same fit, computed deterministically over EVERY printed dimension string
|
|
643
|
+
between that sheet's grid bubbles instead of the two runs you would pick by eye. Each row's
|
|
644
|
+
`outcome.action` tells you what to do with it, and you follow that — `author` (use
|
|
645
|
+
`outcome.mmPerPx`, and say in the chat which standard it is and how many dimension strings agreed),
|
|
646
|
+
`ask-and-confirm` (show the user the number and the sheet, and use it only if they confirm —
|
|
647
|
+
**which fact they are confirming depends on `outcome.decidedBy`**, so read that before you describe it),
|
|
648
|
+
`ask-and-wait` (put the
|
|
649
|
+
question in the chat with the sheet named and `outcome.candidates` listed — each carries only a standard,
|
|
650
|
+
an `mmPerPx` and a support count, so quote those rather than describing evidence you were not given — and wait — a hand
|
|
651
|
+
measurement from the user is a legitimate answer you then author), `fallback-hand-fit` (nothing a user
|
|
652
|
+
could answer would help, so derive it by hand as below and do not ask), `report-defect` (say so).
|
|
653
|
+
|
|
654
|
+
**`bubbleTokenQuestion` is the one thing on a row that `outcome.action` does NOT govern.** It sits
|
|
655
|
+
beside the outcome rather than inside it, and you raise it even on `fallback-hand-fit` — that action
|
|
656
|
+
silences the question about the SCALE, and this is a question about the GRID. It appears when every
|
|
657
|
+
circle on the sheet holding more than one text repeats the same token, which means the grid can be
|
|
658
|
+
read two ways and nothing in the drawing data settles which: the token may be a zone or building code
|
|
659
|
+
drawn beside each grid reference (the ISO 19650 convention), or it may be the sheet that a row of
|
|
660
|
+
detail callouts points at. The two look identical from circles and text alone, so a person decides.
|
|
661
|
+
|
|
662
|
+
Ask **one** question, naming the sheet, the token(s) and `bubbleCount`, and offer answers that are
|
|
663
|
+
mutually exclusive:
|
|
664
|
+
|
|
665
|
+
1. one named candidate token is the **contextual** one, to be ignored when reading the grid label
|
|
666
|
+
beside it (with two candidates, ask which of the two — never as two separate yes/no questions,
|
|
667
|
+
because stripping one and stripping the other give grids that cannot both be right);
|
|
668
|
+
2. **do not use these circles as grid bubbles** — they are callouts, or something else. Say it that
|
|
669
|
+
way rather than "this sheet has no grid": the sheet may carry a grid elsewhere that this question
|
|
670
|
+
is not about, and telling the user otherwise would be untrue about their drawing;
|
|
671
|
+
3. **neither** — the two texts together form one grid label, or the office uses a convention neither
|
|
672
|
+
answer describes. Ask what that convention is and follow it.
|
|
673
|
+
|
|
674
|
+
Offer all three. A forced choice between two readings that happen to both be wrong would put back
|
|
675
|
+
exactly the wrong grid this question exists to prevent.
|
|
676
|
+
|
|
677
|
+
Each candidate carries `wouldRead`, a **preview** of the grid that reading would give — labels only,
|
|
678
|
+
no coordinates, and capped. Show it; never copy it as the grid. Once the user has answered, go back
|
|
679
|
+
to the sheet and read the matching bubbles and their positions from the drawing. Because it is
|
|
680
|
+
capped, say what is missing: whenever a family's `labelsTotal` exceeds the labels shown, or
|
|
681
|
+
`wouldReadTotal` exceeds the families shown, state how many are not listed. An empty `wouldRead` with
|
|
682
|
+
a positive `wouldReadTotal` means the preview **could not be shown** — its labels are too long to
|
|
683
|
+
carry — and never that the reading yields nothing. Somebody deciding from four of five families
|
|
684
|
+
without being told is deciding from evidence they believe is complete.
|
|
685
|
+
|
|
686
|
+
**Wait for the answer** before using any candidate label or the bubbles behind it. Other work on that
|
|
687
|
+
sheet may go on only where it does not depend on which reading is right, which on a sheet whose grid
|
|
688
|
+
is the open question is usually very little. And confirming a token settles the **grid**, not the
|
|
689
|
+
scale: you still derive `mm_per_px` yourself, and the two-control 2 pt proof is unchanged.
|
|
690
|
+
|
|
691
|
+
**The two `ask-and-confirm` arms are different facts about the drawing, and saying the wrong one is
|
|
692
|
+
untrue rather than merely vague.** `printed-unverified` means only the printed note claims a scale and
|
|
693
|
+
the sheet's own dimensions do not corroborate it. `metric-unverified` is the opposite case and is
|
|
694
|
+
metric: the dimension strings DO agree on a value, inside the band the sheet's printed `1:N` ratio
|
|
695
|
+
opens, and a person still confirms because nothing automatic can tell a genuine dimension chain apart
|
|
696
|
+
from a coincidence assembled out of a neighbouring row of dimensions. **A metric sheet never reaches
|
|
697
|
+
`author`, however well its dimensions agree.**
|
|
698
|
+
|
|
699
|
+
On a `metric-unverified` row, quote `outcome.standard`, `outcome.unit` (whether the sheet's bare
|
|
700
|
+
numbers were read as millimetres or centimetres — real sets use either, and the difference is a factor
|
|
701
|
+
of ten), and `outcome.plottedAtPct` (how far the drawn content sits from that ratio: a real metric
|
|
702
|
+
sheet is often several percent off its own printed scale, and a page can be a reduction of the paper
|
|
703
|
+
it was plotted on). Say whether `outcome.chains.x` / `.y` report `anchoredByOverall` — a printed
|
|
704
|
+
overall dimension matching the chain is the strongest corroboration the sheet offers, and **its
|
|
705
|
+
absence is something to say plainly, not a detail to skip**. Name every `outcome.runnersUp` row: a
|
|
706
|
+
competing reading at exactly half the value is the failure this arm exists to put in front of a
|
|
707
|
+
person. A metric sheet whose readings could not be separated asks instead, carrying
|
|
708
|
+
`outcome.metricCandidates` — those rows each name their unit, and dropping the unit makes the question
|
|
709
|
+
unanswerable.
|
|
710
|
+
An ABSENT `scaleProposals` means the manifest predates the proposer and every scale is yours to derive.
|
|
711
|
+
**The proposal never replaces the proof:** the two-control `2 pt` check below is unchanged and still
|
|
712
|
+
required, and where a proposed value fails it, the proof wins.
|
|
713
|
+
|
|
714
|
+
On an initial read, before saving the Filter shell, derive each framing-plan sheet's effective `mm_per_px`
|
|
352
715
|
from the measured display spans of two widely separated, non-parallel labelled grid runs (normally one X
|
|
353
716
|
and one Y) and their printed grid dimensions. Never inherit scale from an older contract or infer
|
|
354
717
|
it from a grid whose dimensions were themselves derived using that scale. Fit the persisted value deterministically
|
|
355
|
-
from both runs
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
718
|
+
from both runs, **in millimetres, whatever the sheet is dimensioned in** — `mm_per_px` is a
|
|
719
|
+
millimetres-per-point quantity and has no imperial form. For printed lengths `w[i]` converted to
|
|
720
|
+
millimetres and spans `p[i]` in points: `mm_per_px = round(sum(w[i]^2)/sum(w[i]*p[i]), 6)`. Re-read or
|
|
721
|
+
refuse when either predicted span `w[i]/mm_per_px` differs from its measured span by more than `2 pt`;
|
|
722
|
+
one `mm_per_px` cannot represent greater non-uniform distortion. (For an imperial sheet with lengths
|
|
723
|
+
`f[i]` in feet this is exactly the older `304.8*sum(f^2)/sum(f*p)` — substituting `w = 304.8f` cancels
|
|
724
|
+
the constant — so no US read changes. It is written in millimetres because a metric sheet has no feet to
|
|
725
|
+
put in the old one.) A scale annotation inside the selected plan evidence is a nominal cross-check only.
|
|
726
|
+
An imperial title block states points per foot: `72 × paper inches/ft` — `1/4"=1'-0"` is `18 pt/ft`. A
|
|
727
|
+
metric one states a RATIO: `1:N` means `mm_per_px = N × 25.4/72`, so `1:100` is `35.277778` and `1:50` is
|
|
728
|
+
`17.638889`. Convert whichever you find, and check it against the fit rather than adopting it. Never rasterize an excluded title block for scale. PDFs are often replotted, so when nominal and derived
|
|
359
729
|
values disagree the printed dimensions win; record the effective scale. Convert each checked printed run to millimetres and assert the
|
|
360
730
|
corresponding root-grid intersections have that same world separation; the PDF registration alone is not
|
|
361
731
|
proof, because its fitted scale can cancel an incorrect world grid. Use one checked run's endpoints as `datum_at` and `control2_at`. Before freezing the shell, verify that their display
|
|
362
|
-
span differs by at most `2 pt` from `worldSpanMm
|
|
732
|
+
span differs by at most `2 pt` from `worldSpanMm / mm_per_px`. The runtime enforces this and refuses
|
|
363
733
|
the plan otherwise, so an unverified guess is a failed read, not a quietly stretched grid.
|
|
364
734
|
Apply that fitted similarity transform to both world-grid endpoints of the second checked run: each lands
|
|
365
735
|
within
|
|
@@ -423,7 +793,7 @@ fails in the direction that costs you the whole read. A band holding only grid l
|
|
|
423
793
|
stair enclosures renders as a perfectly recognisable floor plan. The reliable instrument is that **a
|
|
424
794
|
member mark sits against the line it names**: for each profile mark, look for a long run parallel to
|
|
425
795
|
the mark's own text rotation within a small **scale-relative** distance of it — a few feet in model
|
|
426
|
-
terms, converted through the sheet's own `
|
|
796
|
+
terms, converted through the sheet's own `mm_per_px`, never a fixed paper distance carried from
|
|
427
797
|
another drawing. Record which band that run falls in. The band that resolves the marks is the steel;
|
|
428
798
|
the band that merely looks like a building is not.
|
|
429
799
|
|
|
@@ -535,6 +905,74 @@ server normalize; never snap an endpoint to a support you inferred.
|
|
|
535
905
|
perimeter runs governed by a general note all survive a length filter. Each earns an honest
|
|
536
906
|
`unresolved` disposition or an RFI — never the nearest profile mark.
|
|
537
907
|
|
|
908
|
+
### Establish each member's elevation
|
|
909
|
+
|
|
910
|
+
Every framing endpoint needs a source-backed world-millimetre elevation, and the drawings will not hand
|
|
911
|
+
it to you in one place. Like the member rules above, this is a **candidate signal, not a
|
|
912
|
+
drafting law. Drawing truth wins, always.**
|
|
913
|
+
|
|
914
|
+
**There is no general rule for top-of-steel.** Seven independently sampled projects stated it seven
|
|
915
|
+
ways, over four different reference datums, and silence meant something different in each:
|
|
916
|
+
|
|
917
|
+
| how it is given | reference datum | what silence means |
|
|
918
|
+
|---|---|---|
|
|
919
|
+
| `T.O. STL. EL. = 26'-9"` per member; legend declares a typical drop | a named `Level NN` on the elevations | at the reference — because the legend says so |
|
|
920
|
+
| `TOS EL = 29'-4 1/8" TYP AT GRID 4` | absolute | scoped to a **gridline** |
|
|
921
|
+
| `TOS EL 114'-8"`; `BOS EL REF ARCH` | site datum | see the **architect's** drawings |
|
|
922
|
+
| a plan note: *"TOP OF STEEL DECK ELEVATION = 131'-2""* | site datum | a sheet-wide default |
|
|
923
|
+
| legend: *"TOS relative to top of structural concrete slab — if no elevation indicated, locate TOS below TOC as follows…"* | top of concrete | a **scheduled drop** per deck type |
|
|
924
|
+
| *"REFERENCE FINISH GROUND FLOOR EL +0'-0" = 125.50 DATUM"* | finish floor on a survey datum | the stated `UNO` default |
|
|
925
|
+
| *"TOP OF STEEL EQUALS TOP OF SHEATHING -1/2"…"* | top of sheathing | an **assembly build-up**, not a number |
|
|
926
|
+
|
|
927
|
+
**This table is an illustration of how much sets differ — not a list to match against. Expect a form
|
|
928
|
+
that is not on it.** Never pattern-match a notation into a value.
|
|
929
|
+
|
|
930
|
+
Work in this order:
|
|
931
|
+
|
|
932
|
+
1. **Start from the `datums[]` you already recorded.** You built the design-set knowledge before this
|
|
933
|
+
step precisely so the level table exists before any plan callout does. A callout is meaningless
|
|
934
|
+
without it.
|
|
935
|
+
2. **Build that level table from the elevations and sections, not from a plan.** A level reading
|
|
936
|
+
`VARIES`, or carrying several values, has no single elevation — treat those callouts as working
|
|
937
|
+
points and fit the surface; never substitute a default.
|
|
938
|
+
3. **Read a callout's SCOPE, not just its value.** `TYP AT GRID 4` governs a gridline; a general note
|
|
939
|
+
governs a sheet; a bare callout governs whatever its leader lands on.
|
|
940
|
+
4. **Name the reference datum and keep one per model.** `114'-8"` on a site datum, `+14'-0"` off finish
|
|
941
|
+
floor and `-4"` below sheathing are all "the elevation". Mixing two is a silent whole-model error.
|
|
942
|
+
5. **A silent plan is not an unknown until the WHOLE SET is silent.** A plan can say "as noted on plan"
|
|
943
|
+
and note nothing while the frame elevations determine the value. Only when the set as a whole does
|
|
944
|
+
not say it is the answer unknown — and then record which sheets you checked.
|
|
945
|
+
6. **"See architectural" is a legitimate terminus.** The value lives in a discipline this read does not
|
|
946
|
+
have. Record unknown, put it in `open[]` naming that discipline. That is not the same as not having
|
|
947
|
+
looked.
|
|
948
|
+
7. **Never take `plans[].elevation_mm` YOURSELF.** It is the horizontal cut plane, not a top of steel,
|
|
949
|
+
and a sloped or stepped roof reads dead level from it — roofs routinely span several feet.
|
|
950
|
+
Say `{"unknown": true}` instead and let the server decide: where an end is genuinely unresolved it
|
|
951
|
+
places the member at that plan's elevation and **marks it as unverified**, so the member is built
|
|
952
|
+
and the question still reaches the user. The difference is not the number — it is that the server's
|
|
953
|
+
placement is *labelled* and yours would be silent.
|
|
954
|
+
8. **Unknown is a real answer, and it PUBLISHES** — `{"unknown": true}` with `why` (what the set
|
|
955
|
+
does say about this end, in a sentence) and `checked` (the pages you read, as
|
|
956
|
+
`{sourceHash, pageId, sheet}`). The server turns that into the question the engineer answers, and
|
|
957
|
+
the model publishes carrying it. Silence does not: an unknown with no `why`, a template `why`, or
|
|
958
|
+
no `checked` is refused. A lazy `why` is as wrong as a fabricated number.
|
|
959
|
+
|
|
960
|
+
**The member is never dropped for want of a height.** The server places such an end at the
|
|
961
|
+
elevation of the plan it was read from and stores `{known, assumed: true, why, checked}` — a real
|
|
962
|
+
number, so the member is built and visible, and a flag that says nobody has confirmed it. Nothing
|
|
963
|
+
downstream treats it as evidence: it is not priced, not scored, and nothing is aligned to it.
|
|
964
|
+
|
|
965
|
+
**You may NOT write `assumed` yourself.** It is the server saying it could not prove a height. A
|
|
966
|
+
read that stamped its own number with it would be claiming server authority for a guess, which is
|
|
967
|
+
the one thing this whole contract exists to prevent — and the schema refuses it on an observation
|
|
968
|
+
outright.
|
|
969
|
+
|
|
970
|
+
9. **Every plan view you read members from MUST state its own `elevation_mm`.** Without one there is
|
|
971
|
+
nowhere to place an unresolved end, and those members leave the model. If the set does not let you
|
|
972
|
+
establish a plan's elevation, **ask the user for it before you read members from that sheet** — one
|
|
973
|
+
question per view, never one per member. A plan with no elevation is a question, not something to
|
|
974
|
+
work around.
|
|
975
|
+
|
|
538
976
|
### Model-global members
|
|
539
977
|
|
|
540
978
|
Write members only in root `members[]`. IDs are unique across the whole model and remain stable across
|
|
@@ -597,7 +1035,7 @@ Each observation is model-globally unique and split into immutable `evidence` an
|
|
|
597
1035
|
"sheet": "S-201",
|
|
598
1036
|
"elementId": "<selected Filter element id>"
|
|
599
1037
|
},
|
|
600
|
-
"local": { "wp": [[100, 900], [400, 900]], "
|
|
1038
|
+
"local": { "wp": [[100, 900], [400, 900]], "mm_per_px": 25.4 },
|
|
601
1039
|
"provenance": "auto-read",
|
|
602
1040
|
"observed": {
|
|
603
1041
|
"profile": { "value": "W16X26", "confidence": 91 },
|
|
@@ -645,12 +1083,12 @@ following exact algorithm and never guess or reuse the other end's identity:
|
|
|
645
1083
|
|
|
646
1084
|
For every lineaged plan endpoint of a support-centerline-eligible beam or brace, record the endpoint's
|
|
647
1085
|
source-backed world-millimetre elevation in the matching `evidence.observed.fromZ` or `toZ`. Both linked
|
|
648
|
-
ends need their own evidence. A plan's `
|
|
649
|
-
infer an endpoint elevation from it
|
|
1086
|
+
ends need their own evidence. A plan's `elevation_mm` is only the horizontal cut plane: never copy it or
|
|
1087
|
+
infer an endpoint elevation from it — see **Establish each member's elevation** above for where the
|
|
1088
|
+
value does come from. Columns are support targets and are not required to carry framing-
|
|
650
1089
|
plan bottom/top evidence under this rule. If the drawings cannot establish an eligible endpoint's
|
|
651
|
-
elevation,
|
|
652
|
-
|
|
653
|
-
do not erase lineage or invent a value to get past the diagnostic.
|
|
1090
|
+
elevation, submit it `{"unknown": true}` with its `why` and `checked` — that publishes with a question
|
|
1091
|
+
attached. Never invent a value or erase lineage to get past the diagnostic.
|
|
654
1092
|
|
|
655
1093
|
1. JCS-encode the two-item JSON array `[observationId, observationEnd]`, preserving the array order.
|
|
656
1094
|
2. Form the byte preimage exactly as `UTF8("floless:endpoint-lineage:v1") || 0x00 ||
|
|
@@ -727,18 +1165,44 @@ working project contract; approval and bake strip them from published artifacts.
|
|
|
727
1165
|
|
|
728
1166
|
## Submit through revision-read
|
|
729
1167
|
|
|
730
|
-
|
|
731
|
-
|
|
1168
|
+
When an observation in any supported source view traces a member but the source views cannot yet prove its
|
|
1169
|
+
world placement, do not invent world coordinates or put that member in `contract.members`. Keep every
|
|
1170
|
+
direct active observation, member binding, and endpoint-lineage row in the contract, and send the member
|
|
1171
|
+
beside the contract in `viewFrameCandidates`.
|
|
1172
|
+
|
|
1173
|
+
For a valid-scale view with no `sourceRegistration`, keep the existing candidate shape: `id`, `profile`,
|
|
1174
|
+
`provenance`, optional `material` / `role` / `memberType`, the observation's `viewId` and `observationId`,
|
|
1175
|
+
and exactly two endpoint identities containing `observationEnd` (0 or 1), `memberEnd` (`from` or `to`),
|
|
1176
|
+
and the matching `lineageId`. For an invalid or missing view scale, or when registered source views
|
|
1177
|
+
disagree about an endpoint, send the closed evidence-only shape: `id`, `profile`, `provenance`, optional
|
|
1178
|
+
descriptive fields, and `reasons` containing the complete sorted set of `view-scale-invalid` and/or
|
|
1179
|
+
`cross-view-conflict` reported for that member. Do not submit coordinates, a scale, a winning observation,
|
|
1180
|
+
a trace subset, or a drawing target in that shape.
|
|
1181
|
+
|
|
1182
|
+
The server derives exact source-local traces and targets from immutable observations and the manifest.
|
|
1183
|
+
An invalid-scale trace is drawing geometry only: it has no model length. A conflicting group retains all
|
|
1184
|
+
contributing views and neither one becomes model truth. The provisional row remains out of physical
|
|
1185
|
+
members, physical quantities, joints, scene/export geometry, the AWARE lock, and live-host builds until
|
|
1186
|
+
a later audited read proves a physical placement. File and BOM exports may disclose the omitted member
|
|
1187
|
+
and its question as a non-physical RFI row; that disclosure is not model geometry or quantity.
|
|
1188
|
+
|
|
1189
|
+
First POST `{ requestId, contract, viewFrameCandidates, attestation }` to the project's
|
|
1190
|
+
`/revision-read/audit` route, where `contract` and `viewFrameCandidates` are the literal package described
|
|
1191
|
+
above. Send an empty `viewFrameCandidates` array when the read has no such members. The response includes
|
|
1192
|
+
the server-normalized preview,
|
|
732
1193
|
its member-end report, and distinct literal/final hashes; inspect those results, but do not copy their
|
|
733
1194
|
decisions into the reader-authored document. Only after the audit returns `read-complete`, POST the exact
|
|
734
1195
|
same literal contract and attestation to `revision-read` with:
|
|
735
1196
|
|
|
736
1197
|
- the queued `requestId` and base ledger head;
|
|
737
1198
|
- the pinned contract and Filter ETags required by the route;
|
|
738
|
-
- the complete native
|
|
1199
|
+
- the exact same complete native contract and `viewFrameCandidates` package that audit checked;
|
|
739
1200
|
- the complete closed `steel-read/v4` attestation;
|
|
740
1201
|
- source snapshots for every queued drawing;
|
|
741
|
-
- a concise read summary and unresolved notes
|
|
1202
|
+
- a concise read summary and unresolved notes;
|
|
1203
|
+
- `rfiSelection` — the gaps the user could not answer (see "Carrying one as an RFI" above). On a first
|
|
1204
|
+
read, omit it when the user answered everything. On a re-read, send an explicit empty `gaps: []` so
|
|
1205
|
+
the staged review records that "none" was a deliberate decision rather than a missing carrier.
|
|
742
1206
|
|
|
743
1207
|
The transaction independently reloads and re-evaluates the manifest, Filter, literal candidate,
|
|
744
1208
|
server-normalized final candidate, and attestation;
|
|
@@ -755,7 +1219,7 @@ refetch, re-compose, and re-audit; never force the stale candidate through.
|
|
|
755
1219
|
- **Native model only.** Compose only `steel.model/v2` with `origin: "native"`.
|
|
756
1220
|
- **Model-global truth.** Members and grid live at root; plans are registered views.
|
|
757
1221
|
- **World units.** Member geometry and the model grid are millimetres; observation geometry is local
|
|
758
|
-
display space paired with `
|
|
1222
|
+
display space paired with `mm_per_px`.
|
|
759
1223
|
- **Selected evidence only.** Every new or reader-changed member traces to a selected Filter element.
|
|
760
1224
|
- **No fabricated certainty.** Unknown elevations and unresolved profiles remain explicit.
|
|
761
1225
|
- **No silent overwrite.** Respect request ids, ledger heads, ETags, staging, and confirmation.
|