G findings: the writers name the ask's subject from the contract; the readers take the writer whole

WriterConfig.Asked is the generated mesh-conditions contract's SubjectFindingsAsked (A-17), a reader's Findings is the
module's writer itself (A-22, A-26), and mesh-build-go's single manifest ask writes and clears its first-view-unanswered
finding through the writer with the contract's Finding (A-28). mesh-config and mesh-vault's own followers (A-28) are not
yet moved onto a views.Reader: they do not compile at mesh-sdk 24f876a.

Builds: design 47 G §687, §689, A-17, A-22, A-26, A-28

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
2026-11-11 22:03:09 +01:00
parent 95f29d6c54
commit 06ebd7e8cf
14 changed files with 59 additions and 33 deletions
+2 -2
View File
@@ -122,7 +122,7 @@ func watchLeavers(env *Env) bool {
// The vault's finding writer (design 47 G §689, A-16): it states the assignments view's findings and observes none of
// its own, and names no secret.
w, err := views.NewStdioWriter(views.WriterConfig[meshconditions.Finding, meshconditions.FindingCleared, meshconditions.FindingsStated, meshconditions.FindingsAskedEvent]{
Module: Seat, State: stdio.State(FindingsState),
Asked: meshconditions.SubjectFindingsAsked, Module: Seat, State: stdio.State(FindingsState),
Observe: func(context.Context) (views.Observed[meshconditions.Finding], error) {
return views.Observed[meshconditions.Finding]{}, nil
}})
@@ -137,7 +137,7 @@ func watchLeavers(env *Env) bool {
env.Vault.NodeLeft(node)
}
}, env.Vault.AssignmentsChanged,
views.WriterFindings{Writer: w})
w)
beginAssignmentsView(assignmentsView)
}
return true