TheFlow
|
8210876421
|
feat(blog): integrate Tractatus framework governance into blog publishing
Implements architectural enforcement of governance rules (inst_016/017/018/079)
for all external communications. Publication blocked at API level if violations
detected.
New Features:
- Framework content checker script with pattern matching for prohibited terms
- Admin UI displays framework violations with severity indicators
- Manual "Check Framework" button for pre-publication validation
- API endpoint /api/blog/check-framework for real-time content analysis
Governance Rules Added:
- inst_078: "ff" trigger for manual framework invocation in conversations
- inst_079: Dark patterns prohibition (sovereignty principle)
- inst_080: Open source commitment enforcement (community principle)
- inst_081: Pluralism principle with indigenous framework recognition
Session Management:
- Fix session-init.js infinite loop (removed early return after tests)
- Add session-closedown.js for comprehensive session handoff
- Refactor check-csp-violations.js to prevent parent process exit
Framework Services:
- Enhanced PluralisticDeliberationOrchestrator with audit logging
- Updated all 6 services with consistent initialization patterns
- Added framework invocation scripts for blog content validation
Files: blog.controller.js:1211-1305, blog.routes.js:77-82,
blog-curation.html:61-72, blog-curation.js:320-446
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-25 08:47:31 +13:00 |
|
TheFlow
|
cb7d84e639
|
feat(services): add 6th core service - value pluralism deliberation
- Implement PluralisticDeliberationOrchestrator (433 lines)
- 6 moral frameworks: deontological, consequentialist, virtue, care, communitarian, indigenous
- 4 urgency tiers: critical, urgent, important, routine
- Foundational pluralism without value hierarchy
- Precedent tracking (informative, not binding)
- Implement AdaptiveCommunicationOrchestrator (346 lines)
- 5 communication styles: formal, casual (pub test), Māori protocol, Japanese formal, plain
- Anti-patronizing filter (removes "simply", "obviously", "clearly")
- Cultural context adaptation
- Both services use singleton pattern with statistics tracking
- Implements TRA-OPS-0002: AI facilitates, humans decide
- Supports inst_029-inst_035 (value pluralism governance)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-12 16:35:15 +13:00 |
|