WWork LibraryPublished work

Needs a decision

North-star solution

Ready for review
What this does not authorizeThis page is published while its source remains ready. Publication does not approve the source decision or authorize implementation.

Product promise

Adaptive Commerce Content helps a growth or merchandising operator turn catalog and journey context into relevant, on-brand content without surrendering publishing authority.

The system starts with one understandable post-purchase content unit and grows into a marketplace app that can reuse governed content, policies, and evidence across the commerce funnel.

The wedge and the north star

Wedge: approved Order Email content

The observed BigCommerce Order Email already exposes SKU, brand, name, type, options, thumbnail, price, and quantity. The safe first slice uses those native values to select among merchant-approved, pre-rendered units.

The app:

  1. reads the current template and records its exact hash;
  2. lets the merchant define approved SKU/brand/category rules;
  3. renders preview cases, exclusions, fallback, and the proposed template diff;
  4. activates only after explicit approval;
  5. records the installed revision; and
  6. pauses or restores without overwriting later merchant edits.

No raw order ID, shopper identity, live model call, or fabricated fallback is required.

North star: a governed content operating system

The broader system separates the durable product from any one channel:

Merchant intent
  → content unit + audience policy + authority state
  → deterministic candidate set
  → optional bounded assistance
  → surface adapter
  → immutable delivery version
  → decision receipt + outcome evidence

Every adapter declares what context it can safely receive, how it fails, and what the shopper sees when the adaptive path is unavailable.

Merchant workflow

  1. Choose a job — complement a purchase, explain product care, support an order, invite loyalty, replenish, or promote.
  2. Set boundaries — eligible products/categories, exclusions, frequency, markets, validity, and fallback.
  3. Compose — use approved copy and assets or request bounded assistance.
  4. Preview and explain — inspect normal, excluded, missing-data, and failure examples with a reason for each outcome.
  5. Approve and activate — see scopes, delivery change, destination, measurement, cost, and restore plan before publishing.
  6. Observe and adjust — inspect delivery, fallback, clicks, downstream outcomes, cost, and incidents; pause or restore at any time.

System architecture

PlaneCandidate implementationHard boundary
Marketplace shellBigCommerce OAuth callbacks, embedded React UI, tenant lifecycleInstallation never activates content
Commerce adapterCatalog reads, verified webhook ingestion, template read/writeMinimum scopes; order-created is not eligibility
Policy and decisionTypeScript rules, versioned content-unit schema, deterministic candidatesNo invented catalog facts or unapproved offer
AssistancePortkey-routed models for grounded drafts or structured rankingOptional, logged, policy-bounded, fallback-first
CompositionVersioned templates, catalog assets, optional Satori/Resvg-class rendererRenderer is replaceable; inputs and fonts are pinned
DeliverySurface-specific adapters, R2/CDN immutable assets, static fallbackNo enumerable order identity; adapter declares context
EvidenceD1 receipts, delivery/fallback/click/cost events, downstream attributionNo raw capability or unnecessary shopper data
OperationsCloudflare Workers, Queues, environment isolation, audit and support toolingTest fixtures cannot appear in installed-store traffic

Content and AI capability ladder

LevelCapabilityExamplePublish authority
L0DeterministicApproved rain cover when purchased SKU belongs to hiking packsRules and approved assets
L1Assisted copyDraft three grounded headlines from approved product factsHuman approval
L2Assisted compositionCrop approved catalog imagery into an approved layoutHuman approval or pre-approved policy class
L3Generated creativeCreate a net-new seasonal scene and copy variantExplicit class, provenance, human review

The research program advances the level only when it reduces production effort without increasing corrections, policy incidents, or shopper distrust.

Surface roadmap

HorizonSurfacesResearch question
1. Prove controlOrder Email, sandbox onlyCan a merchant understand, preview, activate, and restore the safe wedge?
2. Prove assistanceContent studio and approval queueDoes assistance lower production effort while preserving brand and facts?
3. Prove journey valueFulfillment, order/account, care, review, loyalty, replenishmentWhich post-purchase jobs create measurable value beyond promotion?
4. Prove reuseHome, category, product, cart through supported adaptersDoes shared policy/content beat native merchandising or simpler rules?
5. Prove generationExplicit generated-copy and imagery classesIs incremental value worth the rights, trust, and review burden?

Measurement

The executable boundary is measurement-contract.json; the reader explanation is docs/measurement-and-incrementality-contract.md.

The first experiment needs three layers:

  • task evidence — configuration completion, time, errors, preview comprehension, activate/pause/restore success;
  • system evidence — eligible/omitted/fallback rates, latency, cache, rendering cost, incident and restore receipts; and
  • value evidence — qualified clicks and downstream follow-on behavior compared with an approved static baseline through stable randomized assignment.

The primary candidate decision metric is completed follow-on purchase rate for assigned eligible subjects. Qualified clicks are a leading diagnostic. Last-click attribution is not a causal incrementality estimate.

Open-rate imagery is not treated as the primary outcome because client privacy and caching behavior can distort image-fetch signals.

Personal project status

This is the state of a personal exploration. Nothing below is a funded build, a committed roadmap item, or work planned by any employer.

ItemStatus
Product research, sandbox template observation, and holdout comparisonComplete
Safety kernel using synthetic orders/catalog, including 20 testsComplete
Shareable decision site and interactive product prototypeBuilt in this phase
BigCommerce OAuth app and live embedded control planeNot built
Sandbox template activation/restore with a second operatorNot run
Production shopper data, model calls, emails, or deploymentNot authorized or used

Build authorization boundary

A runtime build should begin only after reviewers agree that:

  1. the merchant job is worth testing;
  2. the template-native wedge is an acceptable learning vehicle;
  3. the marketplace-app/control-plane boundary is correct;
  4. the first content purpose and success metric are explicit; and
  5. reviewers accept the scope, template-mutation, support, and restore burden.