Dashboard › opencode › Distillation
f958a811-614b-4ca2-be72-5fe7156474bb["lore_tm_v1_IXouM8DodatavAvClyXoHHt3B8YUslmPMf7_RBNGA8w"]
x-lore-agent routing rule: when it matches the relevant agent classification, the request is “always a normal turn.”x-lore-agent routing rule: when it matches the relevant agent classification, the request is “always passthrough.”x-lore-agent; /home/byk/Code/opencode-lore/packages/gateway/src/compaction.ts defines LORE_AGENT_HEADER = "x-lore-agent" at line 374 and documents the explicit x-lore-agent header from the OpenCode plugin as the authoritative signal at line 434./home/byk/Code/opencode-lore/packages/opencode/src/index.ts line 387 sets output.headers["x-lore-agent"] = input.agent./home/byk/Code/opencode-lore/packages/gateway/test/compaction.test.ts tests the header-classification hierarchy: known meta agent → true regardless of structure; known primary agent → false even if structurally meta; unknown agent → falls through to heuristics; unknown agent with non-meta structure → false; and all known meta-agent names are detected.x-lore-agent is included in /home/byk/Code/opencode-lore/packages/gateway/src/translate/types.ts at line 801 and is exercised across OpenCode and gateway routing, retention, recall, streaming, redaction, upstream-error relay, provider-routing, and bridge tests, primarily with values "coder", "title", "build", and "code".