-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
The data models for entity and stance tracking are fully implemented in the schema (entities, entity_facts, entity_mentions, stance_observations) but there is no extraction pipeline, no services, and no UI to populate or display this data.
Current State
Models (Exist)
Entity— name, entity_type, aliases (jsonb), status, notesEntityFact— entity_id, fact_text, source_type, source_ref, status, sensitive, verified_on, verification_notesEntityMention— entity_id, meeting_id, meeting_document_id, page_number, raw_name, quote, contextStanceObservation— entity_id, meeting_id, meeting_document_id, page_number, position, quote, sentiment, confidence, topic
Missing Components
1. Extraction Jobs
ExtractEntitiesJob— Identify council members, department heads, public commenters from meeting documentsExtractStancesJob— Identify public comment positions, voting patterns, stated positions on topics
2. Services
- Entity resolution service — Match mentions to known entities (alias handling, fuzzy matching)
- Stance aggregation — Summarize entity positions across meetings for a topic
3. Admin UI
- Entity management (view, edit, merge duplicates, manage aliases)
- Entity fact management (add/verify/flag facts)
- Stance observation review
4. Public UI
- Member page (
/members/:id) — Currently basic; should show:- Voting record across topics
- Meeting attendance
- Stance observations (public comments, stated positions)
- Topic page — Add entity/stance section showing who has spoken on a topic
- Meeting page — Link mentions to entity profiles
Design Considerations
- Privacy:
EntityFacthas asensitiveflag — sensitive facts must be gated in public views - TOPIC_GOVERNANCE.md: Stance tracking is limited to public commenters per governance rules
- Verification: Facts and stances should flow through admin review before public display
- Confidence scoring:
StanceObservationhas aconfidencefield — low-confidence observations should be flagged for review
Suggested Implementation Order
- Entity extraction from meeting minutes (identify speakers, voters)
- Link existing
Member+Votedata toEntityrecords - Admin UI for entity management
- Stance extraction from public comment sections
- Public member page enrichment
- Topic page entity/stance section
Priority
Medium — The models are ready and the data is flowing through meetings. This is a significant feature addition that would enhance accountability tracking, which is a core project goal.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels