gunk-dev/the-valley

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

source8d0e7f14a4f9main's published tip history
5.4 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, see the status of the changes in flight, and review and work on the knowledge graph. That
14surface must be reachable privately, and it must be possible to share a view of it publicly.
15
16The knowledge graph is the least served of these. It is the ideas, decisions, bugs and outcomes kept
17as plain files beside the code ([.the-valley/README.md](../README.md)), and it is the project's
18durable memory across a reader's context resets — what survives when the conversation that produced
19it does not. Today it is read and written only through a filesystem and a text editor. Reading what
20a change to a node actually says, following the edges from one node to the ones it links, and
21noticing where two nodes cover the same ground are all work that no tooling does.
22
23A surface is part of leaving the hosted forge behind rather than a convenience laid on top of it.
24The forge remains the public face of every project and the only way to browse one, so the exit is
25not complete while browsing depends on it.
26
27The design already answers this in the abstract.
28[architecture.md](../../design/architecture.md#the-concerns-unbundled) unbundles observability and
29feedback into continuous feedback as events, with threads as derived views over those events, and
30bets that
31[review is observability plus feedback](../../design/architecture.md#bet-review-is-observability--feedback).
32A browsable surface is the concrete form of that bet. Browsing appears in the design today only in
33passing, as an optional extra on the git host
34([architecture.md § Components](../../design/architecture.md#components),
35[roadmap.md, Phase 0](../../design/roadmap.md#phase-0--mvp-repos-off-github)).
36
37## What the surface inherits
38
39**It is a view, never the interface.** Among the [README](../../../README.md)'s objections to the
40hosted forge is that agents are second-class there, because the platform is built around a human
41clicking through a web interface. A surface that becomes the way things are done reintroduces
42exactly that. Everything the surface offers must be equally reachable without it.
43
44**It holds no state of its own.** Everything it displays already lives in git, in the event log, in
45the knowledge graph, and in attestations. The design holds that per-repo events are a projection of
46git and never a second source of truth; a surface that owned state would be a second source of truth
47wearing a different hat.
48
49Working on the graph means writing, and writing is compatible with this. A surface that authors a
50change is an authoring client: the change it produces is a commit like any other, and it travels the
51same path as a change authored at a text editor. The constraint is about graph state the repository
52does not hold, and a surface that holds none of that may still help produce what the repository
53does.
54
55**It is not a forge.** The _Minimal_ constraint in
56[requirements.md](../../design/requirements.md#constraints) holds that small composed tools stay
57understandable and replaceable while platforms accrete. Adopting an existing full forge would
58reintroduce the platform being unbundled, whatever its licence.
59
60**Public sharing is a new exposure.** Identity today is tailnet-scoped: Tailscale ACLs and SSH keys,
61with the host reachable only from the operator's private network. A publicly shareable view is
62reachable from outside that boundary, which makes it a genuinely new surface rather than a
63configuration change. It also arrives while machine credentials on the host are known not to expire
64([[bd-8a591dc]]
65([bd-8a591dc-machine-credentials-never-expire.md](../bugs/bd-8a591dc-machine-credentials-never-expire.md))).
66
67**Implementation follows the valley's language policy.** The browser-facing ecosystem is the case
68that policy most directly concerns.
69
70## A candidate home for the approval gate
71
72This is a direction worth recording, not a decision.
73
74A browser is the one environment where hardware-key presence is a first-class primitive.
75[[ida-b7025b5]]
76([ida-b7025b5-human-decisions-are-signed-acts.md](./ida-b7025b5-human-decisions-are-signed-acts.md))
77requires a human approval to be an act requiring physical presence — a hardware key that must be
78touched. [[ida-d2dc957]]
79([ida-d2dc957-attestations-ride-on-a-transparent-leaf.md](./ida-d2dc957-attestations-ride-on-a-transparent-leaf.md))
80records as open that no hardware token today can produce the raw signature its leaf format needs,
81which forces a human approval to travel as data submitted under a machine identity. A browsable
82surface is therefore a candidate home for the approval gate, where the key touched is the one the
83human is holding rather than one attached to a server. This is where the two use cases meet:
84reviewing a change to the graph is exactly the activity such a gate sits on.
85
86This relocates the problem rather than dissolving it. A browser-originated hardware assertion is not
87the same shape as an SSH signature, so the format question [[ida-d2dc957]] raises stays open in a
88different form.
89
90## Open
91
92**Where this lands in the plan.**
93
94**What a publicly shared view exposes, and what authorises the sharing.**
95
96**Whether the surface authors changes at all, or only displays them.**
97
98**Whether the approval gate belongs here.**