Production Examples & Recipes
Copy battle-tested automation patterns directly into your repositories and pipelines.
1. Supervised PR Auto-Fixer in GitHub Actions
Automatically triage nightly CI or npm audit vulnerabilities and prepare a tested pull request awaiting engineer sign-off:
# .github/workflows/helix-nightly-cve.yml
name: Helix Nightly Dependency Audit
on:
schedule:
- cron: "0 3 * * 1-5"
workflow_dispatch:
jobs:
helix-audit:
runs-on: ubuntu-latest
steps:
- name: Dispatch Helix Remediation Run
env:
HELIX_API_KEY: ${{ secrets.HELIX_API_KEY }}
run: |
curl -sf -X POST https://launchverse.app/api/v2/runs \
-H "Authorization: Bearer $HELIX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"goal": "Run npm audit --audit-level=high, apply safe minor/patch upgrades, execute npm test and tsc --noEmit, and prepare a PR summary for T2 approval.",
"autonomy": "supervised"
}'2. Playwright Visual & Contrast QA Sweep
Use Helix sandboxes' built-in Chromium runtime to audit deployed preview builds automatically after every deployment:
import { HelixClient } from "@launchverse/helix-sdk";
const helix = new HelixClient({
baseUrl: "https://launchverse.app",
apiKey: process.env.HELIX_API_KEY!,
});
await helix.runs.startDetached({
mode: "supervised",
goal: [
`Open ${process.env.PREVIEW_URL} in Playwright at 1440x900 and 390x844.`,
"Check for horizontal scroll overflow, console errors, broken images (naturalWidth === 0), and screenshot any layout defect.",
"Export screenshots and JSON report via publish_artifact.",
].join("\n"),
});3. Automated Synthetic FinTech / API Load & Edge Case Suite
See the complete guide under Synthetic AI & Simulation Workflows:
await helix.runs.startDetached({
mode: "supervised",
goal: "Generate 2,500 synthetic settlement payloads with duplicate idempotency keys, run k6 smoke load against staging, and report p95 latency.",
});4. Offline Ed25519 Receipt Chain Audit
Verify your entire workspace cryptographic ledger in CI or compliance jobs:
curl -sf -X POST https://launchverse.app/api/ledger \
-H "Authorization: Bearer $HELIX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"action": "verify_chain"}'5. Multi-Tenant SaaS White-Label Copilot Embed
Mint a customer-scoped hx_embed_* token on your backend (principalId = org_acme) and embed <helix-staff-embed> inside your product (full guide).
6. Private Staging Database Diagnostics Over Helix Bridge
Expose an internal staging host without opening inbound firewall ports (full guide):
node helix-bridge.mjs \
--url https://launchverse.app \
--tunnel-id "$TUNNEL_ID" \
--token "$HX_BRIDGE_TOKEN" \
--allow "http://127.0.0.1:8080"
