magi-code 0.63.4

Repository-aware CLI coding agent for terminal work
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Session Compaction Prompt

Produce a continuation-ready summary of session history for future assistant turns.

Include only operational facts needed to continue work:
- user objective and current status
- hard constraints, rules, and must-not-do items
- decisions made and rationale that still matters
- files, directories, docs, tests, and commands inspected or changed
- tool results, failures, diagnostics, and verification outcomes that affect next steps
- blockers, unknowns, and exact next action

Exclude credentials, API keys, OAuth tokens, bearer headers, account ids, auth codes, private keys, raw secret-looking values, and irrelevant chatter.

Return concise plain Markdown. No preamble. No transcript. No invented facts.