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

Gate: anyone can browse public projects on the web, and private ones can be shared by link

State
free to start
Created
2026-10-17 by contributor
Source
2026-10-14, plan.md A web UI, soon
Progress
18 of 27 done
Children

Body

A web UI for the valley: a small Go server in the-valley, part of the valley-host module. It serves the operator's view of the plan, and later lets individuals browse projects and learn how to clone them.

Decided (operator, 2026-10-14): outsiders use it, for public and private projects; visibility is per project, set in valley policy (the instance and the project); public projects allow read-only HTTPS clones, everything else is SSH only; the valley host takes no inbound internet traffic and pushes mirrors one way to an edge host; policy layers (instance defaults, required values, overrides for sets of projects) in CUE; canonical names per group, served from one neutral host name. Not cgit or Forgejo.

The phases below are the plan's proposal; the hosting design is still to be designed and reviewed.

Source: 2026-10-14, `plan.md`, "Things to keep in view" ("A web UI, soon"); `plan-graph-design.md`, "Slices" (5).

Comments

  1. contributor2026-10-24 12:48 UTCedited2026-10-29 01:09 UTC by contributor
    Operator, 2026-10-24: the web UI is not served from the valley host. It runs on a hosting provider at the web edge, like the deployment's other web apps, whose configuration lives in the deployment's infrastructure project. The valley host still takes no inbound internet traffic, so data reaches the UI by the valley host pushing one way. This replaces 'a small Go server ... part of the valley-host module' above for where it runs; the code can still live in the-valley.
  2. contributor2026-10-24 23:34 UTCedited2026-10-29 01:09 UTC by contributor
    Operator, 2026-10-24: the UI is served at the deployment's public domain, replacing the web site there now (it returns later, valley native). Scope: the knots UI plus a read-only project source browser (commenting on source later, not now). Access: public projects readable by anonymous users; minimal private sharing, with the options under consideration being an undiscoverable secret path or a per-person secret the operator hands out.
  3. contributor2026-10-24 23:40 UTCedited2026-10-29 01:09 UTC by contributor
    Operator, 2026-10-24, decisions: (1) private sharing uses per-person links: one secret per person and set of projects, revocable on its own; the operator's own view is such a grant covering everything. (2) Public: the-valley and klaus. Private: the deployment project and the instance repository. (3) Retire the old site's GitHub Actions deploy; the web edge deploys from the valley host. The operator is close to retiring GitHub entirely, and is considering bringing klaus into the-valley.
  4. contributor2026-10-25 14:12 UTC
    Operator, 2026-10-25: proceed with slice 1. Principle: nothing in the-valley's repository or knots is personal, tied to a particular deployment or project that uses the valley, or exposes significant information about the host; deployment specifics are configuration supplied by the consuming projects and tracked there.
  5. contributor2026-10-25 14:30 UTC
    Operator, 2026-10-25: visibility is per project only. If a project is public, all its knots and comments are public; there is no per-knot or per-comment access control. Private material belongs in a private project (a personal fork, for example).
  6. contributor2026-11-08 22:28 UTC
    Phase 2 (oc-c6482b7) ends done with link sharing for named readers. Its unbuilt part: an invite secret, shared out of band, binds to the first device that uses it, and the invitee self-registers more credentials (passkeys, SSH keys), each signed by a credential already bound, which the host verifies and records by pulling, never by an inbound push; private browsing and SSH clones then come from the edge, with a per-project read grant and a login that signs a challenge with a registered key.
    
    This outcome is frozen: the edge is a temporary architecture, and the work under it waits for a named reason.