Kinic Wiki Lint Workflow
Goal
Inspect local or remote wiki health without silently fixing it.
Report concrete findings with paths, evidence, severity, and suggested next actions.
CLI Reference
- Use
kinic-vfs-cli for remote VFS inspection.
- Run
kinic-vfs-cli --help for the command list.
- Run
kinic-vfs-cli <command> --help before using an unfamiliar inspection command.
- Use
docs/CLI.md as the full CLI usage reference when working inside this repo.
Workflow
- Confirm target database and access with
status --json when inspecting remote state.
- Keep local Markdown checks separate from remote canister checks.
- Use
list-nodes for structure, prefix, and etag inventory.
- Use
read-node-context only when catalog, navigation, or link-aware context matters.
- Use
search-remote, search-path-remote, and link commands to confirm or expand findings.
- Prefer
query-context --namespace /Knowledge --json for task-scoped remote context.
- Use
query-sql for 2 or more known-path content reads during canonicality checks.
- Use
read-node --json for one final offending-line confirmation.
- Use snapshot/export commands only when a whole scope must be inspected or a trusted snapshot revision is already available. Check the command help before use.
Findings
- Report exact paths and the command category used to verify the issue.
- Treat exact-value drift in
facts.md as a real canonicality issue.
- Flag exact evidence leaking into summaries as a canonicality finding, not a style note.
- Prefer concrete missing-link, stale-index, duplicate-page, isolated-page, and note-role boundary findings.
- Do not produce vague style commentary without a path-specific impact.
Safety
- Do not mutate remote wiki nodes in this skill.
- Do not use
delete-node, delete-tree, write, append, edit, rebuild, or proposal/status mutation commands.
- If a repair is needed, hand off to
kinic-wiki-edit or kinic-wiki-ingest.
- For OKF bundle validation, use
kinic-context-pack.
Catalog health and coverage
Read-only lint is also the inspection phase of kinic-wiki-maintain. Only that separately authorized repair run may hand off to edit; lint never writes or rebuilds.
Compare actual Knowledge inventory with agent catalogs (index.md) and reader descriptions (overview.md). Report empty root templates despite existing knowledge, broken catalog links, missing navigation to important articles/child scopes, misleading summaries, duplicate/isolated notes, and note-role violations. Omission from a curated catalog is not by itself a defect. Scoped catalogs are useful where navigation warrants them; do not require boilerplate indexes in empty folders. A legacy index mixing prose and navigation may need a preserved merge into overview, not deletion.
Report each finding with stable ID, paths, impact, inspected evidence, and a focused repair. Never describe a stale catalog as proof that articles are absent. Prefer a focused index edit; broad rebuilds can destroy curation.
For complete-coverage claims, reconcile bounded listing results against actual inventory. Results at the limit require subtree decomposition or ordered SQL batches with exact prefix boundaries; otherwise report partial coverage and uninspected ranges. Listing completeness does not prove article-body checks are complete. Incomplete inspection, permission errors, and unresolved ambiguity must remain visible in the result. Check modified content and affected inventory again before closing a repair finding.
When inspecting a narrower Wiki scope, pass its prefix as --namespace (or API namespace). The public API defaults to /Memory; never interpret that default as a complete Knowledge inspection.