@automovie/template 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/README.md +2 -2
  2. package/generated/pnpm-workspace.json +3 -3
  3. package/generated/skills/3d-modeling/conditioning.md +42 -34
  4. package/generated/skills/3d-modeling/crafting/SKILL.md +6 -6
  5. package/generated/skills/3d-modeling/crafting/construction.md +22 -29
  6. package/generated/skills/3d-modeling/crafting/lofting.md +26 -24
  7. package/generated/skills/3d-modeling/crafting/recovery.md +8 -8
  8. package/generated/skills/3d-modeling/diffusion/image-hints.md +5 -5
  9. package/generated/skills/3d-modeling/diffusion/models.md +32 -16
  10. package/generated/skills/3d-modeling/diffusion/prompts.md +3 -3
  11. package/generated/skills/3d-modeling/diffusion/request.md +7 -5
  12. package/generated/skills/3d-modeling/diffusion/shape-hints.md +19 -17
  13. package/generated/skills/3d-modeling/inspection.md +11 -9
  14. package/generated/skills/3d-modeling/modularization.md +9 -9
  15. package/generated/skills/3d-modeling/rigging.md +44 -35
  16. package/generated/skills/3d-modeling/sources.md +10 -10
  17. package/generated/skills/contracts/development/common.md +4 -4
  18. package/generated/skills/contracts/development/design.md +4 -4
  19. package/generated/skills/contracts/development/implementation.md +7 -7
  20. package/generated/skills/contracts/development/testing.md +4 -4
  21. package/generated/skills/development/repair.md +2 -4
  22. package/generated/skills/documentation/SKILL.md +4 -4
  23. package/generated/skills/documentation/writing.md +56 -34
  24. package/generated/skills/motion/laws/authoring.md +20 -30
  25. package/generated/skills/motion/laws/contacts.md +13 -13
  26. package/generated/skills/motion/laws/declaration.md +8 -6
  27. package/generated/skills/motion/laws/transitions.md +20 -18
  28. package/generated/skills/motion/laws/variation.md +6 -6
  29. package/generated/skills/motion/laws/verification.md +8 -6
  30. package/generated/skills/prompting/SKILL.md +52 -34
  31. package/generated/skills/visual-debugging/capture.md +24 -22
  32. package/generated/skills/visual-debugging/comparison.md +4 -4
  33. package/generated/skills/visual-debugging/correction-rounds.md +6 -15
  34. package/generated/skills/visual-debugging/passes.md +11 -11
  35. package/generated/skills/visual-debugging/rendering-cost.md +2 -2
  36. package/lib/createAutoMovieScaffold.js +2 -20
  37. package/lib/createAutoMovieScaffold.js.map +1 -1
  38. package/lib/index.d.ts +1 -0
  39. package/lib/index.js +1 -0
  40. package/lib/index.js.map +1 -1
  41. package/lib/renderAutoMovieWorkspace.d.ts +22 -0
  42. package/lib/renderAutoMovieWorkspace.js +141 -0
  43. package/lib/renderAutoMovieWorkspace.js.map +1 -0
  44. package/package.json +5 -5
  45. package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +22 -21
  46. package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +7 -7
  47. package/scaffold/instructions/.agents/skills/3d-modeling/diffusion/SKILL.md +14 -10
  48. package/scaffold/instructions/.agents/skills/audio/SKILL.md +10 -10
  49. package/scaffold/instructions/.agents/skills/audio/acquisition.md +16 -18
  50. package/scaffold/instructions/.agents/skills/audio/diffusion/SKILL.md +18 -0
  51. package/scaffold/instructions/.agents/skills/audio/diffusion/cloning.md +25 -0
  52. package/scaffold/instructions/.agents/skills/audio/diffusion/models.md +59 -0
  53. package/scaffold/instructions/.agents/skills/audio/diffusion/prompts.md +45 -0
  54. package/scaffold/instructions/.agents/skills/audio/film-sound.md +7 -5
  55. package/scaffold/instructions/.agents/skills/audio/generated-sound.md +5 -3
  56. package/scaffold/instructions/.agents/skills/audio/listening.md +13 -0
  57. package/scaffold/instructions/.agents/skills/audio/sound-effects.md +6 -6
  58. package/scaffold/instructions/.agents/skills/audio/soundtrack.md +4 -2
  59. package/scaffold/instructions/.agents/skills/automovie/SKILL.md +32 -0
  60. package/scaffold/instructions/.agents/skills/contracts/SKILL.md +6 -29
  61. package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +13 -13
  62. package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +18 -7
  63. package/scaffold/instructions/.agents/skills/contracts/development/composition.md +9 -6
  64. package/scaffold/instructions/.agents/skills/contracts/development/entities.md +6 -7
  65. package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +18 -20
  66. package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +4 -6
  67. package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +12 -13
  68. package/scaffold/instructions/.agents/skills/contracts/items.md +26 -0
  69. package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +37 -25
  70. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +1 -1
  71. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +2 -2
  72. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +1 -1
  73. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +1 -1
  74. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +1 -1
  75. package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/treatments.md +1 -1
  76. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +4 -4
  77. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +2 -2
  78. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +1 -1
  79. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +1 -1
  80. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +2 -2
  81. package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +2 -2
  82. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +1 -1
  83. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +1 -1
  84. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +2 -2
  85. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +2 -2
  86. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +2 -2
  87. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +1 -1
  88. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +2 -2
  89. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +1 -1
  90. package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +1 -1
  91. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +1 -1
  92. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/common.md +1 -1
  93. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +1 -1
  94. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +2 -2
  95. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +2 -2
  96. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +3 -3
  97. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +3 -3
  98. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +2 -2
  99. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +1 -1
  100. package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +2 -2
  101. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +1 -3
  102. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +3 -5
  103. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +1 -3
  104. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +0 -2
  105. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +1 -3
  106. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +1 -3
  107. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +1 -3
  108. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +11 -14
  109. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +1 -3
  110. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +1 -3
  111. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +3 -5
  112. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +2 -4
  113. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +1 -4
  114. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +6 -6
  115. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +1 -3
  116. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +2 -4
  117. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +3 -5
  118. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +5 -7
  119. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +5 -7
  120. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +2 -4
  121. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +6 -8
  122. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +1 -3
  123. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +4 -6
  124. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +2 -4
  125. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +2 -4
  126. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +3 -5
  127. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +1 -3
  128. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +6 -8
  129. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +5 -7
  130. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +19 -22
  131. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +9 -11
  132. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +3 -5
  133. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +1 -3
  134. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +1 -3
  135. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +1 -3
  136. package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +0 -2
  137. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +1 -1
  138. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +1 -1
  139. package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/treatments.md +1 -1
  140. package/scaffold/instructions/.agents/skills/development/SKILL.md +14 -24
  141. package/scaffold/instructions/.agents/skills/development/entities.md +19 -15
  142. package/scaffold/instructions/.agents/skills/development/modules.md +31 -0
  143. package/scaffold/instructions/.agents/skills/development/source-layout.md +66 -50
  144. package/scaffold/instructions/.agents/skills/development/testing.md +10 -11
  145. package/scaffold/instructions/.agents/skills/evidence/SKILL.md +7 -7
  146. package/scaffold/instructions/.agents/skills/evidence/adoption.md +4 -4
  147. package/scaffold/instructions/.agents/skills/evidence/answering.md +3 -3
  148. package/scaffold/instructions/.agents/skills/evidence/configuration.md +4 -4
  149. package/scaffold/instructions/.agents/skills/image/SKILL.md +8 -19
  150. package/scaffold/instructions/.agents/skills/image/canon-references.md +16 -6
  151. package/scaffold/instructions/.agents/skills/image/diffusion/SKILL.md +23 -0
  152. package/scaffold/instructions/.agents/skills/image/diffusion/conditioning.md +29 -0
  153. package/scaffold/instructions/.agents/skills/image/diffusion/consistency.md +25 -0
  154. package/scaffold/instructions/.agents/skills/image/diffusion/editing.md +15 -0
  155. package/scaffold/instructions/.agents/skills/image/diffusion/finishing.md +11 -0
  156. package/scaffold/instructions/.agents/skills/image/diffusion/models.md +35 -0
  157. package/scaffold/instructions/.agents/skills/image/diffusion/prompting.md +27 -0
  158. package/scaffold/instructions/.agents/skills/image/turnaround-views.md +6 -2
  159. package/scaffold/instructions/.agents/skills/motion/SKILL.md +15 -32
  160. package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +15 -15
  161. package/scaffold/instructions/.agents/skills/motion/compose/composition.md +34 -26
  162. package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +5 -5
  163. package/scaffold/instructions/.agents/skills/motion/control-channels.md +14 -10
  164. package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +12 -8
  165. package/scaffold/instructions/.agents/skills/motion/diffusion/clips.md +23 -9
  166. package/scaffold/instructions/.agents/skills/motion/diffusion/hints.md +20 -8
  167. package/scaffold/instructions/.agents/skills/motion/diffusion/models.md +24 -16
  168. package/scaffold/instructions/.agents/skills/motion/diffusion/tracing.md +18 -12
  169. package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +6 -6
  170. package/scaffold/instructions/.agents/skills/motion/judgment.md +37 -0
  171. package/scaffold/instructions/.agents/skills/motion/laws/SKILL.md +11 -11
  172. package/scaffold/instructions/.agents/skills/motion/laws/extension.md +15 -11
  173. package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +47 -17
  174. package/scaffold/instructions/.agents/skills/motion/performance.md +11 -0
  175. package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +15 -15
  176. package/scaffold/instructions/.agents/skills/motion/retargeting.md +5 -5
  177. package/scaffold/instructions/.agents/skills/motion/segment-review.md +7 -5
  178. package/scaffold/instructions/.agents/skills/motion/staging.md +10 -8
  179. package/scaffold/instructions/.agents/skills/production/SKILL.md +11 -38
  180. package/scaffold/instructions/.agents/skills/production/assembly.md +11 -5
  181. package/scaffold/instructions/.agents/skills/production/captions.md +4 -4
  182. package/scaffold/instructions/.agents/skills/production/director.md +17 -0
  183. package/scaffold/instructions/.agents/skills/production/media-records.md +33 -11
  184. package/scaffold/instructions/.agents/skills/production/project-context.md +64 -22
  185. package/scaffold/instructions/.agents/skills/production/reorganization.md +3 -3
  186. package/scaffold/instructions/.agents/skills/production/stage-caches.md +7 -11
  187. package/scaffold/instructions/.agents/skills/production/sustained-runs.md +7 -7
  188. package/scaffold/instructions/.agents/skills/production/workflow.md +45 -0
  189. package/scaffold/instructions/.agents/skills/review/SKILL.md +10 -15
  190. package/scaffold/instructions/.agents/skills/review/delivery-review.md +51 -30
  191. package/scaffold/instructions/.agents/skills/review/estimation.md +32 -13
  192. package/scaffold/instructions/.agents/skills/review/independent-reading.md +6 -4
  193. package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +7 -7
  194. package/scaffold/instructions/.agents/skills/review/source-review.md +5 -9
  195. package/scaffold/instructions/.agents/skills/story/SKILL.md +10 -13
  196. package/scaffold/instructions/.agents/skills/story/answers.md +10 -10
  197. package/scaffold/instructions/.agents/skills/story/correction/inspection.md +10 -12
  198. package/scaffold/instructions/.agents/skills/story/correction/repair.md +20 -14
  199. package/scaffold/instructions/.agents/skills/story/document-layout.md +32 -17
  200. package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +11 -9
  201. package/scaffold/instructions/.agents/skills/story/layers/brief.md +4 -8
  202. package/scaffold/instructions/.agents/skills/story/layers/notation.md +8 -6
  203. package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +20 -12
  204. package/scaffold/instructions/.agents/skills/story/layers/scripts.md +3 -3
  205. package/scaffold/instructions/.agents/skills/story/layers/settings.md +28 -11
  206. package/scaffold/instructions/.agents/skills/story/layers/shots.md +8 -8
  207. package/scaffold/instructions/.agents/skills/story/layers/treatments.md +3 -3
  208. package/scaffold/instructions/.agents/skills/story/planning/SKILL.md +7 -7
  209. package/scaffold/instructions/.agents/skills/story/planning/direction.md +2 -2
  210. package/scaffold/instructions/.agents/skills/story/planning/discovery.md +9 -7
  211. package/scaffold/instructions/.agents/skills/story/planning/requirements.md +10 -8
  212. package/scaffold/instructions/.agents/skills/story/planning/research.md +15 -18
  213. package/scaffold/instructions/.agents/skills/story/workflow/SKILL.md +8 -7
  214. package/scaffold/instructions/.agents/skills/story/workflow/long.md +18 -14
  215. package/scaffold/instructions/.agents/skills/story/workflow/routes.md +23 -17
  216. package/scaffold/instructions/.agents/skills/story/workflow/short.md +22 -14
  217. package/scaffold/instructions/.agents/skills/video/SKILL.md +9 -14
  218. package/scaffold/instructions/.agents/skills/video/diffusion/SKILL.md +7 -7
  219. package/scaffold/instructions/.agents/skills/video/diffusion/continuity.md +6 -6
  220. package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +29 -12
  221. package/scaffold/instructions/.agents/skills/video/diffusion/models.md +40 -19
  222. package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +23 -15
  223. package/scaffold/instructions/.agents/skills/video/direct-film.md +53 -0
  224. package/scaffold/instructions/.agents/skills/video/finishing.md +14 -12
  225. package/scaffold/instructions/.agents/skills/video/generated-film.md +24 -0
  226. package/scaffold/instructions/.agents/skills/video/generation.md +25 -17
  227. package/scaffold/instructions/.agents/skills/video/requests.md +8 -8
  228. package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +20 -18
  229. package/scaffold/instructions/AGENTS.md +46 -46
  230. package/scaffold/production/README.md +10 -19
  231. package/scaffold/production/package.json +1 -1
  232. package/scaffold/production/src/IFilmProduction.ts +6 -2
  233. package/scaffold/production/src/executable/physics.ts +8 -4
  234. package/scaffold/production/src/executable/recovery/node/artifact/archiveAutoMovieRecoveryModel.ts +4 -4
  235. package/scaffold/production/src/executable/recovery/node/artifact/createAutoMovieRecoveryArtifact.ts +5 -3
  236. package/scaffold/production/src/executable/recovery/node/artifact/writeAutoMovieRecoveryArtifact.ts +7 -7
  237. package/scaffold/production/src/executable/recovery/node/internal/readRecoveryCameraImages.ts +4 -2
  238. package/scaffold/production/src/executable/recovery/node/internal/recovery.ts +3 -3
  239. package/scaffold/production/src/executable/recovery/node/internal/recoveryImages.ts +3 -3
  240. package/scaffold/production/src/executable/recovery/node/internal/recoveryLocal.ts +4 -2
  241. package/scaffold/production/src/executable/recovery/node/internal/recoveryOpen.ts +2 -2
  242. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryContourFileMesh.ts +17 -18
  243. package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryMeshSpool.ts +17 -18
  244. package/scaffold/production/src/executable/recovery/node/mesh/readAutoMovieRecoveryMeshFrontier.ts +4 -4
  245. package/scaffold/production/src/executable/recovery/node/publishAutoMovieRecoveryArtifact.ts +37 -21
  246. package/scaffold/production/src/executable/recovery/node/reconstruction/reconstructAutoMovieRecoveryLocal.ts +25 -15
  247. package/scaffold/production/src/executable/recovery/node/runAutoMovieRecoveryCommand.ts +1 -1
  248. package/scaffold/production/src/markFilmProduction.ts +1 -1
  249. package/scaffold/production/src/subjects.ts +7 -1
  250. package/scaffold/production/test/features/test_recovery_publication_cancellation.ts +129 -0
  251. package/scaffold/production/tsconfig.json +1 -2
  252. package/scaffold/production/vite.config.ts +12 -0
  253. package/scaffold/workspace/README.md +2 -2
  254. package/scaffold/workspace/package.json +1 -1
  255. package/src/createAutoMovieScaffold.ts +2 -39
  256. package/src/index.ts +1 -0
  257. package/src/renderAutoMovieWorkspace.ts +157 -0
  258. package/scaffold/instructions/.agents/skills/development/reuse.md +0 -48
  259. package/scaffold/instructions/.agents/skills/direct-film/SKILL.md +0 -51
  260. package/scaffold/instructions/.agents/skills/image/conditioning.md +0 -27
  261. package/scaffold/instructions/.agents/skills/image/consistency.md +0 -23
  262. package/scaffold/instructions/.agents/skills/image/editing.md +0 -15
  263. package/scaffold/instructions/.agents/skills/image/finishing.md +0 -11
  264. package/scaffold/instructions/.agents/skills/image/models.md +0 -18
  265. package/scaffold/instructions/.agents/skills/image/prompting.md +0 -25
@@ -1,63 +1,85 @@
1
1
  # Writing
2
2
 
3
- How the text of any document is put together, from its sentences up to its lists.
3
+ Keep what the reader needs to understand or act. State each rule or fact once.
4
4
 
5
- Text is concise when every sentence carries something its reader needs, and clear when that reader understands it on the first reading, without rereading or hunting for where a point lives. Completeness means covering what the reader needs, never longer phrasing. Test a document by reading it top to bottom as its reader would, and fix whatever makes that reader slow down.
5
+ ## Wording
6
6
 
7
- A set of documents says each thing in one place, and no two places disagree, because a reader who meets a point twice cannot tell which one holds.
7
+ ### Content and sentences
8
8
 
9
- ## Content and sentences
10
-
11
- These rules govern what a document says and how each sentence says it:
12
-
13
- - Write only what the reader needs and would not otherwise know.
14
- - Say simply what can be said simply.
15
- - Cut padding, preamble, filler and closing summaries.
16
- - Cut a qualification that changes nothing, an example that restates the rule, and a sentence that repeats another.
9
+ - Keep the action, its conditions and the evidence needed to verify it. Cut qualifications, examples and summaries that add none of these.
17
10
  - Make one point per sentence.
18
11
  - Give the reason when it is not obvious.
19
12
  - Say what to do rather than what to avoid, and name the concrete pattern when a prohibition is needed.
20
- - Use plain language, without emphasis capitals, em-dashes, emoji in prose, promotional adjectives or hedging.
13
+ - Use plain language, without emphasis capitals, bold, em-dashes, emoji in prose, promotional adjectives or hedging.
14
+
15
+ ### Terms
16
+
17
+ Use one term per concept, with the same meaning throughout.
18
+
19
+ Use established terms or plain language. Define unfamiliar terms on first use or link to their definitions.
20
+
21
+ Use a metaphor at most once to explain a concept. Use the concept's actual name in headings, labels and later references.
22
+
23
+ ### Careless text
24
+
25
+ Avoid stock phrases, repeated openers and outlines that impose a structure the content does not need.
26
+
27
+ ## Structure
21
28
 
22
- ## Terms
29
+ Measure source lines by counting a link's text and omitting its address.
23
30
 
24
- Use one term per concept and one concept per term across a set of documents, because a second word reads as a second thing and a reused word hides a difference. Name the concept with the field's established term, or with plain words where the field has none, never with a coined word. Explain a field term in plain words where a newcomer to that document first meets it, or link the document that explains it.
31
+ ### Headings
25
32
 
26
- A metaphor or a plain picture may explain a concept once in prose, but it never becomes the concept's name in a heading, a label, a description or later text. A reader who knows the field cannot find the concept under a private name, and a reader who does not takes the picture literally.
33
+ Use short, sentence-case topic headings. Put questions, claims and instructions in the body.
27
34
 
28
- ## Signs of careless text
35
+ Group related topics under one second-level heading.
29
36
 
30
- Write as a person writing for this document's reader. These habits mark text as produced without thought, and a reader who spots one stops trusting the rest:
37
+ Use distinct headings so their anchors are unique.
31
38
 
32
- - stock AI phrasing, such as "delve into" or "it's worth noting";
33
- - a sentence frame or opener repeated across sibling documents;
34
- - one template stamped on every document, whatever it holds;
35
- - three parallel items where the content has two or four.
39
+ Use heading slugs. Add an explicit anchor only if the address must survive renames and the renderer supports it.
36
40
 
37
- ## Headings
41
+ ### Links
38
42
 
39
- A heading names its topic in a few words, in sentence case. A question, claim or instruction belongs in the text under it, because a sentence in a heading is read twice and hides the topic it names.
43
+ Routers link to their resources. A resource links to the next task or the section that owns a rule. Refer to parent pages, other consumers and sections of the current page by name.
40
44
 
41
- Link to a heading by its title's slug, and give it an explicit anchor such as `{#name}` only where its address must survive a retitle, because a renderer that does not read the syntax shows the anchor as text. No two headings in one document share a title, because their slugs would collide.
45
+ ### Paragraphs
42
46
 
43
- ## Paragraphs
47
+ Give each paragraph one topic and one source line. Lead with its point. Check paragraphs over about five sentences for a second topic.
44
48
 
45
- A paragraph is one topic. Open it with its point and follow with the detail, because a reader who skims reads only the first sentence. Start a new paragraph when the topic changes, keep sentences on the same topic together, and write each paragraph on one source line.
49
+ ### Lists
46
50
 
47
- Gluing several topics into one long paragraph to keep the count low is a failure, not concision, because the reader cannot find the second topic. A paragraph of more than about five sentences usually holds a second topic. Giving every sentence its own paragraph is the opposite failure, because the reader cannot see which sentences belong together.
51
+ Use lists for short parallel items or steps whose order matters. Keep each item to about 120 characters on one source line.
48
52
 
49
- ## Lists, tables and code
53
+ Introduce each list. Use parallel grammar and at least two items. End sentences and the last fragment with a period. End other fragments with semicolons.
50
54
 
51
- A list is for parallel items short enough to take in at a glance, one rendered line of about 120 characters at most, and for steps whose order changes the result. Introduce it with a sentence that says what its items are, write every item in the same grammatical form, and give it at least two items. Fragment items end in semicolons and the last in a period; full-sentence items end in periods. Mark a sublist differently from its parent, such as `-` items under a numbered list.
55
+ Keep items to one paragraph and distinguish nested list markers.
52
56
 
53
- A checklist of assertions under a heading that names what they check is the exception: it needs no introducing sentence, and each item may run as long as one checkable assertion with its exceptions needs.
57
+ Under a descriptive checklist heading, omit the introduction. Each item may be as long as its assertion and exceptions require.
54
58
 
55
- An item that runs long, or whose reasoning needs more than a short clause, is not a list item. Breaking an explanation into bullets does not make it concise, because the bullets hide how its points connect. Give such content the form of what it is:
59
+ ### Tables
60
+
61
+ Use two columns by default for short mappings. Keep rows to about 120 characters on one source line.
62
+
63
+ Put the subject or page link in the first column and its description in the second.
64
+
65
+ Use task order where it exists, otherwise alphabetize by the first column.
66
+
67
+ A condition, reason or example that does not fit its cell goes in a sentence after the table.
68
+
69
+ ### Form by content
70
+
71
+ Choose the form that fits the content:
56
72
 
57
73
  | Content | Form |
58
74
  | --- | --- |
59
75
  | Several topics | A subsection each, written as prose |
60
- | Steps that need explanation | A short step line with a paragraph or a sublist of short items under it |
61
- | An argument whose conditions, reasons and exceptions depend on each other | Prose, with no list |
62
- | A repeated mapping | A table |
76
+ | Steps that need explanation | A numbered subsection each, such as `### 1. Plan` |
77
+ | An argument whose parts depend on each other | Prose, with no list |
78
+ | A repeated mapping of short values | A table |
63
79
  | An exact command | A code block |
80
+
81
+ ## Revising
82
+
83
+ Rewrite the affected section in the reader's order.
84
+
85
+ Remove unused material. Move shared rules to their owner. Reread the result as its reader.
@@ -1,55 +1,45 @@
1
1
  # Effector goals
2
2
 
3
- Almost every action is an interaction: a part of the body meets the floor, a prop, a partner, or a point the performer aims at. That part is the end effector, effector for short, what it reaches is the target, and a goal puts the effector on its target for a window.
4
-
5
- Author every movement as goals, and let inverse kinematics find the joint angles within the rig's range of motion. A goal survives a taller body, a longer arm, a different opponent or a moved prop; a joint angle fitted to one body puts the next body's hand beside the cup.
3
+ Define the action's interaction through time-bounded effector goals. Fit them with the owning package's primitives, using analytic two-bone IK for a limb when its assumptions hold. Plan coupled fits under [pose by time](transitions.md#pose-by-time).
6
4
 
7
5
  ## Writing a goal
8
6
 
9
- A goal names five things:
10
-
11
- | Part | Names | Example |
12
- | --- | --- | --- |
13
- | End effector | A measured point on the body | The palm center, the ball of the foot, the knuckles, the seat bones, the heel |
14
- | Target | Where the effector goes | A declared region or socket of another entity, a prop's grip or surface, a point in the set, an imagined point the performer aims at |
15
- | Approach | The direction and the effector's orientation, where the act needs one | A palm facing a partner, a sole flat on a step |
16
- | Window | When the goal holds | From a grip closing to its release |
17
- | Tracking | Whether the target is frozen at the window's start or tracked through it | A reach to a moving hand |
18
-
19
- A goal on a moving body, such as a palm on the chin or a hand on the other forearm, attaches to that bone, so a layered sway or breath carries the hand with the body instead of leaving it at a world point.
7
+ | Part | Names |
8
+ | --- | --- |
9
+ | End effector | A measured point on the body, such as the palm center or the seat bones |
10
+ | Target | A declared region or socket, a prop's grip or surface, a point in the set or an aim point |
11
+ | Approach | The direction and orientation the act needs |
12
+ | Window | When the goal holds, such as from grip to release |
13
+ | Tracking | Whether the target is frozen at the window's start or tracked through it |
20
14
 
21
- A tracked target is followed as a person follows one: the goal reads the target where the performer perceived it a reaction time earlier, with the delay taken from the action's study, the primary sources on the real practice. A limb that reads the target at the current instant cannot be dodged, feinted or made to miss.
15
+ Measure distances from the body and target. Cite provisional values. Take key poses, timing and windows from primary studies. Specify joint angles only where goals leave them open.
22
16
 
23
- Take every distance, height and reach from the performer's own measured segments and the target's measured parts, because a constant measured on one figure fails on the next. When no measure can supply a value, name it as provisional with its source.
24
-
25
- The study supplies the key poses, the timing and the windows. Take joint values straight from those key poses only where no goal determines the pose, such as a guard's carriage or a follow-through.
17
+ A goal on a body attaches to the bone under its target, so a layered sway carries it along. Read a tracked target one reaction time late, with the delay from the study, or the limb cannot be dodged, feinted or made to miss.
26
18
 
27
19
  ## The path in time
28
20
 
29
- Move an effector to its target on a smooth, bell-shaped speed profile, that of minimum jerk (Flash and Hogan 1985), because a constant-speed path reads as mechanical. A movement that delivers speed at its end, such as a throw or a strike, sequences from proximal to distal segments (Putnam 1993) and reaches its target before the speed falls to zero.
21
+ Use measured phase timing and endpoint velocities. A minimum-jerk curve models an unconstrained point-to-point reach with settled endpoints (Flash and Hogan 1985). An action that makes contact at speed needs its own boundary velocities and segment timing (Putnam 1993).
30
22
 
31
- Lay an effector's path on the body that carries it. When the root travels during the stroke, as in a lunge or a step into a blow, give the path relative to the moving shoulder or hip, or carry it by how far that joint is ahead of the advance the path assumed. A path fixed in the world and keyed to the stroke's own progress lets a body that advances on its own clock overtake its hand: the limb folds to its limit, the fit changes side there, and the tool's tip jumps within one frame.
23
+ When the root travels during a stroke, express the effector path in the moving shoulder or hip frame.
32
24
 
33
25
  ## Out of reach
34
26
 
35
- Compute the reach before posing: the root-to-target distance against the limb's reachable band. Declare the rule for a target outside it, whether too far or closer than the limb can fold to. The action either refuses with the feasible range, or takes a declared alternative that still reaches the goal, such as a step, a lean or a support hand. An alternative that changes the outcome, such as a stumble, applies only when the caller selects it, because the outcome belongs to whoever decided the scene.
27
+ Check root-to-target distance before posing. Outside the limb's reach, report its reachable range or use a declared alternative that reaches. Let the caller approve any change to the [outcome](declaration.md#outcome-as-input).
36
28
 
37
- A silent clamp moves the contact somewhere the screenplay did not ask for and hides the miss from every check. The action's documentation says which rule it follows, and the code must match that sentence.
29
+ Document and implement the reach rule. Reject a goal that would require moving the contact by clamping.
38
30
 
39
31
  ## The root
40
32
 
41
- Decide the root once, from every demand on it together: the contacts, the far reaches, and balance, which keeps the extrapolated center of mass, the center of mass shifted by its velocity, over the support. Then fit every limb from that root, because separate corrections per limb disagree, and balance left to a check is met after the pose is already wrong.
42
-
43
- Place a body that bears on the floor by the joints that bear, each at the height it has when it bears: an ankle or a toe joint at its standing height, a wrist at the height of a laid palm. Resting a keyed pose on the lowest point of its collision shapes lifts the whole body by whatever hangs lowest in that pose, such as a straight hand under a plank's shoulder, and the true supports then float.
33
+ Plan the root from contacts, reaches and studied postural compensation. Evaluate balance only for an explicit request or a physical response that needs it, over the active interval. If lowering, leaning or stepping is needed, fit the affected limbs against the same supports.
44
34
 
45
- A contact that still cannot be reached shows the root is wrong: revise that one root, by lowering, leaning or stepping, and refit every limb. A contact dragged off its point to keep the root's path is the error a viewer sees first.
35
+ Place bearing joints at their contact heights.
46
36
 
47
37
  ## Fit order
48
38
 
49
- Fit supports before reaching limbs: feet on the floor, seat bones on the seat, hands on a held bar. A later fit can pull an earlier contact away, so check every earlier contact after each later fit.
39
+ Fit supports, including hands on a held bar, before reaching limbs. Recheck previous contacts after each fit.
50
40
 
51
- A bend hint, the direction given to a limb's middle joint, chooses which side the elbow or knee falls on. A solver may still prefer the side its range-of-motion cost favors, so check that the solved middle joint follows the hint. When no hint is given, keep the side the pose being fitted already bends toward at that instant.
41
+ Check that each elbow and knee bends to the side its hint asks, since the solver's range-of-motion cost may prefer the other. Without a hint, keep the side the pose already bends to.
52
42
 
53
- When two limbs rest on each other, as in crossed arms, place them in one direction: fit the first against the body, then the second against the first as solved. Re-placing each against the other in turn flips each elbow between its two possible sides and does not converge.
43
+ Fit limbs resting on one another in dependency order.
54
44
 
55
- When a fit searches for a pose, such as a grip aperture or a root height, measure each trial after the joint limits are applied, or the search converges on a pose the body cannot take.
45
+ A fit that searches measures each trial after the joint limits apply, or it settles on a pose the body cannot take.
@@ -1,41 +1,41 @@
1
1
  # Contacts and supports
2
2
 
3
- A contact is where the body touches something and must not slip: a planted foot, a seat, a grip, a carried object, another performer.
3
+ A contact can be a touch event or a constraint held over a window.
4
4
 
5
5
  ## Windows and support frames
6
6
 
7
- Each contact holds through a declared window: a plant, a seat, a grip, a rest or a hang. Each window names its support frame, the thing the contact rests on and moves with: the ground, a prop or another performer. Slip and penetration are measured in that frame, so a hand on a moving rail or a rider on a moving mount is not reported as sliding.
7
+ Declare which surfaces may touch and when, including approach, first touch and release where they matter. Anchor a retained contact to the body or carrier that owns the surface so it follows that surface in motion. Measure slip and penetration in its frame from the displayed transforms.
8
8
 
9
- Release a support only after the next one bears the weight, as the heel lands before the other toe leaves and the feet bear the weight before the seat is left. Releasing first makes the body float or drop.
9
+ Transfer weight to the next support before releasing the current one.
10
10
 
11
11
  ## Feet
12
12
 
13
- Plant a foot at the point that actually touches: the ball, the heel, or both. Holding the ankle while the check reads the ball lets the ball drift as the foot pivots.
13
+ Plant the foot at the contact points the phase uses, such as ball, heel or both.
14
14
 
15
- A heel lift rotates the foot about the metatarsophalangeal axis with the ball fixed in the world, the forefoot rocker of Perry's *Gait Analysis*. Measure swing clearance at the lowest point of the toe and sole, not at the ankle.
15
+ A heel lift rotates the foot about the metatarsophalangeal axis with the ball fixed in the support frame, the forefoot rocker of Perry's Gait Analysis. Measure swing clearance at the lowest point of the toe and sole.
16
16
 
17
- Plan travel as whole steps. A normal step is about 0.41 of stature (Murray, Drought and Kory 1964; Grieve and Gear 1966), and the first and last steps are shorter. Covering even a short distance in one stride splits the legs into a lunge.
17
+ Plan travel in whole steps. Use about 0.41 of stature for a normal step (Murray, Drought and Kory 1964; Grieve and Gear 1966). Shorten the first and last steps.
18
18
 
19
19
  ## Held objects
20
20
 
21
- At grip closure, store the object's pose in the hand's frame (inverse(hand) · object) and keep it fixed until release, as a parent constraint keeps its offset at activation. Re-deriving the offset during the hold lets the object drift in the hand and tilt when it is set down. Set an object down by giving the hand the goal that puts the object at its target pose through that stored offset.
21
+ At grip closure, store inverse(hand) · object and keep that offset until release. For placement, derive the hand goal from the object's target pose and the stored offset.
22
22
 
23
- Judge a pose that a held tool must keep at both ends of the tool: fit the pose, read back the tool's working point and a second point along its length, and refuse or choose another pose when either is off. A check of the working point alone passes a pose in which the hand's turn gave way, so a muzzle or a blade's point sits on its line while the tool points several degrees off it.
23
+ To verify a held tool's pose, read back its working point and a second point along its length after fitting. Refuse or choose another pose if either misses.
24
24
 
25
- A held object stays held across actions until an action takes that hand over to put it down, hand it on or use it. Until then the hand travels with the body and keeps its grip. Refuse an action that would use a holding hand for something else, because the object would be left in the air or dragged through a gesture.
25
+ A held object stays held across actions until an action takes that hand over to put it down, hand it on or use it. Until then the hand travels with the body and keeps its grip. Refuse an action that would use a holding hand for something else.
26
26
 
27
27
  At a handover, the object stays held throughout:
28
28
 
29
29
  - both hands hold through a shared window while the object's world pose blends from the giver to the receiver;
30
30
  - the giver opens only after the receiver's grip has closed;
31
- - every outcome that keeps the object, such as a withdrawn offer, keeps a hand on it until the object is set down.
31
+ - keep a hand on the object through any outcome that retains it, until set-down.
32
32
 
33
33
  ## Contact between performers
34
34
 
35
- Compute the shared target of a handshake, a handover or a clinch once, from both bodies' reach, and give it to each performer as its target. Two performers each aiming at where the other is chase each other.
35
+ Compute one shared contact target from both bodies' reach and give it to both performers.
36
36
 
37
- Judge a contact against each performer's final displayed pose. A contact stop, the instant a moving limb is halted at contact, committed against a provisional pose lands at the wrong instant and lets one body pass into the other. When a contact stop changes what is displayed, resolve the contacts again against the new display, or resolve both performers together at each instant.
37
+ Resolve contact stops against both performers' displayed paths during preparation. A stop that changes a path changes all subsequent contact candidates involving that path.
38
38
 
39
- A contact stop changes the pose only. The action keeps its duration, its events and its decisive instant, such as an impact or a landing, so a partner and the sound still match it at the planned time. Resolve contacts that fall in the same span in time order, each later one seeing the earlier stops.
39
+ Preserve action duration, events and decisive instant when applying a contact stop. Resolve stops in time order so each sees earlier ones.
40
40
 
41
41
  Measure penetration against each part's own collider, not against one radius shared by a whole limb.
@@ -1,23 +1,25 @@
1
1
  # Law design
2
2
 
3
- A law takes a body, its parameters, the performer's skill, the state it is entered from and its targets. Give every law the parts below, because cuts, partners, sound and checks all rely on them.
3
+ An action law takes a body, parameters, skill, entry state and targets.
4
4
 
5
5
  ## Plan and time
6
6
 
7
- Decide everything an instance needs when it starts: its duration, its footprints, a flight path, a strike path. Each pose is then computed from that plan and a time alone. A law that decides while it plays gives playback one motion and a seek another. [Transitions](transitions.md#pose-by-time) gives what this demands of solvers and caches.
7
+ Follow [pose by time](transitions.md#pose-by-time) to plan from bound inputs and sample the result.
8
8
 
9
9
  ## Entry state
10
10
 
11
- Plan from where the body is when the action starts: the displayed pose and its velocity, the feet on the floor, what the hands hold. The root, the planted feet and the effectors continue from there by the law's own planning, and [the transition](transitions.md#changing-action) carries only the joint offsets the law cannot plan from. A law that always starts from its own rest pose turns every transition into a visible correction.
11
+ Start from displayed pose and velocity, planted feet and held objects. Plan root, supports and effectors from that state. Use [the transition](transitions.md#changing-action) for joint offsets the law cannot plan.
12
12
 
13
13
  ## Events and the decisive instant
14
14
 
15
- Name the instants other work depends on: the phases of the movement, the start and end of each contact, and the decisive instant when the action has one. The decisive instant is the frame the action exists for, such as an impact, a release, a catch or a landing. Cuts, a partner's timing, sound and review address the action through these names. Without them an action can only be cut or matched at a guessed fraction of its length, and the guess breaks when the duration changes with the body.
15
+ Name phase boundaries, contact starts and ends, and the decisive instant if any. Resolve them on the action clock at their actual times. Use those events for cuts, partners, sound and review.
16
16
 
17
17
  ## Outcome as input
18
18
 
19
- When an action can end in different outcomes, such as a strike that lands, is blocked or misses, or a shove that is absorbed, stepped out or ends in a fall, the outcome is decided before the geometry and the forces: by the caller who authored the scene, or by a declared rule over the participants' intents that the caller selects. Geometry and forces then realize that outcome and are checked against it, and an outcome they cannot produce is refused with the range that would produce it. An outcome left to wherever the geometry happens to arrive changes when a body, a distance or a mass changes, and nobody chose the change.
19
+ Take the outcome as input before resolving geometry and forces. The caller supplies it or selects a declared rule over participants' intents.
20
+
21
+ Check realized geometry and forces against the selected outcome. Refuse infeasible outcomes and report the feasible range.
20
22
 
21
23
  ## Time scale
22
24
 
23
- Take durations and speeds from the body, as distances already are. Bodies of different size move alike at equal Froude number, v²/(g·l) with l the leg length (Alexander 1984), so a pace is a Froude number and not a speed in meters per second. A fixed speed makes a small body run where a tall one strolls.
25
+ Derive duration and speed from body size. Express pace as Froude number v²/(g·l), with l the leg length (Alexander 1984).
@@ -1,37 +1,39 @@
1
1
  # Time, transitions and layers
2
2
 
3
- An action rarely plays alone from start to end: it is cut into another, joins one, has its target moved while it plays, or carries a layer.
4
-
5
3
  ## Pose by time
6
4
 
7
- An action evaluates each pose from its plan and a time alone, which binds its solvers and caches. A solver's reference pose comes from a fixed instant of the plan, such as the previous contact event, never from the frame before. A cached result is keyed only by exact event times, never by sampled frames. Playback, seeking and capture at different rates then agree.
5
+ Prepare the path, events, active constraints and required physical response once. Carry resolved entry state through cuts and layers. Sample poses as `f(plan, t)` in any order using time curves, carrier-relative transforms and any direct fit needed at that instant. Share the evaluated pose across consumers.
8
6
 
9
- ## Declared cuts
7
+ Use closed-form paths and fits where they satisfy the constraints. Limit coupled search to the interval and degrees of freedom that need it and resolve it during preparation. Retain event states, curves or solver trajectories that preserve the checked result between events.
10
8
 
11
- Each action declares its cuts: the actions it may be cut into, the window of each cut (a share of the action, or one of its events), where the target action is entered, and the transition kind. Refuse a cut the action does not list when the plan is built, so an impossible change of plan surfaces before the film renders.
9
+ ## Transitions
12
10
 
13
- The kind follows what changes. A change to a different action [inertializes](#changing-action): it carries the difference in pose and velocity at the cut and lets it decay, instead of crossfading. A change of target within one family of movement [redirects](#changing-target-within-an-action). A cyclic movement that continues into another, such as a walk into a run, joins on the matching foot event, so the gait keeps its phase.
11
+ ### Declared cuts
14
12
 
15
- A cut also names what it carries unchanged, such as the stance foot's plant, a guard or a grip, and the action cut into plans from that state as its entry.
13
+ Declare each cut's target action, legal window, target entry and transition kind. Reject undeclared cuts when building the plan.
16
14
 
17
- Where the project's motion vocabulary runs the transitions below, a law only declares its cuts, because blending again inside the law applies the transition twice.
15
+ Inertialize action changes. Redirect target changes within a movement family. Join cyclic movements at the matching foot event.
18
16
 
19
- ## Changing action
17
+ Declare the state each cut preserves. Plan the target action from that entry state.
20
18
 
21
- At a cut into a different action, inertialize (Bollo 2018, "Inertialization: High-Performance Animation Transitions in Gears of War"). Take each channel's offset x0 and velocity v0 from both sides at the same instant and decay them together on Bollo's quintic polynomial. Where x0 and v0 have opposite signs, limit the decay time t1 to t1 ≤ −5·x0/v0. Leaving out v0 keeps the pose continuous but breaks its velocity, which reads as a jerk at the cut.
19
+ If the vocabulary runs transitions, the law declares its cuts and delegates blending.
22
20
 
23
- Keep the offset off every limb that bears a contact: after applying it, solve each planted foot and gripping hand onto its goal again, so the decay reaches only the free joints. A contact that takes part in the blend slides for as long as the blend lasts.
21
+ ### Changing action
24
22
 
25
- Blend angles in unwrapped form, along the shortest arc ((b − a + 180) mod 360 − 180), or in quaternions. A heading or twist that crosses ±180° and is differenced raw reports thousands of degrees per second where the limb barely moved.
23
+ At a cut into a different action, inertialize: carry the difference in pose and velocity at the cut and let it decay (Bollo 2018, "Inertialization: High-Performance Animation Transitions in Gears of War").
26
24
 
27
- ## Changing target within an action
25
+ Derive each channel's pose offset x0 and velocity offset v0 at the cut. Decay both with Bollo's quintic. If their signs differ, limit the decay time to t1 ≤ −5·x0/v0.
28
26
 
29
- When the target of a reach or a strike moves mid-motion, superpose a second minimum-jerk unit from the old target to the new one on the running unit (Flash and Hogan 1985; Flash and Henis 1991), and let the solver follow the summed goal. Restarting the reach from rest discards the motion already under way.
27
+ Prepare the transition so planted feet and gripping hands retain their goals and only the free joints retain the decay. Use the displayed state on each side of the cut for verification.
30
28
 
31
- ## Layers
29
+ Blend unwrapped angles on the shortest arc ((b − a + 180) mod 360 − 180), or use quaternions.
30
+
31
+ ### Changing target within an action
32
32
 
33
- Gaze, breathing and displays of feeling are layers: they run on top of whatever action the body performs and add their contribution to its pose. A layer never starts, cuts or ends an action, so an action plays the same with or without it.
33
+ When a reach target changes, one studied model adds a minimum-jerk submovement from the old target to the new target (Flash and Hogan 1985; Flash and Henis 1991). Keep the ongoing path and the correction on the same clock, then fit the summed goal within the action's reach and contact rules.
34
+
35
+ ## Layers
34
36
 
35
- A layer leaves every contact goal untouched, because planted feet and gripping hands are solved from those goals and must not slide. It uses the joints the action leaves free, such as the eyes, the head and the chest, or adds small offsets to the trunk that the [contact fits](authoring.md#fit-order) then absorb.
37
+ Add gaze, breathing and expression as pose layers. Preserve the action's timing, transitions and contact goals. Use free joints or small trunk offsets that [contact fits](authoring.md#fit-order) absorb.
36
38
 
37
- A layer that begins, ends or changes its target blends from where it is, never from neutral, so the head does not snap. Its timing and amplitude come from its own study and vary under [skill and seed](variation.md) like any action's.
39
+ Blend from the layer's current state when it starts, ends or changes target. Take timing and amplitude from its study and vary them by [skill and seed](variation.md).
@@ -1,23 +1,23 @@
1
1
  # Variation
2
2
 
3
- Two takes of one action differ and a novice differs from an expert, yet the same take replays exactly. Parameters, skill and seed give all three.
3
+ Parameters, skill and seed vary takes while keeping each take reproducible.
4
4
 
5
5
  ## One law, many performances
6
6
 
7
- A different performance of an action, such as a tired walk, a taller performer or a second take, is the same law at other parameters, another skill or another seed. Copying a law and editing its constants makes a variant that the next repair does not reach, so the copies drift apart. When a performance needs something the law cannot express, give the law that parameter with the study that bounds it.
7
+ Vary one law through parameters, skill and seed. Add a parameter with a study-based bound when the law cannot express a variation.
8
8
 
9
9
  ## Skill
10
10
 
11
- Express skill as a value from novice to expert, and let each quantity of an action move between the novice and expert values its study measured: a phase duration, a peak speed, a reaction time, a scatter. Each family of actions takes these values from its own studies, because another family's numbers give a walker a boxer's timing. Name a quantity with no located study as provisional.
11
+ Interpolate each measured quantity between novice and expert using studies of that action family. Mark unsupported quantities provisional.
12
12
 
13
13
  Skill changes how well the same action is done. It never widens a range of motion and never changes an outcome.
14
14
 
15
15
  ## Variability across tasks
16
16
 
17
- Scale each draw's spread by two regularities that hold across tasks. The variance of a timed interval is a constant motor part plus a part that grows with the interval (Wing and Kristofferson 1973). Endpoint scatter grows with the distance moved and shrinks with the movement time (Schmidt et al. 1979), because motor noise grows with the size of the command (Harris and Wolpert 1998).
17
+ Model interval variance as a constant motor term plus a term growing with interval (Wing and Kristofferson 1973). Scale endpoint scatter up with distance and down with movement time (Schmidt et al. 1979). Motor noise grows with command magnitude (Harris and Wolpert 1998).
18
18
 
19
19
  ## Independent draws
20
20
 
21
- Take each random draw from a stream keyed by the seed and by stable identities: the performer, the action, its instance and the quantity drawn. Adding, removing or reordering one action then leaves every other draw unchanged. A single stream consumed in order changes the whole film when one action is inserted.
21
+ Key each random draw by seed, performer, action, instance and quantity. Preserve other draws when action order or membership changes.
22
22
 
23
- A seed varies the motion inside the bounds its study gives. It never chooses an outcome, nor how many members of a group an outcome takes: the caller gives that count, or a studied rate the code turns into a count, and the seed chooses only which members.
23
+ Vary motion within studied bounds. Take outcomes and affected counts from the caller, deriving a count from a supplied studied rate if needed. Use the seed to select members.
@@ -1,12 +1,12 @@
1
1
  # Motion verification
2
2
 
3
- Give each action isolated cases, because a case that only shows the action establishes nothing. Each case tests the action's own goal as bounded assertions, in the unit tests or capture checks the project has, and unit tests of the laws answer the [testing contract](../../contracts/development/testing.md). The assertions cover:
3
+ Test each isolated action's own goal with bounded assertions in unit tests or capture checks. Unit tests answer the [testing contract](../../contracts/development/testing.md). Check:
4
4
 
5
5
  - the distance from effector to target;
6
6
  - penetration;
7
7
  - slip of every planted or held contact;
8
8
  - range-of-motion overshoot;
9
- - balance, as the extrapolated center of mass against the support (Hof 2005);
9
+ - balance for a staged physical outcome or on request, using extrapolated center of mass against the support (Hof 2005);
10
10
  - continuity of every displayed channel and of its velocity at every cut and at each end of a simulated window.
11
11
 
12
12
  ## Checks that can fail
@@ -15,15 +15,17 @@ A check states the bound it tests and tests exactly that bound. A value reported
15
15
 
16
16
  Measure the displayed result, never the plan's own output. A check that compares two outputs of the same plan, or reads back the target the plan reached, cannot catch the plan being wrong.
17
17
 
18
- Check slip and penetration at a rate that cannot step over the contact, because a strike or a plant can begin and end between two output frames.
18
+ Check phase boundaries, the shortest contact and between-frame extrema. Use a supported swept query where a fast crossing can slip through discrete checks. State the resolution and any unproven interval.
19
19
 
20
- Take every bound from the requirement or its study. Widening a bound until a case passes hides the defect the case exists to find.
20
+ Take every bound from the requirement or its study, never widening one until a case passes.
21
21
 
22
- Run the cases across bodies of different statures and proportions, and against different partners and props, because a pass on one body establishes nothing about another. Cut each action at every window it declares for a cut, and move its target mid-motion where it tracks one, because films use an action where it is interrupted.
22
+ Cover statures, proportions, partners and props with independent expectations and relations such as symmetry or body scaling. Check branch boundaries, cuts within declared windows and moving tracked targets. Compare sequential, repeated and out-of-order samples at the same times when evaluation changes.
23
+
24
+ When changing cost, compare preparation and new-time sampling separately on the same bodies, events and output times. Report the complete measured workload, including simulated duration, cases, actors and sampled poses. Keep playback, capture and encoding costs separate from planning and sampling.
23
25
 
24
26
  ## Frame review
25
27
 
26
- Review stills of every case, in order, from several named views, with `joint` marks where the project's capture offers them and with every held prop drawn at every frame. Numbers alone miss what a still shows at once: a carry crossed in one split lunge, or a bottle that is not where the hand is. Sample the stills in time as [capture](../../visual-debugging/capture.md#times) sets.
28
+ Review time-ordered stills from several named views. Show every held prop at every frame and add `joint` marks where supported. Sample under [capture](../../visual-debugging/capture.md#times).
27
29
 
28
30
  ## Rounds
29
31