Registry generators crash on a persona with no slug
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start in systems/superintelligence/*/scripts/build_registry.py and find where fm["slug"] is read next to the guarded frontmatter parsing; the same pattern repeats in each generator. Add the isinstance(fm, dict) and fm.get("slug") guard before use and route the failure into the same warning-and-skip path already used for unparseable files. To check, run the generator with a temporary persona lacking a slug and confirm a WARN line appears while the registry still builds from the remaining personas.
Written by the indexing model from the issue text.
Description
The systems/superintelligence/*/scripts/build_registry.py generators read fm["slug"] with no guard, outside the try that covers frontmatter parsing. So one persona file with no slug, or with empty frontmatter (fm is None), stops the whole registry build with a KeyError or TypeError. It should be skipped with a warning, like an unparseable file.
Fix: check isinstance(fm, dict) and fm.get("slug") before use, and warn and skip otherwise, in each generator.
Check: a temp persona with no slug gives a WARN line, and the registry still builds from the other files.
- Dominant language
- HTML
- Stars
- 347
- Forks
- 12
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 95
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coco-research/coco
-
bug P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
coco-research/coco#538 ·
Maintainers usually reply within 1 day
-
bug P2
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
coco-research/coco#537 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
coco-research/coco#530 ·
Maintainers usually reply within 1 day
-
check-asset-counts: bare 149 tripwire collides with a real active-assets count of 149Possibly taken @aryankalantri claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
coco-research/coco#473 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
coco-research/coco#470 ·
Maintainers usually reply within 1 day
All issues in coco-research/coco
Similar issues
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
microsoft/playwright#44289 ·
Maintainers usually reply within 1 day
-
dependencies
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
JustBeanie/hass-volcano-hybrid#34 ·
Maintainers usually reply within 1 day
-
documentation good first issue trivial
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
daniel-ospina/tortoise#14235 ·
Maintainers usually reply within 1 day