This document communicates the active engineering state, recent architectural direction, open research questions, and development priorities of Project Hermit (v0.1.9).
Project Hermit is an active, evolving software system. Recent work has transitioned the project from raw payload optimization into measurement integrity, system hardening, and resource-bounded execution safety.
graph LR
A[v0.1.7: AST Math Mutator] --> B[v0.1.8: Dual-Phase Scheduling]
B --> C[v0.1.9: Measurement Integrity & Hardening]
C --> D[Active Focus: Containerized Isolation & Multi-Language Mutators]
- Fork-Based Grandchild Sandbox Memory Measurement: Replaced cumulative
RUSAGE_CHILDRENchecks with isolated grandchild process peak RSS monitoring, resolving the0.0 KBRAM reporting anomaly. - 6-Merge Sequence Cycle Detection: Eliminated the strategy overcorrection bug by tracking strategy recency patterns (
A-B-A-B) instead of total all-time strategy counts. - UTC Timezone Unification: Unified logging, database records, and thought ledgers under UTC timestamps.
- Token Cost Budgeting: Integrated per-skill token budgets (
skill_budgets) to gate out expensive synthesis loops on complex untouched functions. - Automated Database Backups & Integrity Verification: Enforced startup database health checks (
PRAGMA integrity_check) and automated 30-minuteVACUUM INTObackups (hermit_memory_backup_*.db).
- Dynamic Weight Calibration in Pareto Scoring: How can multi-objective Pareto scoring dynamically adjust weights (latency vs. memory vs. complexity) based on hardware constraints without introducing optimization bias?
- Cross-Skill Refactoring Synergy: How can the autonomous daemon identify opportunities to merge duplicate code blocks across separate payload skills into shared utility routines?
- Cross-Platform Sandboxing: How can RAM-disk sandbox isolation be cleanly ported to macOS or Windows environments using lightweight container fallbacks?
- Maintain Measurement Integrity: Preserve exact harness freezing and fork-based RAM measurement to ensure baseline comparable scores across optimization cycles.
- Token Efficiency: Expand deterministic AST mutators (
math_mutator.py,qubo_mutator.py) to reduce reliance on expensive LLM synthesis calls. - Continuous Downstream Regression Testing: Enforce mandatory regression testing on static dependency edges (
skill_dependencies) prior to candidate merges.