ainl-context-compiler 0.1.2

LLM context-window assembly: multi-segment, role-aware, question-aware prompt orchestration for AINL hosts. Phase 6 of SELF_LEARNING_INTEGRATION_MAP. Distinct from `ainl-context-freshness` which gates tool execution based on repo-knowledge currency.
Documentation

ainl-context-compiler

Multi-segment, role-aware LLM context assembly for AINL hosts: system/user/history/tool blocks, optional graph-memory vitals, trajectory recap, and failure warnings.

  • mcp_ainl_prompt: short, static mcp_ainl_run / adapters cheatsheet text (MCP_AINL_RUN_ADAPTERS_CHEATSHEET, mcp_ainl_run_adapters_cheatsheet_segment()) for optional inclusion in whole-prompt compose when a host wants a compressed reminder alongside ainl_context_compiler.

  • Repository: https://github.com/sbhooley/armaraos

  • API reference: https://docs.rs/ainl-context-compiler

Feature flags pull in ainl-memory, ainl-failure-learning, ainl-context-freshness, ainl-semantic-tagger, and related crates. Distinct from ainl-context-freshness, which gates execution when context is stale.