The steps of the build seats are watched and read by their holders: no caller of BuildModuleOf is left but the view's

The watchman asks the seat that places modules who holds each build seat (seatlist.HolderOf) and watches that
holder's steps; its manifest reads the seats' steps and invokes the seat's assignments. The builder's stuck
reader looks a step up by its seat, the tests find the holders on their test seat list, the watchman's
integration bed answers who holds a seat. Its manifest tests take the manifest's requires.

Builds: design 47 G A-82, A-126
Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
2026-11-12 01:34:12 +01:00
parent bd20ba5b8f
commit 316cf8a3be
8 changed files with 48 additions and 21 deletions
@@ -171,7 +171,7 @@ func (r *BuildReader) stepNode(v builds.BuilderBuild) string {
}
slices.Sort(languages)
for _, l := range languages {
bm, _ := buildstep.BuildModuleOf(l)
bm, _ := buildstep.BuildSeat(l) // the steps are by build seat (StuckReader.Steps)
st, ok := r.Steps.Steps[bm]
k, found := r.index[bm][v.Asks[l]]
if !ok || !found {
@@ -154,7 +154,8 @@ func (r *rig) answer(a buildstep.StepAsk) buildstep.Step {
if node == "" {
node = "ace"
}
module, _ := buildstep.BuildModuleOf(a.Language)
bm, _ := testSeats().OfAskLanguage(a.Language)
module := bm.Module
runner := buildrun.Runner{Caller: r.bm, Steps: r.bm.steps, Bound: time.Second}
tool := func(name string) stepFunc {
return func(ctx context.Context, args map[string]any) (any, error) {