@floless/app 0.169.0 → 0.171.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/floless-server.cjs +65531 -43728
  2. package/dist/schemas/drawing-check.profile.v1.schema.json +12 -2
  3. package/dist/schemas/steel.model.v2.schema.json +196 -4
  4. package/dist/skills/floless-app-bridge/SKILL.md +3 -3
  5. package/dist/skills/floless-app-knowledge/SKILL.md +46 -15
  6. package/dist/skills/floless-app-new-workflow/SKILL.md +8 -1
  7. package/dist/skills/floless-app-onboarding/SKILL.md +5 -4
  8. package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +0 -3
  9. package/dist/skills/floless-app-queue/SKILL.md +2 -3
  10. package/dist/skills/floless-app-report-issue/SKILL.md +2 -2
  11. package/dist/skills/floless-app-routines/SKILL.md +2 -2
  12. package/dist/skills/floless-app-routines/references/routines-api.md +20 -8
  13. package/dist/skills/floless-app-steel-model/SKILL.md +42 -39
  14. package/dist/skills/floless-app-steel-model/references/custom-connections.md +47 -0
  15. package/dist/skills/floless-app-steel-model/references/custom-sections.md +32 -0
  16. package/dist/skills/floless-app-steel-takeoff/SKILL.md +31 -1
  17. package/dist/skills/floless-app-ui/SKILL.md +71 -126
  18. package/dist/skills/floless-app-workflows/SKILL.md +22 -3
  19. package/dist/skills/floless-app-workflows/references/agent-steps.md +40 -6
  20. package/dist/skills/floless-app-workflows/references/exec-contract.md +27 -0
  21. package/dist/skills/floless-app-workflows/references/script-runner.md +105 -0
  22. package/dist/web/add-ons.js +407 -0
  23. package/dist/web/agent-steps.js +89 -18
  24. package/dist/web/agents.js +32 -22
  25. package/dist/web/analytics.js +1 -1
  26. package/dist/web/app.css +331 -190
  27. package/dist/web/app.js +33 -13
  28. package/dist/web/aware.js +926 -218
  29. package/dist/web/chat.css +6 -1
  30. package/dist/web/chat.js +316 -112
  31. package/dist/web/checkpoint-standard.js +5 -3
  32. package/dist/web/commands-drawing-check.js +1 -0
  33. package/dist/web/commands-filter.js +23 -0
  34. package/dist/web/commands-shell.js +479 -78
  35. package/dist/web/commands-steel.js +69 -2
  36. package/dist/web/commands-tekla-parser.js +23 -0
  37. package/dist/web/connections.js +14 -3
  38. package/dist/web/drawing-check-editor.js +352 -88
  39. package/dist/web/failure-copy.js +33 -2
  40. package/dist/web/filter-ai-proposal.js +11 -8
  41. package/dist/web/flo-3d.js +1 -1
  42. package/dist/web/guide.js +36 -29
  43. package/dist/web/index.html +98 -57
  44. package/dist/web/instructor.js +101 -17
  45. package/dist/web/kb-categories.js +64 -7
  46. package/dist/web/left-pane.js +4 -1
  47. package/dist/web/local-discovery.js +8 -7
  48. package/dist/web/missed-routines.js +239 -0
  49. package/dist/web/model-change-findings.js +430 -0
  50. package/dist/web/model-change-review.js +414 -0
  51. package/dist/web/model-editor-steel-adapter.js +2 -2
  52. package/dist/web/model-measure.js +6 -0
  53. package/dist/web/model-spatial-panel.js +19 -4
  54. package/dist/web/model-spatial-tools.js +3 -3
  55. package/dist/web/model-viewport-revit-adapter.js +3 -3
  56. package/dist/web/origin-rule.js +155 -0
  57. package/dist/web/project-access.js +1 -1
  58. package/dist/web/project-history.js +7 -1
  59. package/dist/web/project-modules.js +2 -2
  60. package/dist/web/project-rfis.js +6 -1
  61. package/dist/web/project-workflows.js +2 -2
  62. package/dist/web/revit-editor.css +85 -0
  63. package/dist/web/revit-editor.js +58 -9
  64. package/dist/web/run-history.js +12 -1
  65. package/dist/web/sha256-sync.js +62 -0
  66. package/dist/web/steel-3d-core.js +46 -9
  67. package/dist/web/steel-3d-flo.js +153 -7
  68. package/dist/web/steel-3d-view.js +33 -5
  69. package/dist/web/steel-ai-marks.js +3 -1
  70. package/dist/web/steel-custom-connection.js +161 -0
  71. package/dist/web/steel-custom-sections.js +1796 -0
  72. package/dist/web/steel-editor.html +732 -161
  73. package/dist/web/steel-environments.js +297 -0
  74. package/dist/web/steel-filter-usage.js +299 -0
  75. package/dist/web/steel-filter.html +104 -6
  76. package/dist/web/steel-model-v2-client-validation.js +11 -1
  77. package/dist/web/steel-model-v2-commands.js +116 -13
  78. package/dist/web/steel-model-v2-projection.js +1 -1
  79. package/dist/web/steel-read-confidence.js +1 -56
  80. package/dist/web/step-rename.js +3 -2
  81. package/dist/web/tekla-editor.html +1 -0
  82. package/dist/web/terminal-requests.js +1 -1
  83. package/dist/web/tool-updates.js +7 -6
  84. package/dist/web/workspaces.js +1968 -138
  85. package/launch.mjs +87 -9
  86. package/package.json +4 -1
  87. package/dist/web/panels.js +0 -831
@@ -2,7 +2,7 @@
2
2
  name: floless-app-routines
3
3
  description: This skill should be used when the user wants to set up a floless.app workflow (.flo app) to run automatically — "routines" — either on a timer (schedule) or on a live event (trigger). Triggers on requests like "schedule my BOM workflow every weekday at 7am", "run this workflow every 2 hours", "run my BOM whenever the Tekla model changes", "watch the model and run X on each change", "set up a trigger routine", "list my routines", "disable the morning routine", "delete that routine". Covers the floless.app routines REST API (create / list / edit / enable-disable / delete / run-now), the schedule presets, the event-trigger kind, the confirm-first rule, and the runnable gate.
4
4
  metadata:
5
- version: 0.1.10
5
+ version: 0.1.12
6
6
  ---
7
7
 
8
8
  # Setting up floless.app routines (automatic .flo runs)
@@ -162,7 +162,7 @@ curl -s -X DELETE http://127.0.0.1:4317/api/routines/<id>
162
162
  current `activePublication.runtimeAppId`; the routine follows every later publish on its own — never
163
163
  delete and recreate a routine after publishing.
164
164
  - **Run-now is schedule-only.** `routines.run` (`POST /api/routines/:id/run`) on a trigger returns **400**
165
- ("a trigger routine runs on its event — enable/disable it instead"). Don't offer run-now for a
165
+ ("This routine runs by itself whenever its event happens, so it has no Run now. Turn it on or off instead."). Don't offer run-now for a
166
166
  trigger; the control is the enable/disable toggle (start/stop the live watcher).
167
167
  - **Run-now while that routine is already queued or running is a 409, not a second run.** The
168
168
  envelope comes back `ok: false` — nothing was started. Tell the user it is already running (or
@@ -121,26 +121,38 @@ Supporting reads (same server):
121
121
 
122
122
  - `400` — validation: missing name, unknown/invalid workflow id, malformed schedule
123
123
  (bad `HH:MM`, empty weekly `days`, `everyHours` not a divisor of 24); a `kind:"trigger"` create
124
- on a workflow that is **not trigger-eligible** (`{ "error": "workflow is not trigger-eligible …" }`);
125
- or `POST /:id/run` on a **trigger** (`{ "error": "a trigger routine runs on its event — enable/disable it instead" }`).
124
+ on a workflow that is **not trigger-eligible** (`{ "error": "That workflow does not start by watching for changes …" }`);
125
+ or `POST /:id/run` on a **trigger** (`{ "error": "This routine runs by itself whenever its event happens, so it has no Run now. …" }`).
126
+ A refusal that carries `"refusal": "routine"` has an `error` FloLess wrote for the person: relay it as it
127
+ is. (The already-running 409 below has no marker; read it by its `running` flag.)
126
128
  - `402` — no valid subscription (the app must be signed in).
127
129
  - `404` — no routine with that id.
128
- - `409` — **different refusals; tell them apart by the `running` flag and the message, never by the status alone.**
129
- - On `POST /api/routines` (create): `{ "error": "Routine limit reached (15). Delete one first." }` —
130
+ - `409` — **different refusals; tell them apart by the route and the `running` flag, never by the status alone.**
131
+ - On `POST /api/routines` (create): `{ "error": "You already have 15 routines, the most FloLess keeps. …", "refusal": "routine" }` —
130
132
  the cap (both kinds share it). Relay it and offer to delete an existing routine.
131
133
  - On `POST /:id/run`: `{ "running": true, "error": "this routine is already running or waiting its
132
134
  turn" }` — that routine is already queued or mid-run and **nothing was started**. Say it is
133
135
  already running or waiting; do NOT relay a cap message and do NOT offer to delete anything.
134
136
  Retrying is pointless until that fire completes.
135
- - On `POST /api/routines` (create), rarely: `{ "error": "this installed workflow is not the owner’s active
136
- publication" }` — a FloLess-owned workflow was published again while the routine was being created.
137
+ - On `POST /api/routines` (create), rarely: `{ "error": "That copy of the workflow is not the one currently in
138
+ use; a newer one has replaced it. …", "refusal": "routine" }` — a FloLess-owned workflow was published again while the routine was being created.
137
139
  Retry the same request; the server resolves the current publication.
138
140
 
139
141
  ## Notes on behavior (so expectations are right)
140
142
 
141
143
  - **Local time, DST-safe.** Schedules are wall-clock local; 07:00 stays 07:00 across a DST change.
142
- - **Missed fires skip forward.** If the server was down at fire time, the next fire is the next
143
- future occurrence (no catch-up burst on boot).
144
+ - **Missed fires skip forward, and FloLess asks once.** If FloLess was closed at fire time, the next
145
+ fire is the next future occurrence: nothing runs on its own (no catch-up burst on boot). The
146
+ routine's history gets one `skipped` row with a `missed` count, and the routine gets ONE open
147
+ question, `missedOffer` (`{ id, first, last, count, atLeast?, starting? }`), however many times it
148
+ was missed. The person answers it on a card in FloLess: Run now (`POST /:id/run` with
149
+ `{ "missedOfferId": "<id>" }`, which runs it once) or Skip (`POST /:id/missed-offer/skip` with
150
+ `{ "expectedOfferId": "<id>" }`, which records "Skipped by you"). Either answer for a question that
151
+ was already answered, closed or replaced is `409 { code: "no-missed-offer" }`, and nothing runs. The
152
+ routine's next scheduled fire, switching it off, giving it new times or pausing its agent closes the
153
+ question without a row. Never answer it for the person: a run can change a model or use their AI
154
+ subscription, so it is their choice. Ask them, then use the chat's `routines.run` (always a card) or
155
+ `routines.skip-missed` (a change like any other edit: a card unless the chat may make changes).
144
156
  - **Serialized, and one run per routine.** Scheduled runs share the single active-run lock with
145
157
  manual ▶ Run, so a fire that coincides with a run of a DIFFERENT workflow waits its turn (the host
146
158
  bridge does one exec at a time). A fire for a routine that is already queued or mid-run is
@@ -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.28.3
5
+ version: 0.31.0
6
6
  ---
7
7
 
8
8
  # Steel Model — guide a steel drawing set into an editable model
@@ -16,15 +16,14 @@ classify the sheets → read each framing plan into an editable **steel.model/v2
16
16
  point the user at the on-canvas tools (filter, 3D, IFC/Tekla export, BOM, the connection library,
17
17
  clickable callouts).
18
18
 
19
- It is the **orchestration layer ABOVE** the readers and the editor. The actual drawing reading is
20
- done by **`floless-app-steel-takeoff`** (the Steel Takeoff reader) — this guide gets the project to
21
- the point where that read is reliable, and hands off. The host AI is the brain (the FloLess thin-UI
19
+ It is the **orchestration layer ABOVE** the readers and the editor. The drawing reading is
20
+ done by **`floless-app-steel-takeoff`** (the Steel Takeoff reader) — this guide makes that read
21
+ reliable, then hands off. The host AI is the brain (the FloLess thin-UI
22
22
  contract): reading happens at COMPOSE time with the terminal AI's own vision; there is no model in
23
23
  the run path and no API key.
24
24
 
25
25
  **Re-runnable + interactive.** Each stage ends with an explicit **confirm gate** — show the user
26
- what was found and get an OK before spending effort on the next stage. Resume at any stage on
27
- re-invoke ("we already set up the folder, provision the agents").
26
+ what was found and get an OK before the next stage. Resume at any stage on re-invoke.
28
27
 
29
28
  > Companion skills (all ship with floless.app — invoke them, don't duplicate them):
30
29
  > - **`reading-structural-drawings`** — the reading *discipline* (massing + coordinate frame FIRST,
@@ -32,7 +31,8 @@ re-invoke ("we already set up the folder, provision the agents").
32
31
  > (stages 2 and 5) — it stops the classic failures (two buildings read as one, a sloped roof read
33
32
  > as flat, grids conflated across sheets).
34
33
  > - **`floless-app-steel-takeoff`** — reads one framing plan into the contract (the heavy vision
35
- > pipeline, the filter pre-stage, the AISC/EN/BS lookup, the contract write + editor hand-off).
34
+ > pipeline, the filter pre-stage, the AISC/EN/BS lookup, the contract write + editor hand-off). A
35
+ > section no catalogue lists is a [custom section](references/custom-sections.md), never forced to the nearest catalogue size.
36
36
  > - **`steel-drawing-abbreviations`** — the default US/AISC abbreviations + shape-designation legend.
37
37
  > The fallback for note/profile codes (TYP, TOS, UON, `(E)`/`(N)`, HSS, WT) when the set omits its
38
38
  > own abbreviations sheet (stage 2).
@@ -134,10 +134,11 @@ In a Quick read:
134
134
  - **Stage 6:** a brace `memberType` the drawings do not state is decided, not asked (default `brace`),
135
135
  and recorded as an `audit-gap` decision naming the member. A missing schedule sheet is decided too:
136
136
  build from what the set shows and record what is missing.
137
- - **Stage 7:** a detail no available connection type models is recorded as
138
- `{ channel: "unmodelled-detail", sheetId, detailRef }` with option (a) "left unbuilt but recorded" chosen
139
- by default; (b) a named approximation only when the drawings make the approximation obvious, and the
140
- decision says so. A connection assumption you would have proposed to the person is
137
+ - **Stage 7:** a detail no available connection type models is built as a custom connection (c) and
138
+ recorded as `{ channel: "unmodelled-detail", sheetId, detailRef }`, exactly as
139
+ [custom connections](references/custom-connections.md) says; without a clean fit it is (a) "left
140
+ unbuilt but recorded". **Never pass `acceptFailedFit` in a Quick read.** (b) a named approximation only
141
+ when the drawings make the approximation obvious, and the decision says so. A connection assumption you would have proposed to the person is
141
142
  `{ channel: "connection", jointId, covers }`: never written into the connection assumptions, which are
142
143
  the person's.
143
144
  - **What stays the person's:** the Drawing Filter Save, unless the read's instruction lets you choose it:
@@ -224,10 +225,13 @@ The reader leans on a **region-specific steel detailer** agent (AISC vs EN vs BS
224
225
  if the user will bake later, the host bridges.
225
226
 
226
227
  1. **Check what's installed:** `aware agent list --json`.
227
- 2. **Steel detailer — ask the region**, then install the match: `steel-detailer-us` (AISC /
228
- imperial), `steel-detailer-eu` (EN), or `steel-detailer-uk` (BS). Install with
229
- `aware agent install <id>`. **Verify it's live** with a known-section lookup before relying on it
230
- (a section that should resolve — e.g. a W-shape for US — returns a weight).
228
+ 2. **Steel detailer — install the one that matches the project's standard.** The project already states it
229
+ (`US`, `UK` or `EU`, chosen when the project was created and fixed for its life; read it from the project, do not
230
+ ask the user again): `US` -> `steel-detailer-us` (AISC / imperial), `UK` -> `steel-detailer-uk` (BS EN), `EU` ->
231
+ `steel-detailer-eu` (EN, metric). FloLess's own list of standards names the agent for each (the `detailerAgent` of
232
+ the project's environment), so use that rather than a region you inferred. Ask only when the project states no
233
+ standard. Install with `aware agent install <id>`. **Verify it's live** with a known-section lookup before relying
234
+ on it (a section that should resolve — a W-shape for US, a `UKB` for UK, an `HEA140` for EU — returns a weight).
231
235
  3. **Bake targets (optional, only if they'll export later):** offer `tekla`, `rhino`, `revit`,
232
236
  `sketchup` — install the ones they want. (3D and IFC export need no host; Tekla bake needs Tekla
233
237
  open with a model.)
@@ -411,10 +415,17 @@ member is supported and which is supporting. Ask, per detail:
411
415
  - **What does the detail dimension that the type cannot hold?** A work-point drop, a plate that follows the
412
416
  supporting member's depth, a fabrication note. Anything unexpressible must be recorded, not dropped.
413
417
 
414
- **If no available type matches, do not force one. Ask.** A connection forced into the wrong type looks
418
+ **If no available type matches, do not force one.** A connection forced into the wrong type looks
415
419
  plausible in the model, passes every dimensional check, and is worse than an absent one because nobody
416
420
  knows to question it. An unmodelled detail does not hold back the model either: the members are modelled
417
- and published either way, and the detail becomes a question the user can answer without hunting. The ask:
421
+ and published either way.
422
+
423
+ **(c) Build it as a custom connection. This is the default.** Compose a `steel.connection/v1` definition
424
+ from the standard parts, anchored to the members' faces. Every drawn number is pinned; fill only
425
+ rule-governed minimums, never a value that sets its shape or size. Check it with
426
+ `steel.check-connection-definition`, then apply only a clean fit. Keeping a failed fit is the person's
427
+ choice alone, and sign-off is theirs. Follow [custom connections](references/custom-connections.md) step by
428
+ step. **When (c) cannot be built, ask.** The ask:
418
429
 
419
430
  - **names the detail as a detailer would**, such as "the brace gusset in 7/S5.2", never a marker id alone;
420
431
  - **says where it is**: the sheet, the grid reference, the callout tag, and the members it joins;
@@ -422,7 +433,8 @@ and published either way, and the detail becomes a question the user can answer
422
433
  welded to the beam's web between its flanges, and the brace-gusset type only welds at a beam's flange
423
434
  tips");
424
435
  - **offers the choices, with a default:**
425
- - **(a) Leave that connection unbuilt but recorded. This is the default.** Record the detail as read,
436
+ - **(a) Leave that connection unbuilt but recorded.** This is the fallback when (c) is missing a shape or
437
+ size value or its fit is not met, and the default of this question. Record the detail as read,
426
438
  with the members it joins, and build nothing from it. If the user cannot answer the question, file
427
439
  it as an RFI where `floless-app-rfi` allows it; otherwise keep it open in the chat. In a drawing
428
440
  read, the carrier is the detail marker's `candidateDispositions` row of `unresolved`, and its
@@ -452,10 +464,9 @@ and published either way, and the detail becomes a question the user can answer
452
464
  *fit* are two different questions, and passing the first tells you nothing about the second. Ask both,
453
465
  on every detail you build — not once at the end.
454
466
 
455
- The failure this exists to stop: a gusset reproduced its drawing to a thousandth of an inch — plate
456
- thickness, bolt diameter, gauge, edge distance, weld leg, all exact — while the plate ran **through** the
457
- angle leg, the nut floated inside the member instead of bearing on its far face, and the bolt was sized
458
- from a grip that counted only the plate. Every number checked out. Nothing touched.
467
+ The failure this exists to stop: a gusset matched every drawn dimension exactly while the plate ran
468
+ **through** the angle leg, the nut floated inside the member, and the bolt was sized from a grip that
469
+ counted only the plate.
459
470
 
460
471
  **After building a connection, verify each of these — numerically, in world coordinates:**
461
472
 
@@ -487,13 +498,11 @@ plate bears on and prove the plate is on it:
487
498
 
488
499
  **Do BOTH — measure it AND look at it. They catch different failures.**
489
500
 
490
- - **Measure** what the eye cannot see: a few millimetres of overlap is invisible at any sensible zoom, so
491
- contact, grip and bearing have to be computed and compared, never judged from a picture.
492
- - **Look** at what the numbers do not flag: **zoom in on the built connection every time**. A dimension
493
- table cannot tell you a plate is absurd for the member it sits on — a 15" plate on a 4" angle reads as
494
- "plate depth 15.0", perfectly correct against the drawing it was copied from, and is obviously wrong
495
- the instant you see it. Gross proportion and placement errors are found by eye in one second and can
496
- survive every numeric check you write.
501
+ - **Measure** what the eye cannot see: a few millimetres of overlap is invisible, so contact, grip and
502
+ bearing are computed, never judged from a picture.
503
+ - **Look** at what the numbers do not flag: **zoom in on the built connection every time**. A 15" plate on
504
+ a 4" angle reads as "plate depth 15.0", correct against its drawing, and is obviously wrong the instant
505
+ you see it.
497
506
 
498
507
  Passing one is not passing the other. A connection is right when the numbers *and* the picture agree.
499
508
 
@@ -510,13 +519,9 @@ it lands on. Member ends are usually placed at WORK POINTS, which sit on the sup
510
519
  inside it — so a member must be trimmed back to the support's actual face plus its erection gap, and that
511
520
  distance grows with the skew of the crossing. Verify the trim, not just the joint.
512
521
 
513
- **Count what you built against what you specified.** Every check above scores a connection that *exists*.
514
- None of them can see the two failures that leave nothing behind to measure: a connection you specified and
515
- never built, and two connections that collapsed into one part. Both survive every dimensional check by
516
- default — the first because there is no geometry to fault, the second because a fused part measures as one
517
- correct-looking body. Both models open, render and export without complaint.
518
-
519
- So reconcile the inventory each time you build, and treat two of the four outcomes as failures:
522
+ **Count what you built against what you specified.** Every check above scores a connection that *exists*,
523
+ so none sees a connection specified and never built, or two connections collapsed into one part. Reconcile
524
+ the inventory each time you build, and treat two of the four outcomes as failures:
520
525
 
521
526
  - **FAIL — specified, never built.** Every row in `joints[]` — the PLACED connections, not the
522
527
  `connections[]` library they cite — owns at least one part in the model. A row that produced nothing is
@@ -535,9 +540,7 @@ disagree about where a connection ends, both are wrong — and the disagreement
535
540
  failure on a model that is actually fine, which is the fastest way to get the gate switched off.
536
541
 
537
542
  **Say what this gate does not prove, every time you report it: it proves you built what you specified,
538
- never that you specified enough.** It is the only check in this stage that scores the INVENTORY — every
539
- other one scores the dimensions of a connection that is already there. An inventory missing half the
540
- details on the sheet passes all of them, and passes this one too.
543
+ never that you specified enough.** An inventory missing half the details on the sheet passes it.
541
544
 
542
545
  **Where this class of bug hides: nominal-vs-real section data.** A designation carries its thickness
543
546
  (an angle's leg, a tube's wall) and that token is easy to drop on the way to geometry — leaving a guessed
@@ -0,0 +1,47 @@
1
+ # Custom connections (a detail no connection type models)
2
+
3
+ Stage 7 option (c), the default when no available connection type models a detail. A custom connection is
4
+ a `steel.connection/v1` definition: plates, bolt groups, welds, cuts and trims, each anchored to a named
5
+ face of a member the connection is bound to, never placed in world coordinates. The engine expands it the
6
+ same way every time, and FloLess labels the result "AI-assisted connection". Work in this order:
7
+
8
+ 1. **Compose the definition from the topology** you read in stage 7: which member's end the connection
9
+ sits at (the role with `end: true`), which faces bear, which plies each bolt group clamps (head side
10
+ first), which edges are welded. Every number the drawing states is a pinned param. Record where it came
11
+ from in `provenance` (`assisted: "ai"`, `source`, `evidence.sheetId`/`detailRef`).
12
+ 2. **Fill only what a detailing rule governs**: the minimum weld leg for the thinner ply, the minimum edge
13
+ distance, the standard hole size and the bolt length from grip. Write them as the rule
14
+ (`minWeldLeg(...)`, `minEdge(...)`, `holeDia(...)`, `boltLength(...)`) or record the value in
15
+ `provenance.assumptions` with its `basis: "rule-minimum"` and its clause. **Never guess a value that
16
+ sets the connection's shape or size**: the plate outline, a thickness, the bolt count, the bolt
17
+ positions, or which faces bear. If the drawing lacks one, stop and fall back to the question (a),
18
+ naming the missing value, as a detailer would raise an RFI for an undimensioned plate.
19
+ 3. **Run `steel.check-connection-definition`** with the definition and the member each role is bound to.
20
+ It builds the connection without saving anything and returns the parts, the rule values with their
21
+ clauses, every fit check and the expansion `identity`.
22
+ 4. **Apply only a clean fit** with `steel.apply-connection-definition` (a card the person confirms). It
23
+ builds nothing while any fit check is not met.
24
+ 5. **Otherwise fall back to (a)**, and name the failing check the way the check names it ("Parts clear of
25
+ each other and of the members: the gusset runs 4.8 mm into the angle leg"). Offer the person the choice
26
+ to keep it built anyway. **That choice is theirs alone.** Pass `acceptFailedFit` (each failing check
27
+ with the `identity` the check gave) only after they asked for it on that card. The connection is then
28
+ labelled "fit not met" everywhere it shows. Never mark a custom connection checked or reviewed.
29
+ Sign-off is the person's.
30
+
31
+ The signals of a forced fit in stage 7 apply to custom connections too, and stage 8 still applies in full.
32
+ The check measures the generic facts (bearing, head and nut bearing, grip, bolt length, edge distance, weld
33
+ line, clash), but you still read them and look at the result.
34
+
35
+ **The label.** The person can turn the "AI-assisted connection" label off for one connection or the whole
36
+ model (`steel.set-ai-assisted-label`). That hides only the visible label: FloLess's record and the export's
37
+ `meta.provenance` keep the fact. Never turn it off for them unasked.
38
+
39
+ ## In a Quick read
40
+
41
+ Build it the same way and record `{ channel: "unmodelled-detail", sheetId, detailRef }` with `chosen`
42
+ "built as a custom connection" and `value: { jointId, defId, version, identity, fit: [] }` from the check
43
+ and the apply. Each rule-minimum value you filled is also a `{ channel: "connection", jointId, covers }`
44
+ decision naming its clause. When a shape or size value is missing, or the fit check fails, nothing is
45
+ built: record the decision with option (a) "left unbuilt but recorded", leave `jointId` out of `value` and
46
+ list the failing check ids in `fit`. **Never pass `acceptFailedFit` in a Quick read**: keeping a failed fit
47
+ built is only the person's choice, in Make precise.
@@ -0,0 +1,32 @@
1
+ # Custom sections (a section no catalogue lists)
2
+
3
+ When a drawing calls for a section that no catalogue row describes — a welded plate girder, a built-up
4
+ I of stated plates, a tapered plate — make it a **custom section** instead of forcing the nearest
5
+ catalogue size (a near size is dimensionally wrong, and every weight and export built on it is too).
6
+
7
+ - **Evaluate first, then place.** `steel.evaluate-custom-section` takes a definition
8
+ (`{kind: "floless.section-profile", kindVersion: 1, id: "<add-on-id>/<name>@1", payload}`) and the
9
+ parameter values in mm, and answers the evaluated outline, area, mass per metre with its density basis,
10
+ and whether an IFC file can carry the shape. It writes nothing; show the person the section and the
11
+ numbers. Then `steel.place-custom-section` puts it on the members in ONE save (give the model tag from
12
+ `steel.read-model`). The payload lists `parameters` (name, label, `unit: "mm"`, optional min/max),
13
+ an `outline` of corner formulas (numbers, parameter names, `+ - * /`, brackets, `min`, `max`), an
14
+ optional `designation` template such as `"WI{d}x{bf}"`, and, for an I, `export.canonical`
15
+ `{shape: "i", d, bf, tw, tf}` so IFC carries it as a real I-section.
16
+ - **Ids never change meaning.** A definition id is bound to its content. A different definition under an
17
+ id the model already uses is refused with the next free id to use (`…@2`): use that; never reuse the id.
18
+ - **The section is the member's, not its name.** Two sections may share a designation; FloLess keys
19
+ every bill, group and merge on the section itself and labels the two apart. Typing a catalogue profile
20
+ over a custom member takes it off the custom section.
21
+ - **Mass is area × density**, from the member's material: structural steel 7850 kg/m³, stainless 8000,
22
+ aluminium 2700. An unrecognised material is weighed as steel and said to be an assumption.
23
+ - **A section FloLess cannot check is never swapped.** One made by a newer FloLess (an unknown kind or
24
+ version), or whose stored shape no longer matches its recipe, is drawn as a labelled placeholder and
25
+ left out of quantities and exports. Say so, and offer the two ways forward: fix the definition, or the
26
+ person proceeds on the stored shape as an assumption (`steel.custom-section-assumption`, which they
27
+ choose — the export and bill then name it as an assumption).
28
+ - **IFC.** A custom I goes out as a real I-section with its own dimensions. A shape IFC has no section
29
+ for asks first: leave those members out, or send each as its bounding box, named in the file as an
30
+ assumption. Ask the person; pass their choice and the question's key back to `steel.export-ifc`.
31
+ - **Connections on a custom section are not modelled yet.** A connection naming one is reported as not
32
+ built; say so rather than claiming it fits, and check clash and placement by hand as stages 7-8 require.
@@ -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.98.0
10
+ version: 0.100.0
11
11
  ---
12
12
 
13
13
  ## Shared height study: server-owned reader claims
@@ -733,6 +733,15 @@ In a Quick read:
733
733
  | ask the bubble-token question | `{ channel: "audit-gap", gapKind: "bubble-token", fields: { sheet } }` with the reading the sheet supports |
734
734
  | talk through the audit questions, offer or file an RFI | **settle every question you can first**: look again (the sheets it names, sections, schedules, notes, the page pictures), decide the answer the drawings support, repair the model to match, and record `{ channel: "audit-gap", gapKind: <row kind>, fields: { rfiId: <row id> } }` with `answers: { generation: <questionsGeneration>, rfiId: <row id> }` and the question in your own words (at most 600 characters); then audit again. A height is the exception: settle it with the height decision above, never by writing `z`; on a member already in the published model it is proposed in the review as the AI's change, so count it as settled by the AI and proposed for review, not as open. An RFI is the last step, never a way to hand work back: only a question you genuinely cannot settle after trying is filed, and those must be as few as possible. File it in the submit's `rfiSelection.gaps`, see "Submit a Quick read" below |
735
735
 
736
+ - **The model origin** follows the bottom-left rule: the crossing of the first X and first Y straight
737
+ grid lines (lowest in world order) that both reach, when every plan view is upright; otherwise choose
738
+ with a reason. Another crossing is allowed; say why. The audit and the model label it against the
739
+ default, and never block it. **When the person chose in the New project dialog to pick it themself**
740
+ (the instruction says so), the origin is theirs: record no origin decision, ask the origin row alone on
741
+ the setup card (any other row answers `quick-read-decides`), propose the bottom-left, and keep doing the
742
+ work that does not rest on it. Author what they confirm. A row whose status is `handed-to-ai` is theirs
743
+ handed back: decide it by the rule and record it. While it is open, write `"grid": {}` in the shell, and
744
+ end the run as `needs-you` if nothing else is left.
736
745
  - **Submit a Quick read.** Every audit response carries `questionsGeneration`: name it in every decision
737
746
  and every RFI, and the server binds each to the facts that audit listed. Every submit, first read and
738
747
  re-read alike, carries `rfiSelection: { requestId, gaps: [ ... ] }` with one singleton per question you
@@ -1011,6 +1020,9 @@ rows to the same setup flow only after that study; do not ask them early merely
1011
1020
  grid axes (the ids you write, the labels the person sees). A point on a skewed or partial line
1012
1021
  (`K.1/1.1`) goes under `offGrid`, naming the straight choice it is the same point as and why. The
1013
1022
  card states that equivalent before the person can confirm, and what lands is the straight point.
1023
+ Set `proposed` to the bottom-left crossing: the first X and first Y straight grid lines (lowest in
1024
+ world order) that both reach, when every plan view is upright. With a rotated view or no straight
1025
+ grid there is no default; propose with a reason, or not at all.
1014
1026
  - **level**, per plan VIEW: `{ kind: "level", viewId, page, title, readings?: [...], noSingleLevel?:
1015
1027
  { why } }`. `readings` are exactly the plan-elevation-proposal readings (step 9 below). A sheet
1016
1028
  with two plan views (an enlarged stair foundation plan and its second-floor plan) gets TWO rows. A
@@ -1187,6 +1199,9 @@ because nothing automatic can tell a genuine dimension chain apart from a coinci
1187
1199
  of a neighbouring row of dimensions. **A metric sheet never reaches `author`, however strong the
1188
1200
  recorded analysis.**
1189
1201
 
1202
+ On a **metric** `printed-unverified` row no grid family could be built, so no dimension checked the printed
1203
+ `1:N`; it assumes a 100 % plot. Say "from the printed ratio alone, unchecked", never measured or fitted.
1204
+
1190
1205
  On a `metric-unverified` row, quote `outcome.standard`, `outcome.unit` (whether the sheet's bare
1191
1206
  numbers were read as millimetres or centimetres - real sets use either, and the difference is a factor
1192
1207
  of ten), and `outcome.plottedAtPct` (how far the drawn content sits from that ratio: a real metric
@@ -1375,6 +1390,21 @@ Two rules follow, and both matter:
1375
1390
  wrong, and invisible to any check that only compares sizes. If you cannot tell whether the section
1376
1391
  is turned, that is an RFI, not a default.
1377
1392
 
1393
+ **A European (`EU`) project: write the designation as drawn; FloLess resolves it.** `HEA140`, `IPE400`, `UPE100`
1394
+ match the catalogue as written. `RHS200*100*5`, `SHS80*3` and `L100*8` resolve to `KK200/100/5`, `KK80/3` and `L100/8`
1395
+ (`x`, `×` and `*` are the same). A hollow section with TWO numbers is SQUARE: `RHS100*4` is 100 by 100 by 4.
1396
+ - **`RHS`/`SHS` is an assumption FloLess labels** ("assumed cold-formed EN 10219 - the drawing does not say") on the
1397
+ member and the bill. Never hide the label and never pick `KW` to be safe.
1398
+ - **When the drawing states the route** (a note says hot-finished, EN 10210), write the exact name (`KW200/100/5`) as
1399
+ `profile` and the evidence in the member's `profileBasis`, in plain English, naming the sheet or note. If the note's
1400
+ reach is unclear, keep the drawn spelling and ask. When you change a member's `profile`, restate or remove its `profileBasis`.
1401
+ - The catalogue also holds the sizes the Dutch export lacks, from the Tekla default environment: EN 10219/10210 walls
1402
+ such as 2.5, 7.1 and 8.8 mm, small `CHS`, `HD` columns and `USP` channels. Their own names (`CFRHS120X80X7.1`,
1403
+ `CFCHS48.3X2.5`, `HD400*237`) are catalogue names, so write them as drawn too; `RHS`/`SHS` still lands on the
1404
+ cold-formed row and is still labelled.
1405
+ - A size the catalogue deliberately lacks (`RHS160*100*4`) stays unresolved and raises an RFI; never use the nearest size.
1406
+ - Default grade is `S355` (open) and `S355J2H` (hollow), a labelled default; the drawing's material list governs. Scale `1:50` is `mm_per_px = 50 x 25.4/72`.
1407
+
1378
1408
  **A mark may legitimately serve several runs, and the geometry cannot tell you how many.** One mark
1379
1409
  labelling a repeated bay, or qualified by a `TYP.` note, is correct; the same mark claimed by three
1380
1410
  runs may equally be one member drawn twice. `TYP.` is a separate text element from the mark it