fix: update cache busting versions to 1.0.3 and migrate new documents
**Issue:** New documents not appearing in production docs sidebar
**Root Cause:** Documents not migrated to MongoDB + browser caching old JS
**Changes:**
1. **Cache Busting:** Updated all cache versions from 1.0.2 → 1.0.3
- public/docs.html (CSS, navbar.js, docs-app.js, docs-search-enhanced.js, document-cards.js)
- public/faq.html (CSS, navbar.js, faq.js)
2. **Document Migration:** Migrated new documents to MongoDB
- comparison-matrix.md → comparison-matrix-claude-code-claudemd-and-tractatus-framework
- technical-architecture.md → technical-architecture
- 27027-incident-detailed-analysis.md → the-27027-incident-a-case-study-in-pattern-recognition-bias
- Plus 5 case studies created today
**Production deployment:**
- Deployed updated HTML files with new cache versions
- Migrated 8 new documents to tractatus_prod database
- Restarted tractatus.service to clear server-side caches
**Documents now available in docs.html sidebar:**
✓ Technical Architecture (new today)
✓ Comparison Matrix: Claude Code vs Tractatus (new today)
✓ The 27027 Incident Case Study (new today)
✓ Implementation Guide v1.1 (updated today)
✓ All case studies from earlier sessions
**Cache busting forces browser reload of:**
- Document list JavaScript
- Search functionality
- Navbar component
- FAQ page JavaScript
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
692eda8581
commit
e962ae6bbf
2 changed files with 8 additions and 8 deletions
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Framework Documentation | Tractatus AI Safety</title>
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
||||
<link rel="stylesheet" href="/css/tailwind.css?v=1.0.2">
|
||||
<link rel="stylesheet" href="/css/tailwind.css?v=1.0.3">
|
||||
<style>
|
||||
html { scroll-behavior: smooth; }
|
||||
|
||||
|
|
@ -380,7 +380,7 @@
|
|||
<a href="#main-content" class="skip-link">Skip to main content</a>
|
||||
|
||||
<!-- Navigation (injected by navbar.js) -->
|
||||
<script src="/js/components/navbar.js?v=1.0.2"></script>
|
||||
<script src="/js/components/navbar.js?v=1.0.3"></script>
|
||||
|
||||
<!-- Page Header -->
|
||||
<div class="bg-white border-b border-gray-200">
|
||||
|
|
@ -717,9 +717,9 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/js/components/document-cards.js?v=1.0.2"></script>
|
||||
<script src="/js/docs-app.js?v=1.0.2"></script>
|
||||
<script src="/js/docs-search-enhanced.js?v=1.0.2"></script>
|
||||
<script src="/js/components/document-cards.js?v=1.0.3"></script>
|
||||
<script src="/js/docs-app.js?v=1.0.3"></script>
|
||||
<script src="/js/docs-search-enhanced.js?v=1.0.3"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<title>Frequently Asked Questions | Tractatus AI Safety Framework</title>
|
||||
<meta name="description" content="Common questions about Tractatus framework: implementation, performance, relationship to Claude Code, and governance architecture.">
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
||||
<link rel="stylesheet" href="/css/tailwind.css?v=1.0.2">
|
||||
<link rel="stylesheet" href="/css/tailwind.css?v=1.0.3">
|
||||
<style>
|
||||
/* Accessibility: Skip link */
|
||||
.skip-link { position: absolute; left: -9999px; top: 0; }
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
<a href="#main-content" class="skip-link">Skip to main content</a>
|
||||
|
||||
<!-- Navigation -->
|
||||
<script src="/js/components/navbar.js?v=1.0.2"></script>
|
||||
<script src="/js/components/navbar.js?v=1.0.3"></script>
|
||||
|
||||
<!-- Hero -->
|
||||
<div class="bg-gradient-to-br from-blue-50 to-indigo-50 py-16">
|
||||
|
|
@ -205,7 +205,7 @@
|
|||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="/js/faq.js?v=1.0.0"></script>
|
||||
<script src="/js/faq.js?v=1.0.3"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue