tractatus/public
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
..
.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 feat(content): add framework-guided blog pre-publication and comment analysis 2025-10-27 19:45:43 +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 docs(deployment): fix MongoDB credential placeholder in deployment guide 2025-10-26 23:20:28 +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 docs: complete research documentation publication (Phases 1-6) 2025-10-25 20:10:04 +13:00
js feat(content): add framework-guided blog pre-publication and comment analysis 2025-10-27 19:45:43 +13:00
koha feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00
locales feat(i18n): add complete German and French translations for implementer page 2025-10-27 00:57:29 +13:00
about.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +13:00
api-reference.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +13:00
architecture.html fix(architecture): inline SVG and complete i18n for interactive diagram 2025-10-26 13:45:39 +13:00
blog-post.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +13:00
blog.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +13:00
case-submission.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +13:00
check-version.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +13:00
docs-viewer.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +13:00
docs.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +13:00
faq.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +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 frontend changes 2025-10-27 12:11:55 +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 frontend changes 2025-10-27 12:11:55 +13:00
koha.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +13:00
leader.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +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 frontend changes 2025-10-27 12:11:55 +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 frontend changes 2025-10-27 12:11:55 +13:00
researcher.html chore: bump cache version for frontend changes 2025-10-27 12:11:55 +13:00
service-worker.js fix(sw): bypass service worker entirely for /locales/ paths 2025-10-26 15:54:53 +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 frontend changes 2025-10-27 12:11:55 +13:00