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