test(agent-loop): use current persona slots in admission harness

Adopt master’s explicit personaPrefix/personaSuffix configuration in the in-history test harness. The assembly override and all admission assertions remain unchanged; this fixes the typed build integration rather than weakening the tests.
This commit is contained in:
Tianyi Cui committed 2026-09-07 13:46:33 +08:00
1 parent a4e445236f
commit d43d93d89f
1 file changed
+1 -1
@@ -21,7 +21,7 @@ async function harness(capable = new MockAdapter(Array.from({ length: 8 }, () =>
await ctx.plugin(LlmRuntime)
await ctx.plugin(SessionStore)
await ctx.plugin(SessionProjectionRegistry)
await ctx.plugin(SystemPrompt, { persona: '' })
await ctx.plugin(SystemPrompt, { personaPrefix: '', personaSuffix: '' })
await ctx.plugin(ToolRuntime)
await ctx.plugin(AgentRegistry)
await ctx.plugin(AgentLoop, { agents: [] })