G findings: the modules with findings of their own write them through mesh-sdk's writer

artifact-store-tools (image-missing, sweep-refused), distribution (program and tools bundle, one writer each over its own
kinds), gitea's package-registry (and the token-refused key the TypeScript bundle watches) and mesh-config keep their
findings open and write and clear them through the generic writer; mesh-vault states its assignments view's. A part of an
id told apart by a ref is in the id (<id>.<ref>), each escaped; the writer starts once Serve has the runtime's channel; the
removed findings helpers and resolved words go.

Builds: design 47 G §686, §687, §689, A-3, A-14, A-16, A-22

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
2026-11-11 21:58:08 +01:00
parent dd4449de61
commit 95f29d6c54
37 changed files with 569 additions and 252 deletions
+8 -4
View File
@@ -504,10 +504,14 @@ func main() {
os.Exit(1)
}
meshViews.Findings = views.WriterFindings{Writer: findings}
if err := findings.Start(context.Background()); err != nil {
say("%v", err)
os.Exit(1)
}
// the runtime answers the writer's subscription only once Serve has its channel
go func() {
<-stdio.Served()
if err := findings.Start(context.Background()); err != nil {
say("%v", err)
os.Exit(1)
}
}()
meshViews.Start(context.Background())
go refreshMeshTools(p)
servers := stateOf{stdio.State("servers")}