mesh-knowledge: the overview's delivery block and the progress verb's groups lines go
Review round 1, Must 3: the groups and group-ended are retired; the overview showed the deliveries, another module's state, which the status view owns. The overview keeps two sources (the tracker, the asks), consumes no merge, transition or pipeline's end, and the progress verb asks no groups. Builds: design 47 H §764 (the gate's verb groups; the runner's group-ended); H-A-28; H-A-125 Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
This commit is contained in:
@@ -75,7 +75,7 @@ func newSeatsWorld(t *testing.T) *seatsWorld {
|
||||
s.rows[n.Number] = r
|
||||
}
|
||||
s.milestones = readFixture(t, "tracker-milestones-47.json")
|
||||
for _, f := range []string{"deliveries.json", "groups.json", "show-car-hunter-2.json"} {
|
||||
for _, f := range []string{"deliveries.json", "show-car-hunter-2.json"} {
|
||||
s.files[f] = readFixture(t, f)
|
||||
}
|
||||
return s
|
||||
@@ -126,8 +126,6 @@ func (s *seatsWorld) ask(key string, body any) (json.RawMessage, error) {
|
||||
"notes-left-out": 96, "links": []map[string]any{{"kind": "depends-on", "target": "1943"}}})
|
||||
case "seat:mesh-delivery.deliveries":
|
||||
return s.files["deliveries.json"], nil
|
||||
case "seat:mesh-delivery.groups":
|
||||
return s.files["groups.json"], nil
|
||||
case "seat:mesh-delivery.show":
|
||||
if a.ID == "jschoubben/car-hunter@cc4c8ce12901" {
|
||||
return s.files["show-car-hunter-2.json"], nil
|
||||
@@ -373,6 +371,10 @@ func TestProgressOfADesignMinimalAndDetailed(t *testing.T) {
|
||||
if len(d.Items) != 1 || d.Items[0].ID != "design 47" {
|
||||
t.Fatalf("items %+v", d.Items)
|
||||
}
|
||||
// The groups went (design 47 H §764, H-A-125): a detailed answer asks none and draws no group line.
|
||||
if seats.asked["seat:mesh-delivery.groups"] != 0 {
|
||||
t.Errorf("detailed asked groups %d times", seats.asked["seat:mesh-delivery.groups"])
|
||||
}
|
||||
m, err := k.Progress(ProgressAsk{Of: "milestone 47/r6", Detail: DetailDetailed})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -471,8 +473,6 @@ func sinceWorld(t *testing.T, changes bool) func(string, any) (json.RawMessage,
|
||||
}
|
||||
case "seat:mesh-delivery.deliveries":
|
||||
return read("deliveries.json"), nil
|
||||
case "seat:mesh-delivery.groups":
|
||||
return json.RawMessage(`[]`), nil
|
||||
case "seat:mesh-delivery.show":
|
||||
if f, ok := shows[a.ID]; ok {
|
||||
return read(f), nil
|
||||
|
||||
Reference in New Issue
Block a user