- F10 bm25 section search: stdlib SQLite FTS5 over page sections, with title/heading path/tldr in a separate context column; cached in tmp/ckb-fts.sqlite, refreshed by mtime then sha256; section anchors per candidate. New benchmark tests/bench_retrieval.py over tests/fixtures/bench-kb (20 questions): hit@1 14/20, hit@3 20/20 with and without bm25; weight kept at 1.0 (D-0015) - F12 token estimate per candidate; layered reading in ckb-retrieve - F16 --opened access log in tmp/access.log; lint_report.py --cold proposes demotion to an index `## Archive` section, never moves - F17 ckb-retrieve offers a table/chart/deck/HTML once when it fits Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
296 lines
6.8 KiB
JSON
296 lines
6.8 KiB
JSON
{
|
|
"query": "how many times does Atlas retry a failed batch",
|
|
"k": 10,
|
|
"literal_tokens": [],
|
|
"scope_page": "wiki/projects/atlas.md",
|
|
"tags": [],
|
|
"inbox_hits": [],
|
|
"empty_graph": false,
|
|
"bm25": "ok",
|
|
"candidates": [
|
|
{
|
|
"path": "wiki/entities/atlas-retry-policy.md",
|
|
"score": 0.4341,
|
|
"ranks": {
|
|
"exact": 1,
|
|
"tldr": 1,
|
|
"scope": 1,
|
|
"indegree": 1,
|
|
"trust": 2,
|
|
"bm25": 1
|
|
},
|
|
"title": "Atlas retry policy",
|
|
"type": "concept",
|
|
"tldr": "Atlas retries a failed batch three times with exponential backoff, then parks it in the dead-letter queue.",
|
|
"last_updated": "2026-09-02",
|
|
"stale": false,
|
|
"confidence": "0.9",
|
|
"quality": "0.8",
|
|
"superseded_by": null,
|
|
"review": null,
|
|
"sources": [
|
|
"raw/archive/2026-09-01/kickoff-notes.md",
|
|
"raw/archive/2026-09-02/dlq-review.md"
|
|
],
|
|
"corroborated_by": [
|
|
"raw/archive/2026-09-01/kickoff-notes.md",
|
|
"raw/archive/2026-09-02/dlq-review.md"
|
|
],
|
|
"from_inbox": false,
|
|
"sections": [
|
|
{
|
|
"anchor": "crux",
|
|
"heading": "Crux"
|
|
}
|
|
],
|
|
"tokens": 262
|
|
},
|
|
{
|
|
"path": "wiki/entities/maria-nowak.md",
|
|
"score": 0.3607,
|
|
"ranks": {
|
|
"exact": 7,
|
|
"tldr": 3,
|
|
"scope": 2,
|
|
"indegree": 2,
|
|
"trust": 3,
|
|
"bm25": 3
|
|
},
|
|
"title": "Maria Nowak",
|
|
"type": "person",
|
|
"tldr": "Platform lead on the Atlas migration; explained the retry policy at kickoff.",
|
|
"last_updated": "2026-09-01",
|
|
"stale": false,
|
|
"confidence": "0.8",
|
|
"quality": "0.8",
|
|
"superseded_by": null,
|
|
"review": null,
|
|
"sources": [
|
|
"raw/archive/2026-09-01/kickoff-notes.md"
|
|
],
|
|
"corroborated_by": [
|
|
"raw/archive/2026-09-01/kickoff-notes.md"
|
|
],
|
|
"from_inbox": false,
|
|
"sections": [
|
|
{
|
|
"anchor": "crux",
|
|
"heading": "Crux"
|
|
}
|
|
],
|
|
"tokens": 156
|
|
},
|
|
{
|
|
"path": "wiki/decisions/0001-three-retries-then-dlq.md",
|
|
"score": 0.2773,
|
|
"ranks": {
|
|
"exact": 2,
|
|
"tldr": 2,
|
|
"trust": 1,
|
|
"bm25": 2
|
|
},
|
|
"title": "D-0001 — Three retries then dead-letter",
|
|
"type": "decision",
|
|
"tldr": "Failed Atlas batches retry three times with exponential backoff, then go to the dead-letter queue.",
|
|
"last_updated": "2026-09-01",
|
|
"stale": false,
|
|
"confidence": "0.9",
|
|
"quality": "0.8",
|
|
"superseded_by": null,
|
|
"review": null,
|
|
"sources": [
|
|
"raw/archive/2026-09-01/kickoff-notes.md",
|
|
"raw/archive/2026-09-02"
|
|
],
|
|
"corroborated_by": [
|
|
"raw/archive/2026-09-01/kickoff-notes.md"
|
|
],
|
|
"from_inbox": false,
|
|
"sections": [
|
|
{
|
|
"anchor": "decision",
|
|
"heading": "Decision"
|
|
},
|
|
{
|
|
"anchor": "crux",
|
|
"heading": "Crux"
|
|
}
|
|
],
|
|
"tokens": 193
|
|
},
|
|
{
|
|
"path": "wiki/projects/atlas.md",
|
|
"score": 0.2184,
|
|
"ranks": {
|
|
"exact": 8,
|
|
"tldr": 4,
|
|
"trust": 5,
|
|
"bm25": 4
|
|
},
|
|
"title": "Atlas",
|
|
"type": "project",
|
|
"tldr": "Query scope for the Atlas migration — retry policy, kickoff notes, platform team.",
|
|
"last_updated": "2026-09-01",
|
|
"stale": false,
|
|
"confidence": null,
|
|
"quality": null,
|
|
"superseded_by": null,
|
|
"review": null,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false,
|
|
"sections": [],
|
|
"tokens": 94
|
|
},
|
|
{
|
|
"path": "wiki/overview.md",
|
|
"score": 0.2048,
|
|
"ranks": {
|
|
"exact": 10,
|
|
"tldr": 5,
|
|
"trust": 4,
|
|
"bm25": 5
|
|
},
|
|
"title": "Overview",
|
|
"type": "overview",
|
|
"tldr": "Fixture KB covering the Atlas migration kickoff — one concept, one person, one decision.",
|
|
"last_updated": "2026-09-01",
|
|
"stale": false,
|
|
"confidence": null,
|
|
"quality": null,
|
|
"superseded_by": null,
|
|
"review": null,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false,
|
|
"sections": [],
|
|
"tokens": 64
|
|
},
|
|
{
|
|
"path": "wiki/entities/index.md",
|
|
"score": 0.0714,
|
|
"ranks": {
|
|
"exact": 4
|
|
},
|
|
"title": null,
|
|
"type": null,
|
|
"tldr": null,
|
|
"last_updated": null,
|
|
"stale": null,
|
|
"confidence": null,
|
|
"quality": null,
|
|
"superseded_by": null,
|
|
"review": null,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false,
|
|
"sections": [],
|
|
"tokens": 57
|
|
},
|
|
{
|
|
"path": "wiki/decisions/index.md",
|
|
"score": 0.0667,
|
|
"ranks": {
|
|
"exact": 5
|
|
},
|
|
"title": null,
|
|
"type": null,
|
|
"tldr": null,
|
|
"last_updated": null,
|
|
"stale": null,
|
|
"confidence": null,
|
|
"quality": null,
|
|
"superseded_by": null,
|
|
"review": null,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false,
|
|
"sections": [],
|
|
"tokens": 46
|
|
},
|
|
{
|
|
"path": "wiki/index.md",
|
|
"score": 0.0625,
|
|
"ranks": {
|
|
"exact": 6
|
|
},
|
|
"title": null,
|
|
"type": null,
|
|
"tldr": null,
|
|
"last_updated": null,
|
|
"stale": null,
|
|
"confidence": null,
|
|
"quality": null,
|
|
"superseded_by": null,
|
|
"review": null,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false,
|
|
"sections": [],
|
|
"tokens": 215
|
|
},
|
|
{
|
|
"path": "wiki/log.md",
|
|
"score": 0.0526,
|
|
"ranks": {
|
|
"exact": 9
|
|
},
|
|
"title": null,
|
|
"type": null,
|
|
"tldr": null,
|
|
"last_updated": null,
|
|
"stale": null,
|
|
"confidence": null,
|
|
"quality": null,
|
|
"superseded_by": null,
|
|
"review": null,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false,
|
|
"sections": [],
|
|
"tokens": 137
|
|
},
|
|
{
|
|
"path": "wiki/decisions/log.md",
|
|
"score": 0.0455,
|
|
"ranks": {
|
|
"exact": 12
|
|
},
|
|
"title": null,
|
|
"type": null,
|
|
"tldr": null,
|
|
"last_updated": null,
|
|
"stale": null,
|
|
"confidence": null,
|
|
"quality": null,
|
|
"superseded_by": null,
|
|
"review": null,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false,
|
|
"sections": [],
|
|
"tokens": 55
|
|
},
|
|
{
|
|
"path": "wiki/projects/index.md",
|
|
"score": 0.0435,
|
|
"ranks": {
|
|
"exact": 13
|
|
},
|
|
"title": null,
|
|
"type": null,
|
|
"tldr": null,
|
|
"last_updated": null,
|
|
"stale": null,
|
|
"confidence": null,
|
|
"quality": null,
|
|
"superseded_by": null,
|
|
"review": null,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false,
|
|
"sections": [],
|
|
"tokens": 15
|
|
}
|
|
]
|
|
}
|