gitea, mesh-issues: no timer said for main's rules; the checker is no owner

Review round 1, notes: keep-main-rules acts at the token's mint alone since the
ten-minute step went (H-A-100), and the issue tracker's owners named the
checker's path, which a search for the checker must not find (§764).

Builds: design 47 H §764 (the forge module's ten-minute timer; the checker whole); H-A-100

Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
This commit is contained in:
2026-11-20 06:06:57 +01:00
parent df79ab8769
commit c775aab29a
7 changed files with 25 additions and 9 deletions
@@ -13,7 +13,7 @@ func TestIsCoreNamesTheBuildModulesAndTheDeliveryParts(t *testing.T) {
for _, e := range []string{
"mesh-catalog modules/mesh-build-go", "mesh-catalog modules/mesh-build-node", "mesh-catalog modules/mesh-build-image",
"mesh-catalog modules/mesh-build-go/cmd/mesh-build-go",
"mesh-delivery", "mesh-delivery modules/mesh-delivery-checker", "mesh-catalog modules/mesh-delivery-gate",
"mesh-delivery", "mesh-catalog modules/mesh-delivery-gate",
"mesh-catalog modules/nats", "mesh-catalog modules/gitea", "mesh-sdk",
} {
if !IsCore([]string{e}) {
@@ -43,5 +43,16 @@ func TestNoOwnerNamesBuildAgent(t *testing.T) {
if strings.Contains(o, "build-agent") {
t.Errorf("the owner %q is registered: build-agent is gone (ADR 0524 §5)", o)
}
if strings.Contains(o, "mesh-delivery-checker") {
t.Errorf("the owner %q is registered: the checker is gone whole (design 47 H §764)", o)
}
}
// The manifest's default owners name it no more either.
raw, err := os.ReadFile(filepath.Join("..", "..", "module.json"))
if err != nil {
t.Fatal(err)
}
if strings.Contains(string(raw), "mesh-delivery-checker") {
t.Error("the manifest names mesh-delivery-checker: the checker is gone whole (design 47 H §764)")
}
}
@@ -264,7 +264,7 @@ func TestEveryCodeModuleOfTheCatalogueIsAnOwner(t *testing.T) {
}
// 1815/AC2: the delivery repository's modules cannot ride on its repository entry (owns refuses a folder
// of a repository that is registered only as a whole), so each is named.
for _, m := range []string{"builder", "checker", "indexer"} {
for _, m := range []string{"builder", "indexer"} { // the checker went whole (design 47 H §764)
if Owners(s.Owners).owns("mesh-delivery modules/mesh-delivery-"+m) == "" {
t.Errorf("mesh-delivery-%s is not an owner", m)
}
-1
View File
@@ -147,7 +147,6 @@
"mesh-catalog modules/zsh-syntax-highlighting",
"mesh-delivery",
"mesh-delivery modules/mesh-delivery-builder",
"mesh-delivery modules/mesh-delivery-checker",
"mesh-delivery modules/mesh-delivery-forge-bridge",
"mesh-delivery modules/mesh-delivery-indexer",
"mesh-delivery modules/mesh-delivery-teller",
-1
View File
@@ -259,7 +259,6 @@
"mesh-catalog modules/zsh-syntax-highlighting",
"mesh-delivery",
"mesh-delivery modules/mesh-delivery-builder",
"mesh-delivery modules/mesh-delivery-checker",
"mesh-delivery modules/mesh-delivery-forge-bridge",
"mesh-delivery modules/mesh-delivery-indexer",
"mesh-delivery modules/mesh-delivery-teller",