From 3303e9170cfc854aa57a54dcf0673dbfd80ae7f9 Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 14 Nov 2026 15:03:12 +0100 Subject: [PATCH] Indexer: the seed's ask says a short digest, and the holder's own tools read its catalog revision (A-400, A-401) Live on novox 2026-11-14 15:01 the operator channel refused the seed's ask for a 64-hex digest in its words, as a secret; the Approve binds the whole digest through the option. The tool runner reads the catalog half for the indexer's own tools on its account and was refused every minute. --- .../mesh-delivery-indexer/internal/index/registrations.go | 8 +++++++- .../mesh-delivery-indexer/internal/index/revision_verb.go | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/mesh-delivery-indexer/internal/index/registrations.go b/modules/mesh-delivery-indexer/internal/index/registrations.go index fb68253f..a8813cf3 100644 --- a/modules/mesh-delivery-indexer/internal/index/registrations.go +++ b/modules/mesh-delivery-indexer/internal/index/registrations.go @@ -537,7 +537,13 @@ func (p Proposal) composeAsk(key string) oc.Ask { if p.Why != "" { explain += "\nWhy: " + p.Why } - explain += "\nDigest " + p.Digest + // The digest's first 12 hex only: the channel refuses a long hexadecimal string as a secret; the Approve binds the + // whole digest through the option's Binds (A-400). + if d := strings.TrimPrefix(p.Digest, "sha256:"); len(d) > 12 { + explain += "\nDigest sha256:" + d[:12] + "…" + } else { + explain += "\nDigest " + p.Digest + } a := oc.Ask{ID: p.Ask, Headline: headline, Explanation: explain, Who: occ.Operator, Expires: occ.FormatTime(p.At.Add(ProposalLasts)), OnExpiry: "nothing is written; the change waits to be proposed again", About: "catalog.proposal." + key} diff --git a/modules/mesh-delivery-indexer/internal/index/revision_verb.go b/modules/mesh-delivery-indexer/internal/index/revision_verb.go index 05228e47..fa5cec93 100644 --- a/modules/mesh-delivery-indexer/internal/index/revision_verb.go +++ b/modules/mesh-delivery-indexer/internal/index/revision_verb.go @@ -22,11 +22,11 @@ const RevisionInvoke = "seat:" + meshcatalog.Seat + "." + meshcatalog.VerbRevisi // in invokes declares every seat verb, as the grants part reads it (A-390). // // Lead answer A-395: every part the newest trunk revision holds may read it, and so may the tool runner, which reads the -// catalog half for each module it serves on that module's or its own account; the holder stays refused. +// catalog half for each module it serves on that module's or its own account, the holder's own tools too (A-401). func RevisionCallers(entries []meshcatalog.CatalogEntry, holder string) stdio.Callers { out := stdio.Callers{ToolRunner} for _, e := range entries { - if e.Module != holder && !slices.Contains(out, e.Module) { + if !slices.Contains(out, e.Module) { out = append(out, e.Module) } }