@floless/app 0.160.0 → 0.161.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.
@@ -331,6 +331,16 @@
331
331
  "type": "object",
332
332
  "required": ["by", "via", "requestId", "questionId", "n", "how", "label", "answeredAt"],
333
333
  "additionalProperties": false,
334
+ "oneOf": [
335
+ {
336
+ "description": "A confirmed proposal: it may say where the proposal came from (proposal), never what was typed.",
337
+ "properties": { "how": { "const": "confirmed" }, "typed": { "type": "null", "const": false } }
338
+ },
339
+ {
340
+ "description": "A typed height: the person's own number, so it carries no proposal, no shown proposal and no reading of their picture.",
341
+ "properties": { "how": { "const": "typed" }, "proposal": { "type": "null", "const": false }, "shownAs": { "type": "null", "const": false }, "basis": { "type": "null", "const": false } }
342
+ }
343
+ ],
334
344
  "properties": {
335
345
  "by": { "const": "person" },
336
346
  "via": { "const": "question-card" },
@@ -365,6 +375,19 @@
365
375
  "observations": { "type": "integer", "minimum": 1 }
366
376
  }
367
377
  },
378
+ "proposal": {
379
+ "description": "#2788: confirmed answers only: where the proposal the person confirmed came from. read: off a drawing; measured: on one; derived: worked out from other values, with basis saying how. Still the person's answer. Server-written.",
380
+ "oneOf": [
381
+ {
382
+ "type": "object", "required": ["how", "basis"], "additionalProperties": false,
383
+ "properties": { "how": { "const": "derived" }, "basis": { "type": "string", "minLength": 1, "maxLength": 160, "pattern": "^(?=.*\\S)[^\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]+$" } }
384
+ },
385
+ {
386
+ "type": "object", "required": ["how"], "additionalProperties": false,
387
+ "properties": { "how": { "enum": ["read", "measured"] }, "basis": { "type": "string", "minLength": 1, "maxLength": 160, "pattern": "^(?=.*\\S)[^\\u0000-\\u001f\\u007f-\\u009f\\u2028\\u2029]+$" } }
388
+ }
389
+ ]
390
+ },
368
391
  "answeredAt": { "type": "string", "minLength": 1, "maxLength": 40 }
369
392
  }
370
393
  }
@@ -2,7 +2,7 @@
2
2
  name: floless-app-rfi
3
3
  description: File, send, and manage RFIs on a floless.app project from the terminal. Use when the user asks to raise an RFI, send it through the connected Gmail account, record a manual send, chase one, record an answer that came back from the engineer, mark an answer as applied, close or reopen an RFI, or asks what questions are still outstanding on a project. Also use when a size the AI could not work out is one the user cannot answer either, so the question has to become a durable record instead of a message that scrolls away.
4
4
  metadata:
5
- version: 0.5.0
5
+ version: 0.6.0
6
6
  ---
7
7
 
8
8
  # File and manage a project's RFIs
@@ -311,8 +311,9 @@ drifts. Flat-stock product names (`PL`, `PLATE`, `BAR`, `FB`, or `FLAT`) are not
311
311
 
312
312
  Two paths put the answered size into the steel, and both belong to the user:
313
313
 
314
- 1. **The size box on that RFI row in the Steel editor** — the designed path. It exists only when the
315
- editor can place the member; where it cannot, the row says so instead and there is no box.
314
+ 1. **The size box on that RFI row in the project's RFIs step** (a Steel Model project's step right after Model;
315
+ it used to be a window inside the Steel editor) — the designed path. It exists only when the editor can place
316
+ the member; where it cannot, the row says so instead and there is no box.
316
317
  2. **The editor's Ask AI box**, which queues a contract-edit request you then handle with
317
318
  `floless-app-tweak-contract`.
318
319
 
@@ -421,8 +422,20 @@ They live in their own store and use their own actions — the steel ones above
421
422
  - **Filing:** `rfis.correspondence-file` (title, question, citations) records the question only.
422
423
  `rfis.correspondence-file-and-mark-sent` also records who it was sent to and is a card the person
423
424
  confirms — use it only after the person sent the email themself.
424
- - **Sending:** FloLess sends nothing for these RFIs. `rfis.correspondence-text` gives the subject and
425
- body to paste into their own email; then `rfis.correspondence-mark-sent` (a card) records it.
425
+ - **Sending through Gmail** works as for a steel project (the same delivery engine; the rules in
426
+ *Sending through the connected Gmail account* above hold word for word), with this store's actions:
427
+ `rfis.correspondence-gmail-readiness` first; then `rfis.correspondence-deliver` (one address, the
428
+ `recordRevision` you read, and `rootId` / `projectUuid`) — a card the person confirms, because it
429
+ emails an outside party. The list's `delivery` on each row is its live send: `recorded` (accepted by
430
+ Gmail, not proof of the inbox), `failed` (nothing was sent; offer to send again or copy the text),
431
+ `prepared` (use `rfis.correspondence-deliver-continue` with its `attemptId` — it finishes that one
432
+ send, never a second) and `outcome-unknown` (**never send again**; ask the person to search Sent for
433
+ `reconciliationMarker`, and only when they found it, `rfis.correspondence-deliver-confirm-sent`).
434
+ While a send is `prepared` or `outcome-unknown` the RFI is held: its `verbs` are empty and Mark sent,
435
+ Answer and Close answer `rfi-delivery-recovery-required`. That hold is deliberate (owner ruling
436
+ 2026-10-26) until a later release adds a way out; there is no "not found, resend" action.
437
+ - **Sending yourself:** `rfis.correspondence-text` gives the subject and body to paste into their own
438
+ email; then `rfis.correspondence-mark-sent` (a card) records it.
426
439
  - **Answer, close, reopen:** `rfis.correspondence-answer` (open or sent), `rfis.correspondence-close`
427
440
  (`answered` only once answered; `withdrawn`, `superseded`, `wont-fix` need a note),
428
441
  `rfis.correspondence-reopen` (closed only, with why). Each names the `recordRevision` you read.