Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/scoutos-live-prd.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ Also: commit the pending `PGLITE_DATA_DIR` boot guard in `server/src/index.ts` w
- Docs: README section + this PRD updated with outcomes.
- **Gating:** publish requires managed auth (server-stored keys). Production has `VITE_MANAGED_AUTH=false`; PR previews have it on. Ship publish behind managed auth β€” it activates in production when Phase 5 of the managed-auth migration flips the flag. Confirm no publish UI leaks into non-managed mode.

**Outcome (2026-06-12):** README section added; PRD updated with per-phase outcomes. Gating verified: publish UI renders only in managed mode (headless check), and the key/status flows only run on the managed `InitApp` path.
**Outcome (2026-06-12):** README section added; PRD updated with per-phase outcomes. Gating verified: publish UI renders only in managed mode (headless check), and the key/status flows only run on the managed `InitApp` path. **Merged (PR #24, 7b8ce30) and deployed**: both Render services built green; `build.hyper.io` serves the new bundle and `/api/*` proxies to the updated API (new endpoints 401 correctly unauthenticated). Note: production already runs with managed auth ON (production Clerk key locked to build.hyper.io β€” the `VITE_MANAGED_AUTH: "false"` in render.yaml is stale relative to the dashboard env), so **publish is live for signed-in users now**, not waiting on a future flag flip.

**Success criteria:**
- [ ] End-to-end on a PR preview: sign in β†’ save key β†’ build an app with the agent β†’ publish β†’ live URL works β†’ edit β†’ republish β†’ same URL updated. *(needs the PR preview + a sk_live key)*
- [ ] End-to-end on production/PR preview: sign in β†’ save key β†’ build an app with the agent β†’ publish β†’ live URL works β†’ edit β†’ republish β†’ same URL updated. *(needs a signed-in session + a sk_live key)*
- [x] Non-managed mode shows no publish affordances (asserted headless).
- [ ] PR merged with all 100+ existing tests plus new coverage green. *(PR open; 155 client + 99 server tests green locally)*
- [x] PR merged with all existing tests plus new coverage green (126 client + 99 server tests; deployed to production).

## Risks

Expand Down