ckb/tests/expected/retrieve.json
Michał Kopeć 51aaeadcdb Phase 1: honest failure, folded names, safer exports
- OKF export: a bare [[X]] becomes a bundle-root link when it resolves
  (path, file name or title; `&`, spaces and brackets percent-encoded)
  instead of degrading to plain text.
- N2 "degraded, not empty": retrieve reports DEGRADED for unread pages,
  graph or exact search ("no candidates among what could be read");
  lint reports Crux quotes and secret scans it could not do, and no
  longer skips an unreadable file as binary in the secrets scan.
  AGENTS.md rule; test_silent_reads guards new swallowed reads
  (`# ok-silent: <reason>` for the deliberate ones).
- N17: case- and accent-insensitive fold in retrieve's tldr and scope
  matching; lint check 20 flags page names that collide after folding.
- N7: one publish filter in both exporters drops HTML comments outside
  code (unclosed to the end of the page), `--drop-section NAME` leaves out
  sections, and a page whose frontmatter never closes is refused (exit 1).
- Test that an interrupted routine stays due until --mark.
- Docs: lint, retrieve and exporter skills, both manuals; goldens updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 23:52:39 +01:00

297 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
}
],
"degraded": []
}