Business · Product · Technology · AI

Separate invitation scope, request creation and manual delivery fallback

A Movo-X invitation case tracing explicit sharing choices, request construction, bounded expiry and a manual-share option when the selected response reports that an invitation was not queued.

Work directly with Omer Muneer Qazi · Reviewed 30 November 2026

The scenario: creating a request does not finish delivering it

An invitation workflow can successfully create a share while its message cannot be queued. That leaves the person with useful work to continue: a request and link may exist even though the intended recipient has not received anything. Treating all of those states as a single sent result makes recovery difficult to explain.

Four existing Movo-X cases examine selected draft, request, route and text behavior with synthetic data. Two portable Swift fixtures use fake transport; two TypeScript fixtures use injected route dependencies and local text construction. No phone, provider or share sheet is used. The native sharing controls are inspected as source rather than presented as an installed-interface result.

Make the selected sharing scope visible in the request

The native draft fixture checks its default expiry and included parts, with family notes excluded from the default selection. A selected consent state is required before the draft produces a usable body. In the valid example, selected parts are encoded in the intended order and an empty question is omitted.

The fixture also checks that the encoded body contains only the selected contract keys, including the consent-version value. This establishes request construction, not whether a real person understood the choice or whether the server stored the authorized content subset. Native explanation, consent recording and actual recipient visibility need separate acceptance.

Validate the available recipient context without claiming an identity lookup

The selected draft example refuses the caller’s own phone when that account-phone value is supplied, while a different supplied account phone allows the selected draft to proceed. Name, phone and consent problems are also observed for the initial empty draft. These are local decisions using dependencies already available to the draft.

The test does not verify a real phone, determine who currently controls it or prove that an absent account-phone value is sufficient recipient authorization. The server and recipient sign-in flow have their own decisions. Keep useful early feedback separate from authoritative identity and access checks.

Distinguish a bounded value object from refusing an invalid draft

The selected value-object initializer clamps an explicitly supplied expiry to its supported range. The same fixture checks a different boundary: an out-of-range user draft reports its expiry problem and does not produce a request body. Those are different API layers with different responsibilities.

The action fixture also verifies that an invalid extension never reaches its fake transport. Do not describe these outcomes as one universal repair rule or as proof of server expiry enforcement. A user decision, a constructed value and an authoritative expiration timestamp need a deliberate contract between them.

Carry request identity while deriving the outward link on the server path

The native create fixture checks its selected path, request header and contract body. The TypeScript family-route fixture requires a request ID and checks the derived share identifier, token hash and returned link against the selected server helper. The invitation link appears in the intended message body rather than as a raw token field sent to the injected RPC.

These cases exercise the selected client and route boundaries. Their fake dependencies do not persist a share or execute database replay behavior. A stable derived link and a request-ID header support retry intent, but they do not prove a complete durable idempotency policy under concurrent requests.

Use the actual queue response for the selected manual fallback

The native create fixture returns a usable link and delivery queued false. The decoded result reports that manual sending is needed. The action fixture separately returns a selected queued true resend result and checks that it does not require that fallback. This is a measured distinction between two injected response states.

The source requires both an explicitly unqueued delivery and a usable link for its manual-send predicate. Missing delivery metadata, malformed values and absent links have separate decoding and acceptance questions; these fixtures do not certify every degraded response combination. A queue flag is also not proof that a real recipient received or opened a message.

Inspect the system-sharing affordance without claiming the user completed it

The selected created-result view offers a ShareLink when it has a usable URL and chooses a different explanation when the result requires manual sending. The inspected share-detail view can also retain a manual URL for a resend fallback. Those source branches connect the response to an intended next action.

The operating system was not asked to present a share sheet, choose an app or deliver a message. Cancellation and returning to the app therefore remain explicit acceptance steps. A visible sharing affordance is useful recovery design, while completed delivery and recipient access still need their own evidence.

Test invitation text as a bounded representation

The selected text fixture checks generic app-first wording, a single-line WhatsApp body and a bounded SMS string under its synthetic requester substitution. It also checks selected character and content conditions. This is local string evidence for the chosen template and example, without sending a message.

The fixture does not measure provider segmentation, billing, every possible URL length or every substituted name. It also does not establish whether a recipient trusts or understands the invitation. Keep template checks, transport limits and actual communication outcomes distinct rather than turning a short synthetic string into a universal one-message guarantee.

Keep resend, extension and revocation as explicit operations

The native action fixture checks selected paths, empty revocation body, bounded extension input and trimmed reply text. The TypeScript route fixture checks selected request-ID requirements and action dispatch. The inspected UI updates its local share from the returned result and clears its manual URL after a selected successful revocation response.

None of those fakes revoke a real link or extend a stored expiration. They establish the selected request and response handling. Authoritative share status, provider retry behavior, repeated taps and link availability after a real revocation need permitted integration tests before becoming operational claims.

An invitation-lifecycle engineering handover

Retain the four scoped cases and record separate outcomes for selected scope, request creation, queue acceptance, manual action and recipient access. Add degraded-response and cancellation scenarios, then exercise permission, consent persistence and replay with synthetic accounts in the intended integration environment.

For a CTO, the result is an invitation workflow with explainable recovery: the selected data scope is explicit, request identity is carried deliberately and a created share can remain useful when queueing fails. The pinned source and injected fixtures establish those decisions while real delivery, durable state and installed-sharing behavior remain separately verifiable.

Compare the reviewed boundaries

Invitation progress has more than one success boundary

On smaller screens, scroll across to compare every column. Keyboard users can focus the table and use the arrow keys.

BoundarySelected evidenceSeparate acceptance
Scope and consent versionEncoded draft/body assertionsInformed choice and persisted authorized subset
Request creationFake client/route create responseDurable share and replay behavior
Not queued plus usable URLManual-send predicate is trueCompleted system sharing
Selected queued resendManual predicate is falseProvider and recipient delivery
Revoke or extend requestSelected paths and body constraintsStored expiry and link access after change

Illustrative control flow

Pseudocode summarizing the decision boundary. It is not copied production code or a deployment instruction.

body = validate_selected_scope_and_recipient(draft)
result = create_share(body, request_id)
if result.explicitly_not_queued and result.has_usable_link:
    offer_manual_share(result.link)
# Created, queued, manually shared and recipient-opened are separate outcomes.

About this engineering series

Written by Omer Muneer Qazi from a review of Movo-X implementation and dated engineering records. This article explains source behaviour and historical observations; current production, clinical outcomes and store availability require their own verification. Examples are synthetic and proposed test cases are identified as such.

Explore the Movo-X engineering series → · Related implementation experience →

Discuss a similar engineering problem

Send the workflow, current platform and the decision your team needs to make. I can help define an implementation or review scope with concrete acceptance evidence.

Discuss your project on WhatsApp ↗
WhatsApp Omer about this project ↗