tractatus/public
TheFlow f6963de4c6 feat(cultural-sensitivity): implement Phase 2 - admin UI with cultural flags (inst_081)
Phase 2: Cultural Sensitivity Admin UI
- Display cultural sensitivity analysis results in admin interfaces
- Visual indicators for risk levels (LOW/MEDIUM/HIGH)
- Show concerns and suggested adaptations to human reviewers
- Human-in-the-loop workflow: AI flags, human decides

Implementation:

1. Media Inquiry Admin (public/js/admin/media-triage.js:435-503)
   - Cultural Sensitivity Analysis section in inquiry details modal
   - Shows risk level with color-coded badges (green/yellow/red)
   - Lists cultural concerns with context
   - Displays suggested adaptations
   - Framework compliance note: "AI flags concerns but never blocks"
   - Appears after response is created (response.cultural_sensitivity)

2. Blog Curation Admin (public/js/admin/blog-curation.js:371-398)
   - Cultural risk badge in blog post queue list
   - Color-coded by risk level (LOW=green, MEDIUM=yellow, HIGH=red)
   - HIGH risk shows "⚠️ Human review recommended"
   - Lists cultural concerns inline
   - Shows count of suggested adaptations
   - Appears after publish (moderation.cultural_sensitivity)

UI Features:
- 🌍 Cultural Sensitivity icon for visibility
- Risk-based color coding (traffic light pattern)
- Expandable concern details
- Suggested adaptations inline
- Timestamps for audit trail
- Non-blocking workflow (flags for review, doesn't prevent action)

Human Approval Workflow:
- Existing respond() API already stores cultural_sensitivity data
- Existing publish() API already stores cultural_sensitivity data
- UI displays flags and suggestions
- Human reviewer makes final decision (inst_081 pluralism)
- No new endpoints needed - workflow integrated into existing approval flow

Next: Deploy Phase 2, monitor Phase 3 daily reminders for learning/refinement

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 11:22:42 +13:00
..
.well-known fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
about fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
admin chore: bump cache version to 0.1.1 for JS changes 2025-10-25 08:47:54 +13:00
css fix(css): correct justify-center syntax error in loading overlay 2025-10-24 12:41:53 +13:00
demos fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
docs fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
downloads fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
fonts fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
images fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
js feat(cultural-sensitivity): implement Phase 2 - admin UI with cultural flags (inst_081) 2025-10-25 11:22:42 +13:00
koha feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00
locales fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
about.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
api-reference.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
architecture.html fix(cache): update architecture.html cache version for interactive diagram 2025-10-24 18:28:42 +13:00
blog-post.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
blog.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
case-submission.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
check-version.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
docs-viewer.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
docs.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
faq.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
favicon-new.svg fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
favicon.ico fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
favicon.svg fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
implementer.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
implementer.html.backup fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
index.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
koha.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
leader.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
manifest.json fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
media-inquiry.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
media-triage-transparency.html fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
privacy.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
researcher.html chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00
service-worker.js chore: bump cache version to 0.1.1 for JS changes 2025-10-25 08:47:54 +13:00
test-pressure-chart.html fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
version.json chore: bump cache version for deployment 2025-10-25 09:37:46 +13:00