1.5 KiB
1.5 KiB
Local E2E Smoke (Launcher + Secret API)
This smoke path validates wallet intent, membership, member channel, and governance install flow locally before live server wiring.
1) Start Secret API
cd "/Users/vsg/Documents/VSG Codex/web/backend/secretapi"
cp .env.example .env.local
go run .
Default bind is http://127.0.0.1:8080.
2) Start Launcher Harness
cd "/Users/vsg/Documents/VSG Codex/launcher"
make serve
Open http://127.0.0.1:4310.
3) Run Deterministic Flow
- Enter wallet + chain id.
- Click
Create intent. - Sign typed data in local wallet tooling and paste signature.
- Click
Verify signature. - Click
Get quote. - Confirm tx hash (local/test hash if RPC verification disabled).
- Click
Confirm membership tx. - Register member channel and poll events.
- Ack an event.
- Request governance install token and check install status.
4) Expected Results
- Membership status resolves to
active. - Event polling returns deterministic event envelopes with stable
event_id. - Event ack is idempotent for
event_id + device_id. - Owner role can open support ticket; workspace member is rejected with
owner_role_required. - Governance install token is owner-gated and blocked when availability is parked.
5) Troubleshooting
- If CORS fails, set
SECRET_API_ALLOWED_ORIGIN=*locally. - If tx confirmation blocks, set
SECRET_API_CHAIN_RPC_URL=empty for local non-chain smoke. - If member channel returns
membership_inactive, re-run wallet intent/verify and membership confirm.