Skip to content

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).

#FaceWhat the run proves on the demo corpus
1def↔py jumpreqAttack jumps both ways: def method ↔ cell/Avatar.py implementation
2Parent chain / MROclass lens chains (Avatar +2 roots), zero-chain gate, Equipment→Item and Monster→Avatar base-name jumps
3Read/write referencesSect.members grouped 1 write / 6 reads, quickpick intercepts the real chain
4dict key/value hoverliteral-key reads and .get() show key type + first write point
5FIXED_DICT inlineSPIRIT_ROOTS def hover and the self. attribute hover on the inline FIXED_DICT
6Config mergekbengine.xml overrides shown on top of real engine defaults (500)
7createNamespace timinghover in base/Pet.py __init__ explains the namespace timing
8Hot reload panelreal webview tab opens (viewType gets a host prefix)
9base↔cell switchtoggling faces lands on the Avatar mirror file
10create-params diagnosticsparams call-site diagnostics produced on the py side (closed in GAP-B: Rust pull face + TS bridge gate + production wiring; GAP-C: comprehension shapes)
11entities.xml audithonest 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.

Kode documentation