Architectural Decision Records¶
Each record states one decision about how redsun is built, in the format
Michael Nygard
describes: status, context, decision, consequences. An accepted record is
never edited; a later one replaces it.
Records up to 17 were written before release 0.14 and use the names of that
time: AppContainer and QtAppContainer are now Session and QtSession,
redsun.containers and redsun.virtual became the session layer, and
redsun.experimental was the session layer while it was being built.
How to migrate from 0.13 lists every
renamed name.
- 1. Record architecture decisions
- 2. Storage dual-context redesign (superseded by 13)
- 3. Structural subtyping for presenters and views (superseded in part by 11)
- 4. Owner-scoped signal lookup
- 5. Culsans-backed psygnal async backend
- 6. Application-declared wiring
- 7. Typed provider keys
- 8. Container hooks and the build phase registry (superseded in part by 10)
- 9. Inherited and layered component configuration
- 10. Toolkit hook points
- 11. Tolerating a component that fails to build
- 12. Services and two connection levels
- 13. Acquisition storage belongs to the device
- 14. Typed session files and plugin manifests
- 15. Collaborators arrive in
setup - 16. A component refused at declaration is skipped
- 17. Questions read from the annotation
- 18. Wire yields links
- 19. Copy plan progress from bluesky
- 20. A built-in positioner
- 21. A built-in light stack
- 22. A built-in acquisition stack
- 23. Pairing two components
- 24. A plan widget for every parameter type it can return
- 25. A view's placement chosen per declaration
- 26. Parameter limits from
annotated-types, checked bypydantic - 27. A saved window layout gives way to a changed placement
- 28. A session declares its first window layout
- 29. Keyboard shortcuts are declared by components
- 30. napari's styling is copied until napari publishes it
- 31. Hook points take several providers and tolerate one that fails
- 32. The qlementine style comes behind one extra per Qt binding
- 33. Device trees: one index of every device
- 34. A root device takes the prefixes of several services
- 35. A sharedbox transport answers writes in its boxes (superseded in part by 39)
- 36. A stack is declared as one entry
- 37. diwire is the session registry
- 38. The session owns background computation
- 39. A sharedbox transport serves each attribute as one field
- 40. A view has a title apart from its name
- 41. A view can sit in the status bar