Repository navigation
Open
Labels
docsDocumentation updates needed
Description
What changed in dewey
The weekly unattended distill automation (unbound-force/dewey#193, branch 018-weekly-distill-automation) automates the demotion side of curation: a scheduled run computes the deterministic distill scope from git, groups learnings by theme, and opens rolling per-theme review PRs — with no human interaction during the run. Trust still comes only from a human merge (merge-as-vouch, dewey #203).
This complements the interactive /dewey-distill command covered by #371 — this issue covers the unattended surface only.
User-facing elements to document
Opt-in GitHub Actions workflow template
dewey initscaffolds the inert.github/workflows/dewey-distill.yml.example(never overwriting an existing file)- Adopting it:
cp .github/workflows/dewey-distill.yml.example .github/workflows/dewey-distill.yml, then create two labels:dewey-distillandhuman-gate - Prerequisites: CODEOWNERS coverage on
.uf/dewey/compiled/**and the required code-owner review ruleset - Runs weekly (cron Monday 09:00 UTC); enforces the dedup invariant (at most one open
dewey-distill-labeled issue, via a serializing concurrency group); creates the issue with no assignee (theGITHUB_TOKENinstallation identity cannot resolve@me) - Least-privilege permissions:
contents: read,issues: writeonly
gh-hud dispatch contract
- Issue label
dewey-distill - Re-trigger marker
<!-- dewey-distill-trigger -->in comment bodies - Dispatch command
/dewey-distill-auto #<num>, run as theautonomyagent (gh-hud owns the dispatch side)
New /dewey-distill-auto command (vs interactive /dewey-distill)
- Unattended scope → group → rolling-PR pipeline
- Never asks questions; never writes
tier: validated(both rejected server-side) --backlog-from YYYY-MM-DD: one-time backlog bootstrap bound--dry-run: output-only preview that mutates nothing
New distiller agent
.opencode/agents/distiller.md, scaffolded bydewey initwhen.opencode/exists (never overwriting)- Distinct from the
curatoragent: narrowed tool allowlist, question tool denied, validated writes denied server-side - Its bash allowlist carries only the two startup gates and
gh issue comment— all git/gh mutations run server-side insiderolling_pr, confined todewey-distill/*branches
Optional .uf/dewey/distill-policy.yaml
exclude_tagsglobs andexclude_storesnames- Malformed entries warn-and-skip (never fatal)
Rolling per-theme review PRs
- Branches
dewey-distill/<theme>, labeledhuman-gate - Review-queue PR body format: per-article what-changed, newly cited learning identities, supersessions, lint drift, confidence
- Draft-tier articles only; merge-as-vouch trust (dewey docs: concurrent sub-tool initialization in uf init #203) — see the trust-tiers docs from docs: sync dewey trust tiers documentation #414
needs-human-resolutionconflict label for articles changed under review
Backlog bootstrap runbook
/dewey-distill-auto --backlog-from <date> --dry-runpreview, then the real run in a watched pane- Clean tracked-tree precondition (every run — dry or real — writes/requires a clean tree)
Affected pages
content/docs/projects/dewey.md— the Knowledge Lifecycle / Key Features sections need the weekly unattended automation alongside the interactive distill docs from docs: sync dewey distill documentation #371content/docs/tutorials/dewey-knowledge-stores.md— natural home for the adoption runbook (workflow template, labels, CODEOWNERS, gh-hud contract, backlog bootstrap)content/docs/reference/cli.md—dewey initscaffolding behavior (workflow template + agent files, never overwriting)content/docs/reference/config.md— the optional.uf/dewey/distill-policy.yaml
Update checklist
- New section: the opt-in workflow template and its adoption steps (copy, labels, CODEOWNERS + ruleset prerequisites, cron, dedup invariant, no-assignee note)
- New page or section:
/dewey-distill-autovs interactive/dewey-distill— what differs, the--backlog-fromand--dry-runflags - The
distilleragent: narrowed allowlist, question denied, validated writes denied server-side -
.uf/dewey/distill-policy.yamlreference (exclude_tags, exclude_stores, warn-and-skip semantics) - Rolling PR review-queue body format and the
needs-human-resolutionconflict label - Backlog bootstrap runbook (dry-run preview → real run, watched pane, clean-tree precondition)
- Merge-as-vouch trust story linked to the trust-tiers docs (docs: sync dewey trust tiers documentation #414)
- gh-hud dispatch contract (label, re-trigger marker,
/dewey-distill-auto #<num>as theautonomyagent)
Metadata
Metadata
Assignees
Labels
docsDocumentation updates needed
Type
Projects
- StatusShow more project fieldsNo status
Activity
docs: file website docs-sync issue for weekly distill automation (T046)
docs: file website docs-sync issue for weekly distill automation (T046)