ckb/.agents/skills/ckb-ingest/references/edge-cases.md
Michał Kopeć 7863115b74 Template 1.10.0: slim skills, review fixes, docs/, tests, retrieval script
- Skills: descriptions cut to routing-hint length (1925w -> 840w), Trigger
  phrases removed, Purpose collapsed, Edge cases moved to references/.
- Rule B names the decisions-log exception; "Sync the wiki" trigger dropped;
  reserved sections "Four" -> "Three"; directory contract adds ckb.yaml,
  docs/, tests/.
- MANUAL/CHANGELOG/OPENSPEC (EN+PL) moved to docs/; template ADRs D-0001 and
  D-0002 restored from 0c06cb6 into docs/decisions/; referrers repointed.
- ckb-retrieve: rank fusion moved into scripts/retrieve_candidates.py;
  Purpose states the one write it owns (query-gaps).
- tests/: fixture KB, golden JSON, smoke.sh.
- Scaffold: overview.md describes content not schema; graph/index.md names
  base skills only; query-gaps.md loses its self-rotting freshness window.
- README/MANUAL/OPENSPEC/CHANGELOG ghost-writer pass in both languages.
- VERSION 1.9.0 -> 1.10.0.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-24 20:45:09 +02:00

1.3 KiB

ckb-ingest — edge cases

Reference material for the ckb-ingest skill. Read when a run hits an unusual situation the main steps don't cover.

  • Inbox and raw/ both empty — report that there's nothing to ingest. Don't touch wiki/, and skip the Step 8 reminder.
  • Item in inbox doesn't yield a clear entity or page (too vague, pure scratch note with no durable fact) — don't force a page into existence. Still move the item to raw/archive/<YYYY-MM-DD>/ since it's been considered, but note in the ingest report that it produced no wiki change.
  • Conflicting information vs. an existing local wiki page — this is a supersession case handled consistently with ckb-lint, not a silent overwrite: update the existing page if the new source is clearly more current/corroborated, and link supersedes/superseded_by if an older version is worth preserving rather than edited in place.
  • Material duplicates an upstream (linked//libs/) page with nothing new to add — don't create a redundant local page just to have one; the cascade already surfaces the upstream page. Only write locally when overriding, correcting, or adding to what upstream says.

Licensed under the Apache License, Version 2.0 — see LICENSE at the repository root, or http://www.apache.org/licenses/LICENSE-2.0.