ckb/tests/fixtures/minimal-kb/wiki/decisions/0001-three-retries-then-dlq.md
Michał Kopeć 7b812e545b Template 1.11.1: fix five defects reported downstream
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>
2026-10-09 21:47:53 +02:00

771 B

type tldr status decided_on decided_by affects confidence quality last_updated freshness_window_days retention
decision Failed Atlas batches retry three times with exponential backoff, then go to the dead-letter queue. accepted 2026-09-01 Maria Nowak /wiki/entities/atlas-retry-policy.md 0.9 0.8 2026-09-01 365 high

D-0001 — Three retries then dead-letter

Decision

Retry three times with exponential backoff, then park in the DLQ.

Sources

  • raw/archive/2026-09-01/kickoff-notes.md — sha256:a97984a4 (checked 2026-09-01)
  • raw/archive/2026-09-02 — a whole subtree: cited, but carries no single digest

Crux

three times, then the dead-letter queue. Not configurable per tenant. — Chat conversation, Maria Nowak, 2026-09-01