Implements cache busting and progressive web app features: **Version Management:** - version.json manifest with changelog tracking - Service worker with automatic update checking (hourly) - Update notification UI with changelog display - Configurable forced updates after timeout - Cache control headers for optimal performance **PWA Features:** - manifest.json with app shortcuts - Apple touch icon support - "Add to Home Screen" functionality - Offline support via service worker **Cache Strategy:** - HTML: 5-minute cache with revalidation - CSS/JS: 1-year immutable cache - Images: 1-year immutable cache - version.json/service-worker.js: no-cache **Integration:** - All main pages updated with PWA meta tags - Version manager loaded on all user-facing pages - Production deployment successful Users who previously visited the site will now automatically receive update notifications when version changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "Tractatus AI Safety Framework",
|
|
"short_name": "Tractatus",
|
|
"description": "Structural constraints for AI systems that preserve human agency through architectural governance",
|
|
"start_url": "/",
|
|
"display": "standalone",
|
|
"background_color": "#ffffff",
|
|
"theme_color": "#3b82f6",
|
|
"orientation": "portrait-primary",
|
|
"icons": [
|
|
{
|
|
"src": "/images/tractatus-icon.svg",
|
|
"sizes": "any",
|
|
"type": "image/svg+xml",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/favicon.svg",
|
|
"sizes": "any",
|
|
"type": "image/svg+xml"
|
|
}
|
|
],
|
|
"categories": ["education", "productivity", "utilities"],
|
|
"shortcuts": [
|
|
{
|
|
"name": "Documentation",
|
|
"short_name": "Docs",
|
|
"description": "Browse framework documentation",
|
|
"url": "/docs.html",
|
|
"icons": [{ "src": "/images/tractatus-icon.svg", "sizes": "any" }]
|
|
},
|
|
{
|
|
"name": "FAQ",
|
|
"short_name": "FAQ",
|
|
"description": "Frequently asked questions",
|
|
"url": "/faq.html",
|
|
"icons": [{ "src": "/images/tractatus-icon.svg", "sizes": "any" }]
|
|
},
|
|
{
|
|
"name": "27027 Demo",
|
|
"short_name": "Demo",
|
|
"description": "Interactive pattern bias demonstration",
|
|
"url": "/demos/27027-demo.html",
|
|
"icons": [{ "src": "/images/tractatus-icon.svg", "sizes": "any" }]
|
|
}
|
|
]
|
|
}
|