The SDK reference's tables had 1,476 empty cells. Each prop, field and class member the pages table now has a doc
comment in its source, or Bevy's own field doc where the SDK mirrors a Bevy type:
- doc comments on 773 declarations across 84 SDK files (song maps, goo and rigid bodies, matchmove, the clock and
timeline, state machines, materials and their extensions, the 2D shapes, bevy_ui and feathers wrappers, colours)
- inline prop types pulled out as named, documented interfaces (EchoesProps, DaylightProps, UiScaleProps, ...), so
each prop can carry its own doc
- types raea-bevy-sdk generates from raea's crates (/** raea_core_animate::spec::AnimKey */) take their field docs
from the Rust source, shown as raea's ("Rust: ..."), not Bevy's; core/animate's spec.rs gains the missing ///
- a props type (StandardMaterialProps) takes its component's @bevy fields; the colour classes gain their @bevy tags
- tools/manual-ref/sdk.ts check now fails on any prop, field or member without a description, as cli.ts does for
flags; tools/manual-ref.sh links an export's node_modules (RAEA_MODULES) so it can run in L1's lane export
The CLI reference is now 43 pages, one a verb, each with its forms, where it runs and what each of its 164 flags does,
under docs/manual/reference/cli. The forms and flags are generated from `raea help --json`; the prose and the flag
descriptions are written by hand, kept by the generator, and checked: a new flag without a description fails.
The SDK reference is 28 pages, one an import path, under docs/manual/reference/sdk: every export with its doc, its
signature, a component's props, a class's members, its Bevy type and the parity ports and examples that use it,
generated by the TypeScript compiler, with a hand-written introduction and a type-checked example on each page.
Where the SDK mirrors a Bevy type without a comment of its own, Bevy's own doc is shown, marked as Bevy's
(tools/manual-ref/bevy-docs.json). Doc comments added to the SDK exports that had none.
tools/manual-ref.sh gen|check runs both generators.
The hook is useSyncExternalStore over a small store of answers by ticket (an answer comes once and never changes, so a reader gets the same object each time, and it outlives the Engine's queue of the last few hundred). It subscribes to its Clock's tick (clock.tsx's onClockTick) only until its answer is in, and only the components that read an answer render again. world.answer(ticket) stays the plain read for code outside React, through the same store. The three cases read their answers with the hook. Under RAEA_3D=live they're now green from frame 1 on, and the program route is unchanged (green from frame 0). Frame 0 can't match in one pass: the calls name parts ("cube") that exist only once frame 0 has rendered, so the program's frame-0 answers were the double step's. raea-bevy's limits.md now points agents at the hook.
bevy-ts check.sh: world-render, world-host and live-world pass (default route; live-world in live play). fps, world-render back to back with the case before and after, three runs each: 7.1, 6.7, 6.8 ms a frame before, 7.0, 6.9, 7.5 after.