@cortexkit/magic-context 0.49.52 → 0.49.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +193 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25677,7 +25677,7 @@ function reportOpenCodeV2PluginCache(result, report, options) {
|
|
|
25677
25677
|
case "stale":
|
|
25678
25678
|
report.warn(`OpenCode 2 is running an outdated Magic Context${slotName} (${versions}); OpenCode does not install new releases on its own`);
|
|
25679
25679
|
report.info(` To upgrade, ${OPENCODE_V2_PLUGIN_UPDATE_HINT},`);
|
|
25680
|
-
report.info(" or quit OpenCode (including `opencode service stop`) and run `magic-context doctor --fix`.");
|
|
25680
|
+
report.info((options.platform ?? process.platform) === "win32" ? ` or quit OpenCode and delete ${result.slot}; the next start installs the current ${result.distTag ? `${tag} ` : ""}release.` : " or quit OpenCode (including `opencode service stop`) and run `magic-context doctor --fix`.");
|
|
25681
25681
|
return { fixed: false, issue: false };
|
|
25682
25682
|
case "in_use":
|
|
25683
25683
|
report.warn(`Outdated Magic Context in the OpenCode 2 plugin cache (${versions}) was not cleared: OpenCode is running (pid ${result.pids?.join(", ")})`);
|
|
@@ -35286,7 +35286,7 @@ var init_storage_replay_document = __esm(async () => {
|
|
|
35286
35286
|
});
|
|
35287
35287
|
|
|
35288
35288
|
// ../plugin/src/features/magic-context/storage-meta-persisted.ts
|
|
35289
|
-
var emergencyRecoveryArmedSessions, emergencyRecoveryArmedAtBySession, providerOverflowReconfirmedSessions, providerOverflowKnownLimitSessions, AUTO_SEARCH_NO_HINT_REASONS, DRAIN_WINDOW_MS, WRAPUP_IN_PROGRESS_TTL_MS, COMPACTION_MODE_RECORD_VALUES, EMERGENCY_DRAIN_MAX_LATCH_MS, pendingAutoSearchRetirements, COMPACTION_MARKER_PENDING_BUDGET_MS, preSnapshotSessions, warnedProtectedTokenTierOverrides;
|
|
35289
|
+
var emergencyRecoveryArmedSessions, emergencyRecoveryArmedAtBySession, providerOverflowReconfirmedSessions, providerOverflowKnownLimitSessions, AUTO_SEARCH_NO_HINT_REASONS, DRAIN_WINDOW_MS, WRAPUP_IN_PROGRESS_TTL_MS, COMPACTION_MODE_RECORD_VALUES, EMERGENCY_DRAIN_MAX_LATCH_MS, pendingAutoSearchRetirements, bindingRecoveriesAwaitingClear, COMPACTION_MARKER_PENDING_BUDGET_MS, preSnapshotSessions, warnedProtectedTokenTierOverrides;
|
|
35290
35290
|
var init_storage_meta_persisted = __esm(async () => {
|
|
35291
35291
|
init_magic_context();
|
|
35292
35292
|
init_harness_provider_map();
|
|
@@ -35321,6 +35321,7 @@ var init_storage_meta_persisted = __esm(async () => {
|
|
|
35321
35321
|
]);
|
|
35322
35322
|
EMERGENCY_DRAIN_MAX_LATCH_MS = 30 * 60 * 1000;
|
|
35323
35323
|
pendingAutoSearchRetirements = new WeakMap;
|
|
35324
|
+
bindingRecoveriesAwaitingClear = new Map;
|
|
35324
35325
|
COMPACTION_MARKER_PENDING_BUDGET_MS = 5 * 60000;
|
|
35325
35326
|
preSnapshotSessions = new Map;
|
|
35326
35327
|
warnedProtectedTokenTierOverrides = new WeakSet;
|
|
@@ -48246,10 +48247,16 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48246
48247
|
"rewrite permission: allowed=\x01 ride=none served_shape_repair=\x01 signed_prefix_release=\x01 fold_prefix_loss=\x01 first_render=\x01 cache_expired=\x01 thinking_hold=\x01 recovery_has_head=\x01 recovery_head_changed=\x01 recovery_headless_rebuild=\x01 proven_external_fold=\x01 recovered_shape_proof=\x01",
|
|
48247
48248
|
"[magic-context][pi][\x01] collectMessageEntryIdsByRef: resolved=\x01/\x01 (fingerprint=\x01, branchEntries=\x01, messageEntries=\x01) — unmapped slots fall through to synthesized ids; boundary lookup still works for any compartment whose start/end message is among the resolved set\x020s",
|
|
48248
48249
|
"[magic-context] storage fatal: refusing to migrate \x01 from upstream migration v\x01 to v\x01 because RPC discovery file \x01 is uncertain (\x01 arm), so the absence of a live OpenCode server cannot be proven. If no OpenCode server is running, it is safe to delete \x01 and retry.\x020p",
|
|
48250
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=replay permitted=unknown decision=\x01 \x01 thinking_hold=\x01 first_render=\x01 host_checkpoint_head=\x01 emergency=\x01 previous_kind=\x01 host=\x01",
|
|
48249
48251
|
"rewrite permission: allowed=\x01 ride=\x01 served_shape_repair=\x01 signed_prefix_release=\x01 fold_prefix_loss=\x01 first_render=\x01 cache_expired=\x01 thinking_hold=\x01 recovery_has_head=\x01 recovery_head_changed=\x01 recovery_headless_rebuild=\x01 proven_external_fold=\x01 recovered_shape_proof=\x01",
|
|
48252
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=input permitted=unknown decision=\x01 \x01 thinking_hold=\x01 first_render=\x01 host_checkpoint_head=\x01 emergency=\x01 previous_kind=\x01 host=\x01",
|
|
48253
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=pass permitted=unknown decision=\x01 \x01 thinking_hold=\x01 first_render=\x01 host_checkpoint_head=\x01 emergency=\x01 previous_kind=\x01 host=\x01",
|
|
48250
48254
|
"[shadow] backfill scope \x01 for \x01 retired without progress — the shadow registration was retired or replaced while the provider call was in flight, so the vectors were discarded; \x01+ items remain and automatic registration will not retry unchanged candidates",
|
|
48251
48255
|
"[magic-context] ORT_DISABLE_TELEMETRY=1 prevents ONNX uploads on POSIX. Windows native ONNX uses OS-controlled ETW diagnostics instead and exposes no JavaScript telemetry-disable API; Windows diagnostic settings and trace collectors govern collection.",
|
|
48256
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=replay permitted=\x01 decision=\x01 \x01 thinking_hold=\x01 first_render=\x01 host_checkpoint_head=\x01 emergency=\x01 previous_kind=\x01 host=\x01",
|
|
48252
48257
|
"[magic-context] storage warning: continuing migration for \x01; OpenCode server PID \x01 was not confirmed because its liveness or identity check could not run. This commonly means an OS sandbox denied kill(0) or ps. No live OpenCode server was confirmed.\x020p",
|
|
48258
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=input permitted=\x01 decision=\x01 \x01 thinking_hold=\x01 first_render=\x01 host_checkpoint_head=\x01 emergency=\x01 previous_kind=\x01 host=\x01",
|
|
48259
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=pass permitted=\x01 decision=\x01 \x01 thinking_hold=\x01 first_render=\x01 host_checkpoint_head=\x01 emergency=\x01 previous_kind=\x01 host=\x01",
|
|
48253
48260
|
"usage reading \x01 set aside (\x01): Pi re-estimated its whole unreduced session branch because a context edit or compaction follows the last recorded usage (for example after a retried request); keeping the previous reading until provider usage arrives",
|
|
48254
48261
|
"prefix trim: boundary \x01 absent from current messages; pass=priced; no in-pass trim applied (degraded pass \x01; boundary does not sort before the first live message \x01; whole window served until a cache-busting pass moves the boundary into the window)",
|
|
48255
48262
|
"prefix trim: boundary \x01 absent from current messages; pass=defer; no in-pass trim applied (degraded pass \x01; boundary does not sort before the first live message \x01; whole window served until a cache-busting pass moves the boundary into the window)",
|
|
@@ -48282,23 +48289,37 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48282
48289
|
"projection-cache admission-rejected session=\x01 byte_charge=\x01 entry_budget=\x01 total_budget=\x01 previous_entry_kept=\x01 consequence=full_sync_each_pass_unless_request_snapshot_available fallback=need_full_sync_then_full_request",
|
|
48283
48290
|
"historian oversize admission refused before spawn: producer_source_exceeds_window producer_source_tokens=\x01 usable_input_tokens=\x01 producer_input_limit_tokens=\x01 context_limit_tokens=\x01 max_output_tokens=\x01 estimator_margin=\x01",
|
|
48284
48291
|
"WARN: Magic Context \x01 config migration refused: \x01. Legacy and CortexKit config paths collapse to one file, but Magic Context will not overwrite or merge them automatically. Please consolidate manually into \x01. Paths: \x01\x022p,3p",
|
|
48292
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=replay permitted=unknown decision=unknown ride=unknown previous_kind=\x01 host=\x01",
|
|
48293
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=input permitted=unknown decision=unknown ride=unknown previous_kind=\x01 host=\x01",
|
|
48285
48294
|
"history boundary repair: compartment end \x01 is not in the active host branch; re-anchored on the start of history; removed compartments none for the historian to rebuild; the cached prefix is rebuilt on this pass\x020i",
|
|
48286
48295
|
"history boundary repair: compartment end \x01 is not in the active host branch; re-anchored on the start of history; removed compartments \x01-\x01 (\x01) for the historian to rebuild; the cached prefix is rebuilt on this pass\x020i",
|
|
48296
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=pass permitted=unknown decision=unknown ride=unknown previous_kind=\x01 host=\x01",
|
|
48287
48297
|
"foreign context rows accepted: count=\x01 chars=\x01 beforePreparedRow0=\x01 beforePreparedRow1=\x01 beforePreparedRow2=\x01 beforePreparedRow3=\x01; inserted by another extension after Magic Context's pass, outside managed history",
|
|
48298
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=replay permitted=\x01 decision=unknown ride=unknown previous_kind=\x01 host=\x01",
|
|
48299
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=input permitted=\x01 decision=unknown ride=unknown previous_kind=\x01 host=\x01",
|
|
48300
|
+
"served check: a pass without rebuild permission changed served messages first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 kind=pass permitted=\x01 decision=unknown ride=unknown previous_kind=\x01 host=\x01",
|
|
48288
48301
|
"transform stage: stage=rust.state_sync_detail phase=\x01 elapsed=\x01ms collect_ms=\x01 serialize_ms=\x01 page_build_ms=\x01 status_ms=\x01 transport_ms=\x01 module_ack_ms=\x01 compartments=\x01 tags=\x01 bytes=\x01 pages=\x01 raw_reads=\x01 raw_messages=\x01",
|
|
48289
48302
|
"history boundary repair: compartment end \x01 is not in the host store; re-anchored on the start of history; removed compartments none for the historian to rebuild; the cached prefix is rebuilt on this pass\x020i",
|
|
48290
48303
|
"history boundary repair: compartment end \x01 is not in the host store; re-anchored on the start of history; removed compartments \x01-\x01 (\x01) for the historian to rebuild; the cached prefix is rebuilt on this pass\x020i",
|
|
48291
48304
|
"transform: unknown provider usage; using provider-proven input for priced pass inputTokens=\x01 percentage=\x01 trusted=\x01 wireTokens=\x01 pressureTokens=\x01 grewPastSavedReading=\x01 sizedPlan=clears_reasoning+covered_rows",
|
|
48292
48305
|
"[dreamer] compress-cues: circuit breaker tripped — \x01 consecutive chunk timeouts (model too slow for its time slice); per-chunk elapsed [\x01ms] vs \x01ms slice; stopping run incomplete with \x01 chunk(s) unattempted",
|
|
48306
|
+
"served check: a change in front of kept signed thinking on a prefix-bound model first_index=\x01 kept_thinking_index=\x01 recorded_thinking_index=\x01 thinking_stripped=\x01 kind=replay permitted=unknown seen_by=\x01 host=\x01",
|
|
48293
48307
|
"[magic-context][pi][\x01] collectMessageEntryIds length mismatch: expected=\x01 got=\x01 (compactionIndex=\x01 firstKeptEntryId=\x01 totalBranchEntries=\x01) — best-effort mapping returned; boundary trim may not match exactly\x020s",
|
|
48294
48308
|
"transform: unknown provider usage; using provider-proven input for priced pass inputTokens=\x01 percentage=\x01 trusted=\x01 wireTokens=\x01 pressureTokens=\x01 grewPastSavedReading=\x01 sizedPlan=keeps_reasoning+covered_rows",
|
|
48309
|
+
"served check: a change in front of kept signed thinking on a prefix-bound model first_index=\x01 kept_thinking_index=\x01 recorded_thinking_index=\x01 thinking_stripped=\x01 kind=input permitted=unknown seen_by=\x01 host=\x01",
|
|
48310
|
+
"served check counts: compared=\x01 unknown=\x01 refused=\x01 append_only=\x01 changed=\x01 shorter=\x01 model_changed=\x01 unpermitted_change=\x01 mixed_replay=\x01 thinking_prefix_change=\x01 same_shape_change=\x01 full_checks=\x01 reason=periodic",
|
|
48311
|
+
"served check: a change in front of kept signed thinking on a prefix-bound model first_index=\x01 kept_thinking_index=\x01 recorded_thinking_index=\x01 thinking_stripped=\x01 kind=pass permitted=unknown seen_by=\x01 host=\x01",
|
|
48295
48312
|
"[magic-context] storage warning: continuing migration for \x01; Pi/OMP PID \x01 was not confirmed as a live harness because the process image or command line was ambiguous. No live Pi harness was confirmed.\x020p",
|
|
48296
48313
|
"[shadow] backfill scope \x01 for \x01 retired without progress — the selected source rows changed before the writer loaded them; \x01+ items remain and automatic registration will not retry unchanged candidates",
|
|
48297
48314
|
"[shadow] backfill scope \x01 for \x01 retired without progress — the write completed without satisfying the selected candidate; \x01+ items remain and automatic registration will not retry unchanged candidates",
|
|
48315
|
+
"served check: a change in front of kept signed thinking on a prefix-bound model first_index=\x01 kept_thinking_index=\x01 recorded_thinking_index=\x01 thinking_stripped=\x01 kind=replay permitted=\x01 seen_by=\x01 host=\x01",
|
|
48298
48316
|
"transform: unknown provider usage; using wire estimate for priced pass inputTokens=\x01 percentage=\x01 trusted=\x01 wireTokens=\x01 pressureTokens=\x01 grewPastSavedReading=\x01 sizedPlan=clears_reasoning+covered_rows",
|
|
48317
|
+
"served check: a change in front of kept signed thinking on a prefix-bound model first_index=\x01 kept_thinking_index=\x01 recorded_thinking_index=\x01 thinking_stripped=\x01 kind=input permitted=\x01 seen_by=\x01 host=\x01",
|
|
48299
48318
|
"transform: unknown provider usage; using wire estimate for priced pass inputTokens=\x01 percentage=\x01 trusted=\x01 wireTokens=\x01 pressureTokens=\x01 grewPastSavedReading=\x01 sizedPlan=keeps_reasoning+covered_rows",
|
|
48319
|
+
"served check: a change in front of kept signed thinking on a prefix-bound model first_index=\x01 kept_thinking_index=\x01 recorded_thinking_index=\x01 thinking_stripped=\x01 kind=pass permitted=\x01 seen_by=\x01 host=\x01",
|
|
48300
48320
|
"[magic-context] openai-compatible embedding rate limited (HTTP 429): pausing requests for \x01s (Retry-After); background embedding resumes after the pause and searches run lexical-only until then",
|
|
48301
48321
|
"[migration] OpenCode harness labels left unverified for \x01 session(s): no readable OpenCode session database (\x01) at \x01. Nothing was relabelled; `magic-context doctor` reports the affected sessions.\x020s,2p",
|
|
48322
|
+
"served check counts: compared=\x01 unknown=\x01 refused=\x01 append_only=\x01 changed=\x01 shorter=\x01 model_changed=\x01 unpermitted_change=\x01 mixed_replay=\x01 thinking_prefix_change=\x01 same_shape_change=\x01 full_checks=\x01 reason=\x01",
|
|
48302
48323
|
"pi ordinal alignment: stored ordinals run \x01 ahead of the branch walk (newest compartment end \x01 stored at \x01, branch ordinal \x01); numbering the branch from \x01 so stored coordinates keep their meaning",
|
|
48303
48324
|
"transform: unknown provider usage; using provider-proven input for priced pass inputTokens=\x01 percentage=\x01 trusted=\x01 wireTokens=\x01 pressureTokens=\x01 grewPastSavedReading=\x01 sizedPlan=clears_reasoning",
|
|
48304
48325
|
"[magic-context] openai-compatible embedding rate limited (HTTP 429): pausing requests for \x01s (backoff); background embedding resumes after the pause and searches run lexical-only until then",
|
|
@@ -48341,11 +48362,16 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48341
48362
|
"historian redundancy skip: summarizer not needed this pass — force band is \x01%; queued/automatic drops are projected to reclaim to \x01% (target \x01%) on this pass (ride=none)",
|
|
48342
48363
|
"transform: unknown provider usage; using provider-proven input for priced pass inputTokens=\x01 percentage=\x01 trusted=\x01 wireTokens=\x01 pressureTokens=\x01 sizedPlan=keeps_reasoning",
|
|
48343
48364
|
"Pi content-decision ledger unreadable: tag identity duplicates are served unmerged and no stored decision is replayed or written; the stored field is left untouched: \x01",
|
|
48365
|
+
"compaction-marker drain: marker unchanged (reason=left-unchanged); serving rebuilt history and keeping the pending marker for the next pass with rewrite permission: \x01",
|
|
48366
|
+
"compaction-marker drain: marker unchanged (reason=left-unchanged); serving rebuilt history and keeping the pending marker for the next pass with rewrite permission:",
|
|
48344
48367
|
"[magic-context] Magic Context storage is at \x01, outside the folder Engram backs up (~/.local/share/cortexkit/magic-context). It is not included in CortexKit backups.\x020p",
|
|
48345
48368
|
"[magic-context] Magic Context storage is at \x01, outside the folder Engram backs up (~/.local/share/cortexkit/magic-context). It is not included in CortexKit backups.",
|
|
48346
48369
|
"provider_usage_not_single_request: message_end input \x01 exceeds pressure evidence bound \x01; ignoring possible turn-aggregate billing usage and using request estimates",
|
|
48347
48370
|
"historian redundancy skip: summarizer not needed this pass — force band is \x01%; queued/automatic drops are projected to reclaim to \x01% (target \x01%) on this pass (ride=\x01)",
|
|
48371
|
+
"compaction-marker drain: marker unchanged (reason=busy-writer); serving rebuilt history and keeping the pending marker for the next pass with rewrite permission: \x01",
|
|
48372
|
+
"served check: a replay differed from the request served before it first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 refused_pass_permitted=unknown host=\x01",
|
|
48348
48373
|
"transform: recovery chain stops: \x01ms of the \x01ms inline join budget is left, under the \x01ms a chained run needs; the request is still about \x01 tokens, over the 95% line \x01",
|
|
48374
|
+
"compaction-marker drain: marker unchanged (reason=busy-writer); serving rebuilt history and keeping the pending marker for the next pass with rewrite permission:",
|
|
48349
48375
|
"compartment injection degraded: boundary \x01 not visible for \x01 passes and no compartment boundary is visible; requesting fresh materialization to re-cut the baseline\x021s",
|
|
48350
48376
|
"transform: unknown provider usage; using saved provider reading for priced pass inputTokens=\x01 percentage=\x01 countPercentage=\x01 sizedPlan=clears_reasoning+covered_rows",
|
|
48351
48377
|
"historian redundancy skip: summarizer not needed this pass — usage is \x01%; queued/automatic drops are projected to reclaim to \x01% (target \x01%) on this pass (ride=none)",
|
|
@@ -48363,6 +48389,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48363
48389
|
"[magic-context] registered tools: ctx_search, ctx_memory, ctx_note, ctx_expand, todowrite; registered /todos (ctx_reduce unavailable in compaction-off mode)",
|
|
48364
48390
|
"model unavailable in isolated retry: it is provided by a disabled extension; configure it through models.json or add a built-in/provider-configured fallback",
|
|
48365
48391
|
"[pi-subagent] registered tools: ctx_search, todowrite (ctx_note/ctx_expand omitted: --no-session child; memory=\x01, embedding=\x01, git_commits=\x01, dreamer_actions=\x01)",
|
|
48392
|
+
"served check: a replay differed from the request served before it first_index=\x01 recorded=\x01 after_first=\x01 served=\x01 class=\x01 seen_by=\x01 refused_pass_permitted=\x01 host=\x01",
|
|
48366
48393
|
"overflow detected in compaction-off mode: reportedLimit=\x01 provenance=\x01 pattern=\x01 — recorded limit only (recovery disarmed; native compaction owns the window)",
|
|
48367
48394
|
"native-attachment-cache reencode_drift session=\x01 drifted_chunks=\x01 first_start=\x01 first_end=\x01 consequence=served_prefix_bytes_changed_under_unchanged_cache_keys",
|
|
48368
48395
|
"system prompt hash changed: \x01 → \x01 (len=\x01), adopting on the request whose messages are already final (idle-expired request); presetChanged=unknown elements=[\x01]",
|
|
@@ -48408,6 +48435,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48408
48435
|
"[magic-context] compaction-marker slow writer site=\x01 acquire_ms=\x01 statements_ms=\x01 commit_ms=\x01 wal_autocheckpoint=\x01 wal_pages_before=\x01 wal_pages_after=\x01",
|
|
48409
48436
|
"history boundary unresolved: prefix trim refused (\x01) and the untrimmed request estimate \x01 (trusted=\x01) exceeds the context limit \x01; not sending it; \x01\x023m",
|
|
48410
48437
|
"history boundary unresolved: prefix trim refused (\x01) and the untrimmed request estimate \x01 (trusted=\x01) exceeds the context limit \x01; not sending it; \x01",
|
|
48438
|
+
"[magic-context] \x01 session(s) with a pending compaction-marker move already serve its history; the move waits for a pass with rewrite permission",
|
|
48411
48439
|
"compartment trigger: not firing at \x01% — no eligible head (live-prompt floor at \x01); offset=\x01 protectedStart=\x01 eligibleEnd=\x01 rawTokens=\x01 chunkTokens=\x01",
|
|
48412
48440
|
'[magic-context] historian.model "\x01" lacks provider prefix ("provider/model-id"); using the default context limit for chunk-budget derivation.\x020m',
|
|
48413
48441
|
'[magic-context] historian.model "\x01" lacks provider prefix ("provider/model-id"); using the default context limit for chunk-budget derivation.',
|
|
@@ -48474,10 +48502,12 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48474
48502
|
"[magic-context] [ERROR] compaction-marker: candidate worker unavailable \x01: file missing; marker unchanged, advancement deferred\x020p",
|
|
48475
48503
|
"[magic-context] [ERROR] compaction-marker: candidate worker unavailable \x01: file missing; marker unchanged, advancement deferred",
|
|
48476
48504
|
"[magic-context] skipping hidden agent '\x01' — prompt unavailable at config time (dir=\x01); will re-register on a later complete pass\x021p",
|
|
48505
|
+
"signed thinking hold: held=false reason=force_band heavyStepsBack=\x01 heavyStepTokens=\x01 usage=\x01% cap=\x01% (sized reading, local count)",
|
|
48477
48506
|
"[dreamer] compress-cues: stopping before chunk \x01/\x01 — remaining budget \x01ms is below the \x01ms chunk floor; banking \x01 compressed cue(s)",
|
|
48478
48507
|
'historian failure: source=chunk-coverage reason="chunk omits raw message \x01 while still claiming coverage through \x01" chunkRange=\x01-\x01',
|
|
48479
48508
|
"historian pathological component split: range=\x01-\x01 resultBoundary=\x01 removedTokens=\x01 producerSourceTokens=\x01 producerInputLimitTokens=\x01",
|
|
48480
48509
|
"transform: recovery chain stops: the historian's drain budget is spent; the request is still about \x01 tokens, over the 95% line \x01",
|
|
48510
|
+
"signed thinking hold: held=false reason=above_cap heavyStepsBack=\x01 heavyStepTokens=\x01 usage=\x01% cap=\x01% (sized reading, local count)",
|
|
48481
48511
|
"[magic-context] sqlite writer site=compaction-marker-replace db=opencode acquire_ms=\x01 hold_ms=\x01 work_ms=\x01 end_ms=\x01 outcome=failed",
|
|
48482
48512
|
'[magic-context] partial recomp failed session=\x01 code=\x01 reason="chunk omits raw message \x01 while still claiming coverage through \x01"\x020s',
|
|
48483
48513
|
"auto-search: decision outcome=no-candidates reason=\x01 lanes=\x01 nearMisses=\x01 threshold=\x01 pool=\x01 rows=\x01 workerStarted=\x01 peek=\x01 elapsedMs=\x01",
|
|
@@ -48491,6 +48521,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48491
48521
|
"auto-search: decision outcome=\x01 reason=start-failed lanes=\x01 nearMisses=\x01 threshold=\x01 pool=\x01 rows=\x01 workerStarted=\x01 peek=\x01 elapsedMs=\x01",
|
|
48492
48522
|
"auto-search: decision outcome=\x01 reason=worker-error lanes=\x01 nearMisses=\x01 threshold=\x01 pool=\x01 rows=\x01 workerStarted=\x01 peek=\x01 elapsedMs=\x01",
|
|
48493
48523
|
"mc-module: render identity session=\x01 changed=\x01 observed=\x01 coordinator=\x01 transition=\x01 tool_present=\x01 profile=\x01 effective=\x01 persisted=\x01",
|
|
48524
|
+
"latest-turn thinking recovery: restore no longer possible (missing-thinking-original); removing the turn's thinking instead",
|
|
48494
48525
|
"rust compaction-marker admission deferred: reason=capture_inputs fit=\x01 estimated=\x01 trusted=\x01 proxy_tokens=\x01 proxy_bytes=\x01 limit=\x01",
|
|
48495
48526
|
"tag identity recurred after its one repair: serving without a second rebuild (one cache change) session=\x01 identity=\x01 numbers=\x01\x020s",
|
|
48496
48527
|
"[magic-context] fail-closed blocking armed (\x01); primary sessions will error until storage recovers or the build is upgraded",
|
|
@@ -48501,6 +48532,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48501
48532
|
"[rpc] another Magic Context RPC server is active for this project (pid \x01, port \x01); starting separate instance on a new port",
|
|
48502
48533
|
"TRANSIENT STORAGE FAILURE SQLITE_BUSY_OR_LOCKED: LKG unavailable (lkg_emergency_armed); refusing unreduced \x01-message input",
|
|
48503
48534
|
"[git-commits] indexed \x01: scanned=\x01 inserted=\x01 updated=\x01 evicted=\x01 embedded=0 (embedding skipped: skipEmbed=\x01 gitCommitEnabled=\x01)\x020p",
|
|
48535
|
+
"latest-turn thinking recovery: unbound because a newer message of the turn was accepted (now last=\x01) (stage=\x01 first=\x01 last=\x01)",
|
|
48504
48536
|
"[auto-search] decision save hit a busy store for session \x01; serving without a hint and retrying the save on a later pass: \x01\x020s",
|
|
48505
48537
|
"auto-search: decision outcome=\x01 reason=completed lanes=\x01 nearMisses=\x01 threshold=\x01 pool=\x01 rows=\x01 workerStarted=\x01 peek=\x01 elapsedMs=\x01",
|
|
48506
48538
|
"compartment trigger: not firing at \x01% — below meaningfulness; offset=\x01 protectedStart=\x01 eligibleEnd=\x01 rawTokens=\x01 chunkTokens=\x01",
|
|
@@ -48519,6 +48551,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48519
48551
|
"auto-search: decision outcome=below-threshold lanes=\x01 nearMisses=\x01 threshold=\x01 pool=\x01 rows=\x01 workerStarted=\x01 peek=\x01 elapsedMs=\x01",
|
|
48520
48552
|
"auto-search: decision outcome=timeout reason=\x01 lanes=\x01 nearMisses=\x01 threshold=\x01 pool=\x01 rows=\x01 workerStarted=\x01 peek=\x01 elapsedMs=\x01",
|
|
48521
48553
|
"rust compaction-marker admission deferred: reason=output_fit fit=\x01 estimated=\x01 trusted=\x01 proxy_tokens=\x01 proxy_bytes=\x01 limit=\x01",
|
|
48554
|
+
"compaction-marker drain: candidate preparation deferred; pending marker kept for the next pass with rewrite permission",
|
|
48522
48555
|
"transform: historian join timed out — reclaim and final fit checks continue; historian keeps running in the background",
|
|
48523
48556
|
"signed thinking fit: could not copy the pass input (\x01); an over-window held request will be refused rather than retried",
|
|
48524
48557
|
"[magic-context] WARN canonical ordinal warm-up failed for \x01 (\x01: \x01); counts remain bounded and callers must defer or retry\x020s",
|
|
@@ -48537,9 +48570,11 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48537
48570
|
"compartment trigger: not firing at \x01% — no eligible head; offset=\x01 protectedStart=\x01 eligibleEnd=\x01 rawTokens=\x01 chunkTokens=\x01",
|
|
48538
48571
|
"historian unanchored promotion skipped: reason=discarded_last facts=\x01 user_observations=\x01 primers=\x01 events_publishable=\x01/\x01",
|
|
48539
48572
|
"[magic-context] boot hooks phase settled after its deadline; Magic Context runtime installed and fail-closed cleared",
|
|
48573
|
+
"latest-turn thinking recovery: restore unavailable (missing-thinking-original); removing the turn's thinking instead",
|
|
48540
48574
|
"prefix trim: boundary \x01; pass=defer; no in-pass trim applied (Hidden completion accepts text-only calibrated prompts)",
|
|
48541
48575
|
"fail-closed blocking surface registered (\x01); primary turns will error until storage recovers or the build is upgraded",
|
|
48542
48576
|
"mc-module: config warning: prompt_surface.tool_descriptions.\x01 is not a known ctx_* tool ID; the override was ignored.",
|
|
48577
|
+
"signed thinking hold: held=false reason=\x01 heavyStepsBack=\x01 heavyStepTokens=\x01 usage=\x01% cap=\x01% (sized reading, local count)",
|
|
48543
48578
|
"TRANSIENT STORAGE FAILURE SQLITE_BUSY_OR_LOCKED: LKG unavailable (compaction_off); refusing unreduced \x01-message input",
|
|
48544
48579
|
"[dreamer] curate safety refusal: session_id=\x01 memory_id=\x01 verdict=\x01 reason=\x01 original_chars=\x01 replacement_chars=\x01 refused=\x01\x020s,6s",
|
|
48545
48580
|
"[dreamer] retrospective: child rejected \x01-token estimated prompt for size; retrying watermark=\x01 with usable input \x01 -> \x01\x022m",
|
|
@@ -48551,6 +48586,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48551
48586
|
"compaction-off transition could not verify complete marker cleanup; durable cleanup retry will run on the next pass",
|
|
48552
48587
|
"prefix trim: boundary \x01; pass=priced; no in-pass trim applied (Hidden child first step requires a registered marker)",
|
|
48553
48588
|
"Magic Context (\x01) storage unavailable at \x01: \x01. fail_closed_blocking=false — degrading silently (hooks not registered).",
|
|
48589
|
+
"latest-turn thinking recovery: restore no longer possible (missing-original:\x01); removing the turn's thinking instead",
|
|
48554
48590
|
"[migration] OpenCode harness labels repaired from \x01: \x01 session(s) restored to opencode2, \x01 session(s) set to opencode.\x020p",
|
|
48555
48591
|
"prompt_surface.guidance_override_path (\x01) must contain exactly one \x01 section marker; found \x01. Using built-in guidance.\x020p",
|
|
48556
48592
|
"[magic-context] compaction-marker consistency check SKIPPED retaining state path=\x01 source=\x01 mode=readonly wal=aware: \x01\x020p",
|
|
@@ -48567,8 +48603,10 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48567
48603
|
"historian publish stage: stage=parse status=completed elapsed=\x01ms compartments=\x01 dropped_fact_blocks=\x01 dropped_facts=\x01",
|
|
48568
48604
|
"[magic-context] WARNING: \x01 configured \x01, but OpenCode 2 does not know that model; provider gave no model suggestion\x021m",
|
|
48569
48605
|
"[auto-search] session \x01: search still running \x01 ms after its deadline; disposing its worker (owner vector wait n/a)\x020s",
|
|
48606
|
+
"signed thinking hold: held=false reason=force_band heavyStepsBack=\x01 heavyStepTokens=\x01 usage=\x01% cap=\x01% (sized reading)",
|
|
48570
48607
|
"heuristics WILL RUN — reason=m0_hard_fold (drain folded into executed m[0] bust, scheduler=\x01), context=\x01%, turn=n/a",
|
|
48571
48608
|
"[auto-search] session \x01: search still running \x01 ms after its deadline; disposing its worker (owner vector wait \x01 ms)\x020s",
|
|
48609
|
+
"latest-turn thinking recovery: unbound because a newer turn was accepted (now first=\x01 last=\x01) (stage=\x01 first=\x01 last=\x01)",
|
|
48572
48610
|
"[dreamer] verify safety refusal: memory_id=\x01 verdict=update reason=content-loss original_chars=\x01 replacement_chars=\x01",
|
|
48573
48611
|
"channel2 ceiling nudge delivery failed; token-bound pending restore was busy so the stale claim will heal later: \x01",
|
|
48574
48612
|
"channel2 ceiling nudge delivery failed; token-bound pending restore was busy so the stale claim will heal later:",
|
|
@@ -48577,6 +48615,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48577
48615
|
"[shadow] skipped duplicate memory batch for \x01; the same content was submitted within the one-hour provider budget",
|
|
48578
48616
|
"channel2 ceiling nudge sent but claim confirmation was not ours (state=\x01); leaving existing lease state unchanged",
|
|
48579
48617
|
"ERROR: compaction marker disabled: incompatible host binding harness=pi arity=\x01 getEntry=\x01; leaving marker pending",
|
|
48618
|
+
"signed thinking hold: held=false reason=above_cap heavyStepsBack=\x01 heavyStepTokens=\x01 usage=\x01% cap=\x01% (sized reading)",
|
|
48580
48619
|
"pending ops WILL APPLY — reason=pending_materialization origin=\x01, pendingOps=not loaded (deferred pass) context=\x01%\x020s",
|
|
48581
48620
|
"[git-commits] sweep finished for \x01 in \x01ms: scanned=\x01 inserted=\x01 updated=\x01 evicted=\x01 embedded=\x01 drained=\x01 backlogDrained=\x01",
|
|
48582
48621
|
"auto-search: decision outcome=\x01 reason=\x01 lanes=\x01 nearMisses=\x01 threshold=\x01 pool=\x01 rows=\x01 workerStarted=\x01 peek=\x01 elapsedMs=\x01\x020s",
|
|
@@ -48586,6 +48625,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48586
48625
|
"[magic-context] registered tools: ctx_search, ctx_memory, ctx_note, ctx_expand, ctx_reduce (todowrite disabled)",
|
|
48587
48626
|
"[magic-context] storage unavailable: native turn deadlines must be selected on the first open; restart the host",
|
|
48588
48627
|
"compartment agent skipped: compartment lease held by another process (owner unavailable after acquisition race)",
|
|
48628
|
+
"latest-turn thinking recovery: restore no longer possible (no-turn-start); removing the turn's thinking instead",
|
|
48589
48629
|
"[magic-context] WARNING: \x01 configured \x01, but Oh My Pi does not know that model; provider gave no model suggestion\x021m",
|
|
48590
48630
|
"[magic-context] WARNING: \x01 configured \x01, but OpenCode does not know that model; provider gave no model suggestion\x021m",
|
|
48591
48631
|
"[shadow] skipped duplicate chunk batch for \x01; the same content was submitted within the one-hour provider budget",
|
|
@@ -48609,10 +48649,14 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48609
48649
|
"[magic-context] embedding endpoint blocked: embedding endpoint host \x01 is link-local / cloud metadata (blocked)",
|
|
48610
48650
|
"DEGRADED PASS SQLITE_BUSY_OR_LOCKED: LKG unavailable (lkg_emergency_armed); refusing unreduced \x01-message input",
|
|
48611
48651
|
"TRANSIENT STORAGE FAILURE SQLITE_BUSY_OR_LOCKED: LKG replay unavailable (\x01); refusing unreduced \x01-message input",
|
|
48652
|
+
"latest-turn thinking recovery: provider rejected the bound turn again (rejection \x01, first=\x01 last=\x01); \x01 -> refused",
|
|
48653
|
+
"latest-turn thinking recovery: provider rejected the bound turn again (rejection \x01, first=\x01 last=\x01); \x01 -> removed",
|
|
48612
48654
|
"pending ops WILL APPLY — reason=pending_materialization origin=pending_materialization, pendingOps=\x01 context=\x01%",
|
|
48613
48655
|
"auto-search: decision outcome=error lanes=\x01 nearMisses=\x01 threshold=\x01 pool=\x01 rows=\x01 workerStarted=\x01 peek=\x01 elapsedMs=\x01",
|
|
48656
|
+
"latest-turn thinking recovery: restore unavailable (missing-original:\x01); removing the turn's thinking instead",
|
|
48614
48657
|
"prefix trim: boundary \x01; pass=priced; no in-pass trim applied (boundary \x01 appears \x01 times in the live messages)",
|
|
48615
48658
|
"overflow detected on subagent via message.updated: reportedLimit=\x01 provenance=\x01 pattern=\x01 — recorded limit only",
|
|
48659
|
+
"latest-turn thinking recovery: provider rejected the bound turn again (rejection \x01, first=\x01 last=\x01); \x01 -> remove",
|
|
48616
48660
|
"compartment trigger: skipped — no new raw history (usage=\x01% nextStartOrdinal=\x01 diagnostic-collection-failed: \x01)",
|
|
48617
48661
|
"tag identity unresolved: serving with a newly allocated tag number (one cache change per identity) session=\x01 \x01\x020s",
|
|
48618
48662
|
"[magic-context] registered todowrite overlay: DISABLED (todowrite.enabled=false or todowrite.overlay=false)",
|
|
@@ -48623,18 +48667,22 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48623
48667
|
"compaction-marker: no user boundary found at or before endMessageId \x01 (ordinal \x01); preserving existing marker",
|
|
48624
48668
|
"prefix trim: boundary \x01; pass=defer; no in-pass trim applied (boundary \x01 appears \x01 times in the live messages)",
|
|
48625
48669
|
"over-window first pass reduced: the request is about \x01 tokens (history started at \x01), under the \x01-token window",
|
|
48670
|
+
"latest-turn thinking recovery: provider rejected the bound turn again (rejection \x01, first=\x01 last=\x01); \x01 -> armed",
|
|
48626
48671
|
"historian prompt fit: sized to \x01 (chunkTokens=\x01 sessionReferences=\x01 memories=\x01/\x01 seeds=\x01/\x01; requestedChunkTokens=\x01)\x020m",
|
|
48627
48672
|
"system prompt hash changed: \x01 → \x01 (len=\x01), triggering flush (idle-expired request); presetChanged=\x01 elements=[\x01]",
|
|
48628
48673
|
"[mc-module][\x01] historian prompt fit: chunkTokens=\x01 requestedChunkTokens=\x01 sessionReferences=\x01 memories=\x01/\x01 seeds=\x01",
|
|
48674
|
+
"served check: content changed with the same shape first_index=\x01 seen_by=\x01 kind=replay permitted=unknown host=\x01",
|
|
48629
48675
|
"[magic-context] instance disposed — stopped RPC server, dream timer, auto-update, Rust replay registration",
|
|
48630
48676
|
"historian deferred: exact ordinals not ready (ordinal warm-up still running); a later pass starts it again",
|
|
48631
48677
|
"prefix trim: boundary \x01; pass=priced; no in-pass trim applied (boundary absent from immutable source order)",
|
|
48632
48678
|
"[shadow] skipped duplicate \x01 batch for \x01; the same content was submitted within the one-hour provider budget",
|
|
48633
48679
|
"prefix trim: boundary \x01; pass=priced; source order not usable (\x01); placing the boundary by the live messages",
|
|
48680
|
+
"compaction-marker drain: pass has no rewrite permission; ordinal \x01 waits for a pass with rewrite permission",
|
|
48634
48681
|
"[magic-context] embedding endpoint blocked: embedding endpoint host \x01 is a cloud metadata service (blocked)",
|
|
48635
48682
|
"[magic-context] sqlite writer site=\x01 db=opencode acquire_ms=\x01 hold_ms=\x01 work_ms=\x01 end_ms=\x01 outcome=not_acquired",
|
|
48636
48683
|
"compartment trigger: tail-size fire — ~\x01 TC-chunked tokens (hasMore=\x01, true-raw ~\x01) exceeds \x01 budget threshold",
|
|
48637
48684
|
"rust compaction-marker: pending target write skipped on lock contention; next cache-busting pass retries: \x01",
|
|
48685
|
+
"served check: content changed with the same shape first_index=\x01 seen_by=\x01 kind=input permitted=unknown host=\x01",
|
|
48638
48686
|
'⚠️ Magic Context: The "protected_tags" setting is deprecated and ignored. Use "protected_tokens" instead.',
|
|
48639
48687
|
"outgoing fit: upper-estimate-pressure; reclaim held by signed prefix, deferred pass or used session latch",
|
|
48640
48688
|
"prefix trim: boundary \x01; pass=defer; no in-pass trim applied (boundary absent from immutable source order)",
|
|
@@ -48647,10 +48695,13 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48647
48695
|
"final representation: clearedParts=\x01 mergedReasoningParts=\x01 removedReasoningParts=\x01 settledDroppedReasoning=\x01",
|
|
48648
48696
|
"mc-module: overflow recovery arm has no eligible history boundary; suppressing forced emergency pass for \x01",
|
|
48649
48697
|
"note-nudge: suppressing — agent ran ctx_note(read) at \x01 and the read is still visible; no new notes since \x01",
|
|
48698
|
+
"served check: content changed with the same shape first_index=\x01 seen_by=\x01 kind=pass permitted=unknown host=\x01",
|
|
48699
|
+
"latest-turn thinking recovery: restore unavailable (no-turn-start); removing the turn's thinking instead",
|
|
48650
48700
|
"ctx_reduce permission is denied for agent=\x01; session freezes without ctx_reduce tags, guidance, or nudges",
|
|
48651
48701
|
"[magic-context] v2 store reader pool still held by \x01 hidden run(s) at dispose; it closes when they finish",
|
|
48652
48702
|
"clone-inheritance: migrated compartments=\x01 tags=\x01 notes=\x01 facts=\x01 source=unknown dest=unknown reason=startup",
|
|
48653
48703
|
"DEGRADED PASS SQLITE_BUSY_OR_LOCKED: LKG unavailable (compaction_off); refusing unreduced \x01-message input",
|
|
48704
|
+
"latest-turn thinking recovery: a request without the turn's removed thinking was accepted (first=\x01 last=\x01)",
|
|
48654
48705
|
"transform: final-wire telemetry estimate=\x01 trusted=\x01 conversation=\x01 tools=\x01 system=\x01 toolDefinitions=\x01 tail=[\x01]",
|
|
48655
48706
|
"auto-search: decision outcome=\x01 lanes=\x01 nearMisses=\x01 threshold=\x01 pool=\x01 rows=\x01 workerStarted=\x01 peek=\x01 elapsedMs=\x01\x020s",
|
|
48656
48707
|
"auto-search: decision outcome=\x01 lanes=\x01 nearMisses=\x01 threshold=\x01 pool=\x01 rows=\x01 workerStarted=\x01 peek=\x01 elapsedMs=\x01",
|
|
@@ -48663,11 +48714,13 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48663
48714
|
"v2 usage: ignored server-fallback reply inputTokens=\x01 (sum of two server runs); keeping previous reading",
|
|
48664
48715
|
"caveman cleanup: switched to current rules (language-neutral word rules), rewrote \x01 compressed text tags",
|
|
48665
48716
|
"[magic-context] sqlite writer site=\x01 db=opencode acquire_ms=\x01 hold_ms=\x01 work_ms=\x01 end_ms=\x01 outcome=committed",
|
|
48717
|
+
"signed thinking hold: held=false reason=\x01 heavyStepsBack=\x01 heavyStepTokens=\x01 usage=\x01% cap=\x01% (sized reading)",
|
|
48666
48718
|
'[magic-context] partial recomp failed session=\x01 code=\x01 reason="chunk coverage ends at \x01 but chunk end is \x01"\x020s',
|
|
48667
48719
|
"pending ops WILL APPLY — reason=ride=none (scheduler=\x01), pendingOps=not loaded (deferred pass) context=\x01%",
|
|
48668
48720
|
"[magic-context] buildAllowOnlyPermission: allow-list UNDEFINED for \x01 — registering deny-all (defensive) \x01",
|
|
48669
48721
|
"historian no-op: protectedTailStart=\x01 eligibleEnd=\x01 <= offset=\x01 — nothing to compact; boundaryDiagnostics=\x01",
|
|
48670
48722
|
"historian unanchored promotion skipped: reason=\x01 facts=\x01 user_observations=\x01 primers=\x01 events_publishable=\x01/\x01",
|
|
48723
|
+
"latest-turn thinking recovery: rejection not bound, no pass in this process built the rejected request",
|
|
48671
48724
|
'recomp partial code=\x01 reason="remaining messages \x01-\x01 were too few or all noise to form a historian chunk"',
|
|
48672
48725
|
"[magic-context] buildAllowOnlyPermission: allow-list UNDEFINED for \x01 — registering deny-all (defensive)",
|
|
48673
48726
|
"raw_fallback_over_context_limit estimated=\x01 trusted=\x01 proxy_bytes=\x01 proxy_tokens=\x01 limit=\x01 early_abort=true",
|
|
@@ -48701,8 +48754,8 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48701
48754
|
"[dreamer] verify-broad: verified=\x01 updated=\x01 archived=\x01 skipped=\x01 refused=\x01 batches=\x01 remaining=\x01 complete=\x01",
|
|
48702
48755
|
"mc-module: pending drops held session=\x01 reason=no_originating_cache_bust scheduler=\x01 historian_active=\x01",
|
|
48703
48756
|
"OMP structural comparison skipped: \x01; stale prepared requests are not detected on this pass; session=\x01",
|
|
48757
|
+
"served check: content changed with the same shape first_index=\x01 seen_by=\x01 kind=replay permitted=\x01 host=\x01",
|
|
48704
48758
|
"WARNING unwritten served-ledger tail session=\x01 file=\x01 ignored_zero_bytes=\x01 retained_bytes=\x01 total_bytes=\x01\x020s,1p",
|
|
48705
|
-
"compaction-marker drain: candidate preparation deferred; preserving deferred history refresh signal",
|
|
48706
48759
|
"historian deferred: exact ordinals not ready (chunk start unreadable); a later pass starts it again",
|
|
48707
48760
|
"Pi note-nudge: latest user message has no resolved SessionEntry id; deferring delivery to next pass",
|
|
48708
48761
|
"[dreamer] pruned schedule rows of \x01 idle identities (no memories, no recent sessions, no task input)",
|
|
@@ -48716,19 +48769,24 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48716
48769
|
'historian no-op: stored compartments still invalid ("overlap before message \x01 (saw \x01-\x01)"); backing off',
|
|
48717
48770
|
"[magic-context] WARNING: \x01 configured \x01, but OpenCode 2 does not know that model; provider suggests \x01…\x021m",
|
|
48718
48771
|
"compaction-marker hygiene: removed fork-orphaned marker part=\x01 boundary=\x01 (outranked owned boundary \x01)\x021i,2i",
|
|
48772
|
+
"latest-turn thinking recovery: removed thinking from the bound turn (parts=\x01 messages=\x01 first=\x01 last=\x01)",
|
|
48719
48773
|
"pending ops WILL APPLY — reason=ride=\x01 (scheduler=\x01), pendingOps=not loaded (deferred pass) context=\x01%",
|
|
48720
48774
|
"[magic-context] partial recomp cleanup: clearing orphaned staging without range marker for session \x01\x020s",
|
|
48721
48775
|
"Pi compaction-marker drain: persisted compactionId=\x01 firstKept=\x01 endMessageId=\x01 ordinal=\x01 tokensBefore=\x01\x022i",
|
|
48722
48776
|
"projection-cache miss session=\x01 reason=missing current_epoch=\x01 retained_bytes=\x01 entries=\x01 total_budget=\x01",
|
|
48777
|
+
"served check: content changed with the same shape first_index=\x01 seen_by=\x01 kind=input permitted=\x01 host=\x01",
|
|
48723
48778
|
"tool_sweep_lkg_mismatch session=\x01 condition=\x01 last_served_rows=\x01 legacy_divergence=\x01 scoped_divergence=\x01\x020s",
|
|
48724
48779
|
"mc-module: WARN MC_DRIVE_FAULT=fingerprint_skew active — response deliberately corrupted for drive",
|
|
48725
48780
|
"mc-module: WARN MC_DRIVE_FAULT=omit_ck_messages active — response deliberately corrupted for drive",
|
|
48726
48781
|
"pi m[0] cache_invalid materialization contention exhausted; rendered fresh non-persisted m[0]/m[1]",
|
|
48727
48782
|
"rust compaction-marker drain: pending target not covered by served response; retaining retry state",
|
|
48728
48783
|
"historian skipped ordinals \x01-\x01: all \x01 raw rows excluded by chunk filters (no-content boundary marker)",
|
|
48784
|
+
"latest-turn thinking recovery: restore no longer possible (\x01); removing the turn's thinking instead",
|
|
48729
48785
|
"neutralized \x01 dropped + \x01 system-injected messages + \x01 hidden-at-marker-seam (\x01 new, \x01 total persisted)",
|
|
48786
|
+
"latest-turn thinking recovery: unbound because the request now goes through \x01 (stage=\x01 first=\x01 last=\x01)\x020m",
|
|
48730
48787
|
"[dreamer] map-memories: committed=\x01 mapped=\x01 independent=\x01 batches=\x01 remaining=\x01 complete=\x01 stop_reason=\x01",
|
|
48731
48788
|
"[magic-context] WARNING: \x01 configured \x01, but OpenCode 2 does not know that model; provider suggests \x01\x021m",
|
|
48789
|
+
"served check: content changed with the same shape first_index=\x01 seen_by=\x01 kind=pass permitted=\x01 host=\x01",
|
|
48732
48790
|
"tag identity decision tag-identity-repair-once could not be written; serving duplicates unmerged: \x01",
|
|
48733
48791
|
"historian deferred: exact ordinals not ready (bounded read refused); a later pass starts it again",
|
|
48734
48792
|
"[dreamer] pruned schedule rows of \x01 idle identity (no memories, no recent sessions, no task input)",
|
|
@@ -48764,6 +48822,8 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48764
48822
|
"v2 refusal: interrupting the turn before the provider request arm=checkpoint-fit-estimate cause=\x01",
|
|
48765
48823
|
"v2 refusal: interrupting the turn before the provider request arm=unsupported-session-api cause=\x01",
|
|
48766
48824
|
"[magic-context] host stall profiler: bun:jsc is unavailable, profiler disabled for this process",
|
|
48825
|
+
"frozen replay release: the history head differs from the replay's; counting it as a head change",
|
|
48826
|
+
"restart: the history head differs from the saved last-good request's; stripping signed thinking",
|
|
48767
48827
|
"[\x01] primary (\x01/\x01) failed validation/prompt: \x01; \x01 fallback(s) configured, subject to remaining budget\x021m,2m",
|
|
48768
48828
|
"[dreamer] verify safety refusal: memory_id=\x01 verdict=update reason=directive-shaped-project-rule",
|
|
48769
48829
|
"transform: model switch \x01 -> \x01 reset — percentage=\x01% tokens=\x01 — clearing stale model-specific state\x020s",
|
|
@@ -48774,6 +48834,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48774
48834
|
"v2 refusal: interrupting the turn before the provider request arm=checkpoint-over-window cause=\x01",
|
|
48775
48835
|
'[magic-context] Stripped deprecated "clear_reasoning_age" key during config location migration',
|
|
48776
48836
|
"[magic-context] WARN: invalid workspace share_categories; sharing no foreign memory categories",
|
|
48837
|
+
"latest-turn thinking recovery: ended after a signed-thinking reset removed the turn's thinking",
|
|
48777
48838
|
"message FTS async clear and reindex skipped (database busy; will retry on next reconciliation)",
|
|
48778
48839
|
"v2 setup() called on a host without session.hook; v1 server lane owns this host, v2 lane inert",
|
|
48779
48840
|
"opaque thinking fallback: steps=\x01 tokensPerStep=1000 (native usage unavailable; telemetry only)",
|
|
@@ -48832,6 +48893,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48832
48893
|
"degraded pass over the context limit: estimate=\x01 trusted=\x01 limit=\x01 degradations=\x01; not sending it",
|
|
48833
48894
|
"[mural] skipped for \x01: only \x01/\x01 active memories have current cues (requires \x01 cues or \x01% coverage)",
|
|
48834
48895
|
"[dreamer] verify warning: dropping \x01 unknown verification entries outside the current batch (\x01)",
|
|
48896
|
+
"latest-turn thinking recovery: unbound because the request now goes to \x01 (stage=\x01 first=\x01 last=\x01)\x020m",
|
|
48835
48897
|
"thinking binding recovery armed from message.updated (provider paths: failing=\x01 firstChanged=\x01)\x020p,1p",
|
|
48836
48898
|
"[magic-context] config hook failed (commands/agents NOT registered; transform still active): \x01",
|
|
48837
48899
|
"heuristics WILL RUN — reason=ride=\x01 subagent_rerun (pendingOps=\x01, scheduler=\x01), context=\x01%, turn=\x01",
|
|
@@ -48856,6 +48918,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48856
48918
|
"models-dev-cache: API refresh returned no providers payload (will retry if attempts remain)",
|
|
48857
48919
|
"subagent child detected (MAGIC_CONTEXT_PI_SUBAGENT=1); skipping full extension registration",
|
|
48858
48920
|
"mc-module: historian for \x01 not fired: the transform request carried no historian_model_chain",
|
|
48921
|
+
"latest-turn thinking recovery: restore unavailable (\x01); removing the turn's thinking instead",
|
|
48859
48922
|
"event message.updated: usage \x01 from \x01 arrived after newer message \x01; keeping the newer reading\x021i,2s",
|
|
48860
48923
|
"heuristic cleanup: dropped \x01 tool tags, deduplicated \x01 tool calls, dropped \x01 system injections",
|
|
48861
48924
|
"mc-module: duplicate_tool_use_id session=\x01 id=\x01 message_index=\x01 block_index=\x01 action=drop_later",
|
|
@@ -48878,6 +48941,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48878
48941
|
"rust compaction-marker drain: retryable failure after module row \x01; pending target retained",
|
|
48879
48942
|
"[magic-context] compaction-marker: deferred candidate preparation for \x01: \x01; marker unchanged\x020s",
|
|
48880
48943
|
"DEGRADED PASS SQLITE_BUSY_OR_LOCKED: LKG unavailable (\x01); refusing unreduced \x01-message input",
|
|
48944
|
+
"latest-turn thinking recovery: armed for the provider's latest turn (first=\x01 last=\x01 model=\x01/\x01)\x023m",
|
|
48881
48945
|
"transform: bumping percentage to 95% due to overflow recovery flag (was \x01%, detectedLimit=\x01)",
|
|
48882
48946
|
"transform: skipping compartment start, no eligible history before protected tail (beyond \x01)",
|
|
48883
48947
|
"[magic-context] WARNING: \x01 configured \x01, but Pi does not know that model; provider suggests \x01\x021m",
|
|
@@ -48893,6 +48957,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48893
48957
|
"WARNING: \x01 compartments share endMessageId=\x01 — schema invariant violated; treating as stale\x021i",
|
|
48894
48958
|
"transform: recovery chain stops: the last historian run published nothing (\x01 chained runs)",
|
|
48895
48959
|
"injected generic guidance into system prompt (ctxReduce=\x01, subagent=\x01, subagentReduceMode=\x01)",
|
|
48960
|
+
"latest-turn thinking recovery: armed for the provider's latest turn (first=\x01 last=\x01 model=\x01)\x022m",
|
|
48896
48961
|
`recomp partial code=\x01 reason="the history model's window cannot hold a historian prompt: \x01"`,
|
|
48897
48962
|
"thinking-binding recovery armed from message_end (provider paths: failing=\x01 firstChanged=\x01)\x020p,1p",
|
|
48898
48963
|
"[magic-context] legacy WAL checkpoint before copy failed (continuing with sidecar copy): \x01",
|
|
@@ -48901,6 +48966,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48901
48966
|
"rehydrated \x01 Pi deferred compaction marker session(s); sessionIds=\x01; activeSessionIncluded=\x01\x020s,2s",
|
|
48902
48967
|
"[magic-context] registered auto-search hint: DISABLED (memory.auto_search.enabled=false)",
|
|
48903
48968
|
"[magic-context] registered dreamer: DISABLED (dreamer.disable=true or no dreamer config)",
|
|
48969
|
+
"latest-turn thinking recovery: refused locally (the thinking removal could not be saved)",
|
|
48904
48970
|
"v2 refusal: interrupting the turn before the provider request arm=checkpoint-over-window",
|
|
48905
48971
|
"mc-module: wrapup for \x01 refused: the session's transform carried no historian_model_chain",
|
|
48906
48972
|
"pi ordinal alignment: \x01: \x01; historian and native compaction marker paused for this session",
|
|
@@ -48918,6 +48984,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48918
48984
|
"[magic-context] registered historian trigger (model=\x01, fallbacks=\x01, executeThreshold=\x01% (\x01))\x020m",
|
|
48919
48985
|
"[magic-context] partial recomp merged validation failed: gap before message \x01 (expected \x01)",
|
|
48920
48986
|
"[magic-context] partial recomp merged validation failed: overlap before message \x01 (saw \x01-\x01)",
|
|
48987
|
+
"latest-turn thinking recovery: binding rejection handed to the binding recovery (stage=\x01)",
|
|
48921
48988
|
"[magic-context] slow write transaction: site=storage_meta_wrapup_expiry_cleanup held=\x01ms \x01",
|
|
48922
48989
|
"[magic-context] transform FAILED code=\x01 name=\x01: \x01. No last-good replay; refusing the turn. \x01",
|
|
48923
48990
|
"ERROR [tail-hygiene-last-writer-check-failed]: structural production guard failed open: \x01",
|
|
@@ -48928,6 +48995,8 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48928
48995
|
"[magic-context] protected_tags is deprecated and ignored; use protected_tokens instead.",
|
|
48929
48996
|
"ERROR [tail-hygiene-last-writer-check-failed]: structural production guard failed open:",
|
|
48930
48997
|
"historian: cleared stale compartmentInProgress flag on first context pass after restart",
|
|
48998
|
+
"served check: record dropped reason=native_compaction; the next request is not compared",
|
|
48999
|
+
"thinking binding recovery clear failed after the request was decided; serving the pass:",
|
|
48931
49000
|
"v2 refusal: interrupting the turn before the provider request arm=transform-fail-closed",
|
|
48932
49001
|
"[magic-context] transform FAILED code=\x01 name=\x01: \x01. No last-good replay; refusing the turn.",
|
|
48933
49002
|
"rust compaction-marker drain: CAS lost after module row \x01; newer pending target retained",
|
|
@@ -48966,7 +49035,10 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48966
49035
|
"[magic-context] host stall profiler: \x01ms main-thread stall, \x01 samples, top owner none → \x01\x022p",
|
|
48967
49036
|
"historian publish stage: stage=post-publish-drops status=started elapsed=0.0ms range=\x01-\x01",
|
|
48968
49037
|
"mc-request-byte-cap refused bytes=\x01 cap=\x01 method=\x01 kind=\x01 session=\x01 page_index=\x01 page_total=\x01",
|
|
49038
|
+
"latest-turn thinking recovery: refused locally (the recovery state could not be read)",
|
|
48969
49039
|
"rust compaction-marker drain: candidate preparation deferred; pending target retained",
|
|
49040
|
+
"served check: record dropped reason=session_cleared; the next request is not compared",
|
|
49041
|
+
"served check: record dropped reason=session_deleted; the next request is not compared",
|
|
48970
49042
|
"v2 refusal: interrupting the turn before the provider request arm=storage-notice-turn",
|
|
48971
49043
|
"v2 refusal: interrupting the turn before the provider request arm=storage-unavailable",
|
|
48972
49044
|
"[v22-backfill] completed with \x01 unresolved failure(s); run doctor --retry-v22-backfill",
|
|
@@ -48979,6 +49051,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48979
49051
|
"[magic-context] tool-owner backfill failed (continuing with lazy adoption fallback): \x01",
|
|
48980
49052
|
"historian publish stage: stage=post-publish-drops status=completed elapsed=\x01ms range=\x01-\x01",
|
|
48981
49053
|
"raw_fallback_over_context_limit estimated=\x01 trusted=\x01 proxy_bytes=\x01 proxy_tokens=\x01 limit=\x01",
|
|
49054
|
+
"transform refused degraded pass site=host-instruction-retention-persistence-failure: \x01",
|
|
48982
49055
|
"transform: emergency fail-closed abort failed; refusing to return a sendable prompt: \x01",
|
|
48983
49056
|
"v2 refusal: interrupting the turn before the provider request arm=storage-busy cause=\x01",
|
|
48984
49057
|
"WARN: [magic-context] persistent storage unavailable; disabling magic-context tools: \x01",
|
|
@@ -48987,6 +49060,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48987
49060
|
"mc-module: WARN MC_DRIVE_FAULT=channel2_arm active — directive force-armed for drive",
|
|
48988
49061
|
"merged reasoning strip: persistence failed; leaving newly detected assistants intact",
|
|
48989
49062
|
"Pi auto-search: strict entry-id resolution failed; replayed persisted decisions only",
|
|
49063
|
+
"request tools release record failed after the request was decided; serving the pass:",
|
|
48990
49064
|
"session_before_compact: cancelling — magic-context fail-closed (storage unavailable)",
|
|
48991
49065
|
"transform refused degraded pass site=host-instruction-retention-persistence-failure:",
|
|
48992
49066
|
"transform: emergency fail-closed abort failed; refusing to return a sendable prompt:",
|
|
@@ -48994,6 +49068,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
48994
49068
|
"memory embedding skipped for memory \x01: content changed before the embedding finished.",
|
|
48995
49069
|
"stable-id scheme cutover: stored=\x01 < current=\x01 — forcing execute+materialize this pass",
|
|
48996
49070
|
"Pi held identity rebuild: prior prefix unavailable (\x01); applying the declared rebuild",
|
|
49071
|
+
"thinking binding recovery: stripped bound reasoning from \x01 assistant(s) [\x01]; flag=kept",
|
|
48997
49072
|
"compartment trigger: proactive fire at \x01% (floor=\x01% projected post-drop=none target=\x01%)",
|
|
48998
49073
|
"context limit resolved: \x01 for \x01 (catalog \x01, overflow-detected \x01, proven accepted input \x01)\x021m",
|
|
48999
49074
|
"pending ops WILL NOT APPLY — reason=\x01 pendingOps=not loaded (deferred pass) context=\x01%",
|
|
@@ -49008,6 +49083,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49008
49083
|
"[magic-context] conflict-warning: could not find active session for Desktop warning",
|
|
49009
49084
|
"[magic-context] event message.removed: no message removal info extracted from event",
|
|
49010
49085
|
"[magic-context] plugin DISABLED via config (enabled: false) — skipping registration",
|
|
49086
|
+
"conversation token estimate failed after the request was decided; serving the pass:",
|
|
49011
49087
|
"historian publish stage: stage=dangling-boundary-check status=started elapsed=0.0ms",
|
|
49012
49088
|
"Pi publication mirror_failed reason=identity_mirror_failed; serving managed context",
|
|
49013
49089
|
"rust thinking binding recovery: persistence failed; leaving the bound blocks intact",
|
|
@@ -49060,6 +49136,8 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49060
49136
|
"[magic-context] openai-compatible embedding provider is missing endpoint or model",
|
|
49061
49137
|
"channel2 ceiling nudge sent but token-confirm failed; lease state left unchanged:",
|
|
49062
49138
|
"pending operations write admission busy; retaining remaining operations for retry",
|
|
49139
|
+
"served system hash record failed after the request was decided; serving the pass:",
|
|
49140
|
+
"transform decision record failed after the request was decided; serving the pass:",
|
|
49063
49141
|
"transform refused degraded pass site=trailing-blank-decision-persistence-failure:",
|
|
49064
49142
|
"v2 refusal: interrupting the turn before the provider request arm=compaction-fold",
|
|
49065
49143
|
"m[0] drift watcher: mutation id changed \x01 → \x01; scheduling next-pass materialization\x021s",
|
|
@@ -49086,6 +49164,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49086
49164
|
"historian publish stage: stage=validate status=completed elapsed=\x01ms compartments=\x01",
|
|
49087
49165
|
"mc-pass-stage session=\x01 stage=historian_inline_wait event=end outcome=\x01 elapsed_ms=\x01\x020s",
|
|
49088
49166
|
"transform: over-window first-pass check could not estimate the incoming history: \x01",
|
|
49167
|
+
"final wire usage capture failed after the request was decided; serving the pass:",
|
|
49089
49168
|
"Pi publication commit_failed reason=envelope_unreadable; serving managed context",
|
|
49090
49169
|
"Pi publication commit_failed reason=number_write_failed; serving managed context",
|
|
49091
49170
|
"transform refused degraded pass site=merged-reasoning-strip-persistence-failure:",
|
|
@@ -49120,6 +49199,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49120
49199
|
"[magic-context] openai-compatible embedding: endpoint recovered, circuit closed",
|
|
49121
49200
|
"[magic-context] project embedding sweep already in progress, skipping this tick",
|
|
49122
49201
|
"[magic-context] v2 host exposes no command domain; /ctx-* commands are TUI-only",
|
|
49202
|
+
"deferred last-good save failed after the request was decided; serving the pass:",
|
|
49123
49203
|
"historian no-op: missing protected-tail boundary snapshot from trigger decision",
|
|
49124
49204
|
"LKG ASYNC CAPTURE FAILED; forcing synchronous capture on the next applied pass:",
|
|
49125
49205
|
"message FTS reconciliation stalled: raw message reader is not ready; will retry",
|
|
@@ -49127,7 +49207,9 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49127
49207
|
"Pi publication commit_failed reason=pair_commit_failed; serving managed context",
|
|
49128
49208
|
"placeholder strip: persistence failed; leaving newly discovered messages intact",
|
|
49129
49209
|
"processed-image strip: persistence failed; leaving newly detected images intact",
|
|
49210
|
+
"reasoning budget status failed after the request was decided; serving the pass:",
|
|
49130
49211
|
"rust trailing blank decision: persistence failed; serving only frozen decisions",
|
|
49212
|
+
"served check: record dropped reason=host_edit; the next request is not compared",
|
|
49131
49213
|
"v2 host fold: note checkpoint without a recorded head; serving restored history",
|
|
49132
49214
|
"WARN: [auto-update-checker] Discarded stale or mismatched pending update marker",
|
|
49133
49215
|
"exact ordinal read unavailable (\x01: \x01); the historian start waits for a later pass",
|
|
@@ -49142,6 +49224,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49142
49224
|
"[magic-context] slow write transaction: site=opencode_materialize_cache held=\x01ms",
|
|
49143
49225
|
"[magic-context] slow write transaction: site=storage_meta_wrapup_update held=\x01ms",
|
|
49144
49226
|
"[session-projects] backfilled \x01 of \x01 unmapped sessions (skipped \x01 dead dirs) in \x01ms",
|
|
49227
|
+
"latest-turn thinking recovery: restore applied to the bound turn (first=\x01 last=\x01)",
|
|
49145
49228
|
"[magic-context] slow write transaction: site=compartment_state_replace held=\x01ms \x01",
|
|
49146
49229
|
"[magic-context] slow write transaction: site=embedding_identity_record held=\x01ms \x01",
|
|
49147
49230
|
"[magic-context] slow write transaction: site=message_index_incremental held=\x01ms \x01",
|
|
@@ -49150,6 +49233,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49150
49233
|
"transform: preserving detected limit \x01 and overflow recovery for outgoing model \x01",
|
|
49151
49234
|
"v2 context omitted a content part the host would reject: type=\x01 message=\x01 reason=\x01",
|
|
49152
49235
|
"historian publish stage: stage=post-publish-drops status=started elapsed=0.0ms",
|
|
49236
|
+
"pass permission report failed after the request was decided; serving the pass:",
|
|
49153
49237
|
"system-prompt-hash skipped (OpenCode internal agent: title/summary/compaction)",
|
|
49154
49238
|
"thinking binding recovery: persistence failed; leaving the bound blocks intact",
|
|
49155
49239
|
"v2 refusal: interrupting the turn before the provider request arm=storage-busy",
|
|
@@ -49179,6 +49263,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49179
49263
|
"transform: \x01; finalEstimate=\x01 estimateTrusted=\x01 contextLimit=\x01 emergencyReclaimed=\x01\x023m",
|
|
49180
49264
|
"transform: \x01; finalEstimate=\x01 estimateTrusted=\x01 contextLimit=\x01 emergencyReclaimed=\x01",
|
|
49181
49265
|
"[magic-context] event message.updated: no assistant info extracted from event",
|
|
49266
|
+
"auto-embed scheduling failed after the request was decided; serving the pass:",
|
|
49182
49267
|
"compartment injection cache in degraded mode (null boundary), forcing rebuild",
|
|
49183
49268
|
"exact ordinal read unavailable (); the historian start waits for a later pass",
|
|
49184
49269
|
"transform refused degraded pass site=host-instruction-retention-read-failure:",
|
|
@@ -49412,6 +49497,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49412
49497
|
"[dreamer] \x01: skipped (map-memories: insufficient time to start a batch)",
|
|
49413
49498
|
'Pi subagent agent "\x01" has no strict tool allow-list; forcing --no-tools',
|
|
49414
49499
|
"HARD fold converted \x01 legacy dropped-tool skeleton(s) to real-or-absent",
|
|
49500
|
+
"served check: record dropped reason=\x01; the next request is not compared",
|
|
49415
49501
|
"mc-module: project identity for \x01 resolved to \x01; memory features resumed",
|
|
49416
49502
|
"transform: usage=\x01% (\x01 tokens, limit=\x01) decision=\x01 force=true busting=true",
|
|
49417
49503
|
"producer window inconsistent for \x01: window=\x01 reserve=\x01; sending unguarded\x020m",
|
|
@@ -49442,6 +49528,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49442
49528
|
"WARN: [magic-context] v2 setup disabled by conflicting context hooks: \x01",
|
|
49443
49529
|
"[auto-update-checker] Version was pinned by you; skipping auto-update",
|
|
49444
49530
|
"[magic-context] host stall profiler disabled: sample interval changed",
|
|
49531
|
+
"latest-turn thinking recovery: cleared a rejection that names no turn",
|
|
49445
49532
|
"Pi publication skipped reason=capture_failed; serving managed context",
|
|
49446
49533
|
"rust compaction-marker drain: CAS lost; newer pending target retained",
|
|
49447
49534
|
"transform refused degraded pass site=compaction-marker-drain-failure:",
|
|
@@ -49455,6 +49542,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49455
49542
|
"[magic-context] slow write transaction: site=migration-runner held=\x01ms",
|
|
49456
49543
|
"historian publish stage: stage=embeddings status=completed elapsed=\x01ms",
|
|
49457
49544
|
"registered historian trigger (model=\x01, fallbacks=\x01, executeThreshold=\x01%)\x020m",
|
|
49545
|
+
"latest-turn thinking recovery: unbound because \x01 (stage=\x01 first=\x01 last=\x01)",
|
|
49458
49546
|
"models-dev-cache: regression recovered for \x01/\x01 via refresh (was=\x01, now=\x01)\x020m,1m",
|
|
49459
49547
|
'recomp partial code=\x01 reason="chunk could not be represented safely: \x01"',
|
|
49460
49548
|
"[auto-update-checker] Updated \x01: \x01 → @cortexkit/opencode-magic-context@\x01\x020p",
|
|
@@ -49573,6 +49661,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49573
49661
|
"[magic-context] not binding a project identity for this directory",
|
|
49574
49662
|
"cannot roll back notice: no server URL for session.message.delete",
|
|
49575
49663
|
"channel2 terminal-run intent clear failed; leaving lease to heal:",
|
|
49664
|
+
"compaction-off render changed the head: stripping signed thinking",
|
|
49576
49665
|
"historian publish stage: stage=parse status=started elapsed=0.0ms",
|
|
49577
49666
|
"transform refused degraded pass site=m0-m1-injection-degradation:",
|
|
49578
49667
|
"transform refused degraded pass site=overflow-state-read-failure:",
|
|
@@ -49648,6 +49737,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49648
49737
|
"heuristic cleanup stage: stage=prepareNativeRemovals elapsed=\x01ms",
|
|
49649
49738
|
"[git-commits] evicted \x01 oldest commits for project \x01 (cap=\x01, was=\x01)\x021p",
|
|
49650
49739
|
"mc-module: storage lease wait cancelled during shutdown after \x01s",
|
|
49740
|
+
"prefix trim: boundary \x01; pass=priced; no in-pass trim applied (\x01)\x021s",
|
|
49651
49741
|
"prefix trim: boundary \x01; pass=priced; no in-pass trim applied (\x01)",
|
|
49652
49742
|
"v2 fork inheritance: fork of \x01 starts without inherited state (\x01)\x020s",
|
|
49653
49743
|
"[dreamer] storage fatal; skipping schedule timer registration: \x01",
|
|
@@ -49689,6 +49779,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49689
49779
|
"heuristic cleanup stage: stage=measureEmergencyTags elapsed=\x01ms",
|
|
49690
49780
|
'[magic-context] partial recomp failed session=\x01 code=\x01 reason="\x01"\x020s',
|
|
49691
49781
|
"injected m[0]/m[1] into Pi messages (\x01 + \x01 bytes, materialized=\x01)",
|
|
49782
|
+
"prefix trim: boundary \x01; pass=defer; no in-pass trim applied (\x01)\x021s",
|
|
49692
49783
|
"prefix trim: boundary \x01; pass=defer; no in-pass trim applied (\x01)",
|
|
49693
49784
|
'WARN: [auto-update-checker] Refusing to pin invalid version "\x01"',
|
|
49694
49785
|
"[auto-search] frozen omission save still failed for session \x01: \x01\x020s",
|
|
@@ -49858,6 +49949,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49858
49949
|
"transform: usage=\x01% (\x01 tokens, limit=\x01) decision=\x01 force=true",
|
|
49859
49950
|
"registered historian trigger (model=\x01, executeThreshold=\x01%)\x020m",
|
|
49860
49951
|
"[magic-context] v2 event handler failed (type=\x01, session=\x01)\x021s",
|
|
49952
|
+
"\x01 failed after the request was decided; serving the pass: \x01",
|
|
49861
49953
|
"[dreamer] promote-primers: promoted=\x01 updated=\x01 candidates=\x01",
|
|
49862
49954
|
"[magic-context] internal child orphan sweep failed for \x01: \x01",
|
|
49863
49955
|
"[magic-context] partial recomp merged validation failed: \x01",
|
|
@@ -49876,6 +49968,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
49876
49968
|
"system prompt token estimate failed (using prior count): \x01",
|
|
49877
49969
|
"transform tag persistence failed; not serving this pass: \x01",
|
|
49878
49970
|
"transform: priced-pass sizing counts the widest request: \x01",
|
|
49971
|
+
"\x01 failed after the request was decided; serving the pass:",
|
|
49879
49972
|
"[dreamer] retrospective: only overlap lines, nothing new",
|
|
49880
49973
|
"[magic-context] cleanup: no active Desktop session found",
|
|
49881
49974
|
"auto-search: CAS reported success with no staged outcome",
|
|
@@ -50014,6 +50107,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
50014
50107
|
"channel2 ceiling nudge delivery failed (will retry): \x01",
|
|
50015
50108
|
"compartment agent: failed to dump historian response \x01",
|
|
50016
50109
|
"compartment chunk embedding failed for compartment \x01: \x01",
|
|
50110
|
+
"latest-turn thinking recovery: removal write failed: \x01",
|
|
50017
50111
|
"mc-module: classify attempt=\x01 model=\x01 session=\x01 outcome=\x01\x021m",
|
|
50018
50112
|
"recovery projection: case=defer released=\x01 normalized=\x01",
|
|
50019
50113
|
"store projection rebase failed (retrying next pass): \x01",
|
|
@@ -50035,6 +50129,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
50035
50129
|
"historian output discarded: reason=dangling_boundary",
|
|
50036
50130
|
"historian trigger eval: /ctx-wrapup active, skipping",
|
|
50037
50131
|
"historian two-pass: editor accepted, replacing draft",
|
|
50132
|
+
"latest-turn thinking recovery: removal write failed:",
|
|
50038
50133
|
"rust transform unavailable; not serving raw messages",
|
|
50039
50134
|
"store projection rebase failed (retrying next pass):",
|
|
50040
50135
|
"unchanged-boundary LKG restoration failed; refusing:",
|
|
@@ -50144,6 +50239,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
50144
50239
|
"historian: native compaction queue lookup failed: \x01",
|
|
50145
50240
|
"loaded v\x01 | harness=\x01 (via \x01) | db=\x01 | project=\x01 | dir=\x01",
|
|
50146
50241
|
"rust input coverage: oc_input=\x01 marker_at=\x01 covered=\x01",
|
|
50242
|
+
"served check failed; the record is unknown again: \x01",
|
|
50147
50243
|
"transform failed dropping stale ctx_reduce calls: \x01",
|
|
50148
50244
|
"transform failed freezing merged reasoning strip: \x01",
|
|
50149
50245
|
"transform: legacy fallback injection also failed: \x01",
|
|
@@ -50159,6 +50255,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
50159
50255
|
"compartment agent: tail prime failed (non-fatal):",
|
|
50160
50256
|
"compartment phase: tail prime failed (non-fatal):",
|
|
50161
50257
|
"mc-module: migration backup permission tightening",
|
|
50258
|
+
"served check failed; the record is unknown again:",
|
|
50162
50259
|
"transform failed dropping stale ctx_reduce calls:",
|
|
50163
50260
|
"transform failed freezing merged reasoning strip:",
|
|
50164
50261
|
"transform: legacy fallback injection also failed:",
|
|
@@ -50171,6 +50268,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
50171
50268
|
"heuristic cleanup stage: stage=tagLoad elapsed=\x01ms",
|
|
50172
50269
|
'historian failure: source=exception \x01 stackHead="\x01"',
|
|
50173
50270
|
"historian no-op: stale protected-tail snapshot (\x01)",
|
|
50271
|
+
"latest-turn thinking recovery: refused locally (\x01)",
|
|
50174
50272
|
"note-nudge: delivery not persisted for anchor=\x01 (\x01)\x020i",
|
|
50175
50273
|
"note-nudge: delivery not persisted for anchor=\x01 (\x01)",
|
|
50176
50274
|
"[auto-update-checker] tui config \x01 is shadowed by \x01\x020p,1p",
|
|
@@ -50190,6 +50288,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
50190
50288
|
"reasoning removal: committed set re-read failed: \x01",
|
|
50191
50289
|
"rust refusal recovery synthetic delivery failed: \x01",
|
|
50192
50290
|
"session directory lookup failed; using fallback: \x01",
|
|
50291
|
+
"thinking binding recovery: retried clear failed: \x01",
|
|
50193
50292
|
"transform scheduler failed; defaulting to defer: \x01",
|
|
50194
50293
|
"[auto-update-checker] Plugin not found in config",
|
|
50195
50294
|
"[magic-context] registered dreamer (manual-only)",
|
|
@@ -50202,6 +50301,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
50202
50301
|
"reasoning removal: committed set re-read failed:",
|
|
50203
50302
|
"rust refusal recovery synthetic delivery failed:",
|
|
50204
50303
|
"session directory lookup failed; using fallback:",
|
|
50304
|
+
"thinking binding recovery: retried clear failed:",
|
|
50205
50305
|
"transform scheduler failed; defaulting to defer:",
|
|
50206
50306
|
"Pi publication \x01 reason=\x01; serving managed context",
|
|
50207
50307
|
"[dreamer] primers: decayed \x01 expired candidate(s)",
|
|
@@ -50809,6 +50909,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
50809
50909
|
"claim for \x01 could not be sent: \x01",
|
|
50810
50910
|
"ctx_reduce capability refusal \x01",
|
|
50811
50911
|
"historian scheduling skipped: \x01",
|
|
50912
|
+
"latest_thinking_original_turn:\x01",
|
|
50812
50913
|
"LKG durable hydration failed: \x01",
|
|
50813
50914
|
"mc-module: store open failed: \x01",
|
|
50814
50915
|
"notice rollback DELETE error: \x01",
|
|
@@ -50911,6 +51012,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
50911
51012
|
"ctx-status failed code=\x01 \x01",
|
|
50912
51013
|
"ctx-wrapup failed code=\x01 \x01",
|
|
50913
51014
|
"historian notify failed \x01",
|
|
51015
|
+
"the request now goes to \x01\x020m",
|
|
50914
51016
|
"cachedBoundaryEarlyTrim",
|
|
50915
51017
|
"default-pressure-parity",
|
|
50916
51018
|
"equivalence-unavailable",
|
|
@@ -50955,6 +51057,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
50955
51057
|
"ctx-dream failed code=\x01",
|
|
50956
51058
|
"ctx-flush failed code=\x01",
|
|
50957
51059
|
"refusal notice failed \x01",
|
|
51060
|
+
"served check skipped: \x01",
|
|
50958
51061
|
"tag_identity_revision:\x01\x020s",
|
|
50959
51062
|
"## Historian recovery",
|
|
50960
51063
|
"applyHeuristicCleanup",
|
|
@@ -50968,6 +51071,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
50968
51071
|
"pp.todoPermissionRead",
|
|
50969
51072
|
"preemptive-compaction",
|
|
50970
51073
|
"refusal notice failed",
|
|
51074
|
+
"served check skipped:",
|
|
50971
51075
|
"stableIdSchemePersist",
|
|
50972
51076
|
"stickyReplayDecisions",
|
|
50973
51077
|
"stripClearedReasoning",
|
|
@@ -51195,7 +51299,7 @@ var init_issue_log_templates_generated = __esm(() => {
|
|
|
51195
51299
|
}
|
|
51196
51300
|
return { parts, slots };
|
|
51197
51301
|
});
|
|
51198
|
-
ISSUE_LOG_IDENTIFIERS = "abort,aborted,above_cap,accepted,acquire,adopted,agent,agent-drops-applied,aligned,already-current,already-present,already_ran_this_turn,ambiguous,ambiguous-rewrite,anchor-missing,anchors-disagree,anthropic-continue,appended,applied,archive,assistant,attachment,attempt_mismatch,audio,auth_failed,auto_search_hint,backoff,band-crossing,band-deescalation,baseline-reset,baseline-unavailable,baseline-unevaluable,batch,batch-timeout,behind,below-emergency-band,below-threshold,boot_recovery,boundary,boundary_repair,busy,bytes,cache_hit,cache_invalid,cached_m1_missing,cadence-growth,cadence-refire,candidate-preparation,candidate_conflict,candidate_loss,candidate_rows_changed,candidates,capture_failed,cas-exhausted,cas-exhaustion,catalog,category,ceiling-threshold-met,changes-request,channel-2-ceiling-nudge,checkpoint,chunk_empty_canonical_text,chunk_fts_mapping_incomplete,chunk_partial_vector_set,chunk_window_contract_mismatch,cleared_reasoning_through_tag,close,closed-book,commit_clusters,committed,compaction,compartment-removed,compartment_render_epoch,compiled-check,compressed,compressor,config-re-read,conflict,content,content-loss,context_boundary,cooldown_active,count,coverage_fold,ctx_search_hint,custom_tool_call,darwin,data,date-cwd,deadline,defer,deferred,deferred_materialization,deferred_publication,definitely-no-cut,degraded,destination-not-empty,diagnostics,dimensions_mismatch,directive-shaped-project-rule,directory,disabled,discarded_last,divergent,document,done,drained,dreamer,dreamer-task,drift,drop_seed,duplicate_submission_budget,embed,embedded,empty,empty-session,empty_output,end_block_index,endpoint_unsupported,entry,entry-removed,envelope_unreadable,epoch_change,error,error_content,error_text,evaluate-smart-notes,exact-ordinal-ids,exception,excluded,execute,exited,expired,explicit_flush,failed,fallback,fatal,fenced_path,file,file_contains,first_render,fit_retry,flush,fold,force,force_band,force_materialization,found,frozen_slot,fts-rowid-backfill,full,function_call,generation-invalidated,git_commit_after,git_identity_unavailable,git_tag_matching,has-state,heavy_reasoning,historian,historian-editor,historian_editor,hold,home_directory,host,host-checkpoint,host_compaction,host_cut_before_watermark,host_history_change,host_rerender,http_error,identity_paused,image,images,incremental,indexed,injector,input_text,intact,invalid-pid,invalid_prompt,invalid_scheme,invocation,io,leaked-id,lease_active,legacy,length,limit,live-geometry,lkg_anthropic_reasoning_run_invalid,lkg_content_mismatch,lkg_invalidated_reshape,lkg_miss,lkg_model_mismatch,lkg_output_mapping_unavailable,lkg_recovery_input_rebuild,lkg_recovery_unproven,lkg_restart_rebuild,lkg_seam_invalid,lkg_system_state_mismatch,lkg_unsafe_seam,m1_delta,magic-context-host-stall,maintain-docs,malformed,management_surface,manual-full-recomp,manual-wrapup-empty,max_mutation_id,memory,memory_hash_guard_rejected,merged-reasoning-strip-exception,merged-reasoning-strip-persistence-failure,message,messages,migrated,migration_guard,migration_required,mismatch,missing,missing-active-same-category-successor,missing_tool_messages,model_change,model_failed,model_or_limit_changed,mtime_after,mutation_drift,native,network_error,newer_schema,no-anchor,no-file,no-output,no-result,no_assistant,no_head,no_originating_cache_bust,no_recent_heavy_reasoning,non-finite-input,non_zero_exit,none,not-a-fork,not-accepted,not-ready,not-text-user,not_a_repo,not_certified,not_found,not_owned,not_tracked,note,note_nudge_anchor,object,ok,omp,opaque,open-tool-arc,openai-codex-responses,openai-responses,opencode,opencode2,orphan_tool_message,other,output_text,overflow,oversized,ownership_lost,pair_commit_failed,parent-missing,parse,parse-invalid,parse_failed,partial,partial-message-boundary,partial-recomp,parts,pass,pass-cap,patch,path_exists,pending_agent_drop,pending_materialization,pi,placeholder,polarity-missing-mechanism,populated,post-reduce-band-escalation,post-reduce-baseline-pending,post-reduce-compliance-grace,post-reduce-regrowth-reached,prepared-row,pressure_refold,prewarm,primary,probe_required,proceed,process,processed_image,profile_transition,prohibition-missing-marker,project,project_change,project_memory_epoch,projected_headroom,provider-overflow-abort,provider_error,provider_returned_no_vectors,publication-failed,query,range,ratio-below-ceiling,ratio-below-gentle,raw,read-outstanding,read_error,ready,reason,reasoning,reasoning-removal-persistence-failure,reasoning-removal-read-failure,recent-reduce-refresh,reclaimable-below-floor,recomp,reconnect,recovery-request-over-limit,recovery_prefix_released,recovery_tail_normalized,redacted_reasoning,redacted_thinking,refresh,refusal-grade-final-wire-over-limit,registration_retired_during_embed,release,reminder-strip,renew,repaired,replace,resolved,response,restore,result,retry,retryable-failure,rpc_error,run,scan,scheduler_defer,schema_fence,seam-temporal-strip,search-archive,search-failure,search-limit,seeded,server_tool_use,session-content,shifted,size-walk,skip,skipped,snapshot,source,source-revision,source_changed,source_removed,spawn-failed,spawn_failed,stacked,stale,stale-skip,stale_reduce,stale_snapshot,stalled,stalled_no_progress,start,start-failed,start_block_index,steer,step-finish,step-start,step_limit,sticky-turn-floor,stop,stopped,storage,storage-busy,storage_failure,store_not_found,store_schema_unknown,store_unreadable,string,strip,strip_seed,structural,subtask,summary,summary_message,superpowers-bootstrap,superseded,synthetic-boundary-merged,synthetic-kept-entry,system,system_hash,system_injected,tag,tag-delta,tag-identity-rebuild-failed,tag-identity-recurring,tag-identity-repair-once,tag-identity-repair-pending,tag-summary,tag_identity_repair,tag_prefix,tail-below-minimum,tail_size,target-superseded,test-legacy,text,thinking,thinking_binding,thinking_hold,timeout,timeout-circuit-breaker,token-budget,token_budget,too-short,tool,tool-pair,tool-result,tool_call,tool_definitions,tool_provider,tool_result,tool_search_tool_result,tool_use,transform,transient,truncated,trusted-final-wire-disarm,ttl_expiry,ttl_idle,turn,type,unanchored,unavailable,unbalanced-parens,uncaptured_replay,uncertain,unknown,unknown_write_rejection,unmatched_tool_call_id,unplaceable,unreadable-branch,unregistered,unresolved,update,upgrade,upgrade_state,url,usage,user,user-memories,user-profile-is-not-project-memory,user_flush,user_memory_review,v1,v2,v2-archive-read,v2-archive-ready,v2-archive-result,validated,validation-failed,variant_change,verbose,verified,verify,video,view_error,waiting,waiting-for-entry,weak_lookahead_final_compartment,web_search_tool_result,whole-session-smaller-than-tail,worker-busy,worker-error,worker-failed,wrapup,x64".split(",");
|
|
51302
|
+
ISSUE_LOG_IDENTIFIERS = "abort,aborted,above_cap,accepted,acquire,adopted,agent,agent-drops-applied,aligned,already-current,already-present,already_ran_this_turn,ambiguous,ambiguous-rewrite,anchor-missing,anchors-disagree,anthropic-continue,appended,applied,archive,assistant,attachment,attempt_mismatch,audio,auth_failed,auto_search_hint,backoff,band-crossing,band-deescalation,baseline-reset,baseline-unavailable,baseline-unevaluable,batch,batch-timeout,behind,below-emergency-band,below-threshold,boot_recovery,boundary,boundary_repair,busy,bytes,cache_hit,cache_invalid,cached_m1_missing,cadence-growth,cadence-refire,candidate-preparation,candidate_conflict,candidate_loss,candidate_rows_changed,candidates,capture_failed,cas-exhausted,cas-exhaustion,catalog,category,ceiling-threshold-met,changes-request,channel-2-ceiling-nudge,checkpoint,chunk_empty_canonical_text,chunk_fts_mapping_incomplete,chunk_partial_vector_set,chunk_window_contract_mismatch,cleared_reasoning_through_tag,close,closed-book,commit_clusters,committed,compaction,compartment-removed,compartment_render_epoch,compiled-check,compressed,compressor,config-re-read,conflict,content,content-loss,context_boundary,cooldown_active,count,coverage_fold,ctx_search_hint,custom_tool_call,darwin,data,date-cwd,deadline,defer,deferred,deferred_materialization,deferred_publication,definitely-no-cut,degraded,destination-not-empty,diagnostics,dimensions_mismatch,directive-shaped-project-rule,directory,disabled,discarded_last,divergent,document,done,drained,dreamer,dreamer-task,drift,drop_seed,duplicate_submission_budget,embed,embedded,empty,empty-session,empty_output,end_block_index,endpoint_unsupported,entry,entry-removed,envelope_unreadable,epoch_change,error,error_content,error_text,evaluate-smart-notes,exact-ordinal-ids,exception,excluded,execute,exited,expired,explicit_flush,failed,fallback,fatal,fenced_path,file,file_contains,first_render,fit_retry,flush,fold,force,force_band,force_materialization,found,frozen_slot,fts-rowid-backfill,full,function_call,generation-invalidated,git_commit_after,git_identity_unavailable,git_tag_matching,has-state,heavy_reasoning,historian,historian-editor,historian_editor,hold,home_directory,host,host-checkpoint,host_compaction,host_cut_before_watermark,host_history_change,host_rerender,http_error,identity_paused,image,images,incremental,indexed,injector,input,input_text,intact,invalid-pid,invalid_prompt,invalid_scheme,invocation,io,latest_turn_thinking_removed,leaked-id,lease_active,legacy,length,limit,live-geometry,lkg_anthropic_reasoning_run_invalid,lkg_content_mismatch,lkg_invalidated_reshape,lkg_miss,lkg_model_mismatch,lkg_output_mapping_unavailable,lkg_recovery_input_rebuild,lkg_recovery_unproven,lkg_restart_head_changed,lkg_restart_rebuild,lkg_seam_invalid,lkg_system_state_mismatch,lkg_unsafe_seam,m1_delta,magic-context-host-stall,maintain-docs,malformed,management_surface,manual-full-recomp,manual-wrapup-empty,max_mutation_id,memory,memory_hash_guard_rejected,merged-reasoning-strip-exception,merged-reasoning-strip-persistence-failure,message,messages,migrated,migration_guard,migration_required,mismatch,missing,missing-active-same-category-successor,missing_tool_messages,model_change,model_failed,model_or_limit_changed,mtime_after,mutation_drift,native,network_error,newer_schema,no-anchor,no-file,no-output,no-result,no_assistant,no_head,no_originating_cache_bust,no_recent_heavy_reasoning,non-finite-input,non_zero_exit,none,not-a-fork,not-accepted,not-ready,not-text-user,not_a_repo,not_certified,not_found,not_owned,not_tracked,note,note_nudge_anchor,object,ok,omp,opaque,open-tool-arc,openai-codex-responses,openai-responses,opencode,opencode2,orphan_tool_message,other,output_text,overflow,oversized,ownership_lost,pair_commit_failed,parent-missing,parse,parse-invalid,parse_failed,partial,partial-message-boundary,partial-recomp,parts,pass,pass-cap,patch,path_exists,pending_agent_drop,pending_materialization,pi,placeholder,polarity-missing-mechanism,populated,post-reduce-band-escalation,post-reduce-baseline-pending,post-reduce-compliance-grace,post-reduce-regrowth-reached,prepared-row,pressure_refold,prewarm,primary,probe_required,proceed,process,processed_image,profile_transition,prohibition-missing-marker,project,project_change,project_memory_epoch,projected_headroom,provider-overflow-abort,provider_error,provider_returned_no_vectors,publication-failed,query,range,ratio-below-ceiling,ratio-below-gentle,raw,read-outstanding,read_error,ready,reason,reasoning,reasoning-removal-persistence-failure,reasoning-removal-read-failure,recent-reduce-refresh,reclaimable-below-floor,recomp,reconnect,recovery-request-over-limit,recovery_prefix_released,recovery_tail_normalized,redacted_reasoning,redacted_thinking,refresh,refusal-grade-final-wire-over-limit,registration_retired_during_embed,release,reminder-strip,renew,repaired,replace,replay,resolved,response,restore,result,retry,retryable-failure,rpc_error,run,scan,scheduler_defer,schema_fence,seam-temporal-strip,search-archive,search-failure,search-limit,seeded,server_tool_use,session-content,shifted,size-walk,skip,skipped,snapshot,source,source-revision,source_changed,source_removed,spawn-failed,spawn_failed,stacked,stale,stale-skip,stale_reduce,stale_snapshot,stalled,stalled_no_progress,start,start-failed,start_block_index,steer,step-finish,step-start,step_limit,sticky-turn-floor,stop,stopped,storage,storage-busy,storage_failure,store_not_found,store_schema_unknown,store_unreadable,string,strip,strip_seed,structural,subtask,summary,summary_message,superpowers-bootstrap,superseded,synthetic-boundary-merged,synthetic-kept-entry,system,system_hash,system_injected,tag,tag-delta,tag-identity-rebuild-failed,tag-identity-recurring,tag-identity-repair-once,tag-identity-repair-pending,tag-summary,tag_identity_repair,tag_prefix,tail-below-minimum,tail_size,target-superseded,test-legacy,text,thinking,thinking_binding,thinking_hold,timeout,timeout-circuit-breaker,token-budget,token_budget,too-short,tool,tool-pair,tool-result,tool_call,tool_definitions,tool_provider,tool_result,tool_search_tool_result,tool_use,transform,transient,truncated,trusted-final-wire-disarm,ttl_expiry,ttl_idle,turn,type,unanchored,unavailable,unbalanced-parens,uncaptured_replay,uncertain,unknown,unknown_write_rejection,unmatched_tool_call_id,unplaceable,unreadable-branch,unregistered,unresolved,update,upgrade,upgrade_state,url,usage,user,user-memories,user-profile-is-not-project-memory,user_flush,user_memory_review,v1,v2,v2-archive-read,v2-archive-ready,v2-archive-result,validated,validation-failed,variant_change,verbose,verified,verify,video,view_error,waiting,waiting-for-entry,weak_lookahead_final_compartment,web_search_tool_result,whole-session-smaller-than-tail,worker-busy,worker-error,worker-failed,wrapup,x64".split(",");
|
|
51199
51303
|
});
|
|
51200
51304
|
|
|
51201
51305
|
// src/lib/log-lines.ts
|
|
@@ -51880,6 +51984,7 @@ var init_issue_privacy = __esm(() => {
|
|
|
51880
51984
|
"validation",
|
|
51881
51985
|
"exception",
|
|
51882
51986
|
"cli",
|
|
51987
|
+
"npm",
|
|
51883
51988
|
"desktop",
|
|
51884
51989
|
"darwin",
|
|
51885
51990
|
"linux",
|
|
@@ -53882,7 +53987,7 @@ function readLegacyCachedVersion(root) {
|
|
|
53882
53987
|
return;
|
|
53883
53988
|
}
|
|
53884
53989
|
}
|
|
53885
|
-
function collectOpenCodePluginCacheReport(hostGeneration, opencodeConfig) {
|
|
53990
|
+
function collectOpenCodePluginCacheReport(hostGeneration, opencodeConfig, npmVersions = {}) {
|
|
53886
53991
|
const installs = [];
|
|
53887
53992
|
for (const root of getOpenCodePluginCacheRoots()) {
|
|
53888
53993
|
if (!existsSync46(root))
|
|
@@ -53905,14 +54010,28 @@ function collectOpenCodePluginCacheReport(hostGeneration, opencodeConfig) {
|
|
|
53905
54010
|
}
|
|
53906
54011
|
let path;
|
|
53907
54012
|
let cached;
|
|
54013
|
+
let distTag = "latest";
|
|
53908
54014
|
if (hostGeneration === "v2") {
|
|
53909
|
-
|
|
54015
|
+
const spec = readConfiguredOpenCodePluginSpec(opencodeConfig);
|
|
54016
|
+
path = getOpenCodeV2PluginCacheSlot(undefined, spec);
|
|
53910
54017
|
cached = readOpenCodeV2CachedPluginVersion(path);
|
|
54018
|
+
if (isOpenCodePluginDistTag(spec))
|
|
54019
|
+
distTag = spec;
|
|
53911
54020
|
} else {
|
|
53912
54021
|
[path = ""] = getOpenCodePluginCacheRoots();
|
|
53913
54022
|
cached = installs.find((install) => install.layout === "opencode1" && install.cached)?.cached;
|
|
53914
54023
|
}
|
|
53915
|
-
|
|
54024
|
+
const newest = npmVersions[distTag];
|
|
54025
|
+
return newest ? { path, cached, latest: newest, latestSource: "npm", installs } : { path, cached, latest: getSelfVersion(), latestSource: "cli", installs };
|
|
54026
|
+
}
|
|
54027
|
+
function describeOutdatedPluginInstall(pluginCache) {
|
|
54028
|
+
const { cached, latest, latestSource } = pluginCache;
|
|
54029
|
+
if (latestSource !== "npm" || !cached || !latest)
|
|
54030
|
+
return null;
|
|
54031
|
+
const comparison = compareSemverPrecedence(cached, latest);
|
|
54032
|
+
if (comparison === null || comparison >= 0)
|
|
54033
|
+
return null;
|
|
54034
|
+
return `Plugin is outdated: installed ${cached}, newest ${latest}.`;
|
|
53916
54035
|
}
|
|
53917
54036
|
function getStorageResolution() {
|
|
53918
54037
|
return getMagicContextStorageResolution();
|
|
@@ -54208,7 +54327,7 @@ async function collectHistorianRuns(storageDirPath) {
|
|
|
54208
54327
|
function openCodeIssueLogHarnesses(hostGeneration) {
|
|
54209
54328
|
return hostGeneration === "v2" ? ["opencode2", "opencode"] : ["opencode"];
|
|
54210
54329
|
}
|
|
54211
|
-
async function collectDiagnostics() {
|
|
54330
|
+
async function collectDiagnostics(options = {}) {
|
|
54212
54331
|
const pluginVersion = getSelfVersion();
|
|
54213
54332
|
const configPaths = detectConfigPaths();
|
|
54214
54333
|
const opencodeConfig = readConfig3(configPaths.opencodeConfig);
|
|
@@ -54252,7 +54371,7 @@ async function collectDiagnostics() {
|
|
|
54252
54371
|
...magicContextConfig.error ? { parseError: magicContextConfig.error } : {},
|
|
54253
54372
|
flags: sanitizeValue(magicContextConfig.value ?? {}) ?? {}
|
|
54254
54373
|
},
|
|
54255
|
-
pluginCache: collectOpenCodePluginCacheReport(hostGeneration, opencodeConfig.value),
|
|
54374
|
+
pluginCache: collectOpenCodePluginCacheReport(hostGeneration, opencodeConfig.value, options.npmVersions),
|
|
54256
54375
|
storageDir: {
|
|
54257
54376
|
path: storageDirPath,
|
|
54258
54377
|
source: storageResolution.source,
|
|
@@ -54304,6 +54423,7 @@ function renderDiagnosticsMarkdown(report) {
|
|
|
54304
54423
|
path: sanitizeString(report.pluginCache.path),
|
|
54305
54424
|
cached: report.pluginCache.cached ?? null,
|
|
54306
54425
|
latest: report.pluginCache.latest ?? null,
|
|
54426
|
+
latest_source: report.pluginCache.latestSource ?? "cli",
|
|
54307
54427
|
installs: (report.pluginCache.installs ?? []).map((install) => ({
|
|
54308
54428
|
...install,
|
|
54309
54429
|
path: sanitizeString(install.path),
|
|
@@ -54348,7 +54468,7 @@ function renderDiagnosticsMarkdown(report) {
|
|
|
54348
54468
|
}));
|
|
54349
54469
|
return [
|
|
54350
54470
|
`- Timestamp: ${report.timestamp}`,
|
|
54351
|
-
`-
|
|
54471
|
+
`- magic-context CLI: v${report.pluginVersion}`,
|
|
54352
54472
|
`- OS: ${report.platform} ${report.arch}`,
|
|
54353
54473
|
`- Node: ${report.nodeVersion}`,
|
|
54354
54474
|
`- OpenCode installed: ${report.opencodeInstalled} [${report.opencodeInstallKind}]${report.opencodeVersion ? ` (${report.opencodeVersion})` : ""}`,
|
|
@@ -54433,7 +54553,10 @@ var init_diagnostics_opencode = __esm(async () => {
|
|
|
54433
54553
|
init_opencode_plugin_registration();
|
|
54434
54554
|
init_paths();
|
|
54435
54555
|
init_redaction2();
|
|
54436
|
-
await
|
|
54556
|
+
await __promiseAll([
|
|
54557
|
+
init_opencode(),
|
|
54558
|
+
init_doctor_opencode2_cache()
|
|
54559
|
+
]);
|
|
54437
54560
|
import_comment_json10 = __toESM(require_src3(), 1);
|
|
54438
54561
|
});
|
|
54439
54562
|
// ../plugin/src/features/magic-context/memory/embedding-model-match.ts
|
|
@@ -54935,6 +55058,7 @@ async function bundleIssueReport(report, description, title, sessionFilter = nul
|
|
|
54935
55058
|
const sanitizedConfigPath = sanitizeDiagnosticText(report.configPaths.magicContextConfig);
|
|
54936
55059
|
const sanitizedDescription = privacy.userText(description);
|
|
54937
55060
|
const sanitizedTitle = privacy.userText(title).trim();
|
|
55061
|
+
const outdatedLine = describeOutdatedPluginInstall(report.pluginCache);
|
|
54938
55062
|
const selectedSession = sessionFilter ? (report.recentSessions.available ? report.recentSessions.rows : []).find((session) => session.sessionId === privacy.session(sessionFilter)) : undefined;
|
|
54939
55063
|
const sessionContext = selectedSession ? [
|
|
54940
55064
|
"## Session context",
|
|
@@ -54951,7 +55075,8 @@ async function bundleIssueReport(report, description, title, sessionFilter = nul
|
|
|
54951
55075
|
privacy.notice,
|
|
54952
55076
|
"",
|
|
54953
55077
|
"## Environment",
|
|
54954
|
-
`-
|
|
55078
|
+
...outdatedLine ? [`- ${outdatedLine}`] : [],
|
|
55079
|
+
`- magic-context CLI: v${report.pluginVersion}${report.pluginCache.cached ? ` (installed plugin: v${report.pluginCache.cached})` : ""}`,
|
|
54955
55080
|
`- OS: ${report.platform} ${report.arch}`,
|
|
54956
55081
|
`- Node: ${report.nodeVersion}`,
|
|
54957
55082
|
`- OpenCode: ${report.opencodeVersion ?? "not installed"}`,
|
|
@@ -56113,10 +56238,60 @@ function openBrowser(url) {
|
|
|
56113
56238
|
}
|
|
56114
56239
|
} catch {}
|
|
56115
56240
|
}
|
|
56241
|
+
async function checkPluginFreshnessForIssue(deps = {}) {
|
|
56242
|
+
const fetchLatest = deps.fetchNpmLatest ?? fetchNpmLatest;
|
|
56243
|
+
const paths = detectConfigPaths();
|
|
56244
|
+
if (paths.opencodeConfigFormat === "none")
|
|
56245
|
+
return { npmVersions: {} };
|
|
56246
|
+
let config;
|
|
56247
|
+
try {
|
|
56248
|
+
config = import_comment_json11.parse(readFileSync31(paths.opencodeConfig, "utf-8"));
|
|
56249
|
+
} catch {}
|
|
56250
|
+
const configDir = dirname27(paths.opencodeConfig);
|
|
56251
|
+
if (config && !isOpenCodePluginRegistered(config, configDir))
|
|
56252
|
+
return { npmVersions: {} };
|
|
56253
|
+
const npmVersions = {};
|
|
56254
|
+
const latest = await fetchLatest(OPENCODE_PLUGIN_NAME);
|
|
56255
|
+
if (latest)
|
|
56256
|
+
npmVersions.latest = latest;
|
|
56257
|
+
const distTag = configuredOpenCodeV2DistTag(config);
|
|
56258
|
+
if (distTag) {
|
|
56259
|
+
const tagged = await fetchLatest(OPENCODE_PLUGIN_NAME, distTag);
|
|
56260
|
+
if (tagged)
|
|
56261
|
+
npmVersions[distTag] = tagged;
|
|
56262
|
+
}
|
|
56263
|
+
const openCode2 = checkOpenCodeV2PluginCache({
|
|
56264
|
+
latestVersion: npmVersions[distTag ?? "latest"] ?? null,
|
|
56265
|
+
distTag,
|
|
56266
|
+
hostFiles: [],
|
|
56267
|
+
referencedSpecs: config ? readOpenCodePluginConfigUse(config, configDir).referencedSpecs.opencode2 : undefined
|
|
56268
|
+
});
|
|
56269
|
+
return { npmVersions, openCode2 };
|
|
56270
|
+
}
|
|
56271
|
+
async function warnOutdatedBeforeIssue(freshness, options) {
|
|
56272
|
+
if (freshness.openCode2?.action !== "stale")
|
|
56273
|
+
return true;
|
|
56274
|
+
reportOpenCodeV2PluginCache(freshness.openCode2, {
|
|
56275
|
+
pass: (message) => log3.success(message),
|
|
56276
|
+
warn: (message) => log3.warn(message),
|
|
56277
|
+
info: (message) => log3.info(message)
|
|
56278
|
+
}, { reportMissing: false, platform: options.platform });
|
|
56279
|
+
if (!options.interactive)
|
|
56280
|
+
return true;
|
|
56281
|
+
const proceed = await confirm2("Continue filing the issue? No stops here so you can update first.", false);
|
|
56282
|
+
if (!proceed) {
|
|
56283
|
+
outro2("Issue not filed. Update the plugin, then run `magic-context doctor --issue` again if the problem remains.");
|
|
56284
|
+
}
|
|
56285
|
+
return proceed;
|
|
56286
|
+
}
|
|
56116
56287
|
async function runIssueFlow2(options = {}, deps = { collectDiagnostics }) {
|
|
56288
|
+
const platform = deps.platform ?? process.platform;
|
|
56289
|
+
const checkFreshness = deps.checkPluginFreshness ?? checkPluginFreshnessForIssue;
|
|
56117
56290
|
if (options.reportPath) {
|
|
56291
|
+
const freshness = await checkFreshness();
|
|
56292
|
+
await warnOutdatedBeforeIssue(freshness, { platform, interactive: false });
|
|
56118
56293
|
try {
|
|
56119
|
-
const report = await deps.collectDiagnostics();
|
|
56294
|
+
const report = await deps.collectDiagnostics({ npmVersions: freshness.npmVersions });
|
|
56120
56295
|
const bundled = await bundleIssueReport(report, "Generated non-interactively by `doctor --issue --report`.", "Magic Context diagnostic report", null, { outputPath: resolve19(process.cwd(), options.reportPath) });
|
|
56121
56296
|
log3.info(bundled.fullPath ? `Report written to ${bundled.path}; full bundle at ${bundled.fullPath}` : `Report written to ${bundled.path}`);
|
|
56122
56297
|
return 0;
|
|
@@ -56126,6 +56301,10 @@ async function runIssueFlow2(options = {}, deps = { collectDiagnostics }) {
|
|
|
56126
56301
|
}
|
|
56127
56302
|
}
|
|
56128
56303
|
intro2("Magic Context Issue Report");
|
|
56304
|
+
const interactive = (deps.isInteractive ?? (() => process.stdin.isTTY === true))();
|
|
56305
|
+
const freshness = await checkFreshness();
|
|
56306
|
+
if (!await warnOutdatedBeforeIssue(freshness, { platform, interactive }))
|
|
56307
|
+
return 0;
|
|
56129
56308
|
const title = await text2("Issue title", {
|
|
56130
56309
|
placeholder: "Short summary of the problem",
|
|
56131
56310
|
validate: (value) => value.trim() ? undefined : "Title is required"
|
|
@@ -56137,7 +56316,7 @@ async function runIssueFlow2(options = {}, deps = { collectDiagnostics }) {
|
|
|
56137
56316
|
const s = spinner2();
|
|
56138
56317
|
s.start("Collecting diagnostics");
|
|
56139
56318
|
try {
|
|
56140
|
-
const report = await deps.collectDiagnostics();
|
|
56319
|
+
const report = await deps.collectDiagnostics({ npmVersions: freshness.npmVersions });
|
|
56141
56320
|
s.stop("Diagnostics collected");
|
|
56142
56321
|
let sessionFilter = null;
|
|
56143
56322
|
if (report.recentSessions.available && report.recentSessions.rows.length > 1) {
|