**Cache-Busting Improvements:** - Switched from timestamp-based to semantic versioning (v1.0.2) - Updated all HTML files: index.html, docs.html, leader.html - CSS: tailwind.css?v=1.0.2 - JS: navbar.js, document-cards.js, docs-app.js v1.0.2 - Professional versioning approach for production stability **systemd Service Implementation:** - Created tractatus-dev.service for development environment - Created tractatus-prod.service for production environment - Added install-systemd.sh script for easy deployment - Security hardening: NoNewPrivileges, PrivateTmp, ProtectSystem - Resource limits: 1GB dev, 2GB prod memory limits - Proper logging integration with journalctl - Automatic restart on failure (RestartSec=10) **Why systemd over pm2:** 1. Native Linux integration, no additional dependencies 2. Better OS-level security controls (ProtectSystem, ProtectHome) 3. Superior logging with journalctl integration 4. Standard across Linux distributions 5. More robust process management for production **Usage:** # Development: sudo ./scripts/install-systemd.sh dev # Production: sudo ./scripts/install-systemd.sh prod # View logs: sudo journalctl -u tractatus -f 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
47 lines
No EOL
1 KiB
JSON
47 lines
No EOL
1 KiB
JSON
{
|
|
"version": "1.0.0",
|
|
"session_id": "2025-10-07-001",
|
|
"started": "2025-10-07T19:04:07.677Z",
|
|
"message_count": 1,
|
|
"token_estimate": 0,
|
|
"last_framework_activity": {
|
|
"ContextPressureMonitor": {
|
|
"message": 1,
|
|
"tokens": 0,
|
|
"timestamp": "2025-10-07T19:04:07.677Z",
|
|
"last_level": "NORMAL",
|
|
"last_score": 0
|
|
},
|
|
"InstructionPersistenceClassifier": {
|
|
"message": 0,
|
|
"tokens": 0,
|
|
"timestamp": null,
|
|
"last_classification": null
|
|
},
|
|
"CrossReferenceValidator": {
|
|
"message": 0,
|
|
"tokens": 0,
|
|
"timestamp": null,
|
|
"last_validation": null
|
|
},
|
|
"BoundaryEnforcer": {
|
|
"message": 0,
|
|
"tokens": 0,
|
|
"timestamp": null,
|
|
"last_check": null
|
|
},
|
|
"MetacognitiveVerifier": {
|
|
"message": 0,
|
|
"tokens": 0,
|
|
"timestamp": null,
|
|
"last_verification": null
|
|
}
|
|
},
|
|
"staleness_thresholds": {
|
|
"messages": 20,
|
|
"tokens": 30000
|
|
},
|
|
"alerts": [],
|
|
"last_updated": "2025-10-07T19:04:07.677Z",
|
|
"initialized": true
|
|
} |