Manages persistent state and debate history within localStorage while ensuring data integrity and backward compatibility.
This skill provides Claude with specific guidelines for managing the persistence layer of the Kritarch Lite AI agent framework. It ensures that debate history, timing logic, and localStorage interactions remain stable across updates. By focusing on de-duplication, legacy storage readability, and safe schema migrations, it allows developers to modify UI components or data structures without risking the loss or corruption of existing user data.
Key Features
01Safe localStorage persistence management
02Backward-compatible schema migrations
03Memory-efficient history limit enforcement
04Timing logic optimization
05Debate history de-duplication
061 GitHub stars
Use Cases
01Updating debate history UI layouts without breaking existing data persistence.
02Adding new metadata fields to stored agent verdicts with safe fallbacks.
03Refactoring storage logic to prevent history inflation and redundant saves.