Skip to content

Architecture Decision Records ​

Decisions behind @jolly-pixel/console that are hard to reverse or surprising without context. The API is described in the docs.

#Decision
0001No singleton: one instance per editor page, passed down
0002The root entry has no DOM, and the element is a second entry
0003The last registration wins, and a handle only removes its own
0004An exact variable match beats search
0005Output is plain text, and the console persists nothing
0006Features register through a function over a context
0007The suggestion list shares the prompt's shadow root
0008Mirrored variables read a cached value
0009Revert is opt-in per command, and stale changes are skipped
0010Scripts edit variables as INI text, all or nothing
0011Namespaces nest by dotted address, and parents are implicit
0012The scope is a view for the prompt, not registry state
0013List items are space-separated tokens