The kinds check and recheck stay in H1 (H-A-117). Builds: design 47 H §764 (the checker (H1)); lead answers H-A-57, H-A-117 Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
23 lines
883 B
Go
23 lines
883 B
Go
package main
|
|
|
|
// What this module keeps on the bus, announced from its code (novox/hq ADR 0495 §2 §5; issue 1790): every state it
|
|
// keeps, each readable by others, since another module reads each today (the builder and the indexer read toolchains; the builder reads steps; gitea reads keys). A state of its own that it
|
|
// did not name here is refused at the call (stdio.Keeps).
|
|
|
|
import (
|
|
stdio "git.novox.be/novox/mesh-sdk/go"
|
|
"git.novox.be/novox/mesh-sdk/go/announce"
|
|
)
|
|
|
|
// Kept are the states the module keeps.
|
|
var Kept = []announce.State{
|
|
{Name: "toolchains", Readable: true},
|
|
{Name: "keys", Readable: true},
|
|
{Name: "steps", Readable: true},
|
|
{Name: "pauses", Readable: true},
|
|
{Name: "detected-steps", Readable: true},
|
|
}
|
|
|
|
// keepStates announces Kept as this module's (stdio.Keeps): main calls it before it serves.
|
|
func keepStates() error { return stdio.Keeps(Kept...) }
|