Bootstrap the git seat and take the reads the catalog and broker seats now class

The first take-in reaches the seat git before a tool runner's seat list is
read, so its definition is bootstrapped, a copy of its contracts file with
its row in the bootstrap test; the catalog and broker copies follow their
contracts, which class their reads.

Builds: design 47 G lead answers A-387, A-388

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
2026-11-14 02:24:25 +01:00
parent c01a3de0b2
commit f11ef2f5dd
10 changed files with 3193 additions and 27 deletions
File diff suppressed because it is too large Load Diff
+8 -4
View File
@@ -56,7 +56,8 @@
"entries" "entries"
] ]
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "show", "name": "show",
@@ -67,7 +68,8 @@
"answer": { "answer": {
"$ref": "#/defs/Held" "$ref": "#/defs/Held"
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "check", "name": "check",
@@ -122,7 +124,8 @@
"differences" "differences"
] ]
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "orphans", "name": "orphans",
@@ -147,7 +150,8 @@
"entries" "entries"
] ]
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "create", "name": "create",
+10 -5
View File
@@ -66,7 +66,8 @@
"required": [ "required": [
"modules" "modules"
] ]
} },
"class": "read"
}, },
{ {
"name": "module", "name": "module",
@@ -127,7 +128,8 @@
"required": [ "required": [
"module" "module"
] ]
} },
"class": "read"
}, },
{ {
"name": "provides", "name": "provides",
@@ -147,7 +149,8 @@
"answer": { "answer": {
"type": "object", "type": "object",
"description": "what provides answers, as its description says" "description": "what provides answers, as its description says"
} },
"class": "read"
}, },
{ {
"name": "dependents", "name": "dependents",
@@ -167,7 +170,8 @@
"answer": { "answer": {
"type": "object", "type": "object",
"description": "what dependents answers, as its description says" "description": "what dependents answers, as its description says"
} },
"class": "read"
}, },
{ {
"name": "seat-definitions", "name": "seat-definitions",
@@ -246,7 +250,8 @@
] ]
} }
} }
} },
"class": "read"
}, },
{ {
"name": "revision", "name": "revision",
+1
View File
@@ -27,6 +27,7 @@ func TestEveryBootstrappedDefinitionEqualsItsContractsFile(t *testing.T) {
{"mesh-catalog", "mesh-delivery", "modules/mesh-delivery-contracts/seats/mesh-catalog/seat.json"}, {"mesh-catalog", "mesh-delivery", "modules/mesh-delivery-contracts/seats/mesh-catalog/seat.json"},
{"mesh-delivery-checker", "mesh-delivery", "modules/mesh-delivery-contracts/seats/mesh-delivery-checker/seat.json"}, {"mesh-delivery-checker", "mesh-delivery", "modules/mesh-delivery-contracts/seats/mesh-delivery-checker/seat.json"},
{"mesh-delivery", "mesh-delivery", "modules/mesh-delivery-contracts/seats/mesh-delivery/seat.json"}, {"mesh-delivery", "mesh-delivery", "modules/mesh-delivery-contracts/seats/mesh-delivery/seat.json"},
{"git", "mesh-delivery", "modules/mesh-delivery-contracts/seats/git/seat.json"},
} }
var have []string var have []string
for _, d := range Bootstrapped() { for _, d := range Bootstrapped() {
@@ -56,7 +56,8 @@
"entries" "entries"
] ]
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "show", "name": "show",
@@ -67,7 +68,8 @@
"answer": { "answer": {
"$ref": "#/defs/Held" "$ref": "#/defs/Held"
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "check", "name": "check",
@@ -122,7 +124,8 @@
"differences" "differences"
] ]
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "orphans", "name": "orphans",
@@ -147,7 +150,8 @@
"entries" "entries"
] ]
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "create", "name": "create",
@@ -66,7 +66,8 @@
"required": [ "required": [
"modules" "modules"
] ]
} },
"class": "read"
}, },
{ {
"name": "module", "name": "module",
@@ -127,7 +128,8 @@
"required": [ "required": [
"module" "module"
] ]
} },
"class": "read"
}, },
{ {
"name": "provides", "name": "provides",
@@ -147,7 +149,8 @@
"answer": { "answer": {
"type": "object", "type": "object",
"description": "what provides answers, as its description says" "description": "what provides answers, as its description says"
} },
"class": "read"
}, },
{ {
"name": "dependents", "name": "dependents",
@@ -167,7 +170,8 @@
"answer": { "answer": {
"type": "object", "type": "object",
"description": "what dependents answers, as its description says" "description": "what dependents answers, as its description says"
} },
"class": "read"
}, },
{ {
"name": "seat-definitions", "name": "seat-definitions",
@@ -246,7 +250,8 @@
] ]
} }
} }
} },
"class": "read"
}, },
{ {
"name": "revision", "name": "revision",
+2
View File
@@ -12,7 +12,9 @@ repositories; before that it was mesh-controller's copy, which still held two mo
mesh-catalog b5dbfbb784507e211372a7c9640d91f7d6dadd84 modules/*/module.json, modules/*/files/**, modules/*/templates/**, predefined.json mesh-catalog b5dbfbb784507e211372a7c9640d91f7d6dadd84 modules/*/module.json, modules/*/files/**, modules/*/templates/**, predefined.json
mesh-contracts cf5590c7599d3ee3b61c3aa66c88a939ecb41130 the seat files of the eight bootstrapped seats held there (seats/, health-and-repair/seats/, operator-and-conversation/seats/), as seat.json.captured (milestone 47/G) mesh-contracts cf5590c7599d3ee3b61c3aa66c88a939ecb41130 the seat files of the eight bootstrapped seats held there (seats/, health-and-repair/seats/, operator-and-conversation/seats/), as seat.json.captured (milestone 47/G)
mesh-contracts bfc5073b824ef355270da4c44ccf8fa709f6a253 seats/mesh-broker/seat.json, taken again (milestone 47/G lead answer A-388)
mesh-delivery 5bf848144283055a1ef37441eeda0e439fb6ad7e contracts/seats/mesh-catalog and mesh-delivery-checker, as seat.json.captured (go/seatlist's bootstrap test; milestone 47/G) mesh-delivery 5bf848144283055a1ef37441eeda0e439fb6ad7e contracts/seats/mesh-catalog and mesh-delivery-checker, as seat.json.captured (go/seatlist's bootstrap test; milestone 47/G)
mesh-delivery 0259d77d115c95dde492ac2360e9a518d992adb0 modules/mesh-delivery-contracts/seats/mesh-catalog and git, taken again and added (milestone 47/G lead answer A-387)
mesh-host cdcba9ca73755854d21e4e657d7e46c32b9b5265 internal/apply/placement_guard.go mesh-host cdcba9ca73755854d21e4e657d7e46c32b9b5265 internal/apply/placement_guard.go
The two seat copies are put back the same way (git show <commit>:<file> > <file>.captured, the path kept). To move the others, from this repository's go/ directory, with the two repositories checked out beside mesh-sdk: The two seat copies are put back the same way (git show <commit>:<file> > <file>.captured, the path kept). To move the others, from this repository's go/ directory, with the two repositories checked out beside mesh-sdk:
@@ -56,7 +56,8 @@
"entries" "entries"
] ]
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "show", "name": "show",
@@ -67,7 +68,8 @@
"answer": { "answer": {
"$ref": "#/defs/Held" "$ref": "#/defs/Held"
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "check", "name": "check",
@@ -122,7 +124,8 @@
"differences" "differences"
] ]
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "orphans", "name": "orphans",
@@ -147,7 +150,8 @@
"entries" "entries"
] ]
}, },
"optional": true "optional": true,
"class": "read"
}, },
{ {
"name": "create", "name": "create",
File diff suppressed because it is too large Load Diff
@@ -66,7 +66,8 @@
"required": [ "required": [
"modules" "modules"
] ]
} },
"class": "read"
}, },
{ {
"name": "module", "name": "module",
@@ -127,7 +128,8 @@
"required": [ "required": [
"module" "module"
] ]
} },
"class": "read"
}, },
{ {
"name": "provides", "name": "provides",
@@ -147,7 +149,8 @@
"answer": { "answer": {
"type": "object", "type": "object",
"description": "what provides answers, as its description says" "description": "what provides answers, as its description says"
} },
"class": "read"
}, },
{ {
"name": "dependents", "name": "dependents",
@@ -167,7 +170,8 @@
"answer": { "answer": {
"type": "object", "type": "object",
"description": "what dependents answers, as its description says" "description": "what dependents answers, as its description says"
} },
"class": "read"
}, },
{ {
"name": "seat-definitions", "name": "seat-definitions",
@@ -246,7 +250,8 @@
] ]
} }
} }
} },
"class": "read"
}, },
{ {
"name": "revision", "name": "revision",