Skip to content

docs: sync dewey distill auto-merge documentation #500

Backlog

Description

@jflowers

What changed in dewey

dewey PR #362 (distill-auto-merge, OpenSpec change for #357) adds configuration-driven auto-merge gating to the weekly distill pipeline:

  • distill.merge (new distill: config field, default human): human keeps every distill PR behind the human-gate label (previous behavior, unchanged default); auto drops the gate so tooling such as gh-hud can merge distill PRs without a hold — but only with the citation audit on. merge: auto with the audit disabled is refused: the mode falls back to human with a warning.
  • distill.audit_sample (new config field, default 4): how many new cited sentences per theme the citation audit samples and judges (blind, by the synthesis model) as SUPPORTED / PARTIAL / UNSUPPORTED against only their citation bracket's learnings. 0 disables the audit and forces human merge.
  • hold label semantics: an UNSUPPORTED verdict or a failed audit labels the PR hold and adds a body marker (<!-- dewey-distill: audit-hold -->); a later passing audit lifts only its own hold. In auto mode, a PR needing a person (conflict, protected human edit) is held too.
  • PR body audit report: each distill PR body reports the audit (verdict counts, findings), so a reviewer can see why a PR is held.
  • Run artifact schema 3: the rolling-PR run artifact (.uf/dewey/distill-runs/) records the merge mode and each theme's audit.
  • dewey doctor: new distill merge check in the Embedding Layer section reporting merge and audit_sample with their sources, plus a warning when merge: auto falls back to human.

Both fields resolve per-vault .uf/dewey/config.yaml → global ~/.config/dewey/config.yaml → default, same as the other distill: fields.

Website pages affected

  • The dewey distill configuration page documenting the distill: section (similarity_threshold, tie_margin, min_theme_size, max_new_per_theme — the pages updated for website#481/website#488): add merge and audit_sample with defaults, valid values, the auto-falls-back-to-human rule, and the resolution order.
  • The dewey distill workflow/automation page (updated for website#417/website#491): describe the audit step, the hold label, how a passing audit lifts a hold, and what merge: auto changes operationally (no human-gate label; gh-hud can merge unheld PRs).
  • dewey doctor documentation (wherever its checks are listed): the new distill merge check line.

What specifically needs updating

New config-field sections (merge, audit_sample) in the distill config docs, a "citation audit and the hold label" subsection in the distill workflow docs, and one line in the doctor checks list. No removals.

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