Skip to content

Fix seed-people: replace GENERIC_TOKENS with configurable GENERIC_LABELS#8

Merged
yoaquim merged 1 commit into
mainfrom
fix/seed-people-generic-labels
Apr 26, 2026
Merged

Fix seed-people: replace GENERIC_TOKENS with configurable GENERIC_LABELS#8
yoaquim merged 1 commit into
mainfrom
fix/seed-people-generic-labels

Conversation

@yoaquim
Copy link
Copy Markdown
Owner

@yoaquim yoaquim commented Apr 26, 2026

Summary

Cleanup from PR #2 merge. The suggestion commit added GENERIC_LABELS but didn't remove the old GENERIC_TOKENS block or update references.

  • Removed broken GENERIC_TOKENS block (missing closing brace from suggestion commit)
  • is_generic() now uses GENERIC_LABELS (15 universal terms) via parameter
  • Added load_generic_labels() that merges with user-defined .seam/generic-speakers.txt
  • main() calls load_generic_labels() for the full exclusion set

Test plan

  • npm run lint — 0 errors
  • npm test — 89 tests pass
  • python3 scripts/seed-people.py — runs without errors

…able file

- Removed old GENERIC_TOKENS block (was broken — missing closing brace)
- Replaced with trimmed GENERIC_LABELS (15 universal terms)
- Added load_generic_labels() for user-defined exclusions via .seam/generic-speakers.txt
- is_generic() accepts labels parameter
@yoaquim yoaquim merged commit cc76b17 into main Apr 26, 2026
1 check passed
@yoaquim yoaquim deleted the fix/seed-people-generic-labels branch April 26, 2026 14:34
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