# h-context Rules ## Directory Structure - σ state.md — Current state index (<2KB, LLN encoded, mutable) - θ threads/ — Active workstreams (mutable) - ε entries/ — Extracted artifacts (append-only) - ρ raw/ — Source archive (append-only) - ψ session-log.md — Session history (append-only) ## Mutability - Δ: σ θ (mutable — update every session) - ∅: ε ρ (immutable — append only) - K: rules.md (constant) ## Protocol 1. READ state.md to orient 2. EXECUTE the task 3. UPDATE state.md with current state in LLN 4. APPEND to session-log.md: ψ:round|N|timestamp|"summary" 5. RESPOND to user