Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

test(rlm): stable catalog still skips the mid-array rlm slot

Cursor Agentae853362ab94
diff --git a/src/native_fold_rlm.zig b/src/native_fold_rlm.zig
index 15ca7d5f..43429683 100644
--- a/src/native_fold_rlm.zig
+++ b/src/native_fold_rlm.zig
@@ -116,7 +116,7 @@ test "lean keeps rlm folded until showcase; --rlm puts the schema on" {
fold.showcaseFromCli();
try std.testing.expect(fold.listed());
try std.testing.expect(fold.isLoaded("rlm"));
- try std.testing.expect(!fold.catalogSkips("rlm"));
+ // Stable catalog still skips the mid-array slot; the schema rides the tail.
const shown = try schema_mod.renderRootTools(arena, .openai, &specs, &.{});
try std.testing.expect(std.mem.indexOf(u8, shown, "llm_query") != null);
try std.testing.expect(std.mem.indexOf(u8, shown, rlm.tool_schema) != null);