The gate consumes the forge bridge's head-moved, keeps in its template state heads each head source.<branch> does not name, and raises head-untaken (scope delivery, id <repository>.<branch>, warning, the operator its resolver) once untaken-bound passes, on its one deadline timer; a later source revision naming the head lets it go and clears the finding. The stalled conditions, their state and the operator-channel use go: the watchman's record-open is the one signal. Builds: design 47 H §740; H-A-27 (head-moved's form, forgemsg), H-A-48 (the stalled conditions go; untaken-bound on the gate's one timer), H-A-81 (warning, resolver operator, no owner) Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
13 lines
784 B
Go
13 lines
784 B
Go
package main
|
|
|
|
import "git.novox.be/novox/mesh-sdk/go/announce"
|
|
|
|
// Kept is every state this module keeps on the bus and whether other modules may read it (novox/hq ADR 0495 clause 2;
|
|
// issue 1790): the module says it itself, from its code, before it serves, and a reader is granted what it said
|
|
// (clause 3). A state is readable when another module's manifest reads it (keeps_test.go names the readers). keeps_test.go holds the list to the
|
|
// manifest's `state`, and keeps_integration_test.go that the module announces it on a bus.
|
|
var Kept = []announce.State{{Name: "findings"}, {Name: "heads"}, {Name: "source", Readable: true}}
|
|
|
|
// announceKept says Kept through keeps, which is stdio.Keeps.
|
|
func announceKept(keeps func(...announce.State) error) error { return keeps(Kept...) }
|