tractatus/public/admin
TheFlow 20a108402e feat(content): add framework-guided blog pre-publication and comment analysis
Blog Pre-Publication Workflow:
- New admin interface (blog-pre-publication.html) for framework-guided content review
- Analysis provides: sensitivity check, compliance validation, audience analysis
- Publication guidance: timing, monitoring, action recommendations
- Response templates for anticipated reader feedback
- Overall recommendation: APPROVE/REVIEW/REJECT decision
- CSP-compliant implementation (no inline scripts/styles)

Comment & Feedback Analysis Workflow:
- New admin interface (comment-analysis.html) for social media/article feedback
- Sentiment analysis (positive/negative/neutral/mixed with confidence)
- Values alignment check (aligned values, concerns, misunderstandings)
- Risk assessment (low/medium/high with factors)
- Recommended responses (prioritized with rationale)
- Framework guidance on whether/how to respond

Backend Implementation:
- New controller: framework-content-analysis.controller.js
- Services invoked: PluralisticDeliberationOrchestrator, BoundaryEnforcer
- API routes: /api/admin/blog/analyze, /api/admin/feedback/analyze
- Integration with existing auth and validation middleware

Framework Validation:
During implementation, framework caught and blocked TWO CSP violations:
1. Inline onclick attribute - forced addEventListener pattern
2. Inline style attribute - forced data attributes + JavaScript
This demonstrates framework is actively preventing violations in real-time.

Transforms blog curation from passive reporter to active agency manager.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 19:45:43 +13:00
..
audit-analytics.html feat(research): add cross-environment audit log sync infrastructure 2025-10-27 12:11:16 +13:00
blog-curation.html feat(blog): integrate Tractatus framework governance into blog publishing 2025-10-25 08:47:31 +13:00
blog-curation.html.backup fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
blog-pre-publication.html feat(content): add framework-guided blog pre-publication and comment analysis 2025-10-27 19:45:43 +13:00
calendar.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
case-moderation.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
claude-md-migrator.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
comment-analysis.html feat(content): add framework-guided blog pre-publication and comment analysis 2025-10-27 19:45:43 +13:00
contact-management.html feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00
crm-dashboard.html feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00
dashboard.html chore: bump cache version to force reload of scrollable modal 2025-10-27 11:27:46 +13:00
editorial-guidelines.html feat(admin): add Editorial Guidelines Manager page 2025-10-24 13:05:47 +13:00
hooks-dashboard.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
login.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
media-triage.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
newsletter-management.html fix(newsletter): convert ObjectId to string in DELETE button data attributes 2025-10-24 20:24:54 +13:00
project-manager.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
rule-manager.html fix(cache): standardize cache version across all HTML files 2025-10-24 12:34:39 +13:00
unified-inbox.html feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00