Skip to content

[feature] RC: publish preview lifecycle without exposing local URLs #222

Closed

Description

@AetherAI3

Gap

previewEvent exists but has no production call site. The browser cannot distinguish a preview that is starting, ready, failed, or stopped.

Evidence: RC adapter, preview state contract, viewer reducer.

Acceptance

  • Emit real preview phase transitions from the supervisor for an active RC session.
  • Publish a URL only if it is intentionally public and passes the approved HTTPS origin/path projection; omit loopback/private/signed links and child-process error text.
  • The browser renders phase and an honest unavailable state when no safe URL exists.
  • Test loopback, public, malformed, and failed preview states end to end.

Scope

Preview observation only; no remote preview relay or browser takeover.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions