packages/kilo-vscode/docs/nes-examples/INSTRUCTIONS.md
These tests are designed so that the source files contain no hints about what Mercury is supposed to predict. All cursor placements and expected behaviors live here. Don't open this file inside the Dev Host while testing — keep it in a separate window so the model can't see it.
bun run watch is already running for the kilocode extension.File → Open Folder… → packages/kilo-vscode/docs/nes-examples/ inside this repo.Cmd+,), confirm:
kilo-code.new.autocomplete.enableAutoTrigger → ✓ (default true)kilo-code.new.autocomplete.model → Mercury Next Edit (Inception) ← NOT "Mercury Edit 2", which is the classic FIM optionkilo-code.new.autocomplete.nextEdit.apiKey → your sk_... keyeditor.inlineSuggest.enabled → ✓View → Output → pick the "Kilo Code · Next Edit" channel.After each test, don't accept if you want to re-run it — the suggestion will edit the file. Either Cmd+Z after accept, or just navigate to the next test file.
01_finish_function_body.pyfactorial (column 4).diff at lines [N..N], cursor at line N, then RENDER.02_pattern_continuation.pyCOLOR_BLUE = ).diff at lines [N..N], cursor at line N, then RENDER.03_typo_completion.pyreturn tot).04_loop_body.pyfor loop (column 8).05_class_method.pypop (column 8).07_multiline_rename_refactor.pydef compute_user_score(user_id, weight): (the renamed signature). The body below still uses the old u / w names.08_mixed_insert_and_replace.pytotal = 0.10_mid_token_completion.pyresult = fib).11_fill_sibling_method.pydequeue (column 8).12_type_annotation_insertion.pydef add(a, b): (anywhere on that line works; end-of-line is easiest).13_docstring_generation.pydef parse_iso_date(s): (column 4).""" and a one-line description.14_no_op_suppression.pyreturn a + b.identical replacement — no-op or no RENDER line.ts_07_array_transform.tsreturn users inside getActiveUserNames..filter(...).map(...) chain.ts_08_param_types.tsmain();).add(a, b) signature + ghost showing the typed version.ts_09_jsx_handler.tsxhandleClick (column 4).count.go_07_error_handling.godata, err := os.ReadFile(path).if err != nil { return nil, err } block.go_08_struct_method.goArea().Width and Height.go_09_goroutine_channel.gors_07_match_arms.rsmatch s { body, after the Square arm (column 8).Rectangle and Triangle arms.rs_08_result_chain.rslet n = s.trim() (no semicolon yet).i32.rs_09_lifetimes.rsmain's closing }).fn longest(...) signature + ghost showing the lifetime-annotated version.js_07_async_await.jstry { block (column 8).js_08_express_route.jssql_07_join.sqlFROM orders o.customers.sql_08_where_filter.sqlWHERE line.md_07_prose_negative.md[NES] skip — no API key resolved: setting wasn't saved. Re-paste the key, hit Enter, reload.[NES] <- 400: regression on prompt shape — capture the body in the channel and ping the integration owner.