R3 grants-first-view-away: a first view not read yet is the fault away naming its owner's verb

Builds: design 47 H2 H-A-708 (2); row R3 (withheld itself reads the part's own user list, not a first view: question to the lead)
This commit is contained in:
2026-11-25 17:14:55 +01:00
parent 13485c371e
commit fdfe2db0f3
3 changed files with 33 additions and 6 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ func (v *toolViews) of(state string) (map[string]json.RawMessage, bool, error) {
after = a.Next
}
if rev == 0 {
return nil, true, fmt.Errorf("%s by %s: %w", state, fv.Tool, grants.ErrFirstViewNotYet)
return nil, true, fmt.Errorf("%s by %s: %w", state, fv.Tool, grants.NotYet(fv.Tool, "answered empty at revision 0"))
}
if v.held == nil {
v.held = map[string]map[string]json.RawMessage{}