build_context_packet
Build a compact, line-anchored MikieMCP packet for a coding-agent prompt. Uses the connected project; no cwd argument is needed. Automatically selects a context budget from the task and required evidence. Hard limits: max_files <= 12 and max_chars <= 20000 canonical JSON UTF-8 bytes. Call once for broad discovery. If ordinary reads are allowed, read named gaps directly; do not re-rank known paths. MCP-only: at most five additional targeted Mikie lookups per task; no raw fallback. Reuse complete excerpts. Stop when ready to edit/verify; do not chase unrelated graph rows. Never repeat an unchanged lookup. Stop MCP recovery on an error or no progress; state the gap.
promptrequiredmax_charsmax_filescontext_modeallow_noverifyanswerability_scoreexternal_verifier_availableestimated_raw_context_tokensruntime_provisioning_available