Skip to content

Verification Matrix

This page lists the commands that prove the Vela workspace is integrated.

Use the smallest reliable gate for daily work. Use the full gate before deployment, SDK publication, or investor/demo environments.

Gold Gates

GateCommandWhen
Protocol rollout gatecd vela-protocol && bun run verify:rolloutBefore protocol deploy
Deployed artifact gatecd vela-protocol && bun run verify:deployedAfter protocol deploy
SDK release gatecd vela-sdk && bun run release:verifyBefore SDK publish or consumer rollout
Docs buildcd vela-docs && bun run buildBefore public docs deploy
Internal wiki buildcd internal-wiki && bun run buildBefore wiki deploy
v1.9 Commerce release gatecd vela-dashboard && bun run release:v19Before any Commerce OS rollout

Protocol

sh
cd /Users/laitsky/Developments/vela-labs/vela-protocol

bun run program-ids:check
bun run build:devnet-safe
bun run verify:rollout
bun run verify:deployed

Use verify:rollout before deploying and verify:deployed after deploying.

SDK

sh
cd /Users/laitsky/Developments/vela-labs/vela-sdk

bunx markdownlint-cli2 README.md
bun run check
bun test
bun run test:protocol
bun run build
bun run smoke:package
bun run release:verify

release:verify is the publication gate. It includes typecheck, tests, protocol-backed tests, build, and package smoke.

Dashboard

Protocol rollout gate currently runs targeted worker tests:

sh
cd /Users/laitsky/Developments/vela-labs/vela-dashboard

bun test \
  worker/src/routes/webhook.test.ts \
  worker/src/queue/webhook-fanout.test.ts \
  worker/src/queue/helius-webhook-upgrade-events.test.ts \
  worker/tests/stream-events.test.ts

Use broader dashboard checks when changing UI, auth, D1 schema, or API routes.

For Commerce OS, use the full local-only gate:

sh
cd /Users/laitsky/Developments/vela-labs/vela-dashboard
bun run release:v19

This verifies fresh migrations and both Drizzle schemas, dashboard and Worker checks/builds, browser workflows, mocked RPC fixtures, local-validator SPL and Token-2022 flows, checkout bundle budgets, SDK tests/build, and webhook tests/build. It must not deploy or mutate remote resources.

Manual devnet acceptance must additionally prove an unrelated signature is rejected, the payer is derived, partial and remaining refunds reconcile, over-refunds fail, documents and exports open, webhook events reach the correct merchant, and auditor mutations return 403.

Webhook Package

sh
cd /Users/laitsky/Developments/vela-labs/vela-webhook

bun run build
bun test

Must pass when event schemas or fixtures change.

Checkout

sh
cd /Users/laitsky/Developments/vela-labs/vela-checkout

bun run check

Must pass when subscription transaction-building or checkout session payloads change.

Widget

sh
cd /Users/laitsky/Developments/vela-labs/vela-widget

bun run typecheck

Must pass when browser-safe SDK exports, checkout transaction-building, or embedded flow messaging changes.

Portal

sh
cd /Users/laitsky/Developments/vela-labs/vela-portal

bun run typecheck

Must pass when subscriber auth, cancellation, invoice rendering, or plan switching changes.

Admin

sh
cd /Users/laitsky/Developments/vela-labs/vela-admin

bun run typecheck

Use admin tests when changing emergency controls, token config, audit writes, or protocol config deserialization.

Docs and Demo

sh
cd /Users/laitsky/Developments/vela-labs/vela-docs
bun run build

cd /Users/laitsky/Developments/vela-labs/vela-demo
rm -rf /tmp/vela-demo-check
bun build server.ts --target bun --outdir /tmp/vela-demo-check

Docs build may surface route warnings that predate the current change. Do not ignore hard build failures.

Internal Wiki

sh
cd /Users/laitsky/Developments/vela-labs/internal-wiki

bun run build

The wiki must build before it is treated as the current source of truth.

Full Multi-Token Rollout Verification

Use this when token semantics, plan creation, subscription, pulls, streams, or events change:

sh
cd /Users/laitsky/Developments/vela-labs/vela-protocol

bun run verify:rollout
bun run verify:deployed

cd ../vela-sdk
bun run release:verify

cd ../vela-docs
bun run build

cd ../internal-wiki
bun run build

Then manually inspect:

  • dashboard/webhook event path accepts empty token_symbol
  • non-USDC events preserve mint
  • checkout/widget choose wrapped-USDC vs Token-2022 subscribe path correctly
  • docs/examples no longer imply periodic billing is USDC-only

Failure Triage

FailureFirst action
Program ID mismatchStop. Check program keypairs and config/program-ids.json
IDL mismatchRegenerate or copy IDLs, then rerun SDK tests
SDK typecheck failureFix SDK before touching runtime consumers
Webhook schema failureCheck event fixture and SDK event schema
Dashboard worker failureCheck queue/event processor and token symbol policy
Checkout/widget typecheck failureCheck browser-safe SDK exports and transaction builders
Deployed byte hash mismatchStop. Confirm local artifact and deployed program dump
Wiki/docs build failureFix navigation/frontmatter/link/content before relying on docs

Verification Log Template

md
# Verification Log

Date:
Operator:
Change:

## Commands

- [ ] command:
  - result:
  - notes:

## Manual Checks

## Known Warnings

## Decision

Ship / do not ship:

Internal knowledge base for the Vela Labs workspace.