Repository navigation
Backlog
Labels
docsDocumentation updates needed
Description
What changed in dewey
unbound-force/dewey#313 adds a third field to the distill: config section (see website#481 for the first two): min_theme_size, the fewest learnings a new theme needs before distill opens a rolling PR for it.
- Config:
distill: similarity_threshold: 0.5 tie_margin: 0.05 min_theme_size: 1 # default; a whole number from 1 to 10000; new themes below it are deferred
- Behavior: after grouping, a new theme (no existing compiled article) with fewer members than
min_theme_sizeis deferred. It opens no PR, and its learnings stay uncited, so a later run's scope includes them again. There they can join an article or reach the minimum together with newer learnings. Themes that add to an existing article are never deferred. The default of 1 defers nothing, which is the behavior before this change. - Why: on a vault's first distill, most new themes are singletons, so every learning becomes its own PR. Setting
min_theme_size: 3keeps the first run reviewable. - Precedence: the same as the other
distill:fields. Each field resolves on its own: the per-vault file, then the global file, then the default. A value that is not a whole number from 1 to 10000 warns and falls back to the default. group_learnersMCP tool:- The
groupingfield gainsmin_theme_sizeandmin_theme_size_source. - The deprecated
in_scoperesult gains adeferredlist. - The
run_idsummary gainsdeferred_themes,deferred_membersandmin_theme_size, wheregrouped + deferred_members == scope_size.
- The
rolling_prMCP tool:- The result gains
deferred_themes. - The run artifact lists
deferred_themesand counts their learnings inscope_size. - When every theme is deferred, it records a no-op artifact ("every theme deferred below min_theme_size") instead of failing, and records nothing on a dry run.
- The result gains
dewey doctor: thedistill groupingline showsmin_theme_size=N (source).
Pages to update
content/docs/tutorials/dewey-provider-configuration.md: addmin_theme_sizeto thedistill:calibration section from website#481. Note that, unlike the threshold and margin, it does not depend on the embedding model.content/docs/getting-started/knowledge.md: mentionmin_theme_sizewherever thedistill:section is described.content/docs/projects/dewey.md: under Knowledge Lifecycle, note that small new themes can be deferred until they grow.- Any page that shows
group_learners,rolling_prordewey doctoroutput should show the new fields.
Hold until dewey#313 merges.
Metadata
Metadata
Assignees
Labels
docsDocumentation updates needed
Type
Projects
- StatusShow more project fieldsNo status
Activity