Notes need quality scores to scale curation
Type: types/note.md · Tags: kb-maintenance, observability, curation
Connection discovery searches for candidate notes by keyword or title scan, then asks an agent to judge which candidates warrant links. While a corpus is small enough for every candidate to fit in one scan, flat evaluation works. As the KB grows, keyword searches return dozens or hundreds of candidates, most not worth evaluating. Curation stops scaling when every candidate receives equal attention.
The operational fix is task-specific candidate ranking: assembling observable signals to filter and order candidates before spending agent judgment on them, while keeping an exploration slice so newly written or unlinked notes are not starved.
Candidate-ranking signals
No single global scalar supplies universal quality. Human attestation (user-verified: true) records explicit review of an artifact as written, not evidence strength, currency, or usefulness; it may filter presentation when a reader wants only attested artifacts, but should not dominate curation ranking. Candidate ordering must be assembled from use-shaped signals—or combined via partial-order rules (necessary preference) rather than an arbitrary global score:
- Type reflects structural maturity: a
structured-claimwith Evidence and Reasoning sections is a more developed premise target than untyped capturetext. - Inbound link count acts as a graph-topology citation signal, weighted by link strength: three inline
"since [X]"premise links carry more weight than ten footer links. - Review vetting reuses stored gate verdicts (freshness and pass/warn mix) as a zero-extra-authoring quality signal produced as a byproduct of review operation.
- Type-dependent recency accounts for different aging rates across artifact kinds:
| Content type | Time-based decay | Why |
|---|---|---|
| Source snapshots, practitioner reports | Fast | Practices and tools evolve rapidly |
| Theory claims, design principles | None (time-based) | Stable if premises hold—though still subject to model-upgrade obsolescence |
| Task-related, workshop artifacts | Fast | Operational, high churn |
| ADRs | None | Permanent historical record |
Where candidate ranking applies
- Connection-discovery filtering: retrieve N keyword or semantic candidates, rank to top M, and spend agent evaluation on M.
- Semantic-search reranking: rerank embedding or lexical retrieval hits so structurally mature, well-vetted notes surface ahead of raw captures.
- Budget-bounded title listings: a complete claim-title listing stays loadable whole only while the corpus fits in the context budget. Past that boundary, ranking truncates the listing to budget while reserving an exploration slice for low-degree and recent notes—otherwise filtering purely by inbound links starves the exact orphan notes connection discovery exists to integrate.
- Composite curation signals: Quality signals for KB evaluation catalogues the underlying graph-topology and content-proxy signals; candidate ranking is one downstream consumer of those signals.
Implementation spectrum
Implement only as much ranking machinery as corpus scale actually demands:
- Lightweight: rank candidates on the fly by document type and strong inbound links, leaving evidence and caveat inspection to the agent (no persisted score).
- Medium: compute ranking features mechanically from frontmatter, review results, and link graph into a derived index consulted during discovery.
- Full: maintain an indexed retrieval-ranking store combining structural signals, type-dependent decay, and exploration quotas.
Open questions
- Derived vs. persisted signals: checking retained results trades cost against reliance risk. Mechanical scores can be recomputed or checked on a schedule; authored judgments need review, not deterministic reconstruction.
- Cold-start bootstrapping: a fresh note has zero inbound links yet may be the exact target a new note needs. Reserving a fixed exploration slice for recent and low-degree notes mitigates rich-get-richer starvation, though the right balance remains empirical (see How do we value notes?).
- Goodharting composite scores: compressing non-commensurate dimensions into one scalar invites gaming; where dimensions conflict, partial-order preference rules may outperform a single number.
Relevant Notes:
- Link strength is encoded in position and prose — grounds: inline premise links carry more weight than footer links in inbound-link ranking
- Quality signals for KB evaluation — grounds: catalogues the graph-topology and content-proxy signals that candidate ranking consumes
- Necessary preference can guide improvement without a global measure — contrasts: formalizes multi-dimensional selection without collapsing dimensions into a single scalar
- How do we value notes? — extends: situates structural ranking proxies inside the broader open question of note valuation and cold-start admission
- What gaps remain in our learning loop? — extends: candidate ranking is one prerequisite for keeping automated curation tractable at scale
- Collections and types — see-also: type as a ranking signal relies on meaningful path-valued contracts
- Model upgrades obsolete notes by function rather than uniformly — contrasts: zero time-based decay on design principles does not rule out capability-driven obsolescence across model upgrades
- Discriminating examples may outlast principles across upgrades — contrasts: conjectures that preserved search work in discriminating examples can outlast standalone abstract principles across upgrades