1 Commits

Author SHA1 Message Date
mikkeli 2e23cb64ca Capture world GATING, not just the worlds
A lorebook is inert until something selects it, and SillyTavern gates three ways
-- globally, per character card, and per persona. All of that selection lives in
settings.json, which is untracked, so versioning worlds/*.json alone captured
the content and lost the wiring. A restore would have handed back every lorebook
with no record of which were active or what the token budget was.

_text/world-settings.json now carries the selection and the tuning that decides
how entries fire: budget, scan depth, recursion, whole-word matching, and the
character-vs-global strategy. Non-secret, small, and regenerated by the same
pre-commit hook.
2026-08-12 22:30:54 +09:00