How htownz/hogan-legacy works
This repository is a civic and legislative intelligence platform: people explore bills and legislators, receive policy alerts and analysis, then participate through annotations, sharing, and organized civic action. The tree also shows a distinct policy-intelligence application for monitoring matters, source documents, watchlists, alerts, and briefs. Sampled source confirms browser requests use fetch and policy-intelligence routes invoke brief generation and feed jobs; other feature links are based on the tree, not inspected implementations. The README is empty, so documented capability coverage comes from the source tree.
Main entry points: App.tsx App routes · routes.ts Policy intel routes · storage.ts Core data access · advanced-bill-analysis-engine.ts Bill analysis
Components 23
Civic web app
- App routes
client/src/App.tsx - API requests
client/src/lib/queryClient.ts
Legislative intelligence
- Legislation views
client/src/pages/legislation.tsx - Bill analysis
server/services/advanced-bill-analysis-engine.ts - Legislator profiles
client/src/pages/legislators.tsx - Bill alerts
client/src/pages/bill-alerts.tsx - Bill recommendations
client/src/pages/recommendations.tsx - Impact analytics
client/src/pages/legislative-impact.tsx
Civic participation
- Bill annotations
client/src/pages/collaborative-annotations.tsx - Action circles
client/src/pages/action-circles.tsx - Campaign workspace
server/routes/war-room-routes.ts - Social connections
server/routes/social-network-routes.ts
Policy monitoring
- Policy intel client
client-policy-intel/src/App.tsx - Policy intel routes
server/policy-intel/routes.ts - Alert and brief services
server/policy-intel/services/alert-service.ts - Policy intel database
server/policy-intel/db.ts - Source feed jobs
server/policy-intel/jobs/run-tlo-rss.ts
Data services
- Application API
server/index.ts - Core data access
server/storage.ts - Application database
server/db.ts
Other components
- Civic user
- Anthropic Claude
- Pinecone
Connections 22
- Civic user → App routes: uses
- App routes → Legislation views: routes to
- App routes → Legislator profiles: routes to
- App routes → Bill alerts: routes to
- App routes → Bill recommendations: routes to
- App routes → Impact analytics: routes to
- App routes → Bill annotations: routes to
- App routes → Action circles: routes to
- App routes → API requests: configures queries
- API requests → Application API: fetches requests
- Application API → Core data access: uses storage
- Core data access → Application database: queries
- Legislation views → Bill analysis: presents analysis
- Bill analysis → Anthropic Claude: analyzes with
- Bill analysis → Pinecone: queries similar bills
- Policy intel client → Policy intel routes: requests policy data
- Policy intel routes → Alert and brief services: generates briefs
- Policy intel routes → Policy intel database: reads and writes
- Policy intel routes → Source feed jobs: runs feed job
- Alert and brief services → Policy intel database: processes alerts
- Campaign workspace → Core data access: uses storage
- Social connections → Core data access: uses storage