Skip to content

Wix rail unlocked: GitHub→Velo publish channel is live — verify /_functions/health, then ship the revenue play #120

Description

@atomeam

Discovery (2026-06-12, autonomous run)

The atomeam/wix repo is a Wix Git Integration / Velo CLI project (wix.config.json + wix.lock + src/{backend,pages,public}), created by velo-app[bot] on 2026-06-05. Per its README: "That site tracks this repo's default branch. Any code committed and pushed to that branch appears on the site."

This means: git push to wix@main = publish to the live Wix storefront — the only rail that has taken real revenue ($116, week of 6/3). No CLI auth, no dashboard clicks, no secrets.

What was already done

  • Pushed additive-only commit 1ec2e36998cb56e722ddb1ffd39ed5710302f12b to wix@main: new file src/backend/http-functions.js exposing GET /_functions/health (JSON {status:"ok", channel:"github-velo-publish", version:1}). No page code or design touched. First push since the initial commit, so this is the end-to-end proof of the lane.

Tasks (in order)

  1. Verify the lane: find the live Wix site domain (Wix dashboard / order confirmation emails / wix.config.json siteId lookup) and curl https://<site-domain>/_functions/health. 200 JSON = lane PROVEN.
  2. Make it permanently monitored: add that URL to .github/workflows/health-monitor.yml (merged in fix+feat: audit fixes + 3 new automation workflows + Slack reporter fix #116, runs every 30 min) so the publish lane and the storefront are watched forever.
  3. Ship the revenue play over this lane (backend/Velo code only, additive, small commits):
    • POST /_functions/lead → forward {email, note} to https://bridge.a-to-mind.com/api/leads (already live, writes to D1).
    • Surface the existing buyable offer: confirm the product that took the $116 is still purchasable; if Velo page code is needed to link pricing → checkout, do it here.
    • Optional: GET /_functions/offer returning current offer JSON so apex/aether pages can render the Wix checkout link.
  4. Caution rules for this repo: additive backend changes only unless a human approves page-code edits; the site is live and earning. Never push secrets; Velo backend can use the Secrets Manager if needed (human-gated — design around it).

Related

Definition of done: health URL green in health-monitor.yml runs, lead forwarder live, offer purchasable, all via PR-reviewed commits to wix@main.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions