Documentation errors found while verifying the latest features #436
Copy link
Copy link
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
To do
-
rules/shape-draw-start-and-path-morph.md:shape: {"type":"path","data":…}fails validation (the syntax is{"path":{"data":…}}), and expressions usetinstead of$t. -
rules/whip-transition.md: easingease_in_out_cubicdoes not exist. -
rules/chromatic-aberration.md: the icon example{"type":"icon","name":"zap"}fails; it is"icon":"lucide:zap". -
rules/geometry-safety.md(lines ~45 and 57–61) still shows the positionalrustmotion validate scenario.json, which is rejected; SKILL.md (~line 210) showsrustmotion render -o output.mp4 --quietwithout-f. -
rules/text-component-parity.mdsaysgradient_textstops use "the same format as view.background": they useposition, backgrounds useoffset. - SKILL.md
gradient_textsection mentions neitherstopsnor the new angle convention. - Halo zone interpolation claims (see the materials/backgrounds issue).
- Add a docs check to CI that validates every JSON example of
SKILL.mdandrules/against the binary, so these regress no more.
Definition of done
- A test that fails on current
mainis written first. For anything visual it is a render test (scenario → frame → pixel assertions); tests that buildAnimatedPropertiesby hand are not enough — that is exactly how the regressions listed here slipped through. - Each item is verified end to end: scenario JSON,
rustmotion validate, render, image inspected. cargo fmt --all --check,cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspacepass.- Vocabulary changes update
crates/rustmotion/skills/SKILL.md, the relevantrules/file and the exported schema. A field the validator accepts must have an effect, otherwise the validator rejects it or warns. - No comments in Rust code (repository rule). Commits follow
<type>: <verb> <message>. No AI attribution in commits, PRs or issue comments.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Activity