ck_context_pack
Build a compact, citation-enriched context bundle for the current task by combining task facts, proof state, and memory excerpts using an optional query.
Instructions
Build a compact, citation-enriched context bundle for the current session and task by combining task facts, proof state, resume highlights, and ranked memory excerpts. Read-only. query is an optional retrieval query; when omitted, ControlKeel synthesizes one from the current task title and session context. top_k controls how many memory hits to include (default 5). detail_level compact (default) keeps the bundle token-efficient. Prefer ck_context_pack over ck_context when you need a focused, query-driven bundle for a specific sub-task rather than the full session snapshot. Use ck_context at the start of a session for full mission state; use ck_context_pack mid-task to fetch targeted prior knowledge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail_level | No | ||
| project_root | No | Absolute path to the project root directory on the local filesystem. | |
| query | No | Optional explicit retrieval query. When omitted, ControlKeel synthesizes one from the current task and session. | |
| session_id | No | Unique session identifier for correlating findings, proofs, budget, and audit trail. | |
| task_id | No | Task identifier within the session for scoped operations. | |
| top_k | No | Maximum number of top-ranked results to return. |