Skip to content

feat(memory): keep the family wiki fresh automatically (curator sidecar)#33

Merged
arthware-dev merged 15 commits into
mainfrom
feat/memory-curator
Jun 17, 2026
Merged

feat(memory): keep the family wiki fresh automatically (curator sidecar)#33
arthware-dev merged 15 commits into
mainfrom
feat/memory-curator

Conversation

@arthware-dev

Copy link
Copy Markdown
Contributor
  • New curator sidecar keeps the family wiki current without anyone running a command. It owns the git pull from Forgejo and regenerates pages in two modes: a debounced
    incremental rebuild (the members touched by a filing, plus home) once a burst of commits settles, and a nightly full sweep (home, every member, every topic) as the
    self-healing catch-all. A typical filing costs 2-3 LLM calls, so "I filed Homer's letter, Homer's page knows" is nearly free. stack memory wiki still works as the manual
    override.
  • The wiki container is now a pure read-only view. The vault is mounted :ro; the curator is the only writer of the working copy. One component owns sync, so there's one
    failure story: if the curator is down, the vault and wiki go stale together, and turning off wiki_auto_rebuild stops rebuilds but never the pull.
  • Deterministic generation. Wiki output is pinned to temperature 0 (with a WIKI_TEMPERATURE override for experiments) and member-page regen is anchored to the previous
    version, so the same evidence yields the same page instead of churning on every rebuild.
  • Obsidian-compatible vault. A seeded .gitignore keeps Obsidian's per-user UI state out of git, so opening the vault in Obsidian doesn't spuriously trigger rebuilds.
  • Config + framework. New [memory] knobs: wiki_auto_rebuild, wiki_rebuild_quiet_secs, wiki_nightly. LLM.complete gains an optional temperature arg (defaults to
    the server default, fully backward-compatible).
  • Docs. Family wiki added to "What you get" in the README with a chat-answer screenshot; admin-guide covers auto-rebuild; ops lessons and curator follow-ups logged.

Selection flags combine and repeat so one invocation covers every
page a filing burst touched. Display names normalize to bucket slugs.
Debounced persons+home rebuild after filings settle, nightly full
sweep as self-healing catch-all. Own slim image, memory-owned env.
Without it, any boot after the configured time fired an immediate
full sweep. Found live on the Simpsons rig.
Same ls-remote-then-ff-pull semantics, moved from the quartz
entrypoint to the curator's 30s tick. Pull runs even with rebuilds off.
Same evidence now yields the same page byte-for-byte (verified on the
rig); pages only change when their evidence does.
Overview not archive: recency-weighted About, themed interests,
capped activity, no ledger content, omit empty sections.
Mechanical citation renumbering + explicit new-evidence block; the
model keeps wording stable and only works in what changed.
@arthware-dev arthware-dev merged commit 905cc2f into main Jun 17, 2026
1 check passed
@arthware-dev arthware-dev deleted the feat/memory-curator branch June 23, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant