Skip to content

[feature] RC: mint an observer grant and print a browser link plus QR code #224

Closed

Description

@AetherAI3

Gap

The README's 0.4.0 source-candidate contract says rc start prints a link and QR code. The current CLI prints only status. Cloud already exposes an observe-grant mint route, and the Aether Code /rc page expects ?grant=<one-shot-id>&device_id=<id>.

Evidence: CLI start output, Cloud mint route, web redemption entry.

Acceptance

  • After a proven host start, mint an observe grant bound to the intended observer identity and print its expiry, canonical HTTPS link, and scannable terminal QR.
  • A scan reaches the Aether Code /rc redemption flow for the same account and opens the new live session.
  • Do not persist the one-time redemption value or print any host/device credential. Failed grant mint leaves the local host state truthful and offers a retry path.
  • Test terminal widths, no-TTY/headless fallback, expired/used grants, and URL sanitization.

Scope

One-time observer handoff only; no tool or terminal authority.

Activity

  1. added
    feature
    on Sep 30, 2026
  2. AetherAI3 commented on Oct 6, 2026

    @AetherAI3
    OwnerAuthor

    Closed with live evidence from the #229 journey (2026-10-06, Agent 2ab15dd, Cloud 3543d1d1→9bc8bc92, web 3543d1d1:site):

    • aether --json rc start / rc link minted observe grants with expires_at and the canonical https://app.aethersystems.net/rc#grant=…&device_id=… link (owner-bound, 5-min TTL, single-use); the link was never logged into evidence.
    • A phone scan reached the /rc redemption flow for the same account (breakouttradersc) and opened the live session on both Windows (rs_3eaaf795…) and Linux (rs_23098675…) hosts.
    • Same invitation for a different account with RC enabled → redeem 404, uniform "This invitation can't be opened"; flags-off account → 403, same page.
    • After rc off, rc link refuses ("RC is not running for this project").
    • Terminal QR widths / no-TTY fallback / expired-used grants / URL sanitization: test/rc_observer_handoff.test.ts (+ test/rc_viewer_profile.test.ts pins the link to a manifest viewer route).
      Follow-up: rc start still exits 0 when the link mint fails → tracked in [bug] RC: delivery edge cases left open by the #229 prerequisites #302.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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