Frontend Engineering

Before Choosing Tools: Write a Website Brief That Covers Failure

Define the journey, source of truth, retry behavior and acceptance criteria before committing to a website implementation.

Mohammed Katanani November 2026 4 min read
Before Choosing Tools: Write a Website Brief That Covers Failure

Use this guide to turn a broad website request into decisions that can be estimated and tested. Follow the enquiry through its systems, then inspect lost responses, retries and external-service failure.

The request was saved, but the browser never received confirmation. The visitor submits again. If the brief cannot explain what happens next, the proposal has left an integration decision unresolved. Define the journey, failure boundary and authoritative record before committing to implementation.

Describe a journey, including failure

Illustrative journey: a visitor selects a service, submits a request, and operations follows it in a CRM. Identify the first durable save, the point at which confirmation becomes truthful, and the behavior during a CRM outage. Losing requests may be unacceptable, requiring durable intake and background retry. A low-complexity enquiry flow may need much less. The business operation determines that decision.

Assign a source of truth

List the fields: name, contact information, project location and request status. Who creates each field? Who may change it? Which system wins a conflict? Bidirectional synchronization needs a rule for competing updates. The word “sync” does not specify direction, frequency, conflict handling or operational ownership.

Inspect the contract before fixing the price

Request a representative response, test access, authentication flow, error shape, file limits and pagination behavior. Name an owner and availability date for each dependency. An undefined API can justify a discovery stage or a provisional estimate with explicit assumptions. When an assumption changes, review the scope and delivery implications with the client.

Make acceptance observable

Replace “the form works” with checks: valid input creates one request; invalid input creates none; a retry of the same operation does not duplicate it; and an unavailable integration leaves a visible pending state. This example is an acceptance contract, not an implementation. Duplicate protection needs a server-enforced unique operation key and atomic processing, not merely a client-generated string.

journey: submit-service-request
owner: operations
source_of_truth: request-database
acceptance:
  - valid input creates one request
  - retry with same operation key returns existing request
  - CRM outage preserves request and exposes pending status
launch_excludes:
  - multi-stage CRM reporting

Choose the implementation layer

For a service site, test the editing workflow before proposing a custom CMS. For Shopify presentation, evaluate a Liquid section before headless. For specialized permissions or operational data flow, assess a custom application. A React interaction does not require rebuilding every surrounding service. Keep launch requirements separate from later reporting, roles or additional integrations.

Price operation as well as delivery

Who investigates a failed job? Who owns the domain and recurring services? Can the client update content? What is explicitly deferred? These answers affect handoff and maintenance. Support duration and additions belong in the project agreement rather than an assumed universal package.

A useful one-page brief contains the journey, fields, source of truth, dependency owners, failure policy, exclusions and acceptance checks. Ask a client-side operator to read it and explain what happens during an outage. A gap in that explanation deserves discovery before commitment.

Inspect the failure window outside the demo

There are different interruption points: before persistence, after persistence but before the response, and after acknowledgement but before the destination receives the work. Give each point a state, recovery behavior and owner. A missing response does not establish a failed write; inspect the operation or retry with the same identity according to the contract.

Scope the operation key to the tenant or shop and bind it to an input fingerprint. Reusing a key with different data is a conflict, not a safe retry. The index below is one element of the design; validation and correct conflict handling remain necessary.

CREATE UNIQUE INDEX request_operation_key
ON requests (tenant_id, operation_key);
BEGIN
  insert request with operation_key + payload_hash
  if created: insert pending outbox work
  if repeated: compare the stored payload_hash
COMMIT
same key + different payload => reject, never silently merge

Persisting the request and pending follow-up in one local transaction closes the gap between saving the record and recording the work. An outbox worker can publish to an external queue afterward. This local transaction does not guarantee a single external side effect: the destination write needs its own retry policy.

Attach evidence to the proposal

  • Same operation and payload: the authoritative record does not duplicate.
  • Same key with different payload: reject the conflict.
  • Destination outage: pending work remains observable and recoverable.
  • Service restored: inspect the result before closing the operation.

This does not require a large system for every enquiry form. It exposes whether the requirement needs durable writes and background recovery, or whether a simpler explicitly bounded flow is enough.

Send the current URL, user task, connected systems and largest uncertainty through the contact page to discuss a focused review or implementation scope.

A concise acceptance checklist

  • A clear journey and durable intake point.
  • An authoritative record and conflict policy.
  • Defined behavior for duplicates and uncertain responses.
  • An operating owner, recovery path and written acceptance criteria.

Related articles

Share Article
Is your website suffering from these issues?I'll audit it for free and send you a clear report.
Request a free audit

Related articles

All articles →
Replies during working hours