Skip to content

docs: sync dewey distill run_id hand-off documentation #480

Backlog

Description

@jflowers

Dewey PR unbound-force/dewey#299 (draft, stacked on unbound-force/dewey#297) changes how the unattended distill MCP tools pass data to each other.

What changed

  • scope now returns a run_id for a non-empty scope. The scope is saved server-side at .uf/dewey/distill-state/<run_id>.json, a scratch directory that ignores itself in git.
  • group_learners takes run_id. It no longer takes in_scope, which is deprecated and kept for one release. It records its themes to the run and returns a summary: theme names, member counts, and decision mix.
  • rolling_pr takes run_id. It no longer takes themes, which is deprecated and kept for one release. lint and dry_run are unchanged.
  • Both later tools refuse a stale run, meaning the vault HEAD moved or the recomputed scope differs. The fix is to call scope again.
  • The run artifact in .uf/dewey/distill-runs/ moves to schema 2, which adds run_id, status (running/complete/incomplete), themes_completed, and error. It is written before the first theme and updated after each theme, so a timed-out run still records what it finished.
  • /dewey-distill-auto and the distiller agent now pass only run_id.

Pages to update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions