You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Content-level wiki maintenance: staleness detection, quality scoring, factual verification, semantic coherence, deduplication. Produces scored reports — never modifies content without confirmation. Archived topics are skipped by default.
739
+
Content-level wiki maintenance: staleness detection, quality scoring, factual
740
+
verification, semantic coherence, deduplication, and proposal-only topic schema
741
+
advice. Produces scored reports — never modifies content without confirmation.
742
+
Archived topics are skipped by default.
739
743
740
744
**Subcommands**:
741
-
-**scan**: Score all wiki articles for staleness and quality. Two-tier: quick metadata scan first, deep content read only for articles below threshold or with `volatility: hot`. Checkpoints after each article for crash recovery. Results to `.librarian/scan-results.json` and `.librarian/REPORT.md`.
745
+
-**scan**: Score all wiki articles for staleness and quality. Two-tier: quick metadata scan first, deep content read only for articles below threshold or with `volatility: hot`. Checkpoints after each article for crash recovery. Results to `.librarian/scan-results.json` and `.librarian/REPORT.md`. Optional `--passes schema` may write `output/schema-proposal-<topic>-YYYY-MM-DD.md`; it must not create/update `schema.md` without explicit acceptance.
742
746
-**report**: Display the latest scan report.
743
747
-**fix <id>**: Apply a proposed fix from the report (Phase 3 — not yet implemented).
744
748
745
749
**Staleness scoring** (0-100): four dimensions at 25 points each — source freshness, verification recency, compilation recency, source chain integrity. Decay curves scaled by article `volatility` tier (hot/warm/cold).
746
750
747
751
**Quality scoring** (0-100): four dimensions at 25 points each — source diversity, content depth, cross-reference density, summary quality. Articles scoring below 40 on either dimension are flagged.
@@ -71,6 +72,7 @@ Requires `ANTHROPIC_API_KEY`. Costs ~$2-5 per run.
71
72
-**Added a new lint rule**: add a defect fixture in `generate-defect-fixtures.sh` and a negative test case in `test-structure.sh`.
72
73
-**Changed frontmatter schema** (new required field, renamed enum): update the golden wiki fixture files to match, update `test-structure.sh` field/enum lists, regenerate defect fixtures.
73
74
-**Added a new command**: add a frontmatter check to `test-plugin-validate.sh` if it's not picked up by the wildcard. Add a behavioral eval in `promptfooconfig.yaml` for routing.
75
+
-**Changed user-facing command docs or versions**: update README command rows and all plugin/marketplace manifest versions together, then run `test-docs-consistency.sh`.
74
76
-**Changed the fuzzy router**: add or update test cases in `promptfooconfig.yaml` covering the new routing behavior plus negative controls.
75
77
-**Added a new reference file**: `test-plugin-validate.sh` has three `for ref in ...` loops (Claude-side existence, Codex-side copied-reference validation, OpenCode-side symlink reachability) — add the new filename to all three.
76
78
-**Changed directory structure** (new `raw/` or `wiki/` subdirectory): update `test-structure.sh` C1 directory list and C11 placement checks. Update the golden wiki fixture if needed.
Copy file name to clipboardExpand all lines: claude-plugin/commands/wiki.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,6 +206,14 @@ Show wiki status. Before reading any `_index.md`, stale-check it: count `.md` fi
206
206
- Read `config.md` for title and description
207
207
- Count actual files for accuracy
208
208
- Show: title, location, source/article/inventory/dataset/output counts, inbox pending, last compiled/lint dates, last 5 recent changes
209
+
- If the topic is active, has roughly 10+ compiled articles, has no root
210
+
`schema.md`, has no recent `output/schema-proposal-*.md`, and has no
211
+
recent `.librarian/REPORT.md` already covering schema advice, show one
212
+
optional next-run migration nudge:
213
+
`Optional upgrade: this wiki is large enough to benefit from a librarian schema pass. It will only write a report/proposal, not change articles. Run: /wiki:librarian scan --passes staleness,quality,schema`
214
+
- Do not block normal status/query/compile/ingest on this nudge. Do not
215
+
auto-create `schema.md`, proposal outputs, or dismissal files from status.
216
+
Suppress the nudge when a schema or recent schema proposal already exists.
Copy file name to clipboardExpand all lines: claude-plugin/skills/wiki-manager/SKILL.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,16 @@ Flow: Read `_index.md` → identify relevant articles by summary/tag → read ar
179
179
See [references/linting.md](references/linting.md).
180
180
Flow: Check structure → indexes → links → content → coverage → report → optionally auto-fix. Default lint keeps active material healthy and reports archived topics as skipped. Use `--include-archived` or `--archived-only` for explicit archived structural maintenance.
181
181
182
+
### Librarian
183
+
See [references/librarian.md](references/librarian.md).
184
+
Flow: Scan the active topic's compiled `wiki/` layer → score staleness, quality,
185
+
source-chain integrity, and link health → write `.librarian/scan-results.json`
186
+
and `.librarian/REPORT.md` → recommend ranked next actions. Optional
187
+
`--passes schema` may write a proposal output for a topic-local `schema.md`,
188
+
but it must not create or modify `schema.md` without explicit user acceptance.
189
+
Librarian is the article-health advisor; it does not replace lint's structural
190
+
checks or audit's broader trust review.
191
+
182
192
### Audit
183
193
See [references/audit.md](references/audit.md).
184
194
Flow: Run or reuse the librarian pass → inspect artifact dependency chains across `output/`, `wiki/`, and `raw/` → escalate with fresh source checks and targeted research until trust verdicts converge → write `.audit/REPORT.md`.
0 commit comments