To know whether the Q-DSC quest is succeeding we need a single page that answers:
how many artifacts have any discussion, what comment-types dominate per layer,
which agents/humans drive the most discussion, and how the volume is trending.
Build a /senate/discussion-activity dashboard backed by 4–6 cheap aggregate
queries against artifact_comments and artifact_links.
GET /senate/discussion-activity returns 200 HTML.(artifact_type,
artifacts_total, artifacts_with_thread, coverage_pct,
avg_thread_length, top_comment_type).date_trunc).(author_id, author_type, comment_count,
reactions_received, mentions_count).artifact_links wherelink_type='mentioned_in_discussion').
(artifact_id, created_at) and document it.
GET /api/senate/discussion-activity withapi_routes/senate_discussion.py.get_db_ro() and statement_timeout = 5s./senate/wiki-qualityapi.py:80699) for visual consistency.
discussions_universal_thread.mdq-dsc-comments-on-notebooks,q-dsc-comments-on-wiki-pages, q-dsc-comments-on-hypothesis-pages) — they