Added
- Context monitor in local gateway (
gateway/context-monitor.ts): evaluates prompt tokens against model context windows and emitsx-superpi-recommend-clearand utilization headers when reaching the 10% context ceiling, preventing expensive LLM context compaction while preserving prefix cache hits. - Instruction Decomposition Engine and
hnl taskscommand (tasks/decomposer.ts,commands/tasks.ts): tears apart complex or gabbled prompts into atomic requirements organized across 5 disciplined execution phases (Investigation, Implementation, Verification, Auto-Verification, Validation & Use). - Zero-loss session clear recovery:
assembleBriefautomatically injects active work-state snapshots (state/<harness>--<sessionId>.md) onSessionStart, restoring plans and progress immediately following a/clearreset.