@automovie/template 0.3.3 → 0.4.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.
- package/README.md +8 -22
- package/generated/pnpm-workspace.json +5 -5
- package/generated/skills/3d-modeling/conditioning.md +3 -1
- package/generated/skills/3d-modeling/crafting/construction.md +29 -1
- package/generated/skills/3d-modeling/environments.md +47 -0
- package/generated/skills/3d-modeling/inspection.md +7 -4
- package/generated/skills/contracts/development/common.md +4 -6
- package/generated/skills/contracts/development/design.md +7 -17
- package/generated/skills/contracts/development/implementation.md +8 -36
- package/generated/skills/development/repair.md +2 -0
- package/generated/skills/documentation/SKILL.md +5 -5
- package/generated/skills/documentation/writing.md +2 -2
- package/generated/skills/motion/laws/authoring.md +2 -2
- package/generated/skills/motion/laws/contacts.md +6 -2
- package/generated/skills/motion/laws/transitions.md +14 -4
- package/generated/skills/motion/laws/variation.md +2 -2
- package/generated/skills/motion/laws/verification.md +7 -5
- package/generated/skills/multi-agent/continuing.md +5 -0
- package/generated/skills/prompting/SKILL.md +8 -22
- package/generated/skills/visual-debugging/capture.md +1 -1
- package/generated/skills/visual-debugging/correction-rounds.md +4 -0
- package/lib/IAutoMovieScaffoldProps.d.ts +12 -12
- package/lib/assertScaffoldProjectName.d.ts +8 -10
- package/lib/assertScaffoldProjectName.js +8 -10
- package/lib/assertScaffoldProjectName.js.map +1 -1
- package/lib/createAutoMovieScaffold.d.ts +24 -14
- package/lib/createAutoMovieScaffold.js +43 -18
- package/lib/createAutoMovieScaffold.js.map +1 -1
- package/lib/listAutoMovieScaffoldFiles.d.ts +8 -10
- package/lib/listAutoMovieScaffoldFiles.js +16 -12
- package/lib/listAutoMovieScaffoldFiles.js.map +1 -1
- package/lib/renderAutoMovieWorkspace.d.ts +8 -12
- package/lib/renderAutoMovieWorkspace.js +16 -14
- package/lib/renderAutoMovieWorkspace.js.map +1 -1
- package/lib/scaffoldSharedSkillPath.d.ts +13 -12
- package/lib/scaffoldSharedSkillPath.js +13 -12
- package/lib/scaffoldSharedSkillPath.js.map +1 -1
- package/package.json +6 -6
- package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +2 -0
- package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +3 -1
- package/scaffold/instructions/.agents/skills/3d-modeling/materials.md +11 -0
- package/scaffold/instructions/.agents/skills/audio/SKILL.md +1 -1
- package/scaffold/instructions/.agents/skills/audio/acquisition.md +5 -1
- package/scaffold/instructions/.agents/skills/audio/film-sound.md +5 -1
- package/scaffold/instructions/.agents/skills/audio/listening.md +2 -0
- package/scaffold/instructions/.agents/skills/audio/soundtrack.md +14 -0
- package/scaffold/instructions/.agents/skills/contracts/SKILL.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +5 -5
- package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +14 -6
- package/scaffold/instructions/.agents/skills/contracts/development/catalog.md +21 -0
- package/scaffold/instructions/.agents/skills/contracts/development/composition.md +44 -18
- package/scaffold/instructions/.agents/skills/contracts/development/entities.md +24 -8
- package/scaffold/instructions/.agents/skills/contracts/development/films.md +39 -0
- package/scaffold/instructions/.agents/skills/contracts/development/testing.md +21 -0
- package/scaffold/instructions/.agents/skills/contracts/items.md +7 -12
- package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +18 -22
- package/scaffold/instructions/.agents/skills/contracts/story/discovery/brief.md +11 -0
- package/scaffold/instructions/.agents/skills/contracts/story/discovery/common.md +27 -0
- package/scaffold/instructions/.agents/skills/contracts/story/{shared/discovery → discovery}/narratives.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/{shared/discovery → discovery}/screenplay.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/discovery/scripts.md +9 -0
- package/scaffold/instructions/.agents/skills/contracts/story/discovery/settings.md +13 -0
- package/scaffold/instructions/.agents/skills/contracts/story/{shared/discovery → discovery}/treatments.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/obligations/brief.md +11 -0
- package/scaffold/instructions/.agents/skills/contracts/story/obligations/common.md +26 -0
- package/scaffold/instructions/.agents/skills/contracts/story/obligations/index.md +11 -0
- package/scaffold/instructions/.agents/skills/contracts/story/obligations/narratives.md +25 -0
- package/scaffold/instructions/.agents/skills/contracts/story/obligations/review.md +21 -0
- package/scaffold/instructions/.agents/skills/contracts/story/obligations/screenplay.md +39 -0
- package/scaffold/instructions/.agents/skills/contracts/story/obligations/scripts.md +17 -0
- package/scaffold/instructions/.agents/skills/contracts/story/obligations/settings.md +31 -0
- package/scaffold/instructions/.agents/skills/contracts/story/obligations/treatments.md +19 -0
- package/scaffold/instructions/.agents/skills/contracts/story/principles/brief.md +11 -0
- package/scaffold/instructions/.agents/skills/contracts/story/{shared/principles → principles}/common.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/principles/index.md +11 -0
- package/scaffold/instructions/.agents/skills/contracts/story/principles/narratives.md +25 -0
- package/scaffold/instructions/.agents/skills/contracts/story/principles/research.md +21 -0
- package/scaffold/instructions/.agents/skills/contracts/story/principles/review.md +21 -0
- package/scaffold/instructions/.agents/skills/contracts/story/principles/screenplay.md +89 -0
- package/scaffold/instructions/.agents/skills/contracts/story/principles/scripts.md +9 -0
- package/scaffold/instructions/.agents/skills/contracts/story/principles/settings.md +13 -0
- package/scaffold/instructions/.agents/skills/contracts/story/principles/treatments.md +19 -0
- package/scaffold/instructions/.agents/skills/contracts/story/upstream/screenplay.md +11 -0
- package/scaffold/instructions/.agents/skills/contracts/story/upstream/scripts.md +9 -0
- package/scaffold/instructions/.agents/skills/contracts/story/{shared/upstream → upstream}/treatments.md +2 -2
- package/scaffold/instructions/.agents/skills/development/SKILL.md +2 -4
- package/scaffold/instructions/.agents/skills/development/entities.md +14 -2
- package/scaffold/instructions/.agents/skills/development/modules.md +16 -6
- package/scaffold/instructions/.agents/skills/development/source-layout.md +6 -6
- package/scaffold/instructions/.agents/skills/development/testing.md +2 -2
- package/scaffold/instructions/.agents/skills/evidence/adoption.md +2 -2
- package/scaffold/instructions/.agents/skills/evidence/answering.md +7 -1
- package/scaffold/instructions/.agents/skills/evidence/configuration.md +4 -4
- package/scaffold/instructions/.agents/skills/image/canon-references.md +5 -3
- package/scaffold/instructions/.agents/skills/image/diffusion/editing.md +2 -0
- package/scaffold/instructions/.agents/skills/motion/SKILL.md +5 -5
- package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +10 -16
- package/scaffold/instructions/.agents/skills/motion/compose/composition.md +42 -19
- package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +2 -2
- package/scaffold/instructions/.agents/skills/motion/control-channels.md +8 -4
- package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +2 -2
- package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +2 -0
- package/scaffold/instructions/.agents/skills/motion/judgment.md +16 -12
- package/scaffold/instructions/.agents/skills/motion/laws/SKILL.md +2 -3
- package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +4 -2
- package/scaffold/instructions/.agents/skills/motion/performance.md +4 -4
- package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +6 -4
- package/scaffold/instructions/.agents/skills/motion/retargeting.md +1 -1
- package/scaffold/instructions/.agents/skills/motion/segment-review.md +3 -9
- package/scaffold/instructions/.agents/skills/motion/staging.md +16 -10
- package/scaffold/instructions/.agents/skills/multi-agent/$continuing.md +0 -0
- package/scaffold/instructions/.agents/skills/multi-agent/SKILL.md +8 -0
- package/scaffold/instructions/.agents/skills/production/SKILL.md +1 -2
- package/scaffold/instructions/.agents/skills/production/assembly.md +14 -21
- package/scaffold/instructions/.agents/skills/production/captions.md +2 -0
- package/scaffold/instructions/.agents/skills/production/director.md +11 -5
- package/scaffold/instructions/.agents/skills/production/media-records.md +18 -1
- package/scaffold/instructions/.agents/skills/production/project-context.md +10 -12
- package/scaffold/instructions/.agents/skills/production/sustained-runs.md +3 -3
- package/scaffold/instructions/.agents/skills/production/workflow.md +2 -2
- package/scaffold/instructions/.agents/skills/review/delivery-review.md +27 -46
- package/scaffold/instructions/.agents/skills/review/estimation.md +1 -1
- package/scaffold/instructions/.agents/skills/review/independent-reading.md +4 -4
- package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +4 -8
- package/scaffold/instructions/.agents/skills/review/source-review.md +6 -4
- package/scaffold/instructions/.agents/skills/story/answers.md +5 -5
- package/scaffold/instructions/.agents/skills/story/correction/inspection.md +6 -6
- package/scaffold/instructions/.agents/skills/story/correction/repair.md +8 -6
- package/scaffold/instructions/.agents/skills/story/document-layout.md +12 -5
- package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +2 -2
- package/scaffold/instructions/.agents/skills/story/layers/brief.md +4 -4
- package/scaffold/instructions/.agents/skills/story/layers/notation.md +8 -4
- package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +6 -20
- package/scaffold/instructions/.agents/skills/story/layers/scripts.md +3 -7
- package/scaffold/instructions/.agents/skills/story/layers/settings.md +2 -2
- package/scaffold/instructions/.agents/skills/story/layers/shots.md +6 -10
- package/scaffold/instructions/.agents/skills/story/layers/treatments.md +4 -2
- package/scaffold/instructions/.agents/skills/story/planning/direction.md +2 -0
- package/scaffold/instructions/.agents/skills/story/planning/discovery.md +2 -2
- package/scaffold/instructions/.agents/skills/story/planning/research.md +7 -15
- package/scaffold/instructions/.agents/skills/story/workflow/routes.md +2 -2
- package/scaffold/instructions/.agents/skills/story/workflow/short.md +4 -8
- package/scaffold/instructions/.agents/skills/video/SKILL.md +1 -1
- package/scaffold/instructions/.agents/skills/video/diffusion/continuity.md +2 -0
- package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +1 -1
- package/scaffold/instructions/.agents/skills/video/diffusion/models.md +2 -0
- package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +1 -1
- package/scaffold/instructions/.agents/skills/video/direct-film.md +45 -10
- package/scaffold/instructions/.agents/skills/video/finishing.md +11 -3
- package/scaffold/instructions/.agents/skills/video/generated-film.md +1 -0
- package/scaffold/instructions/.agents/skills/video/generation.md +4 -0
- package/scaffold/instructions/.agents/skills/video/requests.md +8 -2
- package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +1 -1
- package/scaffold/instructions/AGENTS.md +21 -48
- package/scaffold/production/README.md +18 -99
- package/scaffold/production/package.json +3 -2
- package/scaffold/production/src/IFilm.ts +1 -6
- package/scaffold/production/src/IFilmProduction.ts +255 -31
- package/scaffold/production/src/clampProductionSeconds.ts +5 -8
- package/scaffold/production/src/composition/films/starter.ts +2 -7
- package/scaffold/production/src/executable/motionTake/IMotionTakeSource.ts +1 -2
- package/scaffold/production/src/executable/motionTake/assertMotionTakeBindings.ts +3 -10
- package/scaffold/production/src/executable/motionTake/collectMotionTakeFiles.ts +2 -6
- package/scaffold/production/src/executable/motionTake/hashMotionTakeFile.ts +2 -6
- package/scaffold/production/src/executable/motionTake/openMotionTake.ts +2 -6
- package/scaffold/production/src/executable/motionTake/readMotionTakeArtifact.ts +2 -6
- package/scaffold/production/src/executable/motionTake/readMotionTakeInstalledLock.ts +2 -6
- package/scaffold/production/src/executable/motionTake/readMotionTakePackageVersion.ts +2 -6
- package/scaffold/production/src/executable/motionTake/readMotionTakeSource.ts +2 -6
- package/scaffold/production/src/executable/motionTake/replayMotionTake.ts +2 -6
- package/scaffold/production/src/executable/motionTake/resolveMotionTakePath.ts +5 -12
- package/scaffold/production/src/executable/motionTake/verifyMotionTakeEditPrefix.ts +2 -6
- package/scaffold/production/src/executable/motionTake/writeMotionTakeArtifact.ts +2 -6
- package/scaffold/production/src/executable/recovery/node/artifact/archiveAutoMovieRecoveryModel.ts +12 -19
- package/scaffold/production/src/executable/recovery/node/artifact/createAutoMovieRecoveryArtifact.ts +13 -26
- package/scaffold/production/src/executable/recovery/node/artifact/writeAutoMovieRecoveryArtifact.ts +16 -22
- package/scaffold/production/src/executable/recovery/node/internal/IAutoMovieRecoveryMemoryUsage.ts +1 -2
- package/scaffold/production/src/executable/recovery/node/internal/RecoveryFileVectorTable.ts +11 -32
- package/scaffold/production/src/executable/recovery/node/internal/RecoveryFileVectorTableInput.ts +5 -14
- package/scaffold/production/src/executable/recovery/node/internal/createRecoveryFileVectorTable.ts +6 -13
- package/scaffold/production/src/executable/recovery/node/internal/observeRecoveryAtlas.ts +16 -24
- package/scaffold/production/src/executable/recovery/node/internal/readAutoMovieRecoveryBoundedFile.ts +9 -17
- package/scaffold/production/src/executable/recovery/node/internal/readRecoveryCameraImages.ts +2 -6
- package/scaffold/production/src/executable/recovery/node/internal/readRecoveryFixedReference.ts +2 -6
- package/scaffold/production/src/executable/recovery/node/internal/recovery.ts +12 -17
- package/scaffold/production/src/executable/recovery/node/internal/recoveryAtlas.ts +2 -6
- package/scaffold/production/src/executable/recovery/node/internal/recoveryCameraMap.ts +6 -12
- package/scaffold/production/src/executable/recovery/node/internal/recoveryCameraScene.ts +2 -10
- package/scaffold/production/src/executable/recovery/node/internal/recoveryCameras.ts +2 -9
- package/scaffold/production/src/executable/recovery/node/internal/recoveryContourPath.ts +7 -11
- package/scaffold/production/src/executable/recovery/node/internal/recoveryImages.ts +6 -14
- package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryContourFileMesh.ts +10 -25
- package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryMeshSpool.ts +9 -15
- package/scaffold/production/src/executable/recovery/node/mesh/readAutoMovieRecoveryMeshFrontier.ts +10 -13
- package/scaffold/production/src/executable/recovery/node/publishAutoMovieRecoveryArtifact.ts +2 -6
- package/scaffold/production/src/executable/recovery/node/reconstruction/reconstructAutoMovieRecoveryLocal.ts +13 -19
- package/scaffold/production/src/executable/recovery/node/runAutoMovieRecoveryCommand.ts +4 -19
- package/scaffold/production/src/executable/verify.ts +11 -0
- package/scaffold/production/src/inspectFilmProduction.ts +252 -0
- package/scaffold/production/src/main.ts +1 -0
- package/scaffold/production/src/markFilmProduction.ts +31 -19
- package/scaffold/production/src/readFilmVerdicts.ts +43 -0
- package/scaffold/production/src/selectFilm.ts +2 -6
- package/scaffold/production/src/subjectOfFilm.ts +158 -0
- package/scaffold/production/src/subjects.ts +13 -61
- package/scaffold/production/test/features/test_clamp_production_seconds.ts +2 -4
- package/scaffold/production/test/features/test_inspect_film_production.ts +325 -0
- package/scaffold/production/test/features/test_recovery_publication_cancellation.ts +2 -4
- package/scaffold/production/test/features/test_select_film.ts +2 -4
- package/scaffold/production/test/features/test_subject_of_film.ts +95 -0
- package/scaffold/production/test/features/testing/test_test_execution.ts +2 -4
- package/scaffold/production/test/features/testing/test_test_selection.ts +2 -4
- package/scaffold/production/test/helpers/assessTestExecution.ts +4 -7
- package/scaffold/production/test/helpers/overlappingPerformance.ts +199 -0
- package/scaffold/production/test/tsconfig.json +4 -1
- package/scaffold/production/tsconfig.json +2 -6
- package/scaffold/production/vite.config.ts +25 -2
- package/scaffold/workspace/README.md +9 -28
- package/scaffold/workspace/package.json +1 -1
- package/src/IAutoMovieScaffoldProps.ts +12 -12
- package/src/assertScaffoldProjectName.ts +8 -10
- package/src/createAutoMovieScaffold.ts +49 -19
- package/src/listAutoMovieScaffoldFiles.ts +16 -12
- package/src/renderAutoMovieWorkspace.ts +20 -15
- package/src/scaffoldSharedSkillPath.ts +13 -12
- package/generated/skills/contracts/development/testing.md +0 -27
- package/scaffold/instructions/.agents/skills/automovie/SKILL.md +0 -32
- package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +0 -40
- package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +0 -32
- package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +0 -34
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/settings.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +0 -17
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/review.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +0 -16
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +0 -40
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +0 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +0 -12
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +0 -21
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +0 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +0 -84
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +0 -17
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +0 -12
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +0 -18
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +0 -16
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +0 -17
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +0 -29
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +0 -15
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +0 -41
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +0 -31
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +0 -21
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +0 -23
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +0 -43
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +0 -27
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +0 -11
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +0 -10
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +0 -16
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +0 -43
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +0 -16
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +0 -32
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +0 -23
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +0 -75
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +0 -43
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +0 -16
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +0 -20
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +0 -11
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +0 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +0 -9
- package/scaffold/instructions/.agents/skills/motion/laws/extension.md +0 -39
- package/scaffold/instructions/.agents/skills/production/stage-caches.md +0 -26
- package/scaffold/production/src/executable/recovery/node/internal/recoveryLocal.ts +0 -153
- package/scaffold/production/src/executable/recovery/node/internal/recoveryOpen.ts +0 -237
- package/scaffold/production/tsconfig.test.json +0 -9
- /package/scaffold/instructions/.agents/skills/{contracts/development/$testing.md → 3d-modeling/$environments.md} +0 -0
package/README.md
CHANGED
|
@@ -1,34 +1,20 @@
|
|
|
1
1
|
# @automovie/template
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Generate AutoMovie project files in your own tool. To start a project from a terminal, use the [AutoMovie CLI](https://github.com/samchon/automovie#start-a-production).
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Start
|
|
6
6
|
|
|
7
|
-
```
|
|
8
|
-
|
|
7
|
+
```powershell
|
|
8
|
+
npm install @automovie/template
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
```ts
|
|
12
12
|
import { createAutoMovieScaffold } from "@automovie/template";
|
|
13
13
|
|
|
14
|
-
const files:
|
|
15
|
-
|
|
16
|
-
name: "my-film",
|
|
17
|
-
});
|
|
14
|
+
const files = createAutoMovieScaffold({ kind: "production", name: "my-film" });
|
|
15
|
+
console.log(Object.keys(files));
|
|
18
16
|
```
|
|
19
17
|
|
|
20
|
-
`
|
|
18
|
+
Write the returned path-to-content map to your target directory. Choose `workspace` for a shared root or `workspace-production` to add a production to one. Use `renderAutoMovieWorkspace` to fill missing dependency catalog entries in existing workspace YAML.
|
|
21
19
|
|
|
22
|
-
|
|
23
|
-
| --- | --- |
|
|
24
|
-
| `production` | A single production in its own pnpm repository |
|
|
25
|
-
| `workspace` | A pnpm workspace root for `movies/shorts/*`, `movies/series/*` and `packages/*`, with the shared instructions |
|
|
26
|
-
| `workspace-production` | One production for `movies/<shorts\|series>/<name>` inside such a workspace |
|
|
27
|
-
|
|
28
|
-
Every dependency is a `catalog:` reference resolved by the generated `pnpm-workspace.yaml`: the AutoMovie packages at this package's own version, and the rest at the ranges this repository builds with.
|
|
29
|
-
|
|
30
|
-
When adding a production to an existing workspace, pass its directory and current YAML to `renderAutoMovieWorkspace({ directory, source })`. It returns the completed `pnpm-workspace.yaml`, preserving existing pins and overrides. A missing SDK package can resolve beside a linked package in a local SDK checkout.
|
|
31
|
-
|
|
32
|
-
## What the scaffold contains
|
|
33
|
-
|
|
34
|
-
The scaffold contains instructions for the coding agent (`AGENTS.md`, `CLAUDE.md` and the skills), an `evidence.config.ts` and `lint.config.ts`, a `PROJECT.md` for the choices a production adopts, a test runner with the tests of the bundled tooling, and Node tooling under `src/executable`. It ships no film content. The generated [README](./scaffold/production/README.md#make-a-motion-hint) is the user's guide to the workflow and commands.
|
|
20
|
+
See the generated [production README](https://github.com/samchon/automovie/blob/master/packages/template/scaffold/production/README.md) and [workspace README](https://github.com/samchon/automovie/blob/master/packages/template/scaffold/workspace/README.md).
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
],
|
|
15
15
|
"catalogs": {
|
|
16
16
|
"three": {
|
|
17
|
-
"three": "^0.
|
|
18
|
-
"@types/three": "^0.
|
|
17
|
+
"three": "^0.187.0",
|
|
18
|
+
"@types/three": "^0.187.0"
|
|
19
19
|
},
|
|
20
20
|
"react": {
|
|
21
21
|
"react": "^19.2.0",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
},
|
|
30
30
|
"samchon": {
|
|
31
31
|
"@nestia/e2e": "^14.3.1",
|
|
32
|
-
"@ttsc/lint": "^0.
|
|
33
|
-
"ttsc": "^0.
|
|
34
|
-
"@wrtnlabs/evidence": "^0.
|
|
32
|
+
"@ttsc/lint": "^0.38.1",
|
|
33
|
+
"ttsc": "^0.38.1",
|
|
34
|
+
"@wrtnlabs/evidence": "^0.11.1"
|
|
35
35
|
},
|
|
36
36
|
"utils": {
|
|
37
37
|
"@types/node": "^22.19.17"
|
|
@@ -51,7 +51,7 @@ Correct a texture's baked light and shadow only where it shows wrong in the rend
|
|
|
51
51
|
|
|
52
52
|
### Reduction
|
|
53
53
|
|
|
54
|
-
Reduce the mesh for its closest required view. Merge duplicate vertices without losing texture seams. Reduce before rigging so weights bind to the final vertices.
|
|
54
|
+
Reduce the mesh for its closest required view, keeping the [form tiers](crafting/construction.md#form-tiers) that view resolves. Merge duplicate vertices without losing texture seams. Reduce before rigging so weights bind to the final vertices.
|
|
55
55
|
|
|
56
56
|
Reduce any other cost only when [measurement](../visual-debugging/rendering-cost.md) shows it limits the render:
|
|
57
57
|
|
|
@@ -82,6 +82,8 @@ Hand a change of bone lengths to [motion](../motion/SKILL.md). The generating de
|
|
|
82
82
|
|
|
83
83
|
A few fixed variants need no parameter: generate or fetch each as its own frozen source, accepting that their shared features will not match exactly.
|
|
84
84
|
|
|
85
|
+
Test a form that varies through bands at their ends, as [construction tests](crafting/construction.md#tests) set.
|
|
86
|
+
|
|
85
87
|
## Final check
|
|
86
88
|
|
|
87
89
|
Load the conditioned derivative through its consumer and judge it under [form inspection](inspection.md), beside the frozen source, at the views and motion it is used for.
|
|
@@ -36,10 +36,32 @@ Size a feature on a surface in physical units through the surface's metric, beca
|
|
|
36
36
|
|
|
37
37
|
## Resolution
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
Let the number of emitted primitives follow the resolution setting, not the number of crafted features, and spend them where the surface curves or forms the silhouette. Keep defining dimensions and feature locations independent of tessellation. A more compact representation of the same form keeps the same mesh. Use parametric surfaces, subdivision, cards, instances or levels of detail where applicable.
|
|
40
40
|
|
|
41
41
|
On a subdivision surface, place extraordinary vertices where curvature is low and keep them at valence 3 or 5 where the layout allows, because higher valences and clustered poles leave visible pinches on the limit surface.
|
|
42
42
|
|
|
43
|
+
### Form tiers
|
|
44
|
+
|
|
45
|
+
Plan each part in one of three form tiers, together with the closest distance a camera sees it from:
|
|
46
|
+
|
|
47
|
+
| Tier | Parts |
|
|
48
|
+
| --- | --- |
|
|
49
|
+
| Primary | Masses that set the overall size and proportions, such as a chair's seat, back and legs |
|
|
50
|
+
| Secondary | Parts that change local shape, such as a handle, and surfaces a person touches |
|
|
51
|
+
| Tertiary | Relief within a surface that changes no part's shape, such as a seam, a groove or a panel line |
|
|
52
|
+
|
|
53
|
+
Build a tier only where its smallest feature, together with the gap that separates it from its neighbor, spans at least two pixels at that distance. A feature and its gap make one period of the pattern, and a period sampled fewer than two times cannot be resolved ([Shannon 1949](https://doi.org/10.1109/JRPROC.1949.232969)).
|
|
54
|
+
|
|
55
|
+
At distance `d` meters, with vertical field of view `θ` and an image `H` pixels high, one meter covers `p = H / (2 d tan(θ / 2))` pixels.
|
|
56
|
+
|
|
57
|
+
### Segment budget
|
|
58
|
+
|
|
59
|
+
Give a crafted or lofted curved section of radius `r` the fewest segments `n` whose chords stray from the arc by at most one pixel footprint, `e = 1 / p` meters. A chord spanning the angle `2π / n` strays from the arc by its sagitta `r (1 - cos(π / n))`. The budget is therefore `n = ceil(π / acos(1 - e / r))`. It falls roughly as one over the square root of the distance. Hold the chords along a profile to the same tolerance `e`.
|
|
60
|
+
|
|
61
|
+
For example, with `H` 1080, `θ` 50 degrees and `r` 0.25 m, the budget is 17 segments at 5 m and 9 at 20 m.
|
|
62
|
+
|
|
63
|
+
This budget is the default before any cost is measured. Reduce further only by measured cost, as [conditioning](../conditioning.md#reduction) sets.
|
|
64
|
+
|
|
43
65
|
## Evaluation
|
|
44
66
|
|
|
45
67
|
Precompute each section or segment's coefficients and derivatives for constant-time evaluation. Invert parameters by lookup or an analytic step. Solve dimensions on the controlled part alone.
|
|
@@ -52,6 +74,12 @@ Audit invariants generically over every section and join of the finished form: e
|
|
|
52
74
|
|
|
53
75
|
Check each input on the finished form at its own definition, such as a measurement taken at its site the way it is defined, because a per-part test that recomputes the construction's formulas passes whatever the construction does.
|
|
54
76
|
|
|
77
|
+
A band is the range a seeded form draws one free dimension from. Accept every banded dimension as a parameter that, when given, sets the dimension to exactly that value instead of drawing it from the seed.
|
|
78
|
+
|
|
79
|
+
Build the form at its middle and at each end of every band, one dimension at a time, because a part most often detaches or stops moving at a band's end. Fix every end where the form fails admission, a part loses its area or detaches, or nothing changes that the dimension should change.
|
|
80
|
+
|
|
81
|
+
Record with its reason a dimension that moves no rest geometry by design, such as an articulation's limit or a mass property.
|
|
82
|
+
|
|
55
83
|
## Stylization
|
|
56
84
|
|
|
57
85
|
Apply stylization as separate transforms over the generating curves and parts. Record it as a project decision.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Environments
|
|
2
|
+
|
|
3
|
+
Build a place, such as a furnished room, a terrain or an outdoor set, from the archetypes environment builders. The [archetypes README](https://github.com/samchon/automovie/tree/master/packages/archetypes#environments) introduces them, and their JSDoc owns their inputs.
|
|
4
|
+
|
|
5
|
+
## Choosing the source
|
|
6
|
+
|
|
7
|
+
Choose each piece's source by what defines it:
|
|
8
|
+
|
|
9
|
+
| Defined by | Source |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| Its numbers | An archetype, a room kit or a terrain recipe with its dimensions |
|
|
12
|
+
| A rule | A seeded generator: terrain `noise` relief, terrain `woods`, or a kit's count |
|
|
13
|
+
| Its looks | A commissioned mesh or image through [Sources](sources.md), [Diffusion](diffusion/SKILL.md) or [Crafting](crafting/SKILL.md) |
|
|
14
|
+
|
|
15
|
+
A builder or a seeded rule keeps the set deterministic and lets the environment check its support. A commissioned form placed as one piece by relation keeps both.
|
|
16
|
+
|
|
17
|
+
## Placing by relation
|
|
18
|
+
|
|
19
|
+
Place each piece by the relation that states the intent, from those the archetypes README introduces:
|
|
20
|
+
|
|
21
|
+
- a furnishing relation in `createFurnishedRoom` or a kit;
|
|
22
|
+
- a named anchor in an item's `at`, such as a table's `stack` or a terrain amenity;
|
|
23
|
+
- a terrain pad, or the start or end frame of a terrain path.
|
|
24
|
+
|
|
25
|
+
Type a coordinate only when no relation states the intent. A relation keeps its meaning when a reseeded model changes size, and a coordinate does not.
|
|
26
|
+
|
|
27
|
+
## One occurrence, then many
|
|
28
|
+
|
|
29
|
+
1. Build one occurrence of the room, stand or group.
|
|
30
|
+
2. Settle each piece's state in the environment's `support` findings as the support section below sets.
|
|
31
|
+
3. Check its look in a capture at the shot camera under [visual debugging](../visual-debugging/SKILL.md).
|
|
32
|
+
4. Repeat the checked occurrence through a kit count, a woods outline or an instance set.
|
|
33
|
+
|
|
34
|
+
## Support
|
|
35
|
+
|
|
36
|
+
The `support` findings refuse nothing, because a piece can be meant to hang or fly. Settle each state by its outcome, and the check ends when every piece has one:
|
|
37
|
+
|
|
38
|
+
| State | Outcome |
|
|
39
|
+
| --- | --- |
|
|
40
|
+
| `declared` | None here; prop placement validation judges the piece |
|
|
41
|
+
| `floating`, `sunk` | A relation or a support, or a note beside the piece saying why it hangs or flies on purpose |
|
|
42
|
+
| `resting`, `wall-borne` | None; the piece is supported |
|
|
43
|
+
| `unresolved` | A judgment by eye in the step 3 capture, because the piece's model has no measurable rest extent |
|
|
44
|
+
|
|
45
|
+
## Budgets
|
|
46
|
+
|
|
47
|
+
The builders refuse an instance set, a wood or a terrain lattice beyond its budget, and the refusal names the budget and what lowers it. Change what the refusal names, or split an instance set into more sets.
|
|
@@ -4,14 +4,17 @@ Apply visual debugging to form with the checks below.
|
|
|
4
4
|
|
|
5
5
|
## Measures
|
|
6
6
|
|
|
7
|
-
Settle these by measurement before looking
|
|
7
|
+
Settle these by measurement before looking. Before measuring, write each one that has a field into the form's `IAutoMovieFormExpectation`:
|
|
8
8
|
|
|
9
|
-
- overall dimensions against the real ones
|
|
10
|
-
- clearances and contacts between parts
|
|
11
|
-
-
|
|
9
|
+
- overall dimensions against the real ones, as its `size`;
|
|
10
|
+
- clearances and contacts between parts, as its `pairs`;
|
|
11
|
+
- the number of separate pieces, as its `pieces`;
|
|
12
|
+
- the triangle count;
|
|
12
13
|
- open edges and edges that more than two triangles share;
|
|
13
14
|
- reversed faces, triangles without area and a surface passing through itself.
|
|
14
15
|
|
|
16
|
+
Check the form against the expectation with `checkAutoMovieFormExpectation` from `@automovie/engine`. The check also tries the form's box and convex hull, which a useful expectation rejects. When it reports either as loose, add the empty point or genus that tells the form from it, or list it in `matches` when the form is meant to equal it.
|
|
17
|
+
|
|
15
18
|
## Coverage
|
|
16
19
|
|
|
17
20
|
Inspect [selected](../visual-debugging/capture.md#subject) curves and parts against the reference, first alone, then with neighbors that share boundaries or dependencies, then assembled. Use every [view](../visual-debugging/capture.md#views) the form requires.
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
# Common
|
|
2
2
|
|
|
3
|
-
Every exported declaration answers this item alongside its design, implementation or testing items.
|
|
4
|
-
|
|
5
3
|
## Meaningful documentation
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
Can readers use the declaration correctly and verify its non-obvious choices?
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
Explain what the declaration does, which conditions callers must meet and what they can rely on. Include effects, failures, units, frames, clocks and defaults where these affect use.
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
For a test, name the behavior and the distinct cases that exercise it.
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
Put the premise and derivation beside an operation that needs explaining. Identify where its numbers come from and distinguish a measurement from a fitted value or convention.
|
|
@@ -1,27 +1,17 @@
|
|
|
1
1
|
# Design
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Answer from the declaration and its consumers.
|
|
4
4
|
|
|
5
5
|
## Principled representation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Does the type represent the domain's valid states and identify where its invariants are established?
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Name what the values mean, including units, frames or clocks. Represent variants explicitly when optional fields would admit impossible combinations.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Expose only what current consumers use. Import existing types from their owner. Represent the variants current consumers use as data.
|
|
14
|
-
|
|
15
|
-
State the owner, the consumers the surface serves, and why any non-obvious member, parameter or layer exists.
|
|
11
|
+
Identify the boundary that establishes the remaining invariants. Resolve a mismatch at its owner before exposing the type to consumers.
|
|
16
12
|
|
|
17
|
-
##
|
|
18
|
-
|
|
19
|
-
Do not:
|
|
13
|
+
## Minimal and owned surface
|
|
20
14
|
|
|
21
|
-
|
|
22
|
-
- restrict a concept to one case when current consumers need others;
|
|
23
|
-
- encode alternatives as optional fields that combine into meaningless states, where a discriminated union separates them;
|
|
24
|
-
- widen to `any`, `unknown` or a cast to hide a mismatch between a value and its declared shape;
|
|
25
|
-
- add members only a test reads.
|
|
15
|
+
Does the surface give its consumers the capabilities they need at the right owner?
|
|
26
16
|
|
|
27
|
-
|
|
17
|
+
Trace each non-obvious member, option or layer to a supported use. Reuse representations from their owner. Keep fixture-specific choices and test-only observations outside the contract the application exposes.
|
|
@@ -1,49 +1,21 @@
|
|
|
1
1
|
# Implementation
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Answer from the function, its callees and its callers.
|
|
4
4
|
|
|
5
5
|
## Principled implementation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Why does the method give the required result throughout its supported domain?
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Connect the calculation and its bounds to the domain, a specification or an independent source. Explain the boundary cases and the basis of constants, tolerances and exceptions.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Keep decisions with the responsibilities that own them. Add only layers and options current requirements use. Put behavior used by multiple consumers in one package or shared module.
|
|
14
|
-
|
|
15
|
-
State how the decomposition exposes that responsibility and why any non-obvious layer or separation is needed.
|
|
16
|
-
|
|
17
|
-
## Prohibited implementation shortcuts
|
|
18
|
-
|
|
19
|
-
Do not:
|
|
20
|
-
|
|
21
|
-
- tune a constant until one case or check passes;
|
|
22
|
-
- special-case a consumer, scene, fixture, expected answer, or measurement;
|
|
23
|
-
- replay a baked or fitted result in place of the computation it stands for;
|
|
24
|
-
- use a tolerance that admits a result outside the requirement;
|
|
25
|
-
- replace foreign methods, globals, or internals;
|
|
26
|
-
- add production behavior only to pass a test;
|
|
27
|
-
- keep a disproven assumption under wrappers, retries, or exceptions.
|
|
28
|
-
|
|
29
|
-
Take each value from the requirement, a cited source, a measurement, or a named parameter that states its origin. Contract-defined constants and paths for a real supported difference are allowed.
|
|
30
|
-
|
|
31
|
-
State any such special case or compensation present and its basis, or the violation that remains.
|
|
11
|
+
Repair failures at the decision or operation that causes them. A fixture-specific rule or substituted result cannot establish correctness for the domain.
|
|
32
12
|
|
|
33
13
|
## Efficient algorithms
|
|
34
14
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
State the input dimensions that drive time and space, the dominant cost, and why any full scan or rebuild is needed. Do not claim unmeasured speedups.
|
|
38
|
-
|
|
39
|
-
## Reuse equivalent work
|
|
40
|
-
|
|
41
|
-
Reuse completed or in-flight work only when the inputs and dependencies are equivalent and the contract permits sharing its effects.
|
|
42
|
-
|
|
43
|
-
State what is shared, which inputs, dependencies, and effects decide equivalence, and how identity and invalidation keep it valid.
|
|
15
|
+
Does the operation do only the work its result needs, with clear ownership and bounds?
|
|
44
16
|
|
|
45
|
-
|
|
17
|
+
Explain the division of work and the dominant cost across calls. Justify full traversals and rebuilding. Base speed claims on comparable measurements.
|
|
46
18
|
|
|
47
|
-
|
|
19
|
+
The owner prepares common inputs once. Each read uses its inputs and the prepared result without writing hidden state.
|
|
48
20
|
|
|
49
|
-
|
|
21
|
+
When the operation keeps data, handles or tasks, give the bound and identify what acquires and releases them through completion, failure, cancellation or transfer.
|
|
@@ -8,4 +8,6 @@ Read the implementation, callers, contracts and tests to identify the invariants
|
|
|
8
8
|
|
|
9
9
|
Fix each cause at its owner and delete the compensations the fix makes unnecessary. Put non-obvious invariants in nearby comments.
|
|
10
10
|
|
|
11
|
+
Before the fix lands, run each regression test the repair adds or changes on the unrepaired code. Record the failure it showed where the change records its verification, such as its pull request or commit message. A test that passes there does not guard the defect, so change it until it fails. A test of new behavior that repairs nothing needs no run on the unrepaired code.
|
|
12
|
+
|
|
11
13
|
Use the development checks to verify the corrected and preserved behavior for every affected case.
|
|
@@ -9,11 +9,11 @@ Follow [Writing](writing.md). The project's development skill owns doc comment r
|
|
|
9
9
|
|
|
10
10
|
## READMEs
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Give the project's users the information they need to begin.
|
|
13
13
|
|
|
14
|
-
- what it
|
|
15
|
-
- how to install and start it
|
|
16
|
-
- the
|
|
17
|
-
-
|
|
14
|
+
- Explain what it does and when to use it.
|
|
15
|
+
- Show how to install and start it.
|
|
16
|
+
- List the main entry points.
|
|
17
|
+
- Link to detailed guidance.
|
|
18
18
|
|
|
19
19
|
Leave API details with the source and its types. Verify names and commands. Run every example.
|
|
@@ -6,7 +6,7 @@ Keep what the reader needs to understand or act. State each rule or fact once.
|
|
|
6
6
|
|
|
7
7
|
### Content and sentences
|
|
8
8
|
|
|
9
|
-
- Keep the action, its conditions and
|
|
9
|
+
- Keep the action, its conditions and how to verify it.
|
|
10
10
|
- Make one point per sentence.
|
|
11
11
|
- Give the reason when it is not obvious.
|
|
12
12
|
- Say what to do rather than what to avoid, and name the concrete pattern when a prohibition is needed.
|
|
@@ -50,7 +50,7 @@ Give each paragraph one topic and one source line. Lead with its point. Check pa
|
|
|
50
50
|
|
|
51
51
|
Use lists for short parallel items or steps whose order matters. Keep each item to about 120 characters on one source line.
|
|
52
52
|
|
|
53
|
-
Introduce each list. Use parallel grammar and at least two items. End sentences
|
|
53
|
+
Introduce each list. Use parallel grammar and at least two items. End complete sentences with periods.
|
|
54
54
|
|
|
55
55
|
Keep items to one paragraph and distinguish nested list markers.
|
|
56
56
|
|
|
@@ -14,11 +14,11 @@ Define the action's interaction through time-bounded effector goals. Fit them wi
|
|
|
14
14
|
|
|
15
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.
|
|
16
16
|
|
|
17
|
-
A goal on a body
|
|
17
|
+
A goal on a body follows the bone under its target. Use the study's delay for a performer's reaction to another person's movement. Read an active material contact at the current pose under [support frames](contacts.md#windows-and-support-frames).
|
|
18
18
|
|
|
19
19
|
## The path in time
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Take knot times, velocities and accelerations from measured phases, and join the knots under [pose by time](transitions.md#preparation). An action that makes contact at speed needs its own boundary velocities and segment timing (Putnam 1993).
|
|
22
22
|
|
|
23
23
|
When the root travels during a stroke, express the effector path in the moving shoulder or hip frame.
|
|
24
24
|
|
|
@@ -4,9 +4,13 @@ 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
|
-
Declare which surfaces may touch and when, including approach, first touch and release where they matter.
|
|
7
|
+
Declare which surfaces may touch and when, including approach, first touch and release where they matter. Keep a retained contact in the material frame of the part that owns its surface. Measure slip and penetration from the displayed effector and that material frame at the same second.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Derive the fit from the contact points, the rig's segment lengths and joint limits, and the outer surfaces that must clear.
|
|
10
|
+
|
|
11
|
+
Match contact tolerances to the resolution of the posed rig and its material.
|
|
12
|
+
|
|
13
|
+
During continuous bearing, transfer weight to the next support before releasing the current one. Where the authored action goes airborne, check that release ends bearing and touchdown opens it again.
|
|
10
14
|
|
|
11
15
|
## Feet
|
|
12
16
|
|
|
@@ -2,9 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
## Pose by time
|
|
4
4
|
|
|
5
|
-
Prepare
|
|
5
|
+
Prepare a law once from its bound inputs and evaluate its pose by time.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### Preparation
|
|
8
|
+
|
|
9
|
+
Use a closed-form path or fit when it meets the bounds. Resolve contact changes, impacts and touchdowns at their event times. Restrict a coupled fit or physical solve to the interval and degrees of freedom required.
|
|
10
|
+
|
|
11
|
+
For a fitted path, retain knots at its branch times and add others only to meet the required error bound (AutoKnots, Vitenti et al. 2024). Use Brent's method for a bracketed one-dimensional extremum. Join minimum-jerk segments with matched position, rate and acceleration (Flash and Hogan 1985). Use TOPP-RA when the path needs retiming to meet rate and acceleration limits (Pham and Pham 2018).
|
|
12
|
+
|
|
13
|
+
Retain exact event states and any curves or solver trajectories needed between events. Carry the displayed predecessor state through dependent phases, cuts and layers.
|
|
14
|
+
|
|
15
|
+
### Sampling
|
|
16
|
+
|
|
17
|
+
Return the same pose for repeated and shuffled reads. Evaluate the requested channels from their prepared data and any current inputs they depend on, such as a moving support or tracked partner. Keep invariant work in preparation. Reuse the evaluated pose where consumers need the same sample.
|
|
8
18
|
|
|
9
19
|
## Transitions
|
|
10
20
|
|
|
@@ -12,9 +22,9 @@ Use closed-form paths and fits where they satisfy the constraints. Limit coupled
|
|
|
12
22
|
|
|
13
23
|
Declare each cut's target action, legal window, target entry and transition kind. Reject undeclared cuts when building the plan.
|
|
14
24
|
|
|
15
|
-
|
|
25
|
+
Use inertialization for a change of action, redirection for a new target in the same family and phase alignment for a cyclic join. Preserve the gait phase in force at the boundary, including flight where admitted.
|
|
16
26
|
|
|
17
|
-
|
|
27
|
+
Plan the target action from the entry pose and rates. Preserve active supports and held objects in their owners' frames until the actual release or transfer. Check corresponding channels and contacts on both sides.
|
|
18
28
|
|
|
19
29
|
If the vocabulary runs transitions, the law declares its cuts and delegates blending.
|
|
20
30
|
|
|
@@ -10,7 +10,7 @@ Vary one law through parameters, skill and seed. Add a parameter with a study-ba
|
|
|
10
10
|
|
|
11
11
|
Interpolate each measured quantity between novice and expert using studies of that action family. Mark unsupported quantities provisional.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Vary performance within the same joint limits. Preserve any fixed outcome. Skill may affect a selected [outcome rule](declaration.md#outcome-as-input) when the rule admits it.
|
|
14
14
|
|
|
15
15
|
## Variability across tasks
|
|
16
16
|
|
|
@@ -20,4 +20,4 @@ Model interval variance as a constant motor term plus a term growing with interv
|
|
|
20
20
|
|
|
21
21
|
Key each random draw by seed, performer, action, instance and quantity. Preserve other draws when action order or membership changes.
|
|
22
22
|
|
|
23
|
-
Vary motion within studied bounds.
|
|
23
|
+
Vary motion within studied bounds. Use the caller's affected count or derive it from the supplied studied rate. Use the seed to select members.
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
# Motion verification
|
|
2
2
|
|
|
3
|
-
Test each isolated action's own goal with bounded assertions in unit tests
|
|
3
|
+
Test each isolated action's own goal with bounded assertions in unit tests. 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
9
|
- balance for a staged physical outcome or on request, using extrapolated center of mass against the support (Hof 2005);
|
|
10
|
-
-
|
|
10
|
+
- pose and rate continuity at cuts and at both joins of each prepared response.
|
|
11
|
+
|
|
12
|
+
Check all displayed channels. Where an impact or release intentionally changes a rate or contact, test the declared change.
|
|
11
13
|
|
|
12
14
|
## Checks that can fail
|
|
13
15
|
|
|
@@ -15,13 +17,13 @@ A check states the bound it tests and tests exactly that bound. A value reported
|
|
|
15
17
|
|
|
16
18
|
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
19
|
|
|
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.
|
|
20
|
+
Check phase boundaries, the shortest contact and between-frame extrema, locating each extremum with Brent's method. Use a supported swept query where a fast crossing can slip through discrete checks. State the resolution and any unproven interval.
|
|
19
21
|
|
|
20
22
|
Take every bound from the requirement or its study, never widening one until a case passes.
|
|
21
23
|
|
|
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.
|
|
24
|
+
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.
|
|
23
25
|
|
|
24
|
-
|
|
26
|
+
Verify evaluation by its structure rather than a timed workload: preparation runs once, `f(plan, t)` is pure, and no sample recomputes prepared work. Compare sequential, repeated and out-of-order samples at the same times.
|
|
25
27
|
|
|
26
28
|
## Frame review
|
|
27
29
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Worker resumption
|
|
2
|
+
|
|
3
|
+
When an active Claude Code worker stops for context, direct it explicitly to continue in the same session. Claude Code compacts earlier turns as needed.
|
|
4
|
+
|
|
5
|
+
If the session cannot resume, use its latest verified files, checks and decisions to brief an authorized replacement. Record the interruption and keep any unverified result open.
|
|
@@ -7,7 +7,7 @@ description: Sets what makes an instruction for an agent work.
|
|
|
7
7
|
|
|
8
8
|
Apply [Writing](../documentation/writing.md) to entry files, skills and their resources. Write for a reader new to the project.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Consult the [GPT-6.2 prompting guide](https://developers.openai.com/api/docs/guides/latest-model?model=gpt-6.2-astra#prompting-best-practices) for model-dependent changes. Keep model, effort and tools in run configuration.
|
|
11
11
|
|
|
12
12
|
For direct Responses API integrations, follow the [prefix guidance](https://developers.openai.com/api/docs/guides/keep-prefix-unchanged) for durable instructions and appended updates.
|
|
13
13
|
|
|
@@ -15,27 +15,17 @@ For direct Responses API integrations, follow the [prefix guidance](https://deve
|
|
|
15
15
|
|
|
16
16
|
### What to state
|
|
17
17
|
|
|
18
|
-
State
|
|
18
|
+
State the deliverable, recipient, acceptance checks and choices reserved for the user. Describe project-specific rules the code cannot show. Include a reason or example when it resolves ambiguity. Prescribe a method when it prevents a known failure.
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Prescribe a method only to prevent a known failure.
|
|
23
|
-
|
|
24
|
-
State the deliverable, recipient, acceptance checks and decisions reserved for the user. Disclose consequential delegated choices.
|
|
25
|
-
|
|
26
|
-
Use a short example when it disambiguates the rule.
|
|
20
|
+
Keep history in Git. Disclose consequential delegated choices.
|
|
27
21
|
|
|
28
22
|
### Default route
|
|
29
23
|
|
|
30
|
-
State the default first.
|
|
31
|
-
|
|
32
|
-
List each optional route, folder, command or stage with its enabling condition.
|
|
24
|
+
State the default first and give each optional route its enabling condition.
|
|
33
25
|
|
|
34
26
|
### One owner
|
|
35
27
|
|
|
36
|
-
Define each rule
|
|
37
|
-
|
|
38
|
-
Fix an existing rule's application when it covers the failure. Change the rule at its owner when coverage is missing or conflicting.
|
|
28
|
+
Define each rule once and link to its owner. Fix its application when the rule covers the failure. Fix the owner and its links when the rule is missing or conflicts.
|
|
39
29
|
|
|
40
30
|
### Packages
|
|
41
31
|
|
|
@@ -43,7 +33,7 @@ The package's types and JSDoc own its API, and its README its entry points.
|
|
|
43
33
|
|
|
44
34
|
## Skills and contracts
|
|
45
35
|
|
|
46
|
-
For creation
|
|
36
|
+
For each creation step, state its output and the decisions it owns. Link to the contracts that check it.
|
|
47
37
|
|
|
48
38
|
Put a rule every Evidence-selected declaration, document or record must meet in the responsible [contract](../contracts/SKILL.md) item.
|
|
49
39
|
|
|
@@ -51,9 +41,7 @@ Give each statement one checkable assertion with its exceptions. Say whether fai
|
|
|
51
41
|
|
|
52
42
|
Check new requirements for overlap and conflicts. Record the support and limits of new quality claims before adopting them.
|
|
53
43
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
Update the check and its documented rule together.
|
|
44
|
+
Use a hook or executable check for universal rules where practical. Update the check and its instructions together.
|
|
57
45
|
|
|
58
46
|
Group judgments that share the task, respondent, proof and repair owner. Give the overall outcome its own item.
|
|
59
47
|
|
|
@@ -61,9 +49,7 @@ Group judgments that share the task, respondent, proof and repair owner. Give th
|
|
|
61
49
|
|
|
62
50
|
### Entry files
|
|
63
51
|
|
|
64
|
-
Keep `AGENTS.md` under 200 lines.
|
|
65
|
-
|
|
66
|
-
Start each trigger with the task's verb. Keep only `@AGENTS.md` in `CLAUDE.md`.
|
|
52
|
+
Keep `AGENTS.md` under 200 lines. Give each top-level skill a verb-led trigger. Include only the rules a reader needs across sessions or to start. Keep only `@AGENTS.md` in `CLAUDE.md`.
|
|
67
53
|
|
|
68
54
|
### Skill files
|
|
69
55
|
|
|
@@ -49,7 +49,7 @@ Capture consecutive output frames around contacts, cuts, joins and decisive inst
|
|
|
49
49
|
|
|
50
50
|
Sample the encoded or generated file at the same times as its source.
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
Record the sampled times as still-image coverage. Report any continuous viewing separately.
|
|
53
53
|
|
|
54
54
|
## Stills and sheets
|
|
55
55
|
|
|
@@ -22,4 +22,8 @@ Repeat the round and check defects and regressions across parts, views, times, i
|
|
|
22
22
|
|
|
23
23
|
When a fix is tried over several rounds, keep a round only if nothing got worse than in the best earlier round, and record every remaining failure with its numbers.
|
|
24
24
|
|
|
25
|
+
The inspection findings a capture records are the defects its checks report on the drawn stills. Capture the round with `compare` set to the best earlier round, and read whether they got worse from the comparison's finding outcome, as `IAutoMovieCaptureFindingDiff` defines it. A `worse` outcome rejects the round. An `unmatched` error keeps the round from counting as better. Recheck the missing finding intervals in the round that lacks coverage. Judge defects that only the stills show by eye under [comparison](comparison.md).
|
|
26
|
+
|
|
25
27
|
Open the current capture before accepting it.
|
|
28
|
+
|
|
29
|
+
In a production with `pnpm run verify`, select the affected target and read its current results. Reuse a useful check or add one beside the affected asset, motion case or shot. In its source comment, state what should happen, where and what observation decides it. Run a reproducible defect check on the old and rebuilt work over the same bounds. Keep recurring checks with their owner and remove one-off definitions when the round ends. Require an agreed stage only at its handoff. Record the director's visual or listening decision on the observed candidate and interval under the existing review route.
|