Skip to content

v0.36.0

Choose a tag to compare

@github-actions github-actions released this 11 Aug 01:40
· 1262 commits to master since this release

v0.36.0

Oh My Pi (OMP) support

Full OMP harness support, contributed by @Lynricsy (#256) with the strict child-argv contract validated by @randomvariable (#297):

  • npx @cortexkit/magic-context setup --harness omp / doctor --harness omp — auto-detection (including GUI installs and named profiles), minimum-version check, atomic config writes, --force repair.
  • doctor migrate --from opencode --to omp — migrates OpenCode session history to Pi/OMP JSONL and re-homes Magic Context compartments.
  • Pi-compatible extension registration via the explicit OMP manifest, dashboard session/model discovery for OMP roots, and a real OMP end-to-end CI lane.

Rust transform performance

The rust-mode pass pipeline dropped from ~600–900ms to well under 100ms steady-state on large sessions:

  • Incremental prefix projection and native-attachment caching in the module — unchanged history is no longer re-projected or re-encoded every pass (34.8x faster projection; module time ~15ms on 2,500-message sessions).
  • Last-known-good snapshot capture moved off the hot path (async digests; 0.36ms synchronous cost, was 100–240ms).
  • State-sync capability probes are cached per connection (eliminates 70–238ms tail spikes).
  • Transform passes carry per-stage timing brackets on both sides of the wire, so future regressions are attributable from the log line.

Reliability

  • Idle-dead module connections fail fast (5s deadline) with one in-pass reconnect retry instead of hanging ~27s and serving raw (#wedge).
  • A provably-oversized raw fallback now fails locally as a recoverable error instead of burning a guaranteed provider rejection.
  • Test-database isolation guards centralized so no test run from any directory can touch the production database (@randomvariable, #296).
  • Internal Magic Context worker agents are denied through Task routing — an explicit subagent_type could previously bypass the hidden-agent filter (@onedotmint, #287).

Fixes

  • Prompt-surface tool lists collapsed to one canonical source with a registry linking test — adding a tool can no longer silently degrade the light preset (#294, diagnosed by @iceteaSA).
  • The Claude tokenizer vocabulary is excluded from the eager plugin bundle (@onedotmint, #288, completing #286).
  • CI installs are lockfile-frozen across all jobs (@iceteaSA, #295/#299).
  • ctx_note surface conditions now compile to structured watch configurations at write time where possible (groundwork for the external-events plane; no behavior change — the dreamer keeps evaluating all conditions).

Database schema: v76 (additive columns on notes). Restart both OpenCode and Pi after upgrading.

Late additions (included in this tag)

  • Continued-lineage seam validation is directional instead of equality — fixes a production wedge where a long-running Claude Code session fenced on every pass after its first post-compaction historian fold.
  • Internal build: the retina-local-fs workspace package is consumed via project references and never appears in published manifests.