Skip to content

Local embeddings (Xenova/all-MiniLM-L6-v2) pin the opencode Worker at ~100% CPU from model load, starving the server event loop — persists from 0.38.0 through 0.42.5 #453

Description

@Ema-prowler

Short description

Once local embeddings load (Xenova/all-MiniLM-L6-v2) the opencode server Worker pins at ~100% CPU forever, starving the event loop so requests hang and abort queues (reproduced 0.38.0-0.42.5; workaround: embedding.provider=off).

What happened?

Summary
With the default local embedding provider enabled, once the plugin logs embedding model loaded: Xenova/all-MiniLM-L6-v2, the opencode server Worker thread stays pinned at ~100% of a CPU core indefinitely. Since the plugin runs inside the same Bun Worker that hosts the opencode server, the event loop is starved: LLM requests take minutes, tool calls and abort (Escape) queue up, and the session appears hung.
Environment

  • @cortexkit/opencode-magic-context: reproduced on 0.38.0, still present on 0.42.5 (current at time of report)
  • opencode 1.18.31 (Bun runtime), Linux x86_64
  • Embedding config: default local provider (Xenova/all-MiniLM-L6-v2, fp32)
  • Large session (~250K token context / large opencode.db) — may be incidental
    Steps to reproduce
  1. Enable the plugin with the default local embedding provider.
  2. Use opencode normally until the embedding subsystem activates (proactive memory embedding, auto-search hint, or the 15-minute dream-timer sweep).
  3. Wait for [magic-context] embedding model loaded: Xenova/all-MiniLM-L6-v2 in the log.
    Actual behavior
  • The opencode Worker thread remains at ~100% CPU from that moment on, even when idle.
  • Measured: the Worker accumulated 1101s of CPU in 1102s of wall clock since the model-load log line (constant ~100% of one core); confirmed with a second sample of exactly 60s CPU in 60s.
  • Thread sum_exec_runtime ≈ elapsed time since model load; before the load it was ~0%, so the spin starts exactly at model load.
  • While pinned: LLM requests take minutes, Escape/abort is not processed, the session feels stuck.
  • Not file scanning: the fff file-picker threads (fff-bg-*, fff-watcher) stay at ~0% CPU even on a large project.
    Expected behavior
    Embeddings should be computed on demand and the Worker should return to idle after a few seconds. In many sessions this is the case — CPU stays normal and the plugin never triggers the spin.
    Intermittence
    The issue only appears when the embedding subsystem actually loads the model in that instance. If it is never triggered, CPU stays normal, which is why it happens in some sessions/restarts and not others.
    Workaround (confirmed)
    Set embedding.provider: "off" in magic-context.jsonc (or disable it from the dashboard) and restart opencode. CPU drops back to idle and the same session responds normally. Confirmed on both 0.38.0 and 0.42.5.
    Suggested fixes (in order of preference)
  1. Eliminate the spin (preferred). Run the local ONNX session in single-threaded mode (env.backends.onnx.wasm.numThreads = 1) and/or use a runtime configuration that does not busy-wait between runs. ORT WASM builds currently provide no way to stop intra-op thread spinning (see [Performance][CPU] High CPU usage in onnxruntime webassembly build for CPP microsoft/onnxruntime#26026), so single-threaded mode is the practical fix. This frees the Worker thread completely.
  2. Isolate the embedding work. Move the embedding pipeline into a dedicated Worker thread or child process so the opencode server event loop stays responsive even if the model spins. Note: this mitigates the hang, but the ~1 core CPU burn would remain.
  3. Avoid local compute. Use embedding.provider: "openai-compatible" (remote embeddings) or "off" (FTS5-only fallback). This is the currently confirmed workaround.
    Notes / possible root causes

Diagnostics

## Title
Local embeddings (Xenova/all-MiniLM-L6-v2) pin the opencode Worker at ~100% CPU from model load, starving the server event loop — persists from 0.38.0 through 0.42.5

## Description
Once local embeddings load (Xenova/all-MiniLM-L6-v2) the opencode server Worker pins at ~100% CPU forever, starving the event loop so requests hang and abort queues (reproduced 0.38.0-0.42.5; workaround: embedding.provider=off).

## Environment
- Plugin: v0.42.5
- OS: linux x64
- Node: v24.16.0
- OpenCode: 1.18.31

## Configuration
Config from `~/.config/cortexkit/magic-context.jsonc`:

{
  "$schema": "https://raw.githubusercontent.com/cortexkit/magic-context/master/assets/magic-context.sch<USER>.json",
  "historian": {
    "opencode": {
      "model": "opencode-go/mimo-v2.5",
      "fallback_models": [
        "opencode-go/mimo-v2.5"
      ]
    },
    "pi": {
      "model": "opencode-go/deepseek-v4-flash",
      "fallback_models": [
        "opencode-go/deepseek-v4-flash",
        "opencode-go/hy3"
      ]
    }
  },
  "dreamer": {
    "inject_docs": true,
    "tasks": {
      "map-memories": {
        "schedule": "0 */6 * * *"
      },
      "verify": {
        "schedule": "0 */6 * * *"
      },
      "verify-broad": {
        "schedule": "0 */6 * * *"
      },
      "curate": {
        "schedule": "0 */6 * * *"
      },
      "compress-cues": {
        "schedule": "0 */6 * * *"
      },
      "classify-memories": {
        "schedule": "0 */6 * * *"
      },
      "retrospective": {
        "schedule": "0 */6 * * *"
      },
      "maintain-docs": {
        "schedule": "0 */6 * * *"
      },
      "evaluate-smart-notes": {
        "schedule": "0 */6 * * *"
      },
      "review-user-memories": {
        "schedule": "0 */6 * * *",
        "promotion_threshold": 2
      },
      "promote-primers": {
        "schedule": "0 */6 * * *"
      },
      "refresh-primers": {
        "schedule": "0 */6 * * *"
      }
    },
    "opencode": {
      "model": "opencode-go/mimo-v2.5",
      "fallback_models": [
        "opencode-go/mimo-v2.5"
      ]
    },
    "pi": {
      "model": "opencode-go/deepseek-v4-flash",
      "fallback_models": [
        "opencode-go/deepseek-v4-flash",
        "opencode-go/hy3"
      ]
    }
  },
  "sqlite": {
    "mmap_size_mb": 4096,
    "cache_size_mb": 1024
  },
  "language": "es",
  "embedding": {
    "provider": "local"
  }
}


## Diagnostics
- Timestamp: 2026-09-15T23:17:56.557Z
- Plugin: v0.42.5
- OS: linux x64
- Node: v24.16.0
- OpenCode installed: true [cli] (1.18.31)
- OpenCode session database: ~/.local/share/opencode/opencode.db (source=discovered)
- Plugin registered in opencode config: true
- Plugin registered in tui config: true
- magic-context.jsonc parse error: none
- Conflicts detected: none
- MC compaction mode: on
- Native compaction: auto=false, prune=false

### OpenCode installations
| Marker | Path | Version | Source |
| --- | --- | --- | --- |
| [active] | `~/.opencode/bin/opencode` | 1.18.31 | PATH |
|  | `/usr/local/bin/opencode` | 1.18.31 | PATH |

### Config paths

{
  "configDir": "~/.config/opencode",
  "opencodeConfig": "~/.config/opencode/opencode.json",
  "opencodeConfigFormat": "json",
  "magicContextConfig": "~/.config/cortexkit/magic-context.jsonc",
  "tuiConfig": "~/.config/opencode/tui.json",
  "tuiConfigFormat": "json",
  "omoConfig": null
}


### magic-context.jsonc flags

{
  "$schema": "https://raw.githubusercontent.com/cortexkit/magic-context/master/assets/magic-context.sch<USER>.json",
  "historian": {
    "opencode": {
      "model": "opencode-go/mimo-v2.5",
      "fallback_models": [
        "opencode-go/mimo-v2.5"
      ]
    },
    "pi": {
      "model": "opencode-go/deepseek-v4-flash",
      "fallback_models": [
        "opencode-go/deepseek-v4-flash",
        "opencode-go/hy3"
      ]
    }
  },
  "dreamer": {
    "inject_docs": true,
    "tasks": {
      "map-memories": {
        "schedule": "0 */6 * * *"
      },
      "verify": {
        "schedule": "0 */6 * * *"
      },
      "verify-broad": {
        "schedule": "0 */6 * * *"
      },
      "curate": {
        "schedule": "0 */6 * * *"
      },
      "compress-cues": {
        "schedule": "0 */6 * * *"
      },
      "classify-memories": {
        "schedule": "0 */6 * * *"
      },
      "retrospective": {
        "schedule": "0 */6 * * *"
      },
      "maintain-docs": {
        "schedule": "0 */6 * * *"
      },
      "evaluate-smart-notes": {
        "schedule": "0 */6 * * *"
      },
      "review-user-memories": {
        "schedule": "0 */6 * * *",
        "promotion_threshold": 2
      },
      "promote-primers": {
        "schedule": "0 */6 * * *"
      },
      "refresh-primers": {
        "schedule": "0 */6 * * *"
      }
    },
    "opencode": {
      "model": "opencode-go/mimo-v2.5",
      "fallback_models": [
        "opencode-go/mimo-v2.5"
      ]
    },
    "pi": {
      "model": "opencode-go/deepseek-v4-flash",
      "fallback_models": [
        "opencode-go/deepseek-v4-flash",
        "opencode-go/hy3"
      ]
    }
  },
  "sqlite": {
    "mmap_size_mb": 4096,
    "cache_size_mb": 1024
  },
  "language": "es",
  "embedding": {
    "provider": "local"
  }
}


### Plugin cache

{
  "path": "~/.cache/opencode/packages/@cortexkit/opencode-magic-context@latest",
  "cached": "0.42.5",
  "latest": "0.42.5"
}


### Storage

{
  "path": "~/.local/share/cortexkit/magic-context",
  "source": "platform default",
  "exists": true,
  "context_db_size": "133.3 MB"
}


### Recent sessions
_No recent OpenCode sessions found (or OpenCode DB unavailable on this runtime)._

### Historian dumps
(Metadata only — XML content is not included in this report.)
Dumps are stored per-project under `<project>/.cortexkit/magic-context/historian/`.

{
  "byProject": [],
  "legacyDumps": {
    "dir": "/tmp/opencode/magic-context/historian",
    "count": 0,
    "recent": []
  }
}


### Historian failures (session_meta)
_Note: this counter RESETS to 0 on every successful run — see 'Historian runs' below for the durable history._
_No sessions with historian failures._

### Historian runs (durable telemetry)
Per-session success/failure/no-op counts from `historian_runs` (never reset).
_No historian runs recorded (or schema predates v24)._

### Log files
- /tmp/opencode/magic-context/magic-context.log: exists=true, grammar=legacy, lines=21248, size=3238 KB
- ~/.local/share/cortexkit/magic-context/logs/magic-context.opencode.log: exists=false, grammar=unknown, lines=0, size=0 KB
- ~/.local/share/cortexkit/magic-context/logs/magic-context.log: exists=false, grammar=unknown, lines=0, size=0 KB

## Historian failure signals (log, sanitized)
_No historian failure log lines found in recent history._

## Recent errors (last 20, sanitized)
_No error-shaped log lines found in recent history._

## Log (last 400 lines, sanitized)

[2026-09-15T22:41:01.273Z] [magic-context][ses_REDACTED] transform stage: stage=emergencyRecoveryBlock elapsed=0.7ms
[2026-09-15T22:41:01.290Z] [magic-context][ses_REDACTED] compartment trigger: not firing at 53.5% — below proactive floor (63%)
[2026-09-15T22:41:01.290Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentTrigger elapsed=16.4ms
[2026-09-15T22:41:01.290Z] [magic-context][ses_REDACTED] transform stage: stage=prepareCompartmentInjection elapsed=0.1ms
[2026-09-15T22:41:01.290Z] [magic-context][ses_REDACTED] temporal: injected 4 gap markers
[2026-09-15T22:41:01.290Z] [magic-context][ses_REDACTED] transform stage: stage=injectTemporalMarkers elapsed=0.1ms
[2026-09-15T22:41:01.290Z] [magic-context][ses_REDACTED] transform stage: stage=tag.initFromDb elapsed=0.0ms
[2026-09-15T22:41:01.291Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getSourceContents elapsed=0.4ms
[2026-09-15T22:41:01.364Z] [magic-context][ses_REDACTED] transform stage: stage=tag.loop elapsed=73.4ms
[2026-09-15T22:41:01.364Z] [magic-context][ses_REDACTED] transform stage: stage=tag.deriveOwner elapsed=10.6ms
[2026-09-15T22:41:01.364Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getToolTag elapsed=0.1ms
[2026-09-15T22:41:01.364Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignTag elapsed=2.9ms
[2026-09-15T22:41:01.364Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignToolTag elapsed=0.7ms
[2026-09-15T22:41:01.364Z] [magic-context][ses_REDACTED] transform stage: stage=tag.saveSource elapsed=1.4ms
[2026-09-15T22:41:01.364Z] [magic-context][ses_REDACTED] transform stage: stage=tagMessages elapsed=74.3ms
[2026-09-15T22:41:01.365Z] [magic-context][ses_REDACTED] transform stage: stage=getActiveTagsBySession elapsed=0.3ms count=121
[2026-09-15T22:41:01.365Z] [magic-context][ses_REDACTED] transform stage: stage=getDroppedTagsByNumbers elapsed=0.3ms targets=186 fetched=65
[2026-09-15T22:41:01.365Z] [magic-context][ses_REDACTED] transform stage: stage=applyFlushedStatuses elapsed=0.1ms
[2026-09-15T22:41:01.365Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:flushed elapsed=0.4ms
[2026-09-15T22:41:01.365Z] [magic-context][ses_REDACTED] transform stage: stage=stripStructuralNoise elapsed=0.0ms strippedParts=0
[2026-09-15T22:41:01.365Z] [magic-context][ses_REDACTED] transform stage: stage=stripClearedReasoning elapsed=0.0ms strippedParts=0
[2026-09-15T22:41:01.366Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentPhase elapsed=0.2ms
[2026-09-15T22:41:01.368Z] [magic-context][ses_REDACTED] heuristics WILL NOT RUN — reason=scheduler_defer
[2026-09-15T22:41:01.368Z] [magic-context][ses_REDACTED] pending ops WILL NOT APPLY — reason=scheduler_defer pendingOps=11 context=53.5%
[2026-09-15T22:41:01.368Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:heuristics elapsed=0.0ms
[2026-09-15T22:41:01.395Z] [magic-context][ses_REDACTED] transform: injected m[0]/m[1] (r<USER>terialized=false, reason=cache_hit)
[2026-09-15T22:41:01.396Z] [magic-context][ses_REDACTED] transform stage: stage=pp.injectM0M1 elapsed=26.8ms
[2026-09-15T22:41:01.396Z] [magic-context][ses_REDACTED] transform stage: stage=pp.placeholderNeutralize elapsed=0.0ms
[2026-09-15T22:41:01.396Z] [magic-context][ses_REDACTED] transform stage: stage=pp.nudgeAndSticky elapsed=0.1ms
[2026-09-15T22:41:01.398Z] [magic-context][ses_REDACTED] note-nudge: deferring — current user message msg_REDACTED is same as trigger-time message
[2026-09-15T22:41:01.398Z] [magic-context][ses_REDACTED] transform stage: stage=pp.noteAndTodoSynthesis elapsed=2.3ms
[2026-09-15T22:41:02.177Z] [magic-context][ses_REDACTED] auto-search: attached hint to msg_REDACTED (10 fragments, top score 1.000)
[2026-09-15T22:41:02.177Z] [magic-context][ses_REDACTED] transform stage: stage=pp.autoSearchHint elapsed=778.9ms
[2026-09-15T22:41:02.177Z] [magic-context][ses_REDACTED] final representation: clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:41:02.177Z] [magic-context][ses_REDACTED] transform stage: stage=finalizeMessageRepresentation elapsed=0.1ms clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:41:02.199Z] [magic-context][ses_REDACTED] transform: final-wire telemetry estimate=unavailable trusted=false conversation=unknown tools=unknown system=unknown toolDefinitions=unknown tail=[assistant:step-start+reasoning+tool+step-finish, assistant:step-start+reasoning+text+step-finish, user:text]
[2026-09-15T22:41:02.256Z] [magic-context][ses_REDACTED] transform stage: stage=postTransformPhase elapsed=888.4ms
[2026-09-15T22:41:02.282Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=88331 ratio=0.2651 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:41:02.282Z] [magic-context][ses_REDACTED] channel2 evaluation: ctx_reduce=callable U=0 T=0 ratio=0.0000 band=quiet lease=empty->empty verdict=hold reason=baseline-unevaluable
[2026-09-15T22:41:02.282Z] [magic-context][ses_REDACTED] transform completed in 1010.6ms (124 messages, 186 targets, watermark: 14421)
[2026-09-15T22:41:03.254Z] [magic-context][ses_REDACTED] injected generic guidance into system prompt (ctxReduce=true, subagent=false, subagentReduceMode=false)
[2026-09-15T22:41:17.394Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=2004 cache.read=401792 cache.write=0
[2026-09-15T22:41:17.395Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=403796 contextLimit=750000 percentage=53.8%
[2026-09-15T22:41:17.449Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=2004 cache.read=401792 cache.write=0
[2026-09-15T22:41:17.450Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=403796 contextLimit=750000 percentage=53.8%
[2026-09-15T22:42:02.283Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=false tokens.input=0 cache.read=0 cache.write=0
[2026-09-15T22:42:02.350Z] [magic-context][ses_REDACTED] transform stage: stage=findSessionId elapsed=0.4ms messages=189
[2026-09-15T22:42:02.350Z] [magic-context][ses_REDACTED] transform stage: stage=findLastUserMessageId elapsed=0.0ms
[2026-09-15T22:42:02.351Z] [magic-context][ses_REDACTED] transform stage: stage=getOrCreateSessionMeta elapsed=0.4ms
[2026-09-15T22:42:02.351Z] [magic-context][ses_REDACTED] transform stage: stage=modelChangeDetection elapsed=0.0ms
[2026-09-15T22:42:02.351Z] [magic-context][ses_REDACTED] transform stage: stage=schedulerAndUsage elapsed=0.0ms
[2026-09-15T22:42:02.351Z] [magic-context][ses_REDACTED] transform scheduler: percentage=53.8% inputTokens=403796 cacheTtl=5m lastResponseTime=1789512122283 decision=defer
[2026-09-15T22:42:02.352Z] [magic-context][ses_REDACTED] transform stage: stage=emergencyRecoveryBlock elapsed=0.6ms
[2026-09-15T22:42:02.365Z] [magic-context][ses_REDACTED] compartment trigger: not firing at 53.8% — below proactive floor (63%)
[2026-09-15T22:42:02.365Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentTrigger elapsed=12.8ms
[2026-09-15T22:42:02.365Z] [magic-context][ses_REDACTED] transform stage: stage=prepareCompartmentInjection elapsed=0.1ms
[2026-09-15T22:42:02.365Z] [magic-context][ses_REDACTED] temporal: injected 4 gap markers
[2026-09-15T22:42:02.365Z] [magic-context][ses_REDACTED] transform stage: stage=injectTemporalMarkers elapsed=0.1ms
[2026-09-15T22:42:02.365Z] [magic-context][ses_REDACTED] transform stage: stage=tag.initFromDb elapsed=0.1ms
[2026-09-15T22:42:02.365Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getSourceContents elapsed=0.4ms
[2026-09-15T22:42:02.434Z] [magic-context][ses_REDACTED] transform stage: stage=tag.loop elapsed=68.4ms
[2026-09-15T22:42:02.434Z] [magic-context][ses_REDACTED] transform stage: stage=tag.deriveOwner elapsed=9.7ms
[2026-09-15T22:42:02.434Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getToolTag elapsed=0.1ms
[2026-09-15T22:42:02.434Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignTag elapsed=2.2ms
[2026-09-15T22:42:02.434Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignToolTag elapsed=0.6ms
[2026-09-15T22:42:02.434Z] [magic-context][ses_REDACTED] transform stage: stage=tag.saveSource elapsed=1.4ms
[2026-09-15T22:42:02.434Z] [magic-context][ses_REDACTED] transform stage: stage=tagMessages elapsed=69.3ms
[2026-09-15T22:42:02.434Z] [magic-context][ses_REDACTED] transform stage: stage=getActiveTagsBySession elapsed=0.2ms count=123
[2026-09-15T22:42:02.435Z] [magic-context][ses_REDACTED] transform stage: stage=getDroppedTagsByNumbers elapsed=0.3ms targets=188 fetched=65
[2026-09-15T22:42:02.435Z] [magic-context][ses_REDACTED] transform stage: stage=applyFlushedStatuses elapsed=0.1ms
[2026-09-15T22:42:02.435Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:flushed elapsed=0.4ms
[2026-09-15T22:42:02.435Z] [magic-context][ses_REDACTED] transform stage: stage=stripStructuralNoise elapsed=0.0ms strippedParts=0
[2026-09-15T22:42:02.435Z] [magic-context][ses_REDACTED] transform stage: stage=stripClearedReasoning elapsed=0.0ms strippedParts=0
[2026-09-15T22:42:02.435Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentPhase elapsed=0.2ms
[2026-09-15T22:42:02.437Z] [magic-context][ses_REDACTED] heuristics WILL NOT RUN — reason=scheduler_defer
[2026-09-15T22:42:02.437Z] [magic-context][ses_REDACTED] pending ops WILL NOT APPLY — reason=scheduler_defer pendingOps=11 context=53.8%
[2026-09-15T22:42:02.437Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:heuristics elapsed=0.0ms
[2026-09-15T22:42:02.464Z] [magic-context][ses_REDACTED] transform: injected m[0]/m[1] (r<USER>terialized=false, reason=cache_hit)
[2026-09-15T22:42:02.464Z] [magic-context][ses_REDACTED] transform stage: stage=pp.injectM0M1 elapsed=26.1ms
[2026-09-15T22:42:02.464Z] [magic-context][ses_REDACTED] transform stage: stage=pp.placeholderNeutralize elapsed=0.0ms
[2026-09-15T22:42:02.464Z] [magic-context][ses_REDACTED] transform stage: stage=pp.nudgeAndSticky elapsed=0.1ms
[2026-09-15T22:42:02.464Z] [magic-context][ses_REDACTED] note-nudge: triggerPending but no notes found, skipping
[2026-09-15T22:42:02.466Z] [magic-context][ses_REDACTED] transform stage: stage=pp.noteAndTodoSynthesis elapsed=2.4ms
[2026-09-15T22:42:02.468Z] [magic-context][ses_REDACTED] transform stage: stage=pp.autoSearchHint elapsed=2.0ms
[2026-09-15T22:42:02.469Z] [magic-context][ses_REDACTED] final representation: clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:42:02.469Z] [magic-context][ses_REDACTED] transform stage: stage=finalizeMessageRepresentation elapsed=0.1ms clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:42:02.489Z] [magic-context][ses_REDACTED] transform: final-wire telemetry estimate=unavailable trusted=false conversation=unknown tools=unknown system=unknown toolDefinitions=unknown tail=[user:text, assistant:step-start+reasoning+text+step-finish, user:text]
[2026-09-15T22:42:02.546Z] [magic-context][ses_REDACTED] transform stage: stage=postTransformPhase elapsed=109.1ms
[2026-09-15T22:42:02.571Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=88331 ratio=0.2651 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:42:02.571Z] [magic-context][ses_REDACTED] channel2 evaluation: ctx_reduce=callable U=0 T=0 ratio=0.0000 band=quiet lease=empty->empty verdict=hold reason=baseline-unevaluable
[2026-09-15T22:42:02.571Z] [magic-context][ses_REDACTED] transform completed in 221.4ms (126 messages, 188 targets, watermark: 14421)
[2026-09-15T22:42:03.537Z] [magic-context][ses_REDACTED] injected generic guidance into system prompt (ctxReduce=true, subagent=false, subagentReduceMode=false)
[2026-09-15T22:42:32.365Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=88426 ratio=0.2648 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:42:32.372Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=798 cache.read=404864 cache.write=0
[2026-09-15T22:42:32.373Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=405662 contextLimit=750000 percentage=54.1%
[2026-09-15T22:42:32.427Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=798 cache.read=404864 cache.write=0
[2026-09-15T22:42:32.428Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=405662 contextLimit=750000 percentage=54.1%
[2026-09-15T22:42:34.014Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=false tokens.input=0 cache.read=0 cache.write=0
[2026-09-15T22:42:34.083Z] [magic-context][ses_REDACTED] transform stage: stage=findSessionId elapsed=0.4ms messages=190
[2026-09-15T22:42:34.083Z] [magic-context][ses_REDACTED] transform stage: stage=findLastUserMessageId elapsed=0.0ms
[2026-09-15T22:42:34.084Z] [magic-context][ses_REDACTED] transform stage: stage=getOrCreateSessionMeta elapsed=0.5ms
[2026-09-15T22:42:34.084Z] [magic-context][ses_REDACTED] transform stage: stage=modelChangeDetection elapsed=0.0ms
[2026-09-15T22:42:34.084Z] [magic-context][ses_REDACTED] transform stage: stage=schedulerAndUsage elapsed=0.0ms
[2026-09-15T22:42:34.085Z] [magic-context][ses_REDACTED] transform scheduler: percentage=54.1% inputTokens=405662 cacheTtl=5m lastResponseTime=1789512154014 decision=defer
[2026-09-15T22:42:34.085Z] [magic-context][ses_REDACTED] transform stage: stage=emergencyRecoveryBlock elapsed=1.0ms
[2026-09-15T22:42:34.099Z] [magic-context][ses_REDACTED] compartment trigger: not firing at 54.1% — below proactive floor (63%)
[2026-09-15T22:42:34.099Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentTrigger elapsed=13.6ms
[2026-09-15T22:42:34.099Z] [magic-context][ses_REDACTED] transform stage: stage=prepareCompartmentInjection elapsed=0.1ms
[2026-09-15T22:42:34.099Z] [magic-context][ses_REDACTED] temporal: injected 4 gap markers
[2026-09-15T22:42:34.099Z] [magic-context][ses_REDACTED] transform stage: stage=injectTemporalMarkers elapsed=0.1ms
[2026-09-15T22:42:34.099Z] [magic-context][ses_REDACTED] transform stage: stage=tag.initFromDb elapsed=0.0ms
[2026-09-15T22:42:34.100Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getSourceContents elapsed=0.4ms
[2026-09-15T22:42:34.165Z] [magic-context][ses_REDACTED] transform stage: stage=tag.loop elapsed=65.6ms
[2026-09-15T22:42:34.165Z] [magic-context][ses_REDACTED] transform stage: stage=tag.deriveOwner elapsed=9.7ms
[2026-09-15T22:42:34.165Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getToolTag elapsed=0.1ms
[2026-09-15T22:42:34.165Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignTag elapsed=0.2ms
[2026-09-15T22:42:34.165Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignToolTag elapsed=2.1ms
[2026-09-15T22:42:34.165Z] [magic-context][ses_REDACTED] transform stage: stage=tag.saveSource elapsed=0.0ms
[2026-09-15T22:42:34.166Z] [magic-context][ses_REDACTED] transform stage: stage=tagMessages elapsed=66.5ms
[2026-09-15T22:42:34.166Z] [magic-context][ses_REDACTED] transform stage: stage=getActiveTagsBySession elapsed=0.2ms count=124
[2026-09-15T22:42:34.166Z] [magic-context][ses_REDACTED] transform stage: stage=getDroppedTagsByNumbers elapsed=0.3ms targets=189 fetched=65
[2026-09-15T22:42:34.166Z] [magic-context][ses_REDACTED] transform stage: stage=applyFlushedStatuses elapsed=0.1ms
[2026-09-15T22:42:34.166Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:flushed elapsed=0.3ms
[2026-09-15T22:42:34.166Z] [magic-context][ses_REDACTED] transform stage: stage=stripStructuralNoise elapsed=0.0ms strippedParts=0
[2026-09-15T22:42:34.166Z] [magic-context][ses_REDACTED] transform stage: stage=stripClearedReasoning elapsed=0.0ms strippedParts=0
[2026-09-15T22:42:34.167Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentPhase elapsed=0.2ms
[2026-09-15T22:42:34.169Z] [magic-context][ses_REDACTED] heuristics WILL NOT RUN — reason=scheduler_defer
[2026-09-15T22:42:34.169Z] [magic-context][ses_REDACTED] pending ops WILL NOT APPLY — reason=scheduler_defer pendingOps=11 context=54.1%
[2026-09-15T22:42:34.169Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:heuristics elapsed=0.0ms
[2026-09-15T22:42:34.194Z] [magic-context][ses_REDACTED] transform: injected m[0]/m[1] (r<USER>terialized=false, reason=cache_hit)
[2026-09-15T22:42:34.195Z] [magic-context][ses_REDACTED] transform stage: stage=pp.injectM0M1 elapsed=25.4ms
[2026-09-15T22:42:34.195Z] [magic-context][ses_REDACTED] transform stage: stage=pp.placeholderNeutralize elapsed=0.0ms
[2026-09-15T22:42:34.195Z] [magic-context][ses_REDACTED] transform stage: stage=pp.nudgeAndSticky elapsed=0.1ms
[2026-09-15T22:42:34.195Z] [magic-context][ses_REDACTED] transform stage: stage=pp.noteAndTodoSynthesis elapsed=0.2ms
[2026-09-15T22:42:34.195Z] [magic-context][ses_REDACTED] transform stage: stage=pp.autoSearchHint elapsed=0.2ms
[2026-09-15T22:42:34.195Z] [magic-context][ses_REDACTED] final representation: clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:42:34.195Z] [magic-context][ses_REDACTED] transform stage: stage=finalizeMessageRepresentation elapsed=0.0ms clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:42:34.213Z] [magic-context][ses_REDACTED] transform: final-wire telemetry estimate=unavailable trusted=false conversation=unknown tools=unknown system=unknown toolDefinitions=unknown tail=[assistant:step-start+reasoning+text+step-finish, user:text, assistant:step-start+reasoning+tool+step-finish]
[2026-09-15T22:42:34.213Z] [magic-context][ses_REDACTED] transform stage: stage=postTransformPhase elapsed=44.8ms
[2026-09-15T22:42:34.238Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=88426 ratio=0.2648 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:42:34.238Z] [magic-context][ses_REDACTED] channel2 evaluation: ctx_reduce=callable U=0 T=0 ratio=0.0000 band=quiet lease=empty->empty verdict=hold reason=baseline-unevaluable
[2026-09-15T22:42:34.238Z] [magic-context][ses_REDACTED] transform completed in 155.2ms (127 messages, 189 targets, watermark: 14421)
[2026-09-15T22:42:34.362Z] [magic-context][ses_REDACTED] injected generic guidance into system prompt (ctxReduce=true, subagent=false, subagentReduceMode=false)
[2026-09-15T22:42:47.625Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=88748 ratio=0.2639 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:42:47.638Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=149 cache.read=409728 cache.write=0
[2026-09-15T22:42:47.639Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=409877 contextLimit=750000 percentage=54.7%
[2026-09-15T22:42:47.696Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=149 cache.read=409728 cache.write=0
[2026-09-15T22:42:47.697Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=409877 contextLimit=750000 percentage=54.7%
[2026-09-15T22:42:49.324Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=false tokens.input=0 cache.read=0 cache.write=0
[2026-09-15T22:42:49.389Z] [magic-context][ses_REDACTED] transform stage: stage=findSessionId elapsed=0.2ms messages=191
[2026-09-15T22:42:49.389Z] [magic-context][ses_REDACTED] transform stage: stage=findLastUserMessageId elapsed=0.0ms
[2026-09-15T22:42:49.390Z] [magic-context][ses_REDACTED] transform stage: stage=getOrCreateSessionMeta elapsed=0.5ms
[2026-09-15T22:42:49.390Z] [magic-context][ses_REDACTED] transform stage: stage=modelChangeDetection elapsed=0.0ms
[2026-09-15T22:42:49.390Z] [magic-context][ses_REDACTED] transform stage: stage=schedulerAndUsage elapsed=0.0ms
[2026-09-15T22:42:49.390Z] [magic-context][ses_REDACTED] transform scheduler: percentage=54.7% inputTokens=409877 cacheTtl=5m lastResponseTime=1789512169324 decision=defer
[2026-09-15T22:42:49.390Z] [magic-context][ses_REDACTED] transform stage: stage=emergencyRecoveryBlock elapsed=0.6ms
[2026-09-15T22:42:49.398Z] [magic-context][ses_REDACTED] compartment trigger: not firing at 54.7% — below proactive floor (63%)
[2026-09-15T22:42:49.398Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentTrigger elapsed=7.3ms
[2026-09-15T22:42:49.398Z] [magic-context][ses_REDACTED] transform stage: stage=prepareCompartmentInjection elapsed=0.0ms
[2026-09-15T22:42:49.398Z] [magic-context][ses_REDACTED] temporal: injected 4 gap markers
[2026-09-15T22:42:49.398Z] [magic-context][ses_REDACTED] transform stage: stage=injectTemporalMarkers elapsed=0.1ms
[2026-09-15T22:42:49.398Z] [magic-context][ses_REDACTED] transform stage: stage=tag.initFromDb elapsed=0.0ms
[2026-09-15T22:42:49.399Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getSourceContents elapsed=0.4ms
[2026-09-15T22:42:49.467Z] [magic-context][ses_REDACTED] transform stage: stage=tag.loop elapsed=68.1ms
[2026-09-15T22:42:49.467Z] [magic-context][ses_REDACTED] transform stage: stage=tag.deriveOwner elapsed=10.1ms
[2026-09-15T22:42:49.467Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getToolTag elapsed=0.1ms
[2026-09-15T22:42:49.467Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignTag elapsed=0.2ms
[2026-09-15T22:42:49.467Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignToolTag elapsed=2.0ms
[2026-09-15T22:42:49.467Z] [magic-context][ses_REDACTED] transform stage: stage=tag.saveSource elapsed=0.0ms
[2026-09-15T22:42:49.467Z] [magic-context][ses_REDACTED] transform stage: stage=tagMessages elapsed=68.9ms
[2026-09-15T22:42:49.467Z] [magic-context][ses_REDACTED] transform stage: stage=getActiveTagsBySession elapsed=0.2ms count=125
[2026-09-15T22:42:49.468Z] [magic-context][ses_REDACTED] transform stage: stage=getDroppedTagsByNumbers elapsed=0.3ms targets=190 fetched=65
[2026-09-15T22:42:49.468Z] [magic-context][ses_REDACTED] transform stage: stage=applyFlushedStatuses elapsed=0.1ms
[2026-09-15T22:42:49.468Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:flushed elapsed=0.4ms
[2026-09-15T22:42:49.468Z] [magic-context][ses_REDACTED] transform stage: stage=stripStructuralNoise elapsed=0.0ms strippedParts=0
[2026-09-15T22:42:49.468Z] [magic-context][ses_REDACTED] transform stage: stage=stripClearedReasoning elapsed=0.0ms strippedParts=0
[2026-09-15T22:42:49.468Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentPhase elapsed=0.2ms
[2026-09-15T22:42:49.470Z] [magic-context][ses_REDACTED] heuristics WILL NOT RUN — reason=scheduler_defer
[2026-09-15T22:42:49.470Z] [magic-context][ses_REDACTED] pending ops WILL NOT APPLY — reason=scheduler_defer pendingOps=11 context=54.7%
[2026-09-15T22:42:49.470Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:heuristics elapsed=0.0ms
[2026-09-15T22:42:49.496Z] [magic-context][ses_REDACTED] transform: injected m[0]/m[1] (r<USER>terialized=false, reason=cache_hit)
[2026-09-15T22:42:49.496Z] [magic-context][ses_REDACTED] transform stage: stage=pp.injectM0M1 elapsed=26.2ms
[2026-09-15T22:42:49.496Z] [magic-context][ses_REDACTED] transform stage: stage=pp.placeholderNeutralize elapsed=0.0ms
[2026-09-15T22:42:49.496Z] [magic-context][ses_REDACTED] transform stage: stage=pp.nudgeAndSticky elapsed=0.1ms
[2026-09-15T22:42:49.496Z] [magic-context][ses_REDACTED] transform stage: stage=pp.noteAndTodoSynthesis elapsed=0.1ms
[2026-09-15T22:42:49.497Z] [magic-context][ses_REDACTED] transform stage: stage=pp.autoSearchHint elapsed=0.2ms
[2026-09-15T22:42:49.497Z] [magic-context][ses_REDACTED] final representation: clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:42:49.497Z] [magic-context][ses_REDACTED] transform stage: stage=finalizeMessageRepresentation elapsed=0.0ms clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:42:49.516Z] [magic-context][ses_REDACTED] transform: final-wire telemetry estimate=unavailable trusted=false conversation=unknown tools=unknown system=unknown toolDefinitions=unknown tail=[user:text, assistant:step-start+reasoning+tool+step-finish, assistant:step-start+reasoning+tool+step-finish]
[2026-09-15T22:42:49.516Z] [magic-context][ses_REDACTED] transform stage: stage=postTransformPhase elapsed=47.0ms
[2026-09-15T22:42:49.541Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=88748 ratio=0.2639 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:42:49.542Z] [magic-context][ses_REDACTED] channel2 evaluation: ctx_reduce=callable U=0 T=0 ratio=0.0000 band=quiet lease=empty->empty verdict=hold reason=baseline-unevaluable
[2026-09-15T22:42:49.542Z] [magic-context][ses_REDACTED] transform completed in 152.7ms (128 messages, 190 targets, watermark: 14421)
[2026-09-15T22:42:49.655Z] [magic-context][ses_REDACTED] injected generic guidance into system prompt (ctxReduce=true, subagent=false, subagentReduceMode=false)
[2026-09-15T22:43:02.765Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=88788 ratio=0.2638 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:43:02.772Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=389 cache.read=410880 cache.write=0
[2026-09-15T22:43:02.773Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=411269 contextLimit=750000 percentage=54.8%
[2026-09-15T22:43:02.829Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=389 cache.read=410880 cache.write=0
[2026-09-15T22:43:02.830Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=411269 contextLimit=750000 percentage=54.8%
[2026-09-15T22:43:04.452Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=false tokens.input=0 cache.read=0 cache.write=0
[2026-09-15T22:43:04.518Z] [magic-context][ses_REDACTED] transform stage: stage=findSessionId elapsed=0.4ms messages=192
[2026-09-15T22:43:04.518Z] [magic-context][ses_REDACTED] transform stage: stage=findLastUserMessageId elapsed=0.0ms
[2026-09-15T22:43:04.518Z] [magic-context][ses_REDACTED] transform stage: stage=getOrCreateSessionMeta elapsed=0.4ms
[2026-09-15T22:43:04.519Z] [magic-context][ses_REDACTED] transform stage: stage=modelChangeDetection elapsed=0.0ms
[2026-09-15T22:43:04.519Z] [magic-context][ses_REDACTED] transform stage: stage=schedulerAndUsage elapsed=0.0ms
[2026-09-15T22:43:04.519Z] [magic-context][ses_REDACTED] transform scheduler: percentage=54.8% inputTokens=411269 cacheTtl=5m lastResponseTime=1789512184452 decision=defer
[2026-09-15T22:43:04.520Z] [magic-context][ses_REDACTED] transform stage: stage=emergencyRecoveryBlock elapsed=0.8ms
[2026-09-15T22:43:04.528Z] [magic-context][ses_REDACTED] compartment trigger: not firing at 54.8% — below proactive floor (63%)
[2026-09-15T22:43:04.528Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentTrigger elapsed=8.6ms
[2026-09-15T22:43:04.528Z] [magic-context][ses_REDACTED] transform stage: stage=prepareCompartmentInjection elapsed=0.1ms
[2026-09-15T22:43:04.529Z] [magic-context][ses_REDACTED] temporal: injected 4 gap markers
[2026-09-15T22:43:04.529Z] [magic-context][ses_REDACTED] transform stage: stage=injectTemporalMarkers elapsed=0.1ms
[2026-09-15T22:43:04.529Z] [magic-context][ses_REDACTED] transform stage: stage=tag.initFromDb elapsed=0.0ms
[2026-09-15T22:43:04.529Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getSourceContents elapsed=0.5ms
[2026-09-15T22:43:04.598Z] [magic-context][ses_REDACTED] transform stage: stage=tag.loop elapsed=68.2ms
[2026-09-15T22:43:04.598Z] [magic-context][ses_REDACTED] transform stage: stage=tag.deriveOwner elapsed=10.1ms
[2026-09-15T22:43:04.598Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getToolTag elapsed=0.1ms
[2026-09-15T22:43:04.598Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignTag elapsed=0.2ms
[2026-09-15T22:43:04.598Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignToolTag elapsed=2.0ms
[2026-09-15T22:43:04.598Z] [magic-context][ses_REDACTED] transform stage: stage=tag.saveSource elapsed=0.0ms
[2026-09-15T22:43:04.598Z] [magic-context][ses_REDACTED] transform stage: stage=tagMessages elapsed=69.2ms
[2026-09-15T22:43:04.598Z] [magic-context][ses_REDACTED] transform stage: stage=getActiveTagsBySession elapsed=0.2ms count=126
[2026-09-15T22:43:04.598Z] [magic-context][ses_REDACTED] transform stage: stage=getDroppedTagsByNumbers elapsed=0.3ms targets=191 fetched=65
[2026-09-15T22:43:04.599Z] [magic-context][ses_REDACTED] transform stage: stage=applyFlushedStatuses elapsed=0.1ms
[2026-09-15T22:43:04.599Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:flushed elapsed=0.4ms
[2026-09-15T22:43:04.599Z] [magic-context][ses_REDACTED] transform stage: stage=stripStructuralNoise elapsed=0.0ms strippedParts=0
[2026-09-15T22:43:04.599Z] [magic-context][ses_REDACTED] transform stage: stage=stripClearedReasoning elapsed=0.0ms strippedParts=0
[2026-09-15T22:43:04.599Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentPhase elapsed=0.2ms
[2026-09-15T22:43:04.601Z] [magic-context][ses_REDACTED] heuristics WILL NOT RUN — reason=scheduler_defer
[2026-09-15T22:43:04.601Z] [magic-context][ses_REDACTED] pending ops WILL NOT APPLY — reason=scheduler_defer pendingOps=11 context=54.8%
[2026-09-15T22:43:04.601Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:heuristics elapsed=0.0ms
[2026-09-15T22:43:04.627Z] [magic-context][ses_REDACTED] transform: injected m[0]/m[1] (r<USER>terialized=false, reason=cache_hit)
[2026-09-15T22:43:04.627Z] [magic-context][ses_REDACTED] transform stage: stage=pp.injectM0M1 elapsed=26.0ms
[2026-09-15T22:43:04.627Z] [magic-context][ses_REDACTED] transform stage: stage=pp.placeholderNeutralize elapsed=0.0ms
[2026-09-15T22:43:04.627Z] [magic-context][ses_REDACTED] transform stage: stage=pp.nudgeAndSticky elapsed=0.1ms
[2026-09-15T22:43:04.627Z] [magic-context][ses_REDACTED] transform stage: stage=pp.noteAndTodoSynthesis elapsed=0.2ms
[2026-09-15T22:43:04.628Z] [magic-context][ses_REDACTED] transform stage: stage=pp.autoSearchHint elapsed=0.2ms
[2026-09-15T22:43:04.628Z] [magic-context][ses_REDACTED] final representation: clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:43:04.628Z] [magic-context][ses_REDACTED] transform stage: stage=finalizeMessageRepresentation elapsed=0.1ms clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:43:04.649Z] [magic-context][ses_REDACTED] transform: final-wire telemetry estimate=unavailable trusted=false conversation=unknown tools=unknown system=unknown toolDefinitions=unknown tail=[assistant:step-start+reasoning+tool+step-finish, assistant:step-start+reasoning+tool+step-finish, assistant:step-start+reasoning+tool+step-finish]
[2026-09-15T22:43:04.649Z] [magic-context][ses_REDACTED] transform stage: stage=postTransformPhase elapsed=48.7ms
[2026-09-15T22:43:04.674Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=88788 ratio=0.2638 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:43:04.674Z] [magic-context][ses_REDACTED] channel2 evaluation: ctx_reduce=callable U=0 T=0 ratio=0.0000 band=quiet lease=empty->empty verdict=hold reason=baseline-unevaluable
[2026-09-15T22:43:04.674Z] [magic-context][ses_REDACTED] transform completed in 156.5ms (129 messages, 191 targets, watermark: 14421)
[2026-09-15T22:43:04.788Z] [magic-context][ses_REDACTED] injected generic guidance into system prompt (ctxReduce=true, subagent=false, subagentReduceMode=false)
[2026-09-15T22:43:20.100Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=88967 ratio=0.2632 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:43:20.108Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=249 cache.read=412672 cache.write=0
[2026-09-15T22:43:20.109Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=412921 contextLimit=750000 percentage=55.1%
[2026-09-15T22:43:20.165Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=249 cache.read=412672 cache.write=0
[2026-09-15T22:43:20.165Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=412921 contextLimit=750000 percentage=55.1%
[2026-09-15T22:43:21.732Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=false tokens.input=0 cache.read=0 cache.write=0
[2026-09-15T22:43:21.797Z] [magic-context][ses_REDACTED] transform stage: stage=findSessionId elapsed=0.2ms messages=193
[2026-09-15T22:43:21.797Z] [magic-context][ses_REDACTED] transform stage: stage=findLastUserMessageId elapsed=0.0ms
[2026-09-15T22:43:21.797Z] [magic-context][ses_REDACTED] transform stage: stage=getOrCreateSessionMeta elapsed=0.4ms
[2026-09-15T22:43:21.797Z] [magic-context][ses_REDACTED] transform stage: stage=modelChangeDetection elapsed=0.0ms
[2026-09-15T22:43:21.797Z] [magic-context][ses_REDACTED] transform stage: stage=schedulerAndUsage elapsed=0.0ms
[2026-09-15T22:43:21.798Z] [magic-context][ses_REDACTED] transform scheduler: percentage=55.1% inputTokens=412921 cacheTtl=5m lastResponseTime=1789512201732 decision=defer
[2026-09-15T22:43:21.798Z] [magic-context][ses_REDACTED] transform stage: stage=emergencyRecoveryBlock elapsed=0.6ms
[2026-09-15T22:43:21.810Z] [magic-context][ses_REDACTED] compartment trigger: not firing at 55.1% — below proactive floor (63%)
[2026-09-15T22:43:21.810Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentTrigger elapsed=11.8ms
[2026-09-15T22:43:21.810Z] [magic-context][ses_REDACTED] transform stage: stage=prepareCompartmentInjection elapsed=0.1ms
[2026-09-15T22:43:21.810Z] [magic-context][ses_REDACTED] temporal: injected 4 gap markers
[2026-09-15T22:43:21.810Z] [magic-context][ses_REDACTED] transform stage: stage=injectTemporalMarkers elapsed=0.1ms
[2026-09-15T22:43:21.810Z] [magic-context][ses_REDACTED] transform stage: stage=tag.initFromDb elapsed=0.0ms
[2026-09-15T22:43:21.811Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getSourceContents elapsed=0.4ms
[2026-09-15T22:43:21.878Z] [magic-context][ses_REDACTED] transform stage: stage=tag.loop elapsed=67.2ms
[2026-09-15T22:43:21.878Z] [magic-context][ses_REDACTED] transform stage: stage=tag.deriveOwner elapsed=10.1ms
[2026-09-15T22:43:21.878Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getToolTag elapsed=0.1ms
[2026-09-15T22:43:21.878Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignTag elapsed=0.2ms
[2026-09-15T22:43:21.878Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignToolTag elapsed=2.0ms
[2026-09-15T22:43:21.878Z] [magic-context][ses_REDACTED] transform stage: stage=tag.saveSource elapsed=0.0ms
[2026-09-15T22:43:21.878Z] [magic-context][ses_REDACTED] transform stage: stage=tagMessages elapsed=68.0ms
[2026-09-15T22:43:21.878Z] [magic-context][ses_REDACTED] transform stage: stage=getActiveTagsBySession elapsed=0.2ms count=127
[2026-09-15T22:43:21.879Z] [magic-context][ses_REDACTED] transform stage: stage=getDroppedTagsByNumbers elapsed=0.3ms targets=192 fetched=65
[2026-09-15T22:43:21.879Z] [magic-context][ses_REDACTED] transform stage: stage=applyFlushedStatuses elapsed=0.1ms
[2026-09-15T22:43:21.879Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:flushed elapsed=0.4ms
[2026-09-15T22:43:21.879Z] [magic-context][ses_REDACTED] transform stage: stage=stripStructuralNoise elapsed=0.0ms strippedParts=0
[2026-09-15T22:43:21.879Z] [magic-context][ses_REDACTED] transform stage: stage=stripClearedReasoning elapsed=0.0ms strippedParts=0
[2026-09-15T22:43:21.879Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentPhase elapsed=0.1ms
[2026-09-15T22:43:21.881Z] [magic-context][ses_REDACTED] heuristics WILL NOT RUN — reason=scheduler_defer
[2026-09-15T22:43:21.881Z] [magic-context][ses_REDACTED] pending ops WILL NOT APPLY — reason=scheduler_defer pendingOps=11 context=55.1%
[2026-09-15T22:43:21.881Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:heuristics elapsed=0.0ms
[2026-09-15T22:43:21.908Z] [magic-context][ses_REDACTED] transform: injected m[0]/m[1] (r<USER>terialized=false, reason=cache_hit)
[2026-09-15T22:43:21.908Z] [magic-context][ses_REDACTED] transform stage: stage=pp.injectM0M1 elapsed=26.6ms
[2026-09-15T22:43:21.908Z] [magic-context][ses_REDACTED] transform stage: stage=pp.placeholderNeutralize elapsed=0.0ms
[2026-09-15T22:43:21.908Z] [magic-context][ses_REDACTED] transform stage: stage=pp.nudgeAndSticky elapsed=0.1ms
[2026-09-15T22:43:21.908Z] [magic-context][ses_REDACTED] transform stage: stage=pp.noteAndTodoSynthesis elapsed=0.1ms
[2026-09-15T22:43:21.908Z] [magic-context][ses_REDACTED] transform stage: stage=pp.autoSearchHint elapsed=0.2ms
[2026-09-15T22:43:21.908Z] [magic-context][ses_REDACTED] final representation: clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:43:21.908Z] [magic-context][ses_REDACTED] transform stage: stage=finalizeMessageRepresentation elapsed=0.0ms clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:43:21.929Z] [magic-context][ses_REDACTED] transform: final-wire telemetry estimate=unavailable trusted=false conversation=unknown tools=unknown system=unknown toolDefinitions=unknown tail=[assistant:step-start+reasoning+tool+step-finish, assistant:step-start+reasoning+tool+step-finish, assistant:step-start+reasoning+tool+step-finish]
[2026-09-15T22:43:21.929Z] [magic-context][ses_REDACTED] transform stage: stage=postTransformPhase elapsed=48.7ms
[2026-09-15T22:43:21.954Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=88967 ratio=0.2632 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:43:21.954Z] [magic-context][ses_REDACTED] channel2 evaluation: ctx_reduce=callable U=0 T=0 ratio=0.0000 band=quiet lease=empty->empty verdict=hold reason=baseline-unevaluable
[2026-09-15T22:43:21.954Z] [magic-context][ses_REDACTED] transform completed in 157.8ms (130 messages, 192 targets, watermark: 14421)
[2026-09-15T22:43:22.067Z] [magic-context][ses_REDACTED] injected generic guidance into system prompt (ctxReduce=true, subagent=false, subagentReduceMode=false)
[2026-09-15T22:44:53.701Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=89114 ratio=0.2628 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:44:53.712Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=225 cache.read=414464 cache.write=0
[2026-09-15T22:44:53.713Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=414689 contextLimit=750000 percentage=55.3%
[2026-09-15T22:44:53.774Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=225 cache.read=414464 cache.write=0
[2026-09-15T22:44:53.775Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=414689 contextLimit=750000 percentage=55.3%
[2026-09-15T22:44:55.478Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=false tokens.input=0 cache.read=0 cache.write=0
[2026-09-15T22:44:55.545Z] [magic-context][ses_REDACTED] transform stage: stage=findSessionId elapsed=0.4ms messages=194
[2026-09-15T22:44:55.545Z] [magic-context][ses_REDACTED] transform stage: stage=findLastUserMessageId elapsed=0.0ms
[2026-09-15T22:44:55.545Z] [magic-context][ses_REDACTED] transform stage: stage=getOrCreateSessionMeta elapsed=0.4ms
[2026-09-15T22:44:55.546Z] [magic-context][ses_REDACTED] transform stage: stage=modelChangeDetection elapsed=0.0ms
[2026-09-15T22:44:55.546Z] [magic-context][ses_REDACTED] transform stage: stage=schedulerAndUsage elapsed=0.0ms
[2026-09-15T22:44:55.546Z] [magic-context][ses_REDACTED] transform scheduler: percentage=55.3% inputTokens=414689 cacheTtl=5m lastResponseTime=1789512295478 decision=defer
[2026-09-15T22:44:55.546Z] [magic-context][ses_REDACTED] transform stage: stage=emergencyRecoveryBlock elapsed=0.7ms
[2026-09-15T22:44:55.564Z] [magic-context][ses_REDACTED] compartment trigger: not firing at 55.3% — below proactive floor (63%)
[2026-09-15T22:44:55.564Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentTrigger elapsed=17.6ms
[2026-09-15T22:44:55.564Z] [magic-context][ses_REDACTED] transform stage: stage=prepareCompartmentInjection elapsed=0.1ms
[2026-09-15T22:44:55.564Z] [magic-context][ses_REDACTED] temporal: injected 4 gap markers
[2026-09-15T22:44:55.564Z] [magic-context][ses_REDACTED] transform stage: stage=injectTemporalMarkers elapsed=0.1ms
[2026-09-15T22:44:55.564Z] [magic-context][ses_REDACTED] transform stage: stage=tag.initFromDb elapsed=0.0ms
[2026-09-15T22:44:55.565Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getSourceContents elapsed=0.4ms
[2026-09-15T22:44:55.637Z] [magic-context][ses_REDACTED] transform stage: stage=tag.loop elapsed=71.8ms
[2026-09-15T22:44:55.637Z] [magic-context][ses_REDACTED] transform stage: stage=tag.deriveOwner elapsed=10.7ms
[2026-09-15T22:44:55.637Z] [magic-context][ses_REDACTED] transform stage: stage=tag.getToolTag elapsed=0.1ms
[2026-09-15T22:44:55.637Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignTag elapsed=0.2ms
[2026-09-15T22:44:55.637Z] [magic-context][ses_REDACTED] transform stage: stage=tag.assignToolTag elapsed=2.1ms
[2026-09-15T22:44:55.637Z] [magic-context][ses_REDACTED] transform stage: stage=tag.saveSource elapsed=0.0ms
[2026-09-15T22:44:55.637Z] [magic-context][ses_REDACTED] transform stage: stage=tagMessages elapsed=72.8ms
[2026-09-15T22:44:55.638Z] [magic-context][ses_REDACTED] transform stage: stage=getActiveTagsBySession elapsed=0.3ms count=128
[2026-09-15T22:44:55.638Z] [magic-context][ses_REDACTED] transform stage: stage=getDroppedTagsByNumbers elapsed=0.4ms targets=193 fetched=65
[2026-09-15T22:44:55.638Z] [magic-context][ses_REDACTED] transform stage: stage=applyFlushedStatuses elapsed=0.1ms
[2026-09-15T22:44:55.638Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:flushed elapsed=0.4ms
[2026-09-15T22:44:55.638Z] [magic-context][ses_REDACTED] transform stage: stage=stripStructuralNoise elapsed=0.0ms strippedParts=0
[2026-09-15T22:44:55.638Z] [magic-context][ses_REDACTED] transform stage: stage=stripClearedReasoning elapsed=0.0ms strippedParts=0
[2026-09-15T22:44:55.639Z] [magic-context][ses_REDACTED] transform stage: stage=compartmentPhase elapsed=0.2ms
[2026-09-15T22:44:55.640Z] [magic-context][ses_REDACTED] heuristics WILL NOT RUN — reason=scheduler_defer
[2026-09-15T22:44:55.640Z] [magic-context][ses_REDACTED] pending ops WILL NOT APPLY — reason=scheduler_defer pendingOps=11 context=55.3%
[2026-09-15T22:44:55.641Z] [magic-context][ses_REDACTED] transform stage: stage=batchFinalize:heuristics elapsed=0.0ms
[2026-09-15T22:44:55.667Z] [magic-context][ses_REDACTED] transform: injected m[0]/m[1] (r<USER>terialized=false, reason=cache_hit)
[2026-09-15T22:44:55.667Z] [magic-context][ses_REDACTED] transform stage: stage=pp.injectM0M1 elapsed=26.7ms
[2026-09-15T22:44:55.667Z] [magic-context][ses_REDACTED] transform stage: stage=pp.placeholderNeutralize elapsed=0.0ms
[2026-09-15T22:44:55.668Z] [magic-context][ses_REDACTED] transform stage: stage=pp.nudgeAndSticky elapsed=0.1ms
[2026-09-15T22:44:55.668Z] [magic-context][ses_REDACTED] transform stage: stage=pp.noteAndTodoSynthesis elapsed=0.2ms
[2026-09-15T22:44:55.668Z] [magic-context][ses_REDACTED] transform stage: stage=pp.autoSearchHint elapsed=0.2ms
[2026-09-15T22:44:55.668Z] [magic-context][ses_REDACTED] final representation: clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:44:55.668Z] [magic-context][ses_REDACTED] transform stage: stage=finalizeMessageRepresentation elapsed=0.1ms clearedParts=0 mergedReasoningParts=0
[2026-09-15T22:44:55.690Z] [magic-context][ses_REDACTED] transform: final-wire telemetry estimate=unavailable trusted=false conversation=unknown tools=unknown system=unknown toolDefinitions=unknown tail=[assistant:step-start+reasoning+tool+step-finish, assistant:step-start+reasoning+tool+step-finish, assistant:step-start+reasoning+tool+step-finish]
[2026-09-15T22:44:55.690Z] [magic-context][ses_REDACTED] transform stage: stage=postTransformPhase elapsed=50.5ms
[2026-09-15T22:44:55.716Z] [magic-context][ses_REDACTED] channel1 evaluation: ctx_reduce=callable U=23419 T=89114 ratio=0.2628 band=quiet grace_baseline_u=29193 grace_growth=-5774 growth_threshold=25000 sticky_floor_turns_r<USER>ining=0 dampening=baseline-hold verdict=hold reason=baseline-unevaluable
[2026-09-15T22:44:55.716Z] [magic-context][ses_REDACTED] channel2 evaluation: ctx_reduce=callable U=0 T=0 ratio=0.0000 band=quiet lease=empty->empty verdict=hold reason=baseline-unevaluable
[2026-09-15T22:44:55.716Z] [magic-context][ses_REDACTED] transform completed in 171.2ms (131 messages, 193 targets, watermark: 14421)
[2026-09-15T22:44:55.831Z] [magic-context][ses_REDACTED] injected generic guidance into system prompt (ctxReduce=true, subagent=false, subagentReduceMode=false)
[2026-09-15T22:46:23.278Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=242 cache.read=434560 cache.write=0
[2026-09-15T22:46:23.279Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=434802 contextLimit=750000 percentage=58.0%
[2026-09-15T22:46:23.339Z] [magic-context][ses_REDACTED] event message.updated: provider=opencode-go model=deepseek-v4.1-flash hasUsageTokens=true tokens.input=242 cache.read=434560 cache.write=0
[2026-09-15T22:46:23.340Z] [magic-context][ses_REDACTED] event message.updated: totalInputTokens=434802 contextLimit=750000 percentage=58.0%
[2026-09-15T22:48:59.569Z] [dreamer] timer tick (interval) — projects=1
[2026-09-15T22:48:59.593Z] [message-index] orphan sweep: scanned=114 deleted=1 cursor=<complete>
[2026-09-15T22:56:28.776Z] [magic-context] boot: entering pid=261843 dir=~/project
[2026-09-15T22:56:30.795Z] [magic-context] resolved-config fetch failed; using file-based compaction detection (the running server's resolved config may differ — `opencode debug config` is authoritative)
[2026-09-15T22:56:30.797Z] [magic-context] no conflicts detected, plugin enabled
[2026-09-15T22:56:30.800Z] [magic-context] SQLite boot busy timeout: backend=Bun timeout=5000ms path=~/.local/share/cortexkit/magic-context/context.db
[2026-09-15T22:56:30.820Z] [migrations] migration lock check attempt 1/6
[2026-09-15T22:56:30.824Z] [magic-context] upstream migration lane at boot: database=v84, supported_fence=v84
[2026-09-15T22:56:30.826Z] [magic-context] compaction-marker consistency probe path=~/.local/share/opencode/opencode.db source=discovered mode=readonly wal=aware sessions=25; diagnostic-only, no startup bust permission
[2026-09-15T22:56:30.833Z] [magic-context][global] models-dev-cache: seeded 448 entries from persisted cache (cold start)
[2026-09-15T22:56:30.834Z] [magic-context] rehydrated 6 session(s) with pending compaction-marker drain at hook init
[2026-09-15T22:56:30.841Z] [magic-context] boot phases: config=16ms conflict=2005ms guard=5ms open=0ms migrate=20ms hooks=13ms rpc=0ms post=5ms total=2065ms budget=15000ms deadline_phase=none
[2026-09-15T22:56:30.859Z] [dreamer] registered project dir:7d50b4bf11df (dreaming=true embeddings=true commits=false; total=1)
[2026-09-15T22:56:30.859Z] [dreamer] started independent schedule timer (every 15m)
[2026-09-15T22:56:30.869Z] [rpc] server listening on 127.0.0.1:35965
[2026-09-15T22:56:30.870Z] [magic-context] boot deferred phase: rpc=10ms
[2026-09-15T22:56:30.871Z] [magic-context] conflict-warning: Desktop state file not found at ~/.config/ai.opencode.desktop/opencode.global.dat
[2026-09-15T22:56:30.871Z] [magic-context] cleanup: no active Desktop session found
[2026-09-15T22:59:57.029Z] [magic-context] boot: entering pid=264821 dir=~
[2026-09-15T22:59:59.055Z] [magic-context] resolved-config fetch failed; using file-based compaction detection (the running server's resolved config may differ — `opencode debug config` is authoritative)
[2026-09-15T22:59:59.057Z] [magic-context] no conflicts detected, plugin enabled
[2026-09-15T22:59:59.059Z] [magic-context] SQLite boot busy timeout: backend=Bun timeout=5000ms path=~/.local/share/cortexkit/magic-context/context.db
[2026-09-15T22:59:59.074Z] [migrations] migration lock check attempt 1/6
[2026-09-15T22:59:59.078Z] [magic-context] upstream migration lane at boot: database=v84, supported_fence=v84
[2026-09-15T22:59:59.079Z] [magic-context] not binding a project identity for this directory
[2026-09-15T22:59:59.083Z] [magic-context] dream timer skipped: no project identity is bound for this directory
[2026-09-15T22:59:59.084Z] [magic-context] boot phases: config=17ms conflict=2010ms guard=2ms open=0ms migrate=18ms hooks=2ms rpc=0ms post=5ms total=2055ms budget=15000ms deadline_phase=none
[2026-09-15T22:59:59.099Z] [rpc] server listening on 127.0.0.1:33863
[2026-09-15T22:59:59.099Z] [magic-context] boot deferred phase: rpc=11ms
[2026-09-15T22:59:59.100Z] [magic-context] conflict-warning: Desktop state file not found at ~/.config/ai.opencode.desktop/opencode.global.dat
[2026-09-15T22:59:59.100Z] [magic-context] cleanup: no active Desktop session found
[2026-09-15T23:00:01.295Z] [magic-context][global] models-dev-cache: API layer loaded 448 model metadata entries
[2026-09-15T23:09:35.721Z] [magic-context] boot: entering pid=270523 dir=~/project
[2026-09-15T23:09:37.746Z] [magic-context] resolved-config fetch failed; using file-based compaction detection (the running server's resolved config may differ — `opencode debug config` is authoritative)
[2026-09-15T23:09:37.751Z] [magic-context] no conflicts detected, plugin enabled
[2026-09-15T23:09:37.753Z] [magic-context] SQLite boot busy timeout: backend=Bun timeout=5000ms path=~/.local/share/cortexkit/magic-context/context.db
[2026-09-15T23:09:37.768Z] [migrations] migration lock check attempt 1/6
[2026-09-15T23:09:37.784Z] [magic-context] upstream migration lane at boot: database=v84, supported_fence=v84
[2026-09-15T23:09:37.787Z] [magic-context] compaction-marker consistency probe path=~/.local/share/opencode/opencode.db source=discovered mode=readonly wal=aware sessions=25; diagnostic-only, no startup bust permission
[2026-09-15T23:09:37.794Z] [magic-context][global] models-dev-cache: seeded 448 entries from persisted cache (cold start)
[2026-09-15T23:09:37.794Z] [magic-context] rehydrated 5 session(s) with pending compaction-marker drain at hook init
[2026-09-15T23:09:37.800Z] [magic-context] boot phases: config=17ms conflict=2012ms guard=2ms open=1ms migrate=29ms hooks=13ms rpc=0ms post=5ms total=2079ms budget=15000ms deadline_phase=none
[2026-09-15T23:09:37.828Z] [dreamer] registered project dir:7d50b4bf11df (dreaming=true embeddings=true commits=false; total=1)
[2026-09-15T23:09:37.828Z] [dreamer] started independent schedule timer (every 15m)
[2026-09-15T23:09:37.838Z] [rpc] another Magic Context RPC server is active for this project (pid 261843, port 35965); starting separate instance on a new port
[2026-09-15T23:09:37.839Z] [rpc] server listening on 127.0.0.1:36563
[2026-09-15T23:09:37.839Z] [magic-context] boot deferred phase: rpc=11ms
[2026-09-15T23:09:37.840Z] [magic-context] conflict-warning: Desktop state file not found at ~/.config/ai.opencode.desktop/opencode.global.dat
[2026-09-15T23:09:37.840Z] [magic-context] cleanup: no active Desktop session found

Plugin version

0.42.5

OpenCode version

1.18.31

Platform

linux x64

Client

OpenCode TUI (CLI)

Log output (optional)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions