# Maweng Track A · standalone no-funds web demo

**Status: hosted at https://maweng-demo.binasta.workers.dev as an asset-only Worker. Not submitted, not a release, not live.**
**Paper only. No funds, account, wallet, order, transfer, signing, or credential exists in this demo.**

![Maweng Track A synthetic-fixture judge path](screenshot.png)

Worker CORS is now live for the three public routes (source commit `c9eab90`, separate Worker task; observed live
at `2026-11-29T16:16Z`). A logged-out Chrome direct-mode fetch succeeded for catalog, prices, and the paper
verifier. A local same-origin relay remains available for review, but direct static hosting no longer depends on
it. See section 4 for the exact probes.

This is a standalone static demo in `apps/track-a-web-demo/` for the DevSpot working-demo-link gap.
It uses only plain HTML, CSS, and browser-native ES modules. There is no npm dependency, no build step,
no Expo or React Native API, and no Worker/core/app/schema/money-engine change.

The demo fetches **real public market data** from the deployed Worker, makes a **local simulated
paper fill**, creates a **core-compatible paper certificate**, and can send only that paper envelope to
the **existing public receipt verifier**. It never calls an order, quote, transfer, user, portfolio,
ramp, signing, or wallet route.

It has two clearly separated modes:

1. **Real public data** (default): real catalog/quote, real 15-minute freshness gate, optional public paper
   verification.
2. **Rehearse with fixed synthetic fixture**: the committed `fixtures/paper-receipt.json` only, **no network**,
   clearly labeled **SYNTHETIC FIXTURE / NOT A LIVE QUOTE**, full local paper fill → certificate → checklist
   available 24/7. Public verification is disabled in this mode. Paper state is stored under a different key and
   is never mixed with public-mode state.

---

## 1. Judge path (about 60 seconds)

1. Open the page and read the top **DEMO · PAPER ONLY / NO FUNDS** banner.
2. Tap **Load $250 DEMO paper**. This writes fake local paper cash in this browser. No account or wallet is created.
3. Tap **Refresh public market** if the catalog is not already loaded. The demo reads the existing public
   `/v1/wealth/catalog?asset_class=stock` and `/v1/wealth/prices?symbols=SGOV,BILON` routes.
   The prices feed is **hourly**, and the borrowed display window is **15 minutes** from the public
   `price_as_of`. The demo may therefore be unfillable for most of an hour. It says so, disables the fill, and
   never substitutes a newer timestamp or price. A fill can be rehearsed only while the public quote is inside
   that window.
4. Select **SGOV** in the curated **USD Treasury Bills** tranche. Read the consequence ticket: public quote,
   observed time, age, 20 bps modeled fee, total paper debit, simulated quantity, and cash after.
5. Tick **I reviewed this public quote...**, then tap **DEMO paper fill**. The fill is local. No funds move.
6. Tap **View certificate** in the local fills list. The dialog shows the paper certificate and runs the local
   WebCrypto SHA-256 / structure check.
7. Optionally tap **Verify with public verifier**. The demo POSTs only the paper envelope to
   `/v1/tm/receipts/verify` and displays the server verdict (`demo`) plus `requestCode` and reasons.
8. The **Try it checklist** ticks from real page state: catalog loaded, paper cash loaded, fresh quote reviewed,
   local fill created, certificate opened and locally verified.

If no quote is cached, the quote is older than 15 minutes, or the response is malformed, the fill button is
disabled with a refresh-required reason. The demo never substitutes a hardcoded or invented price.

**If the real public quote is stale** — the hourly feed is outside the 15-minute window for much of each hour —
choose **Rehearse with fixed synthetic fixture** in the **Data mode** panel. That mode is available 24/7, uses the
committed fixture with **no network**, and every surface is labeled **SYNTHETIC FIXTURE · NOT A LIVE QUOTE**. The
paper fill, certificate, local hash check, and checklist work exactly as in public mode; the public verifier button
is disabled. Public and fixture paper state are stored separately, so switching modes cannot mix fills or cash.
The default remains real public data.

---

## 2. What is real and what is simulated

| Thing | Source | Real or simulated |
|---|---|---|
| Catalog listing metadata | Public Worker `GET /v1/wealth/catalog?asset_class=stock` | Real public data |
| Quote price and observed time | Public Worker `GET /v1/wealth/prices?symbols=...` | Real public data |
| Quote age gate | Browser calculation against the public `price_as_of` timestamp | Local, 15-minute display window |
| Paper cash, fill, position, fee | Browser `localStorage` and local integer arithmetic | **Simulated** |
| Paper certificate | Browser WebCrypto SHA-256 over the core canonical field order | **Simulated** |
| Public verifier verdict | Existing Worker `POST /v1/tm/receipts/verify` | Real service, paper verdict |
| Synthetic fixture quote + rehearsal fill | Existing committed `fixtures/paper-receipt.json`; separate local paper key; no network | **Synthetic fixture**, not a live quote |
| TOTAL CAPITAL | Not linked; this demo has no capital total | Paper is excluded |

The modeled fee is **20 bps** from the existing Gateway fee schedule source
(`packages/core/src/plugins/truemarkets/certificate.ts`: `GATEWAY_FEE_BPS = 20`,
"Gateway fee schedule, page updated 12 Nov 2026"). It is labeled a paper estimate, not a venue quote or
settled fee. Other fee legs stay `unknown` or `not_applicable`; the certificate never turns an unknown fee
into zero.

---

## 3. Public endpoints and exact response shapes

Only these fixed routes are allowed in **real public mode**. No endpoint is user-supplied. **Fixture rehearsal
mode makes no network request at all.**

### Catalog

```http
GET https://maweng-ai-proxy.binasta.workers.dev/v1/wealth/catalog?asset_class=stock
```

Observed response shape (29 Nov 2026, 15:22Z; 2,169 rows / 1,478,935 bytes):

```json
{
  "ok": true,
  "data": [
    {
      "id": "5dbaa1c8-…",
      "symbol": "SGOV",
      "name": "iShares 0-3 Month Treasury Bond ETF",
      "chain": "robinhood",
      "venue": "defi",
      "asset_class": "stock",
      "status": "active",
      "price_usd_micros": null,
      "price_as_of": null
    },
    {
      "id": "e86ef148-…",
      "symbol": "BILON",
      "name": "SPDR Bloomberg 1-3 Month T-Bill ETF",
      "chain": "solana",
      "venue": "defi",
      "asset_class": "stock",
      "status": "active",
      "price_usd_micros": null,
      "price_as_of": null
    }
  ],
  "surging": [],
  "availability": { "country": "KE", "allowed_product_types": ["spot", "perp"], "allowed_asset_classes": ["crypto", "stock"] },
  "configured": true
}
```

The real `data` rows carry many additional fields (`issuer`, `tradeable`, `decimals`, `market_data`, …); the
snippet above keeps only the fields this demo reasons about. The parser requires `id`, `symbol`, `name`, and
`status: "active"` for a curated symbol; all other listing fields are ignored.

**Shape note:** this endpoint's `price_usd_micros` fields were `null` for both curated rows in the observed
response, even though the catalog loaded. The demo therefore treats the prices endpoint as the only quote
source and ignores catalog prices. It does not infer a price from the listing.

### Prices / quote

```http
GET https://maweng-ai-proxy.binasta.workers.dev/v1/wealth/prices?symbols=SGOV,BILON
```

Observed response shape (`2026-11-29T15:22Z`):

```json
{
  "ok": true,
  "data": [
    {
      "symbol": "SGOV",
      "asset_id": "31c1e461-…",
      "price_usd_micros": 96369230,
      "change_24h_bps": -93,
      "change_7d_bps": -528,
      "as_of": "2026-11-29T15:00:00Z",
      "price_as_of": "2026-11-29T15:00:00Z"
    }
  ]
}
```

`BILON` was present in the catalog but **absent** from this `symbols=SGOV,BILON` price response. The row is
accepted only if `price_usd_micros` is a positive safe integer and `price_as_of`/`as_of` parses. The source is an
**hourly** public quote history feed, not a tick feed. At 15:22Z this 15:00Z quote was already 22 minutes old,
outside the 15-minute window, so the page correctly showed **STALE · REFRESH** and disabled the fill. A later
probe at 16:02Z returned a revised price (`97873266`) but the **same** `15:00Z` observation time, so it remained
stale; freshness follows the provider timestamp, not the fetch time or an intra-hour price revision. A row can be
absent or older than 15 minutes; both cases disable the local fill.

### Paper receipt verification

```http
POST https://maweng-ai-proxy.binasta.workers.dev/v1/tm/receipts/verify
Content-Type: application/json
```

Request body:

```json
{ "mode": "paper", "certificate": { "version": 1, "…": "core-shaped paper certificate" } }
```

Response shape:

```json
{
  "receiptId": "tmcert:8361fb9bf438d4f1",
  "verdict": "demo",
  "checkedAt": "2026-11-29T14:45:44.954Z",
  "reasons": ["demo_receipt_not_live", "hash_verified", "receipt_id_verified", "fee_consistent", "fill_consistent", "consensus_not_supplied", "no_on_chain_tx"],
  "requestCode": "rcpt_90de72fff76f"
}
```

The actual `requestCode` is generated per request and is not stable. The fixed fixture's real probe returned
the reasons above and verdict `demo`. This is a **demo** verdict, not a live execution or a claim of funds.

---

## 4. CORS status and public-route probes

**CORS is live for the three public routes.** The separate Worker change in commit `c9eab90`
(`tools/ai-proxy-worker/src/index.ts`) adds a scoped wildcard `Access-Control-Allow-Origin: *` for exactly:

- `GET /v1/wealth/catalog`
- `GET /v1/wealth/prices`
- `POST /v1/tm/receipts/verify`

plus a 204 preflight for the matching method and an `Origin` header. It sends no
`Access-Control-Allow-Credentials` and does not add CORS to order, transfer, account, org, or admin routes.
This demo did **not** edit or deploy the Worker. The change was first observed live at
`2026-11-29T16:16Z`; the same routes had no CORS header and OPTIONS 405 through `16:03Z`.

Live probes from a non-Worker origin:

```text
$ curl -sS -D - -o /dev/null -X OPTIONS \
    'https://maweng-ai-proxy.binasta.workers.dev/v1/wealth/prices?symbols=SGOV,BILON' \
    -H 'Origin: https://example.github.io' -H 'Access-Control-Request-Method: GET'
HTTP/2 204
access-control-allow-origin: *
access-control-allow-headers: accept, content-type, cache-control, pragma
access-control-allow-methods: GET, OPTIONS
access-control-max-age: 600

$ curl -sS -D - -o /dev/null \
    'https://maweng-ai-proxy.binasta.workers.dev/v1/wealth/prices?symbols=SGOV,BILON' \
    -H 'Origin: https://example.github.io'
HTTP/2 200
content-type: application/json; charset=utf-8
access-control-allow-origin: *
access-control-expose-headers: date
```

The verifier POST also returned `HTTP/2 200` with `access-control-allow-origin: *` and the normal demo verdict.
A logged-out Chrome page served from a plain static origin then loaded the catalog and quote directly
(**direct Worker**, two 200 Fetch responses, no console errors) and POSTed the synthetic fixture to the real
verifier successfully. The strict client checks still apply: only a `mode: "paper"` envelope with
`routeReason: "paper_local_simulation"`, null `orderId`/`txHash`, and a body <= 16,384 bytes is sent.

The included **zero-dependency local relay** (`serve.mjs`) remains available for local review and for an
environment where the Worker origin is unreachable. It proxies only the same three fixed routes same-origin and
does not modify the Worker. It is not required for static GitHub Pages or Cloudflare Pages now that CORS is live.
It also only forwards a paper envelope and rejects anything else before the public verifier sees it.

Independent of CORS, the demo never weakens a blocked or stale quote: a failed fetch shows the error state, and
the fill remains disabled rather than inventing a price or a server verdict.

---

## 5. Certificate hash contract

The browser implementation mirrors
`packages/core/src/plugins/truemarkets/certificate.ts` (`tmCertificateCanonicalJson` /
`tmCertificateHash`) exactly:

`version, id:"", orderId, symbol, side, chain, venue, routeReason, quotePriceMicros,
executedVwapMicros, executedQtyText, notionalUsdcCents, feeUsdcCents, feeBps, feeBreakdown
(id, label, amountUsdcCents, basisBps, status, source), feeTotalUsdcCents, fx,
priceImprovementBps, txHash, ledgerTxId, generatedAt, disclaimer`, then the append-only fields
`consensusHash, quoteSource, quoteObservedAt, quoteExpiresAt` when present.

`id` is pinned to `""` inside the hash and then becomes `tmcert:<first 16 hex>` after the hash. The final
`hash` is excluded from its own body. `quoteObservedAt` and `quoteExpiresAt` are both required for the paper
certificate; the window is the public observed time plus 15 minutes.

**Fixed synthetic fixture:** `fixtures/paper-receipt.json`
**Core-generated SHA-256:** `8361fb9bf438d4f15a180c58080ded2864090deded44f802c0ecf742ee25ed9c`
**Certificate id:** `tmcert:8361fb9bf438d4f1`

`test/fixture.test.mjs` recomputes the hash with WebCrypto and compares it to that fixed core-generated
hash. `test/paper.test.mjs` also constructs a fill at the same fixed clock and checks the core field set.

Copyable curl example (fixed synthetic fixture, no user data):

```bash
curl -sS -X POST "https://maweng-ai-proxy.binasta.workers.dev/v1/tm/receipts/verify" \
  -H "content-type: application/json" \
  --data-binary @apps/track-a-web-demo/fixtures/paper-receipt.json
```

### Synthetic fixture rehearsal mode

The **Rehearse with fixed synthetic fixture** mode is not a second price source. It derives its quote and
symbol/chain/venue from the committed fixture certificate:

- `SGOV`, chain `robinhood`, venue `defi`
- quote price `100000000` micro-dollars ($100.0000), fixed observation `2026-11-29T13:59:00Z`
- source string `Fixed synthetic fixture · fixtures/paper-receipt.json · NOT A LIVE QUOTE`
- no `sourceUrl`, no fetch, no provider data

The quote is marked `synthetic` in code. Public mode rejects it; only the explicit fixture mode can fill it, and
the freshness gate is replaced by a fixed-fixture label (`SYNTHETIC`, never `FRESH`). A rehearsal fill uses the
same integer 20 bps fee/quantity math and core canonical certificate order, but its disclaimer is
`DEMO · PAPER · SYNTHETIC FIXTURE...`, its `generatedAt` is the local fill time, and its fixed quote window is not
claimed to be current. Local SHA-256/structure checks run; **no public verifier POST is made** and the verifier
button is disabled. The committed fixture's own copyable curl above remains a separate fixed example.

Public paper state is stored at `maweng.track-a-web-demo.paper.v1`; fixture rehearsal state is stored at
`maweng.track-a-web-demo.paper.fixture.v1`. Switching modes saves one and loads the other; fills, cash, opened
certificates, and server results cannot cross modes. The default is public mode. `?mode=fixture` opens directly in
fixture mode without any market fetch.

---

## 6. Local serve, GitHub Pages, and Cloudflare Pages

Do **not** open `index.html` via `file://`: ES modules and WebCrypto need a local HTTP origin (`localhost` is a
secure context). All commands below are hosting/serving instructions only; no hosting action was performed.

### A. Working local review (recommended)

From the repository root:

```bash
node apps/track-a-web-demo/serve.mjs
# open http://127.0.0.1:4173/                 (real public data, default)
# open http://127.0.0.1:4173/?mode=fixture    (fixed synthetic fixture, no network)
```

The server uses Node built-ins only (no npm install, no build step). It serves the static files and enables the
same-origin relay for the three fixed public routes. `--port 8080` or `PORT=8080` changes the port. It binds
`127.0.0.1` by default. The relay is convenient for review, but with the public-route CORS live it is no longer
required for a static host.

### B. Plain static serve (direct Worker mode)

```bash
python3 -m http.server 4173 --directory apps/track-a-web-demo
# open http://127.0.0.1:4173/                 (direct Worker; CORS live)
# open http://127.0.0.1:4173/?mode=fixture    (no API fetch)
```

The page loads its local assets and calls the Worker directly. With the public-route CORS now live, this is a
working direct-mode demo (subject to the quote's 15-minute window). Before CORS went live it showed the honest
error state and disabled the fill. Use this mode to verify the static-hosting path.

### C. GitHub Pages (instructions only; not performed)

Option 1 — publish only this directory to a `gh-pages` branch:

```bash
# From the repository root. This is a hosting action, not part of this task.
git subtree push --prefix apps/track-a-web-demo origin gh-pages
```

Then set **Settings → Pages → Deploy from a branch → gh-pages / (root)**. GitHub serves `index.html` and its
local assets. `serve.mjs` is uploaded as a file but does **not** run on Pages; the page stays in direct-Worker
mode.

Option 2 — GitHub Actions Pages artifact (equivalent result, no branch):

```yaml
# .github/workflows/track-a-web-demo-pages.yml (not created by this task)
permissions: { contents: read, pages: write, id-token: write }
jobs:
  deploy:
    runs-on: ubuntu-latest
    environment: github-pages
    steps:
      - uses: actions/checkout@v4
      - uses: actions/configure-pages@v5
      - uses: actions/upload-pages-artifact@v3
        with: { path: apps/track-a-web-demo }
      - uses: actions/deploy-pages@v4
```

A Pages URL now has the same origin/CORS prerequisites as any static origin; the scoped public-route CORS is
live, so direct reads and the paper verifier POST are expected to work. Verify with a logged-out browser before
calling the URL a working demo; the quote may still be stale.

### D. Cloudflare Workers static assets (deployed)

The demo is deployed at **https://maweng-demo.binasta.workers.dev** using `wrangler.jsonc`:

```bash
npx wrangler deploy --config apps/track-a-web-demo/wrangler.jsonc
```

It is an asset-only Worker: no API code, secrets, account/order/transfer route or relay. `serve.mjs` is not
executed by the host. The hosted page stays in direct-Worker mode.

Cloudflare Pages remains an alternative static host: connect the repository with framework preset **None**,
empty build command and output directory `apps/track-a-web-demo`, or run
`npx wrangler pages deploy apps/track-a-web-demo --project-name maweng-track-a-demo`. GitHub Pages is also
supported. None of these static hosts gets a server-side relay.

### E. Static hosting verification

Load the static URL in a logged-out browser and check:

1. Browser console/network shows the two GETs to the Worker with 200 and no credential header.
2. The page says **Public data loaded** (not the CORS error state).
3. The quote is fillable only inside the public quote's 15-minute window; otherwise it shows stale and disables
   the fill.
4. The verifier POST returns a `demo` verdict; the local SHA-256 check remains separately labeled.

The public URL is **https://maweng-demo.binasta.workers.dev**. Production smoke passed on 29 Nov 2026:
root and `?mode=fixture` return 200, `llms.txt` returns 200, headless Chrome renders the synthetic-fixture
label, and the demo origin can call the public Worker catalog with CORS. The asset-only Worker contains no
API code, secrets, account, order or transfer route.

---

## 7. Tests and smoke checks

```bash
node --test apps/track-a-web-demo/test/*.test.mjs
```

Coverage:

- `format.test.mjs` — deterministic USD, micro-dollar, quantity, bps, age, and timestamp formatting.
- `paper.test.mjs` — quote freshness boundaries, 20 bps fee/notional math, insufficient cash, no-quote and
  stale-quote fill refusal, local fill/cash/cost-basis changes, certificate simulation labels, core-shaped
  certificate fields, paper-state sanitisation, synthetic fixture rejection in public mode, fixture-only
  rehearsal fill, and separate storage keys.
- `api.test.mjs` — exact response-shape parsing, malformed/empty quote handling, fixed URL allowlist
  (including lookalike origins, credentials, ports, extra queries, order/quote/transfer paths), GET-only
  catalog/prices, POST-only paper verifier, and fixed envelope checks.
- `fixture.test.mjs` — fixture byte-equivalence, WebCrypto hash vs. core-generated expected hash, canonical
  field order, private-data scan, fixture-derived quote (no provider/network data), copyable curl.
- `policy.test.mjs` — accessibility markers, local-only assets, CSP, no account/order/transfer/signing routes,
  fixture-mode labels/default/separate-state guard, relay allowlist, README/llms truth boundaries.

Current result (29 Nov 2026): **34 tests, 34 pass, 0 fail**.

Static HTTP smoke test (run after starting `serve.mjs`):

```bash
curl -sS -o /dev/null -w '%{http_code} %{content_type}\n' http://127.0.0.1:4173/
curl -sS -o /dev/null -w '%{http_code} %{content_type}\n' http://127.0.0.1:4173/styles.css
curl -sS -o /dev/null -w '%{http_code} %{content_type}\n' http://127.0.0.1:4173/js/app.mjs
curl -sS -D - -o /dev/null 'http://127.0.0.1:4173/api/prices?symbols=SGOV,BILON'
curl -sS -o /dev/null -w '%{http_code}\n' -X POST 'http://127.0.0.1:4173/api/prices?symbols=SGOV'
curl -sS -X POST http://127.0.0.1:4173/api/verify \
  -H 'content-type: application/json' \
  --data-binary @apps/track-a-web-demo/fixtures/paper-receipt.json
```

Expected and observed: static 200s with the right MIME types; relay GET 200 with live public data and
`x-track-a-relay: 1`; a POST to the catalog/prices relay 405; the fixed fixture verifier returns
`"verdict":"demo"` with `requestCode`. The local relay is an optional review path; the deployed Worker CORS is
now live for direct static hosting.

Direct-CORS smoke (no relay; use the live deployed Worker):

```bash
curl -sS -D - -o /dev/null 'https://maweng-ai-proxy.binasta.workers.dev/v1/wealth/prices?symbols=SGOV,BILON' \
  -H 'Origin: https://example.github.io' | grep -iE 'HTTP/|access-control'
# observed 2026-11-29T16:16Z: HTTP/2 200 + access-control-allow-origin: *
```

The browser direct-mode equivalent is to serve this directory from any static origin and load it logged out.
Observed after CORS went live: two 200 Worker fetches with `direct Worker`, and a real verifier POST returning
`verdict: demo`. Quotes can still be stale; that is a data state, not a CORS failure.

### Browser validation record (Chrome 145 headless, local)

- **Real public data, stale case:** catalog loaded 2 curated listings and 1 quote. `SGOV` was observed
  `15:00:00Z`; at `15:30Z` it was **stale** (30m 9s), and repeated probes through `16:02Z` kept the same
  observation time. The page showed **STALE · REFRESH**, disabled the fill, and ticked only the catalog step.
  This is the correct fail-closed result, not a broken fetch.
- **Real public data, fresh case:** at `16:12Z` the public feed rolled to a `16:00:00Z` observation
  (`$97.873266`; 12m 24s old), still inside the 15-minute window. The browser then completed checklist steps
  1→5 against the **real public catalog, real quote, and real verifier**: `$250.00` paper cash, review gate,
  $50.00 fill at `$97.8732`, 20 bps fee `$0.10`, quantity `0.510865`, cash `$199.90`, cost basis `$249.90`,
  local certificate with all seven checks PASS, and the real public verifier returned `verdict: demo` with
  reasons `demo_receipt_not_live`, `hash_verified`, `receipt_id_verified`, `fee_consistent`, `fill_consistent`,
  `consensus_not_supplied`, `no_on_chain_tx`.
- **Synthetic fixture rehearsal (24/7, no network):** loaded `?mode=fixture` in a fresh logged-out Chrome
  profile. Before switching modes, the network log contained only the page's local assets — **zero** catalog,
  prices, or verifier calls. The page showed **SYNTHETIC FIXTURE MODE · NOT A LIVE QUOTE**, fixed `$100.0000`,
  `SYNTHETIC`, and the fixed fixture timestamp. The browser completed checklist 1→5: $250 paper cash, fixture
  review, $50.00 fill (`0.5` quantity, `$0.10` fee, cash `$199.90`), local SHA-256/structure checks all PASS, and
  the public verifier controls disabled. Switching to public mode showed **0/5, `$0.00`, no fills** (separate
  key); switching back restored the fixture fill and `$199.90`. No console errors or exceptions.
- **Direct static mode (no relay, CORS live):** a logged-out Chrome page served from
  `http://127.0.0.1:4175/` loaded the catalog and quote **directly from the Worker** (two 200 Fetch responses,
  `direct Worker`, no console errors or exceptions). The public quote was 17 minutes old, so the fill was
  correctly disabled; the browser then POSTed the synthetic fixture to the real verifier and received
  `verdict: demo` with CORS enabled. Network log contained only the fixed routes (no order/transfer/signing
  call). The earlier pre-CORS run showed `MissingAllowOriginHeader` and the honest error state.
- **State coverage:** loading skeleton with `aria-busy=true`; empty curated catalog; catalog loaded with zero
  quotes; malformed shape; HTTP 502; offline with no cache; stale cache after a failed refresh. Each disables the
  fill and does not invent a price.
- **Accessibility smoke:** `lang="en"`, one `h1`, skip link, labelled amount/review inputs, labelled dialog,
  `aria-live` status/progress regions, no unlabelled buttons or images. This is a marker check, not a substitute
  for a screen-reader audit.

Not validated here: Firefox/Safari and a full assistive-technology audit. No public hosting was performed. The
verifier result is a **demo** verdict, not live execution or funds.

---

## 8. Source map and SHA notes

| Item | Value |
|---|---|
| Repository snapshot used for validation | `c9eab90159d492978764f579d384088be9cbec5a` (`c9eab90`, 29 Nov 2026 +0300; includes the separate Worker CORS source change; repository HEAD may advance independently) |
| Working tree | This directory is new/uncommitted; no Worker/core/app file was modified by this demo task |
| Worker deployment recorded in `docs/TRACK-A-DEMO.md` | `d1078d7a-0ce8-4d74-b7de-7a3859c88f70` (last recorded before the CORS deploy; CORS was observed live at `2026-11-29T16:16Z`; the new version id is not captured here) |
| Worker CORS source | `tools/ai-proxy-worker/src/index.ts` `PUBLIC_DEMO_CORS_ROUTES` / `withPublicDemoCors` / `publicDemoPreflight` at `c9eab90` (separate task; not edited here) |
| Public catalog source | `tools/ai-proxy-worker/src/index.ts` (`handleWealthCatalog`) and `tools/ai-proxy-worker/src/tm.ts` (`tmCatalogAssets`, `tmPrices`) |
| Public prices source | `tools/ai-proxy-worker/src/index.ts` (`handleWealthPrices`) and `tm.ts` (`tmPrices`) |
| Verifier source | `tools/ai-proxy-worker/src/receipt-verify.ts`; route in `src/index.ts` |
| Certificate canonicalization | `packages/core/src/plugins/truemarkets/certificate.ts` |
| Curated tranche metadata | `packages/core/src/plugins/truemarkets/market.ts` (`TM_CURATED`, SGOV/BILON treasury entries) |
| Demo code | `index.html`, `styles.css`, `js/{app,api,paper,format,fixture}.mjs`, `serve.mjs` |
| Fixed fixture | `fixtures/paper-receipt.json`; hash `8361fb9b…ee25ed9c`; also the source of fixture-mode quote fields |
| Fixture rehearsal implementation | `js/paper.mjs` `syntheticQuoteFromFixture`, `FIXTURE_CERTIFICATE_DISCLAIMER`, `FIXTURE_PAPER_STORAGE_KEY`; `js/app.mjs` mode switch |

No API key, secret, token, account, wallet address, seed phrase, signature, private data, or live order is
included. The demo sends no `Authorization` header and no credentials.

---

## 9. Non-release / non-live boundaries

- **Not a release.** No APK, app-store artifact, release signature, or public submission is produced.
- **Not live.** No order, quote, transfer, user, portfolio, ramp, cancel, execute, or signing endpoint is called.
  The only POST is the public paper receipt verifier.
- **No funds.** The $250 is fake local paper cash, stored in this browser. It is not a wallet, bank, brokerage,
  or provider balance.
- **No capital total.** TOTAL CAPITAL stays "Not linked" in this demo. Paper value is excluded by design and is
  never added to a linked capital total.
- **No invented price.** If the catalog/quote is missing, stale, malformed, or blocked, the public fill is
  disabled. Fixture mode uses only the committed fixture values and labels them synthetic; it never presents them
  as provider data or a live quote.
- **Two isolated modes.** Public paper state is `maweng.track-a-web-demo.paper.v1`; fixture rehearsal state is
  `maweng.track-a-web-demo.paper.fixture.v1`. Switching modes saves/loads separately. Fixture mode makes no market
  or verifier network request and disables public verification. The default is real public data.
- **Fixture is not live evidence.** The synthetic rehearsal certificate is not a quote, execution, funds, or
  on-chain proof. It exists to exercise the paper UI 24/7 when the hourly public feed is stale.
- **Hourly feed / strict window.** The public quote feed is hourly and the demo enforces a 15-minute window from
  the provider observation time. For roughly 45 minutes of each hour the demo is deliberately unfillable. Do not
  "fix" this by re-stamping the quote or inventing freshness; wait for the next public observation or report the
  limitation.
- **CORS is live but scoped.** The deployed Worker now sends `Access-Control-Allow-Origin: *` for exactly the
  catalog, prices, and paper-verifier routes, with no credentials header; order, transfer, account, org, and admin
  routes remain non-CORS. Direct static fetches were validated in logged-out Chrome. This task did not deploy or
  edit the Worker; the local relay remains available but is not required for a static host.
- **No best-execution or savings claim.** The paper certificate records a local simulation against a public
  quote reference. It is not execution-quality evidence and does not compare against an AMM or P2P baseline.
- **No secret or private data.** The fixture is synthetic. Do not add real SMS, keys, wallet addresses, or
  account data.
- **DevSpot status unchanged.** No submission, public repository, public demo URL, video, or DevSpot entry is
  claimed by this artifact.

Wealth is a calculator and record-keeper, not financial advice.
