Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test(golden): export surface adds MAX_FRONTMATTER_YAML_ALIASES and yamlAliasesWithinLimit (W5.1 alias-bomb bound)
garrytan9b52bdd4d4e6
diff --git a/test/fixtures/goldens/exports/runtime.json b/test/fixtures/goldens/exports/runtime.jsonindex 52d9637c52..138dcd4d68 100644--- a/test/fixtures/goldens/exports/runtime.json+++ b/test/fixtures/goldens/exports/runtime.json@@ -670,6 +670,7 @@"HOLD_CODES","IDENTITY_FRONTMATTER_KEYS","INVALID_FRONTMATTER_REASONS",+ "MAX_FRONTMATTER_YAML_ALIASES","PROTECTED_FRONTMATTER_KEYS","RECOVERY_VERSION","classifyImportHold",@@ -690,6 +691,7 @@"serializeMarkdown","serializePageToMarkdown","splitBody",+ "yamlAliasesWithinLimit","yamlBlockError"],"./minions": [diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.jsonindex 3d7ba26b02..7f111367be 100644--- a/test/fixtures/goldens/exports/types.json+++ b/test/fixtures/goldens/exports/types.json@@ -5096,6 +5096,13 @@"\"yaml_parse\" | \"needs_interpretation\" | \"ambiguous_identity_key\" | \"ambiguous_protected_key\""]},+ {+ "kind": "variable",+ "name": "MAX_FRONTMATTER_YAML_ALIASES",+ "signature": [+ "16"+ ]+ },{"kind": "variable","name": "PROTECTED_FRONTMATTER_KEYS",@@ -5315,6 +5322,13 @@"(body: string) => { compiled_truth: string; timeline: string; }"]},+ {+ "kind": "function",+ "name": "yamlAliasesWithinLimit",+ "signature": [+ "(text: string) => boolean"+ ]+ },{"kind": "function","name": "yamlBlockError",