tractatus/.claude/hooks
TheFlow 8ee2f73928 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
..
all-command-detector.js feat(governance): third wave enforcement - 22% improvement (46% → 56%) 2025-10-25 13:38:18 +13:00
behavioral-compliance-reminder.js feat(governance): wave 4 enforcement - 41% improvement (56% → 79%) 2025-10-25 13:48:43 +13:00
check-token-checkpoint.js feat(governance): implement comprehensive enforcement architecture 2025-10-25 13:15:06 +13:00
framework-audit-hook.js feat(framework): implement Phase 3 bidirectional communication architecture 2025-10-27 19:45:24 +13:00
prompt-analyzer-hook.js feat(framework): implement Phase 3 bidirectional communication architecture 2025-10-27 19:45:24 +13:00
test-hook-input.json feat(blog): integrate Tractatus framework governance into blog publishing 2025-10-25 08:47:31 +13:00
TEST_HOOK_INVOCATION.txt feat(blog): integrate Tractatus framework governance into blog publishing 2025-10-25 08:47:31 +13:00
track-approval-patterns.js feat(governance): wave 5 enforcement - 100% coverage achieved (79% → 100%) 2025-10-25 14:10:23 +13:00
trigger-word-checker.js fix(governance): add architectural enforcement for "ff" and "ffs" trigger words 2025-10-25 12:32:52 +13:00