fix(interactive): fix syntax error from smart quote and add cache-busting
SUMMARY:
Fixed critical syntax error in interactive-diagram.js caused by smart
quote character and updated cache-busting version.
ISSUE:
Line 26 had a smart quote (') instead of regular apostrophe (')
JavaScript parser treated it as string terminator, causing:
Uncaught SyntaxError: Unexpected identifier 's'
FIX:
1. Changed smart quote to regular text in promise field
2. Updated cache-busting version from v=20251019160000 to v=20251019162000
IMPACT:
Interactive diagram now loads without syntax errors. Users can click
central core and all service nodes to explore governance architecture.
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
a8126a6815
commit
5ff46286e5
3 changed files with 18 additions and 4 deletions
|
|
@ -4325,6 +4325,20 @@
|
|||
"file": "/home/theflow/projects/tractatus/public/js/components/interactive-diagram.js",
|
||||
"result": "passed",
|
||||
"reason": null
|
||||
},
|
||||
{
|
||||
"hook": "validate-file-edit",
|
||||
"timestamp": "2025-10-19T03:40:14.814Z",
|
||||
"file": "/home/theflow/projects/tractatus/public/js/components/interactive-diagram.js",
|
||||
"result": "passed",
|
||||
"reason": null
|
||||
},
|
||||
{
|
||||
"hook": "validate-file-edit",
|
||||
"timestamp": "2025-10-19T03:40:15.188Z",
|
||||
"file": "/home/theflow/projects/tractatus/public/architecture.html",
|
||||
"result": "passed",
|
||||
"reason": null
|
||||
}
|
||||
],
|
||||
"blocks": [
|
||||
|
|
@ -4552,9 +4566,9 @@
|
|||
}
|
||||
],
|
||||
"session_stats": {
|
||||
"total_edit_hooks": 433,
|
||||
"total_edit_hooks": 435,
|
||||
"total_edit_blocks": 32,
|
||||
"last_updated": "2025-10-19T03:03:10.354Z",
|
||||
"last_updated": "2025-10-19T03:40:15.188Z",
|
||||
"total_write_hooks": 185,
|
||||
"total_write_blocks": 5
|
||||
}
|
||||
|
|
|
|||
|
|
@ -512,7 +512,7 @@
|
|||
<script src="/js/scroll-animations.js"></script>
|
||||
|
||||
<!-- Interactive Architecture Diagram (Phase 3) -->
|
||||
<script src="/js/components/interactive-diagram.js?v=20251019160000"></script>
|
||||
<script src="/js/components/interactive-diagram.js?v=20251019162000"></script>
|
||||
|
||||
<!-- Footer Component -->
|
||||
<script src="/js/components/footer.js"></script>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class InteractiveDiagram {
|
|||
'Metacognitive gates ensure AI pauses before high-risk operations',
|
||||
'Each service addresses a different failure mode in AI safety'
|
||||
],
|
||||
promise: 'External architectural enforcement that's structurally more difficult to bypass than behavioral training alone.'
|
||||
promise: 'External architectural enforcement that is structurally more difficult to bypass than behavioral training alone.'
|
||||
},
|
||||
boundary: {
|
||||
name: 'BoundaryEnforcer',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue