Compact intermediate form
For verbose natural-language inputs, Arka also converts the user text into a compact intermediate representation before sending it to the LLM. The original text is still used for symbolic routing, security checks, exact-command detection, and audit metadata. The compact form keeps:- high-signal requirements
- a small amount of context
- literal URLs, file paths, code blocks, JSON, and shell commands
- anti-hallucination constraints
- repeated sentences
- low-signal filler
- excess whitespace
Task IR: prompts
to avoid recursive rewriting.