@automovie/template 0.2.0 → 0.3.1
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 +2 -2
- package/generated/pnpm-workspace.json +3 -3
- package/generated/skills/3d-modeling/conditioning.md +42 -34
- package/generated/skills/3d-modeling/crafting/SKILL.md +6 -6
- package/generated/skills/3d-modeling/crafting/construction.md +22 -29
- package/generated/skills/3d-modeling/crafting/lofting.md +26 -24
- package/generated/skills/3d-modeling/crafting/recovery.md +8 -8
- package/generated/skills/3d-modeling/diffusion/image-hints.md +5 -5
- package/generated/skills/3d-modeling/diffusion/models.md +32 -16
- package/generated/skills/3d-modeling/diffusion/prompts.md +3 -3
- package/generated/skills/3d-modeling/diffusion/request.md +7 -5
- package/generated/skills/3d-modeling/diffusion/shape-hints.md +19 -17
- package/generated/skills/3d-modeling/inspection.md +11 -9
- package/generated/skills/3d-modeling/modularization.md +9 -9
- package/generated/skills/3d-modeling/rigging.md +44 -35
- package/generated/skills/3d-modeling/sources.md +10 -10
- package/generated/skills/contracts/development/common.md +4 -4
- package/generated/skills/contracts/development/design.md +4 -4
- package/generated/skills/contracts/development/implementation.md +7 -7
- package/generated/skills/contracts/development/testing.md +4 -4
- package/generated/skills/development/repair.md +2 -4
- package/generated/skills/documentation/SKILL.md +4 -4
- package/generated/skills/documentation/writing.md +56 -34
- package/generated/skills/motion/laws/authoring.md +20 -30
- package/generated/skills/motion/laws/contacts.md +13 -13
- package/generated/skills/motion/laws/declaration.md +8 -6
- package/generated/skills/motion/laws/transitions.md +20 -18
- package/generated/skills/motion/laws/variation.md +6 -6
- package/generated/skills/motion/laws/verification.md +8 -6
- package/generated/skills/prompting/SKILL.md +52 -34
- package/generated/skills/visual-debugging/capture.md +24 -22
- package/generated/skills/visual-debugging/comparison.md +4 -4
- package/generated/skills/visual-debugging/correction-rounds.md +6 -15
- package/generated/skills/visual-debugging/passes.md +11 -11
- package/generated/skills/visual-debugging/rendering-cost.md +2 -2
- package/lib/createAutoMovieScaffold.js +2 -20
- package/lib/createAutoMovieScaffold.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/renderAutoMovieWorkspace.d.ts +22 -0
- package/lib/renderAutoMovieWorkspace.js +141 -0
- package/lib/renderAutoMovieWorkspace.js.map +1 -0
- package/package.json +5 -5
- package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +22 -21
- package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +7 -7
- package/scaffold/instructions/.agents/skills/3d-modeling/diffusion/SKILL.md +14 -10
- package/scaffold/instructions/.agents/skills/audio/SKILL.md +10 -10
- package/scaffold/instructions/.agents/skills/audio/acquisition.md +16 -18
- package/scaffold/instructions/.agents/skills/audio/diffusion/SKILL.md +18 -0
- package/scaffold/instructions/.agents/skills/audio/diffusion/cloning.md +25 -0
- package/scaffold/instructions/.agents/skills/audio/diffusion/models.md +59 -0
- package/scaffold/instructions/.agents/skills/audio/diffusion/prompts.md +45 -0
- package/scaffold/instructions/.agents/skills/audio/film-sound.md +7 -5
- package/scaffold/instructions/.agents/skills/audio/generated-sound.md +5 -3
- package/scaffold/instructions/.agents/skills/audio/listening.md +13 -0
- package/scaffold/instructions/.agents/skills/audio/sound-effects.md +6 -6
- package/scaffold/instructions/.agents/skills/audio/soundtrack.md +4 -2
- package/scaffold/instructions/.agents/skills/automovie/SKILL.md +32 -0
- package/scaffold/instructions/.agents/skills/contracts/SKILL.md +6 -29
- package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +13 -13
- package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +18 -7
- package/scaffold/instructions/.agents/skills/contracts/development/composition.md +9 -6
- package/scaffold/instructions/.agents/skills/contracts/development/entities.md +6 -7
- package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +18 -20
- package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +4 -6
- package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +12 -13
- package/scaffold/instructions/.agents/skills/contracts/items.md +26 -0
- package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +37 -25
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/treatments.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +4 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/common.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +3 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +0 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +11 -14
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +3 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +2 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +1 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +6 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +2 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +3 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +5 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +5 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +2 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +6 -8
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +4 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +2 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +2 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +3 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +6 -8
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +5 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +19 -22
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +9 -11
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +3 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +0 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/treatments.md +1 -1
- package/scaffold/instructions/.agents/skills/development/SKILL.md +14 -24
- package/scaffold/instructions/.agents/skills/development/entities.md +19 -15
- package/scaffold/instructions/.agents/skills/development/modules.md +31 -0
- package/scaffold/instructions/.agents/skills/development/source-layout.md +66 -50
- package/scaffold/instructions/.agents/skills/development/testing.md +10 -11
- package/scaffold/instructions/.agents/skills/evidence/SKILL.md +7 -7
- package/scaffold/instructions/.agents/skills/evidence/adoption.md +4 -4
- package/scaffold/instructions/.agents/skills/evidence/answering.md +3 -3
- package/scaffold/instructions/.agents/skills/evidence/configuration.md +4 -4
- package/scaffold/instructions/.agents/skills/image/SKILL.md +8 -19
- package/scaffold/instructions/.agents/skills/image/canon-references.md +16 -6
- package/scaffold/instructions/.agents/skills/image/diffusion/SKILL.md +23 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/conditioning.md +29 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/consistency.md +25 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/editing.md +15 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/finishing.md +11 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/models.md +35 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/prompting.md +27 -0
- package/scaffold/instructions/.agents/skills/image/turnaround-views.md +6 -2
- package/scaffold/instructions/.agents/skills/motion/SKILL.md +15 -32
- package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +15 -15
- package/scaffold/instructions/.agents/skills/motion/compose/composition.md +34 -26
- package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +5 -5
- package/scaffold/instructions/.agents/skills/motion/control-channels.md +14 -10
- package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +12 -8
- package/scaffold/instructions/.agents/skills/motion/diffusion/clips.md +23 -9
- package/scaffold/instructions/.agents/skills/motion/diffusion/hints.md +20 -8
- package/scaffold/instructions/.agents/skills/motion/diffusion/models.md +24 -16
- package/scaffold/instructions/.agents/skills/motion/diffusion/tracing.md +18 -12
- package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +6 -6
- package/scaffold/instructions/.agents/skills/motion/judgment.md +37 -0
- package/scaffold/instructions/.agents/skills/motion/laws/SKILL.md +11 -11
- package/scaffold/instructions/.agents/skills/motion/laws/extension.md +15 -11
- package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +47 -17
- package/scaffold/instructions/.agents/skills/motion/performance.md +11 -0
- package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +15 -15
- package/scaffold/instructions/.agents/skills/motion/retargeting.md +5 -5
- package/scaffold/instructions/.agents/skills/motion/segment-review.md +7 -5
- package/scaffold/instructions/.agents/skills/motion/staging.md +10 -8
- package/scaffold/instructions/.agents/skills/production/SKILL.md +11 -38
- package/scaffold/instructions/.agents/skills/production/assembly.md +11 -5
- package/scaffold/instructions/.agents/skills/production/captions.md +4 -4
- package/scaffold/instructions/.agents/skills/production/director.md +17 -0
- package/scaffold/instructions/.agents/skills/production/media-records.md +33 -11
- package/scaffold/instructions/.agents/skills/production/project-context.md +64 -22
- package/scaffold/instructions/.agents/skills/production/reorganization.md +3 -3
- package/scaffold/instructions/.agents/skills/production/stage-caches.md +7 -11
- package/scaffold/instructions/.agents/skills/production/sustained-runs.md +7 -7
- package/scaffold/instructions/.agents/skills/production/workflow.md +45 -0
- package/scaffold/instructions/.agents/skills/review/SKILL.md +10 -15
- package/scaffold/instructions/.agents/skills/review/delivery-review.md +51 -30
- package/scaffold/instructions/.agents/skills/review/estimation.md +32 -13
- package/scaffold/instructions/.agents/skills/review/independent-reading.md +6 -4
- package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +7 -7
- package/scaffold/instructions/.agents/skills/review/source-review.md +5 -9
- package/scaffold/instructions/.agents/skills/story/SKILL.md +10 -13
- package/scaffold/instructions/.agents/skills/story/answers.md +10 -10
- package/scaffold/instructions/.agents/skills/story/correction/inspection.md +10 -12
- package/scaffold/instructions/.agents/skills/story/correction/repair.md +20 -14
- package/scaffold/instructions/.agents/skills/story/document-layout.md +32 -17
- package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +11 -9
- package/scaffold/instructions/.agents/skills/story/layers/brief.md +4 -8
- package/scaffold/instructions/.agents/skills/story/layers/notation.md +8 -6
- package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +20 -12
- package/scaffold/instructions/.agents/skills/story/layers/scripts.md +3 -3
- package/scaffold/instructions/.agents/skills/story/layers/settings.md +28 -11
- package/scaffold/instructions/.agents/skills/story/layers/shots.md +8 -8
- package/scaffold/instructions/.agents/skills/story/layers/treatments.md +3 -3
- package/scaffold/instructions/.agents/skills/story/planning/SKILL.md +7 -7
- package/scaffold/instructions/.agents/skills/story/planning/direction.md +2 -2
- package/scaffold/instructions/.agents/skills/story/planning/discovery.md +9 -7
- package/scaffold/instructions/.agents/skills/story/planning/requirements.md +10 -8
- package/scaffold/instructions/.agents/skills/story/planning/research.md +15 -18
- package/scaffold/instructions/.agents/skills/story/workflow/SKILL.md +8 -7
- package/scaffold/instructions/.agents/skills/story/workflow/long.md +18 -14
- package/scaffold/instructions/.agents/skills/story/workflow/routes.md +23 -17
- package/scaffold/instructions/.agents/skills/story/workflow/short.md +22 -14
- package/scaffold/instructions/.agents/skills/video/SKILL.md +9 -14
- package/scaffold/instructions/.agents/skills/video/diffusion/SKILL.md +7 -7
- package/scaffold/instructions/.agents/skills/video/diffusion/continuity.md +6 -6
- package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +29 -12
- package/scaffold/instructions/.agents/skills/video/diffusion/models.md +40 -19
- package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +23 -15
- package/scaffold/instructions/.agents/skills/video/direct-film.md +53 -0
- package/scaffold/instructions/.agents/skills/video/finishing.md +14 -12
- package/scaffold/instructions/.agents/skills/video/generated-film.md +24 -0
- package/scaffold/instructions/.agents/skills/video/generation.md +25 -17
- package/scaffold/instructions/.agents/skills/video/requests.md +8 -8
- package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +20 -18
- package/scaffold/instructions/AGENTS.md +46 -46
- package/scaffold/production/README.md +10 -19
- package/scaffold/production/package.json +1 -1
- package/scaffold/production/src/IFilmProduction.ts +22 -3
- package/scaffold/production/src/executable/physics.ts +8 -4
- package/scaffold/production/src/executable/recovery/node/artifact/archiveAutoMovieRecoveryModel.ts +4 -4
- package/scaffold/production/src/executable/recovery/node/artifact/createAutoMovieRecoveryArtifact.ts +5 -3
- package/scaffold/production/src/executable/recovery/node/artifact/writeAutoMovieRecoveryArtifact.ts +7 -7
- package/scaffold/production/src/executable/recovery/node/internal/readRecoveryCameraImages.ts +4 -2
- package/scaffold/production/src/executable/recovery/node/internal/recovery.ts +3 -3
- package/scaffold/production/src/executable/recovery/node/internal/recoveryImages.ts +3 -3
- package/scaffold/production/src/executable/recovery/node/internal/recoveryLocal.ts +4 -2
- package/scaffold/production/src/executable/recovery/node/internal/recoveryOpen.ts +2 -2
- package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryContourFileMesh.ts +17 -18
- package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryMeshSpool.ts +17 -18
- package/scaffold/production/src/executable/recovery/node/mesh/readAutoMovieRecoveryMeshFrontier.ts +4 -4
- package/scaffold/production/src/executable/recovery/node/publishAutoMovieRecoveryArtifact.ts +37 -21
- package/scaffold/production/src/executable/recovery/node/reconstruction/reconstructAutoMovieRecoveryLocal.ts +25 -15
- package/scaffold/production/src/executable/recovery/node/runAutoMovieRecoveryCommand.ts +1 -1
- package/scaffold/production/src/markFilmProduction.ts +1 -1
- package/scaffold/production/src/subjects.ts +28 -7
- package/scaffold/production/test/features/test_recovery_publication_cancellation.ts +129 -0
- package/scaffold/production/tsconfig.json +1 -2
- package/scaffold/production/vite.config.ts +12 -0
- package/scaffold/workspace/README.md +2 -2
- package/scaffold/workspace/package.json +1 -1
- package/src/createAutoMovieScaffold.ts +2 -39
- package/src/index.ts +1 -0
- package/src/renderAutoMovieWorkspace.ts +157 -0
- package/scaffold/instructions/.agents/skills/development/reuse.md +0 -48
- package/scaffold/instructions/.agents/skills/direct-film/SKILL.md +0 -51
- package/scaffold/instructions/.agents/skills/image/conditioning.md +0 -27
- package/scaffold/instructions/.agents/skills/image/consistency.md +0 -23
- package/scaffold/instructions/.agents/skills/image/editing.md +0 -15
- package/scaffold/instructions/.agents/skills/image/finishing.md +0 -11
- package/scaffold/instructions/.agents/skills/image/models.md +0 -18
- package/scaffold/instructions/.agents/skills/image/prompting.md +0 -25
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
# Request
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Use these model settings where available:
|
|
4
4
|
|
|
5
5
|
| Ask for | Otherwise expect |
|
|
6
6
|
| --- | --- |
|
|
7
7
|
| One subject per generation | Several subjects fused into one surface |
|
|
8
|
-
| A rest pose
|
|
9
|
-
|
|
|
10
|
-
| The triangle count
|
|
8
|
+
| A rest pose | Limbs fused to the body or to each other, and a failed automatic rig |
|
|
9
|
+
| Parts generated apart | Moving parts fused into one surface |
|
|
10
|
+
| The final triangle count | Far more triangles than any view needs |
|
|
11
11
|
| Separate material channels and a base color with the light removed | Light and shadow baked into the texture |
|
|
12
12
|
| A real-world size and an origin at the base | An arbitrary scale and origin |
|
|
13
13
|
|
|
14
|
+
Set deforming bodies' [rest pose](image-hints.md#pose). Separate moving parts by generation or segmentation. Use [Conditioning](../conditioning.md#reduction) for the final triangle budget.
|
|
15
|
+
|
|
14
16
|
No request prevents the rest: a size that is only the model's estimate, an arbitrary facing, melted thin parts, loose pieces, holes, inner surfaces, and a rig that is a first guess on the model's own skeleton.
|
|
15
17
|
|
|
16
|
-
|
|
18
|
+
Accept the mesh before requesting texture if the service separates those steps. On failure, try a cleaner input or another seed. Record the accepted result under [Conditioning](../conditioning.md#frozen-source).
|
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
# Shape hints
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Start with the existing geometry. Choose a technique by what must hold. See [3D models](models.md#shape-techniques) for implementations.
|
|
4
4
|
|
|
5
|
-
|
|
|
6
|
-
| --- | --- |
|
|
7
|
-
| The layout and proportions, while detail is added |
|
|
8
|
-
|
|
|
9
|
-
|
|
|
10
|
-
| The layout, when no model takes a shape |
|
|
11
|
-
|
|
|
5
|
+
| Technique | What must hold |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| Geometry condition | The layout and proportions, while detail is added |
|
|
8
|
+
| Texture on the given mesh | The geometry exactly, while only appearance is added |
|
|
9
|
+
| Refinement of the given mesh | The silhouette, while surface detail is added |
|
|
10
|
+
| Views rendered from the shape | The layout, when no model takes a shape |
|
|
11
|
+
| Pose condition and rigging onto the given skeleton | A body's skeleton |
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## Techniques
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
### Geometry condition
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Geometry conditioning guides a new mesh's layout and proportions. Supply appearance separately where required. Where the model adds noise to the condition, use its strength setting to control adherence.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
### Texture on the given mesh
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
A texturing model paints the given mesh from a prompt or a reference image and keeps its geometry exactly, so use it once the shape is final; on a coarse form it only paints the primitives.
|
|
22
|
+
|
|
23
|
+
### Refinement of the given mesh
|
|
22
24
|
|
|
23
25
|
A refiner adds geometric detail to a mesh from a reference image, anchored to its voxels, and expects a mesh already near the final shape, far finer than a few primitives.
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
### Views rendered from the shape
|
|
26
28
|
|
|
27
|
-
Render depth or
|
|
29
|
+
Render depth or normals from fixed cameras. Restyle under depth control with shared references, then use a multiview model or reproject onto the shape. Generate views together or pass earlier views as context. This [image guidance](image-hints.md#several-views) preserves shape loosely.
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
### Bodies
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
Condition the pose on the skeleton's joint positions. Use a service that accepts the project skeleton or a model that predicts weights for it. Bind the result to those exact joints under [Rigging](../rigging.md).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Inspecting a form
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Apply visual debugging to form with the checks below.
|
|
4
4
|
|
|
5
5
|
## Measures
|
|
6
6
|
|
|
@@ -14,19 +14,19 @@ Settle these by measurement before looking:
|
|
|
14
14
|
|
|
15
15
|
## Coverage
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
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.
|
|
18
18
|
|
|
19
19
|
Then inspect the assembled form in its final appearance at the distance it is used, and at its motion states: rest, intermediate, supported extremes, return, and shape-motion combinations.
|
|
20
20
|
|
|
21
21
|
## Forms defined by 2D views
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Inspect original 2D definitions before accepting loft curves and the surface. Fix all affected definitions in one [correction round](../visual-debugging/correction-rounds.md).
|
|
24
24
|
|
|
25
|
-
A part whose 2D definitions are accepted goes straight to the
|
|
25
|
+
A part whose 2D definitions are accepted goes straight to the 3D passes with its neighbors, whether or not unrelated parts are complete.
|
|
26
26
|
|
|
27
27
|
## Construction
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
Inspect the definitions that generate the surface:
|
|
30
30
|
|
|
31
31
|
- a curve network's sections, guides and cage;
|
|
32
32
|
- code CAD's sketches, axes and boolean operands;
|
|
@@ -42,14 +42,16 @@ A mesh without a generating definition has no construction, so these passes take
|
|
|
42
42
|
| Which way each face points | Front and back faces in different colors |
|
|
43
43
|
| Shading breaks | Normals shown as color |
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
Use the same camera for construction alone, construction over the shaded surface and surface alone. Apply all three passes to every planned selection. Keep joins visible.
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
Compare against the reference at each stage. Distinguish original 2D curves, derived 3D curves, unconnected studies, operands and joins. Verify paths and stage in the capture record.
|
|
48
48
|
|
|
49
49
|
## Light and material
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
Inspect form in clay under the scene's lights with material detail disabled. Judge lighting and materials in the beauty render.
|
|
52
52
|
|
|
53
53
|
## Fields judged only where needed
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Judge coarse forms from silhouette and construction. Inspect weights, UVs, curvature or raking light where they affect the required use.
|
|
56
|
+
|
|
57
|
+
Supply these fields as marks from their owner when needed.
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
# Modularization
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Use the same part and group structure for every source.
|
|
4
4
|
|
|
5
5
|
## Parts and groups
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Name parts by how the object is assembled and moves. Let each part own its shape and let groups reference their members.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use a group's frame as its subtree's physical pivot and its rotation limit as the subtree's range of motion. Link branches with a driver. Transform rigid members and [rig](rigging.md) deforming members.
|
|
10
10
|
|
|
11
11
|
## Frames and connections
|
|
12
12
|
|
|
13
|
-
Place
|
|
13
|
+
Place members in their parent's frame. Keep one unit and frame inside each declaration. Convert at a named boundary.
|
|
14
14
|
|
|
15
|
-
Define each connection
|
|
15
|
+
Define each shared connection with its continuity, contact or clearance once. Have both parts consume it.
|
|
16
16
|
|
|
17
17
|
## Source modules
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Give each part or group one generating definition, including its dimensions, frames and placements. Reuse it for repetition and reflection. Derive dependent geometry, attachments and diagnostics from their owners.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Map logical parts to source controls, generating subdomains and charts without duplicating geometry. Use one binding and material coordinate field across sewn boundaries. Touching parts may keep separate sheets.
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Propagate edits through dependencies and reuse equivalent work. Invalidate affected bindings on shape or chart edits and inverse binds on joint or rest-frame edits. Keep unaffected bone identities on repartition.
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Explain non-obvious calculation premises in comments under the project's development and [writing](../documentation/SKILL.md) rules.
|
|
@@ -1,91 +1,100 @@
|
|
|
1
1
|
# Rigging
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Define the rig's rest state, joints, weights, attachments and limits. Verify them in the poses the asset uses. [Motion](../motion/SKILL.md) owns time-dependent behavior.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Read the required use, retained source and package contracts for import, model, skinning and viewing. Accept a generated rig after its consumer deforms it correctly.
|
|
6
6
|
|
|
7
7
|
## Rig choice
|
|
8
8
|
|
|
9
9
|
| The asset | Rig |
|
|
10
10
|
| --- | --- |
|
|
11
|
-
| Rigid parts on pivots
|
|
11
|
+
| Rigid parts on pivots | One node per part on its real pivot |
|
|
12
12
|
| A humanoid | A skin bound to the humanoid joint set the installed packages' motion performs on |
|
|
13
|
-
|
|
|
13
|
+
| Other deforming body | Skin bound to the joints its motion drives |
|
|
14
14
|
|
|
15
|
-
Add no joint that nothing drives
|
|
15
|
+
Add no joint that nothing drives.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Align added detail to the accepted skeleton's rest pose and joints. Changing the character's proportions requires the user's choice and retargeting.
|
|
18
18
|
|
|
19
19
|
## Characterization
|
|
20
20
|
|
|
21
21
|
### Fixed inputs
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Freeze mesh, skeleton, textures, source pose and transforms. Record units, handedness, up and forward axes, local and world transforms, rest and bind poses, hierarchy, joint IDs, pivots and attachment owners. Verify what pose the importer displays at rest.
|
|
24
24
|
|
|
25
|
-
Inspect the required bones and every used influence, rigid accessories included
|
|
25
|
+
Inspect the required bones and every used influence, rigid accessories included.
|
|
26
26
|
|
|
27
27
|
### Binding
|
|
28
28
|
|
|
29
|
-
Map each deforming vertex to the
|
|
29
|
+
Map each deforming vertex to the joint palette and bind interpretation in use, and validate influence indices, finite weights, admitted sums and influence counts, parent relationships and coordinate conversion through the supported APIs.
|
|
30
30
|
|
|
31
31
|
Give a rigid prop a transform or attachment, not a skin. Keep unknown joints and extra influences; a deliberate reduction is a new derivative whose error is measured and rendered at the required poses.
|
|
32
32
|
|
|
33
33
|
## Weight sources
|
|
34
34
|
|
|
35
|
-
Bind
|
|
35
|
+
Bind the reduced mesh in rest pose with limbs apart. Join loose deforming pieces or make them rigid attachments. Use the first applicable weight source below. For crafted forms, evaluate weights on the [generating definition](crafting/construction.md#generating-definition).
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
| --- | --- | --- |
|
|
39
|
-
| The rig the source carries, from a generation service or the asset's author | Its joints map onto the target joint set; request the service's standard skeleton nearest that set | Its own joint names, rest pose, extra joints and unit |
|
|
40
|
-
| Transfer from an already rigged body of the same kind and pose | Such a body exists, such as the project's own figure | Copy only where the nearest surface matches in position and normal, and fill the rest by smoothing from those vertices |
|
|
41
|
-
| Automatic weights computed from the skeleton and the surface | The surface is one closed piece | Weights crossing between touching surfaces, and failure on open or disconnected geometry |
|
|
42
|
-
| A learned rigging model that predicts skeleton and weights | No existing skeleton fits, such as an unusual creature | Its skeleton is its own, so it needs a joint mapping and its motion needs retargeting |
|
|
37
|
+
Prove one representative export, import and deformation path before rigging many assets the same way.
|
|
43
38
|
|
|
44
|
-
|
|
39
|
+
### Rig carried by the source
|
|
45
40
|
|
|
46
|
-
|
|
41
|
+
Reuse a source rig when its joints map to the target. Request the nearest standard skeleton from a service. Check joint names, rest pose, extra joints and units.
|
|
42
|
+
|
|
43
|
+
### Transfer from a rigged body
|
|
44
|
+
|
|
45
|
+
Transfer weights from a rigged body of the same kind and pose where the nearest surface matches in position and normal. Fill remaining weights by smoothing from the transferred vertices.
|
|
46
|
+
|
|
47
|
+
### Automatic weights
|
|
48
|
+
|
|
49
|
+
Compute the weights automatically from the skeleton and the surface when the surface is one closed piece. Watch for weights crossing between touching surfaces, and for failure on open or disconnected geometry.
|
|
50
|
+
|
|
51
|
+
### Learned rigging model
|
|
52
|
+
|
|
53
|
+
Use learned rigging when no existing skeleton fits. Map its joints and retarget its motion.
|
|
47
54
|
|
|
48
55
|
## Deformation proof
|
|
49
56
|
|
|
50
57
|
### Poses to inspect
|
|
51
58
|
|
|
52
|
-
Check the rest result first, then each required control alone, then combined poses and the
|
|
59
|
+
Check the rest result first, then each required control alone, then combined poses and the shot sequence, in the rounds the [correction rounds](../visual-debugging/correction-rounds.md) page sets.
|
|
60
|
+
|
|
61
|
+
Choose coverage, such as shoulder and hip bends, twisting, hands and face, attachments and returns to rest, from the asset's anatomy, promised use, silhouettes, junctions and screen scale.
|
|
53
62
|
|
|
54
63
|
| Seen | Usual cause |
|
|
55
64
|
| --- | --- |
|
|
56
|
-
| The mesh displaced or scattered at rest | A bind pose
|
|
65
|
+
| The mesh displaced or scattered at rest | A bind pose not matching the skeleton, or a unit or axis converted twice |
|
|
57
66
|
| One limb dragging another, or the torso following an arm | Weights that crossed between surfaces touching at bind |
|
|
58
|
-
| A joint pinching flat when it twists or bends far | The limit of linear blending
|
|
59
|
-
| A piece left behind or torn off | A loose piece with no weights
|
|
67
|
+
| A joint pinching flat when it twists or bends far | The limit of linear blending, not a binding error |
|
|
68
|
+
| A piece left behind or torn off | A loose piece with no weights |
|
|
69
|
+
|
|
70
|
+
Attach a loose piece to one joint. For a joint that pinches flat, add a twist joint or compare the other skinning method.
|
|
60
71
|
|
|
61
72
|
Look also for clothing or accessories passing through the body, and for normals or materials that change with the pose.
|
|
62
73
|
|
|
63
74
|
### Skinning method and variants
|
|
64
75
|
|
|
65
|
-
|
|
76
|
+
Check the API's linear and dual-quaternion skinning support and scale limits. Compare them in the actual consumer where the asset needs a choice.
|
|
66
77
|
|
|
67
78
|
Keep proportions and control identities stable across detail variants, and recheck weights, rig assumptions and attachments when topology or proportions change.
|
|
68
79
|
|
|
69
80
|
### What survives export
|
|
70
81
|
|
|
71
|
-
|
|
82
|
+
Record which DCC operations produce the required deformation and which channels the exporter, ingest profile and runtime preserve. Check the ingest profile's subset of the interchange format.
|
|
72
83
|
|
|
73
|
-
Where needed, bake evaluated results into kept channels or a supported fixed representation, preserving the original and the conversion's identity
|
|
84
|
+
Where needed, bake evaluated results into kept channels or a supported fixed representation, preserving the original and the conversion's identity. Report required behavior the path cannot carry instead of exporting only the rest mesh.
|
|
74
85
|
|
|
75
|
-
Compare
|
|
86
|
+
Compare evaluated source and imported deformation at matched times and views. Cover required corrective or facial states, attachments and nonuniform scale where used. Judge visible error at the promised scale and verify the retained channels.
|
|
76
87
|
|
|
77
88
|
## Handoff
|
|
78
89
|
|
|
79
|
-
Hand
|
|
90
|
+
Hand accepted skeleton interpretation, controls, inputs and unresolved limits to the motion owner. Repair rig defects in the rig.
|
|
80
91
|
|
|
81
92
|
## References
|
|
82
93
|
|
|
83
|
-
These primary sources
|
|
94
|
+
These primary sources are options, not installed features, and a learned model's code, weights and data carry separate licenses to check at adoption.
|
|
84
95
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
| [UniRig](https://github.com/VAST-AI-Research/UniRig) | A learned skeleton, then a skin predicted from it, so correct the skeleton before taking the skin |
|
|
91
|
-
| [Puppeteer](https://github.com/Seed3D/Puppeteer) and [RigAnything](https://arxiv.org/abs/2502.09615) | Skeleton and weight prediction for bodies no template fits |
|
|
96
|
+
The [glTF skinning tutorial](https://github.com/KhronosGroup/glTF-Tutorials/blob/main/gltfTutorial/gltfTutorial_020_Skins.md) and [specification](https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html) show how scene hierarchy, joint palette, inverse binds and current transforms differ. The [Blender armature modifier](https://docs.blender.org/manual/en/latest/modeling/modifiers/deform/armature.html) documents that tool's deformation choices and preserve-volume behavior.
|
|
97
|
+
|
|
98
|
+
[Robust Skin Weights Transfer via Weight Inpainting](https://github.com/rin-23/RobustSkinWeightsTransferCode) transfers weights between bodies of different shape.
|
|
99
|
+
|
|
100
|
+
[UniRig](https://github.com/VAST-AI-Research/UniRig) predicts a learned skeleton, then a skin from it, so correct the skeleton before taking the skin. [Puppeteer](https://github.com/Seed3D/Puppeteer) and [RigAnything](https://arxiv.org/abs/2502.09615) predict skeleton and weights for bodies no template fits.
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
# Sources
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Adopt an existing asset when the shot needs it or the user requests it. Follow [Conditioning](conditioning.md).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Channels
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### Poly Haven
|
|
8
8
|
|
|
9
9
|
[Poly Haven](https://polyhaven.com/license) offers photoreal models, HDRIs and textures under CC0, with a [public API](https://api.polyhaven.com) for scripted fetching. Its HDRIs suit environment light; its models are fewer, so expect common props and furniture rather than a specific subject.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
### ambientCG
|
|
12
12
|
|
|
13
13
|
[ambientCG](https://docs.ambientcg.com/license/) offers PBR materials and HDRIs under CC0, for surfaces on crafted or recovered geometry rather than meshes.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
### Kenney
|
|
16
16
|
|
|
17
17
|
[Kenney](https://kenney.nl/assets/category:3D) offers consistent low-poly kits and characters under CC0, whose coarse, uniform style fits identifiable stand-ins and fast blocking.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
### codepawl GLB repacks
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
[codepawl](https://huggingface.co/datasets/codepawl/abo-glb) repacks Amazon Berkeley Objects (`abo-glb`), Google Scanned Objects (`scanned-objects-glb`) and NVIDIA SimReady (`simready-glb`) as real-scale GLB files. For CC BY 4.0 attribution, credit the original creator.
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
### Quixel Megascans
|
|
24
24
|
|
|
25
|
-
[Quixel Megascans](https://www.fab.com/sellers/Quixel%20Megascans)
|
|
25
|
+
[Quixel Megascans](https://www.fab.com/sellers/Quixel%20Megascans) offers photoscanned assets, surfaces and vegetation with a Fab account. The [Fab Standard License](https://www.fab.com/eula) allows commercial use and modification. Keep source scans out of public commits and simplify where detail is unnecessary.
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
### 100STYLE
|
|
28
28
|
|
|
29
29
|
[100STYLE](https://www.ianxmason.com/100style/) offers stylized locomotion motion capture in BVH under CC BY 4.0, as a gait or style reference to retarget or recover, with its credit.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Common
|
|
2
2
|
|
|
3
|
-
Every exported declaration answers this item
|
|
3
|
+
Every exported declaration answers this item alongside its design, implementation or testing items.
|
|
4
4
|
|
|
5
5
|
## Meaningful documentation
|
|
6
6
|
|
|
7
|
-
Document each public declaration and member
|
|
7
|
+
Document each public declaration and member's purpose and non-obvious input, output and effect contracts. Include ownership, units, frames, timebases, defaults, optional values and failure effects where relevant. For each test, document its cases and expected behavior.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
In implementation comments, explain the premises, derivation, units, frames and use of non-obvious calculations. Cite the origin of fitted or conventional coefficients and distinguish them from measurements.
|
|
10
10
|
|
|
11
|
-
Write it to the
|
|
11
|
+
Write it to the documentation skill's rules, with a blank comment line between prose and tags and a blank line between documented properties.
|
|
12
12
|
|
|
13
13
|
State which facts the documentation gives.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Design
|
|
2
2
|
|
|
3
|
-
Each exported type, interface, type alias and class answers
|
|
3
|
+
Each exported type, interface, type alias and class answers this checklist and [common](common.md) in its doc comment. Use evidence from the declaration and its consumers.
|
|
4
4
|
|
|
5
5
|
## Principled representation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Represent the domain's quantities with their units, frames and timebases. Encode invariants in the type where the language can enforce them.
|
|
8
8
|
|
|
9
9
|
State the concept represented, its units, frames, timebases and invariants, which invalid states the type rules out, and which remain for runtime validation.
|
|
10
10
|
|
|
11
11
|
## Minimal and owned surface
|
|
12
12
|
|
|
13
|
-
Expose only
|
|
13
|
+
Expose only what current consumers use. Import existing types from their owner. Represent the variants current consumers use as data.
|
|
14
14
|
|
|
15
15
|
State the owner, the consumers the surface serves, and why any non-obvious member, parameter or layer exists.
|
|
16
16
|
|
|
@@ -19,7 +19,7 @@ State the owner, the consumers the surface serves, and why any non-obvious membe
|
|
|
19
19
|
Do not:
|
|
20
20
|
|
|
21
21
|
- shape a type around one consumer, fixture or scene when the concept it names serves others;
|
|
22
|
-
-
|
|
22
|
+
- restrict a concept to one case when current consumers need others;
|
|
23
23
|
- encode alternatives as optional fields that combine into meaningless states, where a discriminated union separates them;
|
|
24
24
|
- widen to `any`, `unknown` or a cast to hide a mismatch between a value and its declared shape;
|
|
25
25
|
- add members only a test reads.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Implementation
|
|
2
2
|
|
|
3
|
-
Each exported function and class method answers
|
|
3
|
+
Each exported function and class method answers this checklist and [common](common.md) in its doc comment. Use evidence from its body, callees and callers. Its input and result types answer [design](design.md).
|
|
4
4
|
|
|
5
5
|
## Principled implementation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Ground the method in the problem's semantics, documented behavior, a recognized algorithm or cited practice evidence.
|
|
8
8
|
|
|
9
|
-
State the method,
|
|
9
|
+
State the method, why its premises hold for the actual inputs and any limits. Include relevant units, frames, timebases, invariants, precision and degeneracies.
|
|
10
10
|
|
|
11
11
|
## Clear and simple structure
|
|
12
12
|
|
|
13
|
-
|
|
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
14
|
|
|
15
15
|
State how the decomposition exposes that responsibility and why any non-obvious layer or separation is needed.
|
|
16
16
|
|
|
@@ -21,7 +21,7 @@ Do not:
|
|
|
21
21
|
- tune a constant until one case or check passes;
|
|
22
22
|
- special-case a consumer, scene, fixture, expected answer, or measurement;
|
|
23
23
|
- replay a baked or fitted result in place of the computation it stands for;
|
|
24
|
-
-
|
|
24
|
+
- use a tolerance that admits a result outside the requirement;
|
|
25
25
|
- replace foreign methods, globals, or internals;
|
|
26
26
|
- add production behavior only to pass a test;
|
|
27
27
|
- keep a disproven assumption under wrappers, retries, or exceptions.
|
|
@@ -32,13 +32,13 @@ State any such special case or compensation present and its basis, or the violat
|
|
|
32
32
|
|
|
33
33
|
## Efficient algorithms
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
Include helper costs when choosing the most efficient correct algorithm for the supported workload. Avoid needless traversal and allocation.
|
|
36
36
|
|
|
37
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
38
|
|
|
39
39
|
## Reuse equivalent work
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
Reuse completed or in-flight work only when the inputs and dependencies are equivalent and the contract permits sharing its effects.
|
|
42
42
|
|
|
43
43
|
State what is shared, which inputs, dependencies, and effects decide equivalence, and how identity and invalidation keep it valid.
|
|
44
44
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Testing
|
|
2
2
|
|
|
3
|
-
Each exported test function answers
|
|
3
|
+
Each exported test function answers this checklist and [common](common.md) from its assertions and execution path, including cases registered by a shared harness.
|
|
4
4
|
|
|
5
5
|
## Behavioral verification
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Exercise the behavior and assert its observable result. Delete checks of repository layout or source text and checks that repeat tuned constants, fitted results or implementation output.
|
|
8
8
|
|
|
9
9
|
State the operation exercised, the defect the assertions catch, and the valid behavior they allow.
|
|
10
10
|
|
|
@@ -16,12 +16,12 @@ State that basis, how the assertion would catch a wrong implementation, and any
|
|
|
16
16
|
|
|
17
17
|
## Distinguishing cases
|
|
18
18
|
|
|
19
|
-
Cover
|
|
19
|
+
Cover positive, adjacent negative and boundary cases. Identify the input that must change, the meaning to preserve, and any empty, singleton, limit, malformed or failure case the decision requires. Keep the assertions and cases when optimizing runtime.
|
|
20
20
|
|
|
21
21
|
State this test's contribution and the cases another test owns.
|
|
22
22
|
|
|
23
23
|
## Execution ownership
|
|
24
24
|
|
|
25
|
-
A unit test
|
|
25
|
+
A unit test exercises portable behavior with explicit in-memory inputs. Installation, native builds and real hosts belong to other checks. Playback, renders and listening belong to review. Classify a test by what it runs.
|
|
26
26
|
|
|
27
27
|
State the layer, the discoverable entry, and who owns dynamically registered cases.
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
# Repair
|
|
2
2
|
|
|
3
|
-
Repair keeps established contracts by fixing the responsible cause.
|
|
4
|
-
|
|
5
3
|
## Before editing
|
|
6
4
|
|
|
7
|
-
Read the implementation,
|
|
5
|
+
Read the implementation, callers, contracts and tests to identify the invariants it owns. Group findings by cause. Trace each cause and fix through consumers, failure and recovery paths, caches, determinism and supported platforms.
|
|
8
6
|
|
|
9
7
|
## The fix
|
|
10
8
|
|
|
11
9
|
Fix each cause at its owner and delete the compensations the fix makes unnecessary. Put non-obvious invariants in nearby comments.
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
Use the development checks to verify the corrected and preserved behavior for every affected case.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: documentation
|
|
3
|
-
description:
|
|
3
|
+
description: Sets how any document is written and what a README holds.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Documentation
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Follow [Writing](writing.md). The project's development skill owns doc comment requirements.
|
|
9
9
|
|
|
10
10
|
## READMEs
|
|
11
11
|
|
|
12
|
-
Write a README
|
|
12
|
+
Write a README for the people who use the project or package. Include:
|
|
13
13
|
|
|
14
14
|
- what it is and when to use it;
|
|
15
15
|
- how to install and start it;
|
|
16
16
|
- the few entry points;
|
|
17
17
|
- where the detail lives.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Leave API details with the source and its types. Verify names and commands. Run every example.
|