Version: 1.0.0Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
Last Updated: 2026-04-08
Purpose: Unified operational guide for using this repository in Cursor Cloud.
Why This Exists
This runbook consolidates cloud-specific guidance that was previously split across top-level docs. Use it as the canonical cloud workflow reference and keepAGENTS.md/AI_GUIDE.md linked here.
Local vs Cloud Differences
| Area | Local Agent | Cursor Cloud Agent |
|---|---|---|
| Runtime | Your local machine/sandbox | Isolated Linux VM |
| Tooling | Uses your local installed tools | Uses workspace + cloud environment setup |
| Secrets | Local environment/session | Cloud environment secrets must be configured explicitly |
| Hooks | Local project/user hooks | Project hooks only (repo-scoped) |
| Verification | Local terminal + browser flows | Cloud terminal + browser/computer-use flows |
Cloud Setup Baseline
- Ensure repository access and branch permissions are configured.
- Ensure required env vars are configured for cloud runs:
- app/runtime vars
- MCP secrets (
STITCH_API_KEY, etc.) when required
- Use idempotent setup commands in the workspace (dependency install + validation).
- Confirm
.cursor/mcp.jsonuses environment variables for all secrets.
HMR behind a reverse proxy (Lovable preview / similar)
The Vite dev server’s HMR WebSocket defaults to a same-origin connection that works for plainlocalhost:8080. When Vite is served through a reverse proxy that terminates TLS (Lovable’s preview proxy, ngrok, etc.), the browser must connect back via wss://<proxy-host>:443 instead.
Set one of these env vars to opt in to the proxy form:
WebSocket connection to 'wss://localhost:443/...' failed.
Verification Path by Change Type
Use this matrix to choose the minimum sufficient cloud verification path:| Change Type | Required Verification |
|---|---|
| Docs/config-only | Targeted lint/docs checks + link validation if docs changed |
| Backend/migrations/no UI impact | Terminal validation + focused tests (RLS/integration as applicable) |
| UI-impacting, non-critical flow | Manual cloud UI smoke (browser MCP or computer-use) |
| UI-impacting, critical flow | Targeted Playwright + manual cloud confirmation |
Browser Validation Decision Flow
Governance Checklist for Cloud Runs
- No plaintext secrets in committed AI config files.
- Hook commands are cross-platform and present in the repository.
- MCP server usage is documented and justified.
- Verification evidence is captured before completion claims.
- AI-config changes update related docs in the same PR.