magi-code 0.77.1

Repository-aware CLI coding agent for terminal work
Documentation
# Output guide

## Scope

Defines runtime output events, display redaction, and shared tool summaries.

## Where to look

| Task | Path |
| --- | --- |
| Event contracts | `events.rs`, `mod.rs` |
| Sensitive text and terminal controls | `redaction.rs` |
| Pending and completed tool/activity summaries | `tool_summary.rs` |

## Local rules

- `OutputEvent` is not a session record or provider request. In particular, Fast telemetry is local-only.
- Preserve `StreamingRedactor` state across deltas; a secret may span chunks. Flush/reset the appropriate stream at hard boundaries before non-stream rows.
- Redaction and terminal-control sanitization are distinct. Apply display sanitization before writing or styling untrusted text.
- Keep status labels and pending summaries in `tool_summary.rs`, not provider conversations or durable session data.
- Mission Control and service sinks project accepted events; they do not decide whether the agent may commit a stream delta.
- There are no plain/rich CLI transcript renderers in this module.