Skip to content

Commit ed6b4e4

Browse files
docs: add v0.22.3 release notes
Co-authored-by: Alfonso [Magic Context] <288211368+alfonso-magic-context@users.noreply.github.com>
1 parent e898fbc commit ed6b4e4

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.alfonso/release-notes/v0.22.3.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# v0.22.3 — Tag-residue overflow fix, leaner internal agents, and log privacy
2+
3+
A focused patch: a community fix for runaway tag-marker corruption, Magic Context's own background agents no longer carry the user-facing context machinery, and dreamer logs stop printing absolute project paths.
4+
5+
## What's Fixed
6+
7+
- **Runaway `§N§` tag markers no longer corrupt chat history (#97).** When the model mimicked Magic Context's `§N§` tag notation in its own output, the persistence-boundary cleanup stripped the bare `§` character but left the digits behind — so `§40827§` became `40827`, which then accumulated across turns (`40827 40827 40827 …`) and could eventually blow up the prompt into a context overflow. Persisted assistant text now removes whole `§N§` pairs (digits and all), and tag-only "ghost" messages left over after a tool drop are pruned instead of lingering as empty parts. Thanks to **[@Zireael](https://github.com/Zireael)** for the fix.
8+
9+
- **Dreamer logs no longer print absolute project paths.** The dreamer, dream-timer, and git-commit log lines printed the full project directory (e.g. `dir=/Users/<you>/Work/<client-project>`), which carried your username and project name — and those lines flow into `doctor --issue` reports. They now log only the opaque project identity (`git:<sha>` / `dir:<hash>`), which still uniquely correlates a run for debugging without exposing anything sensitive.
10+
11+
## What's Changed
12+
13+
- **Magic Context's own background agents now bypass the Magic Context pipeline.** The historian, dreamer, sidekick, and memory-migration sessions are short-lived helpers with their own fixed instructions — but they were still being handed the full `## Magic Context` guidance block and run through the message transform (tagging, heuristic drops) like a normal session. That was wasted tokens and a second, contradictory identity on top of their real one. These internal sessions are now fully exempted from both the system-prompt injection and the message transform. No effect on your own sessions or on regular subagents.
14+
15+
## Upgrade
16+
17+
```bash
18+
npx @cortexkit/magic-context@latest doctor --force
19+
```
20+
21+
If OpenCode still loads a cached older plugin after upgrading, `--force` clears the cached install so the new version takes effect on next launch.

0 commit comments

Comments
 (0)