IX26: the indexer's manifest says version 0.1 (none published), checked as MAJOR.MINOR

Builds: design 47 G §368, §299, §295

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
This commit is contained in:
2026-11-11 14:11:08 +01:00
parent 5009bb9256
commit 3cdecff518
3 changed files with 10 additions and 2 deletions
@@ -844,7 +844,10 @@ func TestTakeIn(t *testing.T) { // 1585/T3-T13 (ADR 0633)
}
b := bed(store)
var said []string
b.ix.SayFill = func(_ context.Context, event, _ string, _ meshcatalog.Fill) error { said = append(said, event); return nil }
b.ix.SayFill = func(_ context.Context, event, _ string, _ meshcatalog.Fill) error {
said = append(said, event)
return nil
}
if _, _, err := b.ix.TakeInAtStart(ctx); err != nil || len(b.keys()) != 1 {
t.Fatalf("pending %v (%v): want the merge held for objects full", b.keys(), err)
}
@@ -194,6 +194,11 @@ func TestManifestDeclarations(t *testing.T) { // 1238/AC1, 1444 (reads the build
if !reflect.DeepEqual(m.Tools, want) || len(want) != 41 || slices.Contains(m.Tools, "modules") {
t.Errorf("tools = %v, want %v", m.Tools, want)
}
// Design 47 G §368: version is MAJOR.MINOR (0.1 while none is published, §368); §295, §299: the catalog revisions' form and
// the catch-up tool beside it (checked above).
if !regexp.MustCompile(`^[0-9]+\.[0-9]+$`).MatchString(m.Version) {
t.Errorf("version = %q, want MAJOR.MINOR (design 47 G §368)", m.Version)
}
// Design 47 G §196, §185 (test 61): no state modules, no tool or view of it, and no mesh-wide hold with its states, tools
// and the engines' reads it weighed.
for _, s := range m.State {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"module": "mesh-delivery-indexer",
"version": "1",
"version": "0.1",
"slug": "indexer",
"runs-as": "mesh-delivery-indexer",
"claims": [