context_archive
Save and upload a semantically compressed conversation as a Markdown file, preserving decisions, constraints, and unfinished work. Use dry_run to preview; failed uploads remain queued for retry.
Instructions
Save and upload a semantically compressed conversation as .md. When to use: after /kireo:compact has summarized the requested conversation rounds, and the user has asked to upload them. The host model does the compression; this tool redacts, writes the Markdown file, splits it losslessly and uploads it to the memory API. Always pass the conversation directory as cwd. Directory archives use their own namespace (different worktrees and same-named directories stay separate) and never change relay project keys. dry_run:true previews without side effects; otherwise invocation saves AND uploads. A failed or incomplete upload stays queued locally. Run compact again to retry. Returns the project, filename, local_path, namespace, snapshot_id, stored, deduped, outbox_pending, memory_ids and dashboard_url. Never call a queued archive uploaded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute directory of THIS conversation; always pass it explicitly. | |
| host | Yes | ||
| dry_run | No | Preview exact redacted upload without disk or network writes. | |
| summary | Yes | Markdown semantically compressed by the host from all requested conversation rounds. Preserve goals, decisions and reasons, constraints, results, corrections and unfinished work. Do not pass raw logs or invent missing history. | |
| session_id | Yes |