fix(entities): rank filings by importance in profile extraction

↗ view on GitHub · emileriksenkeev · 2026-07-14 · 62ce9143

Entities with hundreds of docs (RX Labs: 525) had their SEC Certificate of
Incorporation crowded out of the 14-doc extraction window by the many
secretary's certificates / compliance certs that also match 'certificate'.
Rank candidate docs into priority tiers (SEC cert / BIR 2303 / Articles / GIS
first) and take the top 18, so the registration-bearing filings always make
the context window.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Repository emileriksenkeev/sydOS
Author emileriksenkeev <emil@keev.co>
Authored
Parents 20c75bf2
Stats 1 file changed , +40 , -4
Part of Entities - org-wide entity spaces (corporate roster & profiles)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-62ce9143.md from inside the repo you want the change in.

⬇ Download capture-commit-62ce9143.md