Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

feat(recall): every search hit names its source_id (#4830)

garrytanacb3f9e337e7
diff --git a/docs/protocol/MEMORY_VERBS_v1.md b/docs/protocol/MEMORY_VERBS_v1.md
index f098b993a2..068c96935a 100644
--- a/docs/protocol/MEMORY_VERBS_v1.md
+++ b/docs/protocol/MEMORY_VERBS_v1.md
@@ -166,7 +166,7 @@ Response — an additive SUPERSET of the plain facts envelope on EVERY call
| `protocol_version` | int | always present (every verb, every call) |
| `facts[]` | array | the base fact fields, PLUS per fact: `fact_id` (opaque STRING — the value `forget` accepts; the numeric `id` remains alongside it for compatibility) and `provenance` (the stored source attribution) |
| `total` | int | count of facts returned |
-| `results[]` | array | search arm only: `slug`, `title`, `chunk`, `evidence`, `create_safety`, `provenance` (origin page slug) |
+| `results[]` | array | search arm only: `slug`, `title`, `chunk`, `evidence`, `create_safety`, `provenance` (origin page slug), `source_id` (additive since #4830: the source the hit came from; on a federated read each hit names its own source, and a hit that carries none is labeled only when the read's scope is a single source, never a blind `default`) |
| `search_degraded` | string? | present when keyword-only fallback fired |
| `budget_tokens` / `budget_used` / `dropped_count` | int? | present for a positive finite numeric budget, including when its floor is zero |
| `budget_packing` | object? | present only when a valid `budget_policy` is supplied; effective policy and per-arm accounting |
diff --git a/scripts/function-size-baseline.tsv b/scripts/function-size-baseline.tsv
index 416e052d4a..43ea8dd3cf 100644
--- a/scripts/function-size-baseline.tsv
+++ b/scripts/function-size-baseline.tsv
@@ -46,7 +46,7 @@ src/core/minions/handlers/subagent.ts runSubagentViaGateway 329 seed: W5 baselin
src/core/minions/queue.ts MinionQueue.add 498 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1)
src/core/minions/queue.ts MinionQueue.add>result=this.engine.transaction(#0) 359 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1)
src/core/minions/worker.ts MinionWorker.start 470 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1)
-src/core/ops/facts.ts recall.handler 348 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1)
+src/core/ops/facts.ts recall.handler 351 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1); +3 #4830 (W14 PR3): every hit names its source_id, falling back to the scope's single source (the federated case stays absent)
src/core/ops/search.ts query.handler 332 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1); +2 GBRA-49 explain_target: one TargetTrace prep line and its HybridSearchOpts thread (diagnosis/meta live in prepareExplainTarget/finishExplainTarget)
src/core/progressive-batch/orchestrator.ts runProgressiveBatch 348 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1)
src/core/remediation/run.ts runRemediation 428 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1)
diff --git a/src/core/ops/facts.ts b/src/core/ops/facts.ts
index 6546f0e053..c5557bcf1a 100644
--- a/src/core/ops/facts.ts
+++ b/src/core/ops/facts.ts
@@ -276,6 +276,7 @@ const recall: Operation = {
: scope.sourceId ? [scope.sourceId]
: [sourceId],
)];
+ const scalarSource = factSources.length === 1 ? factSources[0] : undefined;
// Visibility filter: remote callers see world-only unless their token
// grants elevated visibility (future-proofing; v0.31 ships world-only
@@ -571,6 +572,8 @@ const recall: Operation = {
evidence: r.evidence,
create_safety: r.create_safety,
provenance: r.slug,
+ // #4830: a row without a source takes the scope's single source; a federated read leaves it absent.
+ ...((r.source_id ?? scalarSource) ? { source_id: r.source_id ?? scalarSource } : {}),
...(r.delivered ? { delivered: r.delivered } : {}),
...(r.relational ? { relational: r.relational } : {}),
...(r.trust_tier ? { trust_tier: r.trust_tier, origin: r.origin, ...(r.unconfirmed ? { unconfirmed: true } : {}) } : {}),
diff --git a/test/evidence-delivery.test.ts b/test/evidence-delivery.test.ts
index a158717836..c684349373 100644
--- a/test/evidence-delivery.test.ts
+++ b/test/evidence-delivery.test.ts
@@ -975,7 +975,8 @@ describe('ops', () => {
test('recall keeps legacy fields and packing, adding delivered/delivery only when on', async () => {
const off = await op('recall').handler(ctxOf(), { query: 'narwhal', budget_tokens: 5000, return_unit: 'chunk' }) as Record<string, any>;
expect(off.delivery).toBeUndefined();
- expect(off.results.every((r: Record<string, unknown>) => Object.keys(r).join(',') === 'slug,title,chunk,evidence,create_safety,provenance,trust_tier,origin')).toBe(true);
+ // #4830: `source_id` joined the pinned key list (additive; every hit names the source it came from).
+ expect(off.results.every((r: Record<string, unknown>) => Object.keys(r).join(',') === 'slug,title,chunk,evidence,create_safety,provenance,source_id,trust_tier,origin')).toBe(true);
const on = await op('recall').handler(ctxOf(), { query: 'narwhal', budget_tokens: 5000, return_unit: 'page' }) as Record<string, any>;
expect(on.delivery.requested_unit).toBe('page');
expect(on.results[0].delivered.unit).toBe('page');
diff --git a/test/fixtures/agent-contract/v1/journey/recall-degraded.json b/test/fixtures/agent-contract/v1/journey/recall-degraded.json
index c46638bda8..7c16ceb483 100644
--- a/test/fixtures/agent-contract/v1/journey/recall-degraded.json
+++ b/test/fixtures/agent-contract/v1/journey/recall-degraded.json
@@ -12,7 +12,7 @@
"content": [
{
"type": "text",
- "text": "{\n \"facts\": [\n {\n \"id\": 1,\n \"fact\": \"quokka-journey-marker is the install-check fact\",\n \"kind\": \"fact\",\n \"entity_slug\": null,\n \"source_id\": \"default\",\n \"visibility\": \"world\",\n \"notability\": \"medium\",\n \"valid_from\": \"{{TIME}}\",\n \"valid_until\": null,\n \"expired_at\": null,\n \"superseded_by\": null,\n \"consolidated_at\": null,\n \"consolidated_into\": null,\n \"source\": \"install-check\",\n \"source_session\": null,\n \"context\": null,\n \"confidence\": 1,\n \"created_at\": \"{{TIME}}\",\n \"fact_id\": \"1\",\n \"provenance\": \"install-check\",\n \"trust_tier\": \"agent_written\",\n \"origin\": \"mcp:remember\"\n }\n ],\n \"total\": 1,\n \"protocol_version\": 1,\n \"results\": [\n {\n \"slug\": \"journey-note-3\",\n \"title\": \"Journey note 3\",\n \"chunk\": \"# Journey note 3\\n\\nThe quokka-journey-marker 3 lives in note 3.\",\n \"evidence\": \"keyword_exact\",\n \"create_safety\": \"probable\",\n \"provenance\": \"journey-note-3\",\n \"trust_tier\": \"operator_curated\",\n \"origin\": \"managed_file_import\"\n },\n {\n \"slug\": \"journey-note-2\",\n \"title\": \"Journey note 2\",\n \"chunk\": \"# Journey note 2\\n\\nThe quokka-journey-marker 2 lives in note 2.\",\n \"evidence\": \"keyword_exact\",\n \"create_safety\": \"probable\",\n \"provenance\": \"journey-note-2\",\n \"trust_tier\": \"operator_curated\",\n \"origin\": \"managed_file_import\"\n },\n {\n \"slug\": \"journey-note-1\",\n \"title\": \"Journey note 1\",\n \"chunk\": \"# Journey note 1\\n\\nThe quokka-journey-marker 1 lives in note 1.\",\n \"evidence\": \"keyword_exact\",\n \"create_safety\": \"probable\",\n \"provenance\": \"journey-note-1\",\n \"trust_tier\": \"operator_curated\",\n \"origin\": \"managed_file_import\"\n }\n ],\n \"search_degraded\": \"keyword_only_embedding_disabled\"\n}"
+ "text": "{\n \"facts\": [\n {\n \"id\": 1,\n \"fact\": \"quokka-journey-marker is the install-check fact\",\n \"kind\": \"fact\",\n \"entity_slug\": null,\n \"source_id\": \"default\",\n \"visibility\": \"world\",\n \"notability\": \"medium\",\n \"valid_from\": \"{{TIME}}\",\n \"valid_until\": null,\n \"expired_at\": null,\n \"superseded_by\": null,\n \"consolidated_at\": null,\n \"consolidated_into\": null,\n \"source\": \"install-check\",\n \"source_session\": null,\n \"context\": null,\n \"confidence\": 1,\n \"created_at\": \"{{TIME}}\",\n \"fact_id\": \"1\",\n \"provenance\": \"install-check\",\n \"trust_tier\": \"agent_written\",\n \"origin\": \"mcp:remember\"\n }\n ],\n \"total\": 1,\n \"protocol_version\": 1,\n \"results\": [\n {\n \"slug\": \"journey-note-3\",\n \"title\": \"Journey note 3\",\n \"chunk\": \"# Journey note 3\\n\\nThe quokka-journey-marker 3 lives in note 3.\",\n \"evidence\": \"keyword_exact\",\n \"create_safety\": \"probable\",\n \"provenance\": \"journey-note-3\",\n \"source_id\": \"default\",\n \"trust_tier\": \"operator_curated\",\n \"origin\": \"managed_file_import\"\n },\n {\n \"slug\": \"journey-note-2\",\n \"title\": \"Journey note 2\",\n \"chunk\": \"# Journey note 2\\n\\nThe quokka-journey-marker 2 lives in note 2.\",\n \"evidence\": \"keyword_exact\",\n \"create_safety\": \"probable\",\n \"provenance\": \"journey-note-2\",\n \"source_id\": \"default\",\n \"trust_tier\": \"operator_curated\",\n \"origin\": \"managed_file_import\"\n },\n {\n \"slug\": \"journey-note-1\",\n \"title\": \"Journey note 1\",\n \"chunk\": \"# Journey note 1\\n\\nThe quokka-journey-marker 1 lives in note 1.\",\n \"evidence\": \"keyword_exact\",\n \"create_safety\": \"probable\",\n \"provenance\": \"journey-note-1\",\n \"source_id\": \"default\",\n \"trust_tier\": \"operator_curated\",\n \"origin\": \"managed_file_import\"\n }\n ],\n \"search_degraded\": \"keyword_only_embedding_disabled\"\n}"
},
{
"type": "text",
diff --git a/test/fixtures/goldens/evidence-delivery/off-path.json b/test/fixtures/goldens/evidence-delivery/off-path.json
index 33b2c35036..1bb3e2693c 100644
--- a/test/fixtures/goldens/evidence-delivery/off-path.json
+++ b/test/fixtures/goldens/evidence-delivery/off-path.json
@@ -5,18 +5,18 @@
"query": "{\"result\":[{\"slug\":\"notes/ocelot-handbook\",\"page_id\":2,\"title\":\"notes/ocelot-handbook\",\"type\":\"note\",\"chunk_text\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":4,\"chunk_index\":0,\"score\":1,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"base_score\":1,\"evidence\":\"keyword_exact\",\"create_safety\":\"probable\",\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LWhhbmRib29rIl0\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"meta\":[{\"key\":\"retrieval\",\"value\":{\"returned_count\":1,\"retrieved_count\":1,\"vector_enabled\":false,\"expansion_applied\":false,\"cache\":\"disabled\",\"token_budget\":{\"budget\":12000,\"used\":504,\"dropped\":0,\"kept\":1},\"degraded\":[{\"stage\":\"embed_unavailable\",\"reason\":\"no_provider\"}],\"projection_readiness\":{\"status\":\"ready\",\"ready\":true},\"crag\":{\"confidence\":\"moderate\",\"reason\":\"keyword_exact_top\",\"query_shape\":\"factual\"}}}]}",
"query-budget": "{\"result\":[{\"slug\":\"notes/ocelot-handbook\",\"page_id\":2,\"title\":\"notes/ocelot-handbook\",\"type\":\"note\",\"chunk_text\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat h\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":4,\"chunk_index\":0,\"score\":1,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"base_score\":1,\"evidence\":\"keyword_exact\",\"create_safety\":\"probable\",\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LWhhbmRib29rIl0\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"meta\":[{\"key\":\"retrieval\",\"value\":{\"returned_count\":1,\"retrieved_count\":4,\"vector_enabled\":false,\"expansion_applied\":false,\"cache\":\"disabled\",\"token_budget\":{\"budget\":300,\"used\":300,\"dropped\":3,\"kept\":1,\"truncated\":true},\"degraded\":[{\"stage\":\"embed_unavailable\",\"reason\":\"no_provider\"},{\"stage\":\"budget_truncated\",\"reason\":\"first_result_truncated\"}],\"projection_readiness\":{\"status\":\"ready\",\"ready\":true},\"crag\":{\"confidence\":\"moderate\",\"reason\":\"keyword_exact_top\",\"query_shape\":\"factual\"}}}]}",
"query-low": "{\"result\":[{\"slug\":\"notes/ocelot-handbook\",\"page_id\":2,\"title\":\"notes/ocelot-handbook\",\"type\":\"note\",\"chunk_text\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":4,\"chunk_index\":0,\"score\":2,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"base_score\":2,\"evidence\":\"keyword_exact\",\"create_safety\":\"probable\",\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LWhhbmRib29rIl0\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"meta\":[{\"key\":\"retrieval\",\"value\":{\"returned_count\":1,\"retrieved_count\":1,\"vector_enabled\":false,\"expansion_applied\":false,\"cache\":\"disabled\",\"token_budget\":{\"budget\":12000,\"used\":504,\"dropped\":0,\"kept\":1},\"degraded\":[{\"stage\":\"embed_unavailable\",\"reason\":\"no_provider\"}],\"projection_readiness\":{\"status\":\"ready\",\"ready\":true},\"crag\":{\"confidence\":\"moderate\",\"reason\":\"keyword_exact_top\",\"query_shape\":\"factual\"}}}]}",
- "recall": "{\"result\":{\"facts\":[],\"total\":0,\"protocol_version\":1,\"results\":[{\"slug\":\"chat/session-a\",\"title\":\"chat/session-a\",\"chunk\":\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"chat/session-a\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-handbook\",\"title\":\"notes/ocelot-handbook\",\"chunk\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-handbook\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-private\",\"title\":\"notes/ocelot-private\",\"chunk\":\"Private ocelot memo body.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-private\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/short\",\"title\":\"notes/short\",\"chunk\":\"A short ocelot note.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/short\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"search_degraded\":\"keyword_only_no_embedding_provider\"},\"meta\":[]}",
- "recall-budget": "{\"result\":{\"facts\":[],\"total\":0,\"protocol_version\":1,\"results\":[{\"slug\":\"chat/session-a\",\"title\":\"chat/session-a\",\"chunk\":\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"chat/session-a\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-handbook\",\"title\":\"notes/ocelot-handbook\",\"chunk\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-handbook\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-private\",\"title\":\"notes/ocelot-private\",\"chunk\":\"Private ocelot memo body.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-private\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/short\",\"title\":\"notes/short\",\"chunk\":\"A short ocelot note.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/short\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"search_degraded\":\"keyword_only_no_embedding_provider\",\"budget_tokens\":1500,\"budget_used\":1188,\"dropped_count\":0,\"budget_packing\":{\"policy\":\"query_first\",\"applied\":true,\"reason\":\"packed\",\"facts\":{\"candidates\":0,\"kept\":0,\"dropped\":0,\"used\":0},\"results\":{\"candidates\":4,\"kept\":4,\"dropped\":0,\"used\":1188}}},\"meta\":[]}",
+ "recall": "{\"result\":{\"facts\":[],\"total\":0,\"protocol_version\":1,\"results\":[{\"slug\":\"chat/session-a\",\"title\":\"chat/session-a\",\"chunk\":\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"chat/session-a\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-handbook\",\"title\":\"notes/ocelot-handbook\",\"chunk\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-handbook\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-private\",\"title\":\"notes/ocelot-private\",\"chunk\":\"Private ocelot memo body.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-private\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/short\",\"title\":\"notes/short\",\"chunk\":\"A short ocelot note.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/short\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"search_degraded\":\"keyword_only_no_embedding_provider\"},\"meta\":[]}",
+ "recall-budget": "{\"result\":{\"facts\":[],\"total\":0,\"protocol_version\":1,\"results\":[{\"slug\":\"chat/session-a\",\"title\":\"chat/session-a\",\"chunk\":\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"chat/session-a\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-handbook\",\"title\":\"notes/ocelot-handbook\",\"chunk\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-handbook\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-private\",\"title\":\"notes/ocelot-private\",\"chunk\":\"Private ocelot memo body.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-private\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/short\",\"title\":\"notes/short\",\"chunk\":\"A short ocelot note.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/short\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"search_degraded\":\"keyword_only_no_embedding_provider\",\"budget_tokens\":1500,\"budget_used\":1188,\"dropped_count\":0,\"budget_packing\":{\"policy\":\"query_first\",\"applied\":true,\"reason\":\"packed\",\"facts\":{\"candidates\":0,\"kept\":0,\"dropped\":0,\"used\":0},\"results\":{\"candidates\":4,\"kept\":4,\"dropped\":0,\"used\":1188}}},\"meta\":[]}",
"search:chunk": "{\"result\":[{\"slug\":\"chat/session-a\",\"page_id\":1,\"title\":\"chat/session-a\",\"type\":\"note\",\"chunk_text\":\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":1,\"chunk_index\":0,\"score\":0.36266231536865234,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"id\":\"gbrain-page:v1:WyJkZWZhdWx0IiwiY2hhdC9zZXNzaW9uLWEiXQ\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-handbook\",\"page_id\":2,\"title\":\"notes/ocelot-handbook\",\"type\":\"note\",\"chunk_text\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":4,\"chunk_index\":0,\"score\":0.3039635419845581,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LWhhbmRib29rIl0\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-private\",\"page_id\":3,\"title\":\"notes/ocelot-private\",\"type\":\"note\",\"chunk_text\":\"Private ocelot memo body.\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":6,\"chunk_index\":0,\"score\":0.2431708425283432,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LXByaXZhdGUiXQ\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/short\",\"page_id\":4,\"title\":\"notes/short\",\"type\":\"note\",\"chunk_text\":\"A short ocelot note.\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":7,\"chunk_index\":0,\"score\":0.2431708425283432,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvc2hvcnQiXQ\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"meta\":[{\"key\":\"retrieval\",\"value\":{\"returned_count\":4,\"retrieved_count\":4,\"projection_readiness\":{\"status\":\"ready\",\"ready\":true}}}]}",
"search-remote:chunk": "{\"result\":[{\"slug\":\"notes/ocelot-handbook\",\"title\":\"notes/ocelot-handbook\",\"type\":\"note\",\"chunk_text\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"chunk_id\":4,\"score\":0.8520091772079468,\"source_id\":\"default\",\"effective_date\":null,\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LWhhbmRib29rIl0\",\"evidence\":\"keyword_exact\",\"create_safety\":\"probable\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"meta\":[{\"key\":\"retrieval\",\"value\":{\"returned_count\":1,\"retrieved_count\":1,\"projection_readiness\":{\"status\":\"ready\",\"ready\":true},\"rows\":\"lean\"}}]}",
"search-subagent:chunk": "{\"result\":[{\"slug\":\"chat/session-a\",\"page_id\":1,\"title\":\"chat/session-a\",\"type\":\"note\",\"chunk_text\":\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners an… [truncated 2337 chars — get_page chat/session-a for full text]\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":1,\"chunk_index\":0,\"score\":0.36266231536865234,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"id\":\"gbrain-page:v1:WyJkZWZhdWx0IiwiY2hhdC9zZXNzaW9uLWEiXQ\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-handbook\",\"page_id\":2,\"title\":\"notes/ocelot-handbook\",\"type\":\"note\",\"chunk_text\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for t… [truncated 1692 chars — get_page notes/ocelot-handbook for full text]\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":4,\"chunk_index\":0,\"score\":0.3039635419845581,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LWhhbmRib29rIl0\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-private\",\"page_id\":3,\"title\":\"notes/ocelot-private\",\"type\":\"note\",\"chunk_text\":\"Private ocelot memo body.\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":6,\"chunk_index\":0,\"score\":0.2431708425283432,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LXByaXZhdGUiXQ\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/short\",\"page_id\":4,\"title\":\"notes/short\",\"type\":\"note\",\"chunk_text\":\"A short ocelot note.\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":7,\"chunk_index\":0,\"score\":0.2431708425283432,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvc2hvcnQiXQ\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"meta\":[{\"key\":\"retrieval\",\"value\":{\"returned_count\":4,\"retrieved_count\":4,\"projection_readiness\":{\"status\":\"ready\",\"ready\":true}}}]}",
"query:chunk": "{\"result\":[{\"slug\":\"notes/ocelot-handbook\",\"page_id\":2,\"title\":\"notes/ocelot-handbook\",\"type\":\"note\",\"chunk_text\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":4,\"chunk_index\":0,\"score\":1,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"base_score\":1,\"evidence\":\"keyword_exact\",\"create_safety\":\"probable\",\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LWhhbmRib29rIl0\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"meta\":[{\"key\":\"retrieval\",\"value\":{\"returned_count\":1,\"retrieved_count\":1,\"vector_enabled\":false,\"expansion_applied\":false,\"cache\":\"disabled\",\"token_budget\":{\"budget\":12000,\"used\":504,\"dropped\":0,\"kept\":1},\"degraded\":[{\"stage\":\"embed_unavailable\",\"reason\":\"no_provider\"}],\"projection_readiness\":{\"status\":\"ready\",\"ready\":true},\"crag\":{\"confidence\":\"moderate\",\"reason\":\"keyword_exact_top\",\"query_shape\":\"factual\"}}}]}",
"query-budget:chunk": "{\"result\":[{\"slug\":\"notes/ocelot-handbook\",\"page_id\":2,\"title\":\"notes/ocelot-handbook\",\"type\":\"note\",\"chunk_text\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat h\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":4,\"chunk_index\":0,\"score\":1,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"base_score\":1,\"evidence\":\"keyword_exact\",\"create_safety\":\"probable\",\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LWhhbmRib29rIl0\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"meta\":[{\"key\":\"retrieval\",\"value\":{\"returned_count\":1,\"retrieved_count\":4,\"vector_enabled\":false,\"expansion_applied\":false,\"cache\":\"disabled\",\"token_budget\":{\"budget\":300,\"used\":300,\"dropped\":3,\"kept\":1,\"truncated\":true},\"degraded\":[{\"stage\":\"embed_unavailable\",\"reason\":\"no_provider\"},{\"stage\":\"budget_truncated\",\"reason\":\"first_result_truncated\"}],\"projection_readiness\":{\"status\":\"ready\",\"ready\":true},\"crag\":{\"confidence\":\"moderate\",\"reason\":\"keyword_exact_top\",\"query_shape\":\"factual\"}}}]}",
"query-low:chunk": "{\"result\":[{\"slug\":\"notes/ocelot-handbook\",\"page_id\":2,\"title\":\"notes/ocelot-handbook\",\"type\":\"note\",\"chunk_text\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"chunk_source\":\"compiled_truth\",\"chunk_id\":4,\"chunk_index\":0,\"score\":2,\"stale\":false,\"source_id\":\"default\",\"effective_date\":null,\"effective_date_source\":null,\"keyword_hit\":true,\"base_score\":2,\"evidence\":\"keyword_exact\",\"create_safety\":\"probable\",\"id\":\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LWhhbmRib29rIl0\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"meta\":[{\"key\":\"retrieval\",\"value\":{\"returned_count\":1,\"retrieved_count\":1,\"vector_enabled\":false,\"expansion_applied\":false,\"cache\":\"disabled\",\"token_budget\":{\"budget\":12000,\"used\":504,\"dropped\":0,\"kept\":1},\"degraded\":[{\"stage\":\"embed_unavailable\",\"reason\":\"no_provider\"}],\"projection_readiness\":{\"status\":\"ready\",\"ready\":true},\"crag\":{\"confidence\":\"moderate\",\"reason\":\"keyword_exact_top\",\"query_shape\":\"factual\"}}}]}",
- "recall:chunk": "{\"result\":{\"facts\":[],\"total\":0,\"protocol_version\":1,\"results\":[{\"slug\":\"chat/session-a\",\"title\":\"chat/session-a\",\"chunk\":\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"chat/session-a\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-handbook\",\"title\":\"notes/ocelot-handbook\",\"chunk\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-handbook\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-private\",\"title\":\"notes/ocelot-private\",\"chunk\":\"Private ocelot memo body.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-private\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/short\",\"title\":\"notes/short\",\"chunk\":\"A short ocelot note.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/short\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"search_degraded\":\"keyword_only_no_embedding_provider\"},\"meta\":[]}",
- "recall-budget:chunk": "{\"result\":{\"facts\":[],\"total\":0,\"protocol_version\":1,\"results\":[{\"slug\":\"chat/session-a\",\"title\":\"chat/session-a\",\"chunk\":\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"chat/session-a\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-handbook\",\"title\":\"notes/ocelot-handbook\",\"chunk\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-handbook\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-private\",\"title\":\"notes/ocelot-private\",\"chunk\":\"Private ocelot memo body.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-private\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/short\",\"title\":\"notes/short\",\"chunk\":\"A short ocelot note.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/short\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"search_degraded\":\"keyword_only_no_embedding_provider\",\"budget_tokens\":1500,\"budget_used\":1188,\"dropped_count\":0,\"budget_packing\":{\"policy\":\"query_first\",\"applied\":true,\"reason\":\"packed\",\"facts\":{\"candidates\":0,\"kept\":0,\"dropped\":0,\"used\":0},\"results\":{\"candidates\":4,\"kept\":4,\"dropped\":0,\"used\":1188}}},\"meta\":[]}",
+ "recall:chunk": "{\"result\":{\"facts\":[],\"total\":0,\"protocol_version\":1,\"results\":[{\"slug\":\"chat/session-a\",\"title\":\"chat/session-a\",\"chunk\":\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"chat/session-a\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-handbook\",\"title\":\"notes/ocelot-handbook\",\"chunk\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-handbook\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-private\",\"title\":\"notes/ocelot-private\",\"chunk\":\"Private ocelot memo body.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-private\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/short\",\"title\":\"notes/short\",\"chunk\":\"A short ocelot note.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/short\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"search_degraded\":\"keyword_only_no_embedding_provider\"},\"meta\":[]}",
+ "recall-budget:chunk": "{\"result\":{\"facts\":[],\"total\":0,\"protocol_version\":1,\"results\":[{\"slug\":\"chat/session-a\",\"title\":\"chat/session-a\",\"chunk\":\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\n\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\n\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"chat/session-a\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-handbook\",\"title\":\"notes/ocelot-handbook\",\"chunk\":\"## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-handbook\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/ocelot-private\",\"title\":\"notes/ocelot-private\",\"chunk\":\"Private ocelot memo body.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/ocelot-private\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"},{\"slug\":\"notes/short\",\"title\":\"notes/short\",\"chunk\":\"A short ocelot note.\",\"evidence\":\"weak_semantic\",\"create_safety\":\"unknown\",\"provenance\":\"notes/short\",\"source_id\":\"default\",\"trust_tier\":\"unknown\",\"origin\":\"legacy\"}],\"search_degraded\":\"keyword_only_no_embedding_provider\",\"budget_tokens\":1500,\"budget_used\":1188,\"dropped_count\":0,\"budget_packing\":{\"policy\":\"query_first\",\"applied\":true,\"reason\":\"packed\",\"facts\":{\"candidates\":0,\"kept\":0,\"dropped\":0,\"used\":0},\"results\":{\"candidates\":4,\"kept\":4,\"dropped\":0,\"used\":1188}}},\"meta\":[]}",
"mcp-search": "{\"content\":[{\"type\":\"text\",\"text\":\"[{\\\"slug\\\":\\\"chat/session-a\\\",\\\"title\\\":\\\"chat/session-a\\\",\\\"type\\\":\\\"note\\\",\\\"chunk_text\\\":\\\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\\\",\\\"chunk_id\\\":1,\\\"score\\\":0.36266231536865234,\\\"source_id\\\":\\\"default\\\",\\\"effective_date\\\":null,\\\"id\\\":\\\"gbrain-page:v1:WyJkZWZhdWx0IiwiY2hhdC9zZXNzaW9uLWEiXQ\\\",\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"},{\\\"slug\\\":\\\"notes/ocelot-handbook\\\",\\\"title\\\":\\\"notes/ocelot-handbook\\\",\\\"type\\\":\\\"note\\\",\\\"chunk_text\\\":\\\"## Overview\\\\n\\\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\\\n\\\\n## Pricing\\\\n\\\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\\\",\\\"chunk_id\\\":4,\\\"score\\\":0.3039635419845581,\\\"source_id\\\":\\\"default\\\",\\\"effective_date\\\":null,\\\"id\\\":\\\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LWhhbmRib29rIl0\\\",\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"},{\\\"slug\\\":\\\"notes/short\\\",\\\"title\\\":\\\"notes/short\\\",\\\"type\\\":\\\"note\\\",\\\"chunk_text\\\":\\\"A short ocelot note.\\\",\\\"chunk_id\\\":7,\\\"score\\\":0.2431708425283432,\\\"source_id\\\":\\\"default\\\",\\\"effective_date\\\":null,\\\"id\\\":\\\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvc2hvcnQiXQ\\\",\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"}]\"}],\"_meta\":{\"retrieval\":{\"returned_count\":3,\"retrieved_count\":3,\"projection_readiness\":{\"status\":\"ready\",\"ready\":true},\"rows\":\"lean\"}}}",
"mcp-query": "{\"content\":[{\"type\":\"text\",\"text\":\"[{\\\"slug\\\":\\\"chat/session-a\\\",\\\"title\\\":\\\"chat/session-a\\\",\\\"type\\\":\\\"note\\\",\\\"chunk_text\\\":\\\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\\\",\\\"chunk_id\\\":1,\\\"score\\\":0.36266231536865234,\\\"source_id\\\":\\\"default\\\",\\\"effective_date\\\":null,\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"id\\\":\\\"gbrain-page:v1:WyJkZWZhdWx0IiwiY2hhdC9zZXNzaW9uLWEiXQ\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"},{\\\"slug\\\":\\\"notes/ocelot-handbook\\\",\\\"title\\\":\\\"notes/ocelot-handbook\\\",\\\"type\\\":\\\"note\\\",\\\"chunk_text\\\":\\\"## Overview\\\\n\\\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\\\n\\\\n## Pricing\\\\n\\\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\\\",\\\"chunk_id\\\":4,\\\"score\\\":0.3039635419845581,\\\"source_id\\\":\\\"default\\\",\\\"effective_date\\\":null,\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"id\\\":\\\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvb2NlbG90LWhhbmRib29rIl0\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"},{\\\"slug\\\":\\\"notes/short\\\",\\\"title\\\":\\\"notes/short\\\",\\\"type\\\":\\\"note\\\",\\\"chunk_text\\\":\\\"A short ocelot note.\\\",\\\"chunk_id\\\":7,\\\"score\\\":0.2431708425283432,\\\"source_id\\\":\\\"default\\\",\\\"effective_date\\\":null,\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"id\\\":\\\"gbrain-page:v1:WyJkZWZhdWx0Iiwibm90ZXMvc2hvcnQiXQ\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"}]\"}],\"_meta\":{\"retrieval\":{\"returned_count\":3,\"retrieved_count\":3,\"vector_enabled\":false,\"expansion_applied\":false,\"cache\":\"disabled\",\"token_budget\":{\"budget\":12000,\"used\":1176,\"dropped\":0,\"kept\":3},\"degraded\":[{\"stage\":\"embed_unavailable\",\"reason\":\"no_provider\"}],\"projection_readiness\":{\"status\":\"ready\",\"ready\":true},\"crag\":{\"confidence\":\"weak\",\"reason\":\"weak_semantic_top\",\"query_shape\":\"factual\",\"escalate_to_think\":true},\"rows\":\"lean\"}}}",
- "mcp-recall": "{\"content\":[{\"type\":\"text\",\"text\":\"{\\\"facts\\\":[],\\\"total\\\":0,\\\"protocol_version\\\":1,\\\"results\\\":[{\\\"slug\\\":\\\"chat/session-a\\\",\\\"title\\\":\\\"chat/session-a\\\",\\\"chunk\\\":\\\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\\\",\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"provenance\\\":\\\"chat/session-a\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"},{\\\"slug\\\":\\\"notes/ocelot-handbook\\\",\\\"title\\\":\\\"notes/ocelot-handbook\\\",\\\"chunk\\\":\\\"## Overview\\\\n\\\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\\\n\\\\n## Pricing\\\\n\\\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\\\",\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"provenance\\\":\\\"notes/ocelot-handbook\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"},{\\\"slug\\\":\\\"notes/short\\\",\\\"title\\\":\\\"notes/short\\\",\\\"chunk\\\":\\\"A short ocelot note.\\\",\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"provenance\\\":\\\"notes/short\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"}],\\\"search_degraded\\\":\\\"keyword_only_no_embedding_provider\\\"}\"}]}",
+ "mcp-recall": "{\"content\":[{\"type\":\"text\",\"text\":\"{\\\"facts\\\":[],\\\"total\\\":0,\\\"protocol_version\\\":1,\\\"results\\\":[{\\\"slug\\\":\\\"chat/session-a\\\",\\\"title\\\":\\\"chat/session-a\\\",\\\"chunk\\\":\\\"**user:** turn 0 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 0 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 1 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 1 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 2 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 2 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 3 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 3 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 4 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 4 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines \\\\n\\\\n**user:** turn 5 about the ocelot renewal and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap and the roadmap \\\\n\\\\n**assistant:** answer 5 owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines owners and timelines\\\",\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"provenance\\\":\\\"chat/session-a\\\",\\\"source_id\\\":\\\"default\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"},{\\\"slug\\\":\\\"notes/ocelot-handbook\\\",\\\"title\\\":\\\"notes/ocelot-handbook\\\",\\\"chunk\\\":\\\"## Overview\\\\n\\\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\\\n\\\\n## Pricing\\\\n\\\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\\\",\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"provenance\\\":\\\"notes/ocelot-handbook\\\",\\\"source_id\\\":\\\"default\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"},{\\\"slug\\\":\\\"notes/short\\\",\\\"title\\\":\\\"notes/short\\\",\\\"chunk\\\":\\\"A short ocelot note.\\\",\\\"evidence\\\":\\\"weak_semantic\\\",\\\"create_safety\\\":\\\"unknown\\\",\\\"provenance\\\":\\\"notes/short\\\",\\\"source_id\\\":\\\"default\\\",\\\"trust_tier\\\":\\\"unknown\\\",\\\"origin\\\":\\\"legacy\\\"}],\\\"search_degraded\\\":\\\"keyword_only_no_embedding_provider\\\"}\"}]}",
"think-prompt": "[{\"role\":\"user\",\"content\":\"Current date: 2026-01-15 (UTC)\\nQuestion: ocelot pricing\\n\\n<pages>\\n<page slug=\\\"notes/ocelot-handbook\\\" rank=\\\"1\\\" trust=\\\"unknown\\\" origin=\\\"legacy\\\">\\n## Overview\\n\\nThe ocelot program. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. Background prose for the handbook. \\n\\n## Pricing\\n\\nOcelot pricing is tiered. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here. Pricing details repeat here.\\n</page>\\n</pages>\\n\\n<takes>\\n(no take hits)\\n</takes>\\n\\nRespond with a single JSON object matching the schema. No prose outside JSON.\"}]"
}
diff --git a/test/recall-federated-search-scope.test.ts b/test/recall-federated-search-scope.test.ts
index bfcb654d03..86c3faad33 100644
--- a/test/recall-federated-search-scope.test.ts
+++ b/test/recall-federated-search-scope.test.ts
@@ -134,6 +134,23 @@ describe("recall's page-search arm honors the federated set (#3242 parity)", ()
});
});
+describe('#4830: every recall hit names its source', () => {
+ test('a federated read labels each hit with the source it came from, never a blind default', async () => {
+ const res = await recall().handler(remoteNoGrant(), { query: 'zebra telescope' }) as any;
+ const bySlug = Object.fromEntries(res.results.map((r: any) => [r.slug, r.source_id]));
+ expect(bySlug['notes/home']).toBe('default');
+ expect(bySlug['wiki/topic']).toBe('wiki');
+ for (const r of res.results) expect(typeof r.source_id).toBe('string');
+ });
+
+ test('a scalar read labels its hits with the one source in scope', async () => {
+ const res = await recall().handler(ctxOf({ remote: true, sourceId: 'default' }), { query: 'zebra telescope' }) as any;
+ expect(res.results.map((r: any) => r.source_id)).toEqual(['default']);
+ const wiki = await recall().handler(ctxOf({ remote: false, sourceId: 'wiki' }), { query: 'zebra telescope', source_id: 'wiki' }) as any;
+ expect(wiki.results.map((r: any) => [r.slug, r.source_id])).toEqual([['wiki/topic', 'wiki']]);
+ });
+});
+
describe("recall's fact arms honor the federated set too", () => {
const factTexts = (res: any): string[] => (res?.facts ?? []).map((f: any) => f.fact);
beforeAll(async () => {