gunk-dev/the-valley
the-valley:oc-c6482b7outcomedone

A named reader browses a shared private project through a link

State
done
Created
2026-10-17 by contributor
Source
2026-10-14, plan.md A web UI, soon (phase 2)
Progress
7 of 7 done
Blocked by
Blocks
Children

Body

Phase 2: outsider identity. An invite secret, shared out of band, binds to the first device that uses it. The invitee then self-registers more credentials (passkeys, SSH keys), each signed by a credential already bound. The valley host verifies and records them by pulling, never by an inbound push. Then private browsing and SSH clones come from the edge, with a per-project read grant in the registry and a login that signs a challenge with a registered key.

Done when an invited outsider can browse and clone a private project they were granted, and no one else can.

Source: 2026-10-14, `plan.md`, "A web UI, soon" ("Decided next" and "Phasing", 2).

Comments

  1. contributor2026-10-29 01:18 UTC
    The operator, 2026-10-29, starting phase 2a (links) for a first named reader:
    1. **What the edge holds:** reader views of private projects, in plaintext, for every project with an effective grant, the instance repository included.
    2. **Secret-to-cookie swap:** the link carries the secret in its fragment. A redemption page posts it once, and the edge answers with a Secure, HttpOnly, host-only session cookie and a redirect to a clean URL. That device keeps access without the secret.
    3. **Withdrawal:** no timer withdraws access, as decided on 2026-10-26.
    
    Proposed to the operator, not yet decided:
    - **Single use:** a link's secret works once, at its first redemption, so a second device needs a second link.
    - **Sessions:** they renew on use and have no expiry; a restriction from the host ends them.
    
    The slice plan is being written against main.
  2. contributor2026-11-02 22:37 UTC
    Moved under M8 (oc-9d1b67a) on 2026-11-02 from oc-ca7b903: it is one of the three outcomes that form the base for the redesign. Work under it takes the smallest change that serves it, and adds no new architecture the redesign would have to unwind.
  3. contributor2026-11-04 00:58 UTC
    Operator, 2026-11-03: the web edge serves its purpose now: a reader can be shared a project with a link. The operator sees it as a very temporary solution and architecture, and wants no more time invested in it without a specific reason. The phase 1 hardening bugs under oc-700c3b2 (bd-1c24293, bd-818d87e, bd-3826f40, bd-061d314) and the rest of phase 2 wait until a reason comes up.
  4. contributor2026-11-08 22:29 UTC
    Done: a named reader is shared a private project by a link and browses it (oc-465153d, oc-54c83f7, oc-f3a136e, oc-7b1d909). Invitations, self-registered credentials and SSH clones from the edge are on oc-ca7b903 and wait for a reason.