Merge pull request 'The tool runner waits on the gate's transitions too (design 47 R3e, issue 1350)' (#37) from feat/r3e-the-gate into main
This commit was merged in pull request #37.
This commit is contained in:
@@ -10,7 +10,8 @@ import (
|
||||
|
||||
// novox/hq ADR 0367 §5: the tool runner's manifest names the families a session waits on today, one by one,
|
||||
// and the asker's `decided` for the claude-code module alone. Adding one is a reviewed change to this file
|
||||
// (§6), so this list changes with it.
|
||||
// (§6), so this list changes with it. The delivery's transitions are waited on under today's module's name and the gate's that
|
||||
// takes its place (ADR 0450 §8, issue 1350); the old name goes when today's module is forgotten.
|
||||
func TestTheManifestNamesTheFirstFamiliesOneByOne(t *testing.T) {
|
||||
raw, err := os.ReadFile("../../module.json")
|
||||
if err != nil {
|
||||
@@ -24,7 +25,7 @@ func TestTheManifestNamesTheFirstFamiliesOneByOne(t *testing.T) {
|
||||
if err := json.Unmarshal(raw, &m); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
want := []string{"mesh-knowledge.reviewed", "mesh-delivery.transition", "gitea.forge.status",
|
||||
want := []string{"mesh-knowledge.reviewed", "mesh-delivery.transition", "mesh-delivery-gate.transition", "gitea.forge.status",
|
||||
"mesh-controller.checked", "operator-channel.decided.claude-code"}
|
||||
if m.Module != "node-tools" || !reflect.DeepEqual(m.Waits, want) {
|
||||
t.Errorf("%s waits on %v, want %v", m.Module, m.Waits, want)
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"waits": [
|
||||
"mesh-knowledge.reviewed",
|
||||
"mesh-delivery.transition",
|
||||
"mesh-delivery-gate.transition",
|
||||
"gitea.forge.status",
|
||||
"mesh-controller.checked",
|
||||
"operator-channel.decided.claude-code"
|
||||
|
||||
Reference in New Issue
Block a user