You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Convert the input file, alignment and ASTRAL tree to annotation maps #154
One family of the page store declares its observable fields, computeds and actions in a plain annotation map instead of decorators: the input file and its two subclasses, the alignment and the ASTRAL tree. A family converts as a unit because decorators and annotation maps cannot be mixed within one inheritance chain.
The replacement pattern, fixed by the spec (trimmed from the prototype):
Cut the worktree from the spec's feature branch spec/118-page-store-mobx-7 and open the pull request into it.
Acceptance criteria
No decorator remains on the input file, the alignment and the ASTRAL tree.
Each of these classes that has observable members calls makeObservable with an explicit annotation map in its constructor. A class that needs the call and has no constructor gets one. A subclass with no observable members of its own gets no call.
makeAutoObservable is used nowhere.
An action stays an arrow field where it is passed unbound; where a subclass replaces an action, actions are prototype methods.
A subclass that replaces a parent's action or computed annotates it override.
The alignment's annotated arrow dispose over the parent's unannotated arrow field is accepted as is.
The parity test passes with its baseline unchanged.
No test triggers a MobX action warning.
Panels and behaviour are unchanged.
Jest, lint, the typecheck baseline check and the end-to-end suite pass.
Activity
jtklein-agents commentedon Nov 15, 2026
Merged in #198 into spec/118-page-store-mobx-7.