Skip to content

Feat/gleif elf legal form#13

Merged
StephenAbbott merged 2 commits into
mainfrom
feat/gleif-elf-legal-form
Jul 2, 2026
Merged

Feat/gleif elf legal form#13
StephenAbbott merged 2 commits into
mainfrom
feat/gleif-elf-legal-form

Conversation

@StephenAbbott

Copy link
Copy Markdown
Owner

No description provided.

OpenAleph 5.3 shipped percolation/Screening and, alongside it, the
inverse endpoint GET /entities/{id}/mentions: given a named FtM entity,
return Document-family entities (leaks, court records, news archives)
whose indexed text contains any of the entity's name variants. Verified
live against the flagship instance (anonymous read works; response
carries total + per-document collection label/category/UI link).

The adapter gains fetch_mentions(entity_id): parses total + up to 5
documents (title, collection, category, url), degrades to None on any
failure (pre-5.3 instances 404). The lookup pipeline's OpenAleph
strategy cascade enriches the top 2 matched hits: the mentions payload
is attached to hit.raw["openaleph_mentions"] and the card summary gains
"· mentioned in N documents".

Deliberately informational: mentions are name-derived (percolator
match_phrase over name/alias/previousName — identifiers never
participate), so they are never treated as identifier corroboration,
and no risk signal fires. The per-document collection category is
captured for a possible future category breakdown (leak/court/
sanctions), to be revisited separately.

Also:
* export.py / reporting/html_report.py: replace the Python-3.11-only
  datetime.UTC alias with timezone.utc (identical object) so the suite
  also runs on 3.10 environments.
* test_mcp.py: guard the optional mcp SDK import with
  pytest.importorskip (same pattern as libcovebods/bods-fixtures).

Tests: 5 new (mentions parsing incl. label fallback, 404 degradation,
stub mode, strategy enrichment, enrichment failure tolerance).
Suite: 2163 passed, 0 errors.
@StephenAbbott StephenAbbott merged commit 168ff4f into main Jul 2, 2026
6 of 8 checks passed
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