kode walkthrough matrix
The demo asset tree doubles as the walkthrough corpus for the kode extension: every editor face is exercised against the real corpus under Xvfb on a real VS Code, and the run writes docs/acceptance-evidence/evidence/DEMO-GAME-026-walk.jsonl. All 11 faces are green (face 10 closed after the GAP-B/GAP-C follow-ups).
| # | Face | What the run proves on the demo corpus |
|---|---|---|
| 1 | def↔py jump | reqAttack jumps both ways: def method ↔ cell/Avatar.py implementation |
| 2 | Parent chain / MRO | class lens chains (Avatar +2 roots), zero-chain gate, Equipment→Item and Monster→Avatar base-name jumps |
| 3 | Read/write references | Sect.members grouped 1 write / 6 reads, quickpick intercepts the real chain |
| 4 | dict key/value hover | literal-key reads and .get() show key type + first write point |
| 5 | FIXED_DICT inline | SPIRIT_ROOTS def hover and the self. attribute hover on the inline FIXED_DICT |
| 6 | Config merge | kbengine.xml overrides shown on top of real engine defaults (500) |
| 7 | createNamespace timing | hover in base/Pet.py __init__ explains the namespace timing |
| 8 | Hot reload panel | real webview tab opens (viewType gets a host prefix) |
| 9 | base↔cell switch | toggling faces lands on the Avatar mirror file |
| 10 | create-params diagnostics | params call-site diagnostics produced on the py side (closed in GAP-B: Rust pull face + TS bridge gate + production wiring; GAP-C: comprehension shapes) |
| 11 | entities.xml audit | honest report of trimmed types against the real registry |
How to run it
The walkthrough suite is a scripted real-machine run: it launches a real editor against the demo fixture tree (tests/fixtures/kbengine-demo-assets), drives each face through the extension's public commands, and records one JSONL line per face. A re-run must exit 0 with all faces green before a batch may claim the editor faces still work — fixture changes that move anchors fail here first, by design.
Why this corpus
The demo assets contain the exact constructs kode must understand: 19 interfaces, combined cell/client flags, inline FIXED_DICTs, dict key writes, Parent= def inheritance, entities.xml registration — so a green walkthrough run is end-to-end proof that the language faces survive contact with real game code, not just synthetic test files.