@automovie/template 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +6 -2
- 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 +7 -1
- 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,82 +1,100 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: prompting
|
|
3
|
-
description:
|
|
3
|
+
description: Sets what makes an instruction for an agent work.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Prompting
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Apply [Writing](../documentation/writing.md) to entry files, skills and their resources. Write for a reader new to the project.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Base agent instructions on the current [GPT-6.2 prompting guide](https://developers.openai.com/api/docs/guides/latest-model/gpt-6.2-astra#prompting-best-practices) and consult it for model-dependent changes. Keep model, effort and tools in run configuration.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
For direct Responses API integrations, follow the [prefix guidance](https://developers.openai.com/api/docs/guides/keep-prefix-unchanged) for durable instructions and appended updates.
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
## Content
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
### What to state
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
State checkable requirements and failure cases the code does not show. Keep history in Git.
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Explain a rule when its reason guides unlisted cases.
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
Prescribe a method only to prevent a known failure.
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
State the deliverable, recipient, acceptance checks and decisions reserved for the user. Disclose consequential delegated choices.
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
Use a short example when it disambiguates the rule.
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
### Default route
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
State the default first.
|
|
31
|
+
|
|
32
|
+
List each optional route, folder, command or stage with its enabling condition.
|
|
33
|
+
|
|
34
|
+
### One owner
|
|
35
|
+
|
|
36
|
+
Define each rule in one section. Link to that section from its consumers and update the links when the rule moves.
|
|
37
|
+
|
|
38
|
+
Fix an existing rule's application when it covers the failure. Change the rule at its owner when coverage is missing or conflicting.
|
|
39
|
+
|
|
40
|
+
### Packages
|
|
41
|
+
|
|
42
|
+
The package's types and JSDoc own its API, and its README its entry points.
|
|
31
43
|
|
|
32
44
|
## Skills and contracts
|
|
33
45
|
|
|
34
|
-
|
|
46
|
+
For creation tasks, state what to make, which decisions belong to this step and what the next step can decide. Keep detailed failure checks in the relevant contracts and link to them.
|
|
47
|
+
|
|
48
|
+
Put a rule every Evidence-selected declaration, document or record must meet in the responsible [contract](../contracts/SKILL.md) item.
|
|
35
49
|
|
|
36
|
-
|
|
50
|
+
Give each statement one checkable assertion with its exceptions. Say whether failure lists are exhaustive. Where both matter, judge omission and excess together.
|
|
37
51
|
|
|
38
|
-
|
|
52
|
+
Check new requirements for overlap and conflicts. Record the support and limits of new quality claims before adopting them.
|
|
39
53
|
|
|
40
|
-
|
|
54
|
+
Enforce rules that apply to every action with a hook or executable check.
|
|
55
|
+
|
|
56
|
+
Update the check and its documented rule together.
|
|
57
|
+
|
|
58
|
+
Group judgments that share the task, respondent, proof and repair owner. Give the overall outcome its own item.
|
|
41
59
|
|
|
42
60
|
## Layout
|
|
43
61
|
|
|
44
62
|
### Entry files
|
|
45
63
|
|
|
46
|
-
|
|
64
|
+
Keep `AGENTS.md` under 200 lines. Include session-wide rules and a trigger for each top-level skill. Briefly summarize a skill's core instruction when a reader needs it to start work, and link to the section that owns it.
|
|
65
|
+
|
|
66
|
+
Start each trigger with the task's verb. Keep only `@AGENTS.md` in `CLAUDE.md`.
|
|
47
67
|
|
|
48
68
|
### Skill files
|
|
49
69
|
|
|
50
|
-
|
|
70
|
+
Give each distinct task a top-level `.agents/skills/<name>/SKILL.md`. Match `name` to its directory using at most 64 lowercase letters, digits and hyphens. Give the skill a short, specific third-person description.
|
|
51
71
|
|
|
52
72
|
### Splitting a skill
|
|
53
73
|
|
|
54
|
-
`SKILL.md`
|
|
74
|
+
Keep `SKILL.md` well under 500 lines. Route multiple workflows from a short scope, shared rules and a trigger for each resource. See [OpenAI's skill guidance](https://developers.openai.com/blog/rethinking-skills-and-prompts-for-gpt-6-astra).
|
|
55
75
|
|
|
56
|
-
Split
|
|
76
|
+
Split unrelated workflows, task-specific sections and material the opening cannot introduce.
|
|
57
77
|
|
|
58
|
-
|
|
59
|
-
- a section only some tasks need;
|
|
60
|
-
- more content than the opening can introduce.
|
|
78
|
+
Put optional material beside the router. Review resources over about 100 lines for separable tasks. Name a child router for its parent and folder.
|
|
61
79
|
|
|
62
|
-
|
|
80
|
+
Give each resource one task it can explain on its own, a descriptive name and an opening. Link it from the nearest router, directly or by path pattern. Merge pages that add no independent guidance.
|
|
63
81
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
- a name that states its subject;
|
|
67
|
-
- an opening that states its subject, in its own words;
|
|
68
|
-
- a direct link, or a stated path pattern, from the nearest router above it.
|
|
82
|
+
Group model instructions by technique. Keep provider examples together and defer parameters to provider documentation.
|
|
69
83
|
|
|
70
84
|
### Helpers
|
|
71
85
|
|
|
72
|
-
|
|
86
|
+
Reuse tested helpers for repeated deterministic work. Link the command from the relevant resource and draw examples from its existing callers.
|
|
73
87
|
|
|
74
88
|
## Shared skills
|
|
75
89
|
|
|
76
|
-
|
|
90
|
+
Share only rules valid for every receiving project.
|
|
91
|
+
|
|
92
|
+
Name tools, owners and records by role. Leave project decisions and paths to project skills and model-specific settings to the task.
|
|
77
93
|
|
|
78
94
|
## Verification
|
|
79
95
|
|
|
80
|
-
|
|
96
|
+
Check the original failure, a similar valid case and a real task through its consumers.
|
|
97
|
+
|
|
98
|
+
When authorized and available, give a fresh agent the task and raw inputs. Withhold intended changes and verdicts except where the review workflow needs them. Record actions, opened pages and guesses. For model-dependent changes, compare the same cases and record model, runtime and effort.
|
|
81
99
|
|
|
82
|
-
Check
|
|
100
|
+
Check links, triggers and rule ownership. Compare outputs, pages opened and words read on the same tasks before and after. Report observed behavior and unavailable checks alongside static results.
|
|
@@ -1,62 +1,64 @@
|
|
|
1
1
|
# Capture
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
One capture contains the stills, contact sheets and record of one plan.
|
|
4
4
|
|
|
5
5
|
## Restoring the instrument
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Restore the instrument before other work. Verify required subjects, the displayed artifact, controls, seeking, playback and capture through the affected consumer. Protect other owners' processes.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Fix broken or missing capabilities at their owner, including needed views, passes and selections. Reconnect and verify the consumer, or report an ownership block.
|
|
10
10
|
|
|
11
11
|
## Plan
|
|
12
12
|
|
|
13
|
-
Before
|
|
13
|
+
Before capture, write yes-or-no questions for the observation. Answer them from the stills.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Plan one cell per required subject, time or pose, view and [pass](passes.md). Gather all evidence for the round in one run.
|
|
16
16
|
|
|
17
17
|
## Conditions
|
|
18
18
|
|
|
19
|
-
Capture the actual consumer
|
|
19
|
+
Capture the actual consumer at the current revision. Record assets, input, time or pose, resolved camera, light, pass, size, renderer and detail settings. Tie assets, light and detail to the revision.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Use a simplified renderer for pose, contacts, staging and silhouette. Judge materials, lighting, shadows and textures on the delivery renderer.
|
|
22
22
|
|
|
23
23
|
A result holds for the use its capture covered; broader reuse needs broader subjects, views, times and states.
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Cells
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
### Subject
|
|
28
|
+
|
|
29
|
+
Select the coverage the questions need:
|
|
28
30
|
|
|
29
31
|
- the whole, as a viewer first meets it;
|
|
30
32
|
- each unit alone;
|
|
31
33
|
- each unit with the neighbors it touches or shares a boundary with;
|
|
32
34
|
- each defect's region.
|
|
33
35
|
|
|
34
|
-
Select by the
|
|
36
|
+
Select by the subject's own group and part names. Keep enough reference or surrounding geometry visible to judge placement and depth. Confirm the selection in the capture record.
|
|
35
37
|
|
|
36
|
-
|
|
38
|
+
### Views
|
|
37
39
|
|
|
38
|
-
Name each view
|
|
40
|
+
Name each view by direction, distance or scale and target, or use the delivery camera. Add angles to expose occlusions and a second view to distinguish shape from foreshortening.
|
|
39
41
|
|
|
40
|
-
Frame a close-up
|
|
42
|
+
Frame a close-up from outside the subject. Reuse its resolved camera in later [comparisons](comparison.md#matched-cells).
|
|
41
43
|
|
|
42
|
-
|
|
44
|
+
### Times
|
|
43
45
|
|
|
44
|
-
|
|
46
|
+
Sample in time order at five to ten stills per second. Sample faster action at the higher rate.
|
|
45
47
|
|
|
46
|
-
|
|
48
|
+
Capture consecutive output frames around contacts, cuts, joins and decisive instants.
|
|
47
49
|
|
|
48
|
-
Sample
|
|
50
|
+
Sample the encoded or generated file at the same times as its source.
|
|
49
51
|
|
|
50
|
-
|
|
52
|
+
Report playback coverage as stills only.
|
|
51
53
|
|
|
52
54
|
## Stills and sheets
|
|
53
55
|
|
|
54
|
-
Read
|
|
56
|
+
Read contact sheets with labeled cells. Open full-size stills for detail that decides the finding.
|
|
55
57
|
|
|
56
|
-
|
|
58
|
+
Use the reading model's documented image limits and enough pixels per cell to see the deciding detail. Split oversized sheets and open full-size stills or crops when necessary. For GPT image inputs, see [Images and vision](https://developers.openai.com/api/docs/guides/images-vision#analyze-images).
|
|
57
59
|
|
|
58
|
-
|
|
60
|
+
Mark missing cells with their cause and leave them unverified.
|
|
59
61
|
|
|
60
62
|
## Rounds
|
|
61
63
|
|
|
62
|
-
|
|
64
|
+
Save each capture and record under its round or revision. Recapture any unfinished round.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Comparison
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Compare matching cells so only the factor under study differs.
|
|
4
4
|
|
|
5
5
|
## What a pair separates
|
|
6
6
|
|
|
@@ -17,9 +17,9 @@ A comparison joins two captures cell by cell, so that only the compared thing di
|
|
|
17
17
|
|
|
18
18
|
## Matched cells
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Match subject, time or pose, resolved camera, light, pass and raster size. Reuse the earlier camera from its record. Measure pixel differences within one renderer backend. Compare different backends side by side.
|
|
21
21
|
|
|
22
|
-
Report
|
|
22
|
+
Report each unmatched cell and its cause.
|
|
23
23
|
|
|
24
24
|
## Reading the difference
|
|
25
25
|
|
|
@@ -30,4 +30,4 @@ Report a cell that one capture holds and the other lacks as unmatched, with its
|
|
|
30
30
|
| A difference image | Where the pixels changed, including where no change was meant |
|
|
31
31
|
| A measured difference per cell | Which pairs to open first |
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Use measured differences to prioritize inspection. Inspect even identical output. Treat unexplained differences outside the target region as regressions.
|
|
@@ -1,34 +1,25 @@
|
|
|
1
1
|
# Correction rounds
|
|
2
2
|
|
|
3
|
-
A correction round gathers every finding of one capture, traces each to its cause, repairs the causes in one change and compares again. This page owns that order.
|
|
4
|
-
|
|
5
3
|
## Measuring and looking
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
Measure positions, depths, timings and other quantities under the subject skill, then [plan the capture](capture.md#plan).
|
|
8
6
|
|
|
9
7
|
## Inspection
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
Before editing, inspect the affected subject at all needed scales, views and times, including adjacent parts. Record each defect, cell and conditions.
|
|
12
10
|
|
|
13
11
|
## Causes
|
|
14
12
|
|
|
15
|
-
Trace causes through generation
|
|
13
|
+
Trace causes through generation, display, shared boundaries and derived outputs. Run all necessary controlled [comparisons](comparison.md) on one unchanged source. Record results and map each fix to affected defects and parts.
|
|
16
14
|
|
|
17
15
|
## One combined change
|
|
18
16
|
|
|
19
|
-
Fix all
|
|
20
|
-
|
|
21
|
-
However cheap a capture is, this replaces fixing one finding at a time:
|
|
22
|
-
|
|
23
|
-
- editing after each observed defect;
|
|
24
|
-
- changing one value and capturing to see its effect;
|
|
25
|
-
- capturing after each single fix;
|
|
26
|
-
- leaving a traced cause to a later round or finer scale.
|
|
17
|
+
Fix all causes at their owners in one change. Judge the assembled subject. Coordinate fixes across owners or report ownership blocks.
|
|
27
18
|
|
|
28
19
|
## Comparing again
|
|
29
20
|
|
|
30
|
-
Repeat the round
|
|
21
|
+
Repeat the round and check defects and regressions across parts, views, times, identities, resolutions and states. Account for all findings. Keep the round open while any new or unexplained defect remains.
|
|
31
22
|
|
|
32
23
|
When a fix is tried over several rounds, keep a round only if nothing got worse than in the best earlier round, and record every remaining failure with its numbers.
|
|
33
24
|
|
|
34
|
-
|
|
25
|
+
Open the current capture before accepting it.
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
# Passes
|
|
2
2
|
|
|
3
|
-
A pass
|
|
3
|
+
A pass specifies what a still draws.
|
|
4
4
|
|
|
5
5
|
## Choosing a pass
|
|
6
6
|
|
|
7
|
-
|
|
|
7
|
+
| Pass | Answers |
|
|
8
8
|
| --- | --- |
|
|
9
|
-
|
|
|
10
|
-
|
|
|
11
|
-
|
|
|
12
|
-
| Where joints, contacts, targets and paths are |
|
|
13
|
-
|
|
|
9
|
+
| The finished picture from the delivery's renderer | How the result looks to its audience |
|
|
10
|
+
| The construction that generated a surface | Why the surface has its shape |
|
|
11
|
+
| A structural pass of only one quantity, such as depth, normals or a mask | What that quantity is across the picture |
|
|
12
|
+
| An overlay on the picture | Where joints, contacts, targets and paths are |
|
|
13
|
+
| The guide channel itself, read through the receiver's input path | What a receiver is given |
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Verify the structural quantity's range and convention. Inspect optional fields only for required uses under [form inspection](../3d-modeling/inspection.md#fields-judged-only-where-needed).
|
|
16
16
|
|
|
17
17
|
## Matched passes
|
|
18
18
|
|
|
19
|
-
Draw
|
|
19
|
+
Draw passes from the same subjects, camera, time and evaluated state. Preserve motion state and restore the scene and renderer state after each pass.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
An overlay shares its underlying pass's camera. Label marks drawn through surfaces.
|
|
22
22
|
|
|
23
23
|
## Marking what a measurement found
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Draw measured defect locations in a reserved color and identify the finding in the legend. The measurement owner supplies locations as marks, so adding a finding requires no new pass.
|
|
26
26
|
|
|
27
27
|
Draw each kind of thing in one color throughout a capture. Show labels to establish identity, and hide them where they cover what is judged.
|
|
28
28
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Rendering cost
|
|
2
2
|
|
|
3
|
-
Measure
|
|
3
|
+
Measure startup or compilation, motion evaluation, transform updates, drawing, capture and encoding separately at the intended resolution, asset count and motion load.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Test a lower-spec host when required or report it as untested. Record measured budgets and accepted compromises in the project's decisions.
|
|
@@ -36,9 +36,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36
36
|
exports.createAutoMovieScaffold = void 0;
|
|
37
37
|
const fs = __importStar(require("node:fs"));
|
|
38
38
|
const path = __importStar(require("node:path"));
|
|
39
|
-
const yaml_1 = require("yaml");
|
|
40
39
|
const assertScaffoldProjectName_1 = require("./assertScaffoldProjectName");
|
|
41
40
|
const listAutoMovieScaffoldFiles_1 = require("./listAutoMovieScaffoldFiles");
|
|
41
|
+
const renderAutoMovieWorkspace_1 = require("./renderAutoMovieWorkspace");
|
|
42
42
|
const scaffoldSharedSkillPath_1 = require("./scaffoldSharedSkillPath");
|
|
43
43
|
/** The package root: `src` under ttsx and `lib` when published both sit one level below it. */
|
|
44
44
|
const PACKAGE = path.resolve(__dirname, "..");
|
|
@@ -85,7 +85,7 @@ const createAutoMovieScaffold = (props) => {
|
|
|
85
85
|
readLayer("instructions", add);
|
|
86
86
|
readLayer(props.kind === "workspace" ? "workspace" : "production", add);
|
|
87
87
|
if (props.kind !== "workspace-production")
|
|
88
|
-
add("pnpm-workspace.yaml",
|
|
88
|
+
add("pnpm-workspace.yaml", (0, renderAutoMovieWorkspace_1.renderAutoMovieWorkspace)(props.kind));
|
|
89
89
|
if (props.kind !== "workspace")
|
|
90
90
|
add("evidence.config.ts", renderEvidenceConfig(props.kind === "workspace-production"));
|
|
91
91
|
return files;
|
|
@@ -109,24 +109,6 @@ const readLayer = (layer, add) => {
|
|
|
109
109
|
add(target, read(item));
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
|
-
/** The `pnpm-workspace.yaml` of a single production, or with `packages` of a workspace root. */
|
|
113
|
-
const renderPnpmWorkspace = (packages) => {
|
|
114
|
-
const settings = JSON.parse(read(path.join(PACKAGE, "generated", "pnpm-workspace.json")));
|
|
115
|
-
const manifest = JSON.parse(read(path.join(PACKAGE, "package.json")));
|
|
116
|
-
return (0, yaml_1.stringify)({
|
|
117
|
-
...(packages
|
|
118
|
-
? { packages: ["movies/shorts/*", "movies/series/*", "packages/*"] }
|
|
119
|
-
: {}),
|
|
120
|
-
catalogs: {
|
|
121
|
-
automovie: Object.fromEntries(settings.automovie.map((key) => [
|
|
122
|
-
key,
|
|
123
|
-
`^${manifest.version}`,
|
|
124
|
-
])),
|
|
125
|
-
...settings.catalogs,
|
|
126
|
-
},
|
|
127
|
-
allowBuilds: settings.allowBuilds,
|
|
128
|
-
});
|
|
129
|
-
};
|
|
130
112
|
/** The `evidence.config.ts` of a production, reading its own skills or, inside a workspace, the root's. */
|
|
131
113
|
const renderEvidenceConfig = (workspace) => [
|
|
132
114
|
`import { createEvidenceConfig } from "@automovie/evidence";`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAutoMovieScaffold.js","sourceRoot":"","sources":["../src/createAutoMovieScaffold.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,EAAE,oCAAgB;AAC9B,MAAY,IAAI,sCAAkB;
|
|
1
|
+
{"version":3,"file":"createAutoMovieScaffold.js","sourceRoot":"","sources":["../src/createAutoMovieScaffold.ts"],"names":[],"mappings":"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"}
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./IAutoMovieScaffoldProps"), exports);
|
|
18
18
|
__exportStar(require("./assertScaffoldProjectName"), exports);
|
|
19
19
|
__exportStar(require("./createAutoMovieScaffold"), exports);
|
|
20
|
+
__exportStar(require("./renderAutoMovieWorkspace"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,8DAA4C;AAC5C,4DAA0C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,8DAA4C;AAC5C,4DAA0C;AAC1C,6DAA2C"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Render pnpm settings for a new production or workspace. Given an existing
|
|
3
|
+
* workspace's directory and YAML, fill missing scaffold catalog entries.
|
|
4
|
+
* Existing pins, overrides, workspace members and build policy keep their values.
|
|
5
|
+
* A linked SDK supplies missing scoped packages when their sibling manifests
|
|
6
|
+
* identify them. Other new entries use the installed scaffold's ranges.
|
|
7
|
+
*
|
|
8
|
+
* @param workspace The new layout or the existing workspace whose catalogs the CLI needs.
|
|
9
|
+
* @returns Workspace YAML, byte-for-byte unchanged when every required entry exists.
|
|
10
|
+
* @throws If the shipped settings or workspace YAML cannot be read as required.
|
|
11
|
+
* @evidence contracts/development/implementation.md#principled-implementation Both paths resolve the shipped manifests' catalog references from the same build settings and template version. Local SDK lookup requires an existing link and the requested package identity.
|
|
12
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure The layout selects creation or completion. The YAML document owns edits and the caller owns the write.
|
|
13
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The build discovers the dependencies. Package names and workspace layouts follow their published conventions.
|
|
14
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms The existing document is parsed once and each required entry is visited once. Only missing SDK entries probe sibling manifests in distinct linked directories.
|
|
15
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Both layouts share the resolved defaults. SDK directories are deduplicated per document.
|
|
16
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources File reads close synchronously. Parsed settings, document and link directories live for one call.
|
|
17
|
+
* @evidence contracts/development/common.md#meaningful-documentation The comment describes each mode, precedence, return value and failure.
|
|
18
|
+
*/
|
|
19
|
+
export declare function renderAutoMovieWorkspace(workspace: "production" | "workspace" | {
|
|
20
|
+
directory: string;
|
|
21
|
+
source: string;
|
|
22
|
+
}): string;
|