Repository navigation
MC breaks if started in a folder, after git init without commits #717
Description
Short description
MC breaks if started in a folder, after git init without commits
What happened?
"Magic Context could not work out a project identity for this directory, so its memory features are paused. magic-context.log names the cause (search for "memory features paused"), for example a git command that failed."
Agent even made a note about it:
"Retry memory update #1570 after git access recovers Memory write failed right after git init (identity resolution paused). "
Log:
[2026-10-17T19:21:37.153Z] [magic-context] memory features paused for C:\Projects\OC Plugins\openshare: git_timeout
Additionally, the diagnostics sends unredated full provider/model combinations from the local config. I had to remove some, as i rather not send some provider name(s) to a public issue. Would be nice to redact provider/model(s) or not include them at all.
Diagnostics
## Title
<text omitted>
## Session context
- Selected session: session-2
- Parent session: none
## Description
<text omitted>
_Paths and IDs use per-report aliases. Free text, private package names, and source/tool content are omitted; add reproduction steps directly to the issue after reviewing it._
## Environment
- Plugin: v0.49.10
- OS: win32 x64
- Node: v26.5.0
- OpenCode: 1.18.31
## Configuration
Config from `~/project-5/<path>`:
{
"$schema": "<text omitted>",
"historian": {
"opencode": {
"model": {
"model": "opencode/space-bunny-free",
"variant": "xhigh"
},
"fallback_models": [
{
"model": "opencode/deepseek-v4.1-flash-free",
"variant": "max"
},
{
"model": "opencode/glm-5.3-flash-free",
"variant": "high"
}
],
"variant": "high"
}
},
"dreamer": {
"tasks": {
"map-memories": {
"schedule": "<text omitted>"
},
"verify": {
"schedule": ""
},
"verify-broad": {
"schedule": "<text omitted>"
},
"curate": {
"schedule": "<text omitted>"
},
"compress-cues": {
"schedule": "<text omitted>"
},
"classify-memories": {
"schedule": "<text omitted>"
},
"retrospective": {
"schedule": "<text omitted>"
},
"maintain-docs": {
"schedule": "<text omitted>"
},
"evaluate-smart-notes": {
"schedule": "<text omitted>"
},
"review-user-memories": {
"schedule": "<text omitted>"
},
"promote-primers": {
"schedule": "<text omitted>"
},
"refresh-primers": {
"schedule": "<text omitted>"
}
},
"inject_docs": false,
"opencode": {
"model": {
"model": "opencode/space-bunny-free",
"variant": "xhigh"
},
"fallback_models": [
{
"model": "opencode/deepseek-v4.1-flash-free",
"variant": "high"
},
{
"model": "opencode/glm-5.3-flash-free",
"variant": "high"
},
{
"model": "opencode/muse-spark-1.3-contributor-free",
"variant": "xhigh"
},
"opencode/mimo-v2.6-flash-free"
],
"variant": "high"
}
},
"embedding": {
"provider": "openai-compatible",
"model": "gemini-embedding-2",
"endpoint": "<text omitted>",
"api_key": "<REDACTED:api_key>"
},
"memory": {
"auto_search": {
"enabled": true
},
"git_commit_indexing": {
"enabled": true
},
"injection_budget_tokens": 10000
},
"execute_threshold_percentage": {
"default": 80,
"<key omitted>": 65
},
"prompt_surface": {
"default": "light"
},
"historian_timeout_ms": 900000,
"caveman_text_compression": {
"enabled": false
}
}
## Diagnostics
- Timestamp: 2026-10-17T21:13:05.819Z
- Plugin: v0.49.10
- OS: win32 x64
- Node: v26.5.0
- OpenCode installed: true [cli] (1.18.31)
- OpenCode session database: ~/project-5/<path> (source=<text omitted>)
- 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
### Config paths
{
"configDir": "~/project-5/<path>",
"opencodeConfig": "~/project-5/<path>",
"opencodeConfigFormat": "json",
"magicContextConfig": "~/project-5/<path>",
"tuiConfig": "~/project-5/<path>",
"tuiConfigFormat": "json",
"omoConfig": null
}
### magic-context.jsonc flags
{
"$schema": "<text omitted>",
"historian": {
"opencode": {
"model": {
"model": "opencode/space-bunny-free",
"variant": "xhigh"
},
"fallback_models": [
{
"model": "opencode/deepseek-v4.1-flash-free",
"variant": "max"
},
{
"model": "opencode/glm-5.3-flash-free",
"variant": "high"
}
],
"variant": "high"
}
},
"dreamer": {
"tasks": {
"map-memories": {
"schedule": "<text omitted>"
},
"verify": {
"schedule": ""
},
"verify-broad": {
"schedule": "<text omitted>"
},
"curate": {
"schedule": "<text omitted>"
},
"compress-cues": {
"schedule": "<text omitted>"
},
"classify-memories": {
"schedule": "<text omitted>"
},
"retrospective": {
"schedule": "<text omitted>"
},
"maintain-docs": {
"schedule": "<text omitted>"
},
"evaluate-smart-notes": {
"schedule": "<text omitted>"
},
"review-user-memories": {
"schedule": "<text omitted>"
},
"promote-primers": {
"schedule": "<text omitted>"
},
"refresh-primers": {
"schedule": "<text omitted>"
}
},
"inject_docs": false,
"opencode": {
"model": {
"model": "opencode/space-bunny-free",
"variant": "xhigh"
},
"fallback_models": [
{
"model": "opencode/deepseek-v4.1-flash-free",
"variant": "high"
},
{
"model": "opencode/glm-5.3-flash-free",
"variant": "high"
},
{
"model": "opencode/muse-spark-1.3-contributor-free",
"variant": "xhigh"
},
"opencode/mimo-v2.6-flash-free"
],
"variant": "high"
}
},
"embedding": {
"provider": "openai-compatible",
"model": "gemini-embedding-2",
"endpoint": "<text omitted>",
"api_key": "<REDACTED:api_key>"
},
"memory": {
"auto_search": {
"enabled": true
},
"git_commit_indexing": {
"enabled": true
},
"injection_budget_tokens": 10000
},
"execute_threshold_percentage": {
"default": 80,
"<key omitted>": 65
},
"prompt_surface": {
"default": "light"
},
"historian_timeout_ms": 900000,
"caveman_text_compression": {
"enabled": false
}
}
### Plugin cache
{
"path": "~/project-5/<path>",
"cached": "0.49.10",
"latest": "0.49.10",
"installs": [
{
"layout": "opencode1",
"spec": "latest",
"path": "~/project-5/<path>",
"cached": "0.49.10"
}
]
}
### Storage
{
"path": "~/project-5/<path>",
"source": "<text omitted>",
"exists": true,
"context_db_size": "392.9 MB"
}
### Recent sessions
[
{
"sessionId": "session-1",
"title": "<text omitted>",
"directory": "project-1",
"lastActiveAt": "2026-10-17T21:10:22.748Z",
"parentSessionId": null
},
{
"sessionId": "session-2",
"title": "<text omitted>",
"directory": "project-1",
"lastActiveAt": "2026-10-17T20:37:15.470Z",
"parentSessionId": null
},
{
"sessionId": "session-3",
"title": "<text omitted>",
"directory": "~/project-2",
"lastActiveAt": "2026-10-17T20:36:16.316Z",
"parentSessionId": null
},
{
"sessionId": "session-4",
"title": "<text omitted>",
"directory": "~/project-3",
"lastActiveAt": "2026-10-17T20:35:39.419Z",
"parentSessionId": null
},
{
"sessionId": "session-5",
"title": "<text omitted>",
"directory": "~/project-4",
"lastActiveAt": "2026-10-17T20:35:11.393Z",
"parentSessionId": null
}
]
### 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": "~/project-5/<path>",
"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).
[
{
"sessionId": "session-6",
"total": 23,
"success": 22,
"failed": 0,
"noop": 1,
"lastFailureReason": "",
"lastRunAt": "2026-10-17T14:47:17.363Z"
},
{
"sessionId": "session-7",
"total": 56,
"success": 52,
"failed": 4,
"noop": 0,
"lastFailureReason": "<text omitted>",
"lastRunAt": "2026-10-17T14:02:39.160Z"
},
{
"sessionId": "session-8",
"total": 26,
"success": 26,
"failed": 0,
"noop": 0,
"lastFailureReason": "",
"lastRunAt": "2026-10-05T00:13:32.941Z"
},
{
"sessionId": "session-9",
"total": 84,
"success": 37,
"failed": 0,
"noop": 47,
"lastFailureReason": "",
"lastRunAt": "2026-09-16T04:08:13.130Z"
},
{
"sessionId": "session-10",
"total": 5,
"success": 5,
"failed": 0,
"noop": 0,
"lastFailureReason": "",
"lastRunAt": "2026-09-12T20:48:54.477Z"
},
{
"sessionId": "session-11",
"total": 2,
"success": 2,
"failed": 0,
"noop": 0,
"lastFailureReason": "",
"lastRunAt": "2026-08-20T01:09:19.673Z"
},
{
"sessionId": "session-12",
"total": 9,
"success": 5,
"failed": 0,
"noop": 4,
"lastFailureReason": "",
"lastRunAt": "2026-07-18T21:46:24.303Z"
},
{
"sessionId": "session-13",
"total": 111,
"success": 17,
"failed": 0,
"noop": 94,
"lastFailureReason": "",
"lastRunAt": "2026-07-17T00:20:33.846Z"
},
{
"sessionId": "session-14",
"total": 24,
"success": 13,
"failed": 0,
"noop": 11,
"lastFailureReason": "",
"lastRunAt": "2026-07-15T23:28:01.291Z"
},
{
"sessionId": "session-15",
"total": 90,
"success": 12,
"failed": 0,
"noop": 78,
"lastFailureReason": "",
"lastRunAt": "2026-07-15T00:56:31.502Z"
}
]
### Log files
- ~/project-5/<path>: exists=true, grammar=legacy, lines=214208, size=32416 KB
- ~/project-5/<path>: exists=false, grammar=unknown, lines=0, size=0 KB
- ~/project-5/<path>: 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-10-17T20:36:41.395Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:41.426Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:41.427Z LOG magic-context.transform [session-2] <text omitted> 30.9ms
2026-10-17T20:36:41.427Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:36:41.428Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:41.428Z LOG magic-context.transform [session-2] <text omitted> 1.4ms
2026-10-17T20:36:41.428Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:36:41.429Z LOG magic-context.transform [session-2] <text omitted> 0.7ms
2026-10-17T20:36:41.430Z LOG magic-context.transform [session-2] <text omitted> 1.2ms
2026-10-17T20:36:41.439Z LOG magic-context.transform [session-2] <text omitted> 8.4ms
2026-10-17T20:36:41.439Z LOG magic-context.transform [session-2] <text omitted> 1.5ms
2026-10-17T20:36:41.439Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:36:41.439Z LOG magic-context.transform [session-2] <text omitted> 0.9ms
2026-10-17T20:36:41.439Z LOG magic-context.transform [session-2] <text omitted> 1.0ms
2026-10-17T20:36:41.439Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:36:41.440Z LOG magic-context.transform [session-2] <text omitted> 12.2ms
2026-10-17T20:36:41.441Z LOG magic-context.transform [session-2] <text omitted> count=529 1.1ms
2026-10-17T20:36:41.443Z LOG magic-context.transform [session-2] <text omitted> 1.5ms
2026-10-17T20:36:41.444Z LOG magic-context.transform [session-2] <text omitted> 0.7ms
2026-10-17T20:36:41.444Z LOG magic-context.transform [session-2] <text omitted> 0.9ms
2026-10-17T20:36:41.444Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:41.444Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:41.444Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:36:41.450Z LOG magic-context.transform [session-2] <text omitted> 1.2ms
2026-10-17T20:36:41.452Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:41.452Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:41.453Z LOG magic-context.transform [session-2] <text omitted> 2.3ms
2026-10-17T20:36:41.453Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:41.453Z LOG magic-context.transform [session-2] <text omitted> 3.6ms
2026-10-17T20:36:41.453Z LOG magic-context.transform [session-2] <text omitted> 0.6ms
2026-10-17T20:36:41.454Z LOG magic-context.transform [session-2] <text omitted> 0.4ms
2026-10-17T20:36:41.455Z LOG magic-context.transform [session-2] <text omitted>
2026-10-17T20:36:41.455Z LOG magic-context.transform [session-2] <text omitted> 1.5ms
2026-10-17T20:36:41.456Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:41.456Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:36:41.456Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:41.456Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:36:41.457Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:36:41.457Z LOG magic-context.transform [session-2] <text omitted> 0.6ms
2026-10-17T20:36:41.457Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:36:41.461Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:41.461Z LOG magic-context.transform [session-2] <text omitted> 2.1ms
2026-10-17T20:36:41.463Z LOG magic-context.transform [session-2] <text omitted> 1.7ms
2026-10-17T20:36:41.479Z LOG magic-context.transform [session-2] <text omitted> 15.5ms
2026-10-17T20:36:41.481Z LOG magic-context.transform [session-2] <text omitted> 2.6ms
2026-10-17T20:36:41.481Z LOG magic-context.transform [session-2] <text omitted> 20.0ms
2026-10-17T20:36:41.483Z LOG magic-context.transform [session-2] <text omitted> 1.6ms
2026-10-17T20:36:41.485Z LOG magic-context.transform [session-2] <text omitted>
2026-10-17T20:36:41.485Z LOG magic-context.transform [session-2] <text omitted> 36.4ms
2026-10-17T20:36:41.486Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:41.487Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:41.487Z LOG magic-context.transform [session-2] <text omitted> 164.3ms
2026-10-17T20:36:41.789Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.116Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.131Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.134Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.209Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.211Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.218Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.270Z LOG magic-context.transform [session-2] <text omitted> messages=623 0.5ms
2026-10-17T20:36:51.282Z LOG magic-context.transform [session-2] <text omitted> 11.9ms
2026-10-17T20:36:51.283Z LOG magic-context.transform [session-2] <text omitted> 0.9ms
2026-10-17T20:36:51.283Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:51.285Z LOG magic-context.transform [session-2] <text omitted> 1.5ms
2026-10-17T20:36:51.286Z LOG magic-context.transform [session-2] <text omitted> 1.0ms
2026-10-17T20:36:51.286Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:51.287Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:36:51.287Z LOG magic-context.transform [session-2] <text omitted>
2026-10-17T20:36:51.287Z LOG magic-context.transform [session-2] <text omitted> inputTokens=216919
2026-10-17T20:36:51.288Z LOG magic-context.transform [session-2] <text omitted> 1.5ms
2026-10-17T20:36:51.288Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.315Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.315Z LOG magic-context.transform [session-2] <text omitted> 26.1ms
2026-10-17T20:36:51.315Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:51.316Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.317Z LOG magic-context.transform [session-2] <text omitted> 1.3ms
2026-10-17T20:36:51.317Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:36:51.317Z LOG magic-context.transform [session-2] <text omitted> 0.7ms
2026-10-17T20:36:51.319Z LOG magic-context.transform [session-2] <text omitted> 1.1ms
2026-10-17T20:36:51.326Z LOG magic-context.transform [session-2] <text omitted> 7.4ms
2026-10-17T20:36:51.326Z LOG magic-context.transform [session-2] <text omitted> 1.3ms
2026-10-17T20:36:51.326Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:36:51.326Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:51.326Z LOG magic-context.transform [session-2] <text omitted> 2.4ms
2026-10-17T20:36:51.326Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:51.327Z LOG magic-context.transform [session-2] <text omitted> 10.9ms
2026-10-17T20:36:51.328Z LOG magic-context.transform [session-2] <text omitted> count=530 1.0ms
2026-10-17T20:36:51.330Z LOG magic-context.transform [session-2] <text omitted> 1.5ms
2026-10-17T20:36:51.330Z LOG magic-context.transform [session-2] <text omitted> 0.4ms
2026-10-17T20:36:51.331Z LOG magic-context.transform [session-2] <text omitted> 0.6ms
2026-10-17T20:36:51.331Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:51.331Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:51.331Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:36:51.336Z LOG magic-context.transform [session-2] <text omitted> 0.9ms
2026-10-17T20:36:51.337Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.338Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.338Z LOG magic-context.transform [session-2] <text omitted> 2.1ms
2026-10-17T20:36:51.339Z LOG magic-context.transform [session-2] <text omitted> 0.7ms
2026-10-17T20:36:51.339Z LOG magic-context.transform [session-2] <text omitted> 4.4ms
2026-10-17T20:36:51.340Z LOG magic-context.transform [session-2] <text omitted> 0.6ms
2026-10-17T20:36:51.340Z LOG magic-context.transform [session-2] <text omitted> 0.4ms
2026-10-17T20:36:51.342Z LOG magic-context.transform [session-2] <text omitted>
2026-10-17T20:36:51.342Z LOG magic-context.transform [session-2] <text omitted> 1.5ms
2026-10-17T20:36:51.343Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.343Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:36:51.343Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:36:51.343Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:36:51.343Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:36:51.343Z LOG magic-context.transform [session-2] <text omitted> 0.5ms
2026-10-17T20:36:51.344Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:36:51.347Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.347Z LOG magic-context.transform [session-2] <text omitted> 1.5ms
2026-10-17T20:36:51.348Z LOG magic-context.transform [session-2] <text omitted> 1.6ms
2026-10-17T20:36:51.363Z LOG magic-context.transform [session-2] <text omitted> 14.5ms
2026-10-17T20:36:51.365Z LOG magic-context.transform [session-2] <text omitted> 2.2ms
2026-10-17T20:36:51.365Z LOG magic-context.transform [session-2] <text omitted> 18.4ms
2026-10-17T20:36:51.367Z LOG magic-context.transform [session-2] <text omitted> 1.5ms
2026-10-17T20:36:51.368Z LOG magic-context.transform [session-2] <text omitted>
2026-10-17T20:36:51.369Z LOG magic-context.transform [session-2] <text omitted> 33.8ms
2026-10-17T20:36:51.371Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.371Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:36:51.371Z LOG magic-context.transform [session-2] <text omitted> 135.7ms
2026-10-17T20:36:51.589Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.504Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.522Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.526Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.597Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.600Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.612Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.686Z LOG magic-context.transform [session-2] <text omitted> messages=624 0.4ms
2026-10-17T20:37:01.698Z LOG magic-context.transform [session-2] <text omitted> 11.3ms
2026-10-17T20:37:01.699Z LOG magic-context.transform [session-2] <text omitted> 1.3ms
2026-10-17T20:37:01.699Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:01.701Z LOG magic-context.transform [session-2] <text omitted> 1.3ms
2026-10-17T20:37:01.702Z LOG magic-context.transform [session-2] <text omitted> 0.9ms
2026-10-17T20:37:01.702Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:01.702Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:37:01.703Z LOG magic-context.transform [session-2] <text omitted>
2026-10-17T20:37:01.703Z LOG magic-context.transform [session-2] <text omitted> inputTokens=217747
2026-10-17T20:37:01.704Z LOG magic-context.transform [session-2] <text omitted> 1.6ms
2026-10-17T20:37:01.704Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.731Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.731Z LOG magic-context.transform [session-2] <text omitted> 26.4ms
2026-10-17T20:37:01.731Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:01.733Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.733Z LOG magic-context.transform [session-2] <text omitted> 1.3ms
2026-10-17T20:37:01.733Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:37:01.734Z LOG magic-context.transform [session-2] <text omitted> 0.7ms
2026-10-17T20:37:01.735Z LOG magic-context.transform [session-2] <text omitted> 1.3ms
2026-10-17T20:37:01.743Z LOG magic-context.transform [session-2] <text omitted> 7.9ms
2026-10-17T20:37:01.743Z LOG magic-context.transform [session-2] <text omitted> 1.5ms
2026-10-17T20:37:01.743Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:37:01.743Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:01.743Z LOG magic-context.transform [session-2] <text omitted> 2.2ms
2026-10-17T20:37:01.743Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:01.744Z LOG magic-context.transform [session-2] <text omitted> 11.8ms
2026-10-17T20:37:01.746Z LOG magic-context.transform [session-2] <text omitted> count=531 1.6ms
2026-10-17T20:37:01.748Z LOG magic-context.transform [session-2] <text omitted> 1.6ms
2026-10-17T20:37:01.748Z LOG magic-context.transform [session-2] <text omitted> 0.5ms
2026-10-17T20:37:01.749Z LOG magic-context.transform [session-2] <text omitted> 0.7ms
2026-10-17T20:37:01.749Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:01.749Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:01.749Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:01.754Z LOG magic-context.transform [session-2] <text omitted> 0.9ms
2026-10-17T20:37:01.755Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.756Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.756Z LOG magic-context.transform [session-2] <text omitted> 2.2ms
2026-10-17T20:37:01.756Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:01.756Z LOG magic-context.transform [session-2] <text omitted> 3.2ms
2026-10-17T20:37:01.756Z LOG magic-context.transform [session-2] <text omitted> 0.4ms
2026-10-17T20:37:01.757Z LOG magic-context.transform [session-2] <text omitted> 0.3ms
2026-10-17T20:37:01.758Z LOG magic-context.transform [session-2] <text omitted>
2026-10-17T20:37:01.758Z LOG magic-context.transform [session-2] <text omitted> 1.3ms
2026-10-17T20:37:01.759Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.759Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:37:01.759Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:01.759Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:37:01.759Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:37:01.759Z LOG magic-context.transform [session-2] <text omitted> 0.4ms
2026-10-17T20:37:01.759Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:37:01.763Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.763Z LOG magic-context.transform [session-2] <text omitted> 1.6ms
2026-10-17T20:37:01.764Z LOG magic-context.transform [session-2] <text omitted> 1.6ms
2026-10-17T20:37:01.778Z LOG magic-context.transform [session-2] <text omitted> 13.7ms
2026-10-17T20:37:01.780Z LOG magic-context.transform [session-2] <text omitted> 2.1ms
2026-10-17T20:37:01.780Z LOG magic-context.transform [session-2] <text omitted> 17.5ms
2026-10-17T20:37:01.781Z LOG magic-context.transform [session-2] <text omitted> 1.1ms
2026-10-17T20:37:01.783Z LOG magic-context.transform [session-2] <text omitted>
2026-10-17T20:37:01.783Z LOG magic-context.transform [session-2] <text omitted> 30.4ms
2026-10-17T20:37:01.784Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.784Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:01.784Z LOG magic-context.transform [session-2] <text omitted> 143.4ms
2026-10-17T20:37:01.922Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.134Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.143Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.145Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.203Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.204Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.211Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.255Z LOG magic-context.transform [session-2] <text omitted> messages=625 0.4ms
2026-10-17T20:37:06.266Z LOG magic-context.transform [session-2] <text omitted> 10.9ms
2026-10-17T20:37:06.267Z LOG magic-context.transform [session-2] <text omitted> 0.9ms
2026-10-17T20:37:06.268Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:06.269Z LOG magic-context.transform [session-2] <text omitted> 1.1ms
2026-10-17T20:37:06.270Z LOG magic-context.transform [session-2] <text omitted> 1.1ms
2026-10-17T20:37:06.270Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:06.270Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:06.272Z LOG magic-context.transform [session-2] <text omitted>
2026-10-17T20:37:06.272Z LOG magic-context.transform [session-2] <text omitted> inputTokens=218785
2026-10-17T20:37:06.272Z LOG magic-context.transform [session-2] <text omitted> 1.8ms
2026-10-17T20:37:06.273Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.297Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.297Z LOG magic-context.transform [session-2] <text omitted> 23.9ms
2026-10-17T20:37:06.297Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:06.298Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.298Z LOG magic-context.transform [session-2] <text omitted> 1.2ms
2026-10-17T20:37:06.299Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:37:06.299Z LOG magic-context.transform [session-2] <text omitted> 0.6ms
2026-10-17T20:37:06.300Z LOG magic-context.transform [session-2] <text omitted> 1.0ms
2026-10-17T20:37:06.308Z LOG magic-context.transform [session-2] <text omitted> 7.9ms
2026-10-17T20:37:06.308Z LOG magic-context.transform [session-2] <text omitted> 1.7ms
2026-10-17T20:37:06.308Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:37:06.308Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:06.308Z LOG magic-context.transform [session-2] <text omitted> 1.5ms
2026-10-17T20:37:06.308Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:06.310Z LOG magic-context.transform [session-2] <text omitted> 11.5ms
2026-10-17T20:37:06.311Z LOG magic-context.transform [session-2] <text omitted> count=532 1.3ms
2026-10-17T20:37:06.314Z LOG magic-context.transform [session-2] <text omitted> 2.2ms
2026-10-17T20:37:06.314Z LOG magic-context.transform [session-2] <text omitted> 0.6ms
2026-10-17T20:37:06.315Z LOG magic-context.transform [session-2] <text omitted> 0.9ms
2026-10-17T20:37:06.315Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:06.315Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:06.315Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:06.321Z LOG magic-context.transform [session-2] <text omitted> 0.9ms
2026-10-17T20:37:06.323Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.323Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.323Z LOG magic-context.transform [session-2] <text omitted> 2.3ms
2026-10-17T20:37:06.323Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:06.323Z LOG magic-context.transform [session-2] <text omitted> 3.4ms
2026-10-17T20:37:06.324Z LOG magic-context.transform [session-2] <text omitted> 0.4ms
2026-10-17T20:37:06.324Z LOG magic-context.transform [session-2] <text omitted> 0.2ms
2026-10-17T20:37:06.325Z LOG magic-context.transform [session-2] <text omitted>
2026-10-17T20:37:06.325Z LOG magic-context.transform [session-2] <text omitted> 1.1ms
2026-10-17T20:37:06.326Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.326Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:37:06.326Z LOG magic-context.transform [session-2] <text omitted> 0.0ms
2026-10-17T20:37:06.326Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:37:06.326Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:37:06.326Z LOG magic-context.transform [session-2] <text omitted> 0.3ms
2026-10-17T20:37:06.326Z LOG magic-context.transform [session-2] <text omitted> 0.1ms
2026-10-17T20:37:06.329Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.329Z LOG magic-context.transform [session-2] <text omitted> 1.7ms
2026-10-17T20:37:06.331Z LOG magic-context.transform [session-2] <text omitted> 2.2ms
2026-10-17T20:37:06.345Z LOG magic-context.transform [session-2] <text omitted> 13.0ms
2026-10-17T20:37:06.347Z LOG magic-context.transform [session-2] <text omitted> 2.1ms
2026-10-17T20:37:06.347Z LOG magic-context.transform [session-2] <text omitted> 17.5ms
2026-10-17T20:37:06.348Z LOG magic-context.transform [session-2] <text omitted> 1.3ms
2026-10-17T20:37:06.350Z LOG magic-context.transform [session-2] <text omitted>
2026-10-17T20:37:06.350Z LOG magic-context.transform [session-2] <text omitted> 30.0ms
2026-10-17T20:37:06.351Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.352Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:06.352Z LOG magic-context.transform [session-2] <text omitted> 125.2ms
2026-10-17T20:37:06.482Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:15.398Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:15.400Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:15.465Z LOG magic-context [session-2] <text omitted>
2026-10-17T20:37:15.468Z LOG magic-context [session-2] <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> path-2
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 5000ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
2026-10-17T20:45:36.197Z LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 33ms 2025ms 10ms 2ms 33ms 179ms 0ms 432ms 2718ms 15000ms
LOG magic-context <text omitted> path-3
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 31ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
2026-10-17T20:46:35.808Z LOG magic-context [session-2] <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 5000ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
2026-10-17T20:46:51.419Z LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 40ms 2025ms 4ms 2ms 32ms 31ms 0ms 20ms 2159ms 15000ms
LOG magic-context <text omitted> path-4
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 30ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 5000ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
2026-10-17T20:47:30.645Z LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 43ms 2032ms 6ms 2ms 25ms 20ms 0ms 11ms 2142ms 15000ms
LOG magic-context <text omitted> path-5
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 34ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> path-2
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 5000ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
2026-10-17T20:48:50.324Z LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 46ms 2048ms 7ms 4ms 26ms 28ms 0ms 15ms 2179ms 15000ms
LOG magic-context <text omitted> path-5
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 33ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 5000ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
2026-10-17T20:48:51.808Z LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 38ms 2026ms 5ms 2ms 27ms 22ms 0ms 13ms 2136ms 15000ms
LOG magic-context <text omitted> path-5
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 27ms
LOG magic-context <text omitted>
2026-10-17T20:51:59.070Z LOG magic-context [session-2] <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 5000ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
2026-10-17T20:54:24.047Z LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 28ms 2036ms 5ms 3ms 25ms 28ms 0ms 15ms 2143ms 15000ms
LOG magic-context <text omitted> path-6
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 18ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> path-2
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 5000ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>
2026-10-17T21:07:43.320Z LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 40ms 2054ms 5ms 2ms 44ms 182ms 0ms 15ms 2346ms 15000ms
LOG magic-context <text omitted> project-6
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted> 17ms
LOG magic-context <text omitted>
LOG magic-context <text omitted>
LOG magic-context <text omitted>Plugin version
0.49.10
OpenCode version
1.18.31
Platform
Win64
Client
OpenCode TUI (CLI)
Activity
magic-alfonso commentedon Oct 17, 2026
Thanks for the report and the log line.
When Magic Context starts in a folder, it asks git for the repository's first commit and uses that as the project's identity. A repository with no commits yet is supposed to fall back to an identity based on the folder until the first commit exists. In your log the git call was reported as a timeout (
git_timeout), so that fallback never ran and memory features paused. A repository with no commits should make git fail immediately, not time out, so something on this path is behaving differently on Windows. We're looking into it.To get going in the meantime, make a first commit (for example
git commit --allow-empty -m "init") and restart OpenCode.Two things would help:
git rev-list --max-parents=0 HEADtake, and what does it print? Please also includegit --version.Mirrowel commentedon Oct 17, 2026
Traced it with GIT_TRACE_PERFORMANCE + GIT_TRACE2_EVENT pointed at files — git never starts during the timeout. Timeline from one repro (traces + magic-context.log):
So on Windows the child-process spawn inside the opencode host intermittently stalls before process creation, times out at 5s, and the resulting killed/SIGTERM error classifies as git_timeout. Git itself is fast (51–110ms from CLI, 3–8ms traced in-process; git 2.55.0.windows.5, opencode 1.18.31, plugin 0.49.10, Win10 19045). It's intermittent at process level — one host ran per-pass resolutions fine for 25 minutes — but when it hits, it's the first session-path resolution after boot, which in a commitless repo is exactly when /ctx-status or a memory write runs (repos with commits cache their git: identity at boot and never re-probe, which is why only fresh-git init projects see it).
Two suggestions: retry the probe once before pausing (the next spawn usually works), and/or degrade to the dir: fallback identity during a transient failure instead of pausing memory features.
magic-alfonso commentedon Oct 17, 2026
We found the likely cause and have a fix for the next patch release.
The
git_timeoutwas a real timeout: git was started and didn't answer within 5 seconds. A repository with no commits now gets its folder identity straight from the.gitfiles, without running git, so a newgit initfolder will no longer pause memory features. The repeated5000mslines in your diagnostics are an unrelated database setting, not git.The likely trigger is a known Bun issue on Windows (oven-sh/bun#32011): a synchronous child process started the way we start git can hang until its timeout. OpenCode runs plugins under Bun, so this would apply to you.
One question: do folders that already have commits ever show
memory features paused ... git_timeouton your machine? If they do, that confirms the Bun issue, and we'll need a second change to start git differently on Windows.Mirrowel commentedon Oct 17, 2026
No, this is the first time i've ever saw that screen. Any other session worked fine.
Making a commit instantly fixed the problem, and it doesn't appear since.
magic-alfonso commentedon Oct 17, 2026
Thanks, that's helpful. Since folders with commits never hit it, the fix for new repositories covers your case, and no second change is needed for now. It ships in the next patch release, 0.49.12; I'll post here when it's out.