gunk-dev/the-valley

ida-23aa413-project-surfaces-are-derived-views.md

source5aca492672b7main's published tip history
4.2 KiB · Rendered
1---
2type: idea
3id: ida-23aa413
4status: exploring
5title: A project's browsable surface is a derived view
6created: 2026-08-02
7source: design conversation, 2026-08-02
8---
9
10# A project's browsable surface is a derived view
11
12A project needs a browsable surface: somewhere to monitor the project, read its sources, read its
13diffs, and see the status of the changes in flight. That surface must be reachable privately, and it
14must be possible to share a view of it publicly.
15
16This is part of leaving the hosted forge behind rather than a convenience laid on top of it. The
17forge remains the public face of every project and the only way to browse one, so the exit is not
18complete while browsing depends on it.
19
20The design already answers this in the abstract.
21[architecture.md](../../design/architecture.md#the-concerns-unbundled) unbundles observability and
22feedback into continuous feedback as events, with threads as derived views over those events, and
23bets that
24[review is observability plus feedback](../../design/architecture.md#bet-review-is-observability--feedback).
25A browsable surface is the concrete form of that bet. Browsing appears in the design today only in
26passing, as an optional extra on the git host
27([architecture.md § Components](../../design/architecture.md#components),
28[roadmap.md, Phase 0](../../design/roadmap.md#phase-0--mvp-repos-off-github)).
29
30## What the surface inherits
31
32**It is a view, never the interface.** Among the [README](../../README.md)'s objections to the
33hosted forge is that agents are second-class there, because the platform is built around a human
34clicking through a web interface. A surface that becomes the way things are done reintroduces
35exactly that. Everything the surface offers must be equally reachable without it.
36
37**It holds no state of its own.** Everything it displays already lives in git, in the event log, in
38the knowledge graph, and in attestations. The design holds that per-repo events are a projection of
39git and never a second source of truth; a surface that owned state would be a second source of truth
40wearing a different hat.
41
42**It is not a forge.** The _Minimal_ constraint in
43[requirements.md](../../design/requirements.md#constraints) holds that small composed tools stay
44understandable and replaceable while platforms accrete. Adopting an existing full forge would
45reintroduce the platform being unbundled, whatever its licence.
46
47**Public sharing is a new exposure.** Identity today is tailnet-scoped: Tailscale ACLs and SSH keys,
48with the host reachable only from the operator's private network. A publicly shareable view is
49reachable from outside that boundary, which makes it a genuinely new surface rather than a
50configuration change. It also arrives while machine credentials on the host are known not to expire
51([[bd-8a591dc]]
52([bd-8a591dc-machine-credentials-never-expire.md](../bugs/bd-8a591dc-machine-credentials-never-expire.md))).
53
54**Implementation follows the group's language policy.** The browser-facing ecosystem is the case
55that policy most directly concerns.
56
57## A candidate home for the approval gate
58
59This is a direction worth recording, not a decision.
60
61A browser is the one environment where hardware-key presence is a first-class primitive.
62[[ida-b7025b5]]
63([ida-b7025b5-human-decisions-are-signed-acts.md](./ida-b7025b5-human-decisions-are-signed-acts.md))
64requires a human approval to be an act requiring physical presence — a hardware key that must be
65touched. [[ida-d2dc957]]
66([ida-d2dc957-attestations-ride-on-a-transparent-leaf.md](./ida-d2dc957-attestations-ride-on-a-transparent-leaf.md))
67records as open that no hardware token today can produce the raw signature its leaf format needs,
68which forces a human approval to travel as data submitted under a machine identity. A browsable
69surface is therefore a candidate home for the approval gate, where the key touched is the one the
70human is holding rather than one attached to a server.
71
72This relocates the problem rather than dissolving it. A browser-originated hardware assertion is not
73the same shape as an SSH signature, so the format question [[ida-d2dc957]] raises stays open in a
74different form.
75
76## Open
77
78**Where this lands in the plan.**
79
80**What a publicly shared view exposes, and what authorises the sharing.**
81
82**Whether the approval gate belongs here.**