Skip to content

docs: sync dewey reindex documentation #438

Open

Description

@jflowers

What changed

dewey reindex (unbound-force/dewey#232) now re-ingests file-backed learnings and knowledge stores during the reindex itself:

  • Learnings under .uf/dewey/learnings/ are re-ingested after source indexing completes and before the index-build stamp is recorded — the same restoreFileBackedPages path dewey serve runs at startup.
  • Knowledge-store pages are re-indexed in the same restore pass.
  • A failure in either restore pass logs a warning and does not fail the command; learnings and knowledge stores also recover at the next serve startup.

Previously a reindex deleted graph.db and rebuilt from configured sources only — learnings and knowledge-store pages did not return until the next dewey serve startup.

Affected pages

  • The dewey reindex command documentation under content/docs/ (command reference: what a reindex does and what it preserves)
  • Any page describing what data survives a reindex, or the relationship between reindex, serve-startup restore, and .uf/dewey/ file-backed artifacts

What needs updating

Document that dewey reindex preserves file-backed learnings and knowledge stores (restoring them during the reindex, before the index-build stamp), and that restore failures are logged as warnings rather than failing the command.

Source: review feedback on unbound-force/dewey#232 — website docs sync issue not filed (HIGH, cli.go:1051): unbound-force/dewey#232 (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