{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "alex09x-kyb--reconstruct-what-the-base-said-on-a-date",
 "repo": "alex09x/kyb",
 "repo_url": "https://github.com/alex09x/kyb",
 "repo_slug": "alex09x-kyb",
 "title": "Check what the knowledge said before a change",
 "page_title": "How to check what the knowledge said before a change with Kyb",
 "summary": "Query the base as it stood on a past date and diff an entry to see what moved.",
 "who": "An engineer debugging a regression who needs to know which infrastructure facts were true when the problem started.",
 "problem": "Current documentation hides what was true last week, so it is hard to tell whether a change in the base caused a failure.",
 "outcome": "A snapshot of the knowledge base at a chosen date and a diff of one entry between versions.",
 "steps": [
  "Query the snapshot with `kyb query \"nats streams\" --as-of 2026-08-01`.",
  "List what changed in a window with `kyb query \"\" --changed-between 2026-08-01,2026-08-07`.",
  "Diff one entry with `kyb diff nats-streams`.",
  "Export every key at one commit with `kyb export --out kyb.jsonl` if you need a full copy."
 ],
 "agent_prompt": "Use the KYB repo at alex09x/kyb. Run `kyb query \"<topic>\" --as-of <YYYY-MM-DD>` and report the entries that were current on that date. Expected output: a list of keys with the version that was active. Verify one result by running `kyb diff <key>` and confirming the change dates.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Advanced",
 "time": "1 hour 15 minutes",
 "basis": "readme",
 "caveat": "The README says the CLI refuses these time queries if the server is too old, so confirm the server version through /healthz before relying on the answer.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "A Rust toolchain with cargo, to run cargo install knowyourbusiness --locked",
  "A host or Docker setup where the kyb-server process can keep its data directory",
  "Network access from agent machines to the server port, default 127.0.0.1:9310",
  "Optional: a model directory with model.onnx and tokenizer.json for hybrid search; without it the server runs lexical-only"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/alex09x-kyb/reconstruct-what-the-base-said-on-a-date/",
 "md": "https://dedupedai.com/use-cases/alex09x-kyb/reconstruct-what-the-base-said-on-a-date/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/alex09x-kyb--reconstruct-what-the-base-said-on-a-date.json",
 "api_version": "v1"
}
