|
| 1 | +# Exact-file handoff and reconciliation |
| 2 | + |
| 3 | +## The packet |
| 4 | + |
| 5 | +Use a private local record, not an invented provider API schema. Keep these categories |
| 6 | +separate so later agents can tell requirements from evidence: |
| 7 | + |
| 8 | +| Category | Preserve | |
| 9 | +| --- | --- | |
| 10 | +| Artifact | Export path, format, byte size, SHA-256, source revision and export settings. | |
| 11 | +| Geometry evidence | Tool/version, input hash, declared units, measurement method, actual observations and explicit limits. | |
| 12 | +| Assembly | Stable component identifiers, copies per assembly, assembly count and expected total physical quantities. | |
| 13 | +| Requirements | Process; exact material/grade; color/object mapping; finish; critical dimensions and allowed deviations; settings or approved defaults; intended use. | |
| 14 | +| Logistics | Required arrival with time zone or no deadline, destination needed for this stage, and allowed shipping choices. | |
| 15 | +| Sharing | Selected provider, approved files/use, reviewed retention terms and remaining permission questions. | |
| 16 | +| Provider record | Authenticated account identity without secrets, request/specification/order IDs, returned hashes/revisions and status evidence. | |
| 17 | +| Attempt | Exact request body, stable operation/idempotency key where supported, timestamp, response and reconciliation result. | |
| 18 | + |
| 19 | +If a local packet fingerprint is useful, record its serialization/schema version and hash |
| 20 | +algorithm. Store provider-issued fingerprints exactly as returned; providers can canonicalize |
| 21 | +fields differently. An unchanged CAD hash does not imply unchanged units, quantity or material. |
| 22 | + |
| 23 | +## Geometry and assembly checks that change the handoff |
| 24 | + |
| 25 | +- Compare measured bounds with the user's expected size. A factor-of-25.4 discrepancy is |
| 26 | + a reason to clarify units, not permission to rescale the export. |
| 27 | +- Mesh bounds, manifold-edge checks and enclosed-volume estimates answer different |
| 28 | + questions. None alone proves minimum wall thickness, clearance, support requirements, |
| 29 | + strength or printability. Record unsupported checks as unmeasured, not zero or passed. |
| 30 | +- For a mating body/lid, ask about fastening method, nominal mating dimensions, intended |
| 31 | + clearance, allowed variation and mating hardware. General design guidance is not a |
| 32 | + measurement of those features; record its source and process/material applicability. |
| 33 | +- Read actual components/build items before equating one file with one part. Multiple |
| 34 | + objects can be assembly components, repeated instances, supports or alternatives. |
| 35 | + Preserve transforms and the selected printable configuration; do not flatten or merge |
| 36 | + them silently to fit a provider's upload form. |
| 37 | +- Ask how quantity is interpreted. Three complete body/lid sets require six physical |
| 38 | + components. If a provider requires separate requests, preserve the relationship and do |
| 39 | + not imply combined shipping, shared payment or all-or-nothing acceptance. |
| 40 | +- For multicolor, bind assignments to the exact file and stable object/region selectors. |
| 41 | + Do not invent selectors, infer intent from a render or assume STL carries a color map. |
| 42 | + A provider accepting a format does not prove it interprets every feature of that format. |
| 43 | + |
| 44 | +## Map readiness to the requested action |
| 45 | + |
| 46 | +An unavailable payment or production channel may still permit a nonbinding review request; |
| 47 | +check the provider's actual contract. Conversely, an accessible upload endpoint does not |
| 48 | +establish stock, a feasible process, machine capacity, quotation accuracy or delivery timing. |
| 49 | + |
| 50 | +Do not fill missing values simply to pass validation. A review can use an explicitly approved |
| 51 | +provisional baseline; a manufacturing offer must bind the actual approved specification. |
| 52 | +Material substitutions, rescaling, regenerated CAD and revised deadlines require a new readback. |
| 53 | + |
| 54 | +## Reconcile without duplicates |
| 55 | + |
| 56 | +| Observation | Next action | |
| 57 | +| --- | --- | |
| 58 | +| Write returned a record ID | Read that record and compare artifact, specification, quantity and request type. | |
| 59 | +| Timeout or disconnected response | Preserve the original bytes/body/key; inspect known records before retrying. | |
| 60 | +| Documented idempotent retry exists | Replay identical content with the same key. A replay may return an old or cancelled record; inspect its state. | |
| 61 | +| No idempotency/reconciliation support | Reconcile through the provider's read UI or support process within the user's authorization. Keep the outcome unknown until evidence resolves it; do not blindly resubmit. | |
| 62 | +| Duplicate/conflict response | Read the referenced existing record; distinguish an already-created request from changed content or an obsolete revision. | |
| 63 | +| CAD hash or specification readback differs | Stop downstream actions. Explain the mismatch and resolve the intended artifact/version. | |
| 64 | +| User changes the design or requirements | Preserve the prior record; obtain the required new intent and create the provider-supported revision or new request. Reconcile any accepted/paid obligation separately. | |
| 65 | + |
| 66 | +Do not reuse one key for different operations or content. Do not generate another key to |
| 67 | +bypass an uncertain result, limit or conflict. Respect documented backoff/polling guidance. |
| 68 | +If the exact original write cannot be recovered, stop and report the missing reconciliation |
| 69 | +information rather than claiming failure or success. |
| 70 | + |
| 71 | +## Evidence for each stage |
| 72 | + |
| 73 | +| Stage | Evidence needed | |
| 74 | +| --- | --- | |
| 75 | +| Prepared | Local packet with exact artifact identity and unresolved fields. | |
| 76 | +| Uploaded | Provider record bound to that artifact; an upload is not a quote. | |
| 77 | +| Queued for review | Saved review/request ID and actual pending state. | |
| 78 | +| Reviewed | Report tied to the same CAD/specification; limitations remain explicit. | |
| 79 | +| Offered | Actual material/settings/quantity/destination, complete currency total, shipping/tax scope, expiry and timing terms. | |
| 80 | +| Accepted | Customer approval of that exact offer and provider-recorded acceptance. | |
| 81 | +| Authorized / captured | Provider evidence for each financial state separately. A checkout return page is not payment proof. | |
| 82 | +| Manufactured / shipped / delivered | Distinct production, physical carrier-handoff and delivery evidence, not an inferred progression. | |
| 83 | + |
| 84 | +The last three rows explain state interpretation; they do not authorize this skill to accept |
| 85 | +offers, pay or operate a printer. State names differ between providers. Read their authoritative |
| 86 | +fulfillment record rather than treating a generic backlog label as the whole order lifecycle. |
0 commit comments