Skip to content

refactor: consolidate split known-names config loading#22

Merged
bensig merged 1 commit into
MemPalace:mainfrom
sheetsync:bugfix/split-known-names-loading
Apr 7, 2026
Merged

refactor: consolidate split known-names config loading#22
bensig merged 1 commit into
MemPalace:mainfrom
sheetsync:bugfix/split-known-names-loading

Conversation

@sheetsync

Copy link
Copy Markdown
Contributor

Summary

  • add a single cached loader for
  • derive known people and username mappings from that shared parsed config
  • add focused tests for missing, list-shaped, and dict-shaped configs plus people extraction behavior

Why

previously re-read and re-parsed the same config file in multiple helpers, which duplicated logic and made the utility harder to reason about.

Validation

  • source /Users/jamescane/git/mempalace/.venv/bin/activate
  • cd /Users/jamescane/git/mempalace-worktrees/split-known-names
  • PYTHONPATH=. pytest -q

@bensig bensig merged commit 3068f75 into MemPalace:main Apr 7, 2026
jphein referenced this pull request in techempower-org/mempalace Apr 12, 2026
…t count 701

- README: mark MemPalace#635 as merged via MemPalace#667, fix cosine (not L2) distance
- CLAUDE.md: test count 692→701, drawer count 132K→134K, replace
  stale upstream PR list with current table, add fork change #22
  (bensig's security/pagination/error reporting fixes from MemPalace#667)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants