Four deterministic-script defects plus a contract gap, all reported by a downstream KB running 1.11.0. None of them crashed; each produced confident, wrong output, which is why they went unnoticed. retrieve_candidates.py: - load_pages() walked rglob unsorted, so tests/expected/retrieve.json encoded one machine's directory order and the smoke test failed on a clean clone. - cited_by used setdefault, crediting a shared source to whichever page was walked first and dropping the source from the results entirely, so the other citing pages reported corroborated_by: []. Now every citing page is credited. lint_report.py: - check 12 reported a cited directory as "does not exist", because is_file() is false for a directory. Citing a subtree is now explicitly legal and carries no fingerprint; same fix in lint_quick.sh and lint_quick.ps1. - check 8 keyed log entries on timestamp + file with the action type dropped, so a Rule B POINTER was indistinguishable from a duplicate of the entry it points at. POINTER is now exempt; genuine duplicates still fire. - check 13 required a backticked path, so "— Chat conversation, Name, date" counted as unattributed although AGENTS.md lists it as a first-class source. Attribution and verifiability are now separate questions. AGENTS.md documents both resolved contract gaps: directory citations, and the two legal attribution shapes. The fixture KB gained coverage for all three lint defects — each finding fires under the old script and is silent under the new. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
237 lines
5.7 KiB
JSON
237 lines
5.7 KiB
JSON
{
|
|
"query": "how many times does Atlas retry a failed batch",
|
|
"k": 10,
|
|
"literal_tokens": [],
|
|
"scope_page": "wiki/projects/atlas.md",
|
|
"inbox_hits": [],
|
|
"empty_graph": false,
|
|
"candidates": [
|
|
{
|
|
"path": "wiki/entities/atlas-retry-policy.md",
|
|
"score": 0.3432,
|
|
"ranks": {
|
|
"exact": 1,
|
|
"tldr": 1,
|
|
"scope": 1,
|
|
"indegree": 1,
|
|
"trust": 2
|
|
},
|
|
"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,
|
|
"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
|
|
},
|
|
{
|
|
"path": "wiki/entities/maria-nowak.md",
|
|
"score": 0.2838,
|
|
"ranks": {
|
|
"exact": 7,
|
|
"tldr": 3,
|
|
"scope": 2,
|
|
"indegree": 2,
|
|
"trust": 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,
|
|
"sources": [
|
|
"raw/archive/2026-09-01/kickoff-notes.md"
|
|
],
|
|
"corroborated_by": [
|
|
"raw/archive/2026-09-01/kickoff-notes.md"
|
|
],
|
|
"from_inbox": false
|
|
},
|
|
{
|
|
"path": "wiki/decisions/0001-three-retries-then-dlq.md",
|
|
"score": 0.1939,
|
|
"ranks": {
|
|
"exact": 2,
|
|
"tldr": 2,
|
|
"trust": 1
|
|
},
|
|
"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,
|
|
"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
|
|
},
|
|
{
|
|
"path": "wiki/projects/atlas.md",
|
|
"score": 0.147,
|
|
"ranks": {
|
|
"exact": 8,
|
|
"tldr": 4,
|
|
"trust": 5
|
|
},
|
|
"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,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false
|
|
},
|
|
{
|
|
"path": "wiki/overview.md",
|
|
"score": 0.1381,
|
|
"ranks": {
|
|
"exact": 10,
|
|
"tldr": 5,
|
|
"trust": 4
|
|
},
|
|
"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,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false
|
|
},
|
|
{
|
|
"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,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false
|
|
},
|
|
{
|
|
"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,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false
|
|
},
|
|
{
|
|
"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,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false
|
|
},
|
|
{
|
|
"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,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false
|
|
},
|
|
{
|
|
"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,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false
|
|
},
|
|
{
|
|
"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,
|
|
"sources": [],
|
|
"corroborated_by": [],
|
|
"from_inbox": false
|
|
}
|
|
]
|
|
}
|