Decisions¶
Architecture decision records: why DeckHost is built the way it is. Each one says what was decided, why, and what it costs. A new decision that changes an old one gets a new record and marks the old one Replaced.
| Decision | Status | |
|---|---|---|
| 0001 | Contracts ← Core ← App → device plugins | Accepted |
| 0002 | One worker owns the host's state | Accepted |
| 0003 | Plugins compile against Contracts; the API only grows | Accepted |
| 0004 | Bindings and profiles are immutable records | Accepted |
| 0005 | Profiles carry a version and migrate forward | Accepted |
| 0006 | Workflows are a graph run on the host worker | Accepted |
| 0007 | DeckHost plugins run in their own process | Accepted |
| 0008 | Generic USB devices are descriptions, learned by pressing | Accepted |
| 0009 | Firmware updates go through the host, written by the device plugin | Accepted |
| 0010 | GPL-3.0 for DeckHost, MIT for the plugin API | Accepted |
Format: Context (what forced a choice), Decision, Consequences (good and bad). Keep them short.