kb-wiki-updatelisted
Install: claude install-skill draakaap/lorewerk
# KB Wiki — Update an existing page
## Before editing
1. Read the target page (required — Edit tool needs prior Read)
2. Read `wiki/brain.md` if not already loaded this session
3. Search existing pages for conflicting claims — follow contradiction protocol if found
## Apply the edit
Use `Edit` (not `Write`) on existing pages. Frontmatter-bump rules:
```yaml
updated: YYYY-MM-DD # today — ALWAYS, on every edit
last_verified: YYYY-MM-DD # today — ONLY if (a) this edit cross-checked
# the page's claims against current source/reality,
# OR (b) this is a human REVIEWED stamp (also bump
# provenance: llm-reviewed).
# If this is just a content edit / addition / phrasing
# change without re-verification → do NOT bump.
```
**Why (2026-05-24):** bumping both every time let LLM writes silently suppress pages from staleness reports. The staleness sweep is load-bearing on `last_verified` — keep it honest. `updated` = "this page was touched"; `last_verified` = "content confirmed accurate as of this date."
Never change `created`. Ensure all frontmatter fields are present (including `importance_score`).
### Enum validation at write-time
Reject out-of-enum values — do not preserve pre-upgrade leaks. Closed enums:
- `type` ∈ `concept | entity | synthesis | query-answer | reference`
- `confidence` ∈ `high | medium | low`
- `provena