tractatus/src/services
TheFlow 3f47273f2d feat(framework): implement Phase 3 bidirectional communication architecture
Phase 3.5: Cross-validation between prompt analysis and action analysis
- Added prompt-analyzer-hook.js to store prompt expectations in session state
- Modified framework-audit-hook.js to retrieve and compare prompt vs action
- Implemented cross-validation logic tracking agreements, disagreements, missed flags
- Added validation feedback to systemMessage for real-time guidance

Services enhanced with guidance generation:
- BoundaryEnforcer: _buildGuidance() provides systemMessage for enforcement decisions
- CrossReferenceValidator: Generates guidance for cross-reference conflicts
- MetacognitiveVerifier: Provides guidance on metacognitive verification
- PluralisticDeliberationOrchestrator: Offers guidance on values conflicts

Framework now communicates bidirectionally:
- TO Claude: systemMessage injection with proactive guidance
- FROM Claude: Audit logs with framework_backed_decision metadata

Integration testing: 92% success (23/25 tests passed)
Recent performance: 100% guidance generation for new decisions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 19:45:24 +13:00
..
AdaptiveCommunicationOrchestrator.service.js fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
AnthropicMemoryClient.service.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
BlogCuration.service.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
BoundaryEnforcer.service.js feat(framework): implement Phase 3 bidirectional communication architecture 2025-10-27 19:45:24 +13:00
ClaudeAPI.service.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
ClaudeMdAnalyzer.service.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
ContentAnalyzer.service.js fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
ContentGovernanceChecker.service.js feat(governance): extend framework checks to all external communications 2025-10-25 09:53:09 +13:00
ContentSimilarity.service.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
ContextPressureMonitor.service.js feat(blog): integrate Tractatus framework governance into blog publishing 2025-10-25 08:47:31 +13:00
CrossReferenceValidator.service.js feat(framework): implement Phase 3 bidirectional communication architecture 2025-10-27 19:45:24 +13:00
DeepL.service.js fix(i18n): add axios dependency and fix DeepL API parameters 2025-10-26 00:59:05 +13:00
index.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
InstructionPersistenceClassifier.service.js feat(blog): integrate Tractatus framework governance into blog publishing 2025-10-25 08:47:31 +13:00
koha.service.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
MediaTriage.service.js fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
MemoryProxy.service.js feat(research): add cross-environment audit log sync infrastructure 2025-10-27 12:11:16 +13:00
MetacognitiveVerifier.service.js feat(framework): implement Phase 3 bidirectional communication architecture 2025-10-27 19:45:24 +13:00
PluralisticDeliberationOrchestrator.service.js feat(framework): implement Phase 3 bidirectional communication architecture 2025-10-27 19:45:24 +13:00
RuleOptimizer.service.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
Translation.service.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
VariableSubstitution.service.js feat: implement Rule Manager and Project Manager admin systems 2025-10-11 17:16:51 +13:00