@floless/app 0.128.0 → 0.128.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.
@@ -2,7 +2,7 @@
2
2
  name: floless-app-steel-model
3
3
  description: The front-door guide for turning a structural steel drawing set into an editable native steel.model/v2 model in floless.app. It orchestrates project setup, set knowledge, AWARE detailer agents, Drawing Filter review, registered plan views, model reading, connection detailing, clash checks, and exports. Use for asks such as "model this steel job from the drawings", "take off this whole set", "start a steel model project", or "/floless-app-steel-model". It is re-runnable and preserves the Filter → Save → read → review → History process end to end.
4
4
  metadata:
5
- version: 0.8.0
5
+ version: 0.9.0
6
6
  ---
7
7
 
8
8
  # Steel Model — guide a steel drawing set into an editable model
@@ -140,6 +140,15 @@ with an explicit OK at each kind (this is the interactive heart — never one-sh
140
140
  With the project, knowledge, agents, and classification confirmed, drive the actual reads and point
141
141
  the user at the editor:
142
142
 
143
+ **Carry one sticky completion ledger from Filter to publication.** User follow-ups add corrections to
144
+ that ledger; they never replace its earlier obligations. The server-owned steel manifest is the ledger's
145
+ inventory, and every page, Filter layer, candidate line, reference/detail/connection marker, member,
146
+ and new or changed joint stays `open` until it has evidence, an explicit reviewed disposition, or a
147
+ named RFI/refusal. Do not summarize an open row away and do not declare the model complete because it
148
+ looks complete. Completion means the `/revision-read/audit` response is `read-complete` for the exact
149
+ candidate and attestation that are submitted, and the published History row carries the matching receipt.
150
+ A blocked audit is the remaining checklist, not permission to stop enforcing the original skill.
151
+
143
152
  - **Read each framing plan** via **`floless-app-steel-takeoff`** — it runs the filter pre-stage
144
153
  (isolate the steel linework by layer/thickness/colour), the vision read, the AISC/EN/BS lookup
145
154
  via the detailer, authors the model datum plus two labelled registration controls per plan,
@@ -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.19.0
10
+ version: 0.20.0
11
11
  ---
12
12
 
13
13
  # Steel Takeoff — read drawings into `steel.model/v2`
@@ -20,14 +20,17 @@ and own observations, never member geometry.
20
20
 
21
21
  Do not read members before the user saves the Drawing Filter.
22
22
 
23
- 1. Prepare the Filter deterministically from the attached sources.
23
+ 1. POST the request's `/steel-manifest` route. The server rehashes every attached PDF, inventories
24
+ every page, and mints the Filter geometry and element identities. If sheet identity is ambiguous,
25
+ inspect only the pages named by `sheet-identification-required` and retry with explicit bindings.
26
+ Never build, rename, or replace server-owned Filter geometry yourself.
24
27
  2. Stop and ask the user to review the Filter in Steel Filter and click **Save**.
25
28
  3. Only after Save, fetch the request and its saved Filter again, pin its ETag, and read members from
26
29
  elements that the saved selection keeps.
27
30
 
28
- Filter preparation is geometry extraction, not interpretation. Use the deterministic PDF/vector tools
29
- available in the environment; do not ask a model to recreate paths, layers, line weights, colours, or
30
- text positions. Preserve coincident primitives as separate elements.
31
+ Filter preparation is geometry extraction, not interpretation. The server's fixed PyMuPDF extractor is
32
+ the sole authority for paths, layers, line weights, colours, text positions, source/page ids, and element
33
+ ids. Preserve coincident primitives as separate elements.
31
34
 
32
35
  Each Filter sheet must carry:
33
36
 
@@ -41,6 +44,32 @@ Each Filter sheet must carry:
41
44
  Reject duplicate sheet labels across the request. Never invent an id after the Filter is saved and never
42
45
  identify evidence by array position or geometry alone. The saved Filter is the evidence catalogue.
43
46
 
47
+ ## Closed completion ledger
48
+
49
+ Create one request-scoped ledger from the server manifest and keep it through every user correction.
50
+ A later instruction adds or changes work; it does not erase the primary requirements below. Each row is
51
+ `open`, `proven`, `explicitly-disposed`, or `blocked/RFI`. No row may disappear from a summary.
52
+
53
+ The ledger must close all of these inventories:
54
+
55
+ - every attached source and every manifest page was rehashed and visually reviewed over its whole bounds;
56
+ - building massing and coordinate frames were stated before members were interpreted;
57
+ - every Filter layer was classified;
58
+ - every manifest line is either supported by an active observation or has a reviewed `lineDisposition`;
59
+ - every reference marker resolves through the drawing graph to a reviewed page, or names the missing sheet;
60
+ - every detail/connection marker maps to a real joint/connection, an explicit non-model disposition, or RFI;
61
+ - every new or changed joint has a dependency review tied to the exact members, recipe, parameters, and details;
62
+ - every built connection has measured bearing, head/nut contact, grip, bolt length, clash clearance,
63
+ support reach, edge distance, and weld-location facts; opaque custom geometry remains blocked;
64
+ - the final selected candidate is schema-valid, uses the exact saved Filter, stays within work limits,
65
+ resolves member profiles/elevations honestly, and contains no unaccounted source evidence.
66
+
67
+ Encode that ledger as the closed `steel-read/v1` attestation fields: `massing`, `layers`,
68
+ `lineDispositions`, `pageReviews`, `references`, `candidateDispositions`, and `jointReviews`. POST it with
69
+ the candidate to `/revision-read/audit`. Treat every blocked check and sample id as mandatory remaining
70
+ work, then repeat until `status: "read-complete"`. Never edit or fabricate a receipt: the server creates
71
+ it from the exact manifest, saved Filter, candidate, proof, project incarnation, base, and generation.
72
+
44
73
  ## Find the active request
45
74
 
46
75
  Use the local request API described by `floless-app-queue`. Read the request's `project`, `appId`,
@@ -213,18 +242,23 @@ working project contract; approval and bake strip them from published artifacts.
213
242
 
214
243
  ## Submit through revision-read
215
244
 
216
- POST the completed candidate to the project `revision-read` route with:
245
+ First POST `{ requestId, contract, attestation }` to the project's `/revision-read/audit` route. Only
246
+ after it returns `read-complete`, POST the exact same contract and attestation to `revision-read` with:
217
247
 
218
248
  - the queued `requestId` and base ledger head;
219
249
  - the pinned contract and Filter ETags required by the route;
220
250
  - the complete native candidate;
251
+ - the complete closed `steel-read/v1` attestation;
221
252
  - source snapshots for every queued drawing;
222
253
  - a concise read summary and unresolved notes.
223
254
 
224
- On the first read, a valid candidate is journal-published as History version 1 and the request clears.
225
- On a later read, the route stages a diff for user review. Do not claim completion until the user confirms
226
- the staged revision and the route publishes it. A conflict, stale Filter, changed source, or changed
227
- ledger head means refetch and re-read; never force the stale candidate through.
255
+ The transaction independently reloads and re-evaluates the manifest, Filter, candidate, and attestation;
256
+ the preflight response is guidance, never a capability token. On the first read, a valid candidate is
257
+ journal-published as History version 1 with its audit receipt and the request clears. On a later read,
258
+ the route stages a diff for user review. Do not claim completion until the user confirms the staged
259
+ revision and the route re-audits the selected final document and publishes a receipt-backed History row.
260
+ A conflict, stale Filter, changed source, changed base, changed selection, or changed ledger head means
261
+ refetch, re-compose, and re-audit; never force the stale candidate through.
228
262
 
229
263
  ## Guardrails
230
264
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floless/app",
3
- "version": "0.128.0",
3
+ "version": "0.128.1",
4
4
  "type": "module",
5
5
  "description": "Thin localhost host for floless.app — serves web/ and shells the aware CLI. No engine, no LLM.",
6
6
  "bin": {