Research
Alicorn is a research project, so the reasoning behind a boundary matters as much as the API that
implements it. Each record states a question, the evidence that was collected, the disposition, and
the limits of that evidence. Records live beside the code in
docs/research/ and are
linked from the pull request that changed behavior.
The full validation evidence — platform matrices, raw runs, screenshots, and acceptance reports —
lives in docs/validation/.
A headless test establishes the behavior that test covers; it does not establish native window
presentation, OS accessibility behavior, or GPU output.
Records
Section titled “Records”| Record | Question | Disposition |
|---|---|---|
| AliKit proposal | Where do reusable components belong? | AliKit is an optional, source-level companion; see the component authoring standard. |
| Layout scopes and fit-content panels | Why does a padded fit-content panel measure padding only? | Scope helpers close at the end of their invocation block; this is an authoring error, not a measurement defect. |
| Description locality | Which subtrees can be re-described without disturbing siblings? | Measured A/B; keyed regions are the supported path. |
| Styling foundation | Can ordinary Odin style values change a component’s anatomy while it keeps ownership of input, layout, keys, and semantics? | Initial research with AliKit Radio Group and Segmented Control consumers; the vocabulary stays pilot-local. |
| Construction history | How did retained-tree construction reach its current shape? | Read-only history review of the hot path. |
| Hot-path audit | What dominates construction cost? | Audit of recorded benchmark and profiler artifacts. |
| Host-owned presentation | Can the host own presentation without breaking retention? | Bounded SDL_GPU proof on Windows. |
| Embedded GPU canvas | Is a public raw-GPU callback needed? | No new public core API; retained geometry surfaces express the workload. |
| Native mesh locality | Where should mesh work live? | Measured locality result in the retained renderer. |
| Host loop integration | How does Alicorn join a desktop host loop? | Source-level integration boundary. |
| Dense retained markers | Do dense point markers fit the geometry budget? | Readback and cost validation passed on Metal and D3D12. |
| Retained node size | Is the retained node budget sufficient? | Resolved by the node-size reduction; no budget increase. |
| Multisurface presentation | Can one runtime present to several native targets? | Shared presentation outputs with per-target acknowledgement. |
| Surface-local text | Can positioned text live on a geometry surface? | Surface-local positioned text with authored layout. |
| Shape primitives | What shape vocabulary is safe and testable? | Bounded Circle/Arc/Cubic-Bezier prototype; accepted on Windows D3D12. |
| Two-stop gradients | Can surface gradients stay bounded? | Bounded two-stop prototype with native acceptance on Windows. |
| Retained effects | Which effects belong in the core? | Bounded alpha-mask shadow first; backdrop blur is a separate input-capture problem. |
| Visual state transitions | Can visual state animate without moving layout? | Timed presentation transitions with stable target geometry. |
| Motion ownership | Who owns a motion value? | Typed property targeting on the retained runtime. |
| Residual motion | How does motion settle after interruption? | Analytic residual motion with explicit cadence. |
| Sizing decision | Did the sizing algebra succeed? | Partial adoption; definite-parent percentage width kept. |
| Scene lighting | Can lighting sit above paint? | Experimental prototype; bounded to a scene-local surface. |
Reading a record
Section titled “Reading a record”- Status says whether the record is a proposal, an experimental prototype, or an accepted decision.
- Evidence names the platform, revision, and test or capture that supports the claim.
- Limits state what was not measured. A missing platform run is a gap, not a pass.
When a record and a page disagree, the record and the current source win; the page is the summary.