AFT issue: After long sessions with oh-my-pi, I'd get the error like this "Error: M
Description
After long sessions with oh-my-pi, I'd get the error like this "Error: Magic Context could not safely prepare this turn; send your message again. stage=provider dispatch elapsed=4997ms recovery=no managed result; refused (provider request does not match this pass's managed dispatch (prepared turn structure); row=3 expectedRows=1819 actualRows=1819 expectedRole=assistant actualRole=assistant expectedCalls=1 actualCalls=1 expectedResults=0 actualResults=0 comparison=content)"
Environment
- AFT CLI: v0.62.0
- AFT binary: 0.62.0
- OS: darwin arm64
- Node: v24.16.0
Diagnostics
- Timestamp: 2026-10-28T20:15:03.734Z
- AFT CLI: v0.62.0
- AFT binary: 0.62.0
- OS: darwin arm64
- Node: v24.16.0
Oh My Pi (OMP)
- Host installed: true
- Host version: 18.13.3
- Plugin registered: true
- Plugin version: 0.62.0
- AFT enabled: true
- AFT config parse error: none
Config paths
{
"configDir": "~/.omp/agent",
"harnessConfig": "~/.omp/plugins/omp-plugins.lock.json",
"harnessConfigFormat": "json",
"aftConfig": "~/.config/cortexkit/aft.jsonc",
"aftConfigFormat": "jsonc"
}
AFT flags
{
"$schema": "https://raw.githubusercontent.com/cortexkit/aft/main/assets/aft.schema.json",
"format_on_edit": false,
"validate_on_edit": "syntax",
"configure_warnings_delivery": "toast",
"disabled_tools": [],
"semantic": {
"backend": "fastembed",
"model": "all-MiniLM-L6-v2",
"timeout_ms": 25000,
"max_batch_size": 64,
"max_files": 20000
},
"restrict_to_project_root": false,
"auto_update": true,
"lsp": {
"servers": {
"tinymist": {
"extensions": [
".typ"
],
"binary": "tinymist",
"args": [],
"root_markers": [
".git",
"typst.toml"
],
"env": {
"TYPST_FONT_PATHS": "/usr/share/fonts"
},
"initialization_options": {
"formatterMode": "typstyle"
}
},
"typescript": {
"initialization_options": {
"tsserver": {
"path": "~/.bun/install/global/node_modules/typescript/lib"
}
}
},
"astro": {
"initialization_options": {
"typescript": {
"tsdk": "~/.bun/install/global/node_modules/typescript/lib"
}
}
}
},
"disabled": [
"python"
],
"python": "ty",
"diagnostic_cache_size": 5000
},
"bash": {
"rewrite": true,
"compress": true,
"background": true,
"subagent_background": true,
"foreground_wait_window_ms": 8000
},
"inspect": {
"enabled": true,
"tier2_idle_minutes": 5,
"duplicates": {
"expected_mirrors": [
[
"plugin/**",
"pi-plugin/**"
]
]
}
},
"experimental": {
"lsp_ty": false
},
"indexes": {
"trigram": true,
"semantic": true,
"callgraph": true
},
"github": {
"read": true,
"write": true
}
}
Plugin cache
{
"path": "~/.omp/plugins/node_modules/@cortexkit/aft-pi",
"cached": "0.62.0",
"exists": true
}
Storage
{
"path": "~/.local/share/cortexkit/aft",
"exists": true,
"accessible": true,
"sizesByKey": {
"index": 228667902,
"semantic": 241189134,
"backups": 0,
"url_cache": 177567,
"onnxruntime": 31,
"logs": 74671809
},
"legacyDuplication": {
"totalPartitions": 6,
"totalBytes": 130393369,
"byHarness": [
{
"harness": "opencode",
"partitions": 6,
"bytes": 130393369
}
]
}
}
ONNX Runtime
{
"required": true,
"systemPath": "/opt/homebrew/lib",
"systemVersion": "1.30.0",
"systemCompatible": true,
"ignoredSystemPath": null,
"ignoredSystemReason": null,
"cachedPath": null,
"cachedVersion": null,
"cachedCompatible": null,
"platform": "darwin-arm64",
"installHint": "AFT auto-downloads ONNX Runtime on Apple Silicon",
"autoDownloadable": true,
"requirement": ">=1.20"
}
Log file
~/.local/share/cortexkit/aft/logs/aft-plugin.log (9122 KB)
Binary cache
{
"versions": [
"v0.41.0",
"v0.42.0",
"v0.44.0",
"v0.45.1",
"v0.46.0",
"v0.47.0",
"v0.47.1",
"v0.47.2",
"v0.48.0",
"v0.48.1",
"v0.49.0",
"v0.49.2",
"v0.49.3",
"v0.49.4",
"v0.50.0",
"v0.50.1",
"v0.51.0",
"v0.51.1",
"v0.51.2",
"v0.51.3",
"v0.52.1",
"v0.52.2",
"v0.53.0",
"v0.54.0",
"v0.55.0",
"v0.55.1",
"v0.56.0",
"v0.56.1",
"v0.58.1",
"v0.58.2",
"v0.59.0",
"v0.62.0"
],
"activeVersion": "v0.62.0",
"totalSize": 2442010017,
"path": "~/.cache/aft/bin"
}
LSP cache
{
"npm": {
"path": "~/.cache/aft/lsp-packages",
"entries": [
{
"name": "intelephense",
"path": "~/.cache/aft/lsp-packages/intelephense",
"size": 134788043
},
{
"name": "@astrojs/language-server",
"path": "~/.cache/aft/lsp-packages/%40astrojs%2Flanguage-server",
"size": 67936335
},
{
"name": "@biomejs/biome",
"path": "~/.cache/aft/lsp-packages/%40biomejs%2Fbiome",
"size": 59289370
},
{
"name": "typescript",
"path": "~/.cache/aft/lsp-packages/typescript",
"size": 23626095
},
{
"name": "bash-language-server",
"path": "~/.cache/aft/lsp-packages/bash-language-server",
"size": 21794614
},
{
"name": "pyright",
"path": "~/.cache/aft/lsp-packages/pyright",
"size": 19460136
},
{
"name": "yaml-language-server",
"path": "~/.cache/aft/lsp-packages/yaml-language-server",
"size": 14189208
},
{
"name": "typescript-language-server",
"path": "~/.cache/aft/lsp-packages/typescript-language-server",
"size": 3353791
},
{
"name": "dockerfile-language-server-nodejs",
"path": "~/.cache/aft/lsp-packages/dockerfile-language-server-nodejs",
"size": 2469511
},
{
"name": "clangd/clangd",
"path": "~/.cache/aft/lsp-packages/clangd%2Fclangd",
"size": 79
}
],
"totalSize": 346907182
},
"github": {
"path": "~/.cache/aft/lsp-binaries",
"entries": [
{
"name": "clangd",
"path": "~/.cache/aft/lsp-binaries/clangd",
"size": 1176605400
},
{
"name": ".quarantine",
"path": "~/.cache/aft/lsp-binaries/.quarantine",
"size": 569346988
}
],
"totalSize": 1745952388
},
"totalSize": 2092859570
}
Recent errors (last 20, sanitized)
No error-shaped log lines found in recent history.
Recent AFT tool failures
No recent AFT tool failures recorded.
Logs (last 200 lines per harness)
Oh My Pi (OMP) log (~/.local/share/cortexkit/aft/logs/aft-plugin.log)
[2026-10-28T19:33:25.469Z] INFO [aft-pi] [aft] 2026-10-28T19:33:25.469Z [aft] INFO [ses___default__] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=complexity, resource_retry_at_unix_ms=1793216006007
[2026-10-28T19:33:25.480Z] INFO [aft-pi] [aft] 2026-10-28T19:33:25.480Z [aft] WARN filesystem lock at ~/.local/share/cortexkit/aft/inspect/dbb07bc0b6e15615/writer.lease held >10min by live heartbeating PID 27159; NOT breaking
[2026-10-28T19:33:25.729Z] INFO [aft-pi] [aft] 2026-10-28T19:33:25.728Z [aft] INFO [ses___default__] tier2 refresh deadline passed without dispatch: blocked_by=tier2_in_flight, pending_paths=0
[2026-10-28T19:33:27.558Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.558Z [aft] INFO perf tier2 category=dead_code reuse=miss ms=2191
[2026-10-28T19:33:27.558Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.558Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27182-281 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=2191 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:27.800Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.800Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh scheduled: reason=resource_retry, categories=["unused_exports", "duplicates", "cycles", "complexity"]
[2026-10-28T19:33:27.801Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.800Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=dead_code, resource_retry_at_unix_ms=1793216037558
[2026-10-28T19:33:28.001Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.001Z [aft] INFO perf tier2 category=unused_exports reuse=miss ms=200
[2026-10-28T19:33:28.001Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.001Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27182-282 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports elapsed_ms=200 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:27.569Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.569Z [aft] INFO perf tier2 category=dead_code reuse=miss ms=2171
[2026-10-28T19:33:27.569Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.569Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27122-281 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=2171 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:27.708Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.708Z [aft] INFO perf tier2 category=unused_exports reuse=miss ms=138
[2026-10-28T19:33:27.708Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.708Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27122-282 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports elapsed_ms=138 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:27.803Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.803Z [aft] INFO [ses___default__] tier2 refresh scheduled: reason=resource_retry, categories=["duplicates", "cycles", "complexity"]
[2026-10-28T19:33:27.803Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.803Z [aft] INFO [ses___default__] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=dead_code, resource_retry_at_unix_ms=1793216037569
[2026-10-28T19:33:27.803Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.803Z [aft] INFO [ses___default__] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=unused_exports, resource_retry_at_unix_ms=1793216037708
[2026-10-28T19:33:27.936Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.936Z [aft] INFO perf tier2 category=duplicates reuse=miss ms=132
[2026-10-28T19:33:27.936Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.936Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27122-283 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates elapsed_ms=132 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:27.576Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.576Z [aft] INFO perf tier2 category=dead_code reuse=miss ms=2166
[2026-10-28T19:33:27.576Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.576Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-281 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=2166 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:27.813Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.813Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh scheduled: reason=resource_retry, categories=["unused_exports", "duplicates", "cycles", "complexity"]
[2026-10-28T19:33:27.813Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.813Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=dead_code, resource_retry_at_unix_ms=1793216037576
[2026-10-28T19:33:28.014Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.014Z [aft] INFO perf tier2 category=unused_exports reuse=miss ms=201
[2026-10-28T19:33:28.014Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.014Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-282 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports elapsed_ms=201 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:27.609Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.609Z [aft] INFO perf tier2 category=dead_code reuse=miss ms=2140
[2026-10-28T19:33:27.609Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.609Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27087-281 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=2140 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:27.852Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.852Z [aft] INFO [ses___default__] tier2 refresh scheduled: reason=resource_retry, categories=["unused_exports", "duplicates", "cycles", "complexity"]
[2026-10-28T19:33:27.852Z] INFO [aft-pi] [aft] 2026-10-28T19:33:27.852Z [aft] INFO [ses___default__] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=dead_code, resource_retry_at_unix_ms=1793216037609
[2026-10-28T19:33:28.056Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.056Z [aft] INFO perf tier2 category=unused_exports reuse=miss ms=203
[2026-10-28T19:33:28.056Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.056Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27087-282 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports elapsed_ms=203 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:28.138Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.137Z [aft] INFO perf tier2 category=duplicates reuse=miss ms=136
[2026-10-28T19:33:28.138Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.137Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27182-283 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates elapsed_ms=136 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:28.338Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.338Z [aft] INFO perf tier2 category=cycles reuse=miss ms=200
[2026-10-28T19:33:28.338Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.338Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27182-284 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles elapsed_ms=200 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:28.456Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.456Z [aft] INFO perf tier2 category=complexity reuse=miss ms=118
[2026-10-28T19:33:28.456Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.456Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27182-285 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=complexity elapsed_ms=118 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:28.138Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.138Z [aft] INFO perf tier2 category=cycles reuse=miss ms=201
[2026-10-28T19:33:28.138Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.138Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27122-284 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles elapsed_ms=201 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:28.276Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.276Z [aft] INFO perf tier2 category=complexity reuse=miss ms=137
[2026-10-28T19:33:28.276Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.276Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27122-285 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=complexity elapsed_ms=137 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:28.151Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.151Z [aft] INFO perf tier2 category=duplicates reuse=miss ms=136
[2026-10-28T19:33:28.151Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.151Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-283 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates elapsed_ms=136 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:28.338Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.338Z [aft] INFO perf tier2 category=cycles reuse=miss ms=187
[2026-10-28T19:33:28.338Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.338Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-284 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles elapsed_ms=187 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:28.459Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.459Z [aft] INFO perf tier2 category=complexity reuse=miss ms=120
[2026-10-28T19:33:28.459Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.459Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-285 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=complexity elapsed_ms=120 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:28.189Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.189Z [aft] INFO perf tier2 category=duplicates reuse=miss ms=132
[2026-10-28T19:33:28.189Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.189Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27087-283 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates elapsed_ms=132 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:28.376Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.376Z [aft] INFO perf tier2 category=cycles reuse=miss ms=186
[2026-10-28T19:33:28.376Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.376Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27087-284 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles elapsed_ms=186 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:28.488Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.488Z [aft] INFO perf tier2 category=complexity reuse=miss ms=111
[2026-10-28T19:33:28.488Z] INFO [aft-pi] [aft] 2026-10-28T19:33:28.488Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27087-285 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=complexity elapsed_ms=111 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:33:56.272Z] INFO [aft-pi] Process exited during shutdown
[2026-10-28T19:33:56.325Z] INFO [aft-pi] Process exited during shutdown
[2026-10-28T19:33:56.327Z] INFO [aft-pi] Process exited during shutdown
[2026-10-28T19:33:56.330Z] INFO [aft-pi] Process exited during shutdown
[2026-10-28T19:33:57.831Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.831Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh scheduled: reason=resource_retry, categories=["dead_code"]
[2026-10-28T19:33:57.831Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.831Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=unused_exports, resource_retry_at_unix_ms=1793216038001
[2026-10-28T19:33:57.831Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.831Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=duplicates, resource_retry_at_unix_ms=1793216038138
[2026-10-28T19:33:57.831Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.831Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=cycles, resource_retry_at_unix_ms=1793216038338
[2026-10-28T19:33:57.831Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.831Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=complexity, resource_retry_at_unix_ms=1793216038456
[2026-10-28T19:33:57.846Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.845Z [aft] WARN removing filesystem lock at ~/.local/share/cortexkit/aft/inspect/dbb07bc0b6e15615/writer.lease from dead or recycled PID 27159
[2026-10-28T19:33:57.925Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.925Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-286 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code files=0
[2026-10-28T19:33:57.925Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.925Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-286 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=94 files=0 contributions=0
[2026-10-28T19:33:58.154Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.154Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh scheduled: reason=resource_retry, categories=["dead_code", "unused_exports", "duplicates"]
[2026-10-28T19:33:58.154Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.154Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=cycles, resource_retry_at_unix_ms=1793216038338
[2026-10-28T19:33:58.154Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.154Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=complexity, resource_retry_at_unix_ms=1793216038456
[2026-10-28T19:33:58.242Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.242Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-287 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code files=0
[2026-10-28T19:33:58.242Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.242Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-287 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=88 files=0 contributions=0
[2026-10-28T19:33:58.324Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.324Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-288 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports files=0
[2026-10-28T19:33:58.324Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.324Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-288 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports elapsed_ms=82 files=0 contributions=0
[2026-10-28T19:33:57.831Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.831Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh scheduled: reason=resource_retry, categories=["dead_code"]
[2026-10-28T19:33:57.831Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.831Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=unused_exports, resource_retry_at_unix_ms=1793216038014
[2026-10-28T19:33:57.831Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.831Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=duplicates, resource_retry_at_unix_ms=1793216038151
[2026-10-28T19:33:57.831Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.831Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=cycles, resource_retry_at_unix_ms=1793216038338
[2026-10-28T19:33:57.831Z] INFO [aft-pi] [aft] 2026-10-28T19:33:57.831Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=complexity, resource_retry_at_unix_ms=1793216038459
[2026-10-28T19:33:58.083Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.082Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh deadline passed without dispatch: blocked_by=tier2_in_flight, pending_paths=0
[2026-10-28T19:33:58.386Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.386Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-289 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates files=0
[2026-10-28T19:33:58.386Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.386Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-289 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates elapsed_ms=61 files=0 contributions=0
[2026-10-28T19:33:58.447Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.447Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh scheduled: reason=resource_retry, categories=["dead_code", "unused_exports", "duplicates", "cycles"]
[2026-10-28T19:33:58.447Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.447Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=complexity, resource_retry_at_unix_ms=1793216038456
[2026-10-28T19:33:58.532Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.532Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-290 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code files=0
[2026-10-28T19:33:58.532Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.532Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-290 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=85 files=0 contributions=0
[2026-10-28T19:33:58.613Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.613Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-291 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports files=0
[2026-10-28T19:33:58.613Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.613Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-291 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports elapsed_ms=80 files=0 contributions=0
[2026-10-28T19:33:58.673Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.672Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-292 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates files=0
[2026-10-28T19:33:58.673Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.672Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-292 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates elapsed_ms=59 files=0 contributions=0
[2026-10-28T19:33:58.754Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.754Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-293 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles files=0
[2026-10-28T19:33:58.754Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.754Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-293 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles elapsed_ms=81 files=0 contributions=0
[2026-10-28T19:33:58.784Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.784Z [aft] INFO [ses_01a1755a-0d39-731d-9ae9-f19b269f66eb] tier2 refresh scheduled: reason=resource_retry, categories=["dead_code", "unused_exports", "duplicates", "cycles", "complexity"]
[2026-10-28T19:33:58.873Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.873Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-294 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code files=0
[2026-10-28T19:33:58.873Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.873Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-294 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=88 files=0 contributions=0
[2026-10-28T19:33:58.960Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.960Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-295 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports files=0
[2026-10-28T19:33:58.960Z] INFO [aft-pi] [aft] 2026-10-28T19:33:58.960Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-295 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports elapsed_ms=86 files=0 contributions=0
[2026-10-28T19:33:59.020Z] INFO [aft-pi] [aft] 2026-10-28T19:33:59.020Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-296 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates files=0
[2026-10-28T19:33:59.020Z] INFO [aft-pi] [aft] 2026-10-28T19:33:59.020Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-296 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates elapsed_ms=60 files=0 contributions=0
[2026-10-28T19:33:59.101Z] INFO [aft-pi] [aft] 2026-10-28T19:33:59.101Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-297 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles files=0
[2026-10-28T19:33:59.101Z] INFO [aft-pi] [aft] 2026-10-28T19:33:59.101Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-297 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles elapsed_ms=80 files=0 contributions=0
[2026-10-28T19:33:59.161Z] INFO [aft-pi] [aft] 2026-10-28T19:33:59.161Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27182-298 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=complexity files=0
[2026-10-28T19:33:59.161Z] INFO [aft-pi] [aft] 2026-10-28T19:33:59.161Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27182-298 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=complexity elapsed_ms=59 files=0 contributions=0
[2026-10-28T19:34:00.013Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.013Z [aft] INFO perf tier2 category=dead_code reuse=miss ms=2182
[2026-10-28T19:34:00.013Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.013Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-286 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=2182 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:34:00.269Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.269Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh scheduled: reason=resource_retry, categories=["unused_exports", "duplicates", "cycles", "complexity"]
[2026-10-28T19:34:00.269Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.269Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=dead_code, resource_retry_at_unix_ms=1793216070013
[2026-10-28T19:34:00.416Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.416Z [aft] INFO perf tier2 category=unused_exports reuse=miss ms=146
[2026-10-28T19:34:00.416Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.416Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-287 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports elapsed_ms=146 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:34:00.518Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.518Z [aft] INFO perf tier2 category=duplicates reuse=miss ms=102
[2026-10-28T19:34:00.519Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.518Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-288 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates elapsed_ms=102 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:34:00.641Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.641Z [aft] WARN bash task row deleted: task_id=bash-d615455cf068e94b reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:00.644Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.643Z [aft] WARN bash task row deleted: task_id=bash-c5757633381d20c3 reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:00.649Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.649Z [aft] WARN bash task row deleted: task_id=bash-d7554e4c5d59515d reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:00.654Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.654Z [aft] WARN bash task row deleted: task_id=bash-ac3c51179e79c2df reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:00.699Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.699Z [aft] INFO perf tier2 category=cycles reuse=miss ms=180
[2026-10-28T19:34:00.699Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.699Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-289 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles elapsed_ms=180 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:34:00.791Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.791Z [aft] INFO perf tier2 category=complexity reuse=miss ms=92
[2026-10-28T19:34:00.791Z] INFO [aft-pi] [aft] 2026-10-28T19:34:00.791Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-290 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=complexity elapsed_ms=92 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:34:01.900Z] INFO [aft-pi] [aft] 2026-10-28T19:34:01.900Z [aft] WARN bash task row deleted: task_id=bash-9b27efe03954268e reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:01.903Z] INFO [aft-pi] [aft] 2026-10-28T19:34:01.903Z [aft] WARN bash task row deleted: task_id=bash-94ec77f587715a02 reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:01.914Z] INFO [aft-pi] [aft] 2026-10-28T19:34:01.914Z [aft] WARN bash task row deleted: task_id=bash-2c0685d6878a5ca8 reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:01.925Z] INFO [aft-pi] [aft] 2026-10-28T19:34:01.925Z [aft] WARN bash task row deleted: task_id=bash-4e124e4138627f84 reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:01.931Z] INFO [aft-pi] [aft] 2026-10-28T19:34:01.931Z [aft] WARN bash task row deleted: task_id=bash-ca72aaf585415846 reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:01.933Z] INFO [aft-pi] [aft] 2026-10-28T19:34:01.933Z [aft] WARN bash task row deleted: task_id=bash-e155ceebeb0eb50c reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:01.936Z] INFO [aft-pi] [aft] 2026-10-28T19:34:01.936Z [aft] WARN bash task row deleted: task_id=bash-22038f29b2f63c05 reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:01.938Z] INFO [aft-pi] [aft] 2026-10-28T19:34:01.938Z [aft] WARN bash task row deleted: task_id=bash-bf2754197d1da97c reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:01.940Z] INFO [aft-pi] [aft] 2026-10-28T19:34:01.940Z [aft] WARN bash task row deleted: task_id=bash-8f530417b9cba453 reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:01.942Z] INFO [aft-pi] [aft] 2026-10-28T19:34:01.942Z [aft] WARN bash task row deleted: task_id=bash-5079bc3cab00bf09 reason=persisted_gc_delivered_terminal
[2026-10-28T19:34:07.219Z] INFO [aft-pi] [aft] 2026-10-28T19:34:07.219Z [aft] INFO bash task retention: initial_eligible=0 removed=0 remaining_eligible=Some(0) passes=1 row_ceiling=250 worst_count_lock_us=6 worst_selection_lock_us=3 worst_mutation_lock_us=328 worst_lock_us=328 elapsed_us=7332
[2026-10-28T19:34:08.338Z] INFO [aft-pi] [aft] 2026-10-28T19:34:08.338Z [aft] INFO bash task retention: initial_eligible=0 removed=0 remaining_eligible=Some(0) passes=1 row_ceiling=250 worst_count_lock_us=4 worst_selection_lock_us=2 worst_mutation_lock_us=351 worst_lock_us=351 elapsed_us=6985
[2026-10-28T19:34:30.191Z] INFO [aft-pi] [aft] 2026-10-28T19:34:30.190Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh scheduled: reason=resource_retry, categories=["dead_code"]
[2026-10-28T19:34:30.191Z] INFO [aft-pi] [aft] 2026-10-28T19:34:30.191Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=unused_exports, resource_retry_at_unix_ms=1793216070416
[2026-10-28T19:34:30.191Z] INFO [aft-pi] [aft] 2026-10-28T19:34:30.191Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=duplicates, resource_retry_at_unix_ms=1793216070519
[2026-10-28T19:34:30.191Z] INFO [aft-pi] [aft] 2026-10-28T19:34:30.191Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=cycles, resource_retry_at_unix_ms=1793216070699
[2026-10-28T19:34:30.191Z] INFO [aft-pi] [aft] 2026-10-28T19:34:30.191Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=complexity, resource_retry_at_unix_ms=1793216070791
[2026-10-28T19:34:30.450Z] INFO [aft-pi] [aft] 2026-10-28T19:34:30.450Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh deadline passed without dispatch: blocked_by=tier2_in_flight, pending_paths=0
[2026-10-28T19:34:32.367Z] INFO [aft-pi] [aft] 2026-10-28T19:34:32.367Z [aft] INFO perf tier2 category=dead_code reuse=miss ms=2176
[2026-10-28T19:34:32.367Z] INFO [aft-pi] [aft] 2026-10-28T19:34:32.367Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-291 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=2176 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:34:32.636Z] INFO [aft-pi] [aft] 2026-10-28T19:34:32.636Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh scheduled: reason=resource_retry, categories=["unused_exports", "duplicates", "cycles", "complexity"]
[2026-10-28T19:34:32.636Z] INFO [aft-pi] [aft] 2026-10-28T19:34:32.636Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=dead_code, resource_retry_at_unix_ms=1793216102367
[2026-10-28T19:34:32.782Z] INFO [aft-pi] [aft] 2026-10-28T19:34:32.782Z [aft] INFO perf tier2 category=unused_exports reuse=miss ms=145
[2026-10-28T19:34:32.782Z] INFO [aft-pi] [aft] 2026-10-28T19:34:32.782Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-292 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports elapsed_ms=145 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:34:32.876Z] INFO [aft-pi] [aft] 2026-10-28T19:34:32.876Z [aft] INFO perf tier2 category=duplicates reuse=miss ms=93
[2026-10-28T19:34:32.876Z] INFO [aft-pi] [aft] 2026-10-28T19:34:32.876Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-293 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates elapsed_ms=93 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:34:33.014Z] INFO [aft-pi] [aft] 2026-10-28T19:34:33.014Z [aft] INFO perf tier2 category=cycles reuse=miss ms=137
[2026-10-28T19:34:33.014Z] INFO [aft-pi] [aft] 2026-10-28T19:34:33.014Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-294 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles elapsed_ms=137 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:34:33.106Z] INFO [aft-pi] [aft] 2026-10-28T19:34:33.106Z [aft] INFO perf tier2 category=complexity reuse=miss ms=92
[2026-10-28T19:34:33.106Z] INFO [aft-pi] [aft] 2026-10-28T19:34:33.106Z [aft] INFO index_event kind=build_failed plane=tier2 build_id=b-27088-295 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=complexity elapsed_ms=92 reason=writer_lease_timeout:_inspect_writer_lease_deadline_elapsed
[2026-10-28T19:34:56.317Z] INFO [aft-pi] Process exited during shutdown
[2026-10-28T19:35:02.605Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.605Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh scheduled: reason=resource_retry, categories=["dead_code"]
[2026-10-28T19:35:02.605Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.605Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=unused_exports, resource_retry_at_unix_ms=1793216102782
[2026-10-28T19:35:02.605Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.605Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=duplicates, resource_retry_at_unix_ms=1793216102876
[2026-10-28T19:35:02.605Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.605Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=cycles, resource_retry_at_unix_ms=1793216103014
[2026-10-28T19:35:02.605Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.605Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=complexity, resource_retry_at_unix_ms=1793216103106
[2026-10-28T19:35:02.615Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.615Z [aft] WARN removing filesystem lock at ~/.local/share/cortexkit/aft/inspect/dbb07bc0b6e15615/writer.lease from dead or recycled PID 27182
[2026-10-28T19:35:02.698Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.698Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27088-296 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code files=0
[2026-10-28T19:35:02.698Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.698Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27088-296 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=92 files=0 contributions=0
[2026-10-28T19:35:02.902Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.902Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh scheduled: reason=resource_retry, categories=["dead_code", "unused_exports", "duplicates"]
[2026-10-28T19:35:02.902Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.902Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=cycles, resource_retry_at_unix_ms=1793216103014
[2026-10-28T19:35:02.902Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.902Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh waiting out a resource retry (inspect cache writer lease or locked call graph view): category=complexity, resource_retry_at_unix_ms=1793216103106
[2026-10-28T19:35:02.995Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.995Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27088-297 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code files=0
[2026-10-28T19:35:02.995Z] INFO [aft-pi] [aft] 2026-10-28T19:35:02.995Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27088-297 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=92 files=0 contributions=0
[2026-10-28T19:35:03.087Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.087Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27088-298 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports files=0
[2026-10-28T19:35:03.087Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.087Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27088-298 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports elapsed_ms=91 files=0 contributions=0
[2026-10-28T19:35:03.153Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.153Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27088-299 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates files=0
[2026-10-28T19:35:03.153Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.153Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27088-299 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates elapsed_ms=65 files=0 contributions=0
[2026-10-28T19:35:03.196Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.196Z [aft] INFO [ses_01a177f5-8295-7554-8e64-3c45aa401006] tier2 refresh scheduled: reason=resource_retry, categories=["dead_code", "unused_exports", "duplicates", "cycles", "complexity"]
[2026-10-28T19:35:03.292Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.292Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27088-300 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code files=0
[2026-10-28T19:35:03.292Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.292Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27088-300 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=dead_code elapsed_ms=95 files=0 contributions=0
[2026-10-28T19:35:03.383Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.382Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27088-301 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports files=0
[2026-10-28T19:35:03.383Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.383Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27088-301 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=unused_exports elapsed_ms=90 files=0 contributions=0
[2026-10-28T19:35:03.449Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.449Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27088-302 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates files=0
[2026-10-28T19:35:03.449Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.449Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27088-302 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=duplicates elapsed_ms=66 files=0 contributions=0
[2026-10-28T19:35:03.542Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.542Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27088-303 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles files=0
[2026-10-28T19:35:03.542Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.542Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27088-303 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=cycles elapsed_ms=92 files=0 contributions=0
[2026-10-28T19:35:03.607Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.607Z [aft] INFO index_event kind=build_started plane=tier2 build_id=b-27088-304 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=complexity files=0
[2026-10-28T19:35:03.607Z] INFO [aft-pi] [aft] 2026-10-28T19:35:03.607Z [aft] INFO index_event kind=build_ready plane=tier2 build_id=b-27088-304 root=~/workspace/github.com/user/project_repo key=<REDACTED_SECRET> category=complexity elapsed_ms=64 files=0 contributions=0
[2026-10-28T19:35:07.351Z] INFO [aft-pi] [aft] 2026-10-28T19:35:07.350Z [aft] INFO bash task retention: initial_eligible=0 removed=0 remaining_eligible=Some(0) passes=1 row_ceiling=250 worst_count_lock_us=2 worst_selection_lock_us=1 worst_mutation_lock_us=278 worst_lock_us=278 elapsed_us=4753
[2026-10-28T19:36:07.400Z] INFO [aft-pi] [aft] 2026-10-28T19:36:07.400Z [aft] INFO bash task retention: initial_eligible=0 removed=0 remaining_eligible=Some(0) passes=1 row_ceiling=250 worst_count_lock_us=29 worst_selection_lock_us=2 worst_mutation_lock_us=311 worst_lock_us=311 elapsed_us=4655
[2026-10-28T19:37:07.484Z] INFO [aft-pi] [aft] 2026-10-28T19:37:07.484Z [aft] INFO bash task retention: initial_eligible=0 removed=0 remaining_eligible=Some(0) passes=1 row_ceiling=250 worst_count_lock_us=1 worst_selection_lock_us=1 worst_mutation_lock_us=155 worst_lock_us=155 elapsed_us=4105
[2026-10-28T19:38:07.555Z] INFO [aft-pi] [aft] 2026-10-28T19:38:07.554Z [aft] INFO bash task retention: initial_eligible=0 removed=0 remaining_eligible=Some(0) passes=1 row_ceiling=250 worst_count_lock_us=5 worst_selection_lock_us=3 worst_mutation_lock_us=299 worst_lock_us=299 elapsed_us=8643
[2026-10-28T19:39:07.731Z] INFO [aft-pi] [aft] 2026-10-28T19:39:07.731Z [aft] INFO bash task retention: initial_eligible=0 removed=0 remaining_eligible=Some(0) passes=1 row_ceiling=250 worst_count_lock_us=1 worst_selection_lock_us=1 worst_mutation_lock_us=168 worst_lock_us=168 elapsed_us=4267
[2026-10-28T19:40:07.933Z] INFO [aft-pi] [aft] 2026-10-28T19:40:07.932Z [aft] INFO bash task retention: initial_eligible=0 removed=0 remaining_eligible=Some(0) passes=1 row_ceiling=250 worst_count_lock_us=7 worst_selection_lock_us=2 worst_mutation_lock_us=593 worst_lock_us=593 elapsed_us=9614
[2026-10-28T19:41:08.094Z] INFO [aft-pi] [aft] 2026-10-28T19:41:08.094Z [aft] INFO bash task retention: initial_eligible=0 removed=0 remaining_eligible=Some(0) passes=1 row_ceiling=250 worst_count_lock_us=2 worst_selection_lock_us=1 worst_mutation_lock_us=597 worst_lock_us=597 elapsed_us=6022
[2026-10-28T19:42:08.274Z] INFO [aft-pi] [aft] 2026-10-28T19:42:08.274Z [aft] INFO bash task retention: initial_eligible=0 removed=0 remaining_eligible=Some(0) passes=1 row_ceiling=250 worst_count_lock_us=2 worst_selection_lock_us=0 worst_mutation_lock_us=162 worst_lock_us=162 elapsed_us=4528
[2026-10-28T19:43:00.714Z] INFO [aft-pi] [aft] 2026-10-28T19:43:00.714Z [aft] WARN bash task row deleted: task_id=bash-9bd115aeefb91c5a reason=persisted_gc_delivered_terminal
[2026-10-28T19:43:00.718Z] INFO [aft-pi] [aft] 2026-10-28T19:43:00.718Z [aft] WARN bash task row deleted: task_id=bash-9c050401a3157758 reason=persisted_gc_delivered_terminal
[2026-10-28T19:43:00.721Z] INFO [aft-pi] [aft] 2026-10-28T19:43:00.720Z [aft] WARN bash task row deleted: task_id=bash-8d328560b842b98f reason=persisted_gc_delivered_terminal
[2026-10-28T19:43:00.723Z] INFO [aft-pi] [aft] 2026-10-28T19:43:00.723Z [aft] WARN bash task row deleted: task_id=bash-7d9f82671f4dfcdf reason=persisted_gc_delivered_terminal
[2026-10-28T19:43:00.725Z] INFO [aft-pi] [aft] 2026-10-28T19:43:00.725Z [aft] WARN bash task row deleted: task_id=bash-9a5c2d190f633065 reason=persisted_gc_delivered_terminal
[2026-10-28T19:43:08.449Z] INFO [aft-pi] [aft] 2026-10-28T19:43:08.448Z [aft] INFO bash task retention: initial_eligible=0 removed=0 remaining_eligible=Some(0) passes=1 row_ceiling=250 worst_count_lock_us=1 worst_selection_lock_us=1 worst_mutation_lock_us=187 worst_lock_us=187 elapsed_us=12161
[2026-10-28T19:43:56.261Z] INFO [aft-pi] Process exited during shutdown
[2026-10-28T20:08:58.417Z] WARN [aft-pi] Ignoring OpenCode-only config key `auto_update` in ~/.config/cortexkit/aft.jsonc; it has no effect on the Pi harness.
[2026-10-28T20:08:58.421Z] INFO [aft-pi] Config loaded from ~/.config/cortexkit/aft.jsonc
[2026-10-28T20:08:58.422Z] WARN [aft-pi] Ignoring OpenCode-only config key `auto_update` in ~/.config/cortexkit/aft.jsonc; it has no effect on the Pi harness.
[2026-10-28T20:08:58.422Z] INFO [aft-pi] Config loaded from ~/.config/cortexkit/aft.jsonc
[2026-10-28T20:08:58.423Z] INFO [aft-pi] AFT extension loading (plugin v0.62.0)
[2026-10-28T20:08:58.423Z] WARN [aft-pi] Ignoring OpenCode-only config key `auto_update` in ~/.config/cortexkit/aft.jsonc; it has no effect on the Pi harness.
[2026-10-28T20:08:58.423Z] INFO [aft-pi] Config loaded from ~/.config/cortexkit/aft.jsonc
[2026-10-28T20:08:58.429Z] INFO [aft-pi] Workflow hints injected (5359 chars)
[2026-10-28T20:08:58.429Z] INFO [aft-pi] AFT extension ready (disabled_tools=none)
[2026-10-28T20:08:58.708Z] INFO [aft-pi] Bridge pool shut down
Usernames and home paths have been stripped from this report.
Thanks for the report. The refusal says message 3 of the request (an early assistant reply with one tool call) did not match the turn Magic Context prepared for it, although the message count and roles did match. So something rewrote that reply's content between Magic Context's pass and the request Oh My Pi sent.
You closed this as a duplicate, but no issue is linked. Could you say which issue it duplicates? If it isn't a duplicate, please reopen it and add:
- your Magic Context version (
npx @cortexkit/magic-context@latest doctorprints it); - the Oh My Pi version (you mention 18.13.3, which is newer than the versions we test against);
- the Magic Context log lines around the refusal, from
~/.local/share/cortexkit/magic-context/logs/(search formanaged dispatch).
With those, we can tell whether this is a known case or a new rewrite in Oh My Pi 18.13.