Skip to content

Latest commit

 

History

History
563 lines (559 loc) · 400 KB

decisions.md

File metadata and controls

563 lines (559 loc) · 400 KB

Decisions and findings log

Status: LOG. Append-only; one line per entry; newest last.

Format: | id | date | kind | area | statement | evidence |. Ids are stable (d001, d002, ...) and never reused; new entries take the next id and go at the end. kind is DECISION, FINDING, DROPPED or LESSON; area is product, engine, retrieval, eval, process or infra. A statement carries its number and date. Evidence is a commit sha, a repo-relative results path, a description of a private run record (work area, not in this repository), or "owner, chat ". "roadmap@bbd3292 " means the text of that item in git show bbd3292:docs/development/roadmap.md, the last version of the old roadmap that held the full result paragraphs. Numbers in this log are quoted from there or from the named record; the log does not repeat full tables.

Entries are in date order up to d337; later entries were added afterwards and keep the next free id whatever their date. Everything before 2026-10-17 was moved here from the old roadmap, the run checkpoints and the result files when the documentation was cleaned up on 2026-10-17.

id date kind area statement evidence
d001 2026-10-10 FINDING infra Focused xtask suites (Chunk, Filter, Unit, Lsp) had run 0 tests since the lci-core split; they now run with --workspace and fail when the filter matches zero tests b86a0db
d002 2026-10-10 DECISION infra REST, /openapi.json, /health and /ready get DNS-rebinding Host/Origin checks (loopback_guard); only /mcp had rmcp's allowlist 845038e
d003 2026-10-10 DECISION retrieval Fail-open fixes: non-UTF-8 files decoded lossily; oversized chunks re-embedded from a halved prefix on HTTP 400/413/422 (a 106 KB literal made a workspace unindexable at max-model-len 8192); timeouts not retried (a hung reranker cost ~6 min per search); a failed LSP provider skipped for the rest of a search 38ad6a8
d004 2026-10-10 FINDING retrieval Source-role classifier for Go _test.go, Java Test/Tests/TestCase/IT, C/C++ test names, Gradle/Android test sets; config/ dirs and JVM package paths no longer demote code: decoy eval (reranker off) hit@1 0.75 -> 1.0 29b9f32
d005 2026-10-10 FINDING retrieval rerank_document_max_bytes default 4096 (one oversized chunk made the whole rerank 400). Cap sweep, 24 candidates: uncapped/8192/4096/2048 -> rerank median 29.1/27.4/25.1/22.5 s, max 72.8/61.6/45.9/32.6 s, quality within noise 43d56d9
d006 2026-10-10 FINDING process README search_symbols row and LSP timing wording were stale since the LSP generalisation; fixed 3847b8c
d007 2026-10-10 DECISION infra Cross-process index lock <data_dir>/index.lock (lock_data_dir_for_indexing): CLI and server could commit one workspace concurrently; live, the CLI waited ~6 min for the server's 1224-chunk commit then proceeded 438670d
d008 2026-10-10 DECISION process AGENTS.md, CLAUDE.md and skills rewritten for unattended runs; lci-autonomous-improvement skill created; AGENTS.md freshness drift fixed (owner's autonomous mandate) fa0f262
d009 2026-10-10 DECISION process Roadmap created (8ca42d6); triage pass and delegated-dispute rule (f1fda78); compaction strategy in the autonomous-run skill (4c8a4fc): durable state for unattended runs 8ca42d6, f1fda78, 4c8a4fc
d010 2026-10-10 DECISION eval E1: nDCG@10, recall@k, file Acc@5/10, index_refreshed and per-stage p50/p95 added to evaluate (ranking items could not be judged on hit@k alone) 2a0b9ad
d011 2026-10-10 DECISION eval E2: cargo xtask mine-queries and evaluations/mined/self.toml (35 queries, 27 keyword / 8 keyword-agnostic); 11 hand-written queries moved hit@1 by 9 points each 7daed93
d012 2026-10-10 FINDING retrieval R7: one connect attempt for query-time rerank/embed plus a 30 s breaker (ConnectBreaker); an unreachable reranker cost ~9.2 s per search (reranking_ms p50 9157 -> 0.25), search median 10.3 -> 0.64 s 1213ecc; test-results r7-core-rerank-off.json (not committed)
d013 2026-10-10 DECISION eval E3b: [channels] toggles (semantic, lexical, lsp, reranker) give controlled arms without the 127.0.0.1:9 trick; grep-only, semantic-only and fusion baselines measured fb5e4f9
d014 2026-10-10 DECISION eval E3a: compare subcommand and evaluate --baseline with seeded paired-bootstrap CIs; every later ranking claim needs a CI, not two numbers 66005e9
d015 2026-10-10 FINDING retrieval L2: rg channel terms camel/snake-split with a stop list, cut at 25% document frequency, 12 rarest kept, chunks scored by BM25 k1=1.2 b=0.75 over credited lines. Grep-only mined MRR 0.389 -> 0.749 (95% paired-bootstrap CI); reranked total p50 34.0 -> 17.5 s, quality unchanged 2031ffe; roadmap@bbd3292 L2
d016 2026-10-10 DECISION retrieval R0: keep the reranker on. core.toml (binary 43d56d9): reranked hit@1 0.909/hit@3 1.0/MRR 0.955 vs fusion-only 0.909/1.0/0.939, reranking 18-46 s (median ~25 s): no measurable gain at ~25x latency (reranking is ~85-95% of search time), 11 queries too few; the reranker-down arm pointed the reranker URL at a closed local port (127.0.0.1 port 9) 43d56d9; test-results core-eval-cap-4096.json, r0-core-rerank-off.json (not committed); roadmap@bbd3292 R0
d017 2026-10-10 FINDING retrieval R0 mined set (frozen binary 7daed93, 35 q): reranked hit@1 0.743/hit@3 0.914/MRR 0.814/nDCG@10 0.606 vs fusion-only 0.686/0.800/0.759/0.555; +5.7 hit@1, +11.4 hit@3, +5.1 nDCG@10; keyword-agnostic (8) hit@1 <= 0.5; recall@3 0.444 vs 0.379; keyword (27) reranked hit@1 0.852 / MRR 0.907 vs fusion-only 0.741 / 0.822; keyword-agnostic (8) reranked 0.375 / hit@3 0.75 / MRR 0.500 vs 0.500 / 0.500 / 0.544 (n=8, noise); reranked median 34.0 s (reranking p50 32.7 s, p95 44.3 s); fusion-only median 10.3 s = ~9.2 s reranker connect retries (R7) + ~1.1 s work; lsp_search_ms p95 10.2 s (p50 32 ms), one or two queries hit an LSP timeout or a cold server 7daed93; test-results r0-mined-rerank-on/off.json (not committed)
d018 2026-10-10 DECISION infra V1: no switch to llama.cpp serving for the 890M. Fixed payload (24 chunks, ~31k tokens; planned as 24 docs / ~8.5k tokens) rerank: vLLM ROCm/WSL 62.8 s, +max-num-seqs 32 74.1 s, llama.cpp Vulkan 67.5 s, lemonade ROCm gfx1150 47.2 s (1.33x, bar was 0.6x); embed batch 8: 10.9 vs 13.1 s; 1 query 0.13 vs 0.51 s; FastFlowLM 1.0.7 exposes no reranking roadmap@bbd3292 V1; owner-run bench v1/bench.py (not committed)
d019 2026-10-10 FINDING infra V1 parity: llama.cpp vs vLLM embedding cosine >= 0.9993 (min of 9 vectors); rerank top 3 and top 1 identical on all servers; llama.cpp scores sharper (irrelevant ~0.0001 vs vLLM 0.07-0.20), tail Spearman 0.07-0.12 (the two llama.cpp builds agree 0.99); vLLM prefix caching makes repeated identical payloads ~10x cheaper roadmap@bbd3292 V1
d020 2026-10-10 FINDING retrieval N7: one LSP session per (provider, workspace) on a detached shared start, background priming with one workspace/symbol, lsp_search_budget_ms 1500 that turns a cold server into a note, $/cancelRequest on abandoned requests; fusion-only mined max search 30.7 -> 1.9 s; the second spike was rust-analyzer's symbol-index build 446c34a (results f74824f); test-results n7b--fusion.json (not committed)
d021 2026-10-10 FINDING eval E4: max and n per stage in stage_latency (nearest-rank p95 hid the 30 s LSP outlier at n=35). T1: non-degenerate CI test and hand-computed BM25 constants; two tests that could not fail now can 562a1a5 (recorded 686b61e)
d022 2026-10-10 DECISION retrieval F2a: [fusion] per-channel RRF weights, default semantic_weight 2.0 (79138e4). Fusion-only mined MRR +0.059 [+0.012,+0.118], nDCG@10 +0.041, held-out odd half +0.082 [+0.004,+0.175] confirmed; reranked pair n.s. Fusion-only arms had unequal LSP coverage (5 vs 21 budget hits) 8f56647, 79138e4 (results 20d0714)
d023 2026-10-10 DECISION retrieval F2a grid vs weight 1.0: mined w1.5 MRR +0.008 [-0.003,+0.024]; w2.0 +0.059 (nDCG +0.041, hit@1 0.686 -> 0.771); mined reranked w2.0 MRR +0.002 [-0.065,+0.065], nDCG -0.021 n.s.; core w2.0 MRR 0.000 (W/L/T 0/0/11), nDCG -0.017 n.s.; every pre-registered check passed for 2.0 20d0714
d024 2026-10-10 DECISION retrieval F2b: [fusion] max_chunks_per_file default 2, applied to the fused shortlist before the reranker. Fusion-only mined nDCG@10 +0.049 [+0.026,+0.077]; core nDCG@10 0.710 -> 0.878; reranked nDCG@10 +0.046 [+0.002,+0.095] but MRR -0.023 n.s. and odd-half MRR -0.089 sig (-> F2c); fusion-only LSP coverage 14 vs 21 hits 50fda8a, 92a7060 (results 9a74224)
d025 2026-10-10 FINDING retrieval H1: Rust tests.rs, test_*.rs, *_test.rs, *_tests.rs are role test; core identical, mined W/L/T 0/3/32 with all three losses on LSP budget hits 3f5861e (recorded cca6744); roadmap@bbd3292 H1
d026 2026-10-10 DROPPED infra V2 (NPU embedder measurement, FastFlowLM Embedding-Gemma-300M): V1 settled the NPU question (no Windows NPU runtime serves reranking; only NPU embedder is EmbeddingGemma-300M, MTEB ~68 vs ~74.6, 2048-token context, forces re-index); Gemma Terms of Use. Download ~300 MB; the FastFlowLM 1.0.7 zip had validated the XDNA2 stack (driver 32.0.20102.3930); revive only on the owner's request granting the download owner triage 2026-10-10; roadmap@bbd3292 Dropped
d027 2026-10-10 DECISION eval E0: opt-in SearchReport.candidates dump holds every channel candidate (semantic/lexical/LSP 40 each) with ranks and scores, fused order before/after the cap, shortlist, document bytes and reranker score; the reranker scores each pair alone, so re-selection and re-ordering replay bit-exactly, only new documents or query text need a GPU 5c6a7ef (replay 6d4110f); LCI_CANDIDATE_DUMP for serve a8586dd
d028 2026-10-10 FINDING eval E2 follow-up: 5 of the 8 keyword-agnostic mined queries are gold noise (split files, churn in dropped .ps1/docs, 13-file commits); the stratum is really short subject (mean 10.5 words vs 32.8) roadmap@bbd3292 E2
d029 2026-10-10 DECISION eval E3 rationale: a grep-only baseline had never been run (Cursor switched semantic search off in July 2026 after a +12.5% result eight months earlier; hybrid can lose to dense alone); [channels] toggles are production config, readiness still probes the embedder when semantic=false fb5e4f9, 66005e9
d030 2026-10-10 FINDING retrieval Pre-L2 arms, core(11) hit@1/hit@3/MRR/nDCG@10/recall@8: reranked .909/1.0/.955/-/- 26.0 s; fusion 1.0/1.0/1.0/.745/.682 0.68 s; semantic .909/1.0/.955/.734/.727 0.22 s; grep .636/.727/.715/.609/.727 0.62 s test-results e3-core-*.json (not committed)
d031 2026-10-10 FINDING retrieval Pre-L2 arms, mined(35): reranked .743/.914/.814/.606/.575 34.0 s; fusion .657/.743/.736/.551/.537 0.76 s; semantic .771/.886/.829/.517/.463 0.27 s; grep .114/.457/.325/.276/.356 0.67 s. Semantic-only beat fusion at the top at ~1/125 of the latency; lexical noise cost 11 points hit@1 test-results e3-mined-*.json (not committed)
d032 2026-10-10 FINDING retrieval Post-L2 arms (binary 2031ffe): core fusion .909 hit@1/.955 MRR/.727 nDCG@10; grep-only .818/.855/.789; mined fusion .657/.746/.571; grep-only .629/.749/.499; reranked .743/.808/.624 at 17.5 s p50; remaining gap is fusion weighting; fusion-only runs of one binary differ up to 0.06 MRR (.736 vs .706) when LSP is cold test-results l2-*-new2.json (not committed)
d033 2026-10-10 FINDING retrieval E7 first replays (deep dumps, window 64, frozen 6d4110f, 0 refusals): rerank window 6/8/12 vs 24 on mined MRR +0.021/-0.009/-0.010, nDCG@10 -0.038/-0.049/-0.012, all CIs contain 0; core first-rank losses 2/1/0; window 12 cheapest passing. W40-dump comparisons void (B refused 11/35 mined, 10/11 core) test-results e0-*-dump64.json (not committed); 6d4110f
d034 2026-10-10 DECISION retrieval F2c not adopted: cap at results vs shortlist at window 24: mined MRR +0.016, nDCG@10 +0.006 n.s., core W/L/T 3/0/8, but ~1.3 s more reranking E7 replay 6d4110f; roadmap@bbd3292 F2c
d035 2026-10-10 DECISION retrieval R3 not adopted: reranker as an RRF vote (weight 1.0/2.0) vs replace: mined MRR -0.013/+0.006, nDCG@10 -0.026/-0.024 n.s., W/L/T 8/8 and 8/7; the margin arm was not replayed E7 replay 6d4110f; roadmap@bbd3292 R3
d036 2026-10-10 FINDING retrieval Reranker window explorer: on core the reranker's top-1 always came from fusion rank <= 5; its one win (readiness, fusion 3 -> 1, score gap 0.226) and one loss (1 -> 2, gap 0.002) sit in fusion top 5; in 7/11 core queries the reranked top 3 holds a chunk outside fusion top 8; cost ~0.4 s + W x ~354 tokens / 290 tok/s (I-2), ~10 s at W=8 vs ~25 s at 24 roadmap@bbd3292 R1
d037 2026-10-10 DECISION retrieval R1 live confirm (frozen tree bfaff44): window 12 vs 24 mined MRR .900 vs .900 (W/L/T 1/1/33), nDCG@10 -0.044 [-0.082,-0.011] sig (even half -0.074 sig), core MRR +0.046; reranking p50 19.6 -> 9.9 s (1.98x), search p50 20.2 -> 10.5 s, p95 34.8 -> 15.2 s. Default stays 24; window 12 = balanced dial test-results v6-w12-*.json (not committed)
d038 2026-10-10 LESSON eval vLLM prefix caching makes an identical rerank request ~10x cheaper on repeat (24 x 4 KB: 3.4 s cached): order arms so none reuses a cache and never repeat a query in a timing run roadmap@bbd3292 R1 (V1 bench)
d039 2026-10-10 LESSON eval Evaluate a frozen tree: files changed during the V5 run so 8 mined queries refreshed the index and only 20/35 mined and 3/11 core queries had identical top-24 pools roadmap@bbd3292 V5
d040 2026-10-10 FINDING retrieval R2 (skip the reranker on an exact symbol-definition hit) blocked on E6: neither evaluation set has an identifier query (78.2% of real code-search queries are identifiers, Debian Code Search) roadmap@bbd3292 R2
d041 2026-10-10 DROPPED retrieval R6 (rerank only contested queries): in all 12 live fixture searches the fused top-1 was in 2+ channels with semantic and lexical rank <= 2 and the reranker agreed; RRF score ratio 1.12-2.68 did not discriminate; never run, dropped by direction 2026-10-17 owner, chat 2026-10-17; roadmap@bbd3292 R6
d042 2026-10-10 DECISION retrieval R4: Qwen3-Reranker-0.6B rejected as replacement and cascade: reranking p50 4.6 vs 19.6 s (4.3x), mined MRR -0.096 [-0.208,+0.010], W/L/T 3/7/25, 7 mined and 1 core first ranks lost; its top 8 holds the 4B top-1 in 31/35 mined (89%) and 10/11 core, below the 95% bar test-results v6-R4-*.json (not committed)
d043 2026-10-10 FINDING retrieval Qwen own table: 0.6B reranker MTEB-Code 73.42 scores below its first-stage 0.6B retriever 75.41; gte-reranker-modernbert-base (149M, Apache-2.0) CoIR 79.99 vs 79.31 is the only small reranker not below its first stage; bge-reranker-v2-m3 41.38, jina-reranker-v2 58.98 (CC-BY-NC); gte-modernbert never tested roadmap@bbd3292 R4
d044 2026-10-10 DECISION infra V5: keep the llama.cpp ROCm reranker (Q8_0 with LCI's code instruction; owner-directed). Replay B vs vLLM (llama.cpp ROCm measured 1.33x faster; the vLLM mined window-64 reranking p50 baseline was 52.1 s, corrected from 33.8 s which was the window-40 dump), mined MRR +0.105 [+0.036,+0.189], nDCG@10 +0.054, hit@1 +0.143, W/L/T 7/0/28; core MRR +0.061 n.s. 2/1/8; identical pools only: mined 2/0/18, core 0/1/2 test-results v5-*-dump64-llama.json (not committed)
d045 2026-10-10 FINDING infra V5 latency and RAM: --kv-unified is 11% slower (window-64 rerank p50 mined 56.0 vs 52.1 s, core 48.7 vs 51.7 s); without it the V1 payload takes 47.1 vs 62.8 s (1.33x). llama-server holds 8.4 GB idle, 11.7 GB after a rerank vs vLLM ~8.5 GB; its 8 GB host prompt cache grew it to 19 GB in 10 min (now off); V1's ~4 GB saving did not hold roadmap@bbd3292 V5
d046 2026-10-10 FINDING infra R1 on llama.cpp scores, window 12 vs 24: mined MRR +0.021, nDCG@10 -0.029 [-0.064,+0.001] n.s., core identical (0/0/11); even (selection) half nDCG@10 -0.046 sig roadmap@bbd3292 V5
d047 2026-10-10 DECISION retrieval V6: code-tuned CoREB reranker rejected (Qwen3-Reranker-8B ties the 4B on MTEB-Code, 81.22 vs 81.20, at ~2x cost). Arm 0 (Qwen3-Reranker-4B): mined MRR .900, nDCG@10 .680, hit@1 .857, hit@3 .943, rerank p50 19.6 s; core MRR .816, 18.6 s. A (LCI template) mined MRR -0.087 [-0.174,-0.009], W/L/T 1/6/28; B (card template) -0.195 [-0.320,-0.067], 3/13/19, scores saturate near 1.0 test-results v6-*.json (not committed); roadmap@bbd3292 V6
d048 2026-10-10 LESSON retrieval The reranker prompt template moves results as much as the weights; author-reported code gains (text-to-code +1.1 nDCG@10) did not transfer to LCI's queries roadmap@bbd3292 V6
d049 2026-10-10 FINDING infra V5 clean confirmation (same tree and binary): llama.cpp vs vLLM mined MRR +0.159 [+0.080,+0.246], nDCG@10 +0.073, hit@1 +0.257, W/L/T 11/0/24; core MRR +0.061 n.s. 3/1/7; rerank p50 19.6 vs 22.3 s mined, 18.6 vs 22.7 s core; vLLM scores badly calibrated (0.32 for an obviously relevant document) roadmap@bbd3292 V6
d050 2026-10-10 FINDING retrieval Channel ablation (frozen tree, fusion-only replays of arm 0): mined MRR .781, nDCG@10 .583, core MRR .875; without vectors mined nDCG@10 -0.075 and core MRR -0.160 sig; without lexical or LSP no significant change; reranked without vectors mined MRR -0.070 [-0.153,0.000] 1/5/29 roadmap@bbd3292 V6
d051 2026-10-10 FINDING retrieval M6 0.6B embedder lower bound (frozen tree): reranked mined MRR .886 vs .900 (-0.014 [-0.043,0.000]), nDCG@10 -0.008, W/L/T 0/1/34; core .877 vs .816; fusion-only mined +0.031; full index 99 vs 546 s (5.5x); query embedding p50 393 vs 504 ms; passes non-inferiority, not switched (re-index of every workspace, owner decision) test-results v6-emb06-*.json (not committed)
d052 2026-10-10 FINDING infra V7: 8-document rerank alone 15.0 s (drift 0.5%), with 2 CPU busy-loops 16.2 s (1.08x), with the vLLM embedder indexing batches of 8 on the same iGPU 57.3 s (3.8x), embedder slowed 1.43x: indexing during search makes searches ~4x slower owner-run interfere.py (not committed)
d053 2026-10-10 DECISION eval E1 graded gain: expected_paths match = 2, preferred_paths match = 1; metrics follow LocBench, CORE-Bench and Long Code Arena reporting (nDCG@10, Recall@k, file Acc@5/10) 2a0b9ad
d054 2026-10-10 FINDING eval E5 evidence: after N7 every fusion-only run shows a contiguous window where all queries hit the 1.5 s LSP budget: n7-mined-fusion 22 of 35, f2-mined-w15 20, w20 21, f2b cap0 14, cap2 21, h1 20; reranked runs lose only queries 1-2; identical-code pairs flip 1-3 queries (F2b reproduce W/L/T 0/2/33, H1 0/3/32) test-results -mined-.json (not committed); roadmap@bbd3292 E5
d055 2026-10-10 FINDING retrieval N8 hypothesis: ~20-30 s after start rust-analyzer finishes loading build scripts and proc macros and swaps its crate graph, invalidating the primed symbol index; the next workspace/symbol rebuilds it (>= 8.5 s alone), so every search in that window hits the budget; hidden by the ~17 s reranked path roadmap@bbd3292 N8
d056 2026-10-10 FINDING eval T1 sweep: no #[ignore] and no should_panic anywhere; timing assertions are backed by deterministic fakes with 2x-1000x margins (N7 tests 2.5-6x, watched for flakes) roadmap@bbd3292 T1; second triage 2026-10-10
d057 2026-10-10 FINDING retrieval N7 detail: first ~6 queries of a run carry the budget note (~10 s quiescence + ~8 s priming); LSP per query after warm-up 2-8 ms (was 20-40); total p50 393 -> 403 ms; MRR +0.024 n.s.; the old 25-30 s spike was rust-analyzer's first full workspace/symbol (~8.5 s alone) 446c34a
d058 2026-10-10 FINDING infra Snapshot 2026-10-11, llama.cpp reranker era (frozen tree, mined set, V6 arm 0 + R1 live): reranking p50 19.6 s, search p50 20.2 s / p95 34.8 s; window 12: search p50 10.5 s / p95 15.2 s roadmap@bbd3292 Snapshot; test-results v6-*.json (not committed)
d059 2026-10-10 FINDING infra Snapshot, vLLM-reranker era (binary 50fda8a, cap 2, mined set): total p50 18.9 s / p95 27.6 s / max 31.6 s; reranking p50 18.1 / p95 26.8 / max 30.8 s; after L2 (before F2) 17.5 / 16.8 s; before L2 34.0 / 32.7 s 50fda8a; test-results f2b-mined-reranked-cap2.json (not committed)
d060 2026-10-10 FINDING infra Stage latencies on the dev machine: fusion without reranker p50 0.40 s (1.65 s when the LSP channel hits its budget); query embedding 0.2-0.5 s; LanceDB 55-70 ms; lexical ~270 ms p50; LSP 2-30 ms once primed roadmap@bbd3292 Snapshot
d061 2026-10-10 FINDING retrieval After N7 cold rust-analyzer is bounded by the 1.5 s budget (first ~6 queries carry the note; max search 30.7 -> 1.9 s fusion-only), but fusion-only runs also show a later 15-25 s window where all queries hit it (14-22 of 35): N8 446c34a; roadmap@bbd3292 Snapshot
d062 2026-10-10 FINDING retrieval Snapshot core.toml (11 queries) at current defaults: fusion-only hit@1 0.909 / hit@3 1.0 / MRR 0.955 / nDCG@10 0.878 (0.710 before F2b); reranked 0.909 / 1.0 / 0.955 (R0 43d56d9, not re-run) test-results h1-core-fusion.json (not committed); 43d56d9
d063 2026-10-10 FINDING retrieval Snapshot mined set (35 q) reranked at cap 2 (binary 50fda8a): hit@1 0.686 / hit@3 0.886 / MRR 0.779 / nDCG@10 0.655 / recall@8 0.660; cap 0: 0.743 / 0.829 / 0.802 / 0.609 / 0.600; after L2: 0.743 / 0.857 / 0.808 / 0.624 / 0.618 test-results f2b-mined-reranked-cap2.json (not committed); 50fda8a
d064 2026-10-10 FINDING retrieval Snapshot mined fusion-only at current defaults 0.743 / 0.857 / 0.806 / 0.607 (20 LSP budget hits); after L2 plain RRF 0.657 / 0.800 / 0.746 / 0.571; semantic-only 0.771 / 0.886 / 0.829 / 0.517 (pre-L2) test-results h1-mined-fusion.json (not committed); roadmap@bbd3292 Snapshot
d065 2026-10-10 FINDING retrieval Chunk sizes in this repo: median ~200 B, p90 ~1.3 KB, p99 ~5 KB, max 17 KB (chunker targets 6,000 B groups and keeps declarations whole to 24,000 B) roadmap@bbd3292 Snapshot
d066 2026-10-10 DECISION process Triage pass 1 (after E1, E2, E3a/b, L2, R7): R1 re-baselined on the L2 binary (windows 6 and 8); V3 edited; V2 dropped; L0 edited; F2 unblocked; I-2 and I-4 answered; T1 added cca6744; roadmap@bbd3292 Triage log
d067 2026-10-10 FINDING retrieval Triage 2 (HEAD cca6744): every fusion-only run since N7 loses the LSP channel for a contiguous 15-25 s window (lsp_search_ms ~1.5 s on 14-22 of 35 queries; n7b-mined-fusion and f2-mined-w10 only the first 5); reranked runs lose queries 1-2 cca6744; test-results n7-/f2-/f2b-/h1-mined-*.json (not committed)
d068 2026-10-10 FINDING eval Triage 2: F2a and F2b fusion-only arms compared unequal LSP coverage (w1.0 5 hits vs w2.0 21; cap0 14 vs cap2 21); the reranked confirms (2 vs 2) are clean; N8 recorded, E5 widened, F2a/F2b fusion claims to be replayed after E0 cca6744; roadmap@bbd3292 Triage log
d069 2026-10-10 DECISION eval Triage 2: E0 must dump every channel's candidates so weights, prior, cap, window, vote and gate replay exactly; new E7 (offline replay), E6 (identifier stratum), F2d (definition boost); E2b owns the mine.rs leakage fix cca6744; roadmap@bbd3292 Triage log
d070 2026-10-10 LESSON process N7 tests use fake-server delays of 500-2000 ms against budgets of 200 ms and bounds of 1200 ms (margins 2.5-6x, older timing tests 10x+); watch for flakes, change nothing unless one is seen cca6744; roadmap@bbd3292 Triage log
d071 2026-10-10 FINDING retrieval Reranking is the only user-visible cost: 16.8 s of a 17.5 s p50 search after L2 (35-54 s of 45-65 s before it); on 2026-10-11 ~97% of a ~20 s production search was reranking, fusion-only 0.4 s roadmap@bbd3292 P0; 2031ffe
d072 2026-10-10 FINDING retrieval Qwen3-Reranker-4B's published 81.20 MTEB-Code was measured reranking the 0.6B embedder's top 100 (75.41), while LCI's 4B embedder scores 80.06; R0 then measured a consistent gain on the mined set https://arxiv.org/abs/2506.05176; roadmap@bbd3292 P0
d073 2026-10-10 LESSON eval Nothing about ranking can be decided with 11 queries (each moves hit@1 by 9 points), so the harness (E1-E3) came before any ranking work roadmap@bbd3292 P0
d074 2026-10-10 FINDING retrieval L0 explorer: rg spawn ~48 ms + search 15-26 ms, parallel to the ~470 ms query embedding; dunce::canonicalize per line 85-120 us (15-260 ms per search); O(matches x chunks) mapping 24-380 ms release; rg 77 ms vs Git-for-Windows grep 140 ms (zero hits for -i -F); "add" hit 45 of 78 files roadmap@bbd3292 L0
d075 2026-10-10 FINDING retrieval L1 premises: lancedb 0.38 ships BM25 FTS but overwrite drops indexes; SQLite-FTS5 proxy MRR 0.875 vs 0.69; lexical-only baseline nDCG@10 0.499 mined / 0.789 core, p50 ~250 ms; adoption rule: +20% relative nDCG@10 on both strata with p50 not worse; never run roadmap@bbd3292 L1
d076 2026-10-10 FINDING retrieval C2 explorer: the embedder sees raw chunk code with no path, language or symbol, so gold files tied to a query only by path are unreachable; C2-lite header "path, language" needs one re-embed; gate: no keyword-stratum loss and core hit@1 >= 0.818 roadmap@bbd3292 C2
d077 2026-10-10 DECISION retrieval F2a grid (frozen 8f56647): mined w 2.0 MRR +0.059 [+0.012,+0.118], nDCG@10 +0.041, hit@1 0.686 -> 0.771; w 1.5 MRR +0.008; core w 2.0 MRR 0.000 (W/L/T 0/0/11), nDCG@10 -0.017; mined reranked w 2.0 MRR +0.002; default became 2.0 (79138e4) 79138e4; test-results f2-*; roadmap@bbd3292 F2
d078 2026-10-10 DECISION retrieval F2a re-check by exact replay of the E0 dump (rerank off): weight 1 -> 2 mined MRR +0.033 [-0.010,+0.093], core nDCG@10 -0.043; the grid gain came from unequal LSP coverage (N8), so semantic_weight went back to 1.0 bb6589d; roadmap@bbd3292 F2
d079 2026-10-10 DECISION retrieval F2b (frozen 50fda8a, grid {0,2}): fusion-only mined nDCG@10 +0.049 [+0.026,+0.077], recall@8 0.558 -> 0.608; core nDCG@10 0.710 -> 0.878; reranked mined nDCG@10 +0.046, MRR -0.023 n.s.; default max_chunks_per_file 2; replay confirmed (mined +0.041, core +0.164) 92a7060; test-results f2b-*; roadmap@bbd3292 F2
d080 2026-10-10 DECISION retrieval M1 mechanism done: embedding_query_template and embedding_document_template (a non-default document template changes embedding_identity); the live instruction comparison was never run; candidate "Given a change description, retrieve the source files that implement it" roadmap@bbd3292 M1
d081 2026-10-10 DECISION retrieval M5 8B embedder trial approved by the owner (size cap lifted; +0.62 MTEB-Code over the 4B, not better on CORE-Bench); never run, dropped with the embedder benches owner, chat 2026-10-10; roadmap@bbd3292 M5
d082 2026-10-10 DECISION retrieval Owner delegated decision: stay on the Qwen3-Embedding-4B embedder until the LCI-map design lands; a switch now would force two re-indexes c46bab6
d083 2026-10-10 DECISION infra Owner delegated decision: V7 NPU arm only after the grand-vision workflow is committed and nothing else is in flight (hang reports for concurrent NPU+iGPU use) c46bab6
d084 2026-10-10 DECISION process Owner delegated decision: non-commercial (CC-BY-NC) models such as SweRankEmbed-Large and jina-code-embeddings are not trialled; LCI stays Apache/MIT-clean c46bab6
d085 2026-10-10 DECISION process Owner delegated decision: the mis-quoted allow rule in the client's local settings stays; it only fails to auto-approve one command c46bab6
d086 2026-10-10 FINDING retrieval I-2 answered: reranking is compute-bound at ~290 prompt tokens/s, rerank_s ~= 0.4 + tokens / 290 within ~10%; L2 halved tokens and time (32.7 -> 16.8 s p50) roadmap@bbd3292 I-2
d087 2026-10-10 FINDING retrieval I-4 answered: reranked vs fusion after L2 hit@1 0.743 vs 0.657, MRR 0.808 vs 0.746, nDCG@10 0.624 vs 0.571 on the mined set; on core within noise roadmap@bbd3292 I-4
d088 2026-10-10 FINDING retrieval F2b numbers cited by config.example.toml: max_chunks_per_file=2 gave fusion-only nDCG@10 +0.049 on the mined set (significant in both halves) and +0.168 on core (significant); reranked mined nDCG@10 +0.046 (significant), MRR -0.023 (not significant) 92a7060; test-results f2b-*.json (not committed)
d089 2026-10-10 FINDING retrieval F2a semantic_weight 2.0 (79138e4) was reverted to 1.0 in bb6589d: the fusion-only live arms lost the LSP channel on a long run of queries (N8), and an exact replay with the channel present showed no significant effect bb6589d
d090 2026-10-10 DECISION process Commit d772727 removed hardcoded model-service launch commands from the repository on purpose; the rule that launch commands are never committed stays in AGENTS.md Live services d772727
d091 2026-10-10 FINDING engine clangd needs no compile_commands.json for per-file navigation: confirmed live against a standalone fixture with no build system roadmap@bbd3292 acceptance notes
d092 2026-10-10 FINDING eval V5 run: the index was refreshed on 8 of 35 mined queries and identical top-24 pools held on only 20, which confounded a reranker comparison; compare arms only on a quiescent index roadmap@bbd3292 V5
d093 2026-10-11 FINDING retrieval N11: Qt Linguist .ts catalogs skipped instead of parsed as TypeScript (content check, UTF-8 or UTF-16; skips counted in the index report); in bitcoin they are 100 files and 14 MB; live bitcoin check not run df1255c; roadmap@bbd3292 N11
d094 2026-10-11 DECISION infra N13 (with N12): NavigationReport.warnings carries 'Optional LSP provider unavailable: : '; search_symbols errors only when every applicable server failed; one cross-family review, Full gate green 04043ac
d095 2026-10-11 FINDING infra N26(b): SNIPPET_BUDGET is bytes, cut at a char boundary, pinned by a multibyte test (first Copilot cloud agent pilot, PR #2) 5996fa5
d096 2026-10-11 DECISION infra N9: error responses no longer restart a language server; a discarded session stops its server and on Windows its process tree (3 orphaned rust-analyzers from 2 requests during a cargo-fetch stall); three cross-family reviews, first two REJECT; live check not run 10d771e
d097 2026-10-11 FINDING eval E2b: mined-query leakage refuted at c46bab6 (35/35 scanned, no 10-word window of a query in a tracked file outside evaluations/; 0 leaks at frozen tree bfaff44); mine.rs ranks first for topical reasons, never exclude it (109 capitalised literals of mine.rs checked: the only real subject, "Fix Python mock reranker lint", is skipped by the miner). xtask mine-queries adds tags (gold-drift = strictly more than half of the changed lines, numstat without renames, pure moves counted on both sides; short/long counted on the query text) gold-drift 4, short-query 10 (<8 words), long-query 23 (>=25 words) of 35 c46bab6; roadmap@bbd3292 E2b
d098 2026-10-11 DECISION infra N10: default log filter local_code_intelligence=info,lci_core=info (the old default dropped every lci_core event incl. LSP restart warnings); unit test drives the filter; live check not run roadmap@bbd3292 N10
d099 2026-10-11 DECISION infra N12: search_symbols answered a no-match query with HTTP 500 when another language server of a mixed workspace failed (deno: csharp-ls and clangd exit); now an error only when every applicable server failed, partial failures logged at warn roadmap@bbd3292 N12
d100 2026-10-11 DECISION infra S5: LanceDB table name ws_<16 hex> (birthday bound ~2.7e-14 for 1,000 workspaces, collision guard on workspace_path metadata); Windows data_dir ceiling ~110 -> ~163 characters (base binary failed at 139, new at 199), /ready warns above 150; root cause lance-io LocalWriter MoveFileExW without verbatim prefix roadmap@bbd3292 S5
d101 2026-10-11 DECISION infra M7: index-time embedding retries a dropped keep-alive connection (typed hyper check, eight loopback tests); a deno first-task index had died after 36 minutes; query-time calls stay single-attempt; idea: pool_idle_timeout below server keep-alives roadmap@bbd3292 M7
d102 2026-10-11 FINDING infra N9 detail: typed RpcError no longer discards a session; repeats after 500 ms then 1.5 s for ContentModified, ServerCancelled, RequestFailed and loading errors, a repeat starts only within 5 s of the first error; Windows Job Object per server; tree kill pinned by the descendants test only 10d771e
d103 2026-10-11 FINDING retrieval N11 detail: bitcoin has 100 Qt Linguist .ts files (14.4 MB vs 16.7 MB of .cpp/.h); the A/B bitcoin index had spent over an hour on them at ~500 tokens/s on the 0.6B embedder; a bare and arrow generics stay TypeScript; the ripgrep *.ts glob still scans catalogs df1255c
d104 2026-10-11 FINDING infra Pins at the 2026-10-11 refresh: lancedb =0.38.0 (crates.io latest 0.40.0, 2026-10-07), rmcp =3.2.0 (latest 3.5.1, 2026-10-05; 3.5.0 implements the 2026-07-28 stateless spec), tree-sitter 0.25, no notify, no tantivy 38d6d18; Cargo.toml
d105 2026-10-11 DECISION process Grand-vision "LCI map" design run paused after an independent sanity check: gold file in the top-24 pool for 44 of 46 queries on one 92-file repo that rg scans in 0.15 s private record grand-vision/sanity-check.md; roadmap@bbd3292 Strategy
d106 2026-10-11 FINDING process The grand-vision run's own pre-registered spikes falsified its synergy claims (tag edges, cards as reranker input, semantic hops, co-change weighting, neighbour injection, embedder-free fast mode); what survived was symbol identity and per-file derivation in 12-19 ms private record grand-vision/sanity-check.md
d107 2026-10-11 DECISION process Owner: run I-10 first as an agent A/B: 15 public repos, 20 generated content repos, the 45 replayed-commit tasks of this repo; arms native / +LSP navigation / +LCI fast / +LCI deep; rules pre-registered owner, chat 2026-10-11; roadmap@bbd3292 Strategy
d108 2026-10-11 DECISION infra A/B plumbing: LCI_CANDIDATE_DUMP appends each search's fused pool as one JSON line (AB-1, a8586dd); search profiles in config and CLI (A6a 15bc4c6); idle language-server release (N3a ced5fbf) a8586dd, 15bc4c6, ced5fbf
d109 2026-10-11 LESSON process Owner working principle: measurements guide opinions and opinions guide measurements; measure a premise before designing on it; sanity checks at phase boundaries owner, chat 2026-10-11
d110 2026-10-11 DECISION process SC1 (before the A/B binary freeze) GO WITH FIXES: blockers one-server layout (A23) and configuration provenance; ten should-fix items adopted in A24; no threshold moved private record grand-vision/ab/SC1.md
d111 2026-10-11 FINDING process SC6 CONTINUE: the owner's checkout resolved every machine value through the resolvers; a fresh clone could not run lci config --json before a protoc build; machine-values.md and cargo xtask env --init fixed roadmap@bbd3292 Strategy SC6
d112 2026-10-11 FINDING process SC2 (pilot audit), SC3 (interim look at ~115 code tasks), SC4 (post-result re-analysis) and SC5 (before phase 2 and 5090 training) were planned; no verdict is recorded in the roadmap roadmap@bbd3292 Strategy
d113 2026-10-11 FINDING eval A/B task miner: 16 of grpc's 20 tasks have unindexable gold because .h/.cc/.cxx/.hh/.hxx were not indexed; X1 landed the extensions (17 extensions in bbd3292) bbd3292; roadmap@bbd3292 Strategy
d114 2026-10-11 FINDING eval U1 uptake study (0.6B part): STATE 6, inconclusive; R1 missed its -0.223 bar by about 0.0006 (dM1 -0.2224); 0 of 27 uncued runs called an LCI tool, 14 of 27 with a one-sentence cue (exploratory) private record ab-analysis-1015 (U1); roadmap@bbd3292 I-10
d115 2026-10-11 DECISION retrieval N14 (lexical matches credited only to the file ripgrep reported) stays an unmerged side branch; its before/after run needed the 4B pass; tagged keep/n14-lexical-suffix, re-evaluate when search work resumes e0f7c10; owner delegation, 2026-10-17 (cleanup D3)
d116 2026-10-11 FINDING eval N34 premise: of 61 (call, gold file) appearances in U1 search_code calls 57 are at rank 5 or better and 4 first appear at ranks 6-8; ranks 6-8 carry 18.7% of returned lines, but 20 of 94 files named in final answers were at rank 6 or later docs/development/agent-payload-notes.md; roadmap@bbd3292 N34
d117 2026-10-11 DECISION infra N3 done: N3a ced5fbf (lsp_idle_timeout_seconds default 1800, sweeper releases only ready primed unused sessions, bounded shutdown/exit, ~4 s worst case); N3b 2026-10-11 REST POST /v1/release_workspace, release on Ctrl+C, Status.analyzers_running (seven booleans kept one release) ced5fbf; roadmap@bbd3292 N3
d118 2026-10-11 DECISION infra A7 portable configuration done: A7a layers default < file < overlay < LCI_* < flags, port key, lci config; A7e port-8765 URLs rejected; A7b lci init; A7c cargo xtask env; A7d lint-machine-paths in the Full gate; SC6 CONTINUE roadmap@bbd3292 A7
d119 2026-10-11 DECISION infra A7 owner answers: A7e a separate XS slice; machine set = data_dir, port, model URLs and names, tool and language-server paths; overlay = sibling stem.local.toml plus user-level file; dev values in a gitignored machine file owner, chat 2026-10-11; roadmap@bbd3292 A7
d120 2026-10-11 DECISION product A6 search profiles done: A6a 15bc4c6 (config, CLI, report, dump field; default output identical), A6b one MCP endpoint per profile /mcp/NAME and REST ?search_profile=; follow-up: map App errors to 400/404/503 in REST 15bc4c6; roadmap@bbd3292 A6
d121 2026-10-11 FINDING infra I-9 answered: the binding Windows path is Lance's data file persisted by tempfile without the extended prefix; S5 raised the data_dir ceiling ~110 -> ~163 and documents a 150 limit; a 200-char data_dir still fails roadmap@bbd3292 I-9
d122 2026-10-11 FINDING eval I-10 U1 (0.6B part, 9 tasks, 3 runs per arm): 0 of 27 uncued runs used an LCI tool, 14 of 27 with a one-sentence cue; tool list alone +7.2k tokens per run (49.2k vs 42.0k); forced first search_code 60.4k tokens (+11.2k); R1 missed its -0.223 bar by about 0.0006 private record ab-analysis-1015/pooled_q1+q2 RESULTS.md; roadmap@bbd3292 I-10
d123 2026-10-11 DECISION process Local live acceptance is the default over a self-hosted runner: runner registration, stale sessions after an ungraceful kill, a PATH that differs from the interactive shell and a kept-open terminal were friction; the first fully green live-acceptance.yml run hit its 60-minute job bound (now 150); per-step timeouts replace one blind ceiling 2026-10-11 session
d124 2026-10-11 FINDING infra llama.cpp reranker on the iGPU at 8767, measured 2026-10-10 (V6 arm 0, R1 live confirm): search p50 20.2 s, p95 34.8 s, reranking p50 19.6 s at the production window of 24 and 9.9 s at window 12 test-results v6-*.json (not committed)
d125 2026-10-11 FINDING eval A7a re-check: the same binary run twice with the reranker off differed on 2 of 14 core queries (vLLM embedder under concurrent indexing load shifts the query embedding); embedder noise is real roadmap@bbd3292 A7
d126 2026-10-11 FINDING infra 2026-10-10/11 serving setup: the embedder ran as vLLM in WSL and the reranker as llama.cpp, both sharing the iGPU (reranker alone roughly 8-12 GB), so no third model process; current serving is machine-specific and not documented in the repository roadmap@bbd3292 V1, R4, V5
d127 2026-10-11 DECISION process SC1 (sanity checkpoint before the A/B freeze): GO WITH FIXES, blockers one-server layout and configuration provenance, ten should-fix items adopted private record grand-vision/ab/SC1.md
d128 2026-10-11 DECISION process SC6 (after A7): CONTINUE; fresh agents resolved every path, port and URL through the documented resolvers; SC2-SC5 (pilot audit, interim look, post-result re-analysis, phase-2 premise) were planned but never held roadmap@bbd3292 Strategy SC6
d129 2026-10-11 DECISION process Owner sanity check ("are we chasing something useless?") led to a Fable verdict: LCI is solid, the map premise unmeasured (I-10 never run), eval saturated (gold in top-24 for 33 of 35 mined and 11 of 11 core), market moved to agentic grep; stage 2 of the grand-vision run paused owner, chat 2026-10-11; private record grand-vision/sanity-check.md
d130 2026-10-11 DECISION eval Owner go for the agent A/B: 15 public repos of varying size and language plus 20 generated content repos; arms A native, B +LCI navigation, C +LCI fast, D +LCI deep; STOP unless D-A or C-A reduces calls or tokens by 20% or lifts success by 0.10 (Holm); about 240 code tasks and 80 content tasks planned owner, chat 2026-10-11
d131 2026-10-11 DECISION infra Owner approvals for the A/B: clone 15 repos, install language servers with scripts disabled, a disposable WSL sandbox for Java and C# servers, PyTorch stack for 5090 training; not approved: running repo code, pushes to main, tags owner, chat 2026-10-11
d132 2026-10-11 LESSON process Agent A/B harness lessons: the runner session must be Manual (an Auto parent overrides the agents' dontAsk), no repo code is executed private record run-state-archive 2026-10-11
d133 2026-10-11 DECISION process Night plan (owner asleep): index and prep the A/B, build search profiles P1a/P1b and idle release P2a/P2b with a Full gate, a fresh Fable review and a commit each, then the mandatory sanity check before the freeze private record run-state-archive 2026-10-11
d134 2026-10-11 DECISION process Owner batch-C answers: stay untracked for research notes with an index; keep rust-skills; remove leftover worktrees and agent files after verifying nothing is unpushed; clean the scratchpad; slice IDs may be coined by the agent with a naming rule owner, chat 2026-10-11
d135 2026-10-12 FINDING infra N27: an_abandoned_request_leaves_the_session_usable was an intermittent race (fixed 600 ms wait); test-only fix waits for the fake server's request count; Linux, macOS and Windows CI of the fix commit green, evidence not proof aba0f66
d136 2026-10-12 DECISION infra N35: a session whose server answered only transient errors for lsp_stuck_seconds (default 900, not measured, 0 never) is replaced; time not count; ContentModified counts as transient, RequestCancelled does not; $/progress ends the span 3c92aac; roadmap@bbd3292 N35
d137 2026-10-12 DECISION process N15 was never assigned (skipped between N14 and N16): no row, branch, commit or note uses it; the number stays unused git log --all --grep N15 empty
d138 2026-10-12 FINDING process Bug-hunt swarms: pilot N16-N18, swarm 2 N19-N21, swarm 3 N22-N25, swarm 4 N26-N34 (agent payload, agent-payload-notes.md), swarm 5 N35-N48, swarm 6 N49, swarm 7 N50-N59, swarm 8 N60-N66 (docs lane found nothing; N62 pins a defect N35 already fixed) 6107497; roadmap@bbd3292 In progress
d139 2026-10-12 FINDING process Swarm 9 (fresh diff of three commits, store/manifest, search ranking, language detection; four lanes, three families) gave N67-N74; the fresh-diff lane's first yield was one real defect (N67 a) and one flaky test (N67 b) from one lane roadmap@bbd3292 In progress
d140 2026-10-12 FINDING process Swarm 10: fresh-diff lane (gpt-5.3-codex) found two small defects in N40 (N75, N76, fixed); lanes on 789b18d (gpt-6.1-sol, 8.7 credits) and 3bac689 (gpt-5.3-codex, 24.9) found nothing; surface lane (claude-sonnet-5.5, 30.8) gave N77-N79 19a8392; 789b18d; 3bac689
d141 2026-10-12 FINDING process Swarm 11 (plan at 19a8392): fresh-diff lanes ab7de12 (gpt-6.1-sol, 23.6 credits) and d7a28c5 (gemini-3.8-flash, 33.4) found nothing; xtask lane (gpt-5.3-codex, 55.6) gave N80 after a refuter (claude-haiku-5.5, 0.4) caught the planted false claim b15553d; ab7de12; d7a28c5
d142 2026-10-12 FINDING process Swarm 12 (plan at b15553d): tests lane (claude-sonnet-5.5, 13.7 credits) N81-N83, search lane (gpt-6.1-sol, 42.2) N84-N85, surface lane (gemini-3.8-flash, 31.4) N86; refuters (gpt-5.4-mini 3.6, claude-haiku-5.5 1.3) caught all three planted claims b15553d
d143 2026-10-12 LESSON process Swarm 12: the surface lane's IPv6 loopback Origin claim was not caught by its refuter and was refuted by reading (the server binds an IPv4 address only), so no row exists; of the six rows, N82 and N85 are refuter-confirmed, four partly roadmap@bbd3292 In progress
d144 2026-10-12 DECISION infra The CI slice N64-N66 (pinned toolchain and actions, minimum-version and canary jobs, locked dependencies) landed in c1d8d98 c1d8d98
d145 2026-10-12 DECISION infra N16: a search during an index job no longer takes the workspace read lock; wait_ms covers the whole resolution; snapshots are pinned to one table revision; Copilot cloud agent PR #41 applied by hand, red by mutation, Full gate green PR #41; roadmap@bbd3292 N16
d146 2026-10-12 DECISION infra N17: watcher_debounces_and_refreshes_changed_typescript_source now runs under IndexFreshness::Watch (it passed with a dead watcher); red first with the watcher bypassed; from Copilot cloud agent PR #4 PR #4; roadmap@bbd3292 N17
d147 2026-10-12 DECISION retrieval N22: chunk packing no longer drops the bytes between split children (tokens such as , ; + and whitespace were in no chunk); every adapter cache_version moves to -v2; coverage hook assert_uncovered_bytes_are_expected; PR #5 PR #5; roadmap@bbd3292 N22
d148 2026-10-12 DECISION infra N23: model clients use redirect::Policy::none(), join /embeddings on the parsed path (pinned for /v1, /v1/, /v1//), and read bodies incrementally with an 8 MiB cap, error bodies ending [truncated]; Copilot cloud agent PR #6 PR #6; roadmap@bbd3292 N23
d149 2026-10-12 DECISION infra N26(a): search_symbols adds one warning per indexed language none of whose servers is enabled; server instructions and README say what each tool does when an adapter is disabled roadmap@bbd3292 N26
d150 2026-10-12 DECISION infra N36: rust-analyzer starts with build scripts, proc macros and check on save off, CARGO_NET_OFFLINE=true and rustc wrappers emptied; rust_analyzer_trusted = true restores defaults; canary crates wrote no marker by default, wrote it when trusted; PR #7 PR #7; roadmap@bbd3292 N36
d151 2026-10-12 FINDING infra N36 verdicts for the other adapters (from PR #7, not hardened): jdtls Gradle/Maven import runs build code, gopls downloads modules, tsserver runs plugins, clangd runs allowed query drivers, pyright may invoke Python, csharp-ls evaluates MSBuild PR #7
d152 2026-10-12 DECISION infra N37: sources() builds the relative path component by component, so on Unix a backslash stays part of a file name and result paths stay inside the workspace; PR #34 with N44; cfg(unix) test not run locally, CI is its evidence PR #34; roadmap@bbd3292 N37
d153 2026-10-12 DECISION infra N38: send_with_retry strips the request URL from the send error (reqwest::Error::without_url), so a credential in an endpoint URL's query no longer reaches report.warning; PR #33; the log half is not asserted PR #33; roadmap@bbd3292 N38
d154 2026-10-12 DECISION infra N39: ranges stops recursing at 128 frames (~64 nested Rust modules); 795 nested mod levels abort today and 794 pass (Linux debug test build); all twelve adapter cache versions v3 to v4; PR #40 PR #40; roadmap@bbd3292 N39
d155 2026-10-12 DECISION infra N40: LSP frames are read by read_frame with header lines bounded at 8 KiB, at most 32 headers, 64 MiB frame cap; all writes bounded by lsp_timeout_seconds; a stuck reader or writer discards the session; the 64 MiB limit is not measured on real servers roadmap@bbd3292 N40
d156 2026-10-12 DECISION infra N41: the five before_position_request hooks read at most MAX_DID_OPEN_BYTES (16 MiB) and skip didOpen above it, the request goes out anyway; a file of exactly the cap is still opened roadmap@bbd3292 N41
d157 2026-10-12 DECISION retrieval N43: cached vectors of another width than the service now returns are re-embedded (width from the latest embedding response, else one probe only with cached vectors); probing every explicit index cost +6 ms median (21.7-22.4 vs 28.0-28.8 ms) and was rejected; also a probe would wait embedding_timeout_seconds and fail two tests. Known gap: in one process a width change with no search and no changed chunk since is caught by the next search (it warns and returns no semantic hits) and repaired by the index run after it, which under on-search does not happen by itself roadmap@bbd3292 N43
d158 2026-10-12 DECISION infra N44: sources() skips (with a warning) a file with a non-UTF-8 path or one removed between walk and read (NotFound); any other read error still aborts the pass and keeps the previous index; PR #34 with N37 PR #34; roadmap@bbd3292 N44
d159 2026-10-12 DECISION infra N45: App::index clears the workspace flight_error when it starts and records its own failure, so a search that waited on a failed explicit index reports that index's error; PR #26 PR #26; roadmap@bbd3292 N45
d160 2026-10-12 DECISION infra N46: two kill tests now wait until the OS no longer lists the fake server pid, instead of comparing two heartbeat samples 300 ms apart; red with the kill removed; PR #9 PR #9; roadmap@bbd3292 N46
d161 2026-10-12 DECISION infra N47: ClosedPort test helper holds a bound never-listening socket so a refused port cannot be taken by another test (on macOS port 1); ports serve or init bind themselves still come from bind-and-drop roadmap@bbd3292 N47
d162 2026-10-12 DECISION retrieval N49: is_catalog_start skips leading XML comments and a DOCTYPE before the Qt Linguist root test (UTF-8 and UTF-16); a UTF-16 catalog with comments past the 512-unit prefix is not recognized; PR #17 PR #17; roadmap@bbd3292 N49
d163 2026-10-12 DECISION infra N50: locations_for converts LSP range numbers with u32::try_from and checked_add and skips a location with an unparsable uri; a reply item lacking a position field is now dropped (was line 1); PR #19 PR #19; roadmap@bbd3292 N50
d164 2026-10-12 DECISION infra N51: validate rejects lsp_timeout_seconds above 86400 naming the key, and request puts its deadline at most a year on, so Duration::MAX no longer panics roadmap@bbd3292 N51
d165 2026-10-12 DECISION infra N52: a message with a method and a numeric or string id is a server request, answered with that id unchanged and not passed to the readiness predicate roadmap@bbd3292 N52
d166 2026-10-12 DECISION retrieval N53: one comparator fusion_order orders the fused pool by score, path, start line, end line and content_hash (replay twin the same); CandidateTrace gains content_hash; PR #11 PR #11; roadmap@bbd3292 N53
d167 2026-10-12 DECISION infra N54: GlobPattern treats only letter + colon + slash/backslash/end as a drive prefix and drops . components (./src/** matches src/main.rs); a dot-only pattern is the empty-pattern error; PR #13 PR #13; roadmap@bbd3292 N54
d168 2026-10-12 DECISION infra N55: search_returns_calculator parses the response and looks for the name only in results[*] path or code, not in the echoed query; PR #12 PR #12; roadmap@bbd3292 N55
d169 2026-10-12 DECISION infra N56: cargo xtask live-acceptance has a Skipped status for PREREQUISITE_UNAVAILABLE steps and --require-all turns a skip into a failure; the GitHub workflow runs steps one by one and is unchanged; PR #14 PR #14; roadmap@bbd3292 N56
d170 2026-10-12 DECISION infra N58: fake LSP starts are claimed atomically as spawns/; the test also checks one process answered; with a second start the new test fails 30/30 and the old passed 4/40 roadmap@bbd3292 N58
d171 2026-10-12 DECISION eval N59 property tests landed in stages with seeded loops and no new dependency: (a) manifest scan equals cold scan (48 seeds), (b) fusion invariants (3000 seeds), (c) path/glob metamorphic, (d) snippet budgets (4000 seeds), (e) config overlay round trip (3000 seeds) roadmap@bbd3292 N59
d172 2026-10-12 FINDING eval N59 finding C1: a doubled separator in a glob pattern (src//*.rs) compiles but matches no path (compile keeps the empty component, normalize_path collapses it); kept as an ignored test, owner decides collapse or reject roadmap@bbd3292 N59
d173 2026-10-12 DECISION eval N60: EvaluationFile, EvalWorkspace and EvalQuery deny unknown fields and validate_definition rejects an empty expected_paths (a misspelled key silently scored a query as a miss); PR #27 PR #27; roadmap@bbd3292 N60
d174 2026-10-12 DECISION eval N61: run_evaluation_with_options validates the definition first, so an undeclared workspace key is an error that names it instead of a map panic; PR #24 PR #24; roadmap@bbd3292 N61
d175 2026-10-12 DECISION infra N62: pinned N35's side-effect fix (a retried LSP request keeps the replacement session in use) with two idle-sweep tests (1 s idle timeout, replacement answers 3 s later); PR #30 PR #30; roadmap@bbd3292 N62
d176 2026-10-12 DECISION infra N63: Manager shut_down spawns each session shutdown as a detached task, so cancelling release no longer leaves a server running; PR #38 PR #38; roadmap@bbd3292 N63
d177 2026-10-12 DECISION infra N64: the three CI actions in both workflows are pinned to commit SHAs (checkout v4.4.0, rust-cache v2.9.2, rust-toolchain stable branch with the toolchain as an input); green on Windows, Ubuntu, macOS in the runs of c1d8d98, e4cce18, e60e3dc, ab7de12 c1d8d98
d178 2026-10-12 DECISION infra N65 (monitor decision): blocking test jobs use RUST_PIN 1.99.0; minimum-version job checks the declared rust-version, which became 1.95 because sysinfo 0.39.6 needs rustc 1.95; non-blocking canary on newest stable; no rust-toolchain.toml c1d8d98, e60e3dc, ab7de12
d179 2026-10-12 DECISION infra N66: the cargo steps of Suite::Full are a table (FULL_STEPS) and test and clippy run --locked; a unit test requires --locked on every step but fmt c1d8d98
d180 2026-10-12 FINDING infra N67: a server that crossed lsp_stuck_seconds and then answered with a result was still discarded (Session::stuck never reset); now Session::answered takes the mark back; swarm 9's fresh-diff lane found it roadmap@bbd3292 N67
d181 2026-10-12 DECISION infra N68: manifest::try_load returns an error for any read failure but NotFound; status reports the snapshot stale with stale_check_error instead of an empty manifest roadmap@bbd3292 N68
d182 2026-10-12 DECISION product N69: search_once adds a note naming top_k and rerank_candidate_count when top_k exceeds the window and the pool was cut (top_k 40 returned at most 24); whether the pool should grow to top_k stays open and needs a measurement roadmap@bbd3292 N69
d183 2026-10-12 DECISION retrieval N70: filtered semantic search repeats the vector fetch at 4x rows up to 10,240 (MAX_FILTERED_SEMANTIC_ROWS) when the filter left too few; unfiltered searches unchanged; no quality or latency measured roadmap@bbd3292 N70
d184 2026-10-12 DECISION infra N71: language::identifiers() skips repeats, so the unknown-language filter error lists cpp once roadmap@bbd3292 N71
d185 2026-10-12 DECISION retrieval N72: a run of trailing prefix children (comments, attributes) longer than TARGET_BYTES is split like any child; adapter cache_version strings -chunks-v3; PR #28 PR #28; roadmap@bbd3292 N72
d186 2026-10-12 DECISION retrieval N73: decode_source drops one leading U+FEFF so a BOM file gives the same chunks and hashes; PR #25 PR #25; roadmap@bbd3292 N73
d187 2026-10-12 DECISION infra N74: order_symbols sorts by every field of the answer before removing repeats, so symbols on one line come out in one order roadmap@bbd3292 N74
d188 2026-10-12 FINDING infra N75: Writer::write_framed checked broken before taking the stdin lock, so a write queued behind a timed-out write could still write after a half frame; now re-checked under the lock (found by the swarm 10 fresh-diff lane) roadmap@bbd3292 N75
d189 2026-10-12 FINDING infra N76: a second Content-Length header replaced the first (100 then 1 read one body byte); now refused before the body is read roadmap@bbd3292 N76
d190 2026-10-12 DECISION infra N77: LspAdapter::probe_readiness(timeout) replaces the blanket --version probe; JavaServer looks for the launcher jar under /plugins, so a configured jdtls directory reads ready; PR #29 PR #29; roadmap@bbd3292 N77
d191 2026-10-12 DECISION infra N78/N79: serve also stops on SIGTERM on Unix and cancel_on_signal keeps serving when the Ctrl+C handler fails to register; cfg(unix) SIGTERM test not run locally; PR #35 PR #35; roadmap@bbd3292 N78
d192 2026-10-12 DECISION infra N80: ManagedServer::spawn refuses a port something already listens on (bind probe; a connect probe misreports on Windows) and wait_http_ok stops when the owned child has exited; PR #31 PR #31; roadmap@bbd3292 N80
d193 2026-10-12 DECISION infra N83: unit test data_dir_index_lock_waits_for_another_holder replaces the sleep-based assertion (monitor option 2); red when no lock is taken and when a held lock errors, 30 of 30 runs; PR #39 PR #39; roadmap@bbd3292 N83
d194 2026-10-12 DECISION retrieval N84: map_lexical_matches resolves each ripgrep path with a hash lookup over the path and its / boundary suffixes (cost = path depth, not indexed files); exact and suffix semantics unchanged; PR #18 PR #18; roadmap@bbd3292 N84
d195 2026-10-12 DECISION retrieval N85: search_once returns right after the filter retain when no chunk is left, so a filter that keeps nothing no longer embeds, runs ripgrep or asks language servers; PR #23 PR #23; roadmap@bbd3292 N85
d196 2026-10-12 DECISION infra N86: Store::languages scans only the language column; both navigation sites use it instead of materialising every chunk with Store::chunks (time saved not measured); PR #36 PR #36; roadmap@bbd3292 N86
d197 2026-10-12 DECISION infra N89: check_status redacts the endpoint URL's query values and userinfo password from HTTP error bodies (raw and decoded, longest first; values under six characters only as whole query values); a re-encoded echo is not matched; PR #42 PR #42; roadmap@bbd3292 N89
d198 2026-10-12 DECISION infra N90: normalize_path_separators in lci-core/src/path.rs rewrites a backslash to / on Windows only; lexical attribution, path filters, source roles and LSP locations use it, so on Unix a\b.rs stays distinct from a/b.rs; PR #43 PR #43; roadmap@bbd3292 N90
d199 2026-10-12 DECISION infra N91: search, evaluate, symbols, definition and references run under until_shutdown_signal (exit 1 on a signal; 130 Ctrl+C, 143 SIGTERM on Unix); the index lock is waited for by try_lock every 100 ms so dropping the wait ends it roadmap@bbd3292 N91
d200 2026-10-12 DECISION engine Owner: the multimap spike builds S1 (NodeId) and S2 (lci-maps crate) now, ahead of the agent A/B and not as throwaway; both additive, the production search path unchanged owner, chat 2026-10-12; spike roadmap@bbd3292
d201 2026-10-12 FINDING engine S1 stability on this repository: the Rust symbol key is injective over 2,524 declarations; chunk ids kept 100% over 200 commit pairs; 53 of 4,118 checked chunks in files with a repeated text were re-pointed docs/spike/multimap/s1-stability.md
d202 2026-10-12 DECISION process Independent sanity review of the spike (sections 2.1, 2.2, 5 item 4) gave TRIM, accepted by the owner at 18:08Z: S1, S2, S3a unmerged until the A/B; S3b and S4 harness trimmed; no S4 to S6 spec work or idea lists before the A/B owner, chat 2026-10-12; spike roadmap@bbd3292
d203 2026-10-12 DECISION engine Spike slice acceptance (S1 round trip and injectivity; S2 T0 bit-for-bit fusion, golden search_code JSON, fail-open per map; S3 C4 auditor equal at every replayed commit; S4 one-shot equivalence; S5 steering ops; S6 map cards) is owned by each spec's "How a test proves it" section docs/spike/multimap/specs/README.md; spike roadmap@bbd3292
d204 2026-10-12 FINDING engine Merge conditions (sanity review section 2.1): S2 repeats the production LSP arm in LspMap and S3a repeats the chunker body in extract_with_adapter, both put spike entry points on the public App facade; tests keep each duplicate equal merge-conditions@bbd3292
d205 2026-10-12 DECISION process Sweep 2026-10 finding 1: .vscode/settings.json and mcp.json are tracked although the rules say editor settings are never committed; resolved by cleanup D8 (untrack, add to .gitignore) owner delegation, 2026-10-17 (cleanup D8); sweep-noncode@bbd3292 row 1
d206 2026-10-12 DECISION process Sweep finding 8 (tests/AGENTS.md restates the iteration rule of AGENTS.md) left as is on purpose: the local file is read on its own when working under tests/ sweep-noncode@bbd3292 row 8
d207 2026-10-12 FINDING process Sweep "not findings": README example workspace path is an example the lint accepts; "~19 steps" is dated narrative; the "eleven required self queries" is true (core.toml has 11 self + 3 gust = 14); agent-payload-notes "today" figures predate N28-N34 sweep-noncode@bbd3292
d208 2026-10-12 FINDING infra Sweep finding 3: the ci.yml header comment says live acceptance needs a real dotnet SDK and csharp-ls only for the C# subcommands, but all seven LSP families need their own server; deferred to the CI phase of the cleanup (phase 5), report-only sweep-noncode@bbd3292 row 3
d209 2026-10-12 FINDING infra Sweep finding 4: the ci.yml comment "a runner without rg fails 24 of them" is a count that drifts and was not re-counted; deferred, report-only sweep-noncode@bbd3292 row 4
d210 2026-10-12 FINDING infra Sweep finding 9: the JavaLspConfig::enabled doc comment says "a nonempty interpreter path" but [java].path is the jdtls installation directory; a code comment outside the docs scope, deferred to the code phase sweep-noncode@bbd3292 row 9
d211 2026-10-12 LESSON process Landing recipe for hand-applied cloud-agent PRs: read the diff, apply by script, run each new test red before green by mutation, Full gate, then push in a separate command only after reading the gate's EXIT 0 (a push-on-red slip happened 2026-10-14) private record run-rules
d212 2026-10-13 DECISION engine Integration branch spike-int carried S1, S2, S3a, the trim and S3b (merge commits 6f73fb9, 97f0bff, 2a09464); merge conditions met: M1 one LSP orchestration a396aba, M2 one chunker 2bdd0cb+da988f6, M3 test feature de44a0c (owner pick), M5 spawn_blocking 66b0710, M6 C5 in Registry::run 394faba, M7 schema checker kept a396aba, 2bdd0cb, da988f6, de44a0c, 66b0710, 394faba
d213 2026-10-13 FINDING engine Merge condition M4 (SnapshotView::new timed) partly met: timed on this repository in the cloud (cc3e5b1); the mined-set timing beside the end-to-end search p50 needs the owner's machine and the acceptable share is the owner's to set cc3e5b1
d214 2026-10-13 DECISION engine Merge notes: replay one real candidate dump through the registry with zero refusals before it replaces fuse_hits; the C4 auditor is ignored in Full (no history in CI) and runs once on the candidate; S3b: record path stays in legacy_maps.rs, full query text kept in local RunRecords, no profile or reranker step merge-conditions@bbd3292
d215 2026-10-14 FINDING eval M0b done: fused + reranked beats lexical on where-to, not on impact or flow; grep stays far ahead on impact; N28-N31 code landed; every model moved to the RTX 5090 on 2026-10-14 docs/spike/multimap/v2/m0b-results.md; 0aa374c
d216 2026-10-14 FINDING engine M1.4 impact: question-named anchors plus the exact closure beat grep, retrieval-hit anchors do not; M1.3 compiler probe equals M0.5 on 20 of 20 mutations, warm p50 4.2 s; M1.2 trimmed to reads_key (key table helps anchors, text-only links hurt precision) docs/spike/multimap/v2/m1.4-results.md
d217 2026-10-14 DECISION engine M1 closed early by the owner: the spike builds the multimap spine directly (typed edges, one traversal engine, steering in the request: rule lists, then a local model, the outer agent last); benchmarks track improvement, no gates; spine S1 and S2 landed owner, chat 2026-10-14; docs/spike/multimap/v2/m1.4-results.md
d218 2026-10-14 DECISION product N28: [search_profiles.] key response ("full" default, "compact"); a search_code result had median 17.5k characters (p90 29.5k, max 33k; a top_k 15 call returned 81,836), ~2.2k per hit of which ~0.6k (28%) metadata 0aa374c; docs/development/agent-payload-notes.md
d219 2026-10-14 DECISION product N29: compact hits cut at compact_max_hit_lines (default 40) with code_truncated and excerpt_end_line; 48.8% of returned lines lie beyond line 40 (call median 42%); 28 of 40 gold hits fit, the 12 longer keep a changed line in their first 40 0aa374c; docs/development/agent-payload-notes.md
d220 2026-10-14 DECISION product N30: compact_max_response_chars (provisional 16,000, not a measured client limit) shortens code across hits, never drops or reorders a locator, sets response_truncated; the value is in the tail 0aa374c
d221 2026-10-14 DECISION product N31: profile key tools = "search" lists only search_code, search_symbols, find_definition, find_references; the tool list cost +7.2k tokens per run (49.2k vs 42.0k), maintenance tools 965 of 2,354 description chars, ~2.3k of 6,432 (35%) 0aa374c
d222 2026-10-14 DECISION process The spike roadmap rule "every later slice waits for the A/B" and its STOP/CONTINUE/INCONCLUSIVE purpose table are superseded: owner 2026-10-14 "start the spine plan" and the 2026-10-17 multimap direction owner, chat 2026-10-14; owner, chat 2026-10-17
d223 2026-10-14 FINDING infra Before the RTX 5090 cut-over of 2026-10-14 a search took tens of seconds on the development machine (iGPU era); no current p50 is on record and the guidance no longer states one owner, chat 2026-10-14
d224 2026-10-14 FINDING eval Agent A/B pooled q1 (arms A native, D-forced, C-forced, Z; 1,208 runs, 261 primary code tasks, 16 repos): rule 1 CONTINUE as a necessary condition only; D-forced vs A cost metric M1 -0.229 log (20.5% lower, Holm 0.0016, n=110), M2/M3 +0.35/+0.38 log, success -0.026 n.s.; without the LCI-45 cluster INCONCLUSIVE private record ab-analysis-1015/pooled_q1/RESULTS.md
d225 2026-10-14 FINDING eval Agent A/B pooled q2 (arms A, D-sys, Z; 1,122 runs): rule 1 INCONCLUSIVE, extend external tasks toward 20 per repository before deciding; rule 2 DROP the reranked default (fusion-only default, reranked as opt-in depth); no confirmatory stratum passes private record ab-analysis-1015/pooled_q2/RESULTS.md
d226 2026-10-14 DECISION infra Owner "Proceed" ~11:50Z: every model service moved to the RTX 5090 (llama.cpp CUDA); iGPU-era records stay as history, lean1 stopped at 56 ok / 5 prep-fail and its re-run moved to the new baseline owner, chat 2026-10-14
d227 2026-10-14 DECISION process Owner full GO: move the multimap spike to completion and beyond (M0-M5, results doc, roadmap, final report; then next iterations under the same rules); weekly stop 90% before the 2026-10-20 reset, 5-hour pause at 85% (2026-10-15) owner, chat 2026-10-14
d228 2026-10-14 DECISION engine Owner "Start the spine plan. Finish currently active ones, decide on the rest yourself": M1.5 stopped, no kill rules or grep gates in the spine; compact arm, CodeGraph arm and long sessions paused owner, chat 2026-10-14
d229 2026-10-14 LESSON process The compact commit set serde_json preserve_order, which changed key order of search_code globally and broke its golden test (gate 927a994 failed); fixed with typed structs and the dependency feature dropped (58e7adc, Full gate 933 passed) 58e7adc; 0aa374c
d230 2026-10-15 FINDING engine Bench-1022 (release build): the walk drops its seeds and search alone beats it on where-to; one hop with seeds beats it on flow; the oracle steer's gain is mostly a gold-aware filter; the strict bound with tie-break costs 14x the pops for no gain docs/spike/multimap/v2/engine-results.md; 19e84c4; roadmap@bbd3292 In progress
d231 2026-10-15 DECISION engine Boundary review (Fable + GPT-6 Astra) landed BR1a 19e84c4, BR2 6ffe410, BR3 e1b4c2b (same-size impact/history baselines, one-hop and oracle arms), BR1b 40e495f, BR4a 8deec18 (operators into lci-maps) 19e84c4, 6ffe410, e1b4c2b, 40e495f, 8deec18
d232 2026-10-15 DECISION engine BR4b: exact.closure and exact.pickaxe maps abstain when nothing is named; [traverse] first_stage appends or interleaves exact answers and seeds with the walk, off by default; bench-1023 measures it with a plain-repeat noise-floor arm b5462ad
d233 2026-10-15 FINDING engine Offline merges show exact operators (closure, git pickaxe) and the walk are complementary; two research swarms (private notes) agree: exact operators and search first, the walk must prove itself on questions no operator answers b5462ad; private record swarm notes (exploration, red team)
d234 2026-10-15 DECISION process Sweep finding 2 (usage rule wording) settled by the owner: weekly stop at 90% before the reset with efficiency care from 85%, pause at 85% of the 5-hour window and resume after the reset; the old 90%/90% template wording is superseded owner, chat 2026-10-15; sweep-noncode@bbd3292 row 2
d235 2026-10-15 LESSON eval bench-1016's first parallel batch stopped on the 5 s default wall-clock deadline under load (where-to 4 items, flow 5), understating rows; benches must set deadline_ms 60000 and be repeated without deadline stops (bench-1017: where-to reg_hit@3 .840, flow path .328) work/run bench-1016 and bench-1017 notes (private record)
d236 2026-10-15 LESSON process Never prune the frozen-tree worktree or tag eval/bfaff44: the benches' --tree depends on it (a smoke failure came from pruning it) tag eval/bfaff44; private record checkpoint 2026-10-15
d237 2026-10-15 FINDING engine LCI never compacts or prunes LanceDB (no optimize or cleanup in code): one A/B table reached 104 GB in 112 fragments and 113 versions; this is S2's premise private record checkpoint 2026-10-15; roadmap S2
d238 2026-10-15 LESSON eval Serving drift since 2026-10-15 19Z: compare arms only inside one run (n2 dev PARITY note) private record n2/dev/PARITY.md
d239 2026-10-16 DECISION engine N0 done (bench-1024b, matched ~20 vs 10 answers; bench-1023's append arm returned ~20 against 10): the walk stays default on flow and, at 20 answers, where-to; opt-in on impact (first stage alone better) and history 289677e; docs/spike/multimap/v2/engine-results.md
d240 2026-10-16 DROPPED engine N1 chained-query plan study killed: 12 of 54 task-model units executable and on target; the schema stays internal, N3 builds recipes only; uncued agents used lci tools in 4 of 54 runs docs/spike/multimap/v2/n1-results.md
d241 2026-10-16 DECISION engine S8j roles step 1: survivors v1 judge (no-origin flow rank path_recall .606 vs reranker .505) and a role=test label; killed: judge v2 questions (under +.03), both stoppers, model router (TF-IDF .946 vs .909), file prefilter (below the post-walk judge filter by .18-.23 on where-to) docs/spike/multimap/v2/s8j-roles-results.md; roadmap@bbd3292 In progress
d242 2026-10-16 DECISION engine Direction set with the owner after bench-1023 and the S8j roles step 1, revised after two independent sanity checks (a Fable and a gpt-6-astra review, public tree at ae81933); every kill rule fixed before its slice runs, a miss is recorded as killed owner, chat 2026-10-16; next-slices@bbd3292
d243 2026-10-16 FINDING engine Gains come from the first stage (exact operators and search seeds) and from filtering results, not from the steered walk; every stop rule tried (strict bound, the model's "enough?", a model-chosen step count) failed its rule docs/spike/multimap/v2/engine-results.md; next-slices@bbd3292
d244 2026-10-16 FINDING engine Both reviews: in bench-1023 the append merge returned about 20 answers against about 10 for the other arms and the bench scores every answer, so part of the first-stage gain is an answer-budget effect; N0 rerun at matched budgets next-slices@bbd3292
d245 2026-10-16 DECISION engine Owner proposals: adapt inside the traversal instead of training first (start from a good entry point, update mid-traversal); chained questions with breakpoints; answers return reasoning; recipes; partial plans; N4 offline-trained result filter as a parallel track owner, chat 2026-10-16; next-slices@bbd3292
d246 2026-10-16 LESSON engine Chaining is not new (programmatic tool calling, batching, Cypher/CodeQL/Angle over code graphs); LCI's own part is the typed operator set with provenance, so N3's baseline includes plain programmatic composition next-slices@bbd3292
d247 2026-10-16 DECISION engine Owner: the spike works on frozen trees, freshness ignored for now; a freshness contract stays a release blocker; every N1 and N3 task runs read-only on the frozen tree owner, chat 2026-10-16; next-slices@bbd3292
d248 2026-10-16 DECISION engine Order N0, then N1, N2, N3; N4 in parallel after N0b's harness; N0b = judge filter; N2 = in-request edge bandit; N3 = chained executor or recipes; F1/F2 freshness later owner, chat 2026-10-16; next-slices@bbd3292
d249 2026-10-16 FINDING engine N0 agreement check (does overlap of exact answers and search seeds predict a walk gain) killed: AUC .584 on impact, .472 on history, both below .65; repeated in bench-1024b and stayed killed docs/spike/multimap/v2/engine-results.md
d250 2026-10-16 FINDING engine N0b: no filter adopted; judge cygnet:12b; test split K=10 flow append +.031 (Holm .78), where-to walk pool under the filter -.063 (Holm .023) vs filtered first stage; dev tie-break +.103 shrank to +.018 n.s.; hosted reference judge flow +.071 not a candidate; N2b not triggered docs/spike/multimap/v2/engine-results.md
d251 2026-10-16 FINDING engine N1: 12 of 54 plan units (22%) executable and on target though 85% of plans run; uncued agents used lci tools in 4 of 54 runs; operator gaps: no implements edge, no doc-section nodes, no path operator, config.key misses string-literal TOML docs/spike/multimap/v2/n1-results.md
d252 2026-10-16 DROPPED engine N2 in-request edge bandit stopped by the coordinator: +.03 not detectable at the available n, flow@20 -0.025 (upper +0.001), rating hit rates 6% and 13%; edge_bandit stays off (default false); tagged keep/n2-bandit docs/spike/multimap/v2/n2-results.md; tag keep/n2-bandit
d253 2026-10-16 DECISION engine N3 recipes survive the frozen kill rule: round trips 0.47x of the plain control and 0.63x of the composer control, recall non-inferior (a floor test on recipe-shaped tasks); N3b off-shape NULL: 0 recipe calls in 80 runs, LCI 2.7% of tool calls in both arms; recipes stay opt-in docs/spike/multimap/v2/n3-results.md
d254 2026-10-16 DROPPED engine N4 trained result filter killed in two forms: gradient-boosted head wins flow (+.15) in-set but loses with a set left out; LoRA fine-tune of the 4B reranker where-to set_f1@10 .222 vs .244 untuned and .307 first stage (-.085 [-.125,-.048], Holm p .001); no reranking stage on map card lists docs/spike/multimap/v2/n4-results.md
d255 2026-10-16 LESSON infra A Windows Update feature update (26H2) rebooted the PC at 05:44Z and cost about 4h20m of a run; owner asked to pause updates or set active hours private record checkpoint 2026-10-16
d256 2026-10-16 LESSON infra GPU noise throttle: a duty proxy sits in front of the embedder and reranker ports and reads its duty (fraction) from a file; 0.3 measured 13-19% utilisation; lifted and re-applied at the owner's word; other GPU jobs take S8J_DUTY owner, chat 2026-10-16
d257 2026-10-16 FINDING engine traverse deadline_ms counts the seed search, so the walk starved on 43 of 88 R1 stage-2 items under shared-embedder load; fix = T-DL (deadline should not count the seed search) private record sets/r1-masked/stage2/RESULTS.md
d258 2026-10-16 FINDING eval Tie-break premise: only flow@10 has headroom (oracle .551 vs observed .360); dev tie-break gain cygnet:12b +.103, jev-latest +.140, jevk5:4b +.064; the reranker fails as a tie-breaker private record tiebreak/RESULTS.md
d259 2026-10-16 DECISION engine S1 (measured traverse defaults) shipped and verified: all four sets equal the winning arm at the noise floor; largest loss history hit@10 -.0182 vs F-append (limit .02), expansions 1 vs 153 289677e; private record next-iter/s1/RESULTS.md
d260 2026-10-16 FINDING eval Proxy validity pv1: pooled Spearman +0.019 (CI -0.192..+0.307, n=60) formally fires the kill (< .2) but is inconclusive by design (49 of 60 metric deltas zero, flow pass .13); level correlation .64 private record proxy-validity/RESULTS.md and SANITY-fable.md
d261 2026-10-16 FINDING eval Proxy validity pv2: pooled Spearman(metric delta, graded agent delta) +0.699 [+0.596,+0.784], n=181 (3 reps); sign agreement 98 of 112; kill rule does not fire; licenses bench deltas as agent evidence only on this protocol (cards-only Sonnet reader, 20 cards) private record proxy-validity/pv2/RESULTS.md
d262 2026-10-16 FINDING eval Sets audit: keep the 4 frozen sets (impact roughly reproduces SCIP, history walk-insensitive, flow recall saturated); candidates tests-for-code, co-change, dispatch, error gold private record sets-audit/AUDIT.md
d263 2026-10-16 FINDING eval Premise checks: tests-for-code union of name siblings and prior co-change reaches 0.690 [0.633,0.742] of gold test files (189 of 274, 153 tasks), not killed; co-change for a diff hit@10 0.456 vs same-directory baseline 0.500 private record sets-audit/premise/RESULTS.md
d264 2026-10-16 FINDING eval Error set (34 items) kept as a regression check: grep hit@10 .971 with the stored fragment and .735 with the whole quoted message; lci search .50 (.59 on the quoted message); trait-dispatch set not built (34 qualifying traits, bar 40, 33 in tantivy); co-change set parked docs/spike/multimap/v2/gold-scorers.md; private record sets-audit
d265 2026-10-16 DROPPED retrieval Exact-message routing killed by its pre-registered rule: search on the quoted message .647 vs grep on it .735 (-.088, inside the .10 band; whole question .53-.56); Stage B not built private record sets/exact-route/RESULTS.md
d266 2026-10-16 DECISION eval RepoQA needle-function task not adopted for R1: only 29.3% (176 of 600) of descriptions are leak-clean against a 40% bar; R1 built in-house private record sets/repoqa/RESULTS.md
d267 2026-10-16 DECISION eval Set enumeration pass 2 (sanity GO-WITH-CHANGES): order docs-for-code > co-change for a diff > issue-to-fix > masked region questions > masked docs-to-code; Gemma 4 E4B is not a second model family private record sets/enum2/SANITY-fable.md
d268 2026-10-16 FINDING eval I1 issue-to-fix pilot PASS on all 6 bars: n=71 clean items recall@10 rg .286, BM25 .350, LCI .444 (LCI-rg +.157 [.042,.270]); embedder repos LCI .633; keycloak+deno lexical-only LCI .199 < BM25 .275 private record sets/issue-to-fix/RESULTS.md
d269 2026-10-16 FINDING eval D1 docs-for-code stage 1 frozen: 162 external commits, 548 items (test 360), all 4 kill bars pass; union recall@10 .386 (60% of gold unreached), BM25 of the task text .730 is the bar for any arm given the description private record sets/docs-for-code/README.md
d270 2026-10-16 FINDING eval tests-for-code stage 2 (test 327 items): hit@10 A-seed .544 vs union .459 (task-macro not clear), A-desc .765, A-both .792; tier H (real embedder, 192) A-seed .786 vs union .578; sanity ZERO-COST-FIRST; grpc and osu 0 (for grpc because .cc/.h files were not indexed) private record sets/tests-for-code/stage2/RESULTS.md
d271 2026-10-16 FINDING eval tests-for-code stage 2b: kill K1 fired, BM25 on the description task-macro .608 [.516,.696] overlaps A-desc(L) .718, so description arms die as evidence (commit text carries the gain); A-seed(L) vs union excluding lci+gust +.122 [.031,.218] stands private record sets/tests-for-code/stage2b/RESULTS.md
d272 2026-10-16 DECISION engine N3 main: recipes survive on recipe-shaped tasks (round trips 0.47x plain control and 0.63x composer, recall +.097/+.028, success .70/.89/.975, $21.8); follow-up re-judge and C0B hold the verdict; N3b sanity: no more arm-vs-C0B runs on that pool, recipes opt-in behind [recipes] enabled=false c64ff9c, 248e76d, 981fa6b; private record n3/main/RESULTS.md, n3b/SANITY-fable.md
d273 2026-10-16 FINDING engine N2 dev: no usable signal (A1 ~= A0, rater sees the node name only, hit rate 3%); a design limit not a bug (zero-hit rounds give a novelty ordering); TEST was a formality private record n2/diag/WHY.md
d274 2026-10-16 FINDING engine N4b LoRA of the 4B reranker: kill sound (prompt parity with the served model Spearman 1.0, token ids and score direction correct, no fold overlap); the untuned reranker never helps as a card filter private record n4b/SANITY-fable.md
d275 2026-10-16 FINDING eval S3 premises and reporting rules landed: grep columns reported beside any search score on the error set; sets beside the frozen five scored on their own 6f74e9a
d276 2026-10-16 DECISION process Cloud lander trial passed 2026-10-12: the cloud session lands Copilot PRs on a landings branch; the coordinator reviews, cherry-picks (dropping the session trailer), runs the Full gate and pushes private record run-rules
d277 2026-10-16 LESSON eval Judge speed by pops, expansions, hops and tokens, not wall time; benches run in parallel; wall time only for model latency owner, chat 2026-10-16
d278 2026-10-16 LESSON product Agent-facing tool descriptions state facts only, no when-to-use policy; advice lives in on-demand skills and is measured as its own arm; freeze and version them owner, chat 2026-10-16
d279 2026-10-16 LESSON eval Models are not a blocker for question sets: gold by construction plus a verification ladder, with leak and circularity checks; a hosted reference model is a reference only owner, chat 2026-10-16
d280 2026-10-16 DECISION process Owner: repositories, gold and work files are not confidential, hosted APIs are acceptable; broad permissions with hard deny limits owner, chat 2026-10-16
d281 2026-10-16 LESSON infra Resource care: keep RAM >= 6 GB free and VRAM headroom >= 1.5 GB with spill <= 1 GB; one heavy GPU job and one cargo build at a time owner, chat 2026-10-16
d282 2026-10-17 DROPPED retrieval R1b (windows 14/16 live confirm, pre-registered 2026-10-11; replay lead: window 14 mined nDCG@10 0.681 vs 0.680 at 24 with ~0.59 of reranker tokens): not run, no more embedder+reranker benches owner, chat 2026-10-17
d283 2026-10-17 DROPPED retrieval R5 (reranker query instruction; Qwen card claims 1-5%): never run, no more embedder+reranker benches owner, chat 2026-10-17
d284 2026-10-17 DROPPED infra V3 (in-process llama.cpp backend, llama-cpp-2): V1 cut the premise (the case rested on llama.cpp Vulkan reaching ~6.5-7 TFLOPS of prefill against vLLM ~2.2; measured the opposite; planned acceptance was Spearman >= 0.99 on 50 real payloads; at most ROCm gain plus KV-prefix sharing ~25%, ~1.6x on reranking, nothing on embedding: llama.cpp embedder 0.83x batch, 3.8x slower single query); dropped by direction owner, chat 2026-10-17; roadmap@bbd3292 V3
d285 2026-10-17 DROPPED infra V4 (in-process ONNX gte-reranker-modernbert-base (149M, Apache-2.0) via ort+DirectML, ~300 MB fp16, estimated 1-3 s for 24 docs, no 890M number): never built; dropped by direction owner, chat 2026-10-17; roadmap@bbd3292 V4
d286 2026-10-17 DROPPED retrieval M6 rest (bge-code-v1 1.5B, Qwen3-Embedding-8B and other embedder trials): not run; no more embedder+reranker benches owner, chat 2026-10-17
d287 2026-10-17 DROPPED infra V7 NPU arm (FastFlowLM qwen3:0.6b prefill as background): never run (hard-hang reports for concurrent NPU+iGPU use); dropped by direction owner, chat 2026-10-17
d288 2026-10-17 DROPPED process Long-range decision tree (A/B STOP/CONTINUE/INCONCLUSIVE, then 5090 fine-tune/distill, cross-map verbs) superseded by the multimap direction of 2026-10-17 owner, chat 2026-10-17; roadmap@bbd3292 Strategy
d289 2026-10-17 DROPPED retrieval F1 (sweep of the 0.004 source prior): never swept; 0.004 equals ~20 rank positions in one channel (rank 1 = 1/61 = 0.0164, 0.0328 in the semantic channel since F2a); not run, no more embedder+reranker benches owner, chat 2026-10-17; roadmap@bbd3292 F1
d290 2026-10-17 DROPPED retrieval M2 (swapped-model canary at cosine >= 0.98, reranker sanity probe, reference serving doc): not built; no more embedder+reranker work owner, chat 2026-10-17; roadmap@bbd3292 M2
d291 2026-10-17 DROPPED retrieval M3 (low-resource profile with Qwen3-Embedding-0.6B, MTEB-Code 75.41 vs 80.06): not built; M6's lower bound measured the 0.6B non-inferior and 5.5x faster to index (2026-10-10) owner, chat 2026-10-17; roadmap@bbd3292 M3
d292 2026-10-17 DECISION engine X1 done: .h, .cc, .cxx, .hh, .hxx indexed (17 extensions); .mts/.cts/.mjs/.cjs families were never opened; grpc A/B gold had been unindexable bbd3292
d293 2026-10-17 DECISION process H2 (README documentation index and two compare notes) superseded by the 2026-10-17 documentation cleanup, which rewrites the README documentation list owner, chat 2026-10-17; roadmap@bbd3292 H2
d294 2026-10-17 DROPPED process Next-phase candidates (NI-15, NI-24, NI-25, NI-04, NI-16, NI-23, NI-02, NI-09 and themes A/B/C, NPU-1/2/3) superseded by the multimap direction; NI-09 local check: co-change top-3 held a co-touched file 46% of the time; NPU-1 qwen3:1.7b ~2 s per chunk, ~70 min for this repo owner, chat 2026-10-17; roadmap@bbd3292 Next-phase candidates
d295 2026-10-17 DROPPED retrieval I-3 (cheapest reranker configuration: window, vote, gate) and I-5 (prior per query kind) not run; no more embedder+reranker benches owner, chat 2026-10-17; roadmap@bbd3292 I-3
d296 2026-10-17 DROPPED retrieval I-7 (contextual headers for NL queries) not run with C2 deferred owner, chat 2026-10-17; roadmap@bbd3292 I-7
d297 2026-10-17 FINDING engine S1, S2 and S3a code is on spike/v2 (legacy_maps module under src/app/search and the lci-maps crate); the "unmerged until the A/B" wording of the merge conditions is out of date bbd3292
d298 2026-10-17 DECISION process Sweep finding 5: roadmap rows cited file line numbers that drifted (N54 cited is_absolute_pattern at line 83 and normalize_path at line 347; they now sit at line 91 of lci-core/src/filter/request.rs and line 348 of source_role.rs, same files); documentation rule: code references use symbol names only, never line numbers owner delegation, 2026-10-17 (docs design rule 6); sweep-noncode@bbd3292 row 5
d299 2026-10-17 DECISION process Sweep finding 6: CLAUDE.md calls the client's local settings file git-excluded while no tracked ignore file says so; fixed with the cleanup's .gitignore change (coordinator) owner delegation, 2026-10-17 (cleanup D8); sweep-noncode@bbd3292 row 6
d300 2026-10-17 DECISION process Cleanup D1: tags are local only; pushing tags stays an ask action owner delegation, 2026-10-17; work/run/cleanup/LOG.md
d301 2026-10-17 DECISION process Cleanup D2: remote branch deletions after the phase-0 bundle of all refs; the fix/verified-bugs remote branch only after phase 7; spike/v2 stays the integration branch until the main merge owner delegation, 2026-10-17; cleanup LOG
d302 2026-10-17 DECISION retrieval Cleanup D3: N14 (lexical suffix credit) stays a tag only, keep/n14-lexical-suffix; re-check when search work resumes owner delegation, 2026-10-17; cleanup LOG
d303 2026-10-17 DECISION product Cleanup D4: PR #55's idea (reject unknown MCP argument keys) is re-implemented in phase 5 with golden tests and a recorded break owner delegation, 2026-10-17; cleanup LOG
d304 2026-10-17 DECISION infra Cleanup D5: old-model A/B indexes (ab/d-s1) deleted; agent A/B reruns rebuild indexes on the current model owner delegation, 2026-10-17; cleanup LOG
d305 2026-10-17 DECISION infra Cleanup D6: unused role models and the 0.6B/8B/coreb GGUFs deleted; kept: judge v1, 4B embedder, 4B reranker; each recorded in the downloads register (re-downloadable) owner delegation, 2026-10-17; cleanup LOG
d306 2026-10-17 DECISION infra Cleanup D7: the owner's WSL distributions are left alone; the lci-sandbox distro is removed after the default is set to Ubuntu-24.04; never wsl --shutdown owner delegation, 2026-10-17; cleanup LOG
d307 2026-10-17 DECISION process Cleanup D8: .vscode untracked (git rm --cached) and added to .gitignore owner delegation, 2026-10-17; cleanup LOG
d308 2026-10-17 DECISION process Cleanup D9 reversed (amendment A9): docs/spike/multimap keeps its path because src, xtask, run scripts and frozen preregs reference it owner delegation, 2026-10-17; cleanup LOG
d309 2026-10-17 FINDING process Cleanup plan review by Copilot (gpt-6-astra): 15 findings, 6 blockers, verdict fix blockers first; all accepted as amendments A1-A15; order P5 code, P8 process, P6 docs pass 2, P7 merge to main, P9 close-out owner delegation, 2026-10-17; cleanup LOG
d310 2026-10-17 DECISION infra rustls bumped to 0.23.45 (Dependabot alert 1) and merged to main early as PR 77 (4af995c); the same 7 pre-existing CI failures on main since 2026-09-19 were noted on the PR 4af995c; cdd50fe
d311 2026-10-17 FINDING infra Cleanup phase 0: six local tags (eval/bfaff44, keep/n2-bandit, keep/n14-lexical-suffix, keep/spike-v2-m15, keep/fvb-cdd50fe, keep/spike-v2-pre-cleanup) and a bundle of all refs (75 heads, 4.5 MB); docs inventory 71 files, 13,863 lines cleanup LOG
d312 2026-10-17 DECISION infra Cleanup D10-D13: current-model external Rust indexes (bevy, tauri, deno in the sets) kept as a warm cache for the walk-on-SCIP test; old coordinator temp archived then deleted; Docker WSL data removed; free disk 151 GB before cleanup owner delegation, 2026-10-17; cleanup LOG
d313 2026-10-17 DECISION product Owner direction: the main focus is multimap traversal and its iterations; the embedder+reranker premise gets no more benches or iterations (merit and lessons stay); LCI is an extension of grep, with grep and other agent tools as steps inside multi-step queries owner, chat 2026-10-17
d314 2026-10-17 DECISION eval Owner: the error set becomes "which code changes in git history are responsible for this error": find the error site (grep is fine), related code, where it changed, return the changes; gold is SZZ-derived (blame the fix commit's lines at its parent) with verification owner, chat 2026-10-17
d315 2026-10-17 DECISION eval Owner: "which types implement this trait" was never built (34 of 40 items needed, 33 from tantivy) so LCI was never measured; it should be trivial from a code graph; hypotheses: no SCIP in the eval trees, implementation edge not ingested, LSP channel sends no implementation request, derive/blanket/macro impls owner, chat 2026-10-17
d316 2026-10-17 DROPPED eval "Which files usually change together" dropped as a question set (co-change prior hit@10 .456 vs same-directory .500) owner, chat 2026-10-17; sets-audit premise RESULTS
d317 2026-10-17 DECISION product Owner: doc file types (.md .txt .adoc .rst .json .yaml) get real support or a grep fallback, never wrapped as code-like files; build scripts are trusted so SCIP is built when needed; order: doc types first, then SCIP for the Rust repos owner, chat 2026-10-17
d318 2026-10-17 DECISION infra Owner: the GPU duty proxy is liked; a development model-control setup is allowed; a release LCI stays fully configurable with defaults; GPU cap changes only on the owner's instruction (noise, mostly night), no automation owner, chat 2026-10-17
d319 2026-10-17 DECISION process Owner cleanup order: docs alignment first (radical, lose no information), finish paused work (T-DL as code; I1 and D1 frozen and recorded, no remaining lci search arms), branches and worktrees, disk, code housekeeping, one more docs pass, merge to main last owner, chat 2026-10-17
d320 2026-10-17 DECISION eval Sanity adjustment 1 (approved): walk-on-SCIP premise test right after doc types and Rust SCIP: trait-impl questions plus R1 re-run with the walk on; the walk was never measured with SCIP (N2 stopped, N4 killed, S1 gains small) and search is the proven asset (R1 .64 vs BM25 .19; I1 +.157 over rg) owner, chat 2026-10-17
d321 2026-10-17 DECISION process Sanity adjustment 2 (approved): a decision and findings log holds checkpoint and run findings (result, date, commit link) before checkpoints are deleted; this file owner, chat 2026-10-17
d322 2026-10-17 DECISION process Sanity adjustment 3 (approved): the rustls security fix goes to main now as an exception; everything else to main last; "merge the waiting branches" means into spike/v2 owner, chat 2026-10-17
d323 2026-10-17 DECISION process Sanity adjustment 4 (approved): rename freely in internals; any rename of a CLI flag, config key, MCP field or agent-facing description keeps an alias or records the break owner, chat 2026-10-17
d324 2026-10-17 DECISION eval Sanity adjustment 5 (approved): the trait set is compared against an LSP-MCP baseline (rust-analyzer implementation requests) and the error-to-commit set against git bisect where a reproducing test exists; SZZ needs verification and a premise check of usable fix commits owner, chat 2026-10-17
d325 2026-10-17 DECISION product Sanity adjustment 6 (approved): doc types in two parts: real adapters for prose (.md .rst .adoc .txt) first; structured formats (.json .yaml .toml) start on the grep fallback with size and generated-file filters owner, chat 2026-10-17
d326 2026-10-17 FINDING eval The earlier "Grep 97%" claim was wrong; the measured fact is that LCI was 2.7% of agent tool calls (N3b) owner, chat 2026-10-17; docs/spike/multimap/v2/n3-results.md
d327 2026-10-17 DECISION eval Metric tiers (owner): tier 1 every change (hit@k, recall@k, span hit, MRR, speed proxies, cost-aware recall per 1k tokens, simulated agent); tier 2 milestones (confidence calibration, small cheap-model judged subset); tier 3 rare real agent A/B runs that validate the proxies (pv2 rho .699) owner, chat 2026-10-17
d328 2026-10-17 DECISION process Owner: adoption logging from real sessions is deferred until LCI reaches release stage; LCI stays out of the coordinator session for now; until then tier-3 agent runs are the only adoption measure and occasional CLI use is qualitative only owner, chat 2026-10-17
d329 2026-10-17 DECISION eval Simulated agent (owner approved for recording): rule-based loop, no LLM: first grep from rarest identifier terms, read top files as ~40-line windows, follow identifiers by tree-sitter, stop when the gold appears; scores tool calls and tokens; only arm differences count; two or three policies; calibrate once against N3/N3b transcripts owner, chat 2026-10-17
d330 2026-10-17 DECISION product Framing (owner approved): LCI's core loop is a Wikirace on a code graph with a System 1 racer and compiler-grade links; without SCIP and doc edges the graph is sparse so traverse equalled search; the shipped racer is a local model with an allowed licence chosen per role, Jev stays the prototype reference owner, chat 2026-10-17
d331 2026-10-17 DECISION process Discussion mode ended at 03:19Z; monitored autonomy resumed; cleanup plan needs no owner review (planner, cross-family review, execution); pause only at clean steps (usage reset 2026-10-20 04:00Z) owner, chat 2026-10-17
d332 2026-10-17 FINDING eval R1 region-masked stage 1: 146 kept items (dev 58, test 88; 9 repos, 4 languages); lci search span hit .64 vs BM25 .19; frozen private record sets/r1-masked/RESULTS.md
d333 2026-10-17 FINDING eval R1 stage 2 (58 dev, 88 test): no arm beats plain lci search (A0 test span .602; cap 1 worse -.091 [-.159,-.023]); traverse arms equal A0 exactly because no SCIP index existed, so the walk was never measured private record sets/r1-masked/stage2/RESULTS.md
d334 2026-10-17 DROPPED eval I1 full build stopped by the owner: 37 rows (20 dev, 17 test) of 200 test items planned, PREREG never locked so no test metric exists, bar (a) minimum sample fires; set may be re-aimed at traverse after SCIP edges exist private record sets/issue-to-fix/full/RESULTS.md
d335 2026-10-17 DROPPED eval D1 stage 2 stopped unfrozen: 1,128 dev searches (13 repos, 0 errors, 2 degraded by the proxy move), no scoring and no test run private record sets/docs-for-code/stage2/RESULTS.md
d336 2026-10-17 LESSON product LCI started from Codex token limits; mission: bridge LLM guessing with program strictness and System 1 decisiveness; goal: a release the owner is proud to share owner, chat 2026-10-17
d337 2026-10-17 LESSON product Never park an idea because agents already do one step of it; LCI should use grep and other tools as steps inside chains owner, chat 2026-10-17
d338 2026-10-12 FINDING process Spike specs base-tree drift table retired (spike df7faaa vs fix branch 3b8d306, 21 rows of line numbers); specs cite symbols, not lines. Fix-branch commits 83e1164 (drops one leading BOM before hashing), 96e8b73 (keeps backslashes in Unix file names), 6c3fa84 (ripgrep paths by hash lookup in map_lexical_matches) and 25f2ca5 (early return from search_once when no chunk passes the filter) changed line numbers only docs/spike/multimap/specs/README.md@bbd3292
d339 2026-10-12 FINDING process S0 spec review (independent read-only subagent): no blockers, 9 should-fix and 9 nit findings, all addressed in the specs; the reviewer verified the base commits, the 43-commit gap and every drift-table row docs/spike/multimap/specs/README.md@bbd3292
d340 2026-10-11 DECISION process SC2 sanity checkpoint (after the A/B pilot, before the full pass): scope transcript audit (allowlists, path violations, void rate), noise (A1 repeat rule), harness validity; planned, no verdict recorded in the repository docs roadmap@bbd3292 Strategy; .agents/skills/lci-autonomous-improvement/references/templates.md
d341 2026-10-11 DECISION process SC3 sanity checkpoint (at the A/B interim look, about 115 code tasks): scope data quality and the futility decision; planned, no verdict recorded in the repository docs roadmap@bbd3292 Strategy; .agents/skills/lci-autonomous-improvement/references/templates.md
d342 2026-10-11 DECISION process SC4 sanity checkpoint (after the A/B results, before any decision): scope an independent re-analysis from the raw logs plus an interpretation check (what the result does and does not license); planned, no verdict recorded in the repository docs roadmap@bbd3292 Strategy; .agents/skills/lci-autonomous-improvement/references/templates.md
d343 2026-10-11 DECISION process SC5 sanity checkpoint (before pre-registering phase 2, cross-map verbs and interfaces, and before any training or distillation on the RTX 5090): scope phase 2 premise, its pre-registered measurement and the cost of being wrong; planned, no verdict recorded in the repository docs roadmap@bbd3292 Strategy; .agents/skills/lci-autonomous-improvement/references/templates.md
d344 2026-10-17 DECISION process The maps inventory status vocabulary (implemented, live, derivable, proposed) is retired; the engine document Maps table uses default, opt-in, first stage and "not built" owner delegation, 2026-10-17 (docs cleanup); docs/spike/multimap/maps-inventory.md@bbd3292
d345 2026-10-12 FINDING process S0 spec review nit 17: the fix branch also changed lci-core/src/config.rs, models.rs, lsp/adapter.rs, src/app/indexing.rs and readiness.rs; the cited lines in those files did not move docs/spike/multimap/specs/README.md@bbd3292
d346 2026-10-16 DECISION engine N0 design: arms F-first at first_k 20 against F-append (first_k 10 plus the walk top 10), both also cut at 10 answers; bench-1023 setup otherwise; primary per set where-to set F1, flow path recall, impact second-ring declaration recall, history hit@10; Holm across four sets; the walk stays default only where F-append beats F-first with a Holm-adjusted interval excluding zero, else opt-in; offline agreement check (overlap of exact answers and seeds predicting a walk gain) killed on the first run docs/spike/multimap/v2/next-slices.md@bbd3292
d347 2026-10-16 DECISION engine N0b design: four arms at the same final answer budget (first stage, first stage plus walk, each with and without the same local judge picked from the S8j screen, run in-engine); exact-origin answers never reordered; the best configuration under Holm becomes default; walk stays only where walk-plus-filter beats first-stage-plus-filter with an interval excluding zero; physical cost reported for every arm docs/spike/multimap/v2/next-slices.md@bbd3292
d348 2026-10-16 DECISION engine N1 design: Wizard of Oz study; agents get a draft chained-query schema (typed step inputs and outputs, relation direction, roles), a short recipe list and real tasks on the frozen tree (part from gold sets, 6 to 8 written from reading the tree); plans replayed offline with today operators, judges blind; kill if fewer than half of plans executable and on target, sample size and 95% interval stated first; also recorded: plan step count against tool calls without the schema, and an uncued arm for LCI tool uptake docs/spike/multimap/v2/next-slices.md@bbd3292
d349 2026-10-16 DECISION engine N2 design: every few pops a check rates newly found nodes, a yield tracker counts hits per edge type and shifts priority for the rest of that request only; the hit signal is frozen and independent of the walk scoring; arms F-append plus bandit against F-append, a cost-matched fixed and a cost-matched random reweighting; kill unless +.03 on flow path recall or impact second-ring recall with Holm interval excluding zero, no set loses more than .02, and cost within 1.5 times F-append; power checked first from paired variance; flow walks average about 9.7 pops per item; a yield-based stop only as a by-product under the stopper rule (at least 20% extra saved at matched recall) docs/spike/multimap/v2/next-slices.md@bbd3292
d350 2026-10-16 DECISION engine N3 design: chained executor built on exact operators (closure, reads_key, pickaxe) and search, recipes only if N1 killed; composite multi-step gold slice fixed before the run, read-only on the frozen tree; counted agent round trips, tool invocations, internal operator calls and tokens; control gets ordinary batching and a thin programmatic-composition baseline; kill (agent A/B): chained tool must cut round trips by at least 25% with success no worse than 5 points below (amended before the pilot to a 0.75 ratio and recall non-inferior margin 0.10, see n3-results); uncued arm reports uptake separately docs/spike/multimap/v2/next-slices.md@bbd3292
d351 2026-10-16 DECISION engine N4 design: train a filter on labels collected offline, on patterns never node identities (inputs question, card snippet and provenance map, edge type, depth, first-stage origin; output keep or drop); labels from gold matches on the bench sets plus judge transcripts; test on a time split and held-out repositories; cheapest form first (small head on judge outputs and card features), a fine-tuned decision model only if the head shows signal; kill unless the trained filter beats the untrained judge by at least .02 on the primary metric of two or more sets with Holm intervals excluding zero, loses no set by more than .02 and costs no more model calls docs/spike/multimap/v2/next-slices.md@bbd3292
d352 2026-10-12 FINDING eval A/B pre-registration addendum draft (items D1-D6) written 2026-10-12 18:37Z by the spike-trim run from the independent sanity review; labelled a draft for the owner, nothing decided; owner adoption not recorded docs/spike/multimap/ab-prereg-addendum-draft.md@bbd3292; docs/spike/multimap/evaluation.md "Agent A/B method"
d353 2026-10-11 FINDING retrieval Snapshot pipeline detail, checked in code on 2026-10-17 (lsp_channel in src/app/search.rs): LSP candidates are merged query by query across providers, so first-seen order decides the LSP rank; up to 8 term# queries per provider under the 1.5 s per-search budget (N7) src/app/search.rs; roadmap@bbd3292 Snapshot
d354 2026-10-11 FINDING engine Snapshot of storage and LSP state, 2026-10-11 (before N2): map_lsp_locations scans chunks linearly, 1 ms fusion_ms at this repository's size, since L2 removed the O(matches x chunks) lexical mapping scan; rust-analyzer's 10 s quiescence wait still expires but off the query path; didOpen with version 1 is re-sent before every position request and didChange/didClose are never sent (N2); TS, Python, Go and clangd sleep up to 3 s after didOpen roadmap@bbd3292 Snapshot
d355 2026-10-11 FINDING eval Snapshot caveat: every "current defaults" figure of the 2026-10-11 Snapshot predates the revert of semantic_weight to 1.0 (bb6589d) and the move of the reranker to llama.cpp (V5); 3 of the mined set's fusion top-1s rank xtask/src/mine.rs first, and E2b refuted verbatim leakage, so every number stands bb6589d; roadmap@bbd3292 Snapshot
d356 2026-10-11 FINDING retrieval N14 detail: 163 of 57,823 source files in the 17 A/B repositories have a suffix twin (bevy 4.4%); the fix on the side branch lets an exact case-insensitive match select only that file, uses the suffix fallback only for a still-absolute path, and credits nothing for a relative path with no exact match; open: a still-absolute path on a filtered search, tests for relative_to_root; N84 edits the same function e0f7c10; roadmap@bbd3292 N14
d357 2026-10-17 DROPPED retrieval R2 (skip the reranker on an exact symbol-definition hit: single-term query, exact LSP symbol at fused rank <= 3, rerank_skipped = "exact_symbol_match", config rerank_skip_on_exact_symbol; size S) was blocked on E6 (d040) and is dropped with the reranker premise; F3 keeps R2 in its dependencies for that reason owner, chat 2026-10-17; roadmap@bbd3292 R2
d358 2026-10-17 DROPPED eval E2b follow-ups proposed but not built: --exclude-tag and --only-tag on evaluate and compare, and mine-queries --at roadmap@bbd3292 E2b
d359 2026-10-17 DROPPED retrieval M5 remaining research bets not run: LoRA fine-tune on the user's own commit pairs (SFT on PR data raised the 4B's issue-to-edit nDCG@10 from 18.3 to 30.3, arXiv 2606.11864), late chunking (no code evidence), and the plan to fit the 8B as Q8_0/Q6_K GGUF (~8/6 GB); embedder work stopped by the 2026-10-17 direction owner, chat 2026-10-17; roadmap@bbd3292 M5
d360 2026-10-10 DECISION retrieval Owner declined the Gemma family for embedder trials, EmbeddingGemma 2 included, on its code scores; a production switch to the 0.6B embedder stays the owner's call (d082 keeps the 4B) owner, chat 2026-10-10; roadmap@bbd3292 M6
d361 2026-10-17 FINDING eval compare, read in the source on 2026-10-17 (not run): an unwritable --output makes the command exit nonzero after the summary is printed (the write error propagates out of main); in the JSON report unpaired candidate queries are listed in sorted (workspace, query) order, unpaired baseline queries in the baseline report's order, so the old note "unpaired keys are listed sorted" holds for the candidate side only src/evaluate/compare.rs; src/main.rs (run_compare); roadmap@bbd3292 H2
d362 2026-10-17 DECISION engine T-DL landed: the [traverse] deadline_ms is the walk's own; the hybrid seed search's time is added to the deadline once it returns (that search stays bounded by embedding_timeout_seconds and reranker_timeout_seconds), index load still counts; fixes the starved walks of d257 (43 of 88 R1 stage-2 items) commit a688783; test in src/app/traverse/tests.rs
d363 2026-10-17 DECISION product P5.2: every MCP tool argument struct (WorkspaceArgs, SearchArgs, SymbolArgs, PositionArgs, ReferencesArgs, SearchCodeArgs; the recipe, compose, budget and steer structs already had it) now has #[serde(deny_unknown_fields)], so a client that sends an unknown or misspelt key gets an error naming it instead of a silently ignored argument; the REST request bodies share the structs and refuse it too, while the REST search_profile query struct stays open. SearchCodeArgs repeats the SearchArgs fields instead of flattening them, because serde does not support deny_unknown_fields with flatten. Re-implements the idea of stale PR #55 without merging it src/server.rs; tests/cases/mcp.rs every_tool_rejects_an_unknown_argument_naming_it
d364 2026-10-17 DECISION infra N92 landed: cargo xtask docs check fails on a broken relative Markdown link or anchor in a tracked *.md file (GitHub heading slugs, external links skipped); vendored rust-skills is not scanned, frozen *-prereg*.md and *-results.md records under docs/spike/multimap/v2 are reported only; runs after the path lint in --suite Full; passes on the tree (67 files, 245 links, 0 broken, 2026-10-17) xtask/src/docs.rs; roadmap@bbd3292 N92
d365 2026-10-17 DECISION engine Cleanup 5.1: the N2 in-request edge bandit code is removed (d252 dropped the experiment). Gone, break recorded, no alias: the lci traverse and cargo xtask maps bench flags --edge-bandit, --bandit-rate, --bandit-signal, --bandit-threshold, --bandit-every, --bandit-sample, --bandit-seed, --bandit-fixed; the [traverse] keys edge_bandit, bandit_rate, bandit_signal, bandit_threshold, bandit_every, bandit_sample, bandit_seed, bandit_fixed (an old config fails to load, naming the key); the response and trace totals.bandit* and the bandit trace event; a traverse handle carrying a bandit key is refused with a clear error (handle VERSION stays 10, other handles still load). The code is kept at tag keep/n2-bandit d252; docs/spike/multimap/v2/n2-results.md; tag keep/n2-bandit
d366 2026-10-17 DECISION build Cargo feature spike-maps renamed map-equivalence (gates the T0 bit-for-bit map check and RunRecord entry points only); recorded break, no alias; external CI scripts must follow Cargo.toml, docs/development/testing.md
d367 2026-10-17 LESSON process Run rules that one shell command can break (interpreter code on stdin, trailing-ampersand background jobs, kills by name, a forbidden port) live in a client PreToolUse guard hook, not in prose; rules restated in several run files were still broken during the run; the hook denied each later attempt. Cost: a command whose text only mentions a pattern is denied too .agents/skills/lci-autonomous-improvement/SKILL.md (Non-negotiables)
d368 2026-10-17 LESSON process One build-lock wrapper (waits for its own mkdir, sets the build environment, releases on every exit) replaces hand-written lock loops; a hand loop that tested whether the lock directory existed instead of whether its own mkdir succeeded would have run a second build .agents/skills/lci-autonomous-improvement/SKILL.md (Non-negotiables)
d369 2026-10-17 LESSON process The run checkpoint is state only and capped at 40 lines; history goes to one run log. A checkpoint that grew to several KB of history cost every resume and buried the next step .agents/skills/lci-autonomous-improvement/SKILL.md (Compaction strategy), references/templates.md
d370 2026-10-17 LESSON process A slice gate runs every suite that pins the public surface (Mcp and Recipes, not only the edited file's suite) and cargo fmt before the commit: a schema marker passed the Mcp suite and failed the Recipes surface golden, and a renamed constant failed Full on formatting alone commits ed77614, c8401cb
d371 2026-10-17 FINDING security CodeQL on PR 78 (first scan of spike/v2): 19 alerts. 17 are false positives (the "salt" is a test-only hold-out split seed; logged values are env var names or test fixtures; keys reach only the Authorization header and errors are redacted). Two are real hardening: ci.yml had no permissions block (fixed: contents read) and a bearer key may go over plain http to a non-loopback host (roadmap N93). The pedantic census's case-sensitive extension checks become N94 .github/workflows/ci.yml; roadmap N93, N94
d372 2026-10-17 LESSON process Three tests written on Windows had never run on CI before PR 78: a 1 ms deadline assumed spent before a git call (false on fast runners) and two connect-timing tests whose bound-but-not-listening socket evidently is not refused on macOS (both took the 5 s connect timeout there). A long-lived branch needs a CI run (a draft PR) well before its merge PR 78 first CI run
d373 2026-10-17 FINDING ci Roadmap rows 11 and 12 closed. Unknown MCP argument keys are rejected since d363. The 7 tests that had failed on main since 2026-09-19 (d310) did not fail on the PR 78 run or on main's push run at the merge commit 6726469, which passed on ubuntu, macos and windows; their causes were not isolated one by one PR 78; main CI at 6726469
d374 2026-10-17 DECISION security N93 (filed by d371 as N89, renumbered: N89 to N92 were already used by d197 to d199 and d364; its sibling N90 is now N94) resolved as a warning, not a refusal: a configured API key over plain http to a non-loopback embedder, reranker or System One host logs one startup warning (Endpoint::cleartext_key_warning) and still works, so an http LAN setup does not break. CodeQL's cleartext-transmission alert on the bearer header is dismissed as won't fix with this cited; its 16 test-only and false-positive alerts are dismissed with reasons, and live-acceptance.yml gets a read-only token lci-core/src/endpoint.rs; .github/workflows/live-acceptance.yml
d375 2026-10-17 FINDING product Track A premise spike (pre-registered, BM25, frozen tree bfaff44, instructions set): heading sections beat 40-line windows by +0.108 on i1_section_f1 [0.084, 0.132] but lost i2_hit@3_primary by one item of 30 (INCONCLUSIVE by the rule). The primary metric is partly circular: the gold sections are cut on the same heading boundaries; boundary-neutral metrics tie and whole files have the best required recall. Decision (delegated): not killed; Markdown ships as flat heading sections packed by paragraph, as a second extractor kind (Prose), role Documentation; the language bar's LSP item is waived for prose (N95). LESSON: a chunk-shape premise needs a primary metric neutral to unit boundaries. Tool and CLI descriptions say Markdown is indexed and navigation covers code languages only; the flags-off surface golden gets exactly those strings work/run/trackA/RESULTS.md, DECISION.md; lci-core/src/chunk/markdown.rs
d376 2026-10-17 DECISION tests Three load flakes made deterministic, tests only: ephemeral ports in the integration binary go through one registry so a port released by free_ports or a closed-port probe is never handed to another test's listener (hypothesis for the stray connection the config test saw; not reproduced); the cold-LSP budget test starts the fake server after 4000 ms and allows 3000 ms (was 1500/1200, observed 1205 under load); the cancelled-release test gives the server the 5 s process-end slack the other process-end waits have. The owner asked for no recurring CI flakes tests/support/mod.rs; tests/cases/{config,indexing,navigation}.rs
d377 2026-10-17 FINDING evaluation Item 5 premise check (pre-registered, git only): 8 usable fix commits across bevy, tauri, deno, tantivy, LCI and GUST (16 with the extended A/B clones), against 40 total and 2 repositories with 10 each; item 5 is parked by its kill rule. Causes: concrete error text in 1.8% of commit messages with issue text offline, and shallow clones (44 of 56 primary candidates blame to the clone root). Without the error filter SZZ yields 244+ items. LESSON: check clone depth before a history premise. Re-check with full clones and issue text is N96 work/run/item5/RESULTS.md
d378 2026-10-17 FINDING evaluation Item 3 done: rust-analyzer 1.98 SCIP for tauri 5b23c82e (282 s, 15 MB), bevy 0e93c7ab (490 s, 105 MB, generated and pinned lockfile) and deno 32e63812 (1178 s, 107 MB, peak free RAM floor 6 GB); all three have 0 relationships, and no rust-analyzer version emits them (upstream issue 14031). The trait and type tokens of an impl Trait for Type header carry full-symbol reference occurrences: 95-97% of explicit impl headers resolve, 20 of 20 hand-checked; derives (about half exact-path) and macro_rules impls do not. Items 4 and 6 now wait on N97, which derives the edges from those occurrences work/run/trackB/RESULTS.md, IMPL-EDGES.md
d379 2026-10-17 FINDING product N97 done (PR 83, cfdc1a9): the graph build derives impl facts from the trait and type tokens of impl Trait for Type headers, because rust-analyzer's SCIP has no relationships (d378). graph.scip gains Implements edges from impl members to the trait method they implement (kept out of indegree; recipes over calls do not follow them), and a new opt-in map scip.implements (needs --root) links types to traits, traits to implementing types and trait methods to implementations, capped with a Partial note. Derived, macro_rules, negative and same-line attribute impls are counted, not guessed; the header scan stops at where. Pre-registered kill rule on tauri 5b23c82e met: 520 headers resolved (>= 468), 474 distinct type to trait pairs (>= 427), hand-checked sample 20/20; bevy graph load +18-19% in a debug build (<= +20%). The Python reference was wrong on 37 bevy blanket impls. Items 4 and 6 no longer wait on N97; they wait on the trait scorer and trait gold lci-maps/src/scip_implements.rs; lci-maps/src/scip_graph.rs; commit cfdc1a9
d380 2026-10-18 DECISION product Docs lane (PR 81, commits 2df055d, c3edc5d, 44a83e8): Markdown chunks no longer compete with code. The code list is split on the prose extractor and stays byte-identical to an index without Markdown; a separate docs list (default 2, fail-open, [docs_lane]) carries the prose hits; evaluation selects a lane with the lane:docs and lane:union query tags. Pre-registered re-evaluation (frozen binaries, reranker on and off): identity PASS (core 11/11 and mined 35/35 queries identical with the reranker on; exact in the lexical-only arm), MRR deltas +0.0000 with CI [0, 0] on core and mined in all four arms, docs-lane file recall@5 0.4412 (bar 0.30; 0.4215 with the docs reranker off), but returned tokens on core +28.2% with the reranker and +26.2% without (bar <= +25%) FAIL. The pre-registered fallback applies: [index] prose = false by default, so Markdown (d375) is chunked and indexed only when a workspace opts in (switching it changes the fingerprint and refreshes incrementally; code chunks are reused), and [docs_lane] reranker = false by default (owner direction: the embedder stays, the reranker is not needed there; a profile docs_reranker override still wins). Tool and CLI descriptions say Markdown indexing is opt-in; the default-config test pins a manifest with no .md file lci-core/src/config.rs; src/app/search.rs; config.example.toml
d381 2026-10-18 DECISION process Windows first during development (owner direction): work targets Windows only; macOS and Linux support is decided closer to a release. The CI test job must pass on windows-latest; the ubuntu-latest and macos-latest entries stay for early warning and run with continue-on-error, so a failure there neither fails the workflow nor gets fixed now. Gold sets built from Windows cfg views (rustdoc on Windows) are accepted, and impls gated to other platforms are reported separately, never scored as misses. minimum-version stays blocking (a toolchain check, not a platform one).
d382 2026-10-18 FINDING evaluation N98 killed: the reranker stays on by default. Pre-registered rerank-off run (one frozen binary for search, main c421c8a for the walk; off minus on): where-to set_f1 -0.1012 [-0.1540, -0.0528] (n=34) and flow path_recall -0.1200 [-0.1710, -0.0736] (n=111) both fire the kill rule (below -0.05 with the CI excluding 0); mined MRR -0.0767 [-0.1714, +0.0095] only just misses it (CI contains 0) but mined nDCG@10 -0.0868 [-0.1431, -0.0329] is significant; core MRR +0.1061 [0, +0.2576] (n=11, off better). Impact is neutral on recall (-0.0043) with decl_f1 -0.0125; walk deadline stops 0 of 311 in both arms. The loss sits in seed ordering, the seam N99 tries to win back; off saves about 0.6 to 0.8 s of wall time per query rerank-off run (plan and results); N99
d383 2026-10-18 FINDING evaluation N99 K0 premise PASS (pre-registered, offline, on the 24-candidate shortlists of the candidate dumps; a hosted System One model as rescorer, prototype arm only, never shipped, never a grader of record): where-to seed-hit@8 (n=59) off 0.8475, reranker 0.9661, System One 0.9661 (recovers 100% of the gap, but the gap is 7 items); flow seed-hit@8 (n=93) off 0.5376, reranker 0.6667, System One 0.7312 (recovery 1.5; System One minus reranker +0.0645 [+0.0215, +0.1183]); mined nDCG@10 (n=35) off 0.5874, reranker 0.6425, System One 0.6553 (a tie with the reranker, +0.0128 [-0.0334, +0.0600]). No kill condition fired. 357 calls, no failures, about 2.2M input tokens. Caveats: one run per query, 253 of 8568 candidate texts fell back to a 400-byte head, 18 of 111 flow items dropped for empty gold-file sets; K0 is an ordering proxy, not the walk metric. Next: the engine slice, then the K1 verdict (kill if where-to set_f1 or flow path_recall (C - A) < -0.05 with the CI excluding 0) N99 premise run (plan and report)
d384 2026-10-18 DECISION tests Further load flakes made deterministic, tests only, same pattern as d376: widen the budget and lengthen the fake delay, or loop until the awaited event has happened; never throttle builds. searches_during_priming_get_the_budget_note_and_later_ones_hit_the_primed_server measured 1220 ms against a 1200 ms ceiling during two parallel Full runs: priming now takes 8 s, longer than both early searches at their new 3 s ceiling, and the LSP timeout is 20 s so the slow priming request never times out (28381bf, on main as 66c04e1). The stuck-span test passed its 2 s transient span only during the last of six cancelled calls on a loaded Windows CI runner, and the next call that would act on the stuck mark never came, so the 30 s wait for the old server's exit timed out (PR 85, passed on rerun): it now keeps making cancelled calls, up to 30, until one has spawned the replacement (109dec3). answers_gathered_before_the_budget_ran_out_are_kept now uses lsp_search_budget_ms 6000 and a 2500 ms symbol delay (branch feat/trait-seeds) tests/cases/indexing.rs; tests/cases/navigation.rs
d385 2026-10-18 FINDING evaluation N99 K1 PASS (pre-registered; Jev in the engine as the rescorer, arm C, against the local reranker, arm A; paired bootstrap, 10,000 resamples): where-to set_f1 +0.045 [+0.014, +0.085]; flow path_recall +0.011 [-0.025, +0.044]; mined nDCG@10 -0.016 [-0.066, +0.034]; walk deadline stops 0 in every arm; one local reranker request per query in A. No kill condition fired. Caution: mined MRR is significantly lower, -0.088 [-0.171, -0.011], concentrated in short and keyword-agnostic queries. On the where-to and flow point estimates arm C recovers the whole loss of switching the reranker off (d382); the mined MRR loss rules out an overall recovery claim. 360 hosted Jev calls, all in arm C (N99 total 717 of the 1,000 cap). Next: slice 4, the local candidate against bar S; any default change is its own decision N99 K1 run (RESULTS, section 1)
d386 2026-10-18 DECISION evaluation Roadmap item 7 done: the rule-based simulated agent (no LLM, d329) shipped as cargo xtask sim (PR 89). Arms A0 (grep and read), A1 (an lci search opening, code and docs lanes) and A2 (lci traverse sites); bfs and greedy policies; each arm follows its own evidence first (opening, site reads, then the chain's first reads), with max_candidates per read; prose files fall back to word identifiers. Scores calls_to_gold, tokens_to_gold, hit@12/25 and listed_at per item. The proxies are uncalibrated until item 8 PR 89 review; docs/spike/multimap/v2/sim-agent.md
d387 2026-10-18 FINDING evaluation N99 slice 4, bar S FAIL (pre-registered): the local decider candidate (Mapika/decider-4b, Apache-2.0, served by Ollaya on loopback) does not replace the reranker, which stays the default; the System One rung stays opt-in. Deviation: the planned batch of 24 candidates took about 118 s per query against the 30 s timeout, so the arms ran with batch 4 (D4, one config line). D4 minus A (paired bootstrap, 10,000 resamples): where-to set_f1 -0.004 [-0.038, +0.030] (pass); flow path_recall -0.052 [-0.095, -0.010] (fail); mined nDCG@10 -0.115 [-0.199, -0.046] (fail); walk deadline stops 0 (pass); VRAM beside the embedder 29.2 GB against the 22 GB line (fail; Ollaya runs the model at fp32, about 19 GB resident). The token line is ambiguous: about 6k tokens of payload per query, but Ollaya counts the state once per candidate row (about 21.7k). Local against hosted (D4 minus C) is significant on every line: where-to set_f1 -0.049, flow path_recall -0.063, mined nDCG@10 -0.099. Latency about 15 s per query against about 1 s for the reranker. Candidate E (same size class, same runtime) was skipped as a likely VRAM failure; that is a judgement, not a measurement. Single run per arm. Next: no local rescorer work until a smaller or quantised decision model fits the VRAM line N99 slice 4 run (RESULTS, section 2)
d388 2026-10-18 DECISION product Strict tool arguments, the rest of d303 after d363 (which had already made every MCP argument struct and so the REST JSON bodies reject unknown keys): service_status now takes a strict empty argument object, and the REST search query string (SearchQuery) rejects unknown parameters with HTTP 400 naming the key; both were silently ignored before, a compatibility break for clients that send them. Symbol queries share code search's inclusive 16,000-byte limit and error text on every entry point (MCP, REST, CLI). The flags-off surface golden now keeps additionalProperties: false instead of stripping it. MCP _meta travels in the request params, not the tool arguments, so spec-following clients are unaffected PR review (Copilot cross-family); tests/cases/mcp.rs; tests/cases/recipes.rs
d389 2026-10-18 FINDING evaluation S1b (roadmap item 9) closed as measured, killed by its pre-registered rule: the MCP default top_k 8 returns 16 answers without steer (explore: 8 seeds + 8 walk, 9 pops) and 8 answers with steer.policy = "where-to" (first stage alone, 1 pop), not "about 18"; 18 is the bench count at top_k 10 (59 items, no variation). Under where-to, walking on loses at the natural count (18 or 20 answers against 8, the comparison the kill rule was written on): W-K10 minus W-K8 set_f1 -0.017 [-0.029, -0.007] and W-K12 -0.018 [-0.030, -0.008] (paired bootstrap, 10,000 resamples), the same number as bench-1024's unmatched run, which mixes the walk with the answer count; cut to 8 answers the two tie (0 [0, 0]), and d239's matched result at 20 answers was not retested; walk_min_answers 20 stays. In the explore lane top_k 4/6/8/10/12 tie at matched N=5/8/10/12 (set_f1 delta exactly 0 [0, 0], reg_hit@3 and reg_mrr unchanged); at the natural count precision falls and answer tokens rise with k (E-K4 precision +0.028 [+0.011, +0.051], set_f1 +0.005 [0.000, +0.012], 21% fewer answer tokens; E-K12 precision -0.012 [-0.021, -0.005]), which is the count alone, so default_top_k (shared with lci search, N34) stays 8 and no flow or impact no-harm walks were run. Observation, not a change: the where-to preset at top_k 8 beats the un-steered default at the natural count (set_f1 +0.015 [+0.005, +0.026], precision +0.051, 42% fewer answer tokens, 8.8 fewer pops per item) and is identical to it cut to 8, so the gain is the shorter list. Validity: E-K10 reproduces n99 arm A exactly (every delta 0). 8 walks on frozen fd2cd26 binaries, tree bfaff44, 59 items, 34 scored for set_f1 and 25 for the registration metrics (wide CIs; a null is a valid close) s1b RESULTS (run/s1b/RESULTS.md); bench-1024 in docs/spike/multimap/v2/engine-results.md; d239; d244; d259
d390 2026-10-18 FINDING evaluation Roadmap item 8 (tier-2 calibration of the simulated agent) ran as pre-registered and landed between the bars: "inconclusive at n 48"; the sim's proxies stay uncalibrated. Part A, 311 items (where-to 59, impact 141, flow 111) on frozen fd2cd26 binaries and tree bfaff44, 10 of 10 repeats byte-identical: hit_at_12 A0 0.153 / 0.383 / 0.360, A1 0.831 / 0.972 / 0.973, A2 0.831 / 0.908 / 0.811 (where-to / impact / flow); greedy equals bfs on it for every arm, so the six configurations are three distinct systems. Part B, 48 items (16 per set, half proxy-disagreeing), 243 blind sheets, Haiku J1 and J2 with Sonnet J3 on gaps (10 sheets), rule-scored judge_file_recall: the judge gate failed in round 1 (oracle 0.720, bar 0.80) and passed after the one allowed replacement, a prompt change (oracle 0.849, random 0.000). Pooled tau-b 0.228 [0.149, 0.774] (pass at least 0.5, kill below 0.2); pooled Spearman 0.253 [0.007, 0.485] (pass at least 0.3 with a lower bound above 0); sign agreement 52/58 = 0.897 [0.788, 0.961] (kill at or below 0.6); per-set tau-b where-to 0.784, impact 0.816, flow 0.333. The nonzero-proxy Spearman is undefined (all 90 nonzero proxy deltas are +1); the pooled tau is just above the kill line with a lower bound below it, so the verdict is sensitive to pooling. Listing-only paths (grep listing lines without text) drive judge and proxy gaps (coordinator spot check of 10 sheets found no contradicted grade). N3 descriptive check (d329, no verdict): sim A0 tool calls against C0 agent tool calls, Spearman +0.02 [-0.32, +0.35], family-centred +0.36 [+0.01, +0.66]. Spend USD 1.55. Consequence: hit_at_12 differences between arms stay tier-1 numbers, no arm claim from the sim without a tier-3 run; the one allowed follow-up is a new prereg with the sample doubled, never adding items run/sim8/RESULTS.md; docs/spike/multimap/v2/sim-calibration.md; d327
d391 2026-10-18 FINDING engine N100 (where-to routing) first slice: server-side question-type detection (option b) killed at B0 by its pre-registered rule. A closed keyword detector, written and hashed before the gold questions were read (circularity guard; one rule was tightened before the freeze after it fired on an A/B task subject), finds 20 of 59 where-to questions (R 0.339, Wilson [0.231, 0.466], bar 0.70) with no false positives on flow 111 and impact 141 primaries (F 0, upper bound 0.015); by stratum registration 19/25, exemplar 1/20, convention 0/14, since exemplar and convention questions ask "which X exist" with no placement wording. Realism: the 23 queries real agents sent to LCI tools in the N3 C0 runs are identifier fragments, not question prose, so query-text detection has little to read; R on real where-to queries is unmeasurable (no where-to transcripts exist). Option (c), shrinking every un-steered call to 8 answers, was not run (the flow walk gain, d239). Option (a), a fact in the tool description, needs an agent that reads descriptions (the sim does not) and stays parked until a tier-3 run is approved. No walks run, no code changed N100 B0 record (run/n100/out/b0.md; PLAN.md sha 790e662a; DETECTOR.sha256 7f2bd3a2); d389; d239
d392 2026-10-18 FINDING evaluation Walk-on-SCIP premise test (roadmap items 4 and 6) on the trait-implementation set (bevy, deno, tauri; binaries frozen at 579a5be; pooled test half; paired bootstrap, 10,000 resamples): the pre-registered kill rule does not kill. Gate 0 (oracle-seeded walk D0, Q1 explicit recall >= 0.90) passed at exactly 0.900 (31.5 of 35) after the trait-seed fix (PR 95; it was 0.774). Condition 1: the question-seeded walk D1 beats lci search on Q1 set F1, 0.692 against 0.289, delta +0.403 [+0.283, +0.520], n 42, better on 32 items and worse on 5, every repository's interval above zero. Condition 2: D1 explicit recall 0.829 clears 0.8 x rust-analyzer even at the worst-case bound (0.800, deno counted perfect); where rust-analyzer ran (tauri and bevy, n 20) D1 0.938 against 1.000. Against plain rg on the same items the walk wins nothing: Q1 set F1 0.692 against 0.724 (-0.032 [-0.109, +0.036]), Q3 0.824 against 0.814 (a tie), Q2 hit@1 0.091 against 0.818 (-0.727 [-0.836, -0.600]; the walk puts implementors first, so the asked impl is in the top 10 more often but rarely first), at about 2.7 times rg's returned tokens (94.8k against 35.7k, chars/4). rust-analyzer beats both where it ran (Q1 set F1 0.951 against D1 0.802). Seven of 42 Q1 items got no trait seed and score 0 (the traits without scip.implements coverage). Not run: rust-analyzer on deno (stopped at the 6 GB free-RAM floor while other jobs, this session's harness shakedown among them, ran beside it; its log also shows a bindgen build-script panic) and the descriptive LSP-off arm (12 GB start gate). Reading: what survives is "a walk on SCIP edges beats search on trait questions", not "the walk beats grep"; for an agent that already has grep the walk adds cost on this set without a measured gain. A follow-up needs its own preregistration: the walk as a step after rg in a chain rather than in its place, and Q2 ranking. Trait run records PHASE3.md and PHASE3B.md (run/traits/out, not in the repository; plan sha dc16c2c7); PR 95; d378; d379; d320; d324
d393 2026-10-18 FINDING evaluation Item 2 (structured formats, grep fallback): leaving lockfiles out of live grep fails the pre-registered rule, so the patch (lockfiles skipped by default) is dropped and item 2 stays unfinished. Held-out half, frozen runner 36be3e59 (main 26011c1), simulated agent, A = no skip against B = LOCKFILES skipped, greedy and breadth-first: condition 5 fails on the dependency stratum (n 12): tokens B - A -3.1% [-1,559, +524] greedy and +2.3% [-1,227, +1,908] breadth-first, complete success 0 of 12 in both arms, so neither the 15% token branch nor the success branch can hold. Every no-harm condition holds (success, per-repository losses, reader precision, calls and pops; config tokens +2.1% and +3.3%, inside the 5% limit but with intervals above zero). Sanity check: the premise that B returns fewer lines by construction was wrong for capped listings. The search listing shows the first 50 matches, so the lines a lockfile held are filled by other, longer matches: the same first search costs +12.6% tokens under B on the dependency stratum and +6.2% on config, and most questions end on the call budget in both arms. Skipping lockfiles changes which lines an agent sees, not how much it reads; whether the replacement lines are more useful is untested (base success is zero on the dependency stratum). Harness work on the way: an in-memory scan corpus (PR 99, 1,326 needles equal to the disk scan) and a context-run stratum fix (PR 100), both before any held-out run. docs/spike/multimap/structured-grep-results.md; structured-grep-prereg.md (PR 96); PRs 97, 99, 100; d325
d394 2026-10-18 FINDING evaluation The rg-then-walk chain on the trait set (the follow-up d392 asked for) is parked after an offline premise check, written before any number was computed, on the existing d392 test-half runs (Q1, n 42, frozen scorer of 579a5be, matching reproduced to 4 decimals). Q1 set F1 is scored at k = gold
d395 2026-10-18 FINDING evaluation Item 8's one allowed follow-up (a new preregistration at n 96) is dropped by a go/drop rule written before its numbers: a zero-cost projection from the first run's 48 graded items (d390; its analysis reproduced exactly, tau-b 0.228 [0.149, 0.774]) puts P(between) at 0.84 under the draft's per-set allocation (14 / 42 / 40) and 0.86 under an even one (32 / 32 / 32), above the rule's 0.5, with P(pass) 0.05 and 0.10 (10,000 stratified resamples, point estimates; an inner bootstrap on 500 of them changed no class). Spearman is the binding pass condition (resampled median about 0.27 against the 0.3 bar), and the sign-agreement kill never fires, so a kill would rest on tau alone. The gate projection (pooled oracle 0.827 and 0.843 against the rule's 0.82) did not decide it. A plug-in resample cannot show what fresh items would add, but the review's reading is the same: the pooled tau sits near a set-level value that more items narrow rather than move. The simulated agent's proxies stay uncalibrated; later A/B rules that use it as a runner (item 2) read its proxies as uncalibrated, as before. Draft by Codex, reviewed by Fable through Copilot. run records under run/sim8b (PROJECTION.md, RESULTS-projection.md; not in the repository); d390
d396 2026-10-20 DECISION process Owner direction for the next phase (chat, 2026-10-19/20): work runs in cycles; cycle 1 puts every layer of the vision in place at least once behind flags in one typed profile whose resolved value and hash are stamped into every result; features get ceiling tests and mechanism checks instead of per-feature kill rules (the kill rules of N32, L1, I-8 and the A/B-arm notes are retired; their thresholds are inputs to a later preregistered screening or factorial design); real-agent A/B runs (Claude, Codex, a local model) come later and wait for the owner. Language servers are the source of truth and on by default where a server is available; no batch index file is a primary source, because it cannot stay fresh (SCIP becomes a cache or test ground truth); proven libraries are reused where they fill a slot; code licences BSD, GPL and similar are acceptable and LCI's own licence stays as it is. Evidence behind it: item 6 (d392, rust-analyzer beats the walk and rg on the trait set); a web survey of code-graph tools (SCIP indexers, Codanna, Serena, ast-grep, gix, Opengrep, LocAgent and RepoGraph ablations); and a Codanna spike (v0.17.1 on this repository at 919b117: resolved Rust call edges against rust-analyzer, precision 98.5%, recall 66.1%, misses mostly calls inside macro arguments and on receivers whose type it does not infer). spike report outside the repository (run area, spikes/codanna); bartolli/codanna#139 asks upstream for library seams
d397 2026-10-20 DECISION process Cycle 1 plan (roadmap "Cycle 1", slices K0a to K37c in milestones M1 to M4): drafted by the coordinator from d396, ordered and split by the planning workflow (its challenge stage found three wrong code references, fixed in the plan), then reviewed by GPT-6 Sol through Codex, whose 13 findings changed the plan: traverse stops loading the SCIP index unconditionally and SCIP becomes a subordinate cache by default (K20a, K20b); the LSP cost report comes before LSP turns on by default (K11d before K11b); LSP sessions are shared across calls and synced while index watching is off (K7b, K8a); the fake LSP answers from the documents it was sent (K7a); verify-on-read is built (K2b); a no-embedder path is tested (K0a); the router uses caller intent or query features, never gold labels (K30a); exact_seeds is not an exact-literal source (K22a); trajectories carry outcomes (K33a); probe.compile keeps a sandbox slice (K37c); Codanna enters as an optional crates.io dependency behind a Cargo feature after an offline proof, with tree-sitter 0.26 first (K15a, K14a), not as a fork or vendored copy. Call-hierarchy edges reuse CallsOrRefs; the RunRecord stamp is additive on runrecord-0. plan files in the run area (draft, planner output, coordinator review, Sol report)
d398 2026-10-20 DECISION infra K1a landed: [run_profile] (no keys yet; an unknown key is an error) and Config::run_profile(), which hashes the resolved result-affecting settings (sha-256 of canonical JSON with keys sorted by a local writer, since serde_json's preserve_order is on in this workspace; f32 values widened to f64). The profile is the whole resolved Config minus excluded_keys(): the machine-set keys, timeouts and timing, batch size, traverse file paths, rust_analyzer_trusted, [system_one] and API-key variable names. Borderline calls: LSP enablement, lsp_search_budget_ms, priors and tie-break content and embedding identity change answers but stay out (K1b stamps embedding identity and the priors and tie-break content hashes beside the profile hash). lci config --json gains derived.run_profile_hash; default hash a489865d. Tests: config:: 106, Config suite (10 + 27), Full 1632 passed, 0 failed; a Fable review's 5 findings fixed (key-set hash pinned so a new key must be classified, prune only on removal, docs wording). commit message
d399 2026-10-20 DECISION infra K1b landed: every run line of lci.runrecord/0 carries a required profile object (hash and keys from Config::run_profile(), embedding_identity_sha256, and 16-hex priors_hash and tie_break_hash of the configured files or null), built by lci_maps::run_record::profile_stamp. Adding it as required on /0 makes a run line written before it fail the reader and the writer alike; accepted because /0 is pre-freeze and no committed file holds a record (no reader exception, no version bump; the rename to /1 stays the owner's S4 step). A stamp that cannot be made (an unreadable priors or tie-break file) makes the record an error and leaves the answer unchanged. Tests: run_record:: 15, Evaluation 81 + 22, integration run_records:: 5 (with the new fail-open test), Full 1634 passed, 0 failed (before the review fixes); clippy and docs check clean; Fable review: land, two test-strength fixes applied. commit message
d400 2026-10-20 DECISION infra K1c, MCP and REST part: every MCP tool result and every REST success carries a top-level profile_hash (Config::run_profile().hash, computed once in App::open), added at the chokepoints server::result and rest::respond; the compact search_code text carries it as its last field. Error results, /health and /ready carry none. The OpenAPI success schema requires it; the surface golden grows by those schema lines only, with tool descriptions and instructions unchanged. Cost: 82 bytes per JSON result, twice per MCP call (text and structured content). Tests: an every-tool test that enumerates tools/list (16 tools) and an every-route test over /openapi.json (17 routes); Mcp 25, Readiness 5, Config 27 + 10, Full 1638 passed, 0 failed; Fable review: land. The CLI outputs follow in the second K1c commit. commit message
d401 2026-10-20 DECISION infra K1c landed with its CLI part: every JSON result of the application commands (index, status, list-files, search, symbols, definition, references, evaluate) and of traverse and recipe carries the top-level profile_hash, stamped at the one shared print in run() and at the two command handlers that build no App. traverse hashes the configuration after its command-line overrides, so its hash names the settings that ran. compare, replay and init --json run offline without a resolved configuration and stay unstamped; config --json keeps the hash under derived. Tests: the recipe and traverse CLI tests and one binary test over index, status, list-files, search and evaluate (the navigation commands print through the same stamp but would start a real rust-analyzer, which CI runners cannot rely on).
d402 2026-10-20 DECISION infra K0a, part 1: when the embedding service is unavailable (refused or failed connection, timeout, dropped connection, HTTP 5xx: models::is_service_unavailable) and there are no real vectors to lose (the vector cache is empty and the previous snapshot, if any, has the same embedding identity), indexing commits the chunks without vectors (Store::replace_vectorless: one placeholder per chunk, table metadata vectors = "missing", the real identity kept) instead of failing. Status and IndexReport report vectors_missing; Status.embedding_dimension is null then. The store refuses every vector read of such a snapshot (nearest search, stored vector, vector cache), and a search on it turns the semantic channel off with a warning, so lexical and LSP answer and traverse seeds from lexical. Any other embedding failure stays a hard error: an HTTP 4xx or bad response (configuration or protocol), a previous snapshot with vectors, or an identity change. Measured: one refused-port index run costs about 9 s on Windows (three attempts with 1 s and 2 s backoff); there is no embedder connect breaker, so part 2 (repair on search when the service returns) must throttle or probe before it retries.
d403 2026-10-20 DECISION ci Owner direction: the CI test job runs on Windows only, to save runner time; the Linux and macOS test runs (continue-on-error since d381) are removed and return in cycle 2. The minimum-version and canary jobs stay: they check the declared and the newest Rust toolchains, not platform support.
d404 2026-10-20 DECISION infra K0a landed with part 2. An embedder connect breaker (EMBEDDER_DOWN_WINDOW, 30 s, like the reranker's): any refused connection trips it; while it is open, query embeddings skip at once (the search fails open) and an index run makes one attempt without retries or backoff, so a restarted service is never refused untried. A vectorless snapshot is repaired by a search only under freshness = on-search, gated by the stale-check throttle, skipped without re-indexing while the breaker is open, and at most once per 30 s after a failed repair; a search that waited for another index run does not repeat it. manual and watch repair only through an explicit index or the watcher. Traverse search.vector on a vectorless snapshot sends no embedding request and records the reason. Measured on Windows: a refused-port index run costs about 9 s (three attempts, 1 s and 2 s backoff); under the open breaker an index run costs one refused connect (about 2 s) and a search about 0.1 s. Deferred to the M0 filler list: lci-maps vector_of over-counts one external call on that skip, and the hidden with_legacy_run record path builds its semantic map from the unadjusted channels.
d405 2026-10-20 DECISION infra K35a: the dependency policy is written in docs/development/testing.md ("Dependency policy"): reuse proven libraries under the code licences the project accepts; pin a 0.0.x crate exactly; heavy third-party code is an optional dependency behind an off-by-default Cargo feature, so the default build does not change; a change to the default build is said in the commit and checked with git diff Cargo.lock. Cargo.lock holds no 0.0.x crate today, so the pin rule changed no manifest.
d406 2026-10-20 DECISION ci K34a: cargo-deny (deny.toml) checks advisories, licences, bans and sources in a non-blocking CI job deny (cargo-deny-action, SHA-pinned). The licence allow-list holds the 14 licences the tree uses (permissive families plus MPL-2.0); GPL/LGPL families are added when a crate needs one. The workspace crates are private (publish = false on every member; [licenses.private] ignore = true), so LCI still has no licence file. Its first run found RUSTSEC-2026-0346 to 0349 in rustls 0.23.45; Cargo.lock moves to rustls 0.23.46, which fixes all four (one crate changed). Two unmaintained-crate warnings are ignored with reasons: paste (build-time proc macro) and unsafe-libyaml (reached only through a tokenizer LCI does not use). THIRD_PARTY_NOTICES.md lists every third-party crate with its licences, generated by cargo-deny (the command is in its header).
d407 2026-10-20 DECISION test K7a landed: the fake LSP server has a documents mode that answers from the documents it was sent, not from disk: a start-up walk of the root, didOpen/full-sync didChange with version checks, didClose back to the last snapshot, and didChangeWatchedFiles re-reading the disk at event time. A per-line toy parser answers workspace symbols, definition, references, document symbols, implementation, and call and type hierarchy; call-hierarchy prepare resolves the identifier at the position to its declaration and answers nothing off an identifier, as real servers do. Every message is logged in order to events.jsonl (with the request subject and a per-process spawn ordinal) and every ignored or odd notification carries a note, so a missing, late or reordered notification shows in the answers and the log. All nine tests fail when the store is bypassed. Known limits for later fixtures: ranges cover the name token only (multi-line end ranges go to K10a), comments and strings are tokenised, TS methods need a modifier. Other fake modes are unchanged.
d408 2026-10-20 DECISION maps K23a landed: `[run_profile.walk] groups = "tool" "claim"(default tool, today's numbers) andgrep_corroboration(0..=1, default 1.0). Under claim, edges that assert one claim count once: the claim key is (expanding node, target, family), with families Refers (calls and imports together), Structure, Implements, Mentions, Tests, ReadsKey, History, Near, Other; map and witness are not in the key, and ids unify only when the maps resolve to the same node id (lsp.live and grep.live resolve to SCIP ids; their file-node fallbacks stay separate claims until K10a). An edge is worth the noisy-OR over its claims, the rank boost counts groups instead of maps, and the score bound is off (the answer says so).grep_corroboration` is what a Mentions-only group adds. Claim with rrf fusion is a validation error. Handles keep the grouping (old handles load as tool); recipes walk under the run profile. The default profile hash moves only because the two leaves exist (a4898... to c10fe...).
d409 2026-10-20 DECISION lsp N19 and N24 fixed (M0 filler). [java] args is split: JVM options (-X, -D, -javaagent:, --add-*, --enable-native-access, @argfiles, the assertion flags matched exactly or in their : form, and the others listed in java.rs) go before -jar, everything else after -data <dir>; a relative [java] path resolves against the LCI process's working directory, like priors. C# project discovery skips linked directories (symlinks and junctions). The Equinox launcher jar is the unversioned one, else the highest version (numeric components, then the qualifier as text). On Windows a server named without an extension resolves across PATH to name.exe, then name.cmd (PATHEXT is not consulted), and a relative path with a directory part comes back absolute; a configured .cmd path already worked. An explicit [java] jvm_args field could replace the heuristic later.
d410 2026-10-20 DECISION maps K2a part 2 landed: [run_profile.traverse] map_freshness (default false: the answer is unchanged) adds maps[] to a traverse answer, one {id, observed, stale, lag} per enabled map that states a freshness. SCIP-built maps are snapshot; lag counts language source files newer than the index file, plus files changed, added or removed since this process first saw the index stamp, each once; stale is lag above 0; lag is null with a note when the call has no tree, the tree cannot be read or the index has no modified time, so "stale false" never stands for "not known". Live maps (grep.live, lsp.live, git.history, exact.pickaxe, probe.compile) are live; grep.live and lsp.live still place results by the index's positions, so a line shift is not covered by that label. Not seen: a change that left a file older than the index before the first sighting, and an edit that keeps the content hash. Cost with the key on: every call reads and hashes the tree (a stat-gated re-hash is on the M0 filler list). The run-profile pins move for the new leaf (default hash 854c4...).
d411 2026-10-20 DECISION maps K20a landed: `[run_profile.scip] mode = authoritative cache
d412 2026-10-20 DECISION maps N20 (c) and part of (d) fixed (M0 filler). (c): a watcher pass queued for the workspace write lock ends on unwatch (index_if_stale takes the cancellation token; a biased select drops the queued lock wait); a pass that already holds the lock still runs to its commit, like an explicit index. (d): the file lock was fixed by N91; the probe.compile scratch-checkout gate is now a try_lock loop bounded by the query budget, the budget is re-derived after the gate and after the scratch copy (no copy and no cargo run when none is left), and a probe's problem is per call, so one busy moment no longer marks later responses Partial. Still open, now under K37a: a dropped request's scan threads run to their end (needs cooperative cancellation in the scanner), and N20 (a), (b), (e).
d413 2026-10-20 DECISION maps K2a part 1 landed: the Freshness suite (tests/cases/freshness.rs) edits a fixture tree and queries every map but probe.compile, under on-search, manual, a line shift and a SCIP rewrite, with map_freshness on. Each map is Fresh (it saw the edit), StaleLabelled (its label says stale with a lag equal to the source files behind, and it still answered) or a listed Gap; EXPECTED_GAPS and EXPECTED_LABELLED are asserted in both directions, so a fix or a regression both fail until the list moves. grep.live and lsp.live are checked per generation with a probe symbol only the new tree has. Measured gaps with the label on: the search channels under manual indexing (no label: K2b), grep.live and lsp.live on a line shift (they place results by the index but say live: K2b labels, K10a fixes), lsp.symbols from an old server session (K8a, K7b-2). Without the key the labelled maps are plain gaps. The harness writes its own SCIP files with the scip crate instead of the planned shared scip_bytes helper (fixed columns and no symbol kinds left lsp.live and scip.impact unexercised).
d414 2026-10-20 DECISION lsp K7b part 1 landed: `[run_profile.lsp] sessions = per_call shared(default per_call: each traverse call starts its own language servers and they stop with the call, as before). Under shared, lsp.live uses the service's ownlsp::Manager(MCP), or one manager for the CLI process, so a server outlives the walk and is governed like the search channel's: idle sweeper,release_workspace, replacement of a stuck or failed server, shutdown. index_status.analyzers_running` then also shows a server a traverse call started. A successful readiness probe is remembered per provider for the manager's life; a failed one is retried. Recipes run no lsp.live (their walk maps are graph.scip and structure.contains), so both values behave the same there and the stamp stays true. The run-profile pins move for the new leaf (default hash 7c5a1...).
d415 2026-10-20 DECISION infra Nested cargo runs from xtask drop the variables cargo run sets (CARGO_MANIFEST_DIR, CARGO_MANIFEST_PATH, CARGO_PKG_*, CARGO_CRATE_NAME, CARGO_BIN_NAME, CARGO_PRIMARY_PACKAGE, CARGO_TARGET_TMPDIR, CARGO). Measured cause: ring's build script tracks CARGO_MANIFEST_DIR, so every switch between a direct cargo command and an xtask suite re-ran it and rebuilt ring, rustls, reqwest, lance and lancedb (about 300 s per Full clippy step on a warm target), and a target directory copied from another worktree was invalidated the same way. After the change a warm Full clippy step took 2 s with nothing re-checked and a warm Full gate 154 s. User settings (CARGO_TARGET_DIR, CARGO_BUILD_JOBS, CARGO_HOME, RUSTUP_*, PATH) are kept.
d416 2026-10-20 DECISION infra K0a follow-ups fixed (M0 filler). On a vectorless snapshot traverse search.vector no longer counts an external call it never makes: ChunkSearch::embedding_skipped (default none) lets VectorChunks::vector_of record the reason with 0 calls, and AppChunks answers it from vectors_missing. The legacy map path (with_legacy_run, test-only map entry points) now turns the semantic channel off on a vectorless snapshot as production search does, so it sends no embedding request and gives the same warning; its record shows the adjusted plan. Answers, notes and warnings are otherwise unchanged. Open: a breaker-open skip still counts one call (M0 filler).
d417 2026-10-20 DECISION infra Two rustls advisories published 2026-10-20 failed the deny job on every pull request: RUSTSEC-2026-0382 (rustls-webpki 0.103.15 may accept distrusted emSign intermediates) and RUSTSEC-2026-0383 (webpki-root-certs 1.0.9 bundles the distrusted emSign ECC root). Cargo.lock moves to rustls-webpki 0.103.16 and webpki-root-certs 1.0.10 (patch bumps; cargo deny check passes all four sections).
d418 2026-10-20 DECISION tests Integration tests that timed out under parallel builds (several cargo jobs and an SSD-heavy copy on one machine) were made robust without product changes: outer waits that are incidental to the behaviour use LOADED_BUDGET_SECONDS (30 s) while every timeout under test keeps its short value; the fake language server gains --answer-unhandled (null result for requests it has no answer for, as LSP allows) so priming no longer waits out a timeout; the cold-start traverse check warms a shared server first and asserts the first walk, and retries only per-call walks whose sole failure is the deadline. A fixed sleep stays only where it shows that nothing happens. N88 (two budget tests in indexing.rs) is separate and still open.
d419 2026-10-20 DECISION infra Every cargo xtask test suite now resolves features exactly as the Full gate: --workspace and --features local-code-intelligence/map-equivalence on every focused invocation. Measured cause: resolver 2 unifies dependency features over the selected packages, so a bare cargo test --test integration after a Full rebuilt reqwest, lci-core, lci-maps and the lance stack (15 crates, 490 s) and switching back rebuilt the root crate (52 s); after the change a focused suite right after Full compiled nothing. Full runs its test step with cargo-nextest when cargo nextest --version succeeds and LCI_NO_NEXTEST is unset (default profile: no retries, --no-fail-fast, a test past 10 minutes ends), then cargo test --doc; otherwise plain cargo test, which CI keeps, so both isolation models stay exercised. The language-server, model-client and process tests run at most four at a time: on one warm tree the test phase took 167 s at two, 98 s at four, 94 s at eight and 95 s with no limit (1724 tests passed in each).
d420 2026-10-20 DECISION maps K2b landed, ending M1: [run_profile.freshness] verify_on_read (default false: today). It reads and labels; it never refreshes the index or changes [index].freshness. A traverse answer (with map_freshness also on) checks what it cites against the working tree by content hash: every card gets file_changed (true, false, or null when no reference applies), the search maps get a lag counting the source files that differ from the snapshot, and grep.live and lsp.live stay live but say their places come from the index, with the SCIP index lag. A search report gets a freshness block: the snapshot lag, the lag of the channels that answered (a failed channel says so with no lag, one that did not run is left out), file_changed per hit, and lsp.symbols as a session answer that is not compared; it costs one read of the source files per caller search (timings.verify_ms), not per seed search. The run-profile pins move for the new leaf. M1 measured about 20 h of wall time against a 12 h sequential estimate, with M2 slices and a speed-up lane running beside it.
d421 2026-10-20 DECISION docs K36: docs/languages.md holds the language scope table, one row per language LCI touches (Rust, TypeScript and JavaScript, Python, C#, Go, Java, C, C++, Markdown): language server and adapter, live-acceptance steps, tree-sitter grammar and what is chunked, SCIP indexer, gold. Every cell comes from the code or the docs; cells the repository cannot show say "not verified". Today only Rust has a verified SCIP indexer and per-language retrieval gold; the structured-grep key sample is not gold. The evaluation set table now says the trait-implementation set ran (d392).
d422 2026-10-20 DECISION plan M1 sanity check of cycle 1, decided by the coordinator in the owner's stead (owner, chat 2026-10-20: all decisions delegated, to be noted). Two independent reviews of the plan at the end of M1 (Fable and GPT-6 Sol, read-only, the M1 sanity reviews) agreed on the profile pins, M2 parallelism, M4 risk and reuse. Decisions: (1) one reviewed golden file of the canonical default profile (S2) replaces the two literal profile pins, blessed with BLESS_GOLDEN=1, so keyed slices conflict only on golden lines; K7b-2 merges first, S2 next, later keyed slices rebase onto S2. (2) M2 runs as three lanes, {K7b, K10a}, {K8a, K7c}, {K9a, K9b}, converging on K11d; K20b moves before K11b so the default is tested with SCIP absent. (3) K11d absorbs N8 (15 to 25 s dark windows) and N101 (load-sensitive 5 s probe); new K11e (LSP down-window breaker; the embedder has had one since d404, LSP none); K11b waits for K11d, K11e and K20b. (4) K8a gains a real-server edit check and K10a a shifted-line placement check. (5) Reuse: K21a builds on the existing in-process BM25 scorer, K22a uses ripgrep and follows K10a (OutlinePlaces is the occurrence-to-node lookup d394 lacked), K19 wraps ast-grep-core, K31 consumes Opengrep. (6) K26 becomes grep.live proposes and lsp.live confirms the top-k frontier, with no Codanna dependency; K30a becomes caller intent through the existing steer.policy, with query features left to the cycle 2 screening (d391); K11c is folded into K3a (a per-query budget-hit field plus priming). (7) Dropped after the premise was checked in code: K25, because traverse.max_depth is already a profile key and changes the profile hash (lci-core config profile, key list and hash tests), and K37a, because the LSP transport already multiplexes requests by id with a pending-request table (lci-core lsp transport); the N20 parts K37a was meant to absorb stay open on N20, and K37b's load test shows whether per-server ordering ever needs a queue. (8) M4 is split, not shrunk, into M4-core (K26, K9c, K12a, K12c, K18a, K19, K32 sized honestly, K37b, K37c, K36, K6a, K6b) and M4-conditional (the Codanna block K14b to K14d and K16, K15a, K17, K12b, K31, K4a and K4b, K5a and K5b); conditional slices still run in cycle 1 when their condition holds, K4a and K4b stay in cycle 1, and the finish line is M2 + M3 + M4-core plus every unblocked conditional slice. (9) K13 follows K29 and the stat-gated re-hash, which moves from the M0 filler into M3 as K38. (10) Stale rows fixed: K32's tests.tested_by and docs.mentions maps do not exist (S each); K20b's check is its own tests; K7c's check names K11d's latency measurement; K21a and K22a ceilings carry lsp.symbols and rg baseline arms. (11) Ceiling and mechanism checks show an arm works; no slice claims a gain over rg or LSP before the cycle 2 paired screening. (12) The time table is re-based at the end of M2 with merge wait as its own column (the warm Full gate is now about 3 min and CI about 8 min). (13) K14a (offline proof for Codanna 0.16.0 as an optional crates.io dependency) is done and its verdict is NO-GO for K14b as specified: crates.io stops at 0.16.0 (0.17.x is git-only); the dependency adds 184 crates (fastembed with ort and a build-time ONNX Runtime download, tantivy, rmcp are not removable by features); tree-sitter 0.25 and 0.26 both declare links and cannot share a graph until K15a, which must also move the javascript and python grammars to 0.25; TypeScript edge quality is unmeasured; an offline TypeScript ground truth (384 and 291 distinct caller-callee pairs) is built. K14b is blocked on the owner and the Codanna repo owner; K14a2 (run the built 0.17.1 binary on that ground truth, kill rule pre-registered) is held for the owner.
d423 2026-10-21 DECISION engine K28: the traversal handle is specified in the handle.rs module doc and pinned by two tests, with no behaviour change. A handle is h and 16 lowercase hex digits (SHA-256 of the snapshot JSON); its file under <data_dir>/traverse/handles is never removed (no TTL, no cap); it is bound to the canonical workspace root and the index file's path, size and modified time, so a re-index refuses it even for the same bytes and another spelling of the path does not. Both texts for a malformed handle (app pre-check at 64 characters, store shape check) stay as they are; the agent-facing handle argument text is unchanged (N32 owns model-facing string budgets). The false pins sentence in steering-ops.md is corrected. K28 plan (private run record)
d424 2026-10-21 DECISION lsp K7b part 2 landed: [run_profile.lsp] outline_cache (default false: every outline lsp.live needs is a textDocument/documentSymbol request, as before). With true the language-server manager keeps each non-empty outline under the file's content hash (the index's sha-256) and the server session that answered, and answers the same unchanged file from memory; an edited file, or any file after the server restarted, was released, replaced or stopped idle, is asked again; an empty outline or an error is never kept. Only servers that hold a file's current text at every request use it: pyright, gopls, jdtls and clangd, whose adapters re-send the file in didOpen before each request; typescript-language-server refuses a repeated open, so it goes to K7c (document lifecycle). K8a must drop a file's cache entries when it syncs a change. The run-profile pins move for the new leaf.
d425 2026-10-21 DECISION engine K29: likely_complete, the score bound and tau have written meanings (engine.md "Written meanings", the Rust docs, the steer.likely_complete and steer.tau argument text, config.example.toml), with no behaviour change. found counts the nodes a map offered, adopted or not; the estimate is a hint (maps on one graph are separate finders) and shows only in a checkpoint; stop_reason: bound ends complete with no handle, checkpoint or estimate and fixes the top-k set, not its order. tau is a switch today: the rules rung is 1.0 or 0.0 confident, so every tau in (0, 1] acts alike and tau = 0 lets an unmatched list decide, so no stop escalates (a rule's own stop and a list cut short still end the call); a graded tau waits for System One (S8). Four unit tests pin it (tau switch, offered-not-adopted found, estimate picking and fraction <= 1, the bound's empty answer) K29 commit
d426 2026-10-21 DECISION infra S2: the two literal run-profile pins (the key-set hash and the default hash) and the canonical spot-check string are replaced by one reviewed golden of the default profile, lci-core/src/config/golden/run_profile_default.txt: one line per leaf with its default value plus the default hash as the last line, regenerated with BLESS_GOLDEN=1 and shown as a readable diff when a leaf is added, removed or re-defaulted. A fixed-input literal pins the hash function. Keyed slices now conflict only on golden lines, so they no longer merge one at a time (M1 sanity decision 1, d422). S2 commit; d422
d427 2026-10-21 DECISION tests Test speed (owner priority lane): the slowest tests now run faster with every assertion kept. lci-core chunk extraction 28 s to 3 s and the incremental-scan property test 26 s to 2 s (independent files and seeds on threads, failures re-raised with their item); the MCP profile-hash tests 4.5 s to about 1.3 s (references served by the C# fake: the Python adapter sleeps a fixed 3 s after didOpen, which K7c removes; the Python adapter stays covered by the navigation tests); the freshness tests split into independent halves (longest about 13 s, was 19 s). The Full gate's test phase measured 93 s. lsp.live's --version readiness probe now uses readiness_timeout_seconds (default 5 s as before, clamped 1 to 30 like the service probes), so test fixtures widen it under load; this ends the N101 flake, and K11d still measures the probe.
d428 2026-10-21 DECISION security K37c: probe.compile (which runs cargo check, and so the tree's build scripts and procedural macros) is registered for a traverse call only under the existing process-wide grant rust_analyzer_trusted = true; without it a call that names the map gets a skipped note in notes and warnings and runs its other maps. Under the grant the answer notes that build scripts execute and the service logs one warning per process. Cargo always runs with --offline, CARGO_NET_OFFLINE=true and emptied compiler and Cargo wrapper variables; these do not confine build scripts, so the grant is the control. No sandbox without Docker at this size; the grant is reused, not renamed or split, since it already means the owner trusts the tree to run code (GPT-6 Sol review agreed). A default change: callers that named the map without the grant lose it. K37c commit; Fable and GPT-6 Sol reviews
d429 2026-10-21 DECISION lsp K9a: lsp.live asks textDocument/implementation at each symbol node under the new key [run_profile.lsp] implementations (default false) and offers Implements edges from an interface or trait member to its implementing members, in the direction of scip.implements. It is the third request of a node behind the same max_external_calls gate; a failed request is recorded without dropping the definition and reference edges. Default off: one more external call per symbol and not every server answers. The key is in the run-profile golden (S2, re-blessed) and the recipe stamp. K9a commits
d430 2026-10-21 DECISION tests Three test-infrastructure fixes (N57, N81, N82). N57: the live-acceptance cleanup (xtask/src/live_acceptance.rs and the workflow sweep step) no longer deletes every lci-* temp directory. Each run now puts its fixtures under one run-unique root (lci-live-run-<pid>-<stamp>, or lci-live-run-<run id>-<attempt> under RUNNER_TEMP in the workflow) passed to the steps as LCI_ACCEPTANCE_FIXTURE_ROOT and removes only that directory, so parallel runs and other worktrees are untouched (Fixture::create falls back to the temp directory when the variable is unset; a unit test pins which directories are removed; the workflow YAML is not runnable locally). N81: the test helper process_is_running checks the exit status and stderr of tasklist (Windows) and ps (Unix; exit 1 with no output means gone) and panics with the program output on a failed query instead of reading it as "not running". N82: Windows finish_holder_test fails when a spawned server has no sleeper pid file after a bounded LOADED_BUDGET_SECONDS wait, instead of skipping the ordinal, and accepts only a cancelled JoinError from the aborted call. Also two init refusal tests in tests/cases/config.rs bounded wall time at 30 s and failed under parallel builds; their "refused" status is decided from the URL string with no outbound probe, so the bound is now a hang guard of twice LOADED_BUDGET. this commit
d432 2026-10-21 DECISION walk K24a: log_odds is a third value of the existing [traverse] fusion leaf (boost stays the default), not a new walk.fusion key: the leaf already names the fusion in the profile, the handle and the recipe stamp, so a second key would give one switch two homes. Capped log-odds over the sources rrf uses (one per independent map, the dependent maps together, a seed's own map): score = sum over sources of weight * clamp(ln(p / (1 - p)), -3, 3), p the best potential the source delivered the node with, p held in (1e-6, 1 - 1e-6), and a source that delivered other results but not this node costs weight * 3 (LOG_ODDS_CAP, a named constant). Silence costs the cap rather than 0 because at 0 two weak sources always beat one strong one, which is rrf again. The score bound is off and ties go by node id, as rrf; the handle writes fusion when it is not boost (old handles read unchanged); claim grouping refuses it as it refuses rrf. No default change: the run-profile golden does not move. The cap is a constant until a measurement asks for another value (cycle 2 screening). The map weight enters twice (in the hop potential and as the multiplier), so a map at weight 0.5 or less never adds a positive term on a first hop: its deliveries only cost less than silence; a delivery at potential 0 counts as silence. K24a commit
d433 2026-10-21 DECISION lsp K8a: [run_profile.lsp] sync, default "off" (a language server walks the tree when it starts and is told nothing after, as before). With "watch" a long-lived language-server manager (the MCP and REST server's, which navigation, the search channel and sessions = "shared" traversals use; the one lci traverse builds under "shared") starts an lsp::sync::WorkspaceSync with a workspace's first session and stops it with the last (release, shutdown, idle sweep, discard): a notify watcher of the root (ReadDirectoryChangesW, inotify, FSEvents; polling at watch_poll_milliseconds when it fails), opened and walked on blocking threads, whose events are drained into one workspace/didChangeWatchedFiles per batch for every session of the workspace, each source file typed by the disk (created, changed, deleted) against a (mtime, length) table from one chunk::source_files walk (walked again only after a reported overflow or watcher error). Every request drains what was already reported first; nothing waits on a walk. Lock order: drain lock, then the session registry (released before sending), then syncs. A synced change drops the changed files' outline-cache entries in that workspace (d424). Per-call managers never sync (their servers start on the current tree and die with the walk), so under sessions = "per_call" the key changes only the profile hash. Known limits: on Windows notify 8.2 silently stops watching a directory when ReadDirectoryChangesW fails with a buffer overflow (N102); single events are not filtered by .gitignore; a renamed directory arrives as the directory alone, so the files inside are not sent; prose files are not sent (K12c). Default off because it adds a watcher thread and a walk per synced workspace and changes what long-lived sessions answer, and only the shared and service sessions gain from it. New dependency notify (CC0-1.0). K8a commit; Fable review
d435 2026-10-21 DECISION eval K3a-1 (xtask only, no product change): maps bench writes the cost of each traverse item next to its metrics and the cost per stratum, and maps compare leaves out any item a budget cut. items.json records gain external_calls, physical_external_calls, lsp_ms (milliseconds of the lsp.live map, 0 when it did not run), answer_tokens (chars/4 of the scored result texts; the set total of the trend row is now their sum) and, only when a budget cut the walk, budget_hit (pops, tokens, external_calls, deadline, lsp_deadline), read from the reply's stop_reason and notes (the engine ends a walk on budget only for tokens or an unadopted result, and a spent external-call allowance never ends a walk: the walk goes on with the maps that need no external call and the reply says so in a note; so budget is tokens always, and external_calls is set from that note alone, when no pops, budget or deadline stop ended the walk first; the note is also written as external_spent: true on the record whatever ended the walk). score.json gains a costs block (overall and strata.<dimension>.<value>: n, mean expansions, external calls, lsp.live ms and answer tokens, budget_hits counts) beside the scorer's untouched strata; supplement.md tables it per plan dimension. ItemFlags.budget_hit joins any(), so maps compare excludes budget-hit items by default (including every pop-capped walk) and --keep-failed keeps them; the exclusion counts are printed, in total and per kind and side; maps compare also compares external_calls, lsp_ms and answer_tokens by default. Old runs stay readable (missing keys are undefined for that metric, no costs block means no table); the trend row format and every scorer are unchanged. sim runs flag a pop-capped or token-capped lci call in meta.json flagged_items from now on. The search-evaluation half (K3a-2) is still open. K3a-1 commit
d431 2026-10-21 DECISION seeds K21a-1 landed: [run_profile.seeds] bm25 (default false) and the opt-in map seeds.bm25. With the key off nothing changes: the map is not in the default set, naming it gives the note "seeds.bm25 is off ([run_profile.seeds] bm25 = false)" and no seeds, nothing registers and the entity index is never built. With true the map joins the default set of a call that names no maps and runs when named, needing no --root. It is BM25 over the SCIP graph's function and method nodes, in process, with no new crate and the existing lexical::score_chunks unchanged: each node is a document of three fields (tokens of its name, of its qualified path (package, modules, types, member and the file's path) and of its documentation), a field that holds a question term is one credited line, so tf is the number of fields (1 to 3), document frequency counts nodes, and length is the node's token count; a term of at most 4 characters must be a whole token, a longer one may sit inside a token (WORD_MATCH_MAX_CHARS). Merge (coordinator decision B): the top seed_k nodes the hybrid search did not already give are appended after its nodes (seed_source hybrid+bm25, seed_hits how: "bm25"), or are the start nodes when the hybrid search gave none (bm25, with the reason in seed_fallback; the name-token stand-in then does not run); no RRF fusion here (K24a). Decision D accepted: query_terms drops question words under 3 characters. The documentation of a node is read from the SCIP index file only when the map first runs for an index stamp (read_symbol_docs: a second parse that copies each function symbol's lines cut at 1024 bytes, on a blocking thread, with the entity index built there too); the graph, read_documents and every load with the key off read and keep none, so the key off costs nothing. RawDocument is unchanged, so the roughly 40 literals of it stay as they are. seeds.bm25 is classified as a SCIP-built map for map_freshness. The recipes' seeds are given, so they run the same. The run-profile golden gains run_profile.seeds.bm25 = false; the MCP schema goldens list no map ids and did not move. Not verified: whether rust-analyzer scip writes documentation (if none, the doc field is empty and names and paths carry the ceiling); the ceiling itself is K21a-2 (benches), with the symbols and rg --fixed-strings baseline arms folded into K5a. K21a-1 commit
d434 2026-10-21 DECISION lsp K9b: lsp.live asks the call hierarchy of each symbol node under the new bool key [run_profile.lsp] call_hierarchy (default false; one key for both directions, planned decision A; no enum): textDocument/prepareCallHierarchy, then callHierarchy/incomingCalls and callHierarchy/outgoingCalls of the item that answers (sent back verbatim; its place is the selectionRange), each request behind the uniform found.calls < max_calls gate (B) and counted, so up to three more external calls per node and none after an empty prepare. Callers and callees are CallsOrRefs edges (d397: no new EdgeKind), witness Exact, one per destination per expansion (a destination that definition or references named keeps that edge), seen at the smallest place of the call (fromRanges). Every error reply is recorded and keeps the other edges; the -32601 of a server without callHierarchyProvider is the capability check (C: no fake flag, a unit test instead; server capabilities are still not read). Rust-analyzer's call hierarchy missed 16% of the call pairs SCIP has (L7), so this map complements graph.scip. The key is in the run-profile golden (S2, re-blessed) and the recipe stamp. K9b commit
d436 2026-10-21 DECISION walk K24b: `[run_profile.walk] pricing = "rank" "relative"(new leaf, defaultrank= today's arithmetic, so no default change; the default profile golden gains the linerun_profile.walk.pricing = "rank"and the hash moves only for that, 2778289b... to 73e45557...). Above the gate (8 candidates) rankrofncandidates is pricedprior / (1 + ahead + r * gate / n)underrelativeinstead ofprior / (1 + ahead + r), with nthe candidate count before the beam (the beam only cuts) andaheada trait seed's implementors (0 elsewhere, so the plan's1 + r * gate / nfor an ordinary node). Theaheadterm sits outside the factor on purpose:(ahead + r) * gate / nwould raise the remainder's top price when a sibling is added past the gate. This form equalsrankexactly atn = gate(continuous at the gate for every node, within 12 % of today at n = gate + 1 for ahead 0) and flattens a wide fan-out: 80 callers price the 9th edge atprior / 1.8, not prior / 9. At or below the gate nothing changes. The gate factor is a constant until a measurement asks for another. The pricing stays out of the handle, like gate and beam: a resumed call prices under the profile it is given and the handle does not refuse a different pricing, so one walk can mix pricings across resumes, as it can mix beams (the stamp of each call names the profile it ran under). The starttrace event namespricingonly underrelative`, so default traces are byte-identical.
d439 2026-10-21 DECISION tests Load-flaky timing tests fixed in the tests, never by throttling the machine and without weakening what a test proves (N88 closed: a test fault, the product caps the stage at its budget). Rules applied: a request timeout a test does not exercise is LOADED_BUDGET_SECONDS (the four fake-server fixtures of navigation.rs default to it, not 1 s; the idle, release, restart, loading-error and position-retry tests lost their 2 s and 5 s overrides); a test about a timeout keeps a short bound but gives the fake something that really outlasts it (timeout mode: 5 s against an --initialize-delay-ms of 30 s, asserting the product's "timed out after 5 seconds"; the stalled-write test waits for the fake's start marker before initialize and asserts the product's reason text, with elapsed in the message); a window that can lapse is made wide and aged by backdating instead of slept through (models.rs breaker tests: 30 s window, age_past_the_window); budgets are derived from LOADED_BUDGET (lsp.live version probe via readiness_timeout_seconds / open_with_probe_timeout in the shapes tests; git_history pre-merged build per_node 30 s; the t0 lexical map 15 s budget with real ripgrep; process-end waits 30 s). Stuck-span test: 5 s limit with a result that arrives 4 s late (new fake flag --symbol-ok-delay-ms), so the margin for a single call is 3 s instead of 1 s while the reset on a result is still the only thing that keeps the session. Progress-paced test: 8 s timeout, three 3 s gaps after the priming request (new flags --progress-count, --progress-gap-ms, --progress-skip-priming). The fake records exit before its other disk writes. N88's two tests: 15 s priming against 6 s ceilings, and 12 s budget against 4 s symbol queries (the start allowance was 3.5 s). Product finding, not changed here: N103 (initialize runs under the per-request lsp_timeout_seconds). Checked with a 20 to 30 process CPU burner beside the suites (scratch), not four cargo builds; a_server_that_stops_reading_is_replaced_once (its restart's initialize is bounded by the 2 s write bound) and history_stops_at_the_head_the_map_was_opened_at (30 s git timeout) still fail under the heaviest burner (26 to 30 processes) and are left. Also fixed on the way: answers_to_cancelled_requests_do_not_make_a_server_stuck (warm-up call before the 300 ms calls) and the discard holder test (12 s timeout). fix/load-flaky-tests commit; suite counts in its message
d437 2026-10-21 DECISION traverse K27: paths on cards, [run_profile.traverse] card_paths (default false). With it on, every walked card of /results and /checkpoint/answer gains kind (the edge kind of the hop that found the node) and path (every hop from its start node, {node, map, kind, witness}, depth + 1 entries); visited_cards, frontier and first-stage cards stay as they are. The kind is stored on State (the events that carried it are not in a resumed result, so rebuilding paths from hop events would show null on every continuation); a snapshot writes it only under the key (additive kind per state and card_paths: true, handle VERSION unchanged), so with the key off the trace, checkpoint hash, handle and answer are byte-identical (tested) and card_json and checkpoint_json are untouched. A resume under the key from a handle made without it shows kind: null on the earlier hops and a note says so. Shipped behind the default-off key even if answers grow by more than 50 percent of characters (coordinator decision C); measured as answer characters over 4: unit-test fixture 616 tokens off, 856 on; one real walk 3807 off, 5160 on (+35.6 percent, the checkpoint's answer repeats the cards), the results list alone +87.5 percent (README bullet "Paths on cards"). Run-profile golden re-blessed (one line); no MCP schema or response golden changed. K27 commit
d441 2026-10-21 DECISION eval K3a-2: the search evaluation records a language server past its search budget as data and warms the servers before the first query. SearchReport gains lsp_over_budget (the providers that missed lsp_search_budget_ms; absent from the JSON when empty, so a search without a budget hit serializes as before; the note stays). QueryMetrics gains lsp_budget_hit (always written, an old report reads false) and lsp_providers_over_budget (skipped when empty); AggregateReport gains lsp_budget_hit_queries and priming (workspace key, provider, {primed, ms, error}; skipped when empty). lci_core::lsp::Manager::prime(workspace, timeout) starts every enabled adapter whose version probe passes and waits for its priming, bounded by the timeout in total, an error per provider instead of a panic (decision B: every enabled adapter, not only the languages the workspace holds, so rust-analyzer's missing binary is a recorded failure, not skipped); App::prime_language_servers wraps it. evaluate primes each workspace key once before its first query when [channels] lsp is on; RunOptions.prime defaults to true and evaluate --no-prime keeps the cold first query (the user-facing flag, hence this row). compare and evaluate --baseline leave out a pair in which either side has lsp_budget_hit and count it (budget_hit_pairs, _baseline, _candidate, printed on the pairs line); --keep-failed, the name maps compare uses, keeps them. No run-profile key, no config key, golden unchanged; priming starts only adapters the configuration enables and is an evaluation-harness default, not a service default. Per-tag lsp_budget_hit counts (decision C) are a follow-up, not in this slice. A report written before this slice has no lsp_budget_hit (it reads false) and its first query per workspace was cold, so compare of an old report against a new one still pairs that cold first query. K3a-2 commit
d440 2026-10-21 DECISION freshness K38: [run_profile.freshness] stat_gate, default false (every behaviour a leaf whose default keeps today's; the reviewed profile golden gains the one line run_profile.freshness.stat_gate = false). With true the read of the tree that map_freshness makes per traverse call (freshness::tree_view) and that a caller's search makes for verify_on_read goes through one lci-core function, chunk::source_hashes, on K8a's lister (source_walk/source_entry): a process-wide StatGate per root (canonical path, a call holds its root's gate for the walk and no other root's) keeps (modified, len) -> hash per listed file, reads and hashes only files whose stamp is new or changed, keeps "skipped" for a non-source .ts catalog, never gates a file with no modified time, and drops the entry of a file that is no longer listed. The per-file read, skip, decode and hash lines of the index scan moved into one read_source that both paths call, so a hash is the same function either way; with the key off the hashes are the same bytes through it, and the parse of changed files (whose chunks tree_view and verify_on_read threw away) is gone on both paths. The index scan (scan_incremental_with) still reads every file, the fingerprint and the manifest are untouched. not_newer takes the lister's modified time instead of a second stat per file. Known gap, documented in the README, the example config and the profile doc and asserted by the_stat_gate_misses_a_same_length_same_mtime_edit_and_says_so: a same-length edit that keeps a modified time older than 3 seconds before the previous read of the file (a deliberate set_modified, or a clock that went back) is not seen until the file's next edit. A racy-stamp guard (RACY_WINDOW, 3 s) closes the rest: a file whose modified time is within 3 seconds of the read that hashes it (or in its future) is not trusted, its entry keeps no stamp and the next call reads it again, which covers a same-tick write and the 2 s stamps of FAT and exFAT, SMB shares and 1 s filesystems (a_stamp_near_now_is_racy_and_a_same_length_rewrite_is_seen; the measured counts below are for files older than the window); the labels and file_changed are otherwise equal to the full-hash path's (with_the_stat_gate_on_the_labels_equal_the_full_hash_path, the_lag_is_the_same_with_the_stat_gate_on_and_off, gated_hashes_equal_the_scan_hashes). Measured (the speed proxy, files read per call, no wall-time claim; Windows, 2026-10-21, source_hashes_with with a counting reader): a 40-file fixture reads 40 files on every call with the key off; on, 40 on the first call, 0 on the second, 1 after one file's modified time moved. This repository (254 source files by the index's walk): 254 per call off; on, 254, 0, 1. Wall time of the call (one run, noisy, a cold first call): 828 ms off (first call), then on 917 ms first, 127 ms with nothing changed, 116 ms after one touch (what is left is the walk and the stats, not timed separately). Default on is a later slice with timings.verify_ms numbers and the GPT-6 Sol review that a default change gets (K13 waits for it). K38 commit
d445 2026-10-21 DECISION process S3: docs/decisions.md is merged with merge=union (.gitattributes), so two PRs that each append a row no longer conflict on the tail; cargo xtask docs check (in cargo xtask test --suite Full and CI) now fails on conflict markers (<<<<<<< , >>>>>>> , a bare =======) in any tracked Markdown file and on a duplicate decision id or a row whose first cell is not dNNN in the log (ids may be out of order). Risk: a union merge of an edited existing row against an append keeps both versions of the row; the duplicate-id check catches that. GitHub's web merge ignores attributes, so only local merges and rebases get the union behaviour. S3 commit
d444 2026-10-21 DECISION traverse K33a-1: trajectory events for evaluation runs, behind lci traverse --trajectory only (coordinator decision A: a CLI-only Dirs.trajectory_candidates: usize, 0 everywhere else; no [traverse] or [run_profile] key, so no golden line, no profile-hash change, no MCP or REST schema change, and nothing over MCP or REST can switch it on). With the flag, each counted pop writes one pop event just before its expand event: {ev, pop, free, node, priority, depth, via, parent (the parent state's node or null), frontier (queue length after the pop), discovered, tokens_left, calls_left, candidates: [{node, priority, depth, via}..]}, the candidates being the best TRAJECTORY_CANDIDATES = 8 queued states (decision B: the choice is made at the top of the queue) after dropping entries already expanded or cleared, best first. A pop that is put back (cut, or dropped for the budget) keeps its pop event, and its retry writes another one in the next call's trace, like its second expand event; K33a-2 counts pops from end.totals and marks such a row counted: false. Cost when on: one sort of the live frontier per pop; when off: one integer test. Size: about 1.2 KB per event with 100-character ids, so at most about 240 KB more per trace at the 200-pop cap. Off, every trace, answer, checkpoint and handle is byte-identical (the existing equal_runs_write_byte_identical_traces_and_handles still passes; a new test shows that, with the switch on, the trace without its pop events equals the plain trace and the stop hashes, totals, handle and snapshot are equal). On, the answer's trace.hash and trace.events move (items.json carries neither). The handle does not record the switch: a resume is given the flag again. maps bench --trajectory only passes the flag to the CLI (CliTraverser.trajectory, not in RunConfig, so no report file changes). The unknown-gold label is null, never false (decision D) and the join is a separate command (decision C): K33a-2 (maps trajectories, the join of these events to the gold outcome) follows. K33a-1 commit
d442 2026-10-21 DECISION lsp K10a-1: [run_profile.lsp] places, default "scip" (today: the SCIP table alone, no place for a symbol the index lacks, so no request and no edge under scip.mode = off, d411). "outline" layers OutlinePlaces over it: the first time a walk expands a symbol the index places in a file, or a file or chunk, lsp.live asks the server's textDocument/documentSymbol once per file and map instance (one counted external call; a failed request keeps the index's place and is not asked again) and, where a file is learned, the outline's places win over the index's (the LostEdge gap of lsp.live closes under outline (PLACED_BY_OUTLINE); it stays labelled SiteDrift because card sites are the index's). A member takes the index's id for the same file and name (nearest line; a function or method of either kind), else a minted SymbolKey with the file's real language (sym:csharp:Shapes.cs::Area/method, planned decision B; the SCIP ids keep rust, a known wart of default_node_ids), equal names numbered in document order. Kinds with a node: LSP 12 function, 6 and 9 method, 5 and 23 struct, 11 trait (decision D: class and interface map to struct and trait now, K10b re-maps), 10 enum, 2-4 module, 14 const; fields, properties and variables get none until K10b. The outline range of a nested DocumentSymbol now runs from its name to the item's end, so Member::end_line is the item's last line, and ScipPlaces::defined_in reads the name's own line before the range. "symdefs" is the extractor, not the store (decision A): the bundle store sym.defs@1 is filled only by bundle::sync from the index manifest, which a traverse call does not hold, and K10a-2 will join Rust members to chunk::extract_for_path declarations. A Symbol seed whose file was never outlined still has no place (decision C: module-path inversion goes with K21a). The key is in the run-profile golden (re-blessed: the new key line and the hash) and the recipe stamp. K10a-1 commit
d447 2026-10-21 DECISION eval maps bench --config <toml>: one configuration overlay for every lci traverse call of a run, so a bench arm can switch a [run_profile] key (K21a-2 seed arms, K24c ceilings: fusion log_odds against boost, [run_profile.walk] pricing relative against rank, [run_profile.seeds] bm25). Mechanism: the CLI's own global --config (the same file format and loader as every other command, LCI_CONFIG stays the fallback when the flag is absent), passed before the subcommand to every call of CliTraverser (the item calls, the default-maps probe and the map preflights); CliTraverser.config is None everywhere else (sim), so nothing changes there. Run identity: the file is read and hashed before any other work (a missing file stops the run, before the gold is read), and its SHA-256 enters RunConfig.overlay: the row's note gains config=<file stem>@<first 12 hex of the hash> (no path, so a committed trend stays machine-neutral) and score.json gains config_overlay {path, sha256, profile_hashes}, the last being the distinct profile_hash values the traversals reported in their raw output (the effective run profile; the CLI already stamps it on every answer), so two runs with different overlays never read as one. --rescore accepts the flag for the identity only (no traversal runs). Without --config no argument, note, row or file changes (tested: the command line, the note parts, and run.json, items.json and score.json equal to a run with an overlay minus the one added block). The overlay replaces the config the CLI would otherwise find, so it must carry the data directory and service ports the run needs. K21a-2 and K24c prerequisite
d443 2026-10-21 DECISION eval K5a-1: cargo xtask maps baseline rg --set traits or --set where-to (with --gold-dir, --tree, --out-dir; optional --top-k 10, --wave, --limit, --rg, --decl-first, --max-per-file 50), an xtask-only baseline arm beside the impact and history arms (no profile key, no config field, no golden line, default change none). Per item: needles from the question only (the last segment of each backticked name, at least 2 chars, deduped, at most 4; none backticked: lexical::terms cut to 4, matched case-insensitively and counted apart in meta.json; neither: no answer), one rg --json --fixed-strings --word-regexp --max-count run over the frozen tree with the language adapters' globs, answers {path, line}. Order: traits by distinct needles hit desc, then path, then line, one answer per line; where-to one answer per file (best line by the same order), files by matched lines desc, then max needles, then path; --decl-first puts lines with a declaration keyword before the first needle ahead (wave baseline-rg is rg as typed, baseline-rg-decl is rg as an agent reads it; both are baselines, neither tuned on the gold). Own rg runner in xtask rather than waiting for K22a-1's search_literals (the command line is the same; a later XS can swap it). expansions and model_calls are 0; the K3a-1 cost keys are absent, so maps compare pairs none on them. d422 (10)/(11) hold: a baseline beside the seed arms, never a gain claim. Three rules, named per wave in meta.json["rule"]: fixed (the default above, wave baseline-rg), fixed-decl-first (--decl-first, wave baseline-rg-decl) and regex (--rule regex, traits only, wave baseline-rg-regex), which reproduces the earlier rg_arm.py driver behind d392's rg row: one rg --sort path --glob *.rs call per question with an impl-header regex and a derive regex built from the trait name the question gives (Q1/Q2/Q3 templates read from the question text), Q1 one answer per matched line (cut to --max-answers 40), Q3 the first fn member at brace depth 1 of each impl block, Q2 as Q3 with headers naming the type after for first (cut to --top-k); the fixed rules do not pair with d392, the regex rule does: whole-word fixed-string needles hit every mention of a name, not its impl headers, so on traits the fixed rules score far lower (pooled Q1+Q3 set_f1 0.15-0.34 on tauri, bevy, deno against 0.66-0.75 for regex) and would flatter the seed arms. rg has no total-output cap or timeout beyond the per-file --max-count (out of scope here; a later slice may add one). The LSP-over-MCP arm is K5a-2, after K11d-1's harness. K5a-1 commit
d446 2026-10-21 DECISION lsp K7b-3a: readiness signals per language server, as a report with no key and no change to a request, repeat or answer. The transport keeps the is_ready latch as it was (the adapter's ready_predicate matched once, never cleared) and gains a watch of ServerState { busy, changes, changed_at } fed by a new adapter method busy_predicate (default: never matches, so six adapters are untouched; rust-analyzer: experimental/serverStatus with quiescent == false; jdtls: language/status Starting, added in java.rs at the coordinator's request; jdtls never waits for ready, so its session reads busy between initialize and Started): a ready match clears busy, a busy match sets it, each matched notification bumps changes. JsonRpcClient::spawn keeps its signature (it calls the new spawn_with_busy with a predicate that never matches), so no existing caller or test changed. Manager::readiness(provider, workspace_id) returns Option<ServerReadiness { state: starting|ready|busy|failed|stuck, primed, progress, ready_changes, age_ms, changed_ms, idle_ms }> (None with no session; it does not touch last_used, as running). Read by Status.analyzers (new field of index_status, one entry per adapter, null when the workspace has no session for it; analyzers_running unchanged), by the search over-budget note (appends "Server state: csharp-ls: starting for 2 s" or "rust-analyzer: busy for 3 s, 2 ready changes"; the first sentence is unchanged) and by lsp.live (one note per provider whose state is not ready when the walk ends; a ready server adds nothing). Fake server: --status-cycle (ready, then busy after initialized; ready again after the answer to the next request) and --status-shape rust. Tests: a_busy_signal_flips_the_state_and_counts_the_changes, manager_readiness_reports_starting_then_ready_and_the_status_shows_it (starting under the fake's own --initialize-delay-ms, ready, failed for a missing binary, null for the six others), a_busy_signal_makes_the_session_report_busy_and_then_ready_again (the session reads busy with two changes while the fake holds the priming answer, then ready with three), the rust and jdtls predicate units, the_server_state_word_follows_the_precedence (the stuck state is a unit of the precedence function, since a stuck session is replaced by the call that notices it), the_readiness_clause_names_the_state_the_duration_and_the_changes, and extensions of the mcp status check and the cold-server note check; none sleeps on a timer. K7b-3b ([run_profile.lsp] busy_repeats, which would make a busy rust-analyzer's "file not found" transient again) is not built: the sanity-8 knob freeze defers every new key until the K24c ceilings run, and K11d-1 measures the N8 dark windows with this report first. K7b-3a commit
d438 2026-10-21 DECISION measure K11d-1: cargo xtask maps lsp-cost (xtask/src/maps/lsp_cost.rs, questions xtask/questions/lsp-cost.json) runs serve on 127.0.0.1:8769 per arm over MCP search_code mode=traverse with lsp.live added through [traverse.policies.explore] extra_maps (an MCP call has no maps argument; steer.policy takes only the five preset names, so a policy named lsp-cost is refused), and reads totals.per_map["lsp.live"]; the one product line is a debug! of the version probe's ms (lsp.live version probe). Measured on this tree (HEAD 8e6fd44, debug build, rust-analyzer 1.98.0, vectorless index, 12 questions, 3 rounds quiet and 2 loaded, deadline 20 s, 24 logical cores; the "quiet" condition shared the machine with other lanes and the "loaded" one (12 busy CPU threads) with a foreign job on top, both recorded as idle CPU in the report; medians, ms per lsp.live expansion): per_call (the default) starts a rust-analyzer every call: in the quiet condition 34 of 36 calls ended on the 20 s deadline with 5 expansions each, warm and cold alike (p50 6.7 s per expansion, 1.3 pops per 5 s); the loaded base arm is bimodal (8 of 24 calls finished before the deadline at about 10.5 s with 14 to 200 expansions and a 0.5 GB rust-analyzer, 16 ran to it; cause not established), so its row mixes two groups; sessions = shared: cold call 17.6 s for 3 expansions (5.9 s per expansion), then p50 185 ms and p95 1.0 s per expansion, 30 expansions per call, 17.5 pops per 5 s, 6 of 36 calls on the deadline, and 37 ms for a question asked again; loaded: p50 240 ms, 26 expansions per call, 13.7 pops per 5 s. outline_cache changes nothing for rust-analyzer (it is not resent file text; p50 198 ms, no hit possible) and stays for pyright, gopls, jdtls, clangd; implementations showed no visible rise in external calls per expansion (1.63 against 1.74 for shared; the walks differ) and p50 114 ms; sync = watch cost nothing readable: shared+sync p50 84 ms, per_call+sync equal to base (p50 6.6 s), RSS unchanged; the all-on lifecycle arm p50 77 ms, 41 expansions per call, 32.6 pops per 5 s. RAM: rust-analyzer peaks at about 4.0 GB in every arm and the service at 260 to 310 MB. Probe (N101): rust-analyzer --version alone 99 ms p50 quiet, 2.6 s p50 and 4.3 s max under the synthetic load; in the service the probe ran 5.04 s (timed out, lsp.live is unavailable, 6 calls) in one quiet arm while another lane was working, 3.4 s in another; so the 5 s default fails under ordinary lane activity. N8: in the shared arm 6 of the first 30 calls ended on the deadline (7 loaded), never more than 3 in a row, and the same questions (q01, q04, q06, q09 to q11) were slow again in round 2 (14 to 18 s), so the dark calls follow slow expansions of particular symbols (priming) rather than a time window; the analyzer state at each dark call needs K7b-3a. Meaning for the default-off keys: sessions = shared is the only key with a large effect (about 36 times lower ms per expansion warm, 13 times the pops per 5 s) and the walk is not usable without it under the 5 s default deadline, since one cold start costs 17 s; it should be on wherever lsp.live is on (K11b), with a deadline above the cold start; outline_cache and sync cost nothing visible and gain nothing for rust-analyzer, so they stay off until a server that needs them (K11d-2) shows a gain; implementations shows no measured cost here and waits for the trait-set recall measurement; call_hierarchy (merged after the measured tree) is not measured: the first follow-up is an arm shared+calls against shared after merging main; K11b must also fix N101 (probe default or the probe outside the walk deadline) before lsp.live is on by default. Not measured: release-build timings, other servers (K11d-2), the analyzer state per dark call. K11d-1 commit
d448 2026-10-21 DECISION traverse K22a-1: [run_profile.seeds] literal, default false (one golden line, run_profile.seeds.literal = false; the key joins the profile hash and reaches the recipes, whose seeds are given). The map seeds.literal is an exact-literal seed source over ripgrep and is not [traverse] exact_seeds (that turns the first stage's SCIP-closure and pickaxe cards into start nodes; nothing ran rg for the names a question backticks, d397, d422 (5)). Coordinator decisions: A the names seeds.literal / literal (what it matches, not the tool); B the runner is injected through SeedSearch::literal_search (default None; AppSeeds runs lexical::search_literals over the resolved workspace with ripgrep_path; a stub in tests, no fake rg on Windows; without a runner the call gets the note "seeds.literal needs the application's ripgrep" and goes on, fail-open); C its nodes are appended after the hybrid and seeds.bm25 nodes, not prepended (seed_source hybrid+literal, hybrid+bm25+literal, bm25+literal, literal; the name-token stand-in runs only when nothing answered); D declaration-shaped lines give a file: seed, which is what the seedless-trait case (d394) has instead of no seed. Needles: the last segment of each path of code_names(question), at least 2 characters, at most 4, once each. Search: rg --json --line-number --fixed-strings --word-regexp --sort path --max-count 20 (case-sensitive; a line is kept only when it holds a needle as a whole identifier, _ and alphanumerics on neither side, checked again in code, and a unit test runs the real ripgrep to pin that --word-regexp treats _ as a word character: Shape_kind and my_Shape do not match Shape). Placing, per line: SymbolPlaces::defined_in (a definition seed), else enclosing (an occurrence seed, counted per node), else a file seed when the word right before the name is a declaration keyword (fn trait struct enum impl class interface type mod def func union record protocol) or the name follows for of an impl .. for and the line is no comment, else dropped (a name in a signature or constant is a use). The places are the SCIP layer (Loaded::places(), built once per index stamp on first use; K10a's outline places can replace it with one argument later). Order: definitions (needle order, 3 per needle at most), occurrences (most lines first), files (by path); nodes the other sources gave are left out and the list is cut at seed_k. Reuse (sanity check 8): lexical.rs now has the one ripgrep runner (run_ripgrep) and the one JSON line parser (parse_matches, a closure decides which lines are kept) that search and search_literals share; the K5a xtask arm is to be pointed at parse_matches later, not given a second parser. Not measured: whether the seeds help (K22a-2 owns the depth-0 bench and the seedless-trait mechanism test); map_freshness does not label the map (freshness.rs is outside this slice); the lci traverse --maps help text in main.rs does not list it (follow-ups: a freshness label for seeds.literal in freshness.rs, and the --maps help text); a file seed needs a source file (prose files such as *.md give none), and declares also reads function, object, delegate and a Go receiver func (r T) Name; the real-ripgrep unit test that pins _ as a word character skips itself where rg is not installed. K22a-1 commit
d449 2026-10-21 DECISION lsp K10a-2: under lsp.places = "outline" a Rust member the index has no node for takes the id of the declaration sym.defs would store, not a minted one. OutlinePlaces::with_tree(root) (the traverse call passes scip_root) makes learn of a .rs path read the file from disk (the bytes the index hashes; a document the editor holds open may differ), run chunk::extract_for_path, and give a member the canonical id (CrateNames::read_paths(root, &[path]), new in lci-maps/src/crates.rs: the same Cargo.toml lookup as read, for the listed Rust files only) of the innermost declaration of the same name whose one-based start_line..=end_line holds the member's line and that no earlier member took (a trait's m and an impl's m stay two nodes), the kind and container from the declaration. The order is the index's node (same file, name, nearest line), then the declaration, then a minted id (no declaration, an unreadable or unparsable file, no tree, or a declaration id the index places elsewhere). So a walk seeded by sym.defs ids and this map name one node. Known limits: read_paths sees only the file's own crate, so a package name that another unlisted crate also uses, or that is another crate's directory, is not dropped as read drops it; a minted Rust id keeps the directory form of the module path (not canonicalised). Placing a Rust Symbol seed whose file was never outlined stays with K21a (decision C). No new key: the run-profile golden is unchanged. K10a-2 commit
d451 2026-10-21 DECISION eval K33a-2: cargo xtask maps trajectories --runs <bench out dir>.. --gold-dir <dir> [--scip <index>] [--set <name>] (xtask/src/maps/trajectories.rs; a separate command, decision C, so no file of a bench run changes) joins the pop events of a maps bench --trajectory run (d444) to the gold outcome. Per item of each <wave>/<set> it reads the raw output, the trace and the item's items.json record and writes one row per pop event to <wave>/<set>/trajectories.jsonl (overwritten per run; a stale file is removed when the run has no pop events) and a summary trajectories.md beside it (items, items without pop events by id, pops, gold choices, pops with a gold candidate skipped, median first gold pop). A row is one serde Row: {set, wave, item, trace, event, pop, free, counted, state{depth, frontier, discovered, tokens_left, calls_left}, choice{node, priority, via, parent, gold}, candidates[{node, priority, depth, via, gold}], expand{offered, adopted, cut, dropped}|null, outcome{gold_candidate_skipped, gold_before, item{f0.5, headline metrics}}}; SCHEMA lists the keys and a test checks each. Labels come from is_gold only (the set's own scorer on the answer the bench adapter offers for the node; the site from the raw output's cards, else the SCIP index with --scip); a symbol node no card or index located is null, never false (decision D), and gold_candidate_skipped is null when a candidate is gold and the choice is unlabelled. Pops are counted from end.totals (pops plus pass_through_pops; counted rows when a trace has no end); with an end, the first end_pops pop events are counted and the rest (in practice the last one: the bench never resumes) are counted: false (the K33a-1 review: a budget put-back pop event can exceed end.totals.pops by one and the next call reuses its number; but a put-back whose call timed out stays in end.totals.pops, lci-maps traverse `cut.then_some(adopted > 0
d450 2026-10-21 DECISION lsp N101: DEFAULT CHANGE, readiness_timeout_seconds 5 to 15 s (range 1 to 30 unchanged), and the lsp.live PROBE_TIMEOUT of ManagerBackend::open with it (the traversal already passed the setting; open kept its own 5 s). Evidence (d438): standalone rust-analyzer --version p50 99 ms quiet, p50 2.6 s and max 4.3 s under the synthetic load; in the service the probe timed out at 5.04 s in one arm (6 calls, lsp.live is unavailable, while another lane worked) and took 3.4 s in another; a failed probe is not cached, so each later call paid its own 5 s. 15 s is 3.5 times the loaded maximum and equals CALL_TIMEOUT. Contract change, not only an lsp.live one: the one key also bounds /ready, init's survey and MCP service_status, so they now wait up to 15 s for a hanging dependency, and a dependency that answers in 5 to 15 s is now reported ready where it used to time out; a refused port or a missing binary still fails at once. A separate lsp.live-only key was not added (new keys are frozen). The version probes of a traversal now run side by side under one bound (ManagerBackend::open_with_probe_timeout), so two hanging binaries cost one bound, not two. It is in EXCLUDED_KEYS, so no run-profile hash moves. No code change for the deadline: the probe already runs inside the setup window the walk credits back to its deadline (budget.deadline += setup.elapsed()), so only the bound mattered. The first traverse after a warm start can run two --version probes (the warm task's and the walk's, both before the first success is cached); one server starts, and the cost is accepted. New: a first-touch warm start, App::warm_language_servers (background Manager::prime, once per workspace and process, never awaited by a request), called from status only when the workspace has a snapshot and no build runs, and from search after the index is resolved and no build runs (not from index, which would compete with the build, nor from navigation, which starts the server itself); it starts only the adapters whose language the snapshot holds (Manager::prime_languages, beside the unchanged prime). The check for a running build and the spawn happen under a read guard of the workspace lock; residual risks: a build that starts while a prime is already running competes with it, as a search during a build does; and a build may replace the snapshot between the language read and the guard (the check needs an await, which the guard must not be held across, and the snapshot carries only indexed_at), so the warm start can use the language set of the previous snapshot, which at worst leaves an adapter for a newly added language to the first walk's cold start or primes one the new index no longer needs. release_language_servers and shutdown abort and await the workspace's warm task before releasing (every overlapping stop caller waits on the same end signal; the task is never taken out of its entry), so no session appears after a release (the released workspace is not warmed again; a release that finds no warm start leaves a tombstone under the same lock, so a status racing the release starts none, and shutdown stops any later one). It runs only under [run_profile.lsp] sessions = "shared" with traverse.enabled and a [traverse.policies.*] extra_maps naming lsp.live, so it is inert under today's per_call default; App::warm_start(id) exposes the outcome (tests) and each provider logs one lsp.live warm start line. Test fixtures take readiness_timeout_seconds = LOADED_BUDGET_SECONDS in fake_csharp_fixture and the with_fake_* helpers, and the two direct ManagerBackend::open tests use open_with_probe_timeout(.., LOADED_BUDGET). xtask maps lsp-cost no longer pins 5 s, so its next run measures the default. Re-measuring lsp-cost --arms shared under lane load is a separate step after merge (its probe ms goes into this row). The PR needs the cross-family review (default-changing slice). fix/n101-probe-bound
d454 2026-10-21 DECISION lsp SHARED: DEFAULT CHANGE, [run_profile.lsp] sessions per_call to shared, with per-adapter routing and a tree barrier so that no answer is staler than under per_call for any server (the golden run_profile_default.txt moves by the sessions line and the hash fa3c7da5... (main with K13) to c17ca88e..., nothing else). Evidence (d438, rust-analyzer 1.98.0): warm p50 185 ms against 6,666 ms per lsp.live expansion (about 36x), 17.5 against 1.3 pops per 5 s, and per_call could not finish a walk under the 20 s deadline (34 of 36 calls). The rule (coordinator): the default may not make an answer staler than per_call would. Routing: LspAdapter::watches_workspace() -> bool (default false, no config key) is true for rust-analyzer alone (its client capabilities declare no workspace.didChangeWatchedFiles, so it runs its own file watcher); pyright, gopls, jdtls and clangd are resent only the requested file, csharp-ls and typescript-language-server nothing, so they do not qualify. Round 4 (d460, after the Sol re-check): a server is shared only if it also declares a non-empty LspAdapter::stamp_manifests list (LspAdapter::keeps_session(synced)), because an edit to a configuration file it reads (tsconfig.json) moves neither a source file nor a directory time; jdtls lists none and so stays per call even under sync = "watch" (csharp-ls got a list too, *.sln, *.csproj, Directory.Build.* and so on, so the fake-server tests keep their shared server; the coordinator's list named five adapters). ManagerBackend::open_split(workspace, shared, own, probe) probes through shared and routes each probed server to shared when adapter.keeps_session(shared.sync_mode() == Watch), else to own, the call's per-call manager (a server there starts on the tree as it is and stops with the walk); open and open_with_probe_timeout (one manager) are unchanged for the CLI and every other caller. The walk-end readiness notes read each routed (server, manager) pair (ManagerBackend::routes()). The N101 warm start (d450) primes only the languages whose adapters the walk would share. The barrier (round 3; the first idea, a stat walk by the index rules, was dropped: deno 1.52 s p50): a kept session is not trusted to see an edit, whether through the server's own watcher (unbounded lag on large workspaces, bursts, new files) or sync = "watch" (N102: the Windows watcher goes silent on overflow). Manager::tree_barrier(workspace, adapters) runs once per walk, in open_split, before any shared server is started or reused: it takes a tree stamp per adapter (lsp::stamp) and compares it with the one recorded when that session last started or passed; a different stamp, or a session with no recorded stamp (started by a call that passed no barrier), stops the session, so the walk starts a fresh one that reads the disk as per_call would, and the walk adds the note lsp.live: <server> restarted: the tree changed since its last call; an equal stamp keeps it. The stamp is built from the index file list and one directory read per stamped directory, with no recursive walk (round 4 widened it): a stat of the adapter indexed files; of every directory holding one and all its ancestors up to the root (a file added, removed or renamed there moves the directory mtime), with the directory's child names hashed too; of one level of child directories of those (mtime), except .git, target, node_modules, obj, bin, build, dist, out, __pycache__, .venv and venv (build output and version control, whose mtimes move with every build or git command), so a file created in an existing unindexed src/generated/, which a #[path] attribute can name (Sol new-1, reproduced first: the stamp did not move), is seen; and of the adapter configuration files among those children, matched by name or one-star pattern in every stamped directory (LspAdapter::stamp_manifests: rust-analyzer Cargo.toml, Cargo.lock, rust-analyzer.toml; typescript tsconfig.json, jsconfig.json, package.json, tsconfig.*.json; pyright pyrightconfig.json, pyproject.toml, setup.cfg; gopls go.mod, go.sum, go.work; clangd compile_commands.json, compile_flags.txt, .clangd, CMakeLists.txt; csharp-ls solution and project files and their property files), as counts plus an order-independent hash of (path, mtime, length), on up to 8 threads. Only NotFound counts as absent; any other metadata or directory-read error fails the stamp, and the barrier restarts the session and records nothing (Sol new-3; the earlier .ok() turned every error into an absent file or a zero time). Child directories and configuration files are stat'd by path, not taken from the directory listing: on Windows DirEntry::metadata is the listing's cached copy, which lagged a change in the first version of this widening (found by the unit tests). The barriers of one workspace run one at a time (a per-workspace async lock held across stamp, compare, stop and record; Sol race at lsp.rs:1130, confirmed by reading: two overlapping barriers could record an older stamp over a newer one and stop a server a later walk had just started; test concurrent_barriers_of_one_workspace_run_one_at_a_time). The file list is the workspace manifest paths (App implements stamp::IndexedFiles over manifest::try_load, kept per manifest stat, so an unchanged index costs one stat); a manager with no source, or a workspace with no snapshot, has no stamp and so no sharing (every walk restarts). The warm start records its stamp before it primes. Only the traverse lsp.live path passes the barrier: navigation (symbols, definition, references) and the search channel reuse the service sessions as before this slice (their pre-existing staleness is its own item, N104); a session they started has no stamp, so the first walk restarts it once. Stamp cost (local, release build, warm cache, p50 of 5, file list given): deno 46 ms (1,142 stat'd files and 214 directories; single-threaded 186 ms; a walk of the same tree is 1,520 ms), bevy 96 ms (2,042 files, 441 directories), tauri 25 ms (356, 148); round 4, with the directory reads and one level of children (same trees, release build, p50 of 7, file list given): deno 68 ms (min 58, max 83), bevy 109 ms (94 to 113), tauri 64 ms (61 to 69; under 512 tasks it runs on one thread), all well under the 300 ms kill rule; the cold read of an 86 MB manifest of a 6,003-file repository is 569 ms once per index change, a 7 MB one 43 ms. The rule, restated in round 4 (an absolute "never staler than per_call" would need a full content walk, which failed its kill rule at 1.52 s on deno): a reused session is never staler than per_call for any change inside the stamp's coverage (the indexed files, their directories and one level of child directories, the ancestors, the configuration files); outside it the residuals are listed in the README and config.example.toml, and the answer carries a label: the walk adds the note lsp.live: <server> kept session; tree stamp unchanged since <n> s ago for every session the walk found running (not for one it started, nor one the barrier restarted), so it is distinguishable from a fresh per_call answer (no schema change). Round 5 (d463, Sol re-check 2): the first version took kept from the barrier, which missed a server started by an overlapping walk that passed its barrier at the same time (confirmed: both barriers pass before either starts a server, the second then reuses it through Manager::session with no note). It is now decided where the session is acquired: Manager::session records, into the WalkSessions of the walk that made the request (a tokio::task_local! set by ManagerBackend around each request, so the warm start, navigation and the search channel are not recorded), whether it started the session or found it running, with the age of its recorded tree stamp; the traversal reads ManagerBackend::walk().reused() when the walk ends and writes one note per reused provider (... kept session; no tree stamp was recorded for it when the stamp is missing); tree_barrier again returns only the restarted providers. Also round 5: the README and architecture text that said observed = "live", stale = false, lag = 0 meant lsp.live read current bytes now says live names the channel, a server this call started reads the disk, and a kept server is bounded by the stamp's coverage and carries the note; the emitted metadata is unchanged. Test: a_walk_that_finds_a_server_an_overlapping_walk_started_is_labelled_kept. Round 6 (d465, Sol re-check 3, new-1 resolved, new-2 partly): README and the freshness module comment still said lsp.live reads current bytes (now: queries a server; a fresh one reads the disk, a kept one is bounded by the stamp's coverage), and answer_labels gave an lsp.live card fresh at lag 0. Decision: a card citing lsp.live is unverified, not fresh, when the walk found a server running (WalkSessions::reused() non-empty, passed to add_answer_labels as kept: &[MapId] = [lsp.live]); a card from a server this walk started keeps fresh; a changed or stale finding stands. The rule is per walk, not per provider or card (a conservative simplification: with several servers, one reused server makes every lsp.live card unverified). No schema change, no golden or snapshot file moves (the key defaults off, and the word set is unchanged). Round 7 (d466, Sol re-check 4): a checkpoint keeps the cards of a walk that reused a server, and a continuation whose own walk makes no kept-session request has an empty kept, so restored cards could read fresh. Chosen: demote, with no checkpoint format change and no provenance flag: add_answer_labels takes restored (the node ids of the snapshot's states, read before the traversal resumes) and a restored card that cites lsp.live is unverified; cards of nodes the continuation's own walk reaches follow kept. Conservative: a restored card from a walk that started its own server is demoted too. Tests: restored_lsp_live_cards_stay_unverified_in_a_continuation (unit) and a_continuation_keeps_the_restored_lsp_live_cards_unverified (navigation: a one-pop walk over a kept server gives a handle; the continuation, with no shared manager, keeps those nodes unverified). Round 8 (d467, Sol re-check 5): Manager::document_symbols answered a cached outline (outline_cache) without recording the session in WalkSessions, so a walk served only from the cache had no note and fresh cards. Manager::live_session_id, which the cache lookup goes through, now records the running session (Manager::note_walk, shared with Manager::session) before the cached outline is returned; the first record per session id stands, so a session the walk itself started (recorded as started by its earlier request) stays its own. Audit of the other paths that answer from a session or a cache: the only cache is Manager::outlines (document_symbols); every request method (symbols, definition, references, implementation, call hierarchy, the uncached outline) reaches Manager::session through client(); probe_once caches a version probe, not an answer; readiness, running, synced, the idle sweeper and release read or end sessions without answering; lsp_live.rs's places.learn is per call (OutlinePlaces is built for each walk). Test: a_walk_served_a_cached_outline_by_a_kept_session_is_labelled_kept. Round 7 also qualified the lsp_live.rs module doc and the edge.rs observed and lag field docs. Round 6 tests: a_card_citing_a_kept_session_map_is_unverified_not_fresh (unit, card_freshness) and a_card_from_a_kept_session_is_unverified_and_one_from_a_fresh_session_is_fresh (navigation, map_freshness and answer_labels on, fake csharp-ls). Residuals, by construction: a new file two or more levels below a stamped directory (or inside a skipped build-output directory) and in no directory that holds an indexed file; a configuration file that is not on the adapter list; an edit that keeps both mtime and length; and an edit during the call, which per_call has too. The server watcher and the sync are no longer relied on for correctness; sync = "watch" no longer avoids a restart after an edit for lsp.live (forwarding the changed paths to a kept server, didChangeWatchedFiles plus a quiescence wait, is a later optimization to be measured on its own). The lsp.live label stays Live (a label change alters answers under map_freshness, K13/K7c). Rejected: replacing a non-watching session when the snapshot generation or a freshness stamp moves (under freshness = manual the stamp never moves); resending text to csharp-ls and typescript before each request (K7c lifecycle work, and typescript refuses a second didOpen); a per-call source_hashes scan (K38 gate, d440). Local smoke, real rust-analyzer 1.98.0, not CI (run/shared-smoke/result.md), default profile: no edit between two walks, the server (pid 35932, warm-started in 12 s) is reused by both (walk 195 ms and 119 ms, no restart note); control (SCIP index of the edited tree, live tree unedited): no restart and run_twice not reached (Invalid offset LineCol { line: 16 }), so the answer comes from the server view; then a new caller of add was appended: the next walk stopped the server and started a new one (pid 32268, the old one gone), noted rust-analyzer restarted: the tree changed since its last call, took 9.1 s (a cold start of a one-file crate inside the walk, under the 20 s deadline) and reached run_twice through lsp.live. The first-round smoke (barrier absent) had shown the rust-analyzer watcher delivering the edit within 0.11 s, one observation that does not bound its lag, which is why the barrier exists. Resource effects: a rust-analyzer a walk keeps stays (about 4 GB on a large crate, d438), one per workspace touched, until lsp_idle_timeout_seconds (1800; 0 forever; a priming or serving server is never released), release_workspace, replacement (lsp_stuck_seconds) or shutdown; every edit costs the next walk one cold start, as under per_call, and every unchanged walk costs the stamp; the N101 warm start is live for configs with traverse.enabled and a policy naming lsp.live (a stock config starts nothing). Off switch: sessions = "per_call" (moves the hash); the idle timeout only limits residency. The CLI one-shot costs the same as before. xtask maps lsp-cost arms base and per_call+sync now write sessions = "per_call", so d438 rows stay comparable. Tests: only_rust_analyzer_watches_its_workspace (real adapter table), only_servers_with_a_stamped_configuration_list_keep_a_session, concurrent_barriers_of_one_workspace_run_one_at_a_time, the round-4 stamp units (a_new_file_in_an_unindexed_child_directory_of_a_stamped_one_changes_the_stamp, a_configuration_file_matched_by_name_in_a_stamped_directory_counts, name_patterns_have_at_most_one_star_and_ignore_case, only_not_found_counts_as_absent_any_other_stat_error_fails_the_stamp), in navigation a_new_file_in_an_unindexed_child_directory_restarts_the_shared_server, a_configuration_file_edit_restarts_the_shared_server, a_stamp_that_cannot_be_taken_restarts_the_shared_server_every_walk and the kept-note assertions of the kept and restarted tests, open_split_routes_by_watching_and_sync, the lsp::stamp units (an edit, a new file beside an indexed one, a manifest edit and a removed file each change the stamp; other languages, unlisted files and unrelated directories do not; order independence), lsp_sessions_defaults_to_shared_and_per_call_changes_the_profile_hash, and in navigation (fake csharp-ls under sync = "watch", which makes it shared; watching_sessions_fixture, indexed_manager with a fixed index snapshot, age_tree so a directory mtime cannot share a tick): a_shared_server_is_kept_while_the_tree_does_not_change (spawn 1, no note), a_shared_server_is_restarted_after_an_edit_between_two_walks (the former K8a test a_shared_server_is_told_about_an_edit_between_two_walks, now spawn 2, the note, the new caller found), a_new_file_in_an_indexed_directory_restarts_the_shared_server, a_change_in_an_ignored_directory_keeps_the_shared_server, without_an_index_snapshot_a_shared_server_is_not_kept, and under the default profile with sync = "off" the_default_profile_sees_an_edit_on_a_server_that_does_not_watch and the_default_profile_keeps_nothing_in_the_service_manager_for_a_non_watching_server; the retry helper retries only a clean deadline miss and fails on any other error note. Re-measuring lsp-cost --arms base,shared (real rust-analyzer, the d438 index) is a coordinator step after merge. The PR needs the cross-family review (default-changing slice). feat/shared-sessions-default
d452 2026-10-21 DECISION lsp K10b: SymbolKind gains Field, Variable, Interface and Class (names field, variable, interface, class; lci-core/src/node.rs, the KINDS table and its exhaustive position guard in bundle/produce.rs). Only OutlinePlaces produces them (node_kind(lsp_kind, language)): LSP 5 is Class (K10a's interim Struct, d442, is re-mapped), 23 Struct, 11 Trait in a .rs file (rust-analyzer's trait keeps the extractor's and the index's kind, so K10a-2's declaration join is unaffected) and Interface elsewhere, 7 (property) and 8 Field, 13 Variable; 22 (enum member), 19 (impl block), 26 (type parameter) and the rest still have no node (EnumMember is a later XS). lsp.live asks every kind alike, a Field or Variable node included (the plan's decision E, a guard that skipped implementation and the call hierarchy for those two kinds, was reversed in review: LSP 7 property maps to Field, csharp-ls and typescript-language-server answer implementation for interface properties, and a TS const f = () => {} may come back as 13 and have call-hierarchy answers, so the guard would lose edges to save a few requests, and this runs only under places = "outline"). Effects under places = "outline" only: a file expansion lists fields, properties and variables as Contains destinations (the beam and max_depth bound the cost, no new knob); a reference on a field's line resolves to the field; class and interface members of non-Rust files are /class and /interface. No adapter version bump (the roadmap row's words): nothing persisted holds an outline node, sym.defs@1 and the chunk cache's cache_version hold the extractor's kinds, which are unchanged, and a bump would re-chunk and re-extract every index on upgrade for identical bytes. No [run_profile] key: under the default places = "scip" no outline is learned, so every answer, trace, handle and golden is as before; the run record's build.version separates pre- and post-K10b outline runs. A handle saved under outline by an earlier build holds /struct and /trait ids for class-language members; resumed, those nodes have no learned place and lsp.live asks nothing about them. K10b commit
d456 2026-10-21 DECISION traverse K30a: the router is the caller's steer.policy, and this slice documents and tests it; no behaviour changes (no key, no golden line, no preset JSON, no MCP schema, no response field). Premise checked in code: presets::resolve and policy_for take SteerArgs and TraverseConfig only, so nothing reads the question text or a gold label to pick a policy (the N100 detector was killed at B0, d391; the bench passes `--policy defaultor the labelledoracle:arm). What a policy picks: the walk or the first stage alone (impact and history: walk off; flow: walk on; where-to: walk at 20 answers or more), the extra maps (the config table[traverse.policies.] extra_mapsmay list the opt-in mapsgrep.liveandlsp.live, so an intent can be routed to grep or a language server), and first_k/seed_k. No preset names grep.liveorlsp.live: that is a default change and K11b's. Known edge, left as is: a config extra_maps replaces the preset's list whole (TraversePolicy::overtakes the whole option), sopolicies.impact.extra_maps = ["lsp.live"]dropsexact.closure; a merge rule is a behaviour change that needs a measurement. N100 stays partly done: its description fact (a) is parked until a tier-3 run is approved (facts-only rule, d278). Roadmap row F3 (query-type routing; at roadmap@bbd3292 its scope was search-side: QueryKindin lci-core/src/query.rs, per-kind[fusion.]presets and the per-kind M1 instruction) is closed by this decision: routing by observable query features, including that search-side scope, is the cycle 2 screening's query-feature arm. Tests:each_intent_picks_its_walk_and_its_maps(presets.rs),a_policy_table_routes_an_intent_to_grep_without_naming_mapsandthe_question_text_and_the_gold_never_pick_a_policy(traverse tests.rs),a_policy_table_routes_an_intent_to_lsp_live_without_naming_maps` (navigation.rs, documents fake, request counts).
d453 2026-10-21 DECISION traverse K13: [run_profile.traverse] answer_labels, default false (one golden line, run_profile.traverse.answer_labels = false, re-blessed, not hand-pinned; the key joins the profile hash and the stamp of the recipes, whose answers carry no labels, asserted). With true every traverse answer (walk, continuation, no start node) gains, as post-processing of the response JSON in response::add_answer_labels (after add_maps and add_file_changed, so it reads the final maps and file_changed): completeness {complete, why, estimate} on the answer (complete is status == "complete", which is stop reasons complete and bound, d425: the top-k set is final, and no map the call asked for was lost: coordinator amendment, a map that could not be set up (lsp.live with no server, git.history, scip.impact, scip.implements, config.key, probe.compile, the search maps, a tree-reading map with no root) or that had MapStat.failures makes complete false, why degraded (a cut or capped walk keeps its own why), adds degraded: [<map ids>] and a note, from setup and MapStat alone, no new output on the key off; why is the answer's stop_reason, no_seeds without a walk; estimate is the K29 fraction or null; every partial answer also gets one notes line, "partial answer (): results are what the walk found so far; resume with handle ", the handle clause only when there is a handle) and, on every card of results, checkpoint.answer, visited_cards and frontier, freshness of four words, `fresh changed
d455 2026-10-21 DECISION eval K3a-3: per-tag language-server budget-hit counts in the search evaluation, the follow-up d441 named (decision C), and the closure of the roadmap row K3a (stale since d441: its per-query field, priming and compare exclusion all landed as K3a-2, so the row and its absorbed row E5 are removed; the result is d441 plus this row). TagAggregate (by_tag of an evaluation report) gains lsp_budget_hit_queries, the executed queries of the tag with metrics.lsp_budget_hit (a query counts once per distinct tag; a report written before the field reads 0 through #[serde(default)]; the overall lsp_budget_hit_queries is untouched). ComparisonReport gains budget_hit_by_tag: of the budget_hit_pairs left out, how many carried each tag, the tag union of both sides as a kept pair takes it (one helper, tags_of, serves both, so the two rules cannot drift); omitted from the JSON when empty (nothing left out, no tag on a left-out pair, or --keep-failed) and shown as one summary line LSP budget hit, left out, by tag: <tag> <n>, ... only when non-empty. GroupComparison, summarize, pairing and every metric are unchanged, so a tag whose every pair was left out still has no by_tag block and the line is where its count shows. No flag, config key, run-profile key or golden line; an untagged report or comparison serializes byte-identically. No per-tag priming (priming is per workspace and provider) and no per-tag column in maps compare (d435 reports budget_hits per stratum). K3a-3 commit
d459 2026-10-21 DECISION measure K21a-2 and K24c measured (work/run/measure-2026-10-21; build afb1b3c, debug, lanes under load; 8766/8767 down so seeds.hybrid is lexical-only, waves -nosvc; no gain claim, d422). K21a-2 at depth 0 with seeds included: seeds.bm25 beats seeds.scip_names on traits set_f1 0.346 vs 0.162 (paired n 146, 65 wins 19 losses) and hit@10 0.733 vs 0.508 (n 120), on where-to reg_hit@3 0.60 vs 0.20 (n 25) and set_f1 0.175 vs 0.006 (n 34), at 289 vs 115 answer tokens per item; the d392 regex rg rule beats every seed source on traits (set_f1 0.704, recall_explicit 0.819), and the K24c control walk with scip.implements reaches 0.703, so on traits the seeds are not the gap; where-to has only the as-typed rg baseline (reg_hit@3 0.48), which flatters seed arms; the hybrid row is not the hybrid ceiling. seeds.bm25 ran through raw_driver.py and --rescore (the bench's SEED_MAPS knows only seeds.hybrid and seeds.scip_names), so it has no cost columns; seeds.literal was not on main at afb1b3c. K24c: fusion = log_odds turns the score bound off (d432), so walks run to the pops cap: pops per item 6.4 -> 106 (traits), 13 -> 185 (impact), 11.4 -> 188 (where-to), quality flat on where-to and impact and lower on traits (set_f1 0.703 -> 0.579, n 146; hit@10 0.717 -> 0.500, n 120); pricing = relative has no measurable effect (1 of 146 traits pairs; impact decl_f1 -0.004; where-to identical). Decisions: log_odds stays off, a cycle 2 arm equalises the bound; pricing relative closes as no effect at these walk shapes and leaves the cycle 2 factor list; no seed default moves; seeds.bm25 and seeds.literal join the bench's seed maps (XS) before K22a-2, which adds one seed-plus-walk arm; wall times are debug-build and under load and are not latency evidence. private run record work/run/measure-2026-10-21 (report.md, tables.md, pooled.md); sanity 10
d457 2026-10-21 DECISION eval K6a: gold strata and a transcript-shape miner, xtask only (no [run_profile] key, no golden line, no product behaviour). K6a-1: xtask/src/gold/strata.rs, classify(set, item) -> Stratum {guard, hops, witness} is pure (the signature has no run, tree or LCI output) and gold::dims appends `("guard", core grep_easy
d458 2026-10-21 DECISION traverse K32-1: new opt-in map tests.tested_by (lci-maps/src/tested_by.rs): from a symbol, the test units that reference it, as Tests edges (kind prior 0.7, already priced) with a compiler witness, confidence 100 and the site of the first occurrence, read from the SCIP impact index that scip.impact loads (the same Arc<ImpactMap> when both are named, else impact_map, cached by the stamp). A unit is a test unit by one of two rules: its file is a test by path (classify_source_role says Test: tests.rs, test_*.rs, *_test(s).rs, any tests/ or test/ directory) or its symbol chain has a module or owner segment named tests before the unit own name, or test when the file stem is not test (an inline #[cfg(test)] mod tests, which no path rule sees; a bare test.rs stays source as in classify_source_role, so the units of xtask::test are not test units; the rule is pinned on a real rust-analyzer symbol of this repository, config/tests/grep_only_arm_is_a_valid_configuration()., in src/app/recipes/tests.rs). An edge therefore says the destination is a unit in a test file or a test module, not a #[test] function: the map can offer fixture helpers inside mod tests and misses a #[test] function outside a tests module; the ceiling run reports how many offered edges are not #[test] units. role_of_decl in src/app/recipes.rs keeps the older rule (test always counts) and is unchanged so no recipe answer moves; one shared rule beside Chain is the follow-up. Destinations stay Symbol nodes (not NodeKind::Test, unused), so graph.scip and structure.contains expand a test unit like any other and the impact gold matches it by symbol. A test that reaches the symbol only through a helper is not an edge (the tests_deep gold; a second hop over scip.impact). ImpactMap::all_edges is split into user_units (the shared reading, pub(crate)) and the edge mapping, a behaviour-free refactor guarded by a test; every scip.impact edge and test is unchanged. No key, no default (MAPS unchanged, OPT_IN_MAPS 13 to 14), no golden line, no [run_profile] leaf, no Freshness-suite edit (decision C of the K32 plan: the fixture tree has no test unit), no MCP schema change; a call that does not name the map is byte-identical. Needs --root like the other tree maps (a note and unavailable without it); a note counts the test units found at build. The bench knows it (map_emits: Symbol, so can_answer(Impact) holds). Ceiling (maps bench --set impact with and without the map, tests_recall, tests_deep_recall per stratum) is measured separately and is a bound, not a gain claim over rg or LSP (d422 (11)); K32-2 docs.mentions and K32-3 (pickaxe as a walk map, a check) follow as their own rows. K32-1 commit
d462 2026-10-21 DECISION traverse K32-2: new opt-in map docs.mentions (lci-maps/src/docs_mentions.rs): from a symbol, file or chunk node, the documentation files whose current bytes mention its name, as Mentions edges (kind prior 0.4, already priced) labelled Doc (SourceLabel::Doc, used so far only by the witness table), witness Exact or Text and confidence as grep.live computes them, the site of the first occurrence of the best class. It wraps LiveGrep with a new option, GrepOptions.roles: Option<Vec<SourceRole>> (default None, every file as before): the walk's filter_entry never yields a file whose classify_source_role (of the path relative to the root) is not in the list, so scan and Corpus::load agree by construction and such a file is neither read nor counted (files_read, bytes_read). The docs options are roles = [Documentation] and max_matches 200 instead of 50 (the occurrence cap is taken in walk order and one early document can hold dozens of occurrences of a config key; this 200-occurrence cap in walk order, at most 200 distinct files, is the binding cap, not the 256-edge cap); everything else is grep.live's (bare name, case-sensitive, whole word first, min_name_len 4 and the stoplist, 1 MiB per file, 256 MiB, 3 s, 256 edges). No locator, so edges go to File nodes only and emits is [File]; no DocSection node is made. Documentation means the role rule: any .md file wherever it sits and files under doc, docs or documentation; a root config.example.toml is Source, so the toml half of the config-key gold is out of reach by contract and config.key is the map for key to toml. Hidden directories (.github/instructions) are skipped by the walk, as in grep.live. No key, no default (MAPS unchanged, OPT_IN_MAPS 14 to 15), no golden line, no [run_profile] leaf, no Freshness-suite edit (the fixture tree has no document), no MCP schema change; a call that does not name the map is byte-identical. Needs --root like grep.live (unavailable without it); the card's median comes from calibrate(1), one documentation-only walk (grep.live does three full ones). The bench knows it (map_emits: File, so can_answer(Impact) and (WhereTo) hold and (Instructions) does not). Decision B: the roadmap check is docs_recall only. i1_section_* is a structural zero for any map that emits files: the scorer needs DocSection nodes with section lines (adapt_instructions keeps DocSection nodes only, so a run whose maps emit none skips all 80 items as no_answer_type), and the I1 gold is a scope question (which rule sections apply to a path), not a mention question. Heading-section nodes are a possible follow-up (K32-2b, unplanned, cycle 1 optional). Decision G: the ceiling run is not part of this slice; like K32-1 it is open and runs in the measurement lane (maps bench --set impact with and without the map, docs_recall on the 30 config-key items, bounded near 0.5 by the gold's toml half; 54 of the 109 gold doc entries are README.md rows). Any number from it is a bound, not a gain claim (d422 (11)). The --maps help in src/main.rs names the map. Like tests.tested_by it states no freshness, so it has no maps entry under map_freshness (the labels of freshness.rs do not list it). K32-2 commit
d464 2026-10-21 DECISION eval K6b: question shapes and trace classes mined from the owner's real Claude Code and Codex transcripts, locally, one full pass (about 90 s, stdlib Python, no model, port or network). Decisions A to F of the plan accepted: (A) cargo xtask mine-transcripts --counts-only (no templates, no unreadable list; every string left is a shape name, a class name or a source kind, pinned by counts_only_output_holds_only_vocabulary_strings_and_numbers) and the stop answered (the agent stopped searching and acted or answered; nothing verified the place it found) classed like gold (an_answered_stop_classes_like_gold); the K6a tests are unchanged; (B) agent-written prompts are their own source (subagent files; the Agent tool prompt itself is not counted again); (C) the SDK A/B harness sessions are a third source (one question per session; a long prompt with no tool call is taken as a judge or planner call and is left out, the rest carry a bare question and no wrapper); (D) a shape x class cell under 5 is shown as "<5", quantiles only for 100 or more questions, a source under 20 questions as its total only; (E) all sessions; (F) as above. The converters (two, plus a checker that fails on any string outside the vocabulary, on any question word in a report and on a templates key) live outside the repository, open only *.jsonl and *.jsonl.zst files under the two session roots, and write the same {question, trace} JSONL locally; the repository holds no reader, no format fact and no real line (kill rules: none fired). Mapping: a question is one human turn (agent-written prompts for subagent files); repeated human turns are counted each time (duplicates were not removed); the trace is the tool calls up to the next human turn, cut at the first mutating call (edit, write, patch, build or run, git write) or at 40 calls; depth is 0 everywhere, so core here means 2 or more reads, and unresolved also holds every turn with no search or read pair (a plain answer, a lone read or other tool, and every turn that made no tool call at all: an approval, a reply or a chat turn that is not a code question). Claude subagent files often end on a tool result, so their exhausted stops and hence their agent_trap and unresolved shares may overstate abandoned chains. Counts, class order grep_easy/agent_trap/core/unresolved, then by shape (shapes not listed for a source are 0): claude-interactive n=422 (class totals 71/<5/64/284; calls p50/p90 2/10; tokens 719/9455): history-h3 8/<5/<5/34, where-configured <5/<5/<5/<5, what-tests <5/<5/<5/10, how-flows 6/<5/12/29, where-is <5/<5/<5/11, other 53/<5/48/198. claude-subagent n=2230 (111/399/767/953; calls 10/31; tokens 10831/45238): history-h1 and h2 and who-calls all <5, history-h3 18/26/103/347, where-configured <5/19/89/12, what-tests 41/148/268/111, how-flows 10/30/80/30, where-is 31/28/194/83, other 7/146/29/366. claude-harness n=1196 (217/6/268/705; calls 2/11; tokens 1269/9383): history-h1 10/<5/<5/24, history-h2 <5/<5/<5/12, history-h3 <5/<5/<5/<5, where-configured 9/<5/<5/16, what-tests 80/<5/94/170, who-calls 10/<5/6/32, how-flows 38/<5/44/133, where-is 5/<5/<5/66, other 61/<5/112/248. codex-interactive n=173 (21/<5/44/106; calls 4/15; tokens 9653/56463): history-h1 <5 in every class, history-h3 <5/<5/9/8, where-configured <5 in every class, what-tests 5/<5/14/12, how-flows <5/<5/<5/7, where-is <5 in every class, other 13/<5/14/73. codex-subagent n=30 (<5/<5/<5/25; quantiles omitted): history-h3 <5/<5/<5/8, what-tests <5/<5/<5/5, other <5/<5/<5/5, the rest <5. Reading against the gold guard mix (d457: core/grep_easy/agent_trap impact 98/16/47, flow 94/0/17, where-to 26/33/0, history 66/29/15, instructions 76/4/0): real chains are rarely classed agent_trap (the rule needs 3 searches or a search after 2 reads) (about 0.5% in the harness, under 3% in the interactive sessions of both tools) except in Claude subagent files (18%), and most end unresolved (59% harness, 67% interactive Claude, 61% interactive Codex, 43% Claude subagent) because few chains hold both a search and 2 reads. Among the chains that resolve, grep_easy and core are of one order (interactive Claude 17% and 15%, harness 18% and 22%, interactive Codex 12% and 25% of all chains), while the gold is core-heavy per set (core is 44% to 95% of the items of every set and grep_easy leads only in where-to). The unresolved real bucket has no gold counterpart by construction: guard is a rule over the item with three values, and most real unresolved turns made no search or no second read, many no tool call at all, so the comparison holds only among chains that resolved. There, core is 47% (Claude interactive), 55% (harness), 68% (Codex interactive) and 87% (Claude subagent) of grep_easy plus core, against 44% (where-to), 69% (history), 86% (impact), 95% (instructions) and 100% (flow) in the gold: the gold's core share is above the interactive and harness ones in every set but where-to, and no uniform over-representation follows against the Claude subagent chains. The gold's agent_trap share (impact 29%, flow 15%, history 14%, where-to and instructions 0%) is above the real harness (about 0.5% of all chains) and interactive (under 3%) shares in three sets and near the Claude subagent one (18% of all chains). These are shares of how real chains end, not of correctness: answered is not verified and depth is 0, so no gain or loss claim follows, and nothing routes by a shape (d391). A real question's shape is read from wording only, and other is the largest or second largest bucket in every source (the closed wording table does not cover most real asks). K6b commit; tests mine_transcripts::counts_only_output_holds_only_vocabulary_strings_and_numbers, an_answered_stop_classes_like_gold; private local run (converter stats and reports in a work area outside the repository, the checker passed on all five --counts-only reports)
d461 2026-10-21 DECISION eval K22a-0: the bench knows seeds.bm25 and seeds.literal (SEED_MAPS; map_emits bm25 Symbol, literal Symbol, File, as the descriptors in src/app/traverse/seeds.rs), and their preflight is judged by seed_source bm25 or literal (a literal probe question with no code span passes, since the map ran with nothing to search). Naming either map in --maps turns its [run_profile.seeds] key on in an overlay the bench derives (the --config file plus the key, or the key alone) under <out-dir>/<wave>/overlay; the row's config=<stem>@<hash> (<map> on) note and score.json config_overlay (with seed_maps_on and the source file's hash) record it, a run that names neither map is unchanged, no default or golden line moves, and --rescore derives no overlay. The derived file's hash depends on the toml serializer (keys re-sorted, comments dropped); derived_from_sha256 keeps provenance. Finding, fixed in this slice: lci traverse opened the search application (the only source of seeds.literal's ripgrep) only when seeds.hybrid was named or no maps were (src/main.rs wants_search), so a call with seeds.literal alone gave no seeds and the bench preflight marked it unavailable. wants_seed_search now also opens it for seeds.literal, and a call with no search at all gives the ripgrep note before the no-names one (literal_seeds and find_seeds), so a probe question without code spans cannot hide a missing ripgrep, and so does an application that failed to open (NoSearch, through the new default method SeedSearch::unavailable) (unit test seeds_literal_alone_opens_the_application_for_its_ripgrep); live, --maps seeds.literal alone gives literal seeds and its tauri traits row has cost columns. commit of K22a-0
d470 2026-10-21 DECISION lsp ASYNC-1: the three small fixes of the async audit, no default, key or answer change. (a) lsp.live expansion: the cap CALL_TIMEOUT (15 s, mined with the budget's deadline) is gone; an expansion is bounded by the walk's own deadline_ms, and each request inside it by the transport's inactivity bound (lsp_timeout_seconds). A walk that allowed 60 s on a cold server under load used to get DEADLINE_NOTE and no edges at 15 s (the Freshness failures); one that allowed the default 5000 ms is unchanged. (b) The warm start (App::warm_language_servers) calls Manager::prime_languages(.., None, ..): no outer clock over probe, start and priming; each version probe is bounded by readiness_timeout_seconds (new Manager field), the start-and-prime wait by nothing but the task's abort (stop_warm_starts, d450 tests unchanged), so a server that is slow to start keeps starting in its session and the first walk shares it, and the "version probe did not answer within 30s" of a loaded Evaluation run cannot come from the warm start. Manager::prime (REST and evaluation priming) passes Some(timeout) and is unchanged; its probes also run under tokio's clock now, which changes nothing outside paused-time tests. (c) The version probe is memoised for the process (probe_subprocess_version: key resolved path, modification time and size; the arguments are always --version; success only, a failure is never remembered; a binary whose file cannot be read, such as a bare name on a platform without lookup, is probed every time, so a bare name is not memoised there; /ready and service_status stay live: src/app/readiness.rs runs its probes (ripgrep and every adapter) inside adapter::fresh_probes, a task-local scope that bypasses the memo and records nothing, so a broken binary is reported at once, test fresh_probes_run_again_after_a_memoised_success; only LCI's own probe paths, Manager::probe_once and the walk's, keep the memo); Manager.probed stays as the per-manager fast path and the memo for stub adapters. The first traverse after a warm start no longer runs two probes, and cargo test -j spawns the fake's --version once per binary, not once per Manager. d450's remark that base probes per call and shared once is retired for xtask maps lsp-cost: the probe is per process, so every arm's later calls log about 0 ms (comment and Method text updated). Tests (no sleep, no wall-clock assert): an_expansion_waits_as_long_as_its_budget_allows (paused clock, fails with the 15 s cap), an_unbounded_warm_up_waits_for_a_slow_probe and a_warm_up_with_a_hanging_probe_ends_only_by_abort (a gated probe, Notify and Semaphore), hanging_probes_share_the_one_timeout_of_a_bounded_prime (paused clock, exact end), a_binary_is_probed_once_per_process_until_its_identity_changes (a counting closure); the deadline test of lsp.live loses its elapsed assert. test-util is a dev feature of tokio in lci-core and lci-maps only. Two of the three 2026-10-21 wall-clock flakes: a_refused_embedding_connection_skips_queries_and_lets_index_runs_probe_once (breaker window 600 s for the test, Models counts requests, the probe must add exactly one; the cause was plausible, not captured) and the grep.live correctness tests (every test builds its map with a 3600 s scan timeout and budget, docs.mentions tests through a test-only DocsMentions::patient, no product timeout or default changes; cause confirmed: the default 3 s scan timeout stops a scan per file under load and gives a short edge list). The third, the_live_lexical_map_passes_c1_and_c6_and_fails_open_without_ripgrep (real ripgrep under a 15 s budget and a 25 s wall assert), needs a scanner seam in channel_maps.rs and goes to ASYNC-2. Not fixed here and left to ASYNC-2: didOpen only on changed text and a per-URI diagnostics wait for the 3 s head_start, readiness by event, the other wall-clock test asserts, polls to waits. commit of ASYNC-1
d471 2026-10-21 DECISION traverse K20b-1: [run_profile.scip] mode defaults to cache (it was authoritative; authoritative stays as the strict opt-in, off is unchanged). A readable index gives byte-identical answers and the same handle identity, since no code path reads the mode after the load. A missing or unreadable index gives an answer over an empty SCIP graph with the K20a note instead of an error. Under cache a file that fails to parse is parsed once per file stamp (size and modified time, the graph cache stamp): app::traverse::index keeps one remembered failure per (index, root), replaced when the stamp changes, removed when the file loads (also on a graph cache hit), never read or written under authoritative or off, and the call says "not re-read" while it is remembered. Round 2 (d472, review findings): only a parse failure on bytes that were read is remembered (an I/O error or a stat error is retried by the next call); a remembered failure expires after 30 s (a constant, no key, no golden change; the note says "after 30 s"), so a repair of the same length within one modified-time tick is read again; the failure is inserted only if a re-stat shows the stamp that was parsed. Recipes with no index refuse with the hint to run rust-analyzer scip or set traverse.scip_index. The golden run_profile_default.txt moved by the scip.mode line and the hash line only; no key or leaf was added; the profile hash of every result stamped under an unset mode moves, and K11d-1 numbers (d438) carry the old hash. No role label and no arbitration: both wait for K20c, since no authority runs before K9b and K11b. K20b-1 commit, tests an_unreadable_index_under_the_default_mode_is_parsed_once_per_stamp, a_default_server_answers_without_or_over_a_corrupt_scip_index
d474 2026-10-21 DECISION lsp K11e (first commit of the K11e + N103 PR): an opt-in LSP down-window breaker, [run_profile.lsp] breaker = false (bool, in the profile hash; the golden run_profile_default.txt moved by the run_profile.lsp.breaker = false line and the hash line only). Under true, Manager holds lsp::LspBreakers: one 30 s window per provider (LSP_DOWN_WINDOW, the ConnectBreaker of the model clients, now pub(crate)), shared by Arc between the service's manager and every call's own manager (per_call_manager hands a call's manager the windows of Call.lsp_sessions, under both sessions values; a call with no shared manager has none). What opens a window: a failed probe_once (the version probe, including its own timeout), and a server start (Session::begin, once per start whatever the number of waiters) that failed for any reason except the transport's inactivity timeout: a spawn failure, an exit, a protocol break, initialize_params or after_initialized failing (decision B of the plan: a binary that crashes at start is a dead server, and a start has no restart-once path). What does not: a timed-out start, since transport::InactivityTimeout (a typed root error whose text is byte-identical to the old message) tells a slow initialize from a dead server (the coordinator note and N103); a request failure or an RpcError; a started server, which is never refused (the window is read only where a probe or a new start would run). What a window does: probe_once (before its memo's miss) and Manager::session (a new start only; now Result) refuse the provider with "skipped for N s after a failed probe or start (lsp breaker)" until the window passes or a probe or start succeeds (clear); the walk's lsp.live is unavailable note then carries that text. /ready probes the adapters directly under fresh_probes and never reads a window. Default off, so every answer, note, trace and report is byte-identical to before; the only change under the defaults is the profile hash for the new leaf. Turning it on by default is K11b. Tests (no sleep, no wall assert; the expire test hook ages a window past its end): a_failed_probe_opens_the_window_and_the_next_caller_is_refused_without_a_probe, a_failed_start_opens_the_window_and_the_next_request_is_refused_at_once, without_the_breaker_every_request_starts_the_server_again, a_timed_out_start_opens_no_window (lci-core lsp), lsp_live_skips_a_dead_server_for_the_window_and_a_live_one_closes_it (the walk with the fake, windows shared across two managers, key off and on), the existing fake_csharp_lsp_timeout_and_malformed_protocol_return_bounded_errors timeout arm run with breaker = true (no window), lsp_breaker_is_off_by_default_and_changes_the_profile_hash, and the recipes test with a third profile breaker: true. N103 (lsp_start_timeout_seconds) is the PR's second commit and is not decided here. commit of K11e
d486 2026-10-22 DECISION lsp N103 (second commit of the K11e + N103 PR): a language server's start gets a bound of its own, lsp_start_timeout_seconds = 0 (top-level machine key beside lsp_timeout_seconds; 0 means the start is bounded by lsp_timeout_seconds, exactly today's behaviour; allowed 0..=86400, validated; in EXCLUDED_KEYS, so the profile hash and the golden run_profile_default.txt do not change). Plumbing: Manager.start_timeout (the key, or lsp_timeout_seconds when 0) goes through Session::begin and GenericClient::spawn to JsonRpcClient::request_within("initialize", .., start_timeout); request is request_within(.., self.timeout). Only initialize uses it: requests to a started server, initialized, the after_initialized hooks and the adapters' TransportConfig.timeout are unchanged, and the inactivity text is unchanged (it names the bound that applied). A timed-out start is still a transport failure that is not retried, and opens no breaker window. Decisions A (a key, default 0) and C (the fake's 8 s initialize delay is the one wall wait) of d474. Tests: a_slow_initialize_is_bounded_by_the_start_timeout_not_the_request_timeout (the fake, lsp_timeout_seconds = 5, delay 8 s, lsp_start_timeout_seconds = LOADED_BUDGET_SECONDS: symbols answers, one spawn; it fails when initialize ignores the start bound), lsp_start_timeout_seconds_outside_its_range_is_rejected (86401 rejected, 0 accepted), the machine-keys profile test now sets the key to a non-default value and the hash does not move. commit of N103
d475 2026-10-21 DECISION lsp K37b: concurrent walks as the load test of the tree-stamp barrier (SHARED, d454), with the fake language server; no product change, no default or key change. Four findings, all clean. (1) No stale reuse within the stamp's coverage (indexed files of the server's languages, their directories and ancestors, manifests; an edit outside it is the documented residual, not a finding): after an edit between walks two overlapping walks both answer the new tree (Twice and Run), with a fake that ignores the sync's didChangeWatchedFiles (new fake flag --ignore-watched-files, test support only, off by default, no existing test's events change), so the barrier's restart is the only way the edit reaches the kept server; a walk opened before the edit gets the new tree from its next request after another walk's barrier stopped its server. (2) Restarts are serialised per workspace: one restart and two servers in all for two overlapping walks over an edit (spawns/ counts 2, never 3: the two walks share the post-edit start), and the unit test now proves the per-workspace lock without a timer (a stub that holds every stamp until the test hands it a permit; three barriers, never more than one stamp in flight). (3) The notes are right: two overlapping walks over a cold manager share one start and exactly one is labelled "kept session", none "restarted"; over an edit exactly one answer carries "restarted" and at most one "kept session"; a walk whose own second server started after a stop has no kept session in its record. A walk that restarted the server may also be labelled kept when the other walk's request began the new server first; this was not observed in the runs and is allowed by the assert. (4) No per-server request queue: two walks sharing one server process (a definition and a references request) each got their own answer, with no cross-talk and no extra start; the per-id matching itself is by construction (the transport's id-keyed pending table, d422) and is not tested against an out-of-order answer, since the fake answers in arrival order; N20's ordering clause (the part K37a was meant to absorb) is closed with this row as evidence. For servers that open documents, two walks' didOpen of one file carry the same disk bytes, so the interleaving is harmless there too (reasoned, not tested; the fake logs no message ids, so the test checks that both requests reached one process and that each answer is the right one). The optional real rust-analyzer smoke was not run (it does not gate the merge, d470); a smoke failure would invoke the SHARED kill rule. Tests (no sleep, no elapsed, no wall-clock assert, spawns counted with spawns/): two_overlapping_walks_share_one_server_and_exactly_one_is_labelled_kept, an_edit_between_overlapping_walks_restarts_the_server_once_and_both_answer_the_new_tree, a_walk_whose_server_the_barrier_stopped_answers_its_next_request_from_the_new_tree, interleaved_requests_of_two_walks_on_one_server_each_get_their_own_answer (navigation) and concurrent_barriers_of_one_workspace_are_serialised_without_a_timer (lci-core, replaces the sleep-based concurrent_barriers_of_one_workspace_run_one_at_a_time). K37b commit
d476 2026-10-21 DECISION process Development-speed review (owner asked; approved "Proceed"). Measured over 12 h of cargo-slots.log: all 4 build slots busy 9 % of the time, 0 to 1 builds 37 %; free RAM never below 20 GB, VRAM at most 2.2 GB; disk queue about 0.5 since Full gates run one at a time; CI about 9 to 10 min per run. So the machine is not the bottleneck and the slots stay as they are; the critical path is waiting on unmerged slices, shared doc lines that conflict across PRs, review rounds and serial measurement arms. Changes: (1) only docs PRs and the coordinator rewrite the roadmap's "Now and next" line; (2) a slice that depends on an unmerged one starts on a branch stacked on it and merges origin/main once the base lands; (3) a serial library-test pass (--test-threads=1) runs only when a diff adds process-wide state: measured 216 s serial vs 62 s parallel for all library tests (warm target), over the 2 min bar for every push; the trigger was the ASYNC-1 probe memo making the_version_probe_honours_the_timeout_it_is_given order-dependent on CI; (4) measurement arms that use no model service and are judged by counts may run side by side on their own frozen copies and data directories, with wall-clock latency from a separate sequential sample (evaluation-workflow exception); (5) a jobs 8 vs 16 spike for a lone Full gate follows, kept only if faster with disk queue at most 3
d479 2026-10-22 DECISION lsp ASYNC-2 commit A (item 1, step 1): a position request sends textDocument/didOpen only when the file's text changed since the session sent it. The session (GenericClient) owns SentTexts, a uri to content-hash table (workspace::hash, the hash the outline cache uses); open_if_changed reads the file (16 MiB cap as before), answers None for an unchanged or oversized text, else sends didOpen v1 and answers the uri; a failed send forgets the entry. before_position_request gains sent: &SentTexts; the five adapters (python, typescript, go, clangd, java) use the helper. A new session starts empty, so a restarted server is re-sent its files. In this commit the 3 s head_start sleep of python, typescript, go and clangd stays but only behind a sent text, so a repeat request on an unchanged file costs no didOpen and no sleep; java never slept. TypeScript still re-sends a changed text and the server refuses it as before (not synced until K7c's didChange). The hook is serialised per client during an open: SentTexts also holds one gate per uri, taken by open_if_changed before the comparison and kept by the returned OpenedDocument until the hook ends (head start included), so a concurrent request for the same file waits for the send in flight (the didOpen write is awaited to the end, so it is on the pipe first) and neither overtakes the text nor skips the head start; a request for another file, or for an unchanged file with no open in flight, never waits. The table and the gates hold one entry per navigated file for the session's life. No key, no default value, no answer change; the outline cache's premise (the server holds the current disk text) is kept, since an edit changes the hash and is sent. Commits C (readiness by event, injected clock) and D (polls to waits) follow; the Sol review of d477 covers A to C. COMMIT B (the per-URI publishDiagnostics wait replaces the sleep; stacked on A): the transport counts textDocument/publishDiagnostics per document URI (Diagnostics { by_uri, notify, wait_timeouts }, noted by the reader for any notification with a params.uri and its version; the table is keyed by a canonical form of the uri, see below), and JsonRpcClient offers diagnostics_seen(uri), wait_diagnostics(uri, seen_before, version, cap) and diagnostics_wait_timeouts(). The count a wait compares against is read INSIDE open_if_changed, after the uri's gate is taken and just before the didOpen is written, and kept in the OpenedDocument (wait_for_diagnostics(rpc, cap)), so a publication that follows the write at once (the fake's default) cannot be counted into the reading and leave the wait to run to its cap. The hook still holds the document (and so the uri's gate) until the wait ends, so a concurrent request for the file waits for the publication too. python, typescript, go and clangd wait for min(lsp_timeout_seconds, MAX_DIAGNOSTICS_WAIT = 3 s) (d477 answer A set the configured bound alone; the coordinator capped it at the old 3 s worst case after the review, because a server whose uris never match would otherwise pay the whole configured bound on every open; the cap is to be lifted once K11d-2 shows diagnostics_wait_timeouts == 0 on the real servers); the sleep and its "head start" comments are gone; java still waits for nothing. The table key is canonical (canonical_uri): a file uri is percent-decoded and its drive letter lower-cased, so our file:///C:/w/a.py (from Url::from_file_path) and the file:///c%3A/w/a.py that vscode-uri servers (pyright, typescript-language-server) publish are one document; any other uri is its own key. Real-server smoke (2026-10-22, debug binary, lci definition on a two-file tree, [python] path / [typescript] path, index vectorless): pyright published file:///c%3A/... for the opened file (our uri was file:///C:/...), 1 to 2.4 s AFTER a 3 s cap on this machine in a cold per-call session, so with the cap every python call still ends its wait at the cap (the same worst case as the old sleep; with the cap raised to 30 s in an experimental build the wait ended on the publication and no warning appeared, which also proves the canonical match end to end); typescript-language-server published nothing at all because the client did not declare textDocument.publishDiagnostics, so the typescript initialize now declares it, and with it the publication arrived (experimental build: the call took 3.6 s against 5.8 to 8 s). gopls and clangd were not run (not installed here). The 3 s cap therefore saves nothing yet for pyright on a cold start; lifting it is for K11d-2. (The smoke ran with the latch and the warn log; both are gone, the observations stand.) There is NO per-client latch (the Sol review of A+B showed one: a wait that ran out is not proof that the server never publishes, and pyright publishes after the cap when it starts cold, so a latch would have left every later file of the session without a wait): each open waits up to its cap, which is the old worst case per open; a wait that runs out is counted in wait_timeouts and logged at debug. Version correlation (best effort): each didOpen of a document carries version 1 for the first text sent in the session and one more for each text after it (recorded in SentTexts with the hash), the reader keeps the version of the latest publication of a uri, and a wait is not answered by a publication that carries a version below its own; a server that publishes no version, or a late publication of the previous text with the same version, can still end a wait early, so it is a signal, not proof that the server holds the current text. Open and cancellation (Sol finding 2, in A's code): the hash is recorded only after the didOpen write succeeded, in the detached write task itself (JsonRpcClient::notify_holding), and that task also owns the uri's gate until the write ends, so a caller cancelled mid-write neither leaves a text taken for sent that never reached the server (a failed write after a cancel used to leave the hash behind for good) nor frees the gate while the write is still going on; a failed write records nothing (the old text stays recorded, which is what the server holds). Open gap (Sol re-check 1, PLAUSIBLE, no real-call repro): a caller cancelled mid-write whose write then succeeds records the text with nobody waiting for its diagnostics, so the next caller skips the open and may be answered before the server finished analysing the file; roadmap row N111 (keep a pending wait for the next caller). The caller's own deadline (the walk's, d470) cancels the future. The fake publishes empty diagnostics for every didOpen in every mode after --diagnostics-delay-ms (default 0, never with --no-diagnostics) and records diagnostics_sent.txt; with a delay it reads on a thread, and a document request it reads while a publication is still due is recorded as request_during_pending_diagnostics.txt (a client that waits for the publication never causes one). No key, no default value, no fake answer change; behaviour change named for the review of d477: a request on pyright, tsserver, gopls or clangd waits for the server's diagnostics of the opened file (bounded by lsp_timeout_seconds) instead of 3 s, and the real-server effect is measured by lsp-cost and K11d-2, not assumed. Test timing (item 5) for the files B touches: lci-maps the_deadline_is_never_exceeded (failed once under 9-lane load, d493) no longer sleeps or reads the wall: the map's second expansion never answers (a gate, hangs_from(2)), only the walk's 2 s deadline can end it, and the outer timeout(60 s) is the only clock; a paused tokio clock was not usable because the walk compares a std::time::Instant deadline and only its timeout rides the tokio clock. tests sent_texts_report_a_change_once_per_new_hash (unit), a_request_for_a_file_being_opened_waits_for_the_open_to_finish (new file tests/cases/lsp_concurrent_open.rs, documents-mode fake, two concurrent requests on one client: the second parks until the first hook ends; fails when the gate is removed), a_second_request_on_an_unchanged_file_sends_no_second_did_open (fake typescript and python, did_open_seen.txt counts 1, 1, 2, 2; fails with 2 when the hash check is removed); commit B: a_diagnostics_wait_ends_on_its_uri_not_another, a_publication_is_matched_to_its_file_whatever_the_spelling, a_publication_for_an_older_version_does_not_end_the_wait and every_wait_that_reaches_its_cap_is_counted_and_waits_in_full (transport unit, paused clock), sent_texts_are_current_only_once_recorded (adapter unit, replaces sent_texts_report_a_change_once_per_new_hash), a_cancelled_open_whose_write_fails_is_not_taken_for_sent (lsp_concurrent_open, a server that stops reading and a 4 MiB text; fails when the hash is recorded before the write), lsp_diagnostics_wait:: (new file tests/cases/lsp_diagnostics_wait.rs: the_request_follows_the_opened_files_diagnostics_not_a_timer, a_second_request_for_the_file_waits_out_the_diagnostics_wait, a_publication_that_beats_the_hook_back_from_the_write_still_ends_its_wait, a_server_that_never_publishes_costs_each_open_at_most_the_cap; counters and the fake's state files, no sleep, no elapsed assert), lci-maps the_deadline_is_never_exceeded converted to a gated map; no process-wide state added
d489 2026-10-22 DECISION product K12c: marksman adapter for prose (provider marksman, language markdown, [markdown] path/args/disabled, server forced before args, didOpen without head start, never shared, LspAdapter::joins_search_channel() default true and false for marksman so an indexed prose file does not start it in a search (nor in the lsp.symbols map, which picks providers the same way); no run_profile key; markdown.path is a machine key, LCI_MARKDOWN_PATH). Findings from the live run: marksman reads a workspace only below a .git directory or a .marksman.toml (a git worktree's .git file does not count), else it answers for opened files alone; its workspace/symbol names headings H<level>: <text>. Live acceptance by hand, marksman 2026-02-08 and jdtls 1.59.2026102108 (serverInfo 1.64.0-SNAPSHOT), Java 25, models replaced by a local stub on closed-range ports so nothing contacted 8765-8768 (the acceptance engine has no model-URL setting; a throwaway local patch of Fixture::write_config supplied it and was reverted): acceptance markdown-lsp --marksman <exe> PASS 9.1 s, marksman peak 78 MB; markdown-missing PASS 7 s; this repo docs (327 files indexed, prose on, .marksman.toml placed temporarily): symbols "Language scope" lists docs/languages.md:1, definition at the README link resolves to README.md:10, references at "## Supported languages" include docs/languages.md:4, 3 calls 5-6 s each, marksman peak 106 MB; acceptance java-lsp --java <dir> PASS 37 s, java peak 1.2 GB; java-missing PASS 12 s; java-recovery PASS 52 s, java peak 1.2 GB (no budget hit: limits were 10 min or 4 GB). The engine records no version line for jdtls (version_arg None). slice K12c commit 1; reports under test-results/ (not committed)
d483 2026-10-22 DECISION engine K19 built: grep.structural, an opt-in tree map ([run_profile.grep] structural, default false; one golden line run_profile.grep.structural = false and the hash line moved, nothing else). Mechanism: rg --fixed-strings --word-regexp names the files that hold a symbol's name (at most 200, path order), each file up to 1 MiB is parsed once by the chunker's own tree-sitter grammar and searched with ast-grep patterns, so a name in a comment or a string gives no edge. A header match (impl .. for .., extends, implements, class C(Base), class C : Base, a C++ base clause) gives an Implements edge from the seed to the other party of the header (its symbol when the index declares it in the same file, else the file; confidence 70), a call match a CallsOrRefs edge to the enclosing function (confidence 55); witness Exact, label Tags, freshness Live, needs rg; Go has call patterns only (interfaces are structural). Key semantics as seeds.bm25: off gives a note and no edges and the call is byte-identical to one without the name; on, the map is in the default set of a call with --root that names no maps. Dependency: ast-grep-core =0.40.1 (MIT; default-features = false, features = ["tree-sitter"]), the last release on tree-sitter 0.25, so Cargo.lock keeps one tree-sitter (0.25.10) and no grammar crate moved; it adds bit-set 0.8.0 and bit-vec 0.8.0 (Apache-2.0 or MIT); ast-grep-language is not used because it carries its own grammar crates. It moves with K15a (0.40.5 or 0.44.1 for tree-sitter 0.26; 0.45 and later need 0.27). Findings that shaped the pattern table: a metavariable $X needs an identifier character in the pattern (ast-grep's expando, µ here, with pre_process_pattern replacing $ in the pattern only, the searched source is never rewritten); a pattern that stands alone parses differently from the same code in a body (Go s.Draw(x) is a type conversion at the top of a file; C draw(x) a declaration; a C++ base clause has no class), so those entries are contextual (a larger code text and the kind of the node that is the pattern); { $$$ } stands for a body where the grammar needs one. Not seen: derive and macro impls, Go and duck-typed headers, Rust headers with a where clause, a generic seed type (impl Shape for Wrapper<T> is not found from Wrapper), C and C++ member calls (a.f(), p->f()) and calls inside a Rust macro's token tree; a bare trait name stands for every trait of that name (Display). The map states a live freshness like grep.live (the live and placed-by-index lists of the freshness labels), and maps bench turns [run_profile.grep] structural on in that arm's derived overlay when --maps names the map (as for the seeds keys, d461). No ceiling number yet (waves k19-ctl, k19-on, k19-only on the traits set are open; none is a gain claim, d422 (11)). K19 commits, tests a_rust_impl_header_pattern_finds_the_implementing_types_and_not_other_traits, a_call_pattern_finds_call_sites_and_not_comments_strings_or_definitions, every_pattern_of_the_table_compiles_against_its_grammar, grep_structural_is_off_by_default_and_is_part_of_the_profile, naming_grep_structural_with_the_key_off_gives_the_note_and_no_edges
d480 2026-10-22 DECISION lsp ASYNC-2 commit D (item 4 of the async audit; lci-maps and src/app/mod.rs only, no key, default or answer change): four polls become waits. (a) The data-directory index lock (lock_data_dir_for_indexing): a plain std::thread takes the OS lock, blocking in lock(), and the caller awaits a oneshot; INDEX_LOCK_RETRY (100 ms) is gone, so the holder's release ends the wait. A dropped caller ends its wait at once, and the thread unlocks and ends when it gets the lock (its send finds no receiver); a plain thread is not joined by the runtime's shutdown, which was the reason for the old poll, so a stopped serve still exits at once. (b) lci_maps::process::wait_limited(child, limit, KillScope) -> Waited { status, timed_out, reaped } (a waiter thread owns the child, the caller recv_timeouts on a channel; the kill is by pid, whole tree for probe_map::run_limited as before, the process alone for exact_history::run_capture as before, then the waiter reaps with a 2 s grace; the waiter keeps the Child until the caller has finished the kill step, so on Windows the open handle keeps the pid from being reused while taskkill resolves it, and a failed waiter spawn kills the child at once; on Unix wait() reaps, so there the pid is reserved only until the child exits) replaces the 5 ms and 10 ms try_wait loops. (c) probe_map wait_for_gate (GATE_POLL 5 ms) becomes Gate { busy, Condvar } with wait_timeout until the walk's deadline and a release that notifies; a probe still gives up at its deadline. Tests (no sleep, no elapsed assert): the lock wait is proven with a callback that fires on the waiting thread just before it blocks, then the release; the gate wait with a sleep counter that shows the waiter parked before the release; the child tests assert timed_out, status and reaped. Not changed, by contract or boundary: the index watcher poll, the transport and model-service bounds, lsp_search_budget_ms, the sync poll fallback. No process-wide state added, so no --test-threads=1 pass is owed
d481 2026-10-22 DECISION measure K11d-2a harness (commit 1, xtask only, no product file): cargo xtask maps lsp-cost gains --adapter (rust, python, go, typescript, java, c, cpp or csharp; default rust) and --server <path> (the adapter's [<section>] path; default its PATH name, jdtls needs its install directory). Effects: the arm config adds [<section>] and path = '<server>' for a non-rust adapter (rust byte for byte unchanged, pinned by a test); a non-rust adapter never runs rust-analyzer scip (a missing --scip is a 0-byte index.scip under --out, the report says "no SCIP index (empty file; scip maps give nothing)"); the language-server RSS sums the descendants of serve named by the adapter (node, gopls, clangd, csharp-ls, java), column server RSS MB (the serve process's own column is now serve RSS MB); the version probe times the adapter's --version (pyright and jdtls have none: skipped and said so); --report-from renders one section per adapter instead of merging arms of different adapters by name. Routing (d454) is unchanged: only rust-analyzer watches, so shared equals base for the other adapters and shared+sync is their kept-session arm. The measurement itself (K11d-2a runs, then K11d-2b open arms after K7c) is a later runner step
d488 2026-10-22 FINDING engine N105: lci traverse --maps seeds.hybrid died in a debug build on Windows with thread 'main' has overflowed its stack (exit 0xc00000fd) right after "indexing without vectors". Cause: not recursion but the size of the debug build's futures. Windows gives the main thread 1 MiB, the CLI's #[tokio::main] polled run() there, and a traverse call that creates the index inline through seeds.hybrid (hybrid search, index creation without an embedder, the walk) peaks at about 1.0 to 1.25 MiB of stack on the polling thread. Fix (DECISION, no default, key or answer change): fn main now spawns a thread named main with a 16 MiB stack (MAIN_STACK_BYTES; only address space is reserved, pages commit on use) that builds the same multi-thread runtime #[tokio::main] built (new_multi_thread().enable_all()) and block_ons the old async main; the thread is joined and a panic is resumed with resume_unwind, so the panic message, the 101 exit code, the error-return path and the process::exit calls are unchanged; signal handling runs inside the runtime as before. Why a thread rather than boxing hops: boxing moves one future's state to the heap (d0d10e4 boxed the traverse call in run for this very reason) and fixes one call path, while the next feature that adds a few hundred bytes to a debug frame on the polling thread overflows again; the limit belongs to the thread, not to the call, and a bigger stack for the thread that polls the root future covers every CLI command (the MCP and REST server run requests on 2 MiB tokio workers, about 0.75 MiB of headroom over the measured debug peak; no overflow known there). Evidence for the size: with a spawned-thread stack of 1.25 MiB and up the repro passes, at 1 MiB it fails; the triage found no recursion regression test indexing::traverse_seeds_hybrid_runs_through_the_binary_without_overflowing_its_stack (real binary, tiny tree and SCIP file, embedder URL on closed port 9, empty data dir; fails with #[tokio::main] restored, passes with the thread); stack sweep in the N105 triage record (work area, not in this repository)
d484 2026-10-22 DECISION eval K4a: the adapters and the leak check for external held-out gold, no dataset data and no download in this commit (K4b fetches and runs it for real). cargo xtask gold external convert --source swe-polybench-verified --in <dir> --out <gold dir> [--known-repo owner/name].. [--revision <sha>] [--report <path>] reads the dataset's test.csv (csv, already in the lock and now a direct xtask dependency; no new crate) and writes external-<source>.json (where-to exemplar items at file granularity, id order) plus a counts report; the gold directory is an argument, so the owner's local path lives only in local scripts. Premise kept from the plan (decision A): no new set and no scorer change, the existing where-to exemplar scorer and to-evaluate read the items (a test scores one through score_set and converts it). Rules, in xtask/src/gold/external.rs: members are the patch's files (diff --git headers; a new file mode file is created, a rename counts at its base path) minus test files (a segment test, tests, __tests__, spec, testing; *.test.*, *.spec.*, *_test.*, test_*.py, *Test.java, *Tests.java) minus extensions with no LCI adapter (unsupported_extension, which is how Kotlin is marked and not dropped); a row with no member left is dropped as no_member; an absolute, .., drive-letter, backslash or quoted path drops the row as portability; an empty question as no_question. The question is cut at 8000 chars on a char boundary (question_truncated). Leak check: stratum external/leak when the question holds a member's stem as a whole word (holds_stem from strata.rs, now pub(crate) with file_stem and GENERIC_STEMS; generic and short stems never), a member's path verbatim, or a lower-cased directory token of 4 or more chars (split on /, _, -, ., camelCase; src, lib, main, app, core, test and the repository name never); else external/clean; judged on the question as cut, which is what the bench passes. --known-repo marks items external.overlap (kept, decision C; the report counts them). Every item carries dataset, licence (SWE-PolyBench Verified MIT; LongCodeArena Apache-2.0), url, revision, sha256 of the data file and heldout: true; the report holds counts and hashes only (a test pins that it holds no question text or path). LongCodeArena has its column adapter (lca_row_from_columns: changed_files are the candidates, the diff only finds created files) and tests on synthetic rows; the parquet reader that feeds it, the fetch command and the two plan tests that need them (parquet round trip, Fetcher double) move to K4b with the parquet crate (decision B). Held out by contract: nothing in a tuning, preset or default path calls the module, and cycle 2 reads the set once, at the end. Check: 16 gold::external tests; xtask 484 tests green; clippy --workspace --all-targets clean; fmt clean.
d485 2026-10-22 DECISION engine K18a-1 built: seeds.repo_map, an opt-in start-node map under [run_profile.seeds] repo_map (default false; one golden line run_profile.seeds.repo_map = false and the hash line moved, nothing else). Mechanism (src/app/traverse/repo_map.rs, pure, no new crate): personalized PageRank over the SCIP graph's function and method nodes; edges are every out-edge except implements (K9c and scip.implements own that relation), once per (caller, callee) pair, no self loops; the jump is the top 64 seeds.bm25 scores normalised to sum 1; damping 0.85, at most 30 power iterations or an L1 change under 1e-9, the mass of a node with no out-edge goes back to the jump (total conserved); equal scores by node id (total_cmp), two runs bitwise equal. The edge lists are built once per index stamp (Loaded), the iteration runs per call on a blocking thread. Its top seed_k nodes go after the hybrid and seeds.bm25 ones (seed_source hybrid+repo_map, hybrid+bm25+repo_map, bm25+repo_map, repo_map, each also with +literal), each with a seed_hits record how: repo_map, score_kind: pagerank, personalised and iterations. Decisions A to D accepted at start: no bm25 match gives no seeds (a global hub answers no question); park K18a-2 (the SCIP-free graph) if the reorder rate is under 30 % and where-to does not move; implements excluded; the key lives under [run_profile.seeds]. Parameters (64, 0.85, 30) are Aider's and networkx's defaults, not fitted; with the 1e-9 tolerance most graphs run all 30 iterations (the error is about 0.85^30). Honest limits: only functions and methods are nodes (types, traits and modules are never seeds), the prior is as stale as graph.scip, and generic utilities (new, fmt) are hubs. The ceiling (traits and where-to at depth 0 with --include-seeds, pre-registered: traits within 0.1 of bm25's 0.346, where-to reg_hit@3 between 0.5 and 0.75, reorder rate above 30 %) is a measurement lane, no gain claim (d422 (11)).
d487 2026-10-21 DECISION process Maintainability audit (an external static audit at edc3a9e, numbers re-measured on main 7684817 by a separate session): roadmap K39 splits run_with_trait_seeds into typed phases as a speed-up (the file with the most catch-up merge collisions), after K11e and N103, move-only and pinned by a byte-identical output matrix. README line 3 corrected: tests run on Windows only; Linux has the minimum-version check and the non-blocking canary; no macOS job (d381, d403). Not taken: a blocking Linux test job (conflicts with d381/d403 until cycle 2); search/replay cap_by_file parity (already done, N59(b)); a search_once outcome enum (search.rs merged cleanly in 20 of 20 catch-ups; parked); deduping LSP initialize_params, SCIP map boilerplate and the multilingual acceptance coordinator (cycle 2: cold code, LSP files in open lanes); splitting config validate (1 of 20 merges collided). Optional later: a property or fuzz test of malformed handle JSON for Snapshot::from_json
d497 2026-10-22 DECISION eval K22a-2 measured (the 2026-10-21 K22a-2 run; release build at 1d0b097 after SHARED merged, one build; lexical-only: semantic, reranker and lsp off by overlay hash, external_calls 0 on all 3351 raw outputs; max-depth=0 --include-seeds on traits for tauri, bevy and deno, plus impact (141 items) and where-to; machine loaded by other lanes, up to 96 % CPU, so walls are informational and no arm was rerun, d468). Depth 0, traits, pooled set_f1 / hit@10: A1 seeds.literal 0.152 / 0.183; A2 seeds.bm25 0.346 / 0.733; A3 hybrid (lexical) 0.068 / 0.117; A4 hybrid+literal 0.133 / 0.258; A5 seeds.scip_names 0.162 / 0.508. Impact decl_f1: A1 0.676 (precision 0.737), A4 0.560, A3 0.240, A2 0.108, A5 0.035; the walk control B0 0.436 (decl_recall 0.865 against A1's 0.670). Signals (pre-registered): (1) A1 set_f1 >= A5 with more wins than losses on 2 of 3 repos FIRED narrowly (tauri +0.049, 7 wins 5 losses; bevy +0.005, 13 and 11; deno -0.050, 6 and 20; pooled -0.010 [-0.051, +0.033]), while A1's hit@10 is far below A5's (pooled -0.325 [-0.417, -0.225]); (2) A4 > A3 pooled with the CI above 0 FIRED (set_f1 +0.065 [+0.040, +0.092], 34 wins 8 losses, n 146; hit@10 +0.142 [+0.083, +0.208], 17 and 0, n 120; every repo positive), partly because A4 carries about 14 to 15 seeds against hybrid's 8, and A4 stays below A2; (3) B2 >= B0 with no repo below -0.02 is NOT EVALUABLE: B2 ran only on tauri traits (identical to B0, set_f1 0.715, hit@10 0.625) and impact (decl_f1 0.430 against 0.436, -0.006 [-0.010, -0.002]); B2 on bevy and deno was not run (the calibration projected 5.05 h, so the script dropped it; about 55 min for the two). Walk, traits pooled, B0 against B1 (B1 adds seeds.bm25 to the control walk; B2 adds seeds.literal): set_f1 0.703 vs 0.705, hit@10 0.717 vs 0.717, +0.86 pops per item; on impact B1's decl_f1 is 0.419 against B0's 0.436 ([-0.024, -0.011]); where-to is flat. Structural finding: in the walk the answer seeds come from the traits path in 100 % of tauri items and about 85 % of bevy and deno items, so added bm25 or literal seeds change nothing there (the tauri seed lists are identical for all 66 items). The where-to check passed: A1 scored 59 of 59 with 0 seeds and seed_source none, and A4's answers are byte-identical to A3's. Informational release latency, depth-0 p50 per item (tauri / bevy / deno): literal 1.2 / 4.9 / 13.3 s, bm25 0.9 / 6.2 / 5.0 s, hybrid 1.1 / 5.7 / 7.5 s, walk B0 1.6 / 11.8 / 13.3 s, about 3 to 4 times faster than the debug hybrid figures of d459; literal is the slowest seed source on deno. Decision: seeds.literal stays off by default (no default changed). Literal seeds are a strong depth-0 source for impact-shaped questions (decl_f1 0.676, above the walk control's 0.436), weak for trait questions' top-10, and add nothing inside the current walk on traits; so they go to question shapes that name literals through the router (K30a), as the follow-up K22a-3, not globally. Still open on K22a: the seedless-trait mechanism test and the lexical::parse_matches rg-arm change; B2 on bevy and deno the 2026-10-21 K22a-2 run (private run record in the work area: report.md, tables.md, pooled.md, signals.md), decision d468
d495 2026-10-22 DECISION lsp N104 (first commit of the N104 + N106 PR): navigation (App::symbols, definition, references) and the search channel (lsp_channel, which also serves the lsp map of the channel maps) pass the tree barrier of d454 (Manager::tree_barrier) once per call, before the first request, and make their requests inside one WalkSessions::scope; a barrier and a label together, because definition and references are exact tools and a label alone would say an answer may be wrong without giving a right one. The pieces are the public ones: no code edit in lci-core/src/lsp.rs (doc comments only). symbols runs the barrier over the applicable adapters after applicable is built; definition and references over &[&adapter]; lsp_channel over the channel's providers before the join_all, outside the per-provider lsp_search_budget_ms timeout and inside the span timings.lsp_search_ms measures, so a restart on a search lands inside the budget and reads as the existing over-budget note. Notes (informational, never a warning, so a search is not counted as a fallback): lsp: <provider> restarted: the tree changed since its last call per provider whose kept session the barrier stopped, then lsp: <provider> kept session; tree stamp unchanged since <n> s ago (or ; no tree stamp was recorded for it) per provider whose answers came from a session the call found running; the traverse wording with lsp: for lsp.live:. A server the call started adds nothing; in the search channel a provider that missed the budget or failed gets no kept session note either (the session is recorded when a request acquires it, so the label would sit beside "results missing or incomplete"). New NavigationReport.notes (skip_serializing_if = "Vec::is_empty", so an answer without a note serialises as before; pinned by a unit test); SearchReport.notes is the existing field. The lsp channel map (channel_maps.rs) runs the same barrier through lsp_channel and drops the notes (it reports its own status). The d454 residual "only the traverse lsp.live path passes the barrier" is closed: a session navigation or a search started now has a stamp, so the first traverse walk after it keeps it (before, that walk restarted it). Cost: one stamp per navigation or search call (d454, release, warm: deno 68 ms, bevy 109 ms, tauri 64 ms; the manifest read once per index change); after an edit the next call pays a restart as per_call would. Not measured here: the plan's kill rule (navigation p50 on the bevy tree more than 150 ms slower, release, warm) needs a release build and the bevy tree, which this slice did not run (debug builds only); the bound is judged from d454's stamp timings until a release measurement is made. No key, default or profile hash moved. Tests (new file tests/cases/navigation_barrier.rs, the documents-mode fake with --ignore-watched-files so only a restart shows it an edit, traverse.enabled = false, age_tree before the first call, start counts from spawns/, no sleep, no wall assert): symbols_through_the_service_restart_the_server_after_an_edit, symbols_through_the_service_keep_the_server_while_the_tree_is_unchanged, definition_and_references_pass_the_barrier_after_an_edit, a_walk_after_a_navigation_call_keeps_the_server_it_started, the_search_channel_restarts_a_kept_server_after_an_edit (proof by start count and notes: the fake answers workspace/symbol by substring and the search channel asks <term>#, so it returns no hit from the edited file), and, as unit tests in src/app/navigation.rs, the wire (no notes key when empty) and the note wording. Mutation checks: removing the barrier from symbols, from definition/references or from lsp_channel fails the matching tests (3, 1 and 1). Found by the focused suites (not in the plan): (1) App::prime_language_servers (the evaluation harness's warm-up) started sessions with no stamp, so the first search's barrier would have stopped the primed server and the first query paid the start again (a_language_server_past_its_budget_is_a_structured_fact_and_priming_keeps_the_first_query_warm failed at 4.1 s against its 3 s bound); it now passes the barrier before priming, as the warm start does (a code edit in src/app/mod.rs). (2) In a debug build the new futures grew the command line's main future past the 1 MB Windows stack (stack overflow in six CLI tests, N105's symptom); with N105 merged (d488, main on a 16 MiB thread) the six tests pass without any Box::pin, so none is kept. (3) Search reports now carry a lsp: <provider> kept session; ... note whenever a warm server answers, so tests/cases/indexing.rs (six places) filters the barrier's notes where it asserted an empty or counted list of start and budget notes. (4) tests/cases/freshness.rs (K2a-1/K8a harness) encoded the staleness this slice removes and is updated: SYNCED is empty (lsp.symbols is fresh with the sync on or off, so it is no longer an OldSession gap), assert_session_told checks "one server per generation plus the first" instead of "one server", and the documents-fake test (renamed with_sync_off_the_barrier_restarts_the_session_and_the_new_one_walks_the_disk) asserts the restart, the new server's answer and a kept session on the unchanged tree. Every other map's expectation is unchanged. The Lsp suite now also runs navigation_barrier:: and lsp_breaker::. Docs: README (navigation row and the sessions bullet), docs/architecture.md, config.example.toml, doc comments in src/app/mod.rs, lci-core/src/lsp.rs and lci-maps/src/lsp_live.rs
d496 2026-10-22 DECISION lsp N106 (second commit of the N104 + N106 PR): the K11e test gap of d474 closed, test only (no product change). The fake language server gains --exit-at-start: after claiming spawns/<n> it exits 0 on the first frame it reads, the initialize request, and answers nothing; the version probe (--version, no input) is unaffected, off by default, no existing test's events change. New test a_per_call_manager_opens_the_offered_managers_windows (new file tests/cases/lsp_breaker.rs): sessions = "shared" with sync = "off" routes csharp-ls to the call's own manager (per_call_manager), breaker = true, the fake with --exit-at-start, the same offered manager for two walks. Walk 1: the probe passes through the offered manager, the start on the call's own manager fails (its one restart is refused by the window the failure just opened), remaining("csharp-ls") is Some on the offered manager's windows, one spawn, an lsp.live note. Walk 2: the probe answers from memory, the call's own manager is refused at Manager::session (lsp breaker in the notes), the spawn count is unchanged. Mutation check: with .with_breakers(..) removed from per_call_manager the test fails (remaining is None after walk 1), so the kill rule of the plan (the test must not pass without it) holds. Observed while writing it: run from an agent shell whose stdin was an open pipe, the version probe of the fake timed out (it waits for input and the child appears to inherit the test process's stdin); with < /dev/null the same tests pass in about 2 s
d499 2026-10-22 DECISION eval K4b: fetch, conversion and the real counts of the external held-out gold; no parquet reader and no new crate in the repository (coordinator decision: the parquet crate tree is not worth one reader). `cargo xtask gold external fetch --source swe-polybench-verified lca-bugloc --out [--subset py,java,kt] [--force]askshttps://huggingface.co/api/datasets//revision/mainfor the commitmainpoints at, then downloads the official files from.../resolve//(so the files are pinned, not read frommain; the plan's x-repo-commitheader was not used, a followed redirect hides it) into//: test.csvfor SWE-PolyBench Verified;/test-00000-of-00001.parquetandrepos.jsonfor LongCodeArena (the dev and train splits and the repository zips are not fetched).fetch.jsonrecords url, bytes and sha256 per file and the revision; a file already on disk with another hash is refused unless--force, before anything is written; reqwest with rustls, a 10 minute timeout per request, no retry. A Fetchertrait with a test double keeps the tests off the network. LongCodeArena: the parquet files are converted by a one-off script outside the repository (pyarrow in a local venv under the gold directory; one JSON object per row with the parquet column names, andchanged_files, which the dataset stores as a Python list literal in a string, written as a JSON array) to .jsonl; convert --source lca-bugloc --in /lca-buglocreads every.jsonlpresent, tags each item with the sha256 of its parquet file fromfetch.json(and fails when the parquet file on disk no longer matchesfetch.json), and the report lists every file hash plus one sha256over the sorted parquet hashes.converttakes the revision fromfetch.jsonunless--revisionis given. Leak-rule fixes from the K4a review (these change d484's rule; items are classified by the new rule): the stem is split into tokens like the question (camelCase and), so UserServicein a question anduser_service.pyas a member match (a question word with the same letters onceis dropped, or the stem's tokens next to each other in plain words; a stem whose tokens are all generic never); the repository owner's tokens are ignored like the repository name's; the generic directory tokens gainjava, python, node, packages, common. A test for each, and a mutation check (the stem split forced off, the owner left in, the five tokens removed: each makes exactly its test fail). Counts of the real run (2026-10-22; held out, recorded and not asserted; counts and hashes only, no question or path text; the gold stays in the owner's gold directory): SWE-PolyBench Verified, revision b3fca77b637379f0c01ad86d18753a7ac1998b53, test.csv12,410,402 bytes, sha256 0c8138e73c34fa29a5276b675b146b72d78ce001fcc4560d76302c908b4808a5: 382 rows (the card says 394; the CSV holds 382 records, checked with a second reader), 382 items, none dropped, leak 298 and clean 84, truncated 10, python 113, javascript 100, typescript 100, java 69, 20 repositories, members per item p50 1, p90 4, max 34, excluded files: created 28, test 1, unsupported extension 49, overlap with the local gold trees 0. LongCodeArena bug localization, revision f2bb26a1c3320ccc1d7b02d2630077ff327a80f6, test split of each subset (py 175,518, java 249,815, kt 196,122 bytes;repos.json5,002 bytes also fetched): 150 rows, 100 items, 50 dropped asno_member (the Kotlin rows, which have no LCI adapter), leak 85 and clean 15, truncated 4, python 50, java 50, 93 repositories, members per item p50 1, p90 5, max 14, excluded files: test 108, unsupported extension 124, created 0, overlap 0. Total download 13,036,859 bytes. Against the pre-registered expectation: PolyBench rows 382 (the card says 394) and items 382 are inside the 330 to 394 items range; the leak rate of 78 % (expected 20 to 50 %) and the LongCodeArena leak of 85 % are outside it, so ten items of each source were read by hand: the conversion is right (members are the changed non-test files, the questions are real issue texts), the high rate is real (bug reports name the class, the file or the function), and the rule was not tuned to move it; truncation 2.6 % and 4 % is under the 5 % bound; the Kotlin subset is dropped whole. Markdown members (CHANGES.md, docs/.../*.md) stay because Markdown has an adapter. Which rule fired (measurement added after the Fable review; what counts as a leak is unchanged, the leak and clean counts above are the same before and after): the check reports the first rule that fires, over all members, in the order path verbatim, stem as one word, stem under another spelling of its tokens, directory token. The item's stratum is external/cleanor one ofexternal/leak-path, external/leak-stem(word or tokens) andexternal/leak-dir; the where-to scorer's leakdimension is the part afterexternal/, so a score report shows leak-path, leak-stem, leak-dirandclean, and the strata report counts every value but clean, n/aandnoneas a leak (a test pins both). The report holdsleak_rules(path, stem_word, stem_tokens, dir_token; counts only). Split of the real run: SWE-PolyBench Verified 298 leaks = path 59, stem_word 144, stem_tokens 16, dir_token 79; LongCodeArena 85 leaks = path 22, stem_word 47, stem_tokens 4, dir_token 12. So the stem and path rules, which name the file itself, make 203 of 298 and 69 of 85; the directory-only rule is 79 and 12, and the K4a-review fix (stem tokens) fires on 16 and 4. Cycle 2 readsleak-path, leak-stem, leak-dirandcleanas separate groups. Held out by contract, unchanged: nothing here is called from a tuning, preset or default path, and cycle 2 reads the set once, at the end, with leak and clean read separately. Check:gold::external 28 tests (12 new on K4a's 16: stem spelling, owner, generic directories, JSONL reader, LongCodeArena convert with hashes, fetch refusal and pinning (fetch.jsonunchanged after a refusal), fetch subsets, one test per leak rule, the strata per rule); xtask 496 tests green. The HTTP client is built inside the download thread's own runtime.test-results/external-gold/report.jsonis under the gitignoredtest-results/`, so the counts live in this row and the PR body.
d501 2026-10-22 DECISION process Decision rows no longer go in with the slice that makes them. Every merged PR dirtied every other open PR on GitHub through the tail of docs/decisions.md (the local merge=union driver resolves the tail, GitHub cannot), so each open PR paid one re-merge plus one CI round (about 15 to 20 min) per merge. Rule, in the manner of d476 (1) for the Now line: NEW slices do not append decisions.md rows; the implementer writes the row text into the slice's plan file, and the coordinator folds the rows into main in a docs-only PR after each batch of merges. Branches already in flight keep their rows (no churn). The union driver can duplicate a row that was edited on both sides, so every merge of a branch that touches decisions.md is checked for duplicate rows (a repeated dNNN id). Sanity check 13 kept this rule and considered moving the target into the repository as one file per PR (d505).
d503 2026-10-22 FIX lsp N107: tokio's Command::output() pipes only stdout and stderr, so a child it starts inherits the parent's stdin, unlike std's output(), which uses a null stdin. probe_subprocess_version (the --version probe behind lsp.live, readiness and the adapters) and the ripgrep runner run_ripgrep therefore inherited LCI's stdin. Under the MCP stdio transport that is the client's JSON-RPC stream: a child that reads stdin could block (a reproduced 5 s hang of the fake server's --version with an open stdin pipe, 0.3 s with null) or consume protocol bytes. Both now set .stdin(Stdio::null()), and so does the kill_pid helper in lci-maps, whose std .status() also inherits. The audit of every product spawn found the rest already null-stdin (run_limited, run_capture, std .output()) or piped on purpose (the LSP transport). Test: tests/cases/child_stdin.rs (suite Lsp) runs the probe in a re-executed child whose stdin is a held-open pipe, with an outer timeout of the loaded budget; it fails 30 s after removing the line from the probe.
d505 2026-10-22 DECISION plan Sanity check 13 of cycle 1 (after K4b, Fable, read-only, against main at PR 182; accepted in part by the coordinator). Direction is right: every lane in flight is a roadmap row, and nothing stops. Decisions: (1) The profile-hash serial is "whichever of K11b and K18a is ready first; the second re-blesses" (K11b is S and closes M2, K18a is M and also bumps the hash); ASYNC-2 C is parked until the K11d-2 rust latency pass measures rust-analyzer's readiness, and ASYNC-2 B gets its own review round (d477's "one Sol review after C" is amended). (2) Pipeline cost, after d501: re-merge main only into the PR that merges next, the others stay DIRTY on GitHub until their turn; roadmap rows go "Done" in place and are not removed until a docs PR; GitHub's merge queue is a question for the owner after the weekly reset, together with changelog fragments in the repository (docs/decisions/pending, one new file per PR) as the alternative target for d501. (3) Default-behaviour evidence from the K11d-2 counts pass (frozen d8c812f, before ASYNC-2, lanes loaded), first publishDiagnostics after didOpen: typescript-language-server published none in 12.5 s over five opens, pyright 3.3 s then 0.25 s, gopls 1.0 s then 5 ms, clangd 0.1 to 0.3 s. So B's premise fails for typescript, and its 3 s bound is what keeps typescript at today's cost. The mismatch between pyright's percent-encoded lowercase drive URI (c%3A) and the plain uppercase drive URI LCI sends is real, so ASYNC-2 B keeps the URI normalisation. Without the .cmd shim, base on python and go answered "no language server is available" (fail-open, 0 ms of LSP): a Windows .cmd resolution question to read before K11b, which gains a check that lsp.live under the default finds pyright and gopls without a shim. (4) N104 extends d454's restart on a changed stamp to navigation and search, so after an edit the next search may pay a cold start inside lsp_search_budget_ms: N108 is measured in the quiet window together with the K11d-2 latency pass, before K11b, and a keep-and-label exception for servers that watch the workspace is adopted on the search channel only if it shows churn. Order: N104 + N106, N108 with the latency pass, ASYNC-2 B, K11b, K20c; nothing of this chain lands before the reset. (5) K4b's leak rate (78 % and 85 %) is expected for bug-report gold, so no action: all 482 items stay stratified, and loose stem cases are read in cycle 2 from the stem-only stratum, not by re-tuning the rule on the data (d499). (6) Before a usage stop: finish PR 181, N104 + N106, ASYNC-2 B, K12c and N107 if their gates pass; park K18a and any lane that fails a gate once with wip: commits; do not start K39a, ASYNC-2 C, K11b or K20c before the reset. (7) Before the stop, a docs PR folds the d501 rows and rewrites Now and next, and the checkpoint carries the order of (4). (8) No milestone ends now; M2's "closes 2026-10-22 12:00Z" note slips past the reset, and K4a (about 2.7 h) and K4b (about 2 h) go into the time estimate as S evidence, with no Measured cell filled. (9) No reinvention beyond the merge queue question: the stdio tap stays one working file and N108 grows no harness (maps lsp-cost with an edit step between calls is the measurement).
d509 2026-10-22 DECISION measure K11d-2a measured, two passes, merged reports kept locally. Frozen pass: counts (5 repeats, 4 arms per adapter) and a serial latency pass, release build of d8c812f (before ASYNC-2 B), the machine quiet for the latency pass and loaded by other lanes for the counts pass (judged on counts, d500); adapters python, go, typescript, c, cpp, csharp, java and rust, none skipped. After-pass: release a8755dd (ASYNC-2 A and B, N104, N107), harness --places (the arms ran under places = "scip" and under places = "outline", merged per places), quiet, the RAM guard never tripped. Numbers. (1) Rust, SCIP index present: base (a language server per call) hits the 20 s request deadline on every call (a cold rust-analyzer per call); shared warm p50 79 ms per expansion, p95 799, 4 of 36 calls at the deadline, cards on 59 of 60 count calls. (2) Before ASYNC-2 B the 3 s head_start was the per-expansion cost on python, go, typescript, c and cpp: warm about 3.0 to 3.2 s per expansion in both base and shared+sync; after B, shared+sync warm ms per expansion: python 3009 to 2.0, go 3008 to 1.6, typescript 3008 to 2.2, c 3013 to 18.7, cpp 3062 to 52.7 (base per call: about 3150 to 3265 before, 204 to 1292 after). (3) Under the default places = "scip" a fixture without a SCIP index gives no lsp.live card for any non-rust adapter (seeds are chunks, structure.contains yields no symbols; 18 of 18 after-pass calls had none, and the expansions spent their cost answering nothing). Under places = "outline" every call of all seven non-rust adapters got cards (0 of 9 per adapter without), fail-open 0, shared+sync warm 2.2 to 26.2 ms per expansion (java base 628 ms). (4) The didOpen to first publishDiagnostics timing was measured by an stdio tap outside the repository (d491, d492; the product logs neither event, no product change). The tap's process leaks (an app-execution-alias python launch escaped LCI's kill-on-close job object, so killing the harness never reached the tap or its server) cost orphaned servers and one rerun of the rust arms; they were measurement-only and fixed outside the repository (the shim calls the runtime python directly). Consequences: K11b gains a gate, per adapter cards above 0 under the default places, else the default stays off or places = "outline" becomes part of the no-SCIP default (d509, d512); K7c's value check is the remaining per-call cost; ASYNC-2 C (readiness by event) stays parked, since the remaining rust cost is the per-call cold start that shared sessions already avoid. The open arms are K11d-2b, after K7c.
d510 2026-10-22 DECISION measure N108 measured (release a760a33, bevy 0e93c7a, sessions = "shared", lsp_search_budget_ms 1500, freshness manual, 10 edit cycles of 4 searches and a 10 search control loop; the edited file was restored identical and the tree left clean, no rust-analyzer left running). Control with no edit: 0 of 10 searches without an LSP answer (wall p50 2714 ms). Edit loop: every edit restarted rust-analyzer (10 of 10 restart notes), 30 of 40 post-edit searches timed out the LSP channel, the first post-edit search got no LSP answer in 10 of 10 cycles, and the time from the edit to the first answered search's end (ready) was p50 31.1 s, p95 and max 31.8 s. The churn is real and costs about 30 s of LSP-blind search per edit under the default (d495's barrier for both). Cold start (no edit): the index took 63 s and the first answer came 118.6 s after the serve start, from a raw re-parse only (15 warmup lines were lost to a parser crash of the measurement script). Decision (sanity 13 decision 6): K11b adopts the watching-adapter exception on the search channel (rust-analyzer watches its workspace, so the search channel keeps its session through a changed stamp and labels the answer kept session; navigation stays exact under the barrier), and the K11b plan's Sol review checks the staleness of that exception.
d513 2026-10-22 FINDING eval K32-1 and K32-2 ceiling runs (maps bench --set impact with and without the map, one run each, no repeat; release build 1d0b097, the SCIP index of the evaluated tree, semantic, lexical and LSP channels off either way). Over all 141 questions: K32-1 scip.impact off and +tests.tested_by on both give decl_recall 0.223, r2_decl_recall 0.141, tests_recall 0.154 (100 questions with tests defined), docs_recall 0.000 (30 defined); K32-2 one hop with seeds included, off and +docs.mentions on both give decl_recall 0.045, r2_decl_recall 0.027, tests_recall 0.047, docs_recall 0.000. On and off are identical to three decimals in every band (per band in the run summary). The extra maps ran (tests.tested_by: 6 expansions per call, 486 test units loaded) but added no answer node. No gain claim (d422 (11)): ceilings, one run each.
d514 2026-10-22 DECISION lsp N109, N110 (PR 191): Manager::tree_barrier returns the sessions it stopped as Restart { provider, reason } with reason TreeChanged, NoFileList or StampFailed(cause); navigation, search and traverse notes say which (<server> restarted: the tree changed since its last call unchanged, ... the index has no file list to stamp, ... the tree stamp failed (<cause>)); before, every restart claimed a changed tree. The channel-maps LspMap status carries the barrier's restarted and kept-session notes, joined with ; and followed by the over-budget note, so fuse_through_maps reports what the search report does; a healthy kept session therefore makes that map Partial with a note. fuse_through_maps is test and offline only, so the Partial status is not default-reachable, and fusion, labels and run-record readers handle Partial as Ok. The run-record comparison tests compare notes without barrier notes (which call starts the server decides which carries the kept-session note). Follow-ups: a doc line on MapStatus::Partial that it also carries notes the map has no other field for (with the Full gate), and N114.
d508 2026-10-22 DECISION plan Sanity check 14 of cycle 1 (Fable, read-only), accepted except one item: starting K39a commit 0 at once (it waited, see d505). (1) No feature merge before N108's number; K11b after N108, then K20c. (2) Lanes: A K11b then K20c, serial, with Sol review rounds; B N109 and N110 as one S slice, plus N112 (the flaky freshness sync-status assertion that raced the replacement session's start walk, seen once on PR 188 with the same code as the passing PR 187) and N113 (new: replace the literal args(Suite::Lsp).len() style asserts with a derived test that every tests/integration.rs case module is in a focused suite or a Full-only allowlist and every suite entry names a module, plus a duplicate decision-id check; cause: five PRs bumped the literal from their own bases and one merge typed 7 for a list of 8); C K39a commit 0, then its moves after K11b; D the K11d-2 after-pass for python, go, c, cpp and typescript on a release build at or after da2b956 (the frozen d8c812f's profile: both release) plus the K11d-2 docs PR; ASYNC-2 C only if the rust tap shows readiness cost; K7c behind D; N111 to cycle 2 unless K11b's Sol review reaches it. (3) Lesson: build measurement binaries before a quiet window (the N108 release build took 33 min and overlapped the rust count rerun, which delayed the latency pass). (4) After N108 ends, count the rust-analyzer processes by hand. private run record (sanity 14 review)
d512 2026-10-22 DECISION measure K11d-2a after-pass measured (release a8755dd with ASYNC-2 A and B, N104, N107; harness c103956 with --places; the arms ran under places = "scip" and places = "outline", merged per places; quiet machine, the RAM guard never tripped). (1) ASYNC-2 B, warm lsp ms per expansion, shared+sync, before to after: python 3009 to 2.0, go 3008 to 1.6, typescript 3008 to 2.2, c 3013 to 18.7, cpp 3062 to 52.7; base (a server per call) about 3150 to 3265 before, 204 to 1292 after. (2) Under places = "outline" every call of all seven non-rust adapters got lsp.live cards (0 of 9 calls without a card per adapter; under places = "scip" 18 of 18 had none), fail-open 0, shared+sync warm 2.2 to 26.2 ms per expansion (java base 628 ms). Consequence for K11b (the d509 gate): lsp.live answers without a SCIP index only under places = "outline", so K11b's plan takes places = "outline" into any default-on lsp.live for languages without a SCIP index (or as the default places), at the measured cost above. ASYNC-2 C (readiness by event) stays parked: the remaining rust cost is the per-call cold start (base 20 s deadline), which shared sessions already avoid. private run record (after-pass, merged scip and outline reports)
d516 2026-10-22 DECISION plan The K11b and K7c plans were revised against the gates of d509, d510 and d512 (Fable), and both start in parallel; K11b merges first. K11b-3, the default change, waits for a rust shared pair measured under --places scip and --places outline with the same release binary (a8755dd, 3 repeats, quiet window), under a rule fixed before the run: places = "outline" becomes the default if its warm p50 ms per expansion is at most twice the scip arm's and its cards are at least the scip arm's on every question; otherwise places stays "scip". K11b-1 and K11b-2 are the commits that do not wait for it. K11b plan file (private run record)
d518 2026-10-22 DECISION plan Plan-ahead plans written (Fable) for K22a-3, K12a, K26 and the K5b Serena arm. Started at once: K26-1 (lci-maps only), the K5b Serena arm (xtask only) and the K22a-3 measurement (on the after-pass release a8755dd, not 1d0b097, since src/app/traverse/mod.rs moved in between). Serena is GPL-3.0: it runs locally as a separate process for a baseline, with nothing linked or committed, so the Apache or MIT rule for adopted models does not apply (nothing is adopted; the owner was told). K12a-1 waits for K11b to merge (it edits lci-core/src/lsp.rs, the file K11b's third commit uses). private run record (plan files)
d519 2026-10-22 FINDING eval K22a-3 measured (release a8755dd, lexical-only, loaded machine; impact 141 items under the impact preset, first stage alone, top-k 10): C0 the router's choice decl_f1 0.559 (precision 0.421, recall 0.970); C1 plus seeds.literal 0.501 (precision 0.362, recall 0.990); paired delta -0.059 [-0.077, -0.042], 10 better and 56 worse; literal adds 8.4 seeds per item and displaces 3.6 hybrid seeds. Where-to and the traits tauri control are byte-identical. The pre-registered rule (CI above 0 and a precision drop of at most 0.05) does not fire. The plan's fallback (land the literal_policies key with an empty list) was overruled: a key whose only measured use loses on its target shape is a dead knob (golden churn, docs, a test surface) with no caller, so K22a-3 closes as a finding with no key and no default change. Sanity check 15 added: 7.70 of the 8.38 literal seeds per item are occurrences, not definitions, so the cheaper follow-up for cycle 2 is "definitions only, or an occurrence prior", not "literal first". Second cycle 2 follow-up: a larger seed_k for the impact preset (a sweep needs --seed-k forwarded by maps bench). Note for any impact comparison under the walk-off preset: every item is flagged pops, so maps compare needs --keep-failed. private run record (k22a3 report)
d520 2026-10-22 DECISION process Test gate by slice width (the owner chose the middle of the options offered). The local Full gate runs only for wide slices (many files or crates), for default, golden and profile-hash changes, and for slices that get a Sol review; narrow slices run the focused suites, the Full-only cases they touch, cargo fmt --check and clippy with -D warnings plus the map-equivalence check, and the CI test job on windows-latest is their Full gate. First step: confirm that CI's clippy runs with the same features as the local one, and add them if not. Definitions (sanity 15): the "Full-only cases a slice touches" are the cases whose pinned output it can change (traverse_matrix: src/app/traverse/** and the lci-maps traverse code; run_records: run-record or handle shapes and the profile hash; recipes: recipes, the profile, the MCP or REST surface); tests/support/* and xtask/src/test.rs count as wide (blast radius); a failure seen only in CI is rerun once and a second failure is real; CI runs plain cargo test (serial per binary) where the local Full gate runs nextest. owner, chat 2026-10-22
d521 2026-10-22 DECISION infra CodeQL moves from GitHub's default setup to an advanced setup (the owner approved). A workflow plus configuration PR; default setup is turned off right before that PR merges, because uploads from an advanced workflow are rejected while default setup is on. The two rules that fire only on test and xtask code are excluded for test and xtask paths only; product code keeps every rule. owner, chat 2026-10-22
d522 2026-10-22 DECISION indexing N94 (PR 193): file extensions compare as ASCII case-insensitive text (a .RS or .Py file is Rust or Python, as on Windows file systems). language::for_extension folds case, which carries the scanner, LSP routing and traverse seeds; lci_core::path::has_extension_ignore_case serves the rest (sln and csproj discovery, Rust-only maps, xtask); ripgrep adapter globs run with --glob-case-insensitive; source roles lowercase only the extension, so directory names and stems stay case-sensitive. Kept case-sensitive on purpose: LCI's own .tmp temp-file suffix, the .args and .disabled config-key suffixes (allow with reason), user path-filter globs. Consequence: .C and .H are indexed as c (one rule for a file system that does not tell a.c from a.C; C++ in .C chunks through the C grammar, a better floor than not indexed; clangd types the file by its driver), and previously ignored .MD and .RS files are now indexed; --include-path globs stay case-sensitive, so *.rs does not match an indexed Lib.RS while --language rust does; --glob-case-insensitive needs ripgrep 11 or later. The census was 18 clippy hits plus 7 sites the lint misses. Left as is: the bench ripgrep baseline keeps --glob *.rs (the gold corpora are lowercase). lci-core/src/language.rs; lci-core/src/path.rs; lci-core/src/filter/source_role.rs; lci-core/src/lexical.rs; roadmap N94, d371
d502 2026-10-22 DECISION process K39a commit 0 (PR 194): the traverse output is pinned before run_with_trait_seeds is split. tests/cases/traverse_matrix.rs holds 17 cells on the tree and SCIP index of freshness.rs (fresh and resumed handle, trajectory record, the opt-in maps off with one note each, seeds.bm25 on, repo_map on, grep.structural named off, needs-root and unknown-map errors, a policy without and with a root, trait seeds given and from the stand-in, registration order, lsp_down, lsp_ready, no seeds); each cell's response, trace and handle file is compared with a golden under tests/golden/traverse-matrix/. lsp_down uses a missing server path for every adapter (no fake server, so it does not depend on what is installed); lsp_ready uses the documents fake. Only handles, timings, the temp root, the expand p50 notes, git's pickaxe error text and a resumed response's trace.hash are normalised; BLESS_GOLDEN=1 rewrites the goldens and only a commit that changes an output may bless, naming why. The move commits (maps.rs with select and build, then K39b) wait for K11b to merge and must reproduce every golden byte for byte; their row is added when they land. 6c28e4d, 3e0ed10 (PR 194)
d523 2026-10-22 DECISION lsp K11b-1 (PR 200): typed version-probe failures. probe_subprocess_version fails with a ProbeError that carries a ProbeFailure (Missing, TimedOut, Failed) beside the note text, which is unchanged; Manager::probe_once reads the kind by downcast. Under [run_profile.lsp] breaker a window opens on Failed, or on an error with no typed cause (an adapter's own probe_readiness), but not on Missing or TimedOut: a missing binary costs under a millisecond per probe and its note is byte-identical across walks, and a timed-out probe may be a loaded machine (d450); a start failure other than a timeout still opens it (d474). The probe runs a .cmd shim through cmd.exe as the transport does (Windows tests). The first version put the failure's text into the error chain, which doubled the missing-server note and broke the lsp_down golden of the traverse matrix (d502); ee601f4 returns the kind beside the unchanged text. No key, no default, no golden line. PR 200 (69c3bb8, ee601f4; merge 3d627e3)
d524 2026-10-22 DECISION lsp K11b-2 (N108, N114; PR 200): the search channel keeps a server that watches its workspace (LspAdapter::watches_workspace: rust-analyzer) through a changed tree stamp and labels the answer lsp: <provider> kept session; <reason> (kept: it watches its workspace). It records no stamp for it, so the next navigation call or traverse walk restarts it as N104 and d454 say. The exception also covers a stampless barrier (no file list, failed stamp) when a session is running. Evidence N108 (d510): every edit restarted rust-analyzer and 30 of 40 post-edit searches lost the LSP channel (control 0 of 10). RestartReason gains Unrecorded ("no tree stamp was recorded for it"), split from TreeChanged; a lci-core unit test drives the barrier to Unrecorded for both the restart arm (navigation) and the kept arm (search). Servers that do not watch their workspace are unchanged on every channel. Residuals, documented: an edit inside the watcher's latency and a manifest edit during the server's reload. No key, no default. PR 200 (69c3bb8, 81dfe32; merge 3d627e3); d510
d527 2026-10-22 DECISION eval K5b (Serena arm): cargo xtask maps baseline serena --set traits or where-to or impact --tree --gold-dir --serena <executable or loopback URL> [--rule symbol or pattern], an xtask-only arm (no profile key, no config field, no golden line) driving serena-agent 2.1.0 (GPL-3.0-or-later application, MIT SolidLSP; run as a separate process over MCP Streamable HTTP on 127.0.0.1, nothing linked, vendored or copied; d518), started with start-mcp-server --transport streamable-http --host 127.0.0.1 --agent-interface tools --context ide (dashboard and log window off; the default repl interface offers only 2 tools), Python 3.13.15, installed with uv outside the repository with no PATH, registry or profile change. Only four tools are called: find_symbol, find_referencing_symbols, find_implementations, search_for_pattern; the server must offer the first, second and fourth or the arm refuses to run; --serena-arg may not override the project, host, port, transport, dashboard or window flags. Serena writes .serena/ into its project, so it serves a per-wave COPY of the frozen tree (no .git, node_modules, cargo target); the tree's file-list hash before and after is in meta.json, a tree that already holds .serena is refused, nothing is deleted. Needles as the rg arm (d443); rule symbol = find_symbol per needle, plus the implementations of the first type-like symbol for traits, referencing symbols for impact, a search_for_pattern fallback for where-to; rule pattern = search_for_pattern filtered to the rg arm's globs, hidden paths dropped, --max-per-file 50 per file, so it pairs with the baseline-rg wave; answers {path, line} 1-based; expansions and model_calls 0. Smoke (5 items each): tauri traits symbol precision 0.753, set_f1 0.720; pattern equal to baseline-rg on 5 of 5 items, but that was measured before the hidden-path rule and the per-file cap were added and must be re-checked on the next run; eval-tree where-to symbol reg_hit@3 0.600, reg_mrr 0.550; tree hashes unchanged, no process left. The symbol rule reports the start of the symbol's range, which for an item with attributes or doc comments precedes the name line; the traits gold scores containment, so it is scored fairly, but a name-line rule (symbol-name, pre-registered in the review, kill rule: more than 5 percent of places without a name line within 40 lines) is a later slice, and the smoke numbers above stay the baseline until then. No A/B, no gain claim (d422 (10), (11)). The Codanna arm waits for the owner (d422 (13)). PR 198 (beb17fd, d8360a5; merge bc7c4a0); smoke output in a private run record
d528 2026-10-22 DECISION traverse K26-1 (PR 197, G1): the engine half of the frontier confirmer, in lci-maps only and unreachable until K26-2 wires a key. After the gate and the beam, and before the reranker frontier, the kept hops whose only witnesses are grep.live text proposals with a site are taken in hop-value order, cut at the call's top_k, and sent in one call to a FrontierConfirmer (lci-maps/src/traverse/confirm.rs). Confirmed (the definition at the site is the source node): the hop keeps its value, its witness becomes Lsp and its confidence rises to at least 90. Refuted (an answered place held by another symbol): the hop is dropped and still corroborates at 0. Unknown (no answer, an error, the deadline, the call cap, or an answer only a file can hold, such as an import or re-export line or a symbol the index lacks): unchanged, fail-open, and a walk never ends on the confirmer. Each proposal is at most one definition request; the engine clamps the confirmer's reported calls to the pop's remaining external calls and charges them there. Totals confirm_* and confirm_ms, the expand event's confirm field and start.confirm are added; a handle records the setting only when it is on (a default handle's bytes and hash are unchanged) and refuses a resume under the other value. LspLive::confirmer asks definition at each site. relabel changes the witness, the offer and the confidences, not the claims, so corroboration grouping still reads a text group; whether a confirmed group should stop counting as text is a K26-2 decision, as are the byte-column versus UTF-16 column of a site after non-ASCII text, the places kind in the confirmer's identity, and sampling (src, holder) pairs of refutations before the refuted share is trusted. No key, no default, no golden line. bf7e832, 642912c (PR 197; merge a1fe140)
d529 2026-10-22 DECISION lsp K12a-1: index_status (and lci status) gain servers[] (per adapter, sorted by provider: provider, languages, languages_in_index, configured, enabled, command, probe {probed|not_probed}, breaker_open_ms (ms left in an open breaker window, null when none), root, session) and languages_without_server; a report built from the manager's memo and sessions, no probe run and no server started. analyzers and analyzers_running unchanged. No key. Manager::probe_state reads the probe_once success memo; it is filled only by priming and the lsp.live warm start (/ready probes the adapter directly and does not count), and a failed probe is not remembered, so it reads not_probed; an open breaker window shows as breaker_open_ms (Manager::breaker_remaining, a read) instead of a third probe state. root is always "." until K12a-2. 0e16d61, b377635 (PR 206; merge 0da50ed)
d531 2026-10-22 DECISION lsp K11b-3 Sol review (merge after fixes), coordinator decisions. (1) HIGH: under places = "scip" a tree with no SCIP index paid for LSP with 0 cards (18 of 18 calls, d509), so the default becomes [run_profile.lsp] places = "auto" (values "auto", "scip", "outline"): per walk, SCIP places when the SCIP graph loaded for the workspace has at least one node, else the server's outline places; "scip" and "outline" keep their exact behaviour when set explicitly, and an indexed tree walks byte for byte as under "scip". The rust places pair that kept "scip" (d516 rule) was a SCIP-present comparison and does not apply to the no-index fallback. (2) HIGH: deadline_ms is not a wall-time promise: the version probe (bounded by its own readiness timeout), the seed search and the tree barrier are credited back by design (d470); documented, not changed (config.example.toml, README and architecture say deadline_ms bounds the walk, not setup). (3) LOW: stale lines in architecture (the breaker is on since K11b-3; a walk has one restart per walk: the pre-seed barrier plus the backend's barrier, which restarts only if the stamp changed between them). One of the two allowed Sol re-checks: merge. Sanity 17 added: auto is per workspace, so a rust tree with a SCIP index plus python or typescript files takes SCIP places and those languages get 0 cards while their servers warm; named in the PR and the row, with a per-language auto as a follow-up gated on a mixed-tree measurement (confirmed by d553). private run record (K11b plan file, Sol review); PR 205
d533 2026-10-22 DECISION lsp K12a-2 (N4, PR 212): [run_profile.lsp] roots = "workspace" (default, today) | "manifest" (opt-in): a server starts at the directory of the topmost manifest its adapter names (stamp_manifests), found in the directories of the index's files of its languages and their ancestors (one directory read each, no recursive walk: the index's file list holds source files only and so lists no manifest). The workspace is kept, with the reason in servers[].root_reason (no_manifest, several_roots:<n>, files_outside_root:<n>, no_file_list, unreadable, and not_served for a disabled, unconfigured or unserving server whose root is not worked out, reported under manifest only), for no manifest, sibling manifests at the same depth, or a root that would leave indexed files of the server's languages outside it. A session fixes its root at start; Manager::server_root and Manager::session_root; one session per server per workspace either way, session key, stamp and barrier unchanged. The file list reaches the lsp.live managers too: the walk's per-call manager (per_call_manager) and the CLI's shared manager read the same index file list (Manager::indexed_source, ManifestFiles::new), so gopls, pyright and typescript-language-server start at the nested root in a walk as in the service. One limit: a one-shot lci traverse under sessions = "per_call" has no file list, so its servers start at the workspace with no_file_list (the service always has the list). servers[].root (K12a-1's .) now shows the live session's root, else the root a start would choose now (worked out only for an enabled, configured server whose languages the index holds). Default unchanged: the run-profile golden gains the run_profile.lsp.roots = "workspace" line and its hash moves; the default path's answers do not. Premise check (stdio tap on the real rootUri, small fixtures): pyright gains only when a name resolves through a nested project's own settings (extraPaths in its pyproject.toml: workspace root 0 of 7, manifest root 5 of 5; a plain src-layout import resolves from either root); typescript-language-server finds the nearest tsconfig.json itself and gains nothing; one stray top-level source file sends manifest back to the workspace (files_outside_root:1). The claim is that pyright-only gain; gopls, csharp-ls and cost are not measured, and the default flip stays gated on the lsp-cost rule in the plan. Fable review: merge after fixes, all docs. No Sol review (opt-in key, default unchanged). fb78823 (PR 212 merge); private run record (K12a-2 premise check)
d534 2026-10-22 DECISION traverse K20c-1 (PR 207): the SCIP-edge arbitration engine in lci-maps only, unreachable until K20c-2 wires a key. An Arbitration names an authority map, subordinate (map, family) pairs and the judged symbol kinds; per expansion, before fusion, a subordinate edge of a listed family to a listed-kind symbol stands if the authority answered it (confirmed) and is removed if the authority answered that family with other destinations (overruled); nothing is removed when the authority did not answer the family, when its call was cut at EXPAND_LIMIT, or when it named only non-judged destinations (a File fallback). Counts appear on subordinate calls, the expand and end events and TraversalResult only when an arbitration is attached; they are per call (a resume restarts them). No byte changes without an arbitration. K20c-2 carries the handle check (S3) and registered-maps-only (S4). 8490ef8, 4403207 (PR 207; merge ef6d175)
d535 2026-10-22 DECISION lsp K12b plan (Fable planner), coordinator decisions: (1) the section is [tsgo], the provider typescript-go, the environment variable LCI_TSGO_PATH; (2) typescript and tsgo both enabled is a Config::validate error (explicit over first-wins), navigation prefers the first enabled adapter of a language; the default stays typescript-language-server and init does not write [tsgo]; (3) tsgo (npm @typescript/native-preview, Apache-2.0 to be verified from its LICENSE at install; downloads were approved on 2026-10-21) is installed by the coordinator at K12b-2 time outside the repository, its path only in local config; (4) the tsgo against typescript lsp-cost pair shares the quiet window with the K7c cost pass, and the 3-file tree counts for "works" only. K12b-1 starts from main 74e9310 and touches none of K12a-2's or K39a's hunks. private run record (K12b plan file)
d536 2026-10-22 DECISION plan K39a re-aimed at main 74e9310 (planner), coordinator answers: (1) a traverse_matrix cell lsp_default as its own commit (0b) before the first move, pinning the default lsp.live plan; (2) SEEDS_REPO_MAP stays in the re-export list if anything reads it; (3) the resolved places choice on Built is left to K20c-2; (4) a stale comment stays byte-identical in the registration move and is fixed in K39b's docs pass. Commits land one at a time (implementer per commit, coordinator commits between). private run record (K39a plan file)
d537 2026-10-22 DECISION plan Sanity check 18 of cycle 1 (Fable, read-only, against main at PR 211, ccf8ce7; findings verified by the coordinator, picks adopted by the owner in d538). (1) CONCERN, honesty: the stock default's cost on non-rust trees was claimed from the wrong arm. Under sessions = "shared" with sync = "off" only a server that watches its workspace (rust-analyzer) keeps its session (keeps_session in lci-core/src/lsp/adapter.rs); every other server starts per walk. d512's "cards on every call, 2.2 to 26.2 ms per expansion" is the shared+sync arm; the shared arm was never run on a non-rust tree (nearest number: base, 204 to 1292 ms). A post-merge check is therefore pre-registered and runs in one quiet window before the next product merge: arms shared and shared+sync, places auto, per non-rust adapter, plus rust and one mixed tree, then the gate-4 smoke, then the K7c cost and smoke. Rule, fixed before the run: for a non-rust adapter, shared warm p50 ms per expansion above 3 times shared+sync, or any first call over deadline_ms, or 0 lsp.live cards on a question where shared+sync has some, means the default is wrong for that adapter and a follow-up slice (K11b-4) makes live apply only where the session is kept or turns sync = "watch" on by default, whichever the numbers favour, with a Sol review; otherwise the default stands and the row records the numbers; on the mixed tree 0 python cards under auto confirms the documented residual and queues a per-language auto slice. (2) The roadmap and the log on main lagged the code (K11b row, Now line, K20c and K7c rows, no rows for d529 to d536, N rows owed): this fold. (3) Reinventing the wheel: no library arbitrates SCIP against a server (K20c-2) or confirms a grep frontier inside LCI's fusion (K26-2); the K12a-2 gap (does tsserver or pyright find a nested root itself) is unmeasured, so its premise check runs first (d519 precedent); K12b has no measured gap (typescript 2.2 ms per expansion, d512) and unverified tsgo facts, so K12b-2 waits for its recommendation rule. (4) The measurement backlog (K7c cost and smoke, K11b post-merge, the K12b pair, per-language auto, K26, K20c) needs a quiet window that three building lanes deny. (5) Live Acceptance has no self-hosted runner: every run on main since 15:20Z was cancelled or pending, so N87's --require-all never executed. (6) Merge risks: K12a-2 is mid-merge and edits src/app/traverse/mod.rs; a four-step golden re-bless chain (K12a-2, K39a 0b, K20c-2, K26-2); a wall-clock traverse deadline unit test failed under load in PR 210 outside N115's list; Windows CI has no rust-analyzer, so roots and tsgo are fake-verified only. Coordinator picks: measure before the next product merge; lane order K39a, K20c-2, K26-2 ahead of K12a-2 and K12b-2; the K12a-2 PR stays a draft until its premise check (do pyright and tsserver find nested manifests themselves) runs in the window; K12b-1 continues on fakes but does not merge before the tsgo facts check and the pair; the docs fold after the window; Live Acceptance dispatch-only was put to the owner. private run record (sanity 18 review)
d538 2026-10-22 DECISION infra The owner adopted the sanity 18 picks of d537 ("Go with your picks, make Live Acceptance manual-only"): measure before the next product merge, the rule-fixed K11b-4 outcomes, lane order K39a, K20c-2, K26-2, K12a-2 as a draft until its premise check, K12b with no merge before the facts check and the pair, the docs fold after the window. live-acceptance.yml loses its push trigger and runs by workflow_dispatch only until the owner registers a self-hosted runner; a workflow-only PR is not a product merge, so it landed before the window. owner, chat 2026-10-22; edf161a (PR 213; merge 415f3e1)
d539 2026-10-22 DECISION measure Method of the K11b post-merge window (d537). It ran on the release binary of ccf8ce7 (main 415f3e1 differs from it only by the workflow PR 213) in equiv places mode: each arm writes the explicit places that auto resolves to (outline on the indexless non-rust trees, scip on rust and the mixed tree, where auto's walk is the scip walk byte for byte per the Fable review), so the auto selection code itself is covered by tests, not by this run. Markdown is NO DATA (no harness variant; marksman and jdtls never keep a session, so for them shared equals shared+sync and the rule reduces to the deadline and 0-card checks). The summary script's three readings of the rule are the pre-registered reading: first calls are round 1 of shared, 0 cards are summed per question, warm means a call after the first. The K12a-2 premise check and the tsgo facts check and pair go to a second window. private run record (K11b post-merge window prep)
d540 2026-10-22 FINDING lsp Gate-4 smoke of the post-merge window (stock service, real rust-analyzer): G0 to G4 pass (the profile has lsp.live and the breaker on; the first touch warms rust-analyzer in 21.1 s; walk 1 ends on the deadline with the note and 0 cards, 7.7 s wall; walk 2 has 3 lsp.live cards, 7.0 s wall; fail-open, no error). Bare-name claims for python and go fail: the readiness probe's --version exits 1 for pyright and 2 for gopls, which drops both from lsp.live, /ready and the warm start on a stock install (a walk says "no language server is available for python"/"go"); the measurements masked it because the stdio tap answers the version call itself (LSP_TAP_VERSION_AS), so the python and go numbers of d553 are those of a fixed probe. New slice K11b-5 (per-adapter probe arguments: go version, python an existence-only probe) with a Fable review; it must land after or with K11b-4 (the sync = "watch" default), because fixing the probe alone makes python and go walks pay a server start per walk (266 to 413 ms per expansion under stock shared). private run record (K11b gate-4 smoke and diagnosis); owner, chat 2026-10-22 ("Good catch, keep going")
d541 2026-10-22 DECISION lsp K11b-4 plan (Fable planner), coordinator decisions: option (a), sync = "watch" by default (LspSync's default Off -> Watch; one attribute plus tests, docs and the harness arms writing sync = "off" explicitly so shared keeps meaning the old stock); the CLI one-shot is left as it is in the plan (Sol question 2 weighs it); the optional test that an edit the stamp does not cover reaches a kept server is dropped with a PR note if the documents fake cannot list a late file; more than eight unlisted tests moving means a replan; the re-measure follows the plan (with the tap's version workaround and a same-binary shared control); order K11b-4, K11b-5, K12a-2, K12b. Rejected: live only where the session is kept (drops the 174 cards of the python, typescript, go and csharp trees), keeping sessions without the sync (staler than per_call), a sync = "auto" value. private run record (K11b-4 plan file)
d542 2026-10-23 DECISION traverse K20c-2 plan (planner), coordinator decisions: (1) the judged kinds are Function and Method under both places arms; (2) role appears only on the judged maps; (3) the harness file xtask/src/maps/lsp_cost.rs joins the allowed files (a +arb arm and --extra-maps; the existing arm configuration stays byte-identical for rust); (4) the arbitration check may land before K26-2's confirm wiring; (5) K11b-4 merges first, then K20c-2 merges main and re-blesses the matrix hash lines; (6) the measurement runs on the frozen rust tree with the K11d-2 SCIP index and rust questions (the implementer verifies they are the questions of the K11b post-merge run). The implementer starts when K11b-4's Full gate is done, which keeps the building lanes within the machine's budget. private run record (K20c plan file)
d543 2026-10-23 DECISION measure K11b-4 re-measure, reading of the rule fixed before the run. (1) The plan's "the stamped profile hash equals the golden's" cannot hold literally, because the harness config adds profile leaves (traverse.enabled, a policy, explicit places): in equiv places mode shared must equal the post-merge window's hash and shared+sync the expected one, and the two arms must differ. (2) "Within 3x" for the old-default arm is read two-sided [1/3, 3] (the arm must still mean the old default); the upper-only result is printed beside it. (3) The rust rule (cards at least 265) stands; a FAIL gets a look at round-1 deadline hits before it counts. (4) Places mode equiv as in the post-merge window (the branch harness has no --places auto); the result says the per-walk auto selection is not exercised. Sol re-check of 316e1e6: merge; nits fixed in 6f07b0f. private run record (K11b-4 re-measure plan)
d544 2026-10-22 DECISION lsp K7c-1 (N2, N111): a position request sends textDocument/didChange with the whole text for a file whose text changed since the session sent it, when the server advertised change sync (Full or Incremental, read from the initialize result; LSP 3.17 whole-text change), else a second didOpen as before (the definition-mode fake, no sync, is the control); the session waits for the server's publishDiagnostics after a didChange as after a didOpen. N111: the wait is recorded with the sent text (SentText.pending) and settled by the hook that finished it, so a caller cancelled after its write, or a hook that never waits (jdtls), leaves the wait to the next caller of the file. typescript-language-server now opens documents (opens_documents = true: it holds the current text), so the opt-in outline cache may keep its outlines. No key, no default, no golden line, no adapter hook change. Real-server smoke (typescript-language-server through a stdio tap, release ccf8ce7): one spawn and one didOpen, nothing new on the unchanged repeat; a same-size, same-mtime edit (the stamp's residual) kept the session, sent no second didOpen and exactly one whole-text didChange (version 2), and the answer followed the new text (the definition moved from add to sub) with 0 restart notes; the control with an ordinary edit restarted the server under the tree barrier, as it should. The server advertises Incremental sync (textDocumentSync 2) and K7c sends whole-text changes for both Full and Incremental. 44dfca7, 7b2c5cd (PR 203; merge 548cf42); private run record (K7c smoke)
d545 2026-10-22 DECISION lsp K7c-2: a server session holds at most MAX_OPEN_DOCUMENTS = 64 open documents (a constant, not a key); the least recently used file with no open in flight is closed with textDocument/didClose before the 65th didOpen, and a closed file re-opens at version 1. A server that publishes on didClose (pyright, clangd) can no longer end a re-open's diagnostics wait early (review follow-up). lsp-cost after K7c (release ccf8ce7, shared+sync, warm p50 ms per expansion, against d512's after-pass on a8755dd): typescript places scip 2.1 against 2.2 and outline 4.1 against 4.0; python scip 2.1 against 2.0 and outline 2.8 against 3.0; base typescript 602.6 against 604.0 and python 1261.2 against 1291.9. The tap's diagnostics-wait timeout proxy (calls over 3 s) did not rise (python scip 1 in both runs; typescript scip 0 against 1). All pass, no regression. The K11d open arms do not exist (K7c has no key): its value check is this before and after on the same arm text. 44dfca7, 7b2c5cd (PR 203; merge 548cf42); private run record (K7c cost pass)
d546 2026-10-22 DECISION infra N87 (PR 208): live-acceptance.yml is one step, cargo xtask live-acceptance --require-all, replacing the per-subcommand steps (which read a skipped tool as green, d169); the runner is meant to host every prerequisite tool, so a skip fails the run; the workflow never runs on pull requests and cannot affect test (windows-latest); a unit test pins the command; the workflow now also runs the markdown LSP steps. b4d6751 (PR 208; merge 04528e1); roadmap N87; d169
d547 2026-10-22 DECISION tests N25 (PR 209): six indexing.rs assertions measure by counts, not clocks: the hung reranker warning names the timeout; a dropped connection is tried once per search (accepted-connection count); the 200 ms budget tests read the fake server's messages and symbol requests read; the stop-word fixture holds the stop words; traced ranks are one-based and contiguous; a deletion drops exactly the file's chunk count. Test-only. 471dc6d (PR 209; merge 13dec3f)
d548 2026-10-22 DECISION engine N48 (PR 210): dunce::canonicalize keeps \?\ for paths of 260 characters or more while a shorter workspace root has none, so starts_with and strip_prefix called them unrelated (navigation source_path refused long files, ripgrep relative paths came out absolute, the data-dir and workspace overlap check passed a long workspace under the data dir). lci_core::path::{without_verbatim, strip_root, is_within} compare with the prefix ignored on either side and are used at those four points, plus LSP location paths; walker-derived paths share the root's spelling and are unchanged. The review fix: unwatch matches a watched long workspace after its directory is gone. de8bda6, 85929e4 (PR 210; merge 00ae07c)
d549 2026-10-22 FINDING engine N116 (PR 210): premise false. check_port(0) has returned Ephemeral without binding since lci init landed, and init reports "port: 0 asks the OS for a free port at every start" (state ephemeral). A new integration test pins the init --json output for port = 0; no code change. de8bda6 (PR 210; merge 00ae07c); tests/cases/config.rs
d550 2026-10-22 DECISION lsp K11b-3 (PR 205): DEFAULT CHANGE. [run_profile.lsp] live = true (new key: lsp.live joins the default map set of a call that has a tree, runs under sessions = "shared" and has a service manager, that is MCP search_code in traverse mode and REST under [traverse] enabled = true; the CLI one-shot and per_call stay opt-in, d438), breaker = true (d474 named K11b as the slice that turns it on), places = "auto" (d531). The rust places pair under the d516 rule (3 repeats, quiet; a first pair was void at 51 and 65 % idle CPU) kept "scip" for a tree with an index: outline warm p50 13.8 against scip 84.5 ms per expansion, but outline gave fewer lsp.live cards on 7 of 12 questions (q01 8 -> 1, q02 8 -> 3, q05 8 -> 3, q06 8 -> 6, q09 6 -> 4, q10 8 -> 3, q11 8 -> 6), so the rule (cards at least scip's on every question) failed; auto uses outline places only where no index graph exists. A walk that runs lsp.live on the shared manager passes one tree barrier before its seed search (walk_tree_barrier, the K11b-1/2 review's F1 option (c)): a watching server restarts once, up front, and the seed search and lsp.live share the session; warm_on_touch also fires on live. Fail-open kept: a missing or dead server is a note and an unavailable map. Golden: lsp.breaker false -> true, the new lsp.live = true, lsp.places "scip" -> "auto" and the hash a60f9da5 -> 8dade2ba, nothing else. User-visible by design: a repeated search within 30 s of a missing or dead server notes the breaker, not the spawn error. Test-only edits beyond the plan's allowed list (breaker = false or live = false where a test starts a failing stub twice or compares notes across calls, in lci-core lsp.rs, navigation.rs, indexing.rs, recipes/tests.rs and the lsp-cost expected text); the plan's kill count was crossed and a replan was not needed. Residuals named in the PR: auto is per workspace (d531, confirmed by d553); deadline_ms can be exceeded by credited setup; an on-search refresh that adds a new file after the pre-barrier makes lsp.live restart a second time (untested). Evidence for the change: d438, d509 (0 cards without a SCIP node under scip), d512 (outline: cards on every call of the 7 non-rust adapters). Reviews: Fable (then the auto diff: merge) and Sol (merge after fixes, re-check merge). Local Full 2257 run, 2256 passed, 3 skipped; the one failure was the lsp-cost expected text, fixed and rerun. 64253e6, 050d00d, b50fc71, 89bbf22, e7db500 (PR 205; merge 74e9310); private run record (places pair)
d551 2026-10-22 DECISION mcp N20 (a) (PR 211): the MCP index_workspace and search_code handlers run under the request's cancellation token (until_cancelled, a biased tokio::select! against ct.cancelled()), so a notifications/cancelled drops the work at its await point, as axum drops a REST handler. rmcp discards the response of a cancelled request, so the error result is diagnostic only. Dropping mid-index is the same path as a dropped REST request: RAII locks release, the LanceDB commit is atomic, a drop between table commit and manifest save is repaired by the next search's staleness check. spawn_blocking scans and the index-lock thread still finish (N20 (d)). Other tools are not wrapped yet. Two MCP tests with a stalling embedder both fail without the select. b8a938c (PR 211; merge ccf8ce7)
d552 2026-10-22 DECISION freshness N20 (a) follow-up (PR 211): refresh_stale_snapshot stamps the on-search throttle before its fingerprint walk (concurrent searches skip the check), and a StaleCheckStamp drop guard gives the stamp back when the search future is dropped mid-check (an MCP cancel during the walk or the refresh). Without it a cancelled search left the next stale_check_interval_seconds (default 10 s) of searches reusing an unchecked snapshot with no warning. A check that completes, including one ending in an error or a "staleness check unavailable" warning, keeps its stamp. last_stale_check is a std::sync::Mutex so Drop can restore it. Test a_search_dropped_mid_stale_check_leaves_the_next_search_free_to_check fails with the guard a no-op. 95c2cda (PR 211; merge ccf8ce7)
d553 2026-10-22 FINDING lsp K11b post-merge check (the window of d537, method d539; release ccf8ce7, places mode equiv, 3 repeats, quiet machine at 12 to 19 % idle CPU): stock shared against shared+sync, warm p50 ms per expansion: python 413.4 against 3.2 (ratio 128.8), typescript 284.7 against 4.6 (62.4), go 266.4 against 2.1 (124.3), csharp 524.1 against 4.5 (115.4), java 609.8 against 611.8 (jdtls keeps no session either way); no round-1 call over the deadline; cards identical between the arms for every adapter (python 42, typescript 39, go 21, csharp 72, java 42), so the stock default loses no cards, it pays a server start per walk. Rust (shared, with an index): warm p50 75.6, cold 9.6 s, 4 round-1 calls hit the deadline, 265 cards, no 0-card question. Mixed tree (rust index plus python files, auto resolves to scip): 0 python cards, 190 rust cards (10 unclassified), so the per-workspace residual of the auto default is confirmed and the per-language auto slice is queued. Markdown has no data. Python and go ran through the tap's version-probe workaround (d540). By the d537 rule (limit 3x) the default is wrong for python, typescript, go and csharp: K11b-4, with sync = "watch" preferred over "live only where kept" (2 to 5 ms per expansion with every card kept, against dropping 174 cards). private run record (K11b post-merge window)
d554 2026-10-22 DECISION traverse K39a (PR 214): the map registry of run_with_trait_seeds moves out of src/app/traverse/mod.rs into src/app/traverse/maps.rs, move-only. Commit 1: the seed map ids, MAPS, OPT_IN_MAPS, the ripgrep probe and its compile-skip note (re-exported unchanged). Commit 0b (d536): a traverse_matrix cell lsp_default (stock profile, shared manager, missing servers) pins that the default map set tries lsp.live. Commit 2: maps::select returns Selection { wanted, notes } (the off-note slots, the known-map check, the skipped and wanted match with the lsp.live default rule, the bm25, literal, repo-map and structural blocks, the needs-root check, the note assembly). Commit 3: maps::build returns Built (carrying setup and early) and registers every map from the seed maps through lsp.live (restart notes, places auto) to the exact and search maps. The tree barrier, find_seeds, the first stage and the deadline credit stay in mod.rs; add_trait_seeds is hoisted to run right after build; the search-map registration now runs before the first stage, which reads neither the registry nor the plan, so the order of notes, warnings and unavailable entries is unchanged. mod.rs went from 2043 lines (at 74e9310) to about 1300 and maps.rs holds about 1000. The moved bodies are byte-identical except reference forms (clippy needless_borrow), preset.as_deref() -> preset, rustfmt joins and one doc link. traverse_matrix 18 of 18 after every commit with only the new cell blessed; Fable: merge, no must-fix or should-fix finding. Not covered by a matrix cell but by unit or Lsp tests: seeds.literal on, grep.live, docs.mentions, grep.structural on, git.history, probe.compile, the search maps. K20c-2 and K26-2 attach to maps::build; K39b (the remaining phases, and the docs pass for stale comments) follows. Local Full on the branch with main merged: 2267 run, 2267 passed, 3 skipped. dc2273c, 5b26ef6, 9eb8f64, fb73b3d (PR 214; merge de46ce6)
d555 2026-10-23 DECISION lsp K11b-4 (PR 215): DEFAULT CHANGE. [run_profile.lsp] sync = "watch" (was "off"; LspSync's #[default] is the whole product change): the service's manager watches each workspace with a session and tells its servers about edits, so every server that lists its tree stamp's configuration files (all but jdtls and marksman) is kept across traverse calls under sessions = "shared", primed at first touch, and passes the same tree barrier as before. Evidence: d553 (python 413 vs 3.2, typescript 285 vs 4.6, go 266 vs 2.1, csharp 524 vs 4.5 ms per expansion, cards identical, limit 3x). The one-shot lci traverse builds its manager without a sync (the process ends with the walk; it keeps rust-analyzer only, as before). A session whose server failed to start is released by the idle sweeper and its workspace watcher stops with it (N117, fixed here; a test and a mutation check). The lsp-cost shared arm writes sync = "off" explicitly and keeps meaning the old stock; shared+sync is the stock now. Golden: the sync line and the hash 8dade2ba -> 527ad983, nothing else. Peak server RSS while kept: pyright 123 MB, typescript-language-server 462, gopls 118 (254 under shared), csharp-ls 193, jdtls 1267 (never kept), rust-analyzer 4013; the idle timeout (lsp_idle_timeout_seconds) bounds them. Residuals, recorded as roadmap rows: watcher health is invisible and a failed or silently stopped watcher (N102) leaves a non-watching server on the stamp alone (N118); the burst cost of write storms and the poll fallback (N119); the search channel restarts a synced non-watching server after an edit (N120); a panic in the detached start task (N121). Re-measure (pre-registered, rule reading d543; release 6f07b0f, quiet window, 3 repeats, places mode equiv, python and go through the tap's version-probe workaround): all six PASS; warm p50 ms per expansion under the new default python 2.8, typescript 3.7, go 2.2, csharp 4.5, java 628.6, rust 75.3 (d553: 3.2, 4.6, 2.1, 4.5, 611.8, 75.6), cards equal (42, 39, 21, 72, 42, 265), no round-1 call over deadline_ms; the old-default arm shared stays within 3x of its d553 row (python 399.4, typescript 286.6, go 236.1, csharp 536.9); the mixed tree keeps the per-workspace residual. The per-walk auto selection is not exercised by this run. Reviews: Fable merge after fixes; Sol merge after fixes, re-check merge. Local Full 2269 of 2270; the one failure is the flaky N122 test, which passes alone. 9d68906, 316e1e6, 6f07b0f (PR 215; merge 6328558); private run record (K11b-4 re-measure)
d556 2026-10-23 DECISION traverse K20c-2 (PR 216): [run_profile.scip] arbitration = false (default) | true. On, with lsp.live registered and scip.mode not authoritative, the server is the authority over the SCIP maps the call registered and built (wanted, not unavailable): scip.impact (Refers), scip.implements (Implements, with implementations = true) and structure.contains (Structure); only function and method destinations are judged under either places arm; graph.scip is never arbitrated. Counts per call in the trace, per subordinate map in per_map, in totals.arbitration and one note; under map_freshness the judged maps carry role authority or cache only while an arbitration ran. A handle records the arbitration's identity and refuses a resume under another (or none). Off (the default), the profile hash gains a leaf (golden: run_profile.scip.arbitration = false, hash 527ad983 -> 5891a2d8; the traverse-matrix and handle goldens do not move, old handles resume) and the MCP server's instructions gain one clause naming the key, the only byte change reachable with the key off. Harness: lsp-cost arm shared+sync+arb and --extra-maps. The default flips only on the pre-registered rust measurement (false-overrule rate at most 5 %, the edit pass, no card or deadline loss), with a Sol review; the harness has real SCIP indexes for rust alone, so the cache role claim is measured for one language (python and go arms are cycle 2, after K11b-5). Review: Fable merge after fixes (the README start-event clause and the refusal text fixed; weak spot: the structure.contains count test proves listing, not judging); no Sol review (default off). Tests: 5 navigation, 2 lci-maps unit, 1 config, 1 freshness and 2 xtask tests; four mutations (arbitration never attached, resume refusal off, an unwanted map listed, unavailable ignored) each caught. Local Full 2280 of 2281; the one failure is the flaky N122 test. 89790e8, 91c2399 (PR 216; merge 44a8c44)
d557 2026-10-23 DECISION lsp K11b-5 (PR 219): the readiness probe is per adapter. probe_subprocess(path, args, exit, timeout) replaces the hard-coded <server> --version: gopls probes with gopls version (its --version exits 2), pyright-langserver with a start that may exit non-zero (it has no version flag; exit 1), every other binary with --version and exit 0 as before; jdtls keeps its launcher-jar probe; Missing and TimedOut keep opening no breaker window. Finding d540: on a stock install python and go never joined lsp.live, the warm start or /ready (smoke D2 and D4 FAIL), masked by open_split keeping rust-analyzer and by the tap's LSP_TAP_VERSION_AS workaround in every K11b measurement. Evidence: unit shims (an exit-1 start passes for python, a version-only answer passes for go, missing stays Missing, a hang stays TimedOut); stock-install smoke with bare names, no tap and no workaround: PASS, D2 and D4 PASS (kill rule clear); lsp-cost python and go without the workaround (release binaries, shared+sync, repeat 3, places outline), warm p50 ms per expansion python tap 3.3 and bare 3.2, go tap 2.6 and bare 2.3 (K11b-4 re-measure 2.8 and 2.2; rule: at most 3x), cards 42 and 21 as before, no round-1 deadline call, gopls version n=20 p50 434.9 ms (tap) and 154.1 ms (bare), python probe reported as skipped; lsp-cost now times and labels the probe each adapter runs. Rule reading fixed before the run: P5 (no shim-answered line) is vacuous on the tap log, so it is carried by the scripts refusing to start with LSP_TAP_VERSION_AS set and by the bare-name runs. POST-HOC reading: the summary script printed INVALID for all four configurations (precondition: profile hash equal to the K11b-4 re-measure row) because the branch was merged with main before the build and main's K20c-2 added run_profile.scip.arbitration = false (one golden line, default off; K11b-5's own commits move no hash); read as valid, the owner may overrule. No profile key, golden or hash moved by K11b-5. Sol: YES (the stock behaviour changes: python and go join lsp.live, the warm start and /ready, about 240 MB more RSS at first touch). Fable: merge after fixes (report labels, this row and the roadmap row). The open_split partial-failure note is deferred (N124). ce445c7, ef9bf71 (PR 219; merge 7c2caef); private run record (K11b-5 re-measure)
d558 2026-10-23 DECISION tests N122 (PR 218): the flaky lsp_concurrent_open::a_close_publication_does_not_end_a_reopens_diagnostics_wait is event-ordered, not timed. It assumed the re-open came at least 500 ms after the close (close publication at +1500 ms); under build load the 65 slow opens put the re-open's publication first (count 2, not 3). The fake LSP gains --close-diagnostics-on-reopen (documents mode): a close's empty, version-less publication is held and sent when the same document is opened again, ahead of the re-open's own delayed publication, so the order holds under any load. Test-only. Passed 10 of 10 runs beside other cargo jobs; with Diagnostics::answers mutated to accept a version-less publication the test fails (2 vs 3). 7db1462 (PR 218; merge c8b67be)
d559 2026-10-23 DECISION traverse K26-2 (G1, PR 220): [run_profile.walk] confirm = false (default; today) | true: app::traverse::maps::build builds the confirm frontier when grep.live and lsp.live are both registered for the call (else one note and an unconfirmed walk); LspLive::confirmer is wrapped with the places kind ("lsp.live definition places scip|outline") so a handle refuses a resume under another places mode; attached with the call's top_k; one note after the walk with the proposed, confirmed, refuted and unknown counts and the confirmer calls (the counts are in the trace end totals, not the answer's totals). Claims stay as K26-1 left them (a confirmed group still counts as text for grep_corroboration; a cycle 2 question once the confirmed share is measured); UTF-16 columns after non-ASCII text stay a documented residual (Unknown, fail-open). In the profile hash: golden one line (run_profile.walk.confirm = false), hash 5891a2d8 to 184a4b5c; no default change, no Sol review; local Full by the hash rule (d520). Mutations m1 to m5 caught. Fable: merge after fixes (process only: roadmap rows and this row at the fold). No Codanna; lci-maps untouched. The value measurement (cost and quality per call against the walk without confirmation) opens cycle 2. c00c52c (PR 220; merge 62664b0)
d560 2026-10-23 DECISION lsp N118 (PR 221): the status gains a top-level sync key (a sibling of analyzers, present only while a workspace's sync runs, so byte-equal with sync off or no session) that reports Manager::sync_status: backend, the new failed flag (neither watcher could start; previously only a warn!), and the counters events, batches, forwarded, walks and rescans; a silent Windows stop (N102) shows as events not growing. A sync whose opening task dies is marked failed (review fix). Navigation status test under Watch and Off, sync unit test with an injectable fallback opener; mutation-checked. 765bd60, fc16725 (PR 221; merge 838867d)
d561 2026-10-23 FINDING process Sanity 19: the K11b-4 flip rests on identical cards and a 62-129x cost gap (d553, d555) and holds; its residuals are that python and go have never run on a stock install (shim, d540), per-walk auto was never exercised in a run (d539, d543), and the burst and memory cost of kept servers on a large tree is unmeasured (N119). K20c-2 and K26-2 are layers with no value measurement, as d396 allows. Prior art (Sourcegraph, Serena, mcp-language-server, Codanna, aider) keeps servers resident with watchers and prefers precise over search, but none arbitrates SCIP against a server or confirms a grep frontier live. Picks: K11b-5 merges only after its pre-registered smoke and no-shim lsp-cost; per-language auto moves ahead of K12a-2 and K12b; N118 and the N122 fix join the closing list; K12a-2, K12b-2, K31, K39b move to cycle 2 unless started by 2026-10-24 00:00Z; the one measurement that can reverse a default is the N119 write-storm run on a large tree under the stock default. The cut is the owner's; asked 2026-10-23. private run record (sanity 19 review)
d562 2026-10-23 FINDING lsp K11b-6 per-language places = "auto" (branch feat/k11b-6-per-language-auto, not merged): its pre-registered release-build measurement failed (mixed tree: 0 python lsp.live cards, R1a/R1b; small rust and deadline misses that the diagnosis reads as window noise, every card difference sitting on a deadline- or cap-hit call). The gate itself works: the rust index covers only .rs, python files are outlined and minted as sym:python:, and py01 discovers the two call_site.py members (hops 96 vs 94), but none is popped or listed: Contains edges carry prior 0.5 against 1.0 for calls and references, the 20-pop budget goes to the rust seeds' neighbours and answers keep 8 walk cards. No change inside the slice can surface them, so per-language auto moves to cycle 2 together with mixed-tree surfacing (Contains prior, budget, top_k), measured with a pre-registered python-seeded mixed question. A redo under a rule written after the failure is not taken. M2 closes without it. private run record (K11b-6 measurement and diagnosis)
d563 2026-10-23 FINDING process Sanity 20 (M2 closed, d561 and d562): the direction holds; K11b-6's miss is a walk-ranking and seed finding, not a places one (the gate is verified; hard-coded hop priors, 20 pops, 8 walk cards; vectorless mixed arms), and its remedy is cycle 2 iteration with vectors present, a python-seeded mixed question and a discovered-nodes rule, seed-side before priors; prior art (aider's language-agnostic PageRank, Serena's explicit per-language routing, Sourcegraph's per-language SCIP) surfaces nothing by priors. The finish line is unchanged (d422); what remained was docs fold 4, K39b, K12a-2 narrowed to its measured pyright gain (0 of 7 against 5 of 5, opt-in, tsserver no gain) and the cycle 1 report. Recommended cut: K12b-2 and K31 to cycle 2, K12b-1 parked on its branch, K39b and K12a-2 kept; the K26 and K20c value windows need the owner's placement. Forecast at the time: close about 2026-10-24 02:00Z without K12b and K31. Process: two brittle pre-registrations in a row (K11b-6's positive rules could not fire under the question set; K11b-5's absolute-hash precondition failed literally under a merge of a default-off key, d558). Adopted change: every pre-registered positive rule carries a reachability line naming the baseline artefact that shows its measured quantity's input exists and that the budget leaves room; a precondition compares golden text against the baseline commit ("empty, or only default-off keys named here"), never an absolute hash; a reviewer other than the planner signs both before the quiet window. private run record (sanity 20 review)
d564 2026-10-23 DECISION traverse K39b (PR 223): run_with_trait_seeds in src/app/traverse/mod.rs is split into private phases, move-only: prepare returns Prepared (the resolved call: limits as Cow, steer, selection, walk_off, store, loaded, observer, rescorer), WalkSetup (snapshot, handler, actions, priors, tie_break, identity, preset) and Ledger (budget, notes, warnings); the tree barrier stays in the orchestrator because the map context ties the restarts' lifetime to the call; seeds returns Seeded (found, maps::Built, arbitration; find_seeds, build, the arbitration and confirm checks, the trait-seed hoist); run_first_stage returns Staged (stage, exact report, stage time); the setup credit stays in the orchestrator at the same sequence point (plan_maps is taken, not cloned); walk returns WalkOutcome (the no-seeds answer or Walked: result, effective policy, enabled maps, restored nodes, notes, warnings); finish builds the handle, trace, map notes and response. Public paths and signatures and the report JSON are unchanged; the 18-cell traverse_matrix was byte-identical after each of the five commits (the fifth is the docs pass: the stale "below" comments in mod.rs and maps.rs and the module table in architecture.md). Fable review by normalised statement diff (495 old statements against 493 new, every residual diff glue or rustfmt reflow; the 30 note and deadline-credit sites in the same sequence; 13 .clone() sites unchanged; no new pub or #[allow]; the three note arms the matrix does not pin read verbatim): MERGE, no kill rule tripped. No Full gate locally (narrow, d520) and no Sol review (no behaviour change). K39 closed. PR 223; merge 6efaf47; private run record (K39b review)
d565 2026-10-23 FINDING process Cycle 1 time estimate, outcome (the roadmap subsection is retired; its text is in git show 6d6a9bb:docs/development/roadmap.md). Estimated agent wall time for the whole loop per slice: XS 0.5 h, S 1.5 h, S-M 2.5 h, M 3.5 h; the size table's hours were never re-measured per slice. Measured: S slices K1a, K1b and K1c 1 to 1.5 h each, one at a time (2026-10-20, Full gate about 25 min and CI about 20 min then; about 3 min and 8 min after d415 and d419); K0a part 1 (S-M) about 3.5 h with two review rounds; K4a about 2.7 h and K4b about 2 h, one review round each (d505); M1 about 20 h wall with K7b-1, K7b-2 and K9a in parallel; M2 about 30 h wall at the last count, closed 2026-10-23 about 13Z, about 3.4 days after the roadmap merge (2026-10-20 03:49Z), with lanes in parallel and without K11b-6 (d562); M3 about 8 h wall plus 6.5 h measurement machine time (lane A 3.5 h, lane B 3 h, debug builds under load, against 25 to 90 min of estimate) plus K22a-2 about 5 h wall (build 32 min, main run 4 h 12 min, release, under load; d497). Pace on 2026-10-21 (sanity 10, d459): PRs 139 to 159, 21 merges in 8 h (09:36 to 17:39 local), 2.6 per hour with four lanes, 33 merges since midnight; lanes are limited by dependencies, by merges into main one at a time and by build slots. Risks named at the time: the weekly usage stop, SHARED's 1 s stamp-walk kill rule on deno-sized trees (30k files), debug builds under load, M rows with two review rounds (about +30 %), Windows gaps for marksman, Serena and the ast-grep tree-sitter pin, and outputs dying with worktrees. K32-3 (pickaxe) was noted as a decision, not a slice. roadmap@6d6a9bb "Cycle 1 time estimate"
d566 2026-10-23 DECISION tests N21 (PR 196, test-only): the JSON-metrics test evaluation_reports_required_failures_optional_skips_and_json_metrics pins hit_at_1_rate, mrr and role_distribution to hand-derived values (0.0, 0.0, {}) with a poisoned skipped query that proves exclusion, and loads its definition through load_definition instead of asserting an EvaluationFile it built itself. PR 196 (roadmap row N21 at 6d6a9bb)
d567 2026-10-23 DECISION engine N18 low batch (PR 195): items (a), (c), (d) and (e) are fixed: (a) the manifest::save removal of the destination before the rename; (c) serve --port 0 uses the bound port for the log, /openapi.json and the Origin check; (d) the navigation tests assert their own adapter's running flag; (e) the model listing probe keeps the configured URL's path prefix (model_listing_url) and falls back to the origin /v1/models on 404 or 405; the stale self LSP acceptance needle for openapi_document is fixed too. Item (b), the Java readiness probe, was N77 (d190). Item (f), the per-file size cap, stays open in the roadmap. PR 195 (roadmap row N18 at 6d6a9bb)
d568 2026-10-23 DECISION tests N112 and N113 (PR 190, test-only): N112, the flaky freshness test with_sync_on_the_session_is_told_about_the_edit_and_the_barrier_replaces_it (seen once on CI 2026-10-22, PR 188, docs-only), waits on synced() before it reads sync_status; N113, the literal suite lengths (args(Suite::Lsp).len() style asserts), are replaced by derived tests that every tests/integration.rs case module is in a focused suite or FULL_ONLY_CASES and every filter names a declared module. PR 190 (roadmap rows N112 and N113 at 6d6a9bb)
d569 2026-10-23 DECISION tests N115 (PR 202, 2026-10-22, test-only): the Freshness cases a_rewritten_scip_index_refreshes_the_scip_built_maps_by_its_stamp, without_the_key_the_labelled_maps_are_gaps_on_a_line_shift_too and with_the_stat_gate_on_the_labels_equal_the_full_hash_path get a 10-minute test deadline (the config keeps the 60 s that validate accepts; assert_no_timeout is kept), and the lci-maps probe gate test asserts cargo's timeout against the measured gate hold, with no wall-clock margin, so no case depends on machine speed. PR 202 (roadmap row N115 at 6d6a9bb)
d570 2026-10-23 DECISION infra tokio 1.54.1 (PR 224, merge 7ba065c, commit d8911b1; Cargo.lock only): RUSTSEC-2026-0386 (the AsyncFd constructors accept any raw fd, unix only; fixed in tokio 1.53.3 and later) failed the cargo-deny advisories check on every PR, so the lock moves to 1.54.1. d8911b1 (PR 224; merge 7ba065c)
d571 2026-10-23 DECISION process Rule change in docs/development/documentation.md rule 10: the append-only log docs/decisions.md is exempt from the line target (the target log <= 300 is removed; the log is 551 lines at 6d6a9bb, and moving old entries to an archive would break the frozen ids that are cited everywhere). README, guide and roadmap targets are unchanged. cleanup S2a
d572 2026-10-23 DECISION lsp N123 (from the K11b-5 review) is done: the lsp-cost report labels the version-probe row with the probe each adapter runs (gopls version; the python probe is skipped) and no longer claims a 5000 ms bound the code does not impose. Recorded so the id stays traceable after its roadmap row left in cleanup S2a. ef9bf71 (PR 219); d557
d573 2026-10-24 DECISION process The docs and code cleanup of 2026-10-23/24 is finished. Docs: the roadmap is trimmed 333 -> 252 lines (PR 226); README 370 -> 227 lines, with the reference guides docs/reference/mcp-and-rest.md, docs/reference/cli.md, docs/reference/retrieval.md and docs/development/module-boundaries.md (PR 228; the Rust help and OpenAPI strings that named moved README sections are repointed, PR 229); every statement a docs-vs-code audit found to disagree with the code is fixed, and docs/architecture.md 360 -> 238 lines, with docs/lsp-channel.md and docs/traverse-flow.md (PR 230). Process: the PR-closing workflow for the Copilot bot is removed (PR 227); 122 remote and 13 local branches are deleted, each proven merged first (a merged PR whose head SHA is the branch tip, and the tip an ancestor of main). Code, behaviour-preserving with new pins: PRs 231, 232 and 233 (d574). Each docs PR (226, 228, 230) passed a token-inventory compare (ids, numbers, dates, statuses, conditions, negations) and a separate loss review. merges b642599 (PR 226), cff615f (227), 09da959 (228), 3c3092f (229), 4fd0e72 (230); d574
d574 2026-10-24 DECISION process d487 amended: two of its "not taken" items were taken in the cleanup. The LSP initialize_params dedupe (PR 231): initialize_params_for with InitializeVariant builds the initialize request of python, go, clangd and java (Base), markdown (DocumentSymbol) and typescript (PublishDiagnostics); rust and csharp keep their own initializationOptions; an exact-JSON pin per adapter, written against the old code first. The SCIP map boilerplate (PR 233): scip_ranked_hits in lci-maps/src/edge.rs holds the query skeleton of ImpactMap, ImplementsMap and TestedByMap, with the note, rank, score, evidence, dedupe and truncation pinned per map. Also: app::traverse::search takes a TraverseRequest (PR 232) and loses its too_many_arguments allow. Still not taken: the multilingual acceptance table and a shared per-language acceptance runner, which only a live acceptance run proves (N127). Found in review, left for a later output change: N126. merges bb3e071 (PR 231), ffdeeff (232), a60923c (233); d487
d575 2026-10-24 FINDING process Rescued before the cleanup removed three local work items that had no decision id. An evaluation worktree at bfaff44 carried an uncommitted .lciignore variant that drops the .agents/** and .github/instructions/** lines (kept outside the repository as a diff that applies cleanly). An evaluation worktree at f1d401d was clean and is reproducible from that SHA. Branch feat/live-grep-lockfiles (tip 39aff96: the lockfile-skip default that d393 dropped) is superseded: main keeps the skip opt-in (GrepOptions::skip_files, empty by default); its patch is kept outside the repository. cleanup S1c, S4 (work area, not in this repository)
d576 2026-10-24 FINDING process Closing checks of the cleanup (d573). A fresh clone of e51341c, following the README build steps with no undocumented step, built and passed cargo xtask test --suite Full (2321 passed, 3 skipped); cargo xtask setup downloaded the official protoc 33.0 release. Correction to d573: 4 of the 13 deleted local branches (feat/live-grep-lockfiles, feat/system-one-rescorer, feat/docs-lane-rerank-off, feat/k37c-probe-compile-grant) were proven by their tip being an ancestor of main or by owner word, not by a merged PR whose head SHA is the tip. Left after the cleanup and not on the roadmap: config.example.toml comments that narrate measurements; whether spike files count toward the guide size limit (two are over 250 lines); user docs for cargo xtask gold external and maps baseline, which only this log describes; the README [run_profile] table cell that repeats docs/reference/cli.md; a second work-area pass for the held directories; six keep and eval tags that exist only locally. fresh clone e51341c; cleanup sanity check 21 (work area, not in this repository)