gunk-dev/the-valley

go.mod

source69d7baef1f04main's published tip history
1.3 KiB
1module the-valley/valleyhook
2
3go 1.24
4
5require (
6 the-valley/approval v0.0.0
7 the-valley/change v0.0.0
8 the-valley/exactjson v0.0.0
9 the-valley/knot v0.0.0
10 the-valley/note v0.0.0
11 the-valley/telemetry v0.0.0
12)
13
14// The note envelope is shared with attest (../attest), so the hook reads a
15// pushed note exactly the way a verifier does. An approval's ref and note
16// are read with the approval format (../approval), which the client that
17// writes one and every reader of one share. The change record is shared
18// with the valley command (../status), so the hook reads a pushed record
19// exactly the way the command that wrote it does. The plan graph is
20// shared with the valley command too, so the hook validates a pushed graph
21// by the rules the command wrote it by. The push policy is read with
22// exactjson (../exactjson), which holds every key to the spelling of its
23// field, as the identity compiler reads the registry. The telemetry
24// command's grammar (../telemetry) is shared with the collector, so the
25// shell passes on exactly what the collector accepts. All six live in
26// this repository and are never fetched.
27replace (
28 the-valley/approval => ../approval
29 the-valley/change => ../change
30 the-valley/exactjson => ../exactjson
31 the-valley/knot => ../knot
32 the-valley/note => ../note
33 the-valley/telemetry => ../telemetry
34)