@automovie/template 0.3.4 → 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/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 +23 -15
- package/lib/createAutoMovieScaffold.js +35 -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 +3 -1
- package/scaffold/instructions/.agents/skills/audio/soundtrack.md +14 -0
- package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +4 -2
- package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/development/catalog.md +21 -0
- package/scaffold/instructions/.agents/skills/contracts/development/composition.md +37 -25
- package/scaffold/instructions/.agents/skills/contracts/development/entities.md +3 -1
- 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/story/principles/research.md +1 -1
- 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 +1 -1
- package/scaffold/instructions/.agents/skills/evidence/configuration.md +2 -2
- package/scaffold/instructions/.agents/skills/motion/SKILL.md +4 -5
- package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +3 -3
- package/scaffold/instructions/.agents/skills/motion/compose/composition.md +37 -18
- package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +2 -2
- package/scaffold/instructions/.agents/skills/motion/control-channels.md +4 -4
- package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +2 -2
- package/scaffold/instructions/.agents/skills/motion/judgment.md +7 -3
- 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 +2 -2
- 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 +1 -1
- package/scaffold/instructions/.agents/skills/motion/staging.md +12 -8
- 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 +7 -5
- package/scaffold/instructions/.agents/skills/production/director.md +5 -5
- package/scaffold/instructions/.agents/skills/production/media-records.md +16 -1
- package/scaffold/instructions/.agents/skills/production/project-context.md +7 -13
- package/scaffold/instructions/.agents/skills/production/sustained-runs.md +3 -3
- package/scaffold/instructions/.agents/skills/production/workflow.md +1 -1
- package/scaffold/instructions/.agents/skills/review/delivery-review.md +4 -2
- package/scaffold/instructions/.agents/skills/review/source-review.md +3 -1
- package/scaffold/instructions/.agents/skills/story/answers.md +1 -1
- package/scaffold/instructions/.agents/skills/story/document-layout.md +2 -2
- package/scaffold/instructions/.agents/skills/story/layers/shots.md +1 -1
- package/scaffold/instructions/.agents/skills/story/planning/discovery.md +1 -1
- package/scaffold/instructions/.agents/skills/story/planning/research.md +2 -2
- package/scaffold/instructions/.agents/skills/story/workflow/routes.md +1 -1
- package/scaffold/instructions/.agents/skills/video/SKILL.md +1 -1
- package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +1 -1
- package/scaffold/instructions/.agents/skills/video/direct-film.md +44 -9
- 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/requests.md +6 -2
- 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 +35 -18
- 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/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
|
@@ -22,7 +22,7 @@ Check a motion hint's [control channels](../motion/control-channels.md), a [dire
|
|
|
22
22
|
|
|
23
23
|
### Measurement and comparison
|
|
24
24
|
|
|
25
|
-
Use the README's capture commands to compare source and delivered frames across every scene and join. Label sheets in elapsed film time. Map generated takes by their request intervals, trims and conform. Inspect [consecutive output frames](../visual-debugging/capture.md#times) when the event falls between samples.
|
|
25
|
+
Read the production diagnostics the README describes in every inspection round and render, and repair their findings with the round's other findings. The cut stays a candidate while the render blocks publication. Use the README's capture commands to compare source and delivered frames across every scene and join. Label sheets in elapsed film time. Map generated takes by their request intervals, trims and conform. Inspect [consecutive output frames](../visual-debugging/capture.md#times) when the event falls between samples.
|
|
26
26
|
|
|
27
27
|
Follow participants, props and contacts through the edit under [motion judgment](../motion/judgment.md). For a pace finding, time the interval from cue to outcome in the staging and the delivered cut. For skilled practice, compare it with the observed exchange. Account for holds, cuts and replays.
|
|
28
28
|
|
|
@@ -50,11 +50,13 @@ For text or a standalone asset, include the revision, checks, observations and r
|
|
|
50
50
|
- disputed findings and their times, the evidence resolving them, and any open repairs or user-approved exclusions;
|
|
51
51
|
- the director's decision on that cut.
|
|
52
52
|
|
|
53
|
+
At an adopted handoff, read the required evidence with `pnpm run verify --subject <id> --require <stage>` and record the director's decision for the candidate and scope they reviewed.
|
|
54
|
+
|
|
53
55
|
A retake verdict covers the interval checked. Promote only a cut with current whole-film approval. Retain withdrawn decisions as history. Keep these observations [outside the contract graph](../contracts/items.md#outside-the-graph).
|
|
54
56
|
|
|
55
57
|
## Repairs
|
|
56
58
|
|
|
57
|
-
From the first playable draft through delivery, give the director the affected passage, its film time and what the viewer saw or heard. Compare the performance, framing and edit with the current screenplay. Where the production obscures or changes the intended action, correct it and replay the passage.
|
|
59
|
+
From the first playable draft through delivery, give the director the affected passage, its film time and what the viewer saw or heard. On a published file, use `automovie review --file <video> --at <seconds> --note <text>` to mark that version. Reopen its frame and adjacent stills with `automovie review --mark <review.json>`. Keep the needed original file or clip with the accepted observations. If a retake moved or removed the passage, use the current file and an explicit new time to rebind only when the affected passage is known. Compare the performance, framing and edit with the current screenplay. Where the production obscures or changes the intended action, correct it and replay the passage.
|
|
58
60
|
|
|
59
61
|
If the passage plays as written and the story still fails, the director gives the writer the observed loss to trace to its [earliest story decision](../story/correction/repair.md#upstream-defects). Changes to [user-fixed text](../story/workflow/routes.md#fixed-screenplay) go to the user. If a missing story decision prevents staging, follow [concretization](../story/correction/repair.md#concretization).
|
|
60
62
|
|
|
@@ -12,4 +12,6 @@ Verify each answer against its [contract item](../contracts/items.md#item-struct
|
|
|
12
12
|
|
|
13
13
|
Verify affected and preserved behavior through the consumer. For a motion change, trace the visible pose at its film time through the registered scene to the action that supplied it. Check any local layer that replaces part of the pose. Judge the result at the [capture times](../visual-debugging/capture.md#times). A distance between roots can establish placement. A claim about a shoe, sleeve or held object needs the corresponding posed surfaces.
|
|
14
14
|
|
|
15
|
-
For a scene that realizes a screenplay beat,
|
|
15
|
+
For a scene that realizes a screenplay beat, read the beat and its study before the scene's value comments. Check that each beat element has a commented value, then check each comment against the beat and study, each value against its comment, and the [replayed exchange](../evidence/answering.md#film-composition) against the values. Return a missing or misread element or a value that contradicts its comment to the film author, a performance that contradicts its values to the owner of its action, and a defect in the beat itself through [film repairs](delivery-review.md#repairs).
|
|
16
|
+
|
|
17
|
+
Attribute playback and [listening observations](../audio/listening.md#user-listening) to the person who watched or listened. Report unavailable hosts or platforms.
|
|
@@ -16,7 +16,7 @@ During an open Evidence pass, update affected answers after repairs. Once the pa
|
|
|
16
16
|
|
|
17
17
|
Keep construction answers separate under [document layout](document-layout.md#documents). The H1 names the exact file or file and anchor. Follow it with Evidence headings and support using the installed package's syntax.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Record a supported exclusion in the same answer document, as an `@evidenceExclude` heading under the respondent's H1 with its scope and reason. The body stays free of answers and exclusions. Use the designated discovery carrier for a discovery negative and the relationship's allowed form. Exclude a population only when all of it is inapplicable.
|
|
20
20
|
|
|
21
21
|
A work- or language-specific question is adopted through [adoption](../evidence/adoption.md), which also chooses its respondent.
|
|
22
22
|
|
|
@@ -19,11 +19,11 @@ Commit instructions, bodies and Evidence answers. Keep review records local. Ide
|
|
|
19
19
|
| `docs/research/<discipline>/<topic>.md` | The studies of each practice and style |
|
|
20
20
|
| `references/` | Retained research originals that are permitted copies |
|
|
21
21
|
| Ignored `references/private/` | Retained research originals whose rights are unconfirmed |
|
|
22
|
-
| `docs/contracts/work/...`, `docs/contracts/language/...` |
|
|
22
|
+
| `docs/contracts/work/...`, `docs/contracts/language/...` | Production story contracts |
|
|
23
23
|
| `docs/acceptance/<film>.md` | The film's tracked acceptance record |
|
|
24
24
|
| `docs/acceptance/catalog.md` | The catalog's accepted cases |
|
|
25
25
|
| `docs/evidence/construction/{units,files}/<layer>/...` | Separate construction answers for units and whole files |
|
|
26
|
-
| Ignored `docs/review/draft/<layer>/<relative-file>.md` | Current
|
|
26
|
+
| Ignored `docs/review/draft/<layer>/<relative-file>.md` | Current unit reviews mirroring the manuscript |
|
|
27
27
|
| Ignored `docs/review/draft/<layer>/verdict/index.md` | Current complete-population verdict |
|
|
28
28
|
|
|
29
29
|
The verdict file also holds the findings and the author's decisions on them.
|
|
@@ -6,7 +6,7 @@ Choose continuous views and cuts by conventional film grammar. Motion staging re
|
|
|
6
6
|
|
|
7
7
|
Choose the view for what the audience needs to follow. A wide shot can show one person's movement opening space for another. A closer view can reveal a choice the wide conceals. Re-establish the layout when the audience needs its bearings.
|
|
8
8
|
|
|
9
|
-
Set camera height, point of view and movement for the action and the delivered aspect ratio. Decide a lens where its perspective matters. Check which participant, cue or response the frame reveals or withholds.
|
|
9
|
+
Set camera height, point of view and movement for the action and the delivered aspect ratio. Decide a lens where its perspective matters and an f-number where depth of field matters. A low f-number separates a subject from its background and makes a focus pull visible. Check which participant, cue or response the frame reveals or withholds.
|
|
10
10
|
|
|
11
11
|
## Continuity across a cut
|
|
12
12
|
|
|
@@ -12,7 +12,7 @@ On the long route, repeat discovery at each applicable checkpoint. Inspect the m
|
|
|
12
12
|
| --- | --- |
|
|
13
13
|
| After settings | What the canon needs that direction did not foresee |
|
|
14
14
|
| Before composition, when commissioned | What no source folder, research or contract covers yet |
|
|
15
|
-
| After
|
|
15
|
+
| After output review | What the output or handoff shows the work still needs |
|
|
16
16
|
|
|
17
17
|
Before composition, that is an element kind no source folder owns, a behavior, camera or staging choice no research supports, and a failure no contract asks about.
|
|
18
18
|
|
|
@@ -12,11 +12,11 @@ A [direct writer](../workflow/routes.md#direct-writing) studies the screenplay's
|
|
|
12
12
|
|
|
13
13
|
### What needs a study
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Study a skilled performance even when installed actions cover it. Reuse studies that cover the depicted conditions.
|
|
16
16
|
|
|
17
17
|
### Performance study
|
|
18
18
|
|
|
19
|
-
Study a complete passage
|
|
19
|
+
Study a complete passage at the depicted level and in its relevant cultural, historical or genre context. Follow the [research criteria](../../contracts/story/principles/research.md#depicted-practice) for timing, action density and variation. Study its filming when camera choices matter.
|
|
20
20
|
|
|
21
21
|
## Sources
|
|
22
22
|
|
|
@@ -31,7 +31,7 @@ Settle [undelegated creative choices](../planning/requirements.md#asking-the-use
|
|
|
31
31
|
|
|
32
32
|
## One chain
|
|
33
33
|
|
|
34
|
-
Trace commissioned video from settings or brief through screenplay, entities, needed motion laws,
|
|
34
|
+
Trace commissioned video from settings or brief through screenplay, entities, needed motion laws, [verified capabilities](../../motion/catalog-cases.md), scene compositions and film. With no narrative pass, use instructions in place of settings or brief.
|
|
35
35
|
|
|
36
36
|
Cite the preceding decisions each stage realizes.
|
|
37
37
|
|
|
@@ -12,4 +12,4 @@ description: Finishes a motion hint as a direct 3D or generated film.
|
|
|
12
12
|
| [Video diffusion](diffusion/SKILL.md) | Choose a video model, how it takes the hint, continuity or prompting |
|
|
13
13
|
| [Requests](requests.md) | Plan generation intervals and their inputs |
|
|
14
14
|
| [Generation](generation.md) | Submit, inspect and adopt takes |
|
|
15
|
-
| [Finishing](finishing.md) | Repair, upscale, conform and match accepted takes |
|
|
15
|
+
| [Finishing](finishing.md) | Repair, upscale, conform and match accepted takes, and composite over takes or the assembled film |
|
|
@@ -18,7 +18,7 @@ Use control adapters for precise placements and contacts. Set strength and suppo
|
|
|
18
18
|
|
|
19
19
|
### Geometry and material channels
|
|
20
20
|
|
|
21
|
-
For a photographed look on built detail, give a neural renderer geometry and material channels and supply lighting separately. The renderer keeps geometry,
|
|
21
|
+
For a photographed look on built detail, give a neural renderer geometry channels and the installed [material channel](../../motion/control-channels.md#channels-to-render), the `albedo` pass, and supply lighting separately. The renderer keeps geometry, base colors and camera.
|
|
22
22
|
|
|
23
23
|
## Still frames
|
|
24
24
|
|
|
@@ -18,26 +18,61 @@ Cloth and hair follow the body only as far as the installed packages simulate th
|
|
|
18
18
|
|
|
19
19
|
Use the look adopted in [project context](../production/project-context.md#overview-and-look), including the cinematography record on long work.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
[Staging](../motion/staging.md#the-view) places each light at its motivated source. A detailed film keys from that source, then adds a fill that sets the look's contrast and an edge or back light where a figure would merge with its background.
|
|
24
|
-
|
|
25
|
-
Set one exposure and tone curve for the film among those the renderer offers, tag each color texture as color and each normal or roughness map as data, and keep the grade in the film module, as [source layout](../development/source-layout.md#source) places it.
|
|
21
|
+
Give each detailed entity its surfaces under [materials](../3d-modeling/materials.md).
|
|
26
22
|
|
|
27
23
|
### Faces and speech
|
|
28
24
|
|
|
29
25
|
Use the representation's supported face, expressions and mouth shapes for scripted expression and speech. Check package APIs and report missing controls.
|
|
30
26
|
|
|
31
|
-
Take accepted speech from [audio acquisition](../audio/acquisition.md).
|
|
27
|
+
Take accepted speech from [audio acquisition](../audio/acquisition.md). Record the speech model's IPA phoneme chunks in the line's [receipt](../audio/acquisition.md#take-adoption), or, for finer timing, a forced aligner's one-phoneme chunks with the aligner named.
|
|
28
|
+
|
|
29
|
+
Give the film a `speak` member that keeps the mouths the capture and the render hand it. In `seek` and `seekShot`, layer each speaking actor's mouth over the authored expression in the form its representation takes:
|
|
30
|
+
|
|
31
|
+
| Representation | What moves its mouth |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| The polygon man or the Human | `jaw`, from the line's own loudness, even when the line has phoneme chunks |
|
|
34
|
+
| A VRM or imported model | `visemes` from phoneme chunks, or `aa` from loudness if none |
|
|
35
|
+
|
|
36
|
+
The inspector reads no sound and shows the authored mouth.
|
|
37
|
+
|
|
38
|
+
On stills, check that each shape the installed face performs lands on the frames of its sound, with the mouth closed where the line closes the lips.
|
|
39
|
+
|
|
40
|
+
`render-report.json` measures the lip-sync lag of each phoneme-driven line whose actor the film moved by `visemes`, where a phoneme-driven line has phoneme chunks. A line whose sound leads its mouth by more than 45 ms or trails it by more than 125 ms blocks the render, so correct its phoneme chunks or start frame.
|
|
41
|
+
|
|
42
|
+
The report lists every other line as unmeasured, with a reason `IAutoMovieDialogueLipSync`'s JSDoc in `@automovie/interface` defines. An unmeasured line never blocks. For `mouth-not-drawn`, read the actor's mouth in `seek` and `seekShot`. For `speaker-not-bound`, bind the speaker to one actor in `sound.speakers`.
|
|
43
|
+
|
|
44
|
+
Ask the user to watch and listen to the sync as a whole, because neither stills nor the lag show whether a line is bound to the right actor.
|
|
45
|
+
|
|
46
|
+
## Light
|
|
32
47
|
|
|
33
|
-
|
|
48
|
+
### Light sources
|
|
49
|
+
|
|
50
|
+
[Staging](../motion/staging.md#the-view) places each light at its motivated source, the sun included. A detailed film keys from that source, then adds a fill that sets the look's contrast and an edge or back light where a figure would merge with its background.
|
|
51
|
+
|
|
52
|
+
State light in physical units: lux for the sun and other directional lights, candela for lamps and cd/m² for panels. A practical shows its flame or lit screen as [entity work](../development/entities.md#flames-screens-and-lettering) authors it. An emissive surface lights nothing, so give a screen that should light its surroundings a staged area light. Get environment maps for image lighting from [sources](../3d-modeling/sources.md).
|
|
53
|
+
|
|
54
|
+
### Indirect light
|
|
55
|
+
|
|
56
|
+
When the scene has image lighting, return `occlusion` from the film's `shading` beside its `optics`, so creases, corners and the ground under each figure darken as the look's contact shadows require. Set its `radius` to the gaps that should darken, about 0.5 m for a room's corners and a figure's footing and less for close-ups of small props.
|
|
57
|
+
|
|
58
|
+
Where the set's own light should bounce, as in an interior lit by practical lamps or by sun through a window, add `probes` to the same `shading`. Put the static set and its lights on the probes' `layer`, and keep moving actors off it so they receive the bounce without casting it. Space the probes about 0.5 to 1 m apart over the lit space, at most 2048 in all and out of walls and furniture where possible. Change `revision` whenever a light or set piece of that layer changes.
|
|
34
59
|
|
|
35
60
|
## Renderer
|
|
36
61
|
|
|
37
|
-
Prepare the supported renderer settings
|
|
62
|
+
Prepare the light above and the camera response below with the supported renderer settings. Inspect them with the README's capture command before assembly renders the final picture. Report missing required effects during delivery review.
|
|
38
63
|
|
|
39
64
|
Use an external renderer only through a documented scene export. Report unsupported exports. Route neural picture generation to [generated film](generated-film.md).
|
|
40
65
|
|
|
66
|
+
### Camera response
|
|
67
|
+
|
|
68
|
+
Return the camera response from the film's `optics`, in the film module as [source layout](../development/source-layout.md#source) places it. The response holds the exposure in EV100, the white balance as the key light's kelvin, the tone curve, any glare around practical lamps and bright windows, and the adopted grade as ASC CDL values.
|
|
69
|
+
|
|
70
|
+
Without `optics`, physical light renders white, and the film's `shading` and any staged `medium` are refused.
|
|
71
|
+
|
|
72
|
+
Meter each scene's key subject with `meterAutoMovieIlluminance` from `@automovie/engine` under the metering rule [project context](../production/project-context.md#finishing-approach) records, and set `ev100` from `autoMovieIncidentEv100` of its lux. Run `checkAutoMovieExposureContinuity` over the film's cuts, grouped by screenplay scene, and mark each exposure change the screenplay decided with `change: true`. The film's [camera response](../contracts/development/films.md#camera-response) item checks the response.
|
|
73
|
+
|
|
74
|
+
Give the optics a `shutter`, 180 degrees unless the look decides otherwise, and `samples`, so motion blurs as on film. Where a shot decides focus, author `fNumber` on its frame action and fill the optics' `lens` from `resolveAutoMovieLensAt` at each second, so the focus and any focus pull reach the frame.
|
|
75
|
+
|
|
41
76
|
## What to look for
|
|
42
77
|
|
|
43
78
|
Check the beauty render at delivery size, under the visual debugging skill, for these:
|
|
@@ -50,4 +85,4 @@ Check the beauty render at delivery size, under the visual debugging skill, for
|
|
|
50
85
|
- no surfaces pass through each other, wardrobe through body included, and none flicker where they meet;
|
|
51
86
|
- faces and mouths show what the screenplay decided, with sync left to the user.
|
|
52
87
|
|
|
53
|
-
Measure camera speed in frame widths per second from the resolved path. [RED's guideline](https://www.reddigitalcinema.com/red-101/camera-panning-speed) is about one frame width per seven seconds at 24 fps with a 180-degree shutter. Ask the user to watch moves above the applicable threshold for judder. Fix observed judder with a slower move, a cut or
|
|
88
|
+
Measure camera speed in frame widths per second from the resolved path. [RED's guideline](https://www.reddigitalcinema.com/red-101/camera-panning-speed) is about one frame width per seven seconds at 24 fps with a 180-degree shutter. Ask the user to watch moves above the applicable threshold for judder. Fix observed judder with a slower move, a cut, or the optics' `shutter` and `samples`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Finishing
|
|
2
2
|
|
|
3
|
-
Before [assembly](../production/assembly.md), repair, upscale, conform and match each accepted take in order. Keep derivatives beside the original under [media records](../production/media-records.md#records). Follow [film sound](../audio/film-sound.md) for sound.
|
|
3
|
+
Before [assembly](../production/assembly.md), repair, upscale, conform and match each accepted take in the order of the finishing steps. Composite clean renders as compositing sets. Keep derivatives beside the original under [media records](../production/media-records.md#records). Follow [film sound](../audio/film-sound.md) for sound.
|
|
4
4
|
|
|
5
5
|
## Finishing steps
|
|
6
6
|
|
|
@@ -17,8 +17,6 @@ A dubbing model regenerates the head and body around the mouth, follows the take
|
|
|
17
17
|
|
|
18
18
|
Compare untouched frames at matched times and step through the repair boundaries. Re-encoding can affect both.
|
|
19
19
|
|
|
20
|
-
Composite legible text, signs and logos in post from their own clean render, because models garble lettering.
|
|
21
|
-
|
|
22
20
|
### Upscaling
|
|
23
21
|
|
|
24
22
|
Upscale only the selected, repaired take. Verify identity on stills after generative upscaling and check the [delivery profile](../production/project-context.md#the-delivery-profile).
|
|
@@ -39,6 +37,16 @@ Read take color tags. Record one working color space in project context and assi
|
|
|
39
37
|
|
|
40
38
|
Match neighboring takes in color and exposure by grading, never by regenerating. A shared grain or texture over the film hides their differing sharpness.
|
|
41
39
|
|
|
40
|
+
## Compositing
|
|
41
|
+
|
|
42
|
+
Composite a clean render's graphics over the assembled film. Composite whole 3D subjects over their take, before assembly.
|
|
43
|
+
|
|
44
|
+
Composite legible text, signs, screens and logos in post from their own clean render, because models garble lettering. For surface graphics, flat lettering included, that render is the `graphics` guide pass of the README render command's `--passes` option. Composite it by the alpha convention its `record.json` names. Raised lettering is ordinary geometry and stays out of that pass, so lift it from the beauty pass through its node's mask region.
|
|
45
|
+
|
|
46
|
+
The `graphics` pass goes through a transition as the picture does, so composite it frame for frame, without cutting it at the transition.
|
|
47
|
+
|
|
48
|
+
To composite whole 3D subjects over a generated take, render the film with the README render command's `--background transparent` option. Use either render only under the [render report check](../production/media-records.md#render-reports) of its folder.
|
|
49
|
+
|
|
42
50
|
## Provenance and disclosure
|
|
43
51
|
|
|
44
52
|
Record credentials and watermarks under [media records](../production/media-records.md#records). Preserve signed originals and required markers. Pass them to [assembly](../production/assembly.md#repair-and-delivery).
|
|
@@ -22,3 +22,4 @@ The model's accepted inputs and output limits determine how scenes become reques
|
|
|
22
22
|
6. Write each request's [prompt](diffusion/prompts.md).
|
|
23
23
|
7. With the prerequisites met, submit, inspect and adopt takes under [generation](generation.md).
|
|
24
24
|
8. Repair, upscale, conform and match the accepted takes under [finishing](finishing.md).
|
|
25
|
+
9. Composite clean renders under [compositing](finishing.md#compositing).
|
|
@@ -41,8 +41,12 @@ Give each input one role, and state it in the prompt under [input roles](diffusi
|
|
|
41
41
|
- the accepted previous take, for continuing its motion under [continuity](diffusion/continuity.md#chaining-requests);
|
|
42
42
|
- accepted dialogue audio or a voice reference, for commissioned speech where the model takes one.
|
|
43
43
|
|
|
44
|
-
[Hints](diffusion/hints.md) sets how each input reaches the model. Render the request's hint and channels under [control channels](../motion/control-channels.md) at the model's frame rate,
|
|
44
|
+
[Hints](diffusion/hints.md) sets how each input reaches the model. Render the request's hint and channels under [control channels](../motion/control-channels.md) at the model's frame rate and size. Never resample a channel afterwards, because resampling blends depth values and mask colors.
|
|
45
|
+
|
|
46
|
+
The render draws at the film's `fps`, `width` and `height`. For the delivered render, they keep the delivery profile's values.
|
|
47
|
+
|
|
48
|
+
A channel render is a render for a video request, with or without the README render command's `--passes` option. Before it, set the film's `fps`, `width` and `height` to the model's frame rate and size for that render only. Keep `durationSeconds` a whole number of frames at that rate.
|
|
45
49
|
|
|
46
50
|
## Record
|
|
47
51
|
|
|
48
|
-
Add to each request's [record](../production/media-records.md#records) its scene file, the hint interval with the beat addresses it covers, its adherence and each input with its role.
|
|
52
|
+
Add to each request's [record](../production/media-records.md#records) its scene file, the hint interval with the beat addresses it covers, its adherence and each input with its role. Take the interval's output frames from a [trusted render report](../production/media-records.md#render-reports)'s `cut`. When the request is conditioned on guide passes, name `videos/controls/record.json` in its `IAutoMovieGeneratedAcquisition.inputs` and record the passes and the frame range it used.
|
|
@@ -1,51 +1,24 @@
|
|
|
1
1
|
# AGENTS.md
|
|
2
2
|
|
|
3
|
-
AutoMovie
|
|
4
|
-
|
|
5
|
-
The motion hint can guide video diffusion or be rendered with commissioned [detail](.agents/skills/development/entities.md#detail). A commission can also end at the screenplay, hint or a standalone asset.
|
|
3
|
+
AutoMovie produces screenplays and reproducible 3D motion hints. Follow the [commissioned route](.agents/skills/production/workflow.md#commissioned-outputs) to its delivery.
|
|
6
4
|
|
|
7
5
|
## Starting work
|
|
8
6
|
|
|
9
|
-
The main agent
|
|
10
|
-
|
|
11
|
-
At [project intake](.agents/skills/production/project-context.md#intake), confirm the deliverables and which decisions the user wants to make or delegate. For a screenplay, ask which [writing route](.agents/skills/story/workflow/routes.md#who-writes-the-screenplay) they want unless they have already chosen one. Record their answer in `PROJECT.md` before assigning the writer.
|
|
12
|
-
|
|
13
|
-
Assign narrative drafting and revision to a writer subagent, including direct writing. When the route calls for Evidence and independent review, assign each to a separate subagent at its stage.
|
|
14
|
-
|
|
15
|
-
Inspect each handoff against the commission and the stage's skill. If it falls short, show the responsible worker what needs repair and check the revision before advancing.
|
|
7
|
+
The main agent follows the [director role](.agents/skills/production/director.md). Record delivery scope and decision authority at [intake](.agents/skills/production/project-context.md#intake). Workers follow their assigned stage and report to the director.
|
|
16
8
|
|
|
17
9
|
Resolve project paths from the directory containing `PROJECT.md`. Run commands from the directory whose README documents them.
|
|
18
10
|
|
|
19
11
|
## Principles
|
|
20
12
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
- Use the polygon man from `@automovie/human`.
|
|
24
|
-
- Use `@automovie/archetypes` for objects, or build a coarse form.
|
|
25
|
-
- Compose actions from `@automovie/motions`.
|
|
13
|
+
Build [coarse subjects](.agents/skills/development/entities.md#coarse-first) first and [compose motion](.agents/skills/motion/compose/composition.md#choosing-movement) from the screenplay and research.
|
|
26
14
|
|
|
27
|
-
|
|
15
|
+
Finish each inspection round before repairing findings together by cause. Follow [delivery review](.agents/skills/review/delivery-review.md#video) for stills, playback and the delivery decision.
|
|
28
16
|
|
|
29
|
-
|
|
30
|
-
- Compute physics only for the response, parts and moments the scene needs.
|
|
31
|
-
|
|
32
|
-
Work from evidence and verify the result.
|
|
33
|
-
|
|
34
|
-
- [Study a skilled performance](.agents/skills/story/planning/research.md#performance-study) even when installed motions supply its actions. Research other uncertain details and refer unresolved choices to the user.
|
|
35
|
-
- Finish each inspection round, then repair all its findings together by cause.
|
|
36
|
-
- Inspect spatial detail on captured frames. Judge a film's pace in continuous playback and record who watched or listened under [delivery review](.agents/skills/review/delivery-review.md#video).
|
|
37
|
-
- If faithful staging exposes a story defect, [return it to its story owner](.agents/skills/review/delivery-review.md#repairs) and inspect the revised cut.
|
|
38
|
-
|
|
39
|
-
Continue independent work while awaiting a required decision or viewing. Keep the delivery open until its required checks are complete. Get approval for destructive or outward-facing actions.
|
|
17
|
+
Continue independent work while a required decision or observation is pending. Get approval for destructive or outward-facing actions.
|
|
40
18
|
|
|
41
19
|
## Attitude
|
|
42
20
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
- Do the literal request, widening it only when the user hands that over.
|
|
46
|
-
- Follow the user's instruction over any skill.
|
|
47
|
-
- Answer a question from the user before continuing any work.
|
|
48
|
-
- Write everything the user sees in the user's language.
|
|
21
|
+
Follow the user's instructions over skills. Widen the scope only with delegation. Answer the user's questions before resuming work, in the user's language.
|
|
49
22
|
|
|
50
23
|
## Skills
|
|
51
24
|
|
|
@@ -53,18 +26,18 @@ Use the [production workflow](.agents/skills/production/workflow.md#commissioned
|
|
|
53
26
|
|
|
54
27
|
| Skill | Use when |
|
|
55
28
|
| --- | --- |
|
|
56
|
-
| [3d-modeling](.agents/skills/3d-modeling/SKILL.md) |
|
|
57
|
-
| [audio](.agents/skills/audio/SKILL.md) |
|
|
58
|
-
| [
|
|
59
|
-
| [
|
|
60
|
-
| [
|
|
61
|
-
| [
|
|
62
|
-
| [
|
|
63
|
-
| [
|
|
64
|
-
| [
|
|
65
|
-
| [production](.agents/skills/production/SKILL.md) |
|
|
66
|
-
| [prompting](.agents/skills/prompting/SKILL.md) |
|
|
67
|
-
| [review](.agents/skills/review/SKILL.md) |
|
|
68
|
-
| [story](.agents/skills/story/SKILL.md) |
|
|
69
|
-
| [video](.agents/skills/video/SKILL.md) |
|
|
70
|
-
| [visual-debugging](.agents/skills/visual-debugging/SKILL.md) |
|
|
29
|
+
| [3d-modeling](.agents/skills/3d-modeling/SKILL.md) | Build, rig or detail a 3D subject |
|
|
30
|
+
| [audio](.agents/skills/audio/SKILL.md) | Make sound or preview a voice |
|
|
31
|
+
| [contracts](.agents/skills/contracts/SKILL.md) | Find the checklist and its respondent |
|
|
32
|
+
| [development](.agents/skills/development/SKILL.md) | Change code, dependencies, commands or tests |
|
|
33
|
+
| [documentation](.agents/skills/documentation/SKILL.md) | Write a document or comment |
|
|
34
|
+
| [evidence](.agents/skills/evidence/SKILL.md) | Adopt requirements, configure checks or answer them |
|
|
35
|
+
| [image](.agents/skills/image/SKILL.md) | Make appearance references, shot frames or set views |
|
|
36
|
+
| [motion](.agents/skills/motion/SKILL.md) | Author or verify motion, staging, camera or channels |
|
|
37
|
+
| [multi-agent](.agents/skills/multi-agent/SKILL.md) | Resume an interrupted worker |
|
|
38
|
+
| [production](.agents/skills/production/SKILL.md) | Choose a delivery route, assemble or hand off |
|
|
39
|
+
| [prompting](.agents/skills/prompting/SKILL.md) | Change agent instructions or skills |
|
|
40
|
+
| [review](.agents/skills/review/SKILL.md) | Review work or decide delivery acceptance |
|
|
41
|
+
| [story](.agents/skills/story/SKILL.md) | Research, plan, write or repair narrative |
|
|
42
|
+
| [video](.agents/skills/video/SKILL.md) | Finish a direct 3D or generated film |
|
|
43
|
+
| [visual-debugging](.agents/skills/visual-debugging/SKILL.md) | Capture or inspect pictures |
|
|
@@ -1,119 +1,38 @@
|
|
|
1
1
|
# {{name}}
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
An AutoMovie production for staging and rendering a screenplay as a 3D film or motion hint.
|
|
4
4
|
|
|
5
5
|
## First run
|
|
6
6
|
|
|
7
|
-
Use Node.js 22.23.2 or later.
|
|
7
|
+
Use Node.js 22.23.2 or later and pnpm. If this production belongs to a workspace, run the install at the workspace root and return here to start the inspector.
|
|
8
8
|
|
|
9
|
-
```
|
|
9
|
+
```powershell
|
|
10
10
|
pnpm install
|
|
11
|
-
pnpm run
|
|
12
|
-
pnpm run evidence
|
|
13
|
-
pnpm test
|
|
11
|
+
pnpm run dev
|
|
14
12
|
```
|
|
15
13
|
|
|
16
|
-
|
|
14
|
+
Open the printed URL. The `starter` subject is an empty film for checking that the inspector starts.
|
|
17
15
|
|
|
18
|
-
|
|
16
|
+
## Make a motion hint
|
|
19
17
|
|
|
20
|
-
|
|
18
|
+
Open this directory in your coding agent and record the scope in [`PROJECT.md`](PROJECT.md). Follow the [production workflow]({{skills}}/production/workflow.md) to write the screenplay, stage its scenes and assemble the film. Register each film in [`src/composition/films/index.ts`](src/composition/films/index.ts) so the inspector, capture and render share the same subjects.
|
|
21
19
|
|
|
22
|
-
|
|
20
|
+
Install the capture browser and recorder once, then capture a still from the starter.
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## Stills
|
|
29
|
-
|
|
30
|
-
Run `pnpm run review:setup` once to install the browser. `pnpm run capture --subject <film> [request]` runs `automovie capture --module src/subjects.ts`: it draws each planned still of the film through the delivery render's draw function and writes the stills, contact sheets and a record into `media/capture/<film>/`, as the [render README](https://github.com/samchon/automovie/tree/master/packages/render#capture) describes, exiting non-zero when a cell could not be drawn. `pnpm exec automovie capture --file <video>` captures an encoded file's own frames around its cuts instead of a film.
|
|
31
|
-
|
|
32
|
-
The request takes the inspector address's keys, each written with `--` before it. The [render README](https://github.com/samchon/automovie/tree/master/packages/render#request-keys) lists every key with what it asks for and the requirement it serves, including marks, rounds, comparisons and the options that select exact frames or seconds.
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
pnpm run capture --subject catalog --from 12 --to 14 --events 13.1 --views "right;three-quarter@ortho"
|
|
36
|
-
pnpm exec automovie capture --file media/automovie/<film>/videos/film.mp4 --from 60 --to 70
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Render and playback
|
|
40
|
-
|
|
41
|
-
`pnpm run render --subject <film>` runs `automovie render --module src/subjects.ts`, and `--subject` may be omitted while only one film exists. It draws every frame in the browser `pnpm run review:setup` installs, through the capture's draw function, and encodes them once, picture only, with no server running. `CHROME_PATH` selects another browser and `FFMPEG_PATH` another FFmpeg.
|
|
42
|
-
|
|
43
|
-
The render writes `media/automovie/<film>/videos/film.mp4`, or into `--out <dir>`, with `render-report.json` beside it. Export requires a whole number of frames. The report's hashes describe the drawn frames, and [delivery review]({{skills}}/review/delivery-review.md) judges the film.
|
|
44
|
-
|
|
45
|
-
With `pnpm run dev` running, `pnpm run review --url <inspector-address> --seconds <s>` runs `automovie review`: it presses the inspector's Play button and records real-time playback as a video, with the time readout it showed and the page's errors, into `media/automovie/review/` or `--out <dir>`, for the user to watch. `pnpm run review:setup` installs its recording FFmpeg and headless Chromium.
|
|
46
|
-
|
|
47
|
-
## Physical performance
|
|
48
|
-
|
|
49
|
-
[Physical feedback]({{skills}}/motion/physical-feedback.md) defines when to simulate. Read the installed Engine's README and types for its simulation and playback APIs.
|
|
50
|
-
|
|
51
|
-
`pnpm run physics <input-module.ts> <output.amphys> [maximum-bytes]` computes a simulated performance once from a Node module exporting `createPhysicalInput()` and writes the archive with its JSON manifest, 256 MiB at most by default. Keep the archive as a [stage cache]({{skills}}/production/stage-caches.md) under `.cache/` and regenerate it after changing physical inputs; playback, seeking and capture read it through the Engine's physical playback, which checks it against the current input's identity.
|
|
52
|
-
|
|
53
|
-
Supply `IFilmProduction.performance` from the displayed state: `src/markFilmProduction.ts` hands it to the inspection in every host, and `marks=joint,bone,contact` draws its skeleton and contact forces. The starter's empty scene supplies none.
|
|
54
|
-
|
|
55
|
-
### Save and branch a Human take
|
|
56
|
-
|
|
57
|
-
Register a take in a project-relative TypeScript module that exports `createMotionTakeSource()`. Return the [source inputs](src/executable/motionTake/IMotionTakeSource.ts), including the normal edit plan and built shots, the Human owner input for the selected shot, and any data files read outside the module graph. Register each callback used by the owner under a stable ID and version with its rebuilt function value. Keep referenced source and data files available when moving the project.
|
|
58
|
-
|
|
59
|
-
Run these commands from the production directory after choosing unused artifact paths with an existing parent directory.
|
|
60
|
-
|
|
61
|
-
```sh
|
|
62
|
-
pnpm run motion:take save src/takes/rehearsal.ts rehearsal.take.json 0.55
|
|
63
|
-
pnpm run motion:take open src/takes/rehearsal.ts rehearsal.take.json
|
|
64
|
-
pnpm run motion:take branch src/takes/alternate.ts alternate.take.json
|
|
65
|
-
pnpm run motion:take open src/takes/alternate.ts alternate.take.json
|
|
22
|
+
```powershell
|
|
23
|
+
pnpm run review:setup
|
|
24
|
+
pnpm run capture --subject starter --at 2
|
|
66
25
|
```
|
|
67
26
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
Open verifies source bytes, data dependencies, provider versions, seeds and placement before returning the saved instant's poses. [The Node API](src/executable/motionTake/openMotionTake.ts) also returns a prepared performance for repeated exact source-time reads. Keep both the prepared replay and the film's editorial mapping for the duration of a preview or render. Start a fresh process after changing source modules or installed packages. Register any runtime-loaded code or data the static import graph cannot discover as project-relative dependencies.
|
|
71
|
-
|
|
72
|
-
For an alternate, register a separate take and a `branch` with the saved original's artifact and trusted source module, a count of leading outer sequence groups to retain and the new suffix composition. The save point can lie within a group. The supported join is the start of a replaceable later group. The owner preserves the active group through that join and checks the shared prefix. The original source and artifact remain available to reopen both alternatives. Edit placement and event ownership must agree through the join.
|
|
73
|
-
|
|
74
|
-
To draw an admitted take in the browser, use a trusted project subject module that admits the artifact props with `admitMotionTake` and calls [the replay adapter](src/executable/motionTake/replayMotionTake.ts) with its explicitly imported source recipe and, for a branch, the original recipe. Use the returned `performanceAt(sourceSeconds, entry)` in the draw scene's seek, with the film's normal mapping from edited to source time. Passing the entry keeps occurrences before the save's selected entry on the original take. Run `motion:take open` to verify current files, then capture or render the same verified artifact and source in a separate output directory for each alternative.
|
|
75
|
-
|
|
76
|
-
```sh
|
|
77
|
-
pnpm exec automovie capture --module src/takeSubjects.ts --props rehearsal.take.json --subject rehearsal --from 0.5 --to 0.75 --out media/capture/rehearsal
|
|
78
|
-
```
|
|
27
|
+
Use your film's subject name when it is ready. Capture writes stills and `record.json` under `media/capture/<film>/`. Run `pnpm run render --subject <film>` to write `film.mp4` and `render-report.json` under `media/automovie/<film>/videos/`.
|
|
79
28
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
## Commands
|
|
29
|
+
## Checks
|
|
83
30
|
|
|
84
31
|
| Command | Purpose |
|
|
85
32
|
| --- | --- |
|
|
86
|
-
| `pnpm
|
|
87
|
-
| `pnpm
|
|
88
|
-
| `pnpm run evidence` |
|
|
89
|
-
| `pnpm
|
|
90
|
-
| `pnpm run format` | Source formatting |
|
|
91
|
-
| `pnpm run dev` | The inspector page on `127.0.0.1:5173` |
|
|
92
|
-
| `pnpm run build` | Bundle the inspector page |
|
|
93
|
-
| `pnpm run physics <input-module.ts> <output.amphys> [maximum-bytes]` | Precompute an adopted physical performance outside the browser |
|
|
94
|
-
| `pnpm run motion:take save`, `open` or `branch` | Persist, verify or branch a registered Human take |
|
|
95
|
-
| `pnpm run render --subject <film>` | Export one film as a picture-only video |
|
|
96
|
-
| `pnpm run review --url <address> --seconds <s>` | Record real-time playback of the running inspector page |
|
|
97
|
-
| `pnpm run capture --subject <film> [request]` | Stills, sheets and a record of a film, with views, passes, marks and round comparison |
|
|
98
|
-
| `pnpm exec automovie capture --file <video> [request]` | Stills of an encoded file's own frames, around its cuts |
|
|
99
|
-
|
|
100
|
-
The project uses ES modules with `verbatimModuleSyntax` and `isolatedModules`: mark type-only imports and exports with `type`, and keep each file transformable on its own.
|
|
101
|
-
|
|
102
|
-
## Tests
|
|
103
|
-
|
|
104
|
-
`test/index.ts` discovers pure logic unit tests in `test/features/<source path>/test_<name>.ts` through `tsconfig.test.json`. Export a named `test_<name>(): void` or `Promise<void>` function and assert behavior with `node:assert/strict` or `TestValidator` from `@nestia/e2e`. Select test filenames with `pnpm test --include <substring> --exclude <substring>`; repeated options accumulate. Tests call portable logic directly; the inspector page and media inspection run separately.
|
|
105
|
-
|
|
106
|
-
## Project files
|
|
107
|
-
|
|
108
|
-
| Path, when used | Holds |
|
|
109
|
-
| --- | --- |
|
|
110
|
-
| `.agents/skills`, at this project's root or its workspace root | The task entry points `AGENTS.md` lists, their resources and the contracts |
|
|
111
|
-
| `PROJECT.md` | The current scope, choices and constraints [project context]({{skills}}/production/project-context.md) defines |
|
|
112
|
-
| `index.html`, `src/main.ts`, `vite.config.ts` | The inspector page, its one-call mount of `@automovie/viewer` and the Vite configuration of both pages |
|
|
113
|
-
| `evidence.config.ts` | The duties selected through installed `@automovie/evidence`, which `pnpm run evidence` evaluates as the selected native graph |
|
|
114
|
-
| `lint.config.ts` | Generic source lint |
|
|
115
|
-
| `tsconfig.json` | Compiler settings |
|
|
116
|
-
| `tsconfig.test.json` | The scope of pure TypeScript unit tests |
|
|
117
|
-
| `package.json` | Dependencies and commands |
|
|
33
|
+
| `pnpm run lint` | Check source and types |
|
|
34
|
+
| `pnpm test` | Run the exported tests |
|
|
35
|
+
| `pnpm run evidence` | Check the production's configured checklists |
|
|
36
|
+
| `pnpm run verify --subject <id>` | Read the current checks for an asset, motion case or film |
|
|
118
37
|
|
|
119
|
-
[
|
|
38
|
+
Consult the [CLI reference](https://samchon.github.io/automovie/reference/cli/) for capture options and the [delivery review]({{skills}}/review/delivery-review.md) for film acceptance. See the [source layout]({{skills}}/development/source-layout.md) for where to put entities, actions and scenes.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "{{name}}",
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.4.0",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"description": "An AutoMovie coding-agent production repository.",
|
|
8
8
|
"engines": {
|
|
@@ -12,11 +12,12 @@
|
|
|
12
12
|
"lint": "ttsc --cache-dir node_modules/.cache/ttsc --noEmit -p tsconfig.json",
|
|
13
13
|
"format": "ttsc format --cache-dir node_modules/.cache/ttsc -p tsconfig.json",
|
|
14
14
|
"evidence": "evidence",
|
|
15
|
-
"test": "ttsx --cache-dir node_modules/.cache/ttsc -P tsconfig.
|
|
15
|
+
"test": "ttsx --cache-dir node_modules/.cache/ttsc -P test/tsconfig.json test/index.ts",
|
|
16
16
|
"dev": "vite",
|
|
17
17
|
"build": "vite build",
|
|
18
18
|
"render": "automovie render --module src/subjects.ts",
|
|
19
19
|
"capture": "automovie capture --module src/subjects.ts",
|
|
20
|
+
"verify": "automovie verify",
|
|
20
21
|
"review": "automovie review",
|
|
21
22
|
"review:setup": "playwright-core install ffmpeg chromium-headless-shell",
|
|
22
23
|
"physics": "ttsx --cache-dir node_modules/.cache/ttsc -P tsconfig.json src/executable/physics.ts",
|
|
@@ -8,9 +8,8 @@ import type { IFilmProduction } from "./IFilmProduction";
|
|
|
8
8
|
* folder's path; the Viewer and the render each play one of them.
|
|
9
9
|
*
|
|
10
10
|
* @evidence contracts/development/common.md#meaningful-documentation The comment states what a film is, where films are registered and that each Viewer or render plays one; each member states its unit or lifetime.
|
|
11
|
-
* @evidence contracts/development/design.md#principled-representation A film is the unit the Viewer mounts and the render exports, so it holds exactly the running time both need and an asynchronous factory that prepares a fresh scene per mount, because real films load assets, measure contacts and decode sound before their first frame; seconds are the shared timebase.
|
|
11
|
+
* @evidence contracts/development/design.md#principled-representation A film is the unit the Viewer mounts and the render exports, so it holds exactly the running time both need and an asynchronous factory that prepares a fresh scene per mount, because real films load assets, measure contacts and decode sound before their first frame; seconds are the shared timebase. No member names a particular film, shot or scene.
|
|
12
12
|
* @evidence contracts/development/design.md#minimal-and-owned-surface Running time, frame rate, an optional delivery raster and the factory, read by the Viewer entry, the render and capture commands and the seek clamp; the scene contents belong to the film's scenes.
|
|
13
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts No member names a particular film, shot or scene.
|
|
14
13
|
*/
|
|
15
14
|
export interface IFilm {
|
|
16
15
|
/** Running time in seconds; a whole number of frames at `fps`. */
|
|
@@ -31,11 +30,7 @@ export interface IFilm {
|
|
|
31
30
|
*
|
|
32
31
|
* @evidence contracts/development/common.md#meaningful-documentation States that each call prepares a fresh scene for one mount and what the progress callback receives.
|
|
33
32
|
* @evidenceExclude contracts/development/implementation.md#principled-implementation A signature has no body; the film that implements it answers.
|
|
34
|
-
* @evidenceExclude contracts/development/implementation.md#clear-and-simple-structure A signature has no body; the film that implements it answers.
|
|
35
|
-
* @evidenceExclude contracts/development/implementation.md#prohibited-implementation-shortcuts A signature has no body; the film that implements it answers.
|
|
36
33
|
* @evidenceExclude contracts/development/implementation.md#efficient-algorithms A signature has no body; the film that implements it answers.
|
|
37
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A signature has no body; the film that implements it answers.
|
|
38
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources A signature has no body; the film that implements it answers.
|
|
39
34
|
*/
|
|
40
35
|
create(progress?: (message: string) => void): Promise<IFilmProduction>;
|
|
41
36
|
}
|