@automovie/template 0.1.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 +14 -18
- package/generated/pnpm-workspace.json +54 -0
- package/generated/skills/3d-modeling/conditioning.md +87 -0
- package/generated/skills/3d-modeling/crafting/SKILL.md +16 -0
- package/generated/skills/3d-modeling/crafting/construction.md +63 -0
- package/generated/skills/3d-modeling/crafting/lofting.md +75 -0
- package/generated/skills/3d-modeling/crafting/recovery.md +25 -0
- package/generated/skills/3d-modeling/diffusion/image-hints.md +30 -0
- package/generated/skills/3d-modeling/diffusion/models.md +43 -0
- package/generated/skills/3d-modeling/diffusion/prompts.md +9 -0
- package/generated/skills/3d-modeling/diffusion/request.md +18 -0
- package/generated/skills/3d-modeling/diffusion/shape-hints.md +33 -0
- package/generated/skills/3d-modeling/inspection.md +57 -0
- package/generated/skills/3d-modeling/modularization.md +25 -0
- package/generated/skills/3d-modeling/rigging.md +100 -0
- package/generated/skills/3d-modeling/sources.md +29 -0
- package/generated/skills/contracts/development/common.md +13 -0
- package/generated/skills/contracts/development/design.md +27 -0
- package/generated/skills/contracts/development/implementation.md +49 -0
- package/generated/skills/contracts/development/testing.md +27 -0
- package/generated/skills/development/repair.md +11 -0
- package/generated/skills/documentation/SKILL.md +19 -0
- package/generated/skills/documentation/writing.md +85 -0
- package/generated/skills/motion/laws/authoring.md +45 -0
- package/generated/skills/motion/laws/contacts.md +41 -0
- package/generated/skills/motion/laws/declaration.md +25 -0
- package/generated/skills/motion/laws/transitions.md +39 -0
- package/generated/skills/motion/laws/variation.md +23 -0
- package/generated/skills/motion/laws/verification.md +32 -0
- package/generated/skills/prompting/SKILL.md +100 -0
- package/generated/skills/visual-debugging/capture.md +64 -0
- package/{lib → generated}/skills/visual-debugging/comparison.md +7 -9
- package/generated/skills/visual-debugging/correction-rounds.md +25 -0
- package/generated/skills/visual-debugging/passes.md +29 -0
- package/generated/skills/visual-debugging/rendering-cost.md +5 -0
- package/lib/IAutoMovieScaffoldProps.d.ts +14 -6
- package/lib/assertScaffoldProjectName.d.ts +1 -1
- package/lib/assertScaffoldProjectName.js +1 -1
- package/lib/createAutoMovieScaffold.d.ts +27 -0
- package/lib/createAutoMovieScaffold.js +127 -0
- package/lib/createAutoMovieScaffold.js.map +1 -0
- package/lib/index.d.ts +2 -45
- package/lib/index.js +2 -45
- package/lib/index.js.map +1 -1
- package/lib/listAutoMovieScaffoldFiles.d.ts +2 -2
- package/lib/listAutoMovieScaffoldFiles.js +2 -2
- package/lib/renderAutoMovieWorkspace.d.ts +22 -0
- package/lib/renderAutoMovieWorkspace.js +141 -0
- package/lib/renderAutoMovieWorkspace.js.map +1 -0
- package/package.json +9 -12
- package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +22 -18
- package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +8 -10
- package/scaffold/instructions/.agents/skills/3d-modeling/diffusion/SKILL.md +24 -0
- package/scaffold/instructions/.agents/skills/audio/SKILL.md +11 -22
- package/scaffold/instructions/.agents/skills/audio/acquisition.md +22 -12
- 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 +27 -0
- package/scaffold/instructions/.agents/skills/audio/generated-sound.md +17 -0
- package/scaffold/instructions/.agents/skills/audio/listening.md +13 -0
- package/scaffold/instructions/.agents/skills/audio/sound-effects.md +11 -17
- package/scaffold/instructions/.agents/skills/audio/soundtrack.md +7 -0
- package/scaffold/instructions/.agents/skills/automovie/SKILL.md +32 -0
- package/scaffold/instructions/.agents/skills/contracts/SKILL.md +6 -35
- package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +13 -13
- package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +20 -11
- package/scaffold/instructions/.agents/skills/contracts/development/composition.md +17 -10
- package/scaffold/instructions/.agents/skills/contracts/development/entities.md +10 -10
- package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +24 -26
- package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +19 -19
- package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +18 -18
- package/scaffold/instructions/.agents/skills/contracts/items.md +26 -0
- package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +36 -26
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/settings.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/treatments.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +7 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +4 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +4 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +3 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +3 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +5 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +5 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +4 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +5 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +3 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +5 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +2 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/common.md +2 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +2 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +5 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +3 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +5 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/review.md +5 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +5 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +3 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +2 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +5 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +4 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +9 -11
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +2 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +3 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +4 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +5 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +3 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +38 -48
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +7 -10
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +4 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +5 -10
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +12 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +4 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +13 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +15 -17
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +6 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +16 -18
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +16 -22
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +8 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +7 -10
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +29 -24
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +13 -17
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +9 -19
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +4 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +7 -8
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +30 -28
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +10 -11
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +18 -20
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +14 -28
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +40 -47
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +18 -20
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +8 -26
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +12 -19
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +7 -10
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +4 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +3 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/treatments.md +3 -3
- package/scaffold/instructions/.agents/skills/development/SKILL.md +14 -26
- package/scaffold/instructions/.agents/skills/development/entities.md +25 -21
- package/scaffold/instructions/.agents/skills/development/modules.md +31 -0
- package/scaffold/instructions/.agents/skills/development/source-layout.md +65 -41
- package/scaffold/instructions/.agents/skills/development/testing.md +12 -10
- 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 -5
- package/scaffold/instructions/.agents/skills/evidence/configuration.md +8 -8
- package/scaffold/instructions/.agents/skills/image/SKILL.md +9 -62
- package/scaffold/instructions/.agents/skills/image/canon-references.md +37 -0
- 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 +17 -0
- package/scaffold/instructions/.agents/skills/motion/SKILL.md +15 -48
- package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +25 -5
- package/scaffold/instructions/.agents/skills/motion/compose/composition.md +66 -0
- package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +15 -0
- package/scaffold/instructions/.agents/skills/motion/control-channels.md +25 -9
- package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +28 -0
- package/scaffold/instructions/.agents/skills/motion/diffusion/clips.md +31 -0
- package/scaffold/instructions/.agents/skills/motion/diffusion/hints.md +49 -0
- package/scaffold/instructions/.agents/skills/motion/diffusion/models.md +32 -0
- package/scaffold/instructions/.agents/skills/motion/diffusion/tracing.md +59 -0
- package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +9 -13
- package/scaffold/instructions/.agents/skills/motion/judgment.md +37 -0
- package/scaffold/instructions/.agents/skills/motion/laws/$verification.md +0 -0
- package/scaffold/instructions/.agents/skills/motion/laws/SKILL.md +19 -0
- package/scaffold/instructions/.agents/skills/motion/laws/extension.md +39 -0
- package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +51 -0
- 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 +9 -11
- package/scaffold/instructions/.agents/skills/motion/segment-review.md +7 -7
- package/scaffold/instructions/.agents/skills/motion/staging.md +24 -14
- package/scaffold/instructions/.agents/skills/production/SKILL.md +11 -38
- package/scaffold/instructions/.agents/skills/production/assembly.md +19 -11
- package/scaffold/instructions/.agents/skills/production/captions.md +15 -0
- package/scaffold/instructions/.agents/skills/production/director.md +17 -0
- package/scaffold/instructions/.agents/skills/production/media-records.md +38 -15
- package/scaffold/instructions/.agents/skills/production/project-context.md +77 -14
- package/scaffold/instructions/.agents/skills/production/reorganization.md +13 -0
- package/scaffold/instructions/.agents/skills/production/stage-caches.md +9 -13
- package/scaffold/instructions/.agents/skills/production/sustained-runs.md +10 -10
- package/scaffold/instructions/.agents/skills/production/workflow.md +45 -0
- package/scaffold/instructions/.agents/skills/review/SKILL.md +10 -17
- package/scaffold/instructions/.agents/skills/review/delivery-review.md +50 -33
- package/scaffold/instructions/.agents/skills/review/estimation.md +35 -16
- package/scaffold/instructions/.agents/skills/review/independent-reading.md +12 -18
- package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +10 -36
- package/scaffold/instructions/.agents/skills/review/source-review.md +7 -23
- package/scaffold/instructions/.agents/skills/story/SKILL.md +10 -13
- package/scaffold/instructions/.agents/skills/story/answers.md +27 -0
- package/scaffold/instructions/.agents/skills/story/correction/inspection.md +10 -16
- package/scaffold/instructions/.agents/skills/story/correction/repair.md +18 -16
- package/scaffold/instructions/.agents/skills/story/document-layout.md +33 -21
- package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +12 -9
- package/scaffold/instructions/.agents/skills/story/layers/brief.md +5 -21
- package/scaffold/instructions/.agents/skills/story/layers/notation.md +27 -16
- package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +31 -7
- package/scaffold/instructions/.agents/skills/story/layers/scripts.md +5 -5
- package/scaffold/instructions/.agents/skills/story/layers/settings.md +28 -17
- package/scaffold/instructions/.agents/skills/story/layers/shots.md +27 -0
- package/scaffold/instructions/.agents/skills/story/layers/treatments.md +4 -4
- package/scaffold/instructions/.agents/skills/story/planning/SKILL.md +7 -7
- package/scaffold/instructions/.agents/skills/story/planning/direction.md +5 -5
- package/scaffold/instructions/.agents/skills/story/planning/discovery.md +13 -10
- package/scaffold/instructions/.agents/skills/story/planning/requirements.md +13 -11
- package/scaffold/instructions/.agents/skills/story/planning/research.md +21 -11
- package/scaffold/instructions/.agents/skills/story/workflow/SKILL.md +15 -0
- package/scaffold/instructions/.agents/skills/story/workflow/long.md +42 -0
- package/scaffold/instructions/.agents/skills/story/workflow/routes.md +46 -0
- package/scaffold/instructions/.agents/skills/story/workflow/short.md +41 -0
- package/scaffold/instructions/.agents/skills/video/SKILL.md +9 -23
- package/scaffold/instructions/.agents/skills/video/diffusion/SKILL.md +21 -0
- package/scaffold/instructions/.agents/skills/video/diffusion/continuity.md +21 -0
- package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +31 -0
- package/scaffold/instructions/.agents/skills/video/diffusion/models.md +47 -0
- package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +53 -0
- package/scaffold/instructions/.agents/skills/video/direct-film.md +53 -0
- package/scaffold/instructions/.agents/skills/video/finishing.md +46 -0
- package/scaffold/instructions/.agents/skills/video/generated-film.md +24 -0
- package/scaffold/instructions/.agents/skills/video/generation.md +32 -13
- package/scaffold/instructions/.agents/skills/video/requests.md +46 -0
- package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +19 -18
- package/scaffold/instructions/AGENTS.md +44 -70
- package/scaffold/production/PROJECT.md +1 -1
- package/scaffold/production/README.md +44 -99
- package/scaffold/production/_gitignore +1 -2
- package/scaffold/production/index.html +4 -8
- package/scaffold/production/lint.config.ts +1 -1
- package/scaffold/production/package.json +31 -31
- package/scaffold/production/src/IFilm.ts +3 -3
- package/scaffold/production/src/IFilmProduction.ts +21 -6
- package/scaffold/production/src/composition/films/index.ts +3 -2
- package/scaffold/production/src/composition/films/starter.ts +2 -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/main.ts +9 -195
- package/scaffold/production/src/markFilmProduction.ts +43 -0
- package/scaffold/production/src/selectFilm.ts +3 -5
- package/scaffold/production/src/subjects.ts +65 -0
- 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 +16 -2
- package/scaffold/workspace/README.md +6 -8
- package/scaffold/workspace/package.json +1 -1
- package/src/IAutoMovieScaffoldProps.ts +15 -6
- package/src/assertScaffoldProjectName.ts +1 -1
- package/src/createAutoMovieScaffold.ts +115 -0
- package/src/index.ts +2 -46
- package/src/listAutoMovieScaffoldFiles.ts +2 -2
- package/src/renderAutoMovieWorkspace.ts +157 -0
- package/build/resolveTemplateVersions.ts +0 -92
- package/build/syncScaffoldInstructions.ts +0 -28
- package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.d.ts +0 -14
- package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js +0 -52
- package/lib/AUTOMOVIE_TEMPLATE_CATALOGS.js.map +0 -1
- package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.d.ts +0 -2
- package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js +0 -42
- package/lib/AUTOMOVIE_TEMPLATE_VERSIONS.js.map +0 -1
- package/lib/AutoMovieScaffoldLayer.d.ts +0 -15
- package/lib/AutoMovieScaffoldLayer.js +0 -3
- package/lib/AutoMovieScaffoldLayer.js.map +0 -1
- package/lib/FILE_ATTRIBUTE_DIRECTORY.d.ts +0 -2
- package/lib/FILE_ATTRIBUTE_DIRECTORY.js +0 -6
- package/lib/FILE_ATTRIBUTE_DIRECTORY.js.map +0 -1
- package/lib/IAutoMovieCatalogVersionProps.d.ts +0 -16
- package/lib/IAutoMovieCatalogVersionProps.js +0 -3
- package/lib/IAutoMovieCatalogVersionProps.js.map +0 -1
- package/lib/IAutoMovieScaffoldSourceEntry.d.ts +0 -18
- package/lib/IAutoMovieScaffoldSourceEntry.js +0 -3
- package/lib/IAutoMovieScaffoldSourceEntry.js.map +0 -1
- package/lib/IAutoMovieTemplateDependencyVersionsProps.d.ts +0 -17
- package/lib/IAutoMovieTemplateDependencyVersionsProps.js +0 -3
- package/lib/IAutoMovieTemplateDependencyVersionsProps.js.map +0 -1
- package/lib/IAutoMovieWorkspacePackageVersions.d.ts +0 -34
- package/lib/IAutoMovieWorkspacePackageVersions.js +0 -3
- package/lib/IAutoMovieWorkspacePackageVersions.js.map +0 -1
- package/lib/IBoundChild.d.ts +0 -71
- package/lib/IBoundChild.js +0 -3
- package/lib/IBoundChild.js.map +0 -1
- package/lib/IBoundChildStatus.d.ts +0 -20
- package/lib/IBoundChildStatus.js +0 -3
- package/lib/IBoundChildStatus.js.map +0 -1
- package/lib/IBoundParent.d.ts +0 -61
- package/lib/IBoundParent.js +0 -3
- package/lib/IBoundParent.js.map +0 -1
- package/lib/IBoundParentStatus.d.ts +0 -14
- package/lib/IBoundParentStatus.js +0 -3
- package/lib/IBoundParentStatus.js.map +0 -1
- package/lib/ICreateResult.d.ts +0 -27
- package/lib/ICreateResult.js +0 -3
- package/lib/ICreateResult.js.map +0 -1
- package/lib/IScaffoldCompletedFilePublicationOutcome.d.ts +0 -16
- package/lib/IScaffoldCompletedFilePublicationOutcome.js +0 -3
- package/lib/IScaffoldCompletedFilePublicationOutcome.js.map +0 -1
- package/lib/IScaffoldCompletedPublication.d.ts +0 -15
- package/lib/IScaffoldCompletedPublication.js +0 -3
- package/lib/IScaffoldCompletedPublication.js.map +0 -1
- package/lib/IScaffoldFileSnapshot.d.ts +0 -24
- package/lib/IScaffoldFileSnapshot.js +0 -3
- package/lib/IScaffoldFileSnapshot.js.map +0 -1
- package/lib/IScaffoldParentPublicationRequest.d.ts +0 -26
- package/lib/IScaffoldParentPublicationRequest.js +0 -3
- package/lib/IScaffoldParentPublicationRequest.js.map +0 -1
- package/lib/IScaffoldPartialFilePublicationOutcome.d.ts +0 -22
- package/lib/IScaffoldPartialFilePublicationOutcome.js +0 -3
- package/lib/IScaffoldPartialFilePublicationOutcome.js.map +0 -1
- package/lib/IScaffoldPhysicalDirectory.d.ts +0 -20
- package/lib/IScaffoldPhysicalDirectory.js +0 -3
- package/lib/IScaffoldPhysicalDirectory.js.map +0 -1
- package/lib/IScaffoldPosixConstants.d.ts +0 -24
- package/lib/IScaffoldPosixConstants.js +0 -3
- package/lib/IScaffoldPosixConstants.js.map +0 -1
- package/lib/IScaffoldPublicationEntry.d.ts +0 -20
- package/lib/IScaffoldPublicationEntry.js +0 -3
- package/lib/IScaffoldPublicationEntry.js.map +0 -1
- package/lib/IScaffoldPublicationFailure.d.ts +0 -18
- package/lib/IScaffoldPublicationFailure.js +0 -3
- package/lib/IScaffoldPublicationFailure.js.map +0 -1
- package/lib/IScaffoldPublicationOptions.d.ts +0 -17
- package/lib/IScaffoldPublicationOptions.js +0 -3
- package/lib/IScaffoldPublicationOptions.js.map +0 -1
- package/lib/IScaffoldPublicationReceipt.d.ts +0 -25
- package/lib/IScaffoldPublicationReceipt.js +0 -3
- package/lib/IScaffoldPublicationReceipt.js.map +0 -1
- package/lib/IScaffoldRefusedFilePublicationOutcome.d.ts +0 -18
- package/lib/IScaffoldRefusedFilePublicationOutcome.js +0 -3
- package/lib/IScaffoldRefusedFilePublicationOutcome.js.map +0 -1
- package/lib/IScaffoldSyncPlan.d.ts +0 -25
- package/lib/IScaffoldSyncPlan.js +0 -3
- package/lib/IScaffoldSyncPlan.js.map +0 -1
- package/lib/IScaffoldSyncProps.d.ts +0 -16
- package/lib/IScaffoldSyncProps.js +0 -3
- package/lib/IScaffoldSyncProps.js.map +0 -1
- package/lib/IWindowsFileInformation.d.ts +0 -20
- package/lib/IWindowsFileInformation.js +0 -3
- package/lib/IWindowsFileInformation.js.map +0 -1
- package/lib/IWindowsLibrary.d.ts +0 -127
- package/lib/IWindowsLibrary.js +0 -3
- package/lib/IWindowsLibrary.js.map +0 -1
- package/lib/SCAFFOLD_SYNC_STATE_FILE.d.ts +0 -4
- package/lib/SCAFFOLD_SYNC_STATE_FILE.js +0 -8
- package/lib/SCAFFOLD_SYNC_STATE_FILE.js.map +0 -1
- package/lib/ScaffoldFilePublicationOutcome.d.ts +0 -14
- package/lib/ScaffoldFilePublicationOutcome.js +0 -3
- package/lib/ScaffoldFilePublicationOutcome.js.map +0 -1
- package/lib/ScaffoldParentChangedError.d.ts +0 -11
- package/lib/ScaffoldParentChangedError.js +0 -19
- package/lib/ScaffoldParentChangedError.js.map +0 -1
- package/lib/ScaffoldPublicationError.d.ts +0 -17
- package/lib/ScaffoldPublicationError.js +0 -46
- package/lib/ScaffoldPublicationError.js.map +0 -1
- package/lib/assertOrdinaryFile.d.ts +0 -13
- package/lib/assertOrdinaryFile.js +0 -20
- package/lib/assertOrdinaryFile.js.map +0 -1
- package/lib/assertOrdinarySingleLinkFile.d.ts +0 -13
- package/lib/assertOrdinarySingleLinkFile.js +0 -22
- package/lib/assertOrdinarySingleLinkFile.js.map +0 -1
- package/lib/assertScaffoldOwnership.d.ts +0 -13
- package/lib/assertScaffoldOwnership.js +0 -24
- package/lib/assertScaffoldOwnership.js.map +0 -1
- package/lib/assertScaffoldPhysicalDirectory.d.ts +0 -16
- package/lib/assertScaffoldPhysicalDirectory.js +0 -26
- package/lib/assertScaffoldPhysicalDirectory.js.map +0 -1
- package/lib/attachScaffoldSyncState.d.ts +0 -18
- package/lib/attachScaffoldSyncState.js +0 -30
- package/lib/attachScaffoldSyncState.js.map +0 -1
- package/lib/captureEmptyScaffoldPhysicalDirectory.d.ts +0 -13
- package/lib/captureEmptyScaffoldPhysicalDirectory.js +0 -69
- package/lib/captureEmptyScaffoldPhysicalDirectory.js.map +0 -1
- package/lib/captureScaffoldFile.d.ts +0 -13
- package/lib/captureScaffoldFile.js +0 -67
- package/lib/captureScaffoldFile.js.map +0 -1
- package/lib/captureScaffoldPhysicalDirectory.d.ts +0 -13
- package/lib/captureScaffoldPhysicalDirectory.js +0 -63
- package/lib/captureScaffoldPhysicalDirectory.js.map +0 -1
- package/lib/combineScaffoldFailures.d.ts +0 -19
- package/lib/combineScaffoldFailures.js +0 -32
- package/lib/combineScaffoldFailures.js.map +0 -1
- package/lib/createAutoMovieCatalogVersionResolver.d.ts +0 -17
- package/lib/createAutoMovieCatalogVersionResolver.js +0 -64
- package/lib/createAutoMovieCatalogVersionResolver.js.map +0 -1
- package/lib/createScaffoldSyncState.d.ts +0 -12
- package/lib/createScaffoldSyncState.js +0 -26
- package/lib/createScaffoldSyncState.js.map +0 -1
- package/lib/createScaffoldVariables.d.ts +0 -25
- package/lib/createScaffoldVariables.js +0 -41
- package/lib/createScaffoldVariables.js.map +0 -1
- package/lib/ensureScaffoldBaseDirectory.d.ts +0 -19
- package/lib/ensureScaffoldBaseDirectory.js +0 -89
- package/lib/ensureScaffoldBaseDirectory.js.map +0 -1
- package/lib/ensureScaffoldFileDirectory.d.ts +0 -25
- package/lib/ensureScaffoldFileDirectory.js +0 -103
- package/lib/ensureScaffoldFileDirectory.js.map +0 -1
- package/lib/inside.d.ts +0 -12
- package/lib/inside.js +0 -57
- package/lib/inside.js.map +0 -1
- package/lib/isScaffoldInstruction.d.ts +0 -12
- package/lib/isScaffoldInstruction.js +0 -29
- package/lib/isScaffoldInstruction.js.map +0 -1
- package/lib/loadWindowsLibrary.d.ts +0 -13
- package/lib/loadWindowsLibrary.js +0 -180
- package/lib/loadWindowsLibrary.js.map +0 -1
- package/lib/mergeScaffoldFiles.d.ts +0 -18
- package/lib/mergeScaffoldFiles.js +0 -37
- package/lib/mergeScaffoldFiles.js.map +0 -1
- package/lib/missingPath.d.ts +0 -12
- package/lib/missingPath.js +0 -18
- package/lib/missingPath.js.map +0 -1
- package/lib/nativeError.d.ts +0 -12
- package/lib/nativeError.js +0 -17
- package/lib/nativeError.js.map +0 -1
- package/lib/openPosixParent.d.ts +0 -13
- package/lib/openPosixParent.js +0 -135
- package/lib/openPosixParent.js.map +0 -1
- package/lib/openWindowsParent.d.ts +0 -13
- package/lib/openWindowsParent.js +0 -224
- package/lib/openWindowsParent.js.map +0 -1
- package/lib/overwriteScaffoldFile.d.ts +0 -22
- package/lib/overwriteScaffoldFile.js +0 -214
- package/lib/overwriteScaffoldFile.js.map +0 -1
- package/lib/physicalDirectoryIdentity.d.ts +0 -15
- package/lib/physicalDirectoryIdentity.js +0 -65
- package/lib/physicalDirectoryIdentity.js.map +0 -1
- package/lib/physicalVersion.d.ts +0 -13
- package/lib/physicalVersion.js +0 -18
- package/lib/physicalVersion.js.map +0 -1
- package/lib/planScaffoldPublication.d.ts +0 -22
- package/lib/planScaffoldPublication.js +0 -100
- package/lib/planScaffoldPublication.js.map +0 -1
- package/lib/planScaffoldSync.d.ts +0 -14
- package/lib/planScaffoldSync.js +0 -102
- package/lib/planScaffoldSync.js.map +0 -1
- package/lib/publishFiles.d.ts +0 -23
- package/lib/publishFiles.js +0 -124
- package/lib/publishFiles.js.map +0 -1
- package/lib/publishNativeScaffoldFile.d.ts +0 -21
- package/lib/publishNativeScaffoldFile.js +0 -211
- package/lib/publishNativeScaffoldFile.js.map +0 -1
- package/lib/publishScaffoldCandidate.d.ts +0 -24
- package/lib/publishScaffoldCandidate.js +0 -70
- package/lib/publishScaffoldCandidate.js.map +0 -1
- package/lib/readAutoMovieScaffoldSources.d.ts +0 -20
- package/lib/readAutoMovieScaffoldSources.js +0 -103
- package/lib/readAutoMovieScaffoldSources.js.map +0 -1
- package/lib/readScaffoldSyncFile.d.ts +0 -16
- package/lib/readScaffoldSyncFile.js +0 -64
- package/lib/readScaffoldSyncFile.js.map +0 -1
- package/lib/renderScaffold.d.ts +0 -19
- package/lib/renderScaffold.js +0 -33
- package/lib/renderScaffold.js.map +0 -1
- package/lib/renderScaffoldEntries.d.ts +0 -20
- package/lib/renderScaffoldEntries.js +0 -106
- package/lib/renderScaffoldEntries.js.map +0 -1
- package/lib/renderScaffoldInstructions.d.ts +0 -17
- package/lib/renderScaffoldInstructions.js +0 -23
- package/lib/renderScaffoldInstructions.js.map +0 -1
- package/lib/renderScaffoldLayer.d.ts +0 -20
- package/lib/renderScaffoldLayer.js +0 -28
- package/lib/renderScaffoldLayer.js.map +0 -1
- package/lib/renderTemplate.d.ts +0 -19
- package/lib/renderTemplate.js +0 -56
- package/lib/renderTemplate.js.map +0 -1
- package/lib/renderWorkspaceProductionScaffold.d.ts +0 -19
- package/lib/renderWorkspaceProductionScaffold.js +0 -30
- package/lib/renderWorkspaceProductionScaffold.js.map +0 -1
- package/lib/renderWorkspaceScaffold.d.ts +0 -19
- package/lib/renderWorkspaceScaffold.js +0 -33
- package/lib/renderWorkspaceScaffold.js.map +0 -1
- package/lib/replaceSharedScaffoldFile.d.ts +0 -30
- package/lib/replaceSharedScaffoldFile.js +0 -106
- package/lib/replaceSharedScaffoldFile.js.map +0 -1
- package/lib/resolveAutoMovieCatalogVersion.d.ts +0 -19
- package/lib/resolveAutoMovieCatalogVersion.js +0 -24
- package/lib/resolveAutoMovieCatalogVersion.js.map +0 -1
- package/lib/resolveAutoMovieTemplateDependencyVersions.d.ts +0 -19
- package/lib/resolveAutoMovieTemplateDependencyVersions.js +0 -62
- package/lib/resolveAutoMovieTemplateDependencyVersions.js.map +0 -1
- package/lib/resolveScaffoldPosixConstants.d.ts +0 -13
- package/lib/resolveScaffoldPosixConstants.js +0 -44
- package/lib/resolveScaffoldPosixConstants.js.map +0 -1
- package/lib/scaffoldAssetDirectory.d.ts +0 -19
- package/lib/scaffoldAssetDirectory.js +0 -63
- package/lib/scaffoldAssetDirectory.js.map +0 -1
- package/lib/scaffoldPhysicalIdentity.d.ts +0 -18
- package/lib/scaffoldPhysicalIdentity.js +0 -22
- package/lib/scaffoldPhysicalIdentity.js.map +0 -1
- package/lib/scaffoldSharedSkillDirectory.d.ts +0 -17
- package/lib/scaffoldSharedSkillDirectory.js +0 -62
- package/lib/scaffoldSharedSkillDirectory.js.map +0 -1
- package/lib/skills/3d-modeling/conditioning.md +0 -82
- package/lib/skills/3d-modeling/crafting.md +0 -82
- package/lib/skills/3d-modeling/diffusion.md +0 -34
- package/lib/skills/3d-modeling/inspection.md +0 -54
- package/lib/skills/3d-modeling/lofting.md +0 -43
- package/lib/skills/3d-modeling/modularization.md +0 -31
- package/lib/skills/3d-modeling/recovery.md +0 -29
- package/lib/skills/3d-modeling/rigging.md +0 -97
- package/lib/skills/3d-modeling/sources.md +0 -29
- package/lib/skills/contracts/development/common.md +0 -13
- package/lib/skills/contracts/development/design.md +0 -28
- package/lib/skills/contracts/development/implementation.md +0 -49
- package/lib/skills/contracts/development/testing.md +0 -27
- package/lib/skills/development/repair.md +0 -13
- package/lib/skills/documentation/SKILL.md +0 -25
- package/lib/skills/documentation/writing.md +0 -51
- package/lib/skills/motion/authoring.md +0 -51
- package/lib/skills/motion/contacts.md +0 -39
- package/lib/skills/motion/laws.md +0 -23
- package/lib/skills/motion/layers.md +0 -7
- package/lib/skills/motion/transitions.md +0 -27
- package/lib/skills/motion/variation.md +0 -23
- package/lib/skills/motion/verification.md +0 -36
- package/lib/skills/prompting/SKILL.md +0 -80
- package/lib/skills/visual-debugging/capture.md +0 -60
- package/lib/skills/visual-debugging/correction-rounds.md +0 -34
- package/lib/skills/visual-debugging/passes.md +0 -29
- package/lib/skills/visual-debugging/rendering-cost.md +0 -5
- package/lib/syncScaffold.d.ts +0 -19
- package/lib/syncScaffold.js +0 -28
- package/lib/syncScaffold.js.map +0 -1
- package/lib/writeFiles.d.ts +0 -20
- package/lib/writeFiles.js +0 -33
- package/lib/writeFiles.js.map +0 -1
- package/lib/writeScaffoldFile.d.ts +0 -35
- package/lib/writeScaffoldFile.js +0 -107
- package/lib/writeScaffoldFile.js.map +0 -1
- package/lib/writtenVersion.d.ts +0 -13
- package/lib/writtenVersion.js +0 -18
- package/lib/writtenVersion.js.map +0 -1
- package/scaffold/instructions/.agents/skills/audio/local-speech.md +0 -11
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/screenplay.md +0 -9
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/screenplay.md +0 -13
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/screenplay.md +0 -11
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/screenplay.md +0 -25
- package/scaffold/instructions/.agents/skills/development/reuse.md +0 -47
- package/scaffold/instructions/.agents/skills/motion/method-references.md +0 -23
- package/scaffold/instructions/.agents/skills/production/sync-and-reorganization.md +0 -21
- package/scaffold/instructions/.agents/skills/story/correction/SKILL.md +0 -13
- package/scaffold/instructions/.agents/skills/story/evidence/SKILL.md +0 -13
- package/scaffold/instructions/.agents/skills/story/evidence/answer-placement.md +0 -13
- package/scaffold/instructions/.agents/skills/story/evidence/answer-writing.md +0 -23
- package/scaffold/instructions/.agents/skills/story/naturalness/SKILL.md +0 -13
- package/scaffold/instructions/.agents/skills/story/naturalness/rewriting.md +0 -17
- package/scaffold/instructions/.agents/skills/story/naturalness/transfer.md +0 -11
- package/scaffold/instructions/.agents/skills/story/workflow.md +0 -61
- package/scaffold/instructions/.agents/skills/video/diffusion.md +0 -33
- package/scaffold/instructions/.agents/skills/video/prompts.md +0 -51
- package/scaffold/production/evidence.config.ts +0 -12
- package/scaffold/production/src/executable/capture.ts +0 -489
- package/scaffold/production/src/executable/planCaptureStills.ts +0 -65
- package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureError.ts +0 -1
- package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessCaptureErrorCode.ts +0 -1
- package/scaffold/production/src/executable/render/headlessCapture/AutoMovieHeadlessWaitUntil.ts +0 -1
- package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureOptions.ts +0 -79
- package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessCaptureSession.ts +0 -39
- package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessFrameWriter.ts +0 -20
- package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessLocator.ts +0 -1
- package/scaffold/production/src/executable/render/headlessCapture/IAutoMovieHeadlessPage.ts +0 -1
- package/scaffold/production/src/executable/render/headlessCapture/createHeadlessCaptureAdapter.ts +0 -92
- package/scaffold/production/src/executable/render/headlessCapture/index.ts +0 -9
- package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoOptions.ts +0 -128
- package/scaffold/production/src/executable/render/node/IAutoMovieViewerVideoResult.ts +0 -43
- package/scaffold/production/src/executable/render/node/IProductionRenditionClip.ts +0 -44
- package/scaffold/production/src/executable/render/node/acquireViewerBrowser.ts +0 -24
- package/scaffold/production/src/executable/render/node/addProductionMp4Sample.ts +0 -89
- package/scaffold/production/src/executable/render/node/appendLosslessVideoClip.ts +0 -62
- package/scaffold/production/src/executable/render/node/assembleProductionChunkVideoMp4.ts +0 -167
- package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionClips.ts +0 -184
- package/scaffold/production/src/executable/render/node/assertProductionFeatureUsesRenditionVideo.ts +0 -127
- package/scaffold/production/src/executable/render/node/assertProductionRenditionClipDelivery.ts +0 -102
- package/scaffold/production/src/executable/render/node/cache/IAutoMovieDirectoryArtifactStore.ts +0 -59
- package/scaffold/production/src/executable/render/node/cache/IAutoMovieViewerFrameCacheReport.ts +0 -30
- package/scaffold/production/src/executable/render/node/cache/cacheViewerCaptureSession.ts +0 -187
- package/scaffold/production/src/executable/render/node/cache/composeViewerFrameKeys.ts +0 -55
- package/scaffold/production/src/executable/render/node/cache/createAutoMovieArtifactMiddleware.ts +0 -107
- package/scaffold/production/src/executable/render/node/cache/createAutoMovieDirectoryArtifactStore.ts +0 -203
- package/scaffold/production/src/executable/render/node/cache/digestAutoMovieSourceTree.ts +0 -66
- package/scaffold/production/src/executable/render/node/cache/readViewerFrameStates.ts +0 -95
- package/scaffold/production/src/executable/render/node/capture/DEFAULT_CHROME_EXECUTABLE.ts +0 -11
- package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageOperationFailure.ts +0 -13
- package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeArtifact.ts +0 -30
- package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageRenderAndSeeOptions.ts +0 -51
- package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceMetadata.ts +0 -27
- package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderArtifact.ts +0 -44
- package/scaffold/production/src/executable/render/node/capture/IAutoMoviePageSequenceRenderOptions.ts +0 -43
- package/scaffold/production/src/executable/render/node/capture/IAutoMovieSequenceDissolvePixelCheck.ts +0 -39
- package/scaffold/production/src/executable/render/node/capture/captureRenderAndSee.ts +0 -233
- package/scaffold/production/src/executable/render/node/capture/captureSequenceRenderAndSee.ts +0 -377
- package/scaffold/production/src/executable/render/node/capture/index.ts +0 -14
- package/scaffold/production/src/executable/render/node/capture/preserveCleanupFailure.ts +0 -34
- package/scaffold/production/src/executable/render/node/capture/renderAndSeeCommand.ts +0 -169
- package/scaffold/production/src/executable/render/node/capture/renderSequenceAndSeeCommand.ts +0 -165
- package/scaffold/production/src/executable/render/node/capture/verifySequenceDissolvePixels.ts +0 -179
- package/scaffold/production/src/executable/render/node/conformProductionRenditionVideoMp4.ts +0 -86
- package/scaffold/production/src/executable/render/node/conformProductionVisualDeliveryVideoMp4.ts +0 -230
- package/scaffold/production/src/executable/render/node/decodeAutoMovieDelivery.ts +0 -253
- package/scaffold/production/src/executable/render/node/equalRational.ts +0 -36
- package/scaffold/production/src/executable/render/node/exactProductionClockProduct.ts +0 -26
- package/scaffold/production/src/executable/render/node/exportModelToGLB.ts +0 -267
- package/scaffold/production/src/executable/render/node/index.ts +0 -27
- package/scaffold/production/src/executable/render/node/loadModelGltfCore.ts +0 -18
- package/scaffold/production/src/executable/render/node/mixAutoMovieAudioCues.ts +0 -74
- package/scaffold/production/src/executable/render/node/muxProductionFeatureMp4.ts +0 -170
- package/scaffold/production/src/executable/render/node/neutralTrackPresentation.ts +0 -59
- package/scaffold/production/src/executable/render/node/normalizeProductionH264Mp4.ts +0 -110
- package/scaffold/production/src/executable/render/node/openLosslessVideoTrack.ts +0 -81
- package/scaffold/production/src/executable/render/node/parseMp4.ts +0 -46
- package/scaffold/production/src/executable/render/node/parseProductionMp4Output.ts +0 -70
- package/scaffold/production/src/executable/render/node/parseProductionRenditionClip.ts +0 -92
- package/scaffold/production/src/executable/render/node/planViewerVideo.ts +0 -140
- package/scaffold/production/src/executable/render/node/probeParsedProductionVideoMp4.ts +0 -48
- package/scaffold/production/src/executable/render/node/probeProductionPngPicture.ts +0 -223
- package/scaffold/production/src/executable/render/node/probeProductionRenderedMedia.ts +0 -355
- package/scaffold/production/src/executable/render/node/probeProductionVideoMp4.ts +0 -27
- package/scaffold/production/src/executable/render/node/probeVideoTrack.ts +0 -220
- package/scaffold/production/src/executable/render/node/productionRenditionVideoPlan.ts +0 -149
- package/scaffold/production/src/executable/render/node/recordViewerPlayback.ts +0 -137
- package/scaffold/production/src/executable/render/node/renderViewerFrames.ts +0 -139
- package/scaffold/production/src/executable/render/node/renderViewerVideo.ts +0 -301
- package/scaffold/production/src/executable/render/node/renderViewerVideoSession.ts +0 -75
- package/scaffold/production/src/executable/render/node/residentMp4Box.ts +0 -36
- package/scaffold/production/src/executable/render/node/residentPngJs.ts +0 -26
- package/scaffold/production/src/executable/render/node/runViewerVideoEncoder.ts +0 -58
- package/scaffold/production/src/executable/render/node/sameSampleDescription.ts +0 -43
- package/scaffold/production/src/executable/render/node/sameSampleFlags.ts +0 -28
- package/scaffold/production/src/executable/render/node/sampleBytes.ts +0 -46
- package/scaffold/production/src/executable/render/node/sampleDescription.ts +0 -40
- package/scaffold/production/src/executable/render/node/sampleOptions.ts +0 -37
- package/scaffold/production/src/executable/render/node/serializeDescriptionBox.ts +0 -29
- package/scaffold/production/src/executable/render/node/trimProductionAudioPresentation.ts +0 -115
- package/scaffold/production/src/executable/render/node/verifySampleStorage.ts +0 -86
- package/scaffold/production/src/executable/render/node/writeViewerFrameSheet.ts +0 -101
- package/scaffold/production/src/executable/render.ts +0 -92
- package/scaffold/production/src/executable/review.ts +0 -54
- package/scaffold/production/src/executable/viewer/inspection/createViewerDiskSource.ts +0 -119
- package/scaffold/production/src/executable/viewer/inspection/readViewerMaintainedSourceFiles.ts +0 -64
- package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureError.ts +0 -41
- package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessCaptureErrorCode.ts +0 -22
- package/scaffold/production/src/executable/viewer/node/capture/AutoMovieHeadlessWaitUntil.ts +0 -18
- package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessLocator.ts +0 -32
- package/scaffold/production/src/executable/viewer/node/capture/IAutoMovieHeadlessPage.ts +0 -130
- package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureOptions.ts +0 -38
- package/scaffold/production/src/executable/viewer/node/capture/IViewerCaptureSession.ts +0 -41
- package/scaffold/production/src/executable/viewer/node/capture/createViewerCaptureSession.ts +0 -154
- package/scaffold/production/src/executable/viewer/node/capture/index.ts +0 -8
- package/scaffold/production/src/executable/viewer/node/index.ts +0 -2
- package/scaffold/production/src/executable/viewer/process/ProcessOwnership.ts +0 -102
- package/scaffold/production/src/executable/viewer/process/internal/IProcessChildObservation.ts +0 -18
- package/scaffold/production/src/executable/viewer/process/internal/IProcessOwnershipHost.ts +0 -70
- package/scaffold/production/src/executable/viewer/process/internal/ProcessOwnershipController.ts +0 -125
- package/scaffold/production/src/executable/viewer/process/internal/WindowsProcessOwnershipPrograms.ts +0 -52
- package/scaffold/production/src/executable/viewer/process/internal/createNodeProcessOwnershipHost.ts +0 -41
- package/scaffold/production/src/executable/viewer/process/internal/decodeLinuxProcessIdentity.ts +0 -22
- package/scaffold/production/src/executable/viewer/process/internal/decodePosixProcessIdentity.ts +0 -24
- package/scaffold/production/src/executable/viewer/process/internal/decodeWindowsProcessResult.ts +0 -24
- package/scaffold/production/src/executable/viewer/process/internal/readNativeProcessIdentity.ts +0 -45
- package/scaffold/production/src/executable/viewer/process/internal/requireProcessId.ts +0 -15
- package/scaffold/production/src/executable/viewer/process/internal/resolveProcessIdentityReadError.ts +0 -15
- package/scaffold/production/src/executable/viewer/process/internal/runWindowsProcessOperation.ts +0 -41
- package/scaffold/production/src/executable/viewer/process/internal/selectProcessOwnershipTree.ts +0 -68
- package/scaffold/production/test/features/executable/test_plan_capture_stills.ts +0 -75
- package/scaffold/workspace/pnpm-workspace.yaml +0 -46
- package/src/AUTOMOVIE_TEMPLATE_CATALOGS.ts +0 -48
- package/src/AUTOMOVIE_TEMPLATE_VERSIONS.ts +0 -39
- package/src/AutoMovieScaffoldLayer.ts +0 -18
- package/src/FILE_ATTRIBUTE_DIRECTORY.ts +0 -2
- package/src/IAutoMovieCatalogVersionProps.ts +0 -18
- package/src/IAutoMovieScaffoldSourceEntry.ts +0 -19
- package/src/IAutoMovieTemplateDependencyVersionsProps.ts +0 -19
- package/src/IAutoMovieWorkspacePackageVersions.ts +0 -44
- package/src/IBoundChild.ts +0 -86
- package/src/IBoundChildStatus.ts +0 -24
- package/src/IBoundParent.ts +0 -65
- package/src/IBoundParentStatus.ts +0 -15
- package/src/ICreateResult.ts +0 -35
- package/src/IScaffoldCompletedFilePublicationOutcome.ts +0 -17
- package/src/IScaffoldCompletedPublication.ts +0 -17
- package/src/IScaffoldFileSnapshot.ts +0 -28
- package/src/IScaffoldParentPublicationRequest.ts +0 -29
- package/src/IScaffoldPartialFilePublicationOutcome.ts +0 -25
- package/src/IScaffoldPhysicalDirectory.ts +0 -22
- package/src/IScaffoldPosixConstants.ts +0 -30
- package/src/IScaffoldPublicationEntry.ts +0 -22
- package/src/IScaffoldPublicationFailure.ts +0 -18
- package/src/IScaffoldPublicationOptions.ts +0 -19
- package/src/IScaffoldPublicationReceipt.ts +0 -29
- package/src/IScaffoldRefusedFilePublicationOutcome.ts +0 -20
- package/src/IScaffoldSyncPlan.ts +0 -26
- package/src/IScaffoldSyncProps.ts +0 -16
- package/src/IWindowsFileInformation.ts +0 -24
- package/src/IWindowsLibrary.ts +0 -148
- package/src/SCAFFOLD_SYNC_STATE_FILE.ts +0 -5
- package/src/ScaffoldFilePublicationOutcome.ts +0 -18
- package/src/ScaffoldParentChangedError.ts +0 -14
- package/src/ScaffoldPublicationError.ts +0 -58
- package/src/assertOrdinaryFile.ts +0 -20
- package/src/assertOrdinarySingleLinkFile.ts +0 -26
- package/src/assertScaffoldOwnership.ts +0 -29
- package/src/assertScaffoldPhysicalDirectory.ts +0 -29
- package/src/attachScaffoldSyncState.ts +0 -30
- package/src/captureEmptyScaffoldPhysicalDirectory.ts +0 -45
- package/src/captureScaffoldFile.ts +0 -34
- package/src/captureScaffoldPhysicalDirectory.ts +0 -34
- package/src/combineScaffoldFailures.ts +0 -35
- package/src/createAutoMovieCatalogVersionResolver.ts +0 -117
- package/src/createScaffoldSyncState.ts +0 -33
- package/src/createScaffoldVariables.ts +0 -50
- package/src/ensureScaffoldBaseDirectory.ts +0 -55
- package/src/ensureScaffoldFileDirectory.ts +0 -75
- package/src/inside.ts +0 -25
- package/src/isScaffoldInstruction.ts +0 -29
- package/src/loadWindowsLibrary.ts +0 -277
- package/src/mergeScaffoldFiles.ts +0 -39
- package/src/missingPath.ts +0 -16
- package/src/nativeError.ts +0 -15
- package/src/openPosixParent.ts +0 -155
- package/src/openWindowsParent.ts +0 -305
- package/src/overwriteScaffoldFile.ts +0 -262
- package/src/physicalDirectoryIdentity.ts +0 -33
- package/src/physicalVersion.ts +0 -18
- package/src/planScaffoldPublication.ts +0 -100
- package/src/planScaffoldSync.ts +0 -122
- package/src/publishFiles.ts +0 -120
- package/src/publishNativeScaffoldFile.ts +0 -287
- package/src/publishScaffoldCandidate.ts +0 -94
- package/src/readAutoMovieScaffoldSources.ts +0 -82
- package/src/readScaffoldSyncFile.ts +0 -66
- package/src/renderScaffold.ts +0 -43
- package/src/renderScaffoldEntries.ts +0 -110
- package/src/renderScaffoldInstructions.ts +0 -22
- package/src/renderScaffoldLayer.ts +0 -38
- package/src/renderTemplate.ts +0 -62
- package/src/renderWorkspaceProductionScaffold.ts +0 -35
- package/src/renderWorkspaceScaffold.ts +0 -43
- package/src/replaceSharedScaffoldFile.ts +0 -88
- package/src/resolveAutoMovieCatalogVersion.ts +0 -27
- package/src/resolveAutoMovieTemplateDependencyVersions.ts +0 -70
- package/src/resolveScaffoldPosixConstants.ts +0 -50
- package/src/scaffoldAssetDirectory.ts +0 -30
- package/src/scaffoldPhysicalIdentity.ts +0 -21
- package/src/scaffoldSharedSkillDirectory.ts +0 -25
- package/src/syncScaffold.ts +0 -38
- package/src/writeFiles.ts +0 -48
- package/src/writeScaffoldFile.ts +0 -88
- package/src/writtenVersion.ts +0 -19
- /package/scaffold/instructions/.agents/skills/3d-modeling/{$crafting.md → $crafting} +0 -0
- /package/scaffold/instructions/.agents/skills/3d-modeling/{$diffusion.md → diffusion/$image-hints.md} +0 -0
- /package/scaffold/instructions/.agents/skills/3d-modeling/{$lofting.md → diffusion/$models.md} +0 -0
- /package/scaffold/instructions/.agents/skills/3d-modeling/{$recovery.md → diffusion/$prompts.md} +0 -0
- /package/scaffold/instructions/.agents/skills/{motion/$authoring.md → 3d-modeling/diffusion/$request.md} +0 -0
- /package/scaffold/instructions/.agents/skills/{motion/$contacts.md → 3d-modeling/diffusion/$shape-hints.md} +0 -0
- /package/scaffold/instructions/.agents/skills/motion/{$laws.md → laws/$authoring.md} +0 -0
- /package/scaffold/instructions/.agents/skills/motion/{$layers.md → laws/$contacts.md} +0 -0
- /package/scaffold/instructions/.agents/skills/motion/{$transitions.md → laws/$declaration.md} +0 -0
- /package/scaffold/instructions/.agents/skills/motion/{$variation.md → laws/$transitions.md} +0 -0
- /package/scaffold/instructions/.agents/skills/motion/{$verification.md → laws/$variation.md} +0 -0
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# Contacts and supports
|
|
2
|
-
|
|
3
|
-
A contact is where the body touches something and must not slip: a planted foot, a seat, a grip, a carried object, another performer.
|
|
4
|
-
|
|
5
|
-
## Windows and support frames
|
|
6
|
-
|
|
7
|
-
Each contact holds through a declared window: a plant, a seat, a grip, a rest or a hang. Each window names its support frame, the thing the contact rests on and moves with: the ground, a prop or another performer. Slip and penetration are measured in that frame, so a hand on a moving rail or a rider on a moving mount is not reported as sliding.
|
|
8
|
-
|
|
9
|
-
Release a support only after the next one bears the weight, as the heel lands before the other toe leaves and the feet bear the weight before the seat is left. Releasing first makes the body float or drop.
|
|
10
|
-
|
|
11
|
-
## Feet
|
|
12
|
-
|
|
13
|
-
Plant a foot at the point that actually touches: the ball, the heel, or both. Holding the ankle while the check reads the ball lets the ball drift as the foot pivots.
|
|
14
|
-
|
|
15
|
-
A heel lift rotates the foot about the metatarsophalangeal axis with the ball fixed in the world, the forefoot rocker of Perry's *Gait Analysis*. Measure swing clearance at the lowest point of the toe and sole, not at the ankle.
|
|
16
|
-
|
|
17
|
-
Plan travel as whole steps. A normal step is about 0.41 of stature (Murray, Drought and Kory 1964; Grieve and Gear 1966), and the first and last steps are shorter. Covering even a short distance in one stride splits the legs into a lunge.
|
|
18
|
-
|
|
19
|
-
## Held objects
|
|
20
|
-
|
|
21
|
-
At grip closure, store the object's pose in the hand's frame (inverse(hand) · object) and keep it fixed until release, as a parent constraint keeps its offset at activation. Re-deriving the offset during the hold lets the object drift in the hand and tilt when it is set down. Set an object down by giving the hand the goal that puts the object at its target pose through that stored offset.
|
|
22
|
-
|
|
23
|
-
A held object stays held across actions until an action takes that hand over to put it down, hand it on or use it. Until then the hand travels with the body and keeps its grip. Refuse an action that would use a holding hand for something else, because the object would be left in the air or dragged through a gesture.
|
|
24
|
-
|
|
25
|
-
At a handover:
|
|
26
|
-
|
|
27
|
-
- both hands hold through a shared window while the object's world pose blends from the giver to the receiver;
|
|
28
|
-
- the giver opens only after the receiver's grip has closed;
|
|
29
|
-
- every outcome that keeps the object, such as a withdrawn offer, keeps a hand on it until the object is set down.
|
|
30
|
-
|
|
31
|
-
## Contact between performers
|
|
32
|
-
|
|
33
|
-
Compute the shared target of a handshake, a handover or a clinch once, from both bodies' reach, and give it to each performer as its target. Two performers each aiming at where the other is chase each other.
|
|
34
|
-
|
|
35
|
-
Judge a contact against each performer's final displayed pose. A contact stop, the instant a moving limb is halted at contact, committed against a provisional pose lands at the wrong instant and lets one body pass into the other. When a contact stop changes what is displayed, resolve the contacts again against the new display, or resolve both performers together at each instant.
|
|
36
|
-
|
|
37
|
-
A contact stop changes the pose only. The action keeps its duration, its events and its decisive instant, such as an impact or a landing, so a partner and the sound still match it at the planned time. Resolve contacts that fall in the same span in time order, each later one seeing the earlier stops.
|
|
38
|
-
|
|
39
|
-
Measure penetration against each part's own collider, not against one radius shared by a whole limb.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Design an action as a law
|
|
2
|
-
|
|
3
|
-
A law takes a body, its parameters, the performer's skill, the state it is entered from and its targets. Give every law the parts below, because cuts, partners, sound and checks all rely on them.
|
|
4
|
-
|
|
5
|
-
## Plan once, evaluate by time
|
|
6
|
-
|
|
7
|
-
Decide everything an instance needs when it starts: its duration, its footprints, a flight path, a strike path. Each pose is then computed from that plan and a time alone. A law that decides while it plays gives playback one motion and a seek another. [Transitions](transitions.md#pose-as-a-function-of-time) gives what this demands of solvers and caches.
|
|
8
|
-
|
|
9
|
-
## Continue from the entry state
|
|
10
|
-
|
|
11
|
-
Plan from where the body is when the action starts: the displayed pose and its velocity, the feet on the floor, what the hands hold. The root, the planted feet and the effectors continue from there by the law's own planning, and [the transition](transitions.md#changing-action) carries only the joint offsets the law cannot plan from. A law that always starts from its own rest pose turns every transition into a visible correction.
|
|
12
|
-
|
|
13
|
-
## Declare events and the decisive instant
|
|
14
|
-
|
|
15
|
-
Name the instants other work depends on: the phases of the movement, the start and end of each contact, and the decisive instant when the action has one. The decisive instant is the frame the action exists for, such as an impact, a release, a catch or a landing. Cuts, a partner's timing, sound and review address the action through these names. Without them an action can only be cut or matched at a guessed fraction of its length, and the guess breaks when the duration changes with the body.
|
|
16
|
-
|
|
17
|
-
## Take the outcome as an input
|
|
18
|
-
|
|
19
|
-
When an action can end in different outcomes, such as a strike that lands, is blocked or misses, the outcome is decided before the geometry: by the caller who authored the scene, or by a declared rule over the participants' intents. Geometry then realizes that outcome and is checked against it. An outcome left to wherever the geometry happens to arrive changes when a body or a distance changes, and nobody chose the change.
|
|
20
|
-
|
|
21
|
-
## Scale time with the body
|
|
22
|
-
|
|
23
|
-
Take durations and speeds from the body, as distances already are. Bodies of different size move alike at equal Froude number, v²/(g·l) with l the leg length (Alexander 1984), so a pace is a Froude number and not a speed in meters per second. A fixed speed makes a small body run where a tall one strolls.
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# Layer what runs over every action
|
|
2
|
-
|
|
3
|
-
Gaze, breathing and displays of feeling run on top of whatever action the body performs. A layer adds its contribution to the action's pose. It never starts, cuts or ends an action, so an action plays the same with or without it.
|
|
4
|
-
|
|
5
|
-
A layer leaves every contact goal untouched, because planted feet and gripping hands are solved from those goals and must not slide. It uses the joints the action leaves free, such as the eyes, the head and the chest, or adds small offsets to the trunk that the [contact fits](authoring.md#order-the-fits) then absorb.
|
|
6
|
-
|
|
7
|
-
A layer that begins, ends or changes its target blends from where it is, never from neutral, so the head does not snap. Its timing and amplitude come from its own study and vary under [skill and seed](variation.md) like any action's.
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Time, transitions and redirection
|
|
2
|
-
|
|
3
|
-
An action rarely plays from start to end: it is cut into another, joins one, or has its target moved while it plays.
|
|
4
|
-
|
|
5
|
-
## Pose as a function of time
|
|
6
|
-
|
|
7
|
-
An action evaluates each pose from its plan and a time alone, which has two consequences for solvers and caches. A solver's reference pose comes from a fixed instant, such as the previous contact event of the plan (the events and windows an action resolves into), never from the frame before. A cached result is keyed only by exact event times, never by sampled frames. Either way, playback, seeking and capture at different rates still agree.
|
|
8
|
-
|
|
9
|
-
## Declared cuts
|
|
10
|
-
|
|
11
|
-
Each action declares its cuts: the actions it may be cut into, the window of each cut (a share of the action, or one of its events), where the target action is entered, and the transition kind. Refuse a cut the action does not list at the moment the plan is built, so an impossible change of plan surfaces before the film renders.
|
|
12
|
-
|
|
13
|
-
The kind follows what changes. A change to a different action [inertializes](#changing-action): it carries the difference in pose and velocity at the cut and lets it decay, instead of crossfading. A change of target within one family of movement [redirects](#changing-target-within-an-action). A cyclic movement that continues into another, such as a walk into a run, joins on the matching foot event, so the gait keeps its phase.
|
|
14
|
-
|
|
15
|
-
A cut also names what it carries unchanged: the stance foot's plant, a guard, a grip. The action cut into plans from that state as its entry.
|
|
16
|
-
|
|
17
|
-
## Changing action
|
|
18
|
-
|
|
19
|
-
At a cut into a different action, inertialize (Bollo 2018, "Inertialization: High-Performance Animation Transitions in Gears of War"). Each channel's offset x0 and velocity v0 are taken from both sides at the same instant and decayed together on Bollo's quintic polynomial. Where x0 and v0 have opposite signs, the decay time t1 is limited to t1 ≤ −5·x0/v0. Leaving out v0 keeps the pose continuous but breaks its velocity, which reads as a jerk at the cut.
|
|
20
|
-
|
|
21
|
-
Keep the offset off every limb that bears a contact. After the offset is applied, solve each planted foot and gripping hand onto its goal again, so the decay reaches only the free joints. A contact that takes part in the blend slides for as long as the blend lasts.
|
|
22
|
-
|
|
23
|
-
Blend angles in unwrapped form, along the shortest arc ((b − a + 180) mod 360 − 180), or blend in quaternions. A heading or twist that crosses ±180° and is differenced raw reports thousands of degrees per second where the limb barely moved.
|
|
24
|
-
|
|
25
|
-
## Changing target within an action
|
|
26
|
-
|
|
27
|
-
When the target of a reach or a strike moves mid-motion, superpose a second minimum-jerk unit from the old target to the new one on the running unit (Flash and Hogan 1985; Flash and Henis 1991), and let the solver follow the summed goal. Restarting the reach from rest discards the motion already under way.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Vary by parameters, skill and seed
|
|
2
|
-
|
|
3
|
-
Two takes of one action differ and a novice differs from an expert, yet the same take replays exactly. Parameters, skill and seed give all three.
|
|
4
|
-
|
|
5
|
-
## One law, many performances
|
|
6
|
-
|
|
7
|
-
A different performance of an action, such as a tired walk, a taller performer or a second take, is the same law at other parameters, another skill or another seed. Copying a law and editing its constants makes a variant that the next repair does not reach, so the copies drift apart. When a performance needs something the law cannot express, give the law that parameter with the study that bounds it.
|
|
8
|
-
|
|
9
|
-
## Skill moves measured quantities
|
|
10
|
-
|
|
11
|
-
Express skill as a value from novice to expert, and let each quantity of an action move between the novice and expert values its study measured: a phase duration, a peak speed, a reaction time, a scatter. Each family of actions takes these values from its own studies, because another family's numbers give a walker a boxer's timing. Name a quantity with no located study as provisional.
|
|
12
|
-
|
|
13
|
-
Skill changes how well the same action is done. It never widens a range of motion and never changes an outcome.
|
|
14
|
-
|
|
15
|
-
## Variability that holds across tasks
|
|
16
|
-
|
|
17
|
-
Scale each draw's spread by two regularities that hold across tasks. The variance of a timed interval is a constant motor part plus a part that grows with the interval (Wing and Kristofferson 1973). Endpoint scatter grows with the distance moved and shrinks with the movement time (Schmidt et al. 1979), because motor noise grows with the size of the command (Harris and Wolpert 1998).
|
|
18
|
-
|
|
19
|
-
## Draws that do not disturb each other
|
|
20
|
-
|
|
21
|
-
Take each random draw from a stream keyed by the seed and by stable identities: the performer, the action, its instance and the quantity drawn. Adding, removing or reordering one action then leaves every other draw unchanged. A single stream consumed in order changes the whole film when one action is inserted.
|
|
22
|
-
|
|
23
|
-
A seed varies the motion inside the bounds its study gives. It never chooses an outcome.
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Verify a motion
|
|
2
|
-
|
|
3
|
-
Give each action isolated cases. Each case's checks test the action's own goal as bounded assertions, in the unit tests or capture checks the project has:
|
|
4
|
-
|
|
5
|
-
- the distance from effector to target;
|
|
6
|
-
- penetration;
|
|
7
|
-
- slip of every planted or held contact;
|
|
8
|
-
- range-of-motion overshoot;
|
|
9
|
-
- balance, as the extrapolated center of mass against the support (Hof 2005);
|
|
10
|
-
- continuity of every displayed channel and of its velocity at every cut.
|
|
11
|
-
|
|
12
|
-
A case that only shows the action establishes nothing.
|
|
13
|
-
|
|
14
|
-
## Checks that can fail
|
|
15
|
-
|
|
16
|
-
A check states the bound it tests and tests exactly that bound. A value reported with no bound is a measurement, not a pass.
|
|
17
|
-
|
|
18
|
-
Measure the displayed result, never the plan's own output. A check that compares two outputs of the same plan, or reads back the target the plan reached, cannot catch the plan being wrong.
|
|
19
|
-
|
|
20
|
-
Check slip and penetration at a rate that cannot step over the contact, because a strike or a plant can begin and end between two output frames.
|
|
21
|
-
|
|
22
|
-
Take every bound from the requirement or its study. Widening a bound until a case passes hides the defect the case exists to find.
|
|
23
|
-
|
|
24
|
-
Run the cases across bodies of different statures and proportions, and against different partners and props, because a pass on one body establishes nothing about another. Cut each action at every window it declares for a cut, and move its target mid-motion where it tracks one, because films use an action where it is interrupted.
|
|
25
|
-
|
|
26
|
-
## Look at the frames
|
|
27
|
-
|
|
28
|
-
Review stills of every case, in order, from several named views, with a joint overlay where the project's capture offers one and with every held prop drawn at every frame. Numbers alone miss what a still shows at once: a carry crossed in one split lunge, or a bottle that is not where the hand is.
|
|
29
|
-
|
|
30
|
-
Sample the stills in time as [capture](../visual-debugging/capture.md#times) sets.
|
|
31
|
-
|
|
32
|
-
## Judge rounds honestly
|
|
33
|
-
|
|
34
|
-
Keep each round's capture as [capture](../visual-debugging/capture.md#rounds) sets, and keep a round only as [correction rounds](../visual-debugging/correction-rounds.md#compare-again) allow.
|
|
35
|
-
|
|
36
|
-
Unit tests of the laws answer the [testing contract](../contracts/development/testing.md).
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: prompting
|
|
3
|
-
description: Owns what makes an instruction for an agent work, namely what to state, reasons, one owner per rule, routing to packages, the layout and splitting of skills, what a shared skill may hold and how a prompt is verified. Use before changing AGENTS.md, CLAUDE.md or a skill.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Prompting
|
|
7
|
-
|
|
8
|
-
Every prompt follows the documentation skill's [Writing](../documentation/writing.md) rules. The rules here are what makes an instruction for an agent work.
|
|
9
|
-
|
|
10
|
-
The best skill is one a person finds orderly at a glance and understands at once, because structure and wording that serve a human reader serve the agent too. Test a changed skill by reading it top to bottom as someone new to the project, and fix whatever makes that reader slow down, reread or hunt for where a rule lives.
|
|
11
|
-
|
|
12
|
-
Before editing a prompt, fetch and read in full the current prompting guide for the model that will read it, rather than recalling it, because it changes with each model. Where it disagrees with the user's rules in this repository, the user's rules win.
|
|
13
|
-
|
|
14
|
-
## What to state
|
|
15
|
-
|
|
16
|
-
State only facts the code does not show, rules the user set, and mistakes an agent made. Leave dates and history to git.
|
|
17
|
-
|
|
18
|
-
The writing rules ask for a reason when it is not obvious. For a consequential instruction, the reason also says who loses what when it is missed, and it sits in the instruction the recipient reads, because a source comment or an unexplained prohibition cannot guide a case the instruction did not list.
|
|
19
|
-
|
|
20
|
-
Keep method choices open unless the failure requires a particular order or boundary.
|
|
21
|
-
|
|
22
|
-
## One owner
|
|
23
|
-
|
|
24
|
-
Give each rule one owner, in one section of one file, and let every other place link to it, so a task receives one consistent requirement. Update a rule's callers when moving it.
|
|
25
|
-
|
|
26
|
-
## Packages
|
|
27
|
-
|
|
28
|
-
A skill routes to a package and stops there; naming the package is the routing. It carries no function name, command line or file path that a package owns, and it lists no package's features, because a copy in a skill cannot be kept in step with the package. The package's README and types own them.
|
|
29
|
-
|
|
30
|
-
## Skills and contracts
|
|
31
|
-
|
|
32
|
-
A skill gives a job's goal, order and boundaries, and points to the checklists it relies on without restating their items.
|
|
33
|
-
|
|
34
|
-
An agent does not reliably follow long, detailed or conditional prose. A rule that every declaration must meet therefore belongs in a [contracts](../contracts/SKILL.md) checklist as one question under its own H2. Evidence makes each selected declaration answer it, and [review](../review/SKILL.md) checks that the answer is true and complete.
|
|
35
|
-
|
|
36
|
-
Group judgments the agent can make together, and split them when their task, respondent (whoever answers the question) or repair owner differs. Keep overall achievement distinct from passing its detailed tests.
|
|
37
|
-
|
|
38
|
-
## Layout
|
|
39
|
-
|
|
40
|
-
### Entry files
|
|
41
|
-
|
|
42
|
-
[`AGENTS.md`](../../../AGENTS.md) holds what every session needs, in under 200 lines, and lists every top-level skill with its trigger, because Claude Code finds skills only there. [`CLAUDE.md`](../../../CLAUDE.md) is `@AGENTS.md`.
|
|
43
|
-
|
|
44
|
-
### Skill files
|
|
45
|
-
|
|
46
|
-
A skill is `.agents/skills/<name>/SKILL.md`, with `name` equal to the directory and a third-person `description` that says what it does and when to use it. A job with its own trigger gets its own skill.
|
|
47
|
-
|
|
48
|
-
### Splitting a skill
|
|
49
|
-
|
|
50
|
-
`SKILL.md` stays a short overview: what the skill is for, when to read it, and which resource each task needs. An agent loads it on every use of the skill, so everything in it that the task at hand does not need costs attention on every task.
|
|
51
|
-
|
|
52
|
-
Split when any of these shows:
|
|
53
|
-
|
|
54
|
-
- several unrelated branches sit in one file;
|
|
55
|
-
- a branch only some tasks take;
|
|
56
|
-
- a length the opening can no longer introduce.
|
|
57
|
-
|
|
58
|
-
A branch moves into a sibling file. A group of files with one purpose moves into a subfolder with its own routing `SKILL.md`, at any depth, whose `name` joins the parent's and the folder's, such as `story-planning`.
|
|
59
|
-
|
|
60
|
-
Each sibling file has:
|
|
61
|
-
|
|
62
|
-
- a name that states its subject, so a reader picks it from the listing alone;
|
|
63
|
-
- an opening that states its subject, in its own words;
|
|
64
|
-
- a direct link from its router, never a chain more than one step long.
|
|
65
|
-
|
|
66
|
-
### Helpers
|
|
67
|
-
|
|
68
|
-
Put repeated deterministic operations in tested helpers, reusing existing tools before adding another. Link their task-specific invocation from the relevant guide, and take examples from working consumers rather than copying their implementation into the prompt.
|
|
69
|
-
|
|
70
|
-
## Shared skills {#shared-skills}
|
|
71
|
-
|
|
72
|
-
A skill shared with other projects, such as one a project template ships, holds only what is universal, orthodox and valid in every receiving project, because each of them follows it as written. It names tools, owners and records by their role, and leaves one project's paths, packages and decisions to that project's own skills.
|
|
73
|
-
|
|
74
|
-
## Verification
|
|
75
|
-
|
|
76
|
-
Check that links resolve, triggers reach their resources and each rule has one owner. Compare the instructions with a real governed task and its actual consumers.
|
|
77
|
-
|
|
78
|
-
When a separate context is available and authorized, give it the task and raw inputs without the intended answer and observe its choices.
|
|
79
|
-
|
|
80
|
-
Report static inspection, behavioral observation and unavailable checks separately. Explaining a rule does not prove another session follows it.
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# Capture
|
|
2
|
-
|
|
3
|
-
A capture is the stills, contact sheets and manifest that one plan produces. This document owns the instrument that draws them, the conditions that make them repeatable, and the choice of subject, views and times.
|
|
4
|
-
|
|
5
|
-
## The instrument
|
|
6
|
-
|
|
7
|
-
The viewer and its capture are the instrument. Restore a broken one before other work, because every judgment of a picture passes through it. Confirm the adopted scene, its required subjects, the current displayed artifact and relevant controls, seeking, playback and capture through the actual consumer, and protect other owners' processes meanwhile.
|
|
8
|
-
|
|
9
|
-
Repair a missing capability at the owner of that capability, then reconnect and verify the actual consumer; a build, a server response or an unrelated demonstration alone does not prove recovery. A view, pass or selection that the judgment needs and the instrument lacks is a missing capability too.
|
|
10
|
-
|
|
11
|
-
## Plan
|
|
12
|
-
|
|
13
|
-
Before capturing, write what the stills must show as questions with a yes or no answer, such as whether every leg reaches the floor or whether the fist arrives before the head turns, and answer each from the stills. An overall impression passes over what a definite question finds.
|
|
14
|
-
|
|
15
|
-
The questions fix the capture's cells. A cell is one still, fixed by its subject, its time or pose, its view and its [pass](passes.md). Plan every cell the questions need before drawing any, so one run gathers the whole round's evidence.
|
|
16
|
-
|
|
17
|
-
## Conditions
|
|
18
|
-
|
|
19
|
-
Capture the actual consumer with current source, and record what repeats the observation: the source revision, asset identities, input, time or pose, resolved camera, light, pass, raster size, renderer and detail settings.
|
|
20
|
-
|
|
21
|
-
The renderer is one of the conditions. A simplified renderer establishes pose, contact, staging and silhouette; material, lighting, shadow and texture are judged on the renderer that draws the delivered picture.
|
|
22
|
-
|
|
23
|
-
A result holds for the use its capture covered; broader reuse needs broader subjects, views, times and states.
|
|
24
|
-
|
|
25
|
-
## Subject
|
|
26
|
-
|
|
27
|
-
A unit that passes alone can fail against its neighbor, and close-ups that each pass can add up to a whole that fails at first sight, so choose the selections the questions need from all of these:
|
|
28
|
-
|
|
29
|
-
- the whole, as a viewer first meets it;
|
|
30
|
-
- each unit alone;
|
|
31
|
-
- each unit with the neighbors it touches or shares a boundary with;
|
|
32
|
-
- each defect's region.
|
|
33
|
-
|
|
34
|
-
Select by the groups and parts the subject's own definition names. Confirm from the capture's record that each selection matched what was meant, because an empty selection draws a still with no defect in it. Keep enough of the reference or the neighbors visible to read placement and depth.
|
|
35
|
-
|
|
36
|
-
## Views
|
|
37
|
-
|
|
38
|
-
Name each view so that it repeats: a direction, a distance or scale and a target, or the delivery's own camera. Front and side alone hide what faces neither, so add the back, the top, the quarters and the high and low obliques the subject needs. To tell a wrong bend from a foreshortened one, capture the same cells from a second view.
|
|
39
|
-
|
|
40
|
-
Frame a close-up on the affected region from outside the subject. A view that fits itself to its subject resolves to another camera when the subject changes, so the record keeps the resolved camera for a later [comparison](comparison.md#match-the-cells).
|
|
41
|
-
|
|
42
|
-
## Times
|
|
43
|
-
|
|
44
|
-
A moving picture is read as stills in time order. Sample it at five to ten stills per second, the denser end where more happens, because at a sparser spacing the stills no longer show how one pose becomes the next.
|
|
45
|
-
|
|
46
|
-
Around every contact, cut, join and decisive instant, capture the output's own consecutive frames, because a contact shorter than the gap between two stills leaves an arm out and an arm back with nothing wrong between them. A few sparse stills never replace those frames.
|
|
47
|
-
|
|
48
|
-
Sample an encoded or generated file from the file itself, at the same seconds as its source, because stills of the source cannot show what the file holds.
|
|
49
|
-
|
|
50
|
-
A reviewer who sees a moving picture only as stills says so, and claims nothing about how it plays that the stills do not show.
|
|
51
|
-
|
|
52
|
-
## Stills and sheets
|
|
53
|
-
|
|
54
|
-
Read a contact sheet first for the whole capture, with each cell captioned by what fixes it. A sheet shrinks every still, so open the full-size still wherever a contact, a joint, a seam or a small part decides the judgment.
|
|
55
|
-
|
|
56
|
-
A cell that could not be drawn stays on the sheet with its cause and stays unverified; an uncomputed subject is unavailable evidence.
|
|
57
|
-
|
|
58
|
-
## Rounds
|
|
59
|
-
|
|
60
|
-
Keep each round's capture apart from the next, under a name that states its round or revision, with its manifest. Where a tool writes every run to the same place, copy the round out before the next run, and judge a rerun by the time of the files it wrote.
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Correction rounds
|
|
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 document owns that order.
|
|
4
|
-
|
|
5
|
-
## Measure, then look
|
|
6
|
-
|
|
7
|
-
Settle by measurement what a number decides, because an eye on a picture misjudges position, depth and timing. The skill of each subject names its measures. Then [plan the capture](capture.md#plan) from questions with a yes or no answer.
|
|
8
|
-
|
|
9
|
-
## Inspect before editing
|
|
10
|
-
|
|
11
|
-
Inspect the whole affected subject at every scale before changing anything: the whole, its regions, its neighbors and its close-ups, from every needed view and at every needed time. Write down every observed defect with its cell and its conditions.
|
|
12
|
-
|
|
13
|
-
## Trace the causes
|
|
14
|
-
|
|
15
|
-
Trace causes through generation and display, including shared boundaries and derived outputs. Where causes or their interactions are unclear, plan the controlled [comparisons](comparison.md) that separate them as one set, run the whole set without changing the source, and record the results. Map each proposed change to all defects and parts it affects.
|
|
16
|
-
|
|
17
|
-
## Fix in one change
|
|
18
|
-
|
|
19
|
-
Fix all identified causes in one combined change at their sources, and judge it on the assembled subject. A cause that crosses an ownership boundary is changed by both owners in the same round.
|
|
20
|
-
|
|
21
|
-
This procedure replaces these whack-a-mole patterns, however cheap a capture is:
|
|
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.
|
|
27
|
-
|
|
28
|
-
## Compare again
|
|
29
|
-
|
|
30
|
-
Repeat the round's capture after the change and [compare](comparison.md) it with the earlier one across every affected part, view, time, identity, resolution and motion state, checking both the recorded defects and regressions. Account for every recorded defect before accepting the round; new or unexplained defects keep it open.
|
|
31
|
-
|
|
32
|
-
When a fix is tried in rounds, keep a round only if nothing got worse than in the best earlier round, and record every remaining failure with its numbers.
|
|
33
|
-
|
|
34
|
-
Look at the new capture yourself. Stale, blank or unobserved output stays unverified.
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Passes
|
|
2
|
-
|
|
3
|
-
A pass is what a cell draws of its subject. This document owns choosing passes, keeping them matched and marking what a measurement found.
|
|
4
|
-
|
|
5
|
-
## Choose by the question
|
|
6
|
-
|
|
7
|
-
| Question | Pass |
|
|
8
|
-
| --- | --- |
|
|
9
|
-
| How the result looks to its audience | The finished picture from the delivery's renderer |
|
|
10
|
-
| Why a surface has its shape | The construction that generated it |
|
|
11
|
-
| What one quantity is across the picture | A structural pass that draws only that quantity, such as depth, normals, a mask, weights or curvature |
|
|
12
|
-
| Where joints, contacts, targets and paths are | An overlay of them on the picture |
|
|
13
|
-
| What a receiver is given | The guide pass itself, read through the receiver's input path |
|
|
14
|
-
|
|
15
|
-
Use a structural pass only for the quantity it documents, and read its range and convention before reading its colors. A plausible image does not establish that a pass holds what its name says.
|
|
16
|
-
|
|
17
|
-
## Keep passes matched
|
|
18
|
-
|
|
19
|
-
Draw every pass of a set from the same evaluated state, at the same subjects, views and times, so two passes of one cell differ only in what they draw. Switching pass must not advance or restart motion, and each pass returns the scene and renderer state it borrowed.
|
|
20
|
-
|
|
21
|
-
A layer drawn over another shares its camera exactly. A layer drawn through a surface says so in its caption, because a line seen through a surface reads as lying on it.
|
|
22
|
-
|
|
23
|
-
## Mark what a measurement found
|
|
24
|
-
|
|
25
|
-
A measurement that finds a defect knows where it is. Draw that place on the subject in a color the pass uses for nothing else, with a legend naming each color's finding, so the reviewer looks at the defect instead of searching the picture for a number from a report.
|
|
26
|
-
|
|
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
|
-
|
|
29
|
-
A marked still shows where a measurement fired, never that the unmarked rest is right.
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Rendering cost
|
|
2
|
-
|
|
3
|
-
Measure rendering cost at the intended resolution, asset population and motion load. Separate startup or compilation, motion evaluation, transform updates and drawing from capture and encoding, so a repair addresses the actual bottleneck.
|
|
4
|
-
|
|
5
|
-
When a lower-specification host is a requirement, observe that host or report it as untested; a coarser mesh alone does not establish acceptable memory or frame time. Keep measured budgets and accepted visual compromises where the project records its decisions.
|
package/lib/syncScaffold.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { IScaffoldPublicationReceipt } from "./IScaffoldPublicationReceipt";
|
|
2
|
-
import type { IScaffoldSyncPlan } from "./IScaffoldSyncPlan";
|
|
3
|
-
import type { IScaffoldSyncProps } from "./IScaffoldSyncProps";
|
|
4
|
-
/**
|
|
5
|
-
* Applies an explicit, conflict-free generated-instruction update.
|
|
6
|
-
*
|
|
7
|
-
* @evidence contracts/development/implementation.md#principled-implementation A complete fresh plan precedes any write; current-generation preconditions bind replacements, and the baseline is published only after all content succeeds.
|
|
8
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This coordinator reuses the existing publication receipts and native file ownership checks rather than implement another writer.
|
|
9
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Dry runs and any conflict write nothing; partial publication retains its truthful receipt and is never retried or rolled back.
|
|
10
|
-
* @evidence contracts/development/common.md#meaningful-documentation The result distinguishes conflicted, planned, unchanged and actual publication outcomes, including every retained retired path.
|
|
11
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Planning dominates byte scans; publication writes/readbacks only changed files and the final state.
|
|
12
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Unchanged instructions are omitted from the candidate; effectful publication and filesystem planning are never reused across calls.
|
|
13
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller receives the plan and optional receipt; mature publication owners attempt descriptor release and preserve close/partial failures.
|
|
14
|
-
*/
|
|
15
|
-
export declare function syncScaffold(props: IScaffoldSyncProps): {
|
|
16
|
-
status: "conflicted" | "planned" | "unchanged" | IScaffoldPublicationReceipt["status"];
|
|
17
|
-
plan: IScaffoldSyncPlan;
|
|
18
|
-
receipt?: IScaffoldPublicationReceipt;
|
|
19
|
-
};
|
package/lib/syncScaffold.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.syncScaffold = syncScaffold;
|
|
4
|
-
const planScaffoldSync_1 = require("./planScaffoldSync");
|
|
5
|
-
const publishFiles_1 = require("./publishFiles");
|
|
6
|
-
/**
|
|
7
|
-
* Applies an explicit, conflict-free generated-instruction update.
|
|
8
|
-
*
|
|
9
|
-
* @evidence contracts/development/implementation.md#principled-implementation A complete fresh plan precedes any write; current-generation preconditions bind replacements, and the baseline is published only after all content succeeds.
|
|
10
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This coordinator reuses the existing publication receipts and native file ownership checks rather than implement another writer.
|
|
11
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Dry runs and any conflict write nothing; partial publication retains its truthful receipt and is never retried or rolled back.
|
|
12
|
-
* @evidence contracts/development/common.md#meaningful-documentation The result distinguishes conflicted, planned, unchanged and actual publication outcomes, including every retained retired path.
|
|
13
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Planning dominates byte scans; publication writes/readbacks only changed files and the final state.
|
|
14
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Unchanged instructions are omitted from the candidate; effectful publication and filesystem planning are never reused across calls.
|
|
15
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller receives the plan and optional receipt; mature publication owners attempt descriptor release and preserve close/partial failures.
|
|
16
|
-
*/
|
|
17
|
-
function syncScaffold(props) {
|
|
18
|
-
const plan = (0, planScaffoldSync_1.planScaffoldSync)(props);
|
|
19
|
-
if (plan.conflicts.length > 0)
|
|
20
|
-
return { status: "conflicted", plan };
|
|
21
|
-
if (props.check)
|
|
22
|
-
return { status: "planned", plan };
|
|
23
|
-
if (Object.keys(plan.files).length === 0)
|
|
24
|
-
return { status: "unchanged", plan };
|
|
25
|
-
const receipt = (0, publishFiles_1.publishFiles)(plan.location, plan.files, { force: true, expected: plan.expected });
|
|
26
|
-
return { status: receipt.status, plan, receipt };
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=syncScaffold.js.map
|
package/lib/syncScaffold.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"syncScaffold.js","sourceRoot":"","sources":["../src/syncScaffold.ts"],"names":[],"mappings":";;;AAGA,yDAAsD;AACtD,iDAA8C;AAE9C;;;;;;;;;;GAUG;AACH,sBAA6B,KAAyB;IASpD,MAAM,IAAI,GAAsB,IAAA,mCAAgB,EAAC,KAAK,CAAC,CAAC;IACxD,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;IACrE,IAAI,KAAK,CAAC,KAAK;QAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;IACpD,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC;QACtC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;IACvC,MAAM,OAAO,GAAgC,IAAA,2BAAY,EACvD,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,KAAK,EACV,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CACzC,CAAC;IACF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AACnD,CAAC"}
|
package/lib/writeFiles.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type IScaffoldPublicationOptions } from "./IScaffoldPublicationOptions";
|
|
2
|
-
/**
|
|
3
|
-
* Write a path-to-text map under `location` and return the absolute paths written, sorted by UTF-16 code unit.
|
|
4
|
-
*
|
|
5
|
-
* This is the throwing form of {@link publishFiles}: it applies the same validation and writes, and throws {@link ScaffoldPublicationError} when the receipt is not `completed`. Files written before the failure are left in place. Rendering the map is {@link renderScaffold}'s job.
|
|
6
|
-
*
|
|
7
|
-
* @param location Target directory, resolved against the working directory.
|
|
8
|
-
* @param files UTF-8 text keyed by paths resolved against `location`; absolute keys are admitted when their targets remain below it.
|
|
9
|
-
* @param options `force` admits a populated directory and in-place replacement.
|
|
10
|
-
* @returns Absolute paths of every file written, sorted.
|
|
11
|
-
*
|
|
12
|
-
* @evidence contracts/development/implementation.md#principled-implementation The comparator uses the string relational operators, which compare UTF-16 code units independent of locale, so the returned order is the same on every host; `localeCompare` would vary with the host's ICU data.
|
|
13
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure The function adds only the throw and the sort to `publishFiles`, so validation and writing have one implementation.
|
|
14
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Files written before a failure are not deleted, because removal through a pathname could reach a different file; the receipt in the thrown error says what remains.
|
|
15
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states the relation to `publishFiles`, the thrown error, that earlier files stay on failure, the sort order, and the meaning of each parameter.
|
|
16
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Beyond `publishFiles`, the cost is one map and one comparison sort of the written paths, n log n in file count.
|
|
17
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This wrapper performs one publication per call; repeating a call repeats its writes as the effects require.
|
|
18
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The receipt is released when the function returns unless it travels inside the thrown error; only the path array is returned, and `publishFiles` owns every descriptor.
|
|
19
|
-
*/
|
|
20
|
-
export declare const writeFiles: (location: string, files: Record<string, string>, options?: IScaffoldPublicationOptions) => string[];
|
package/lib/writeFiles.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.writeFiles = void 0;
|
|
4
|
-
const ScaffoldPublicationError_1 = require("./ScaffoldPublicationError");
|
|
5
|
-
const publishFiles_1 = require("./publishFiles");
|
|
6
|
-
/**
|
|
7
|
-
* Write a path-to-text map under `location` and return the absolute paths written, sorted by UTF-16 code unit.
|
|
8
|
-
*
|
|
9
|
-
* This is the throwing form of {@link publishFiles}: it applies the same validation and writes, and throws {@link ScaffoldPublicationError} when the receipt is not `completed`. Files written before the failure are left in place. Rendering the map is {@link renderScaffold}'s job.
|
|
10
|
-
*
|
|
11
|
-
* @param location Target directory, resolved against the working directory.
|
|
12
|
-
* @param files UTF-8 text keyed by paths resolved against `location`; absolute keys are admitted when their targets remain below it.
|
|
13
|
-
* @param options `force` admits a populated directory and in-place replacement.
|
|
14
|
-
* @returns Absolute paths of every file written, sorted.
|
|
15
|
-
*
|
|
16
|
-
* @evidence contracts/development/implementation.md#principled-implementation The comparator uses the string relational operators, which compare UTF-16 code units independent of locale, so the returned order is the same on every host; `localeCompare` would vary with the host's ICU data.
|
|
17
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure The function adds only the throw and the sort to `publishFiles`, so validation and writing have one implementation.
|
|
18
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Files written before a failure are not deleted, because removal through a pathname could reach a different file; the receipt in the thrown error says what remains.
|
|
19
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states the relation to `publishFiles`, the thrown error, that earlier files stay on failure, the sort order, and the meaning of each parameter.
|
|
20
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Beyond `publishFiles`, the cost is one map and one comparison sort of the written paths, n log n in file count.
|
|
21
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This wrapper performs one publication per call; repeating a call repeats its writes as the effects require.
|
|
22
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The receipt is released when the function returns unless it travels inside the thrown error; only the path array is returned, and `publishFiles` owns every descriptor.
|
|
23
|
-
*/
|
|
24
|
-
const writeFiles = (location, files, options) => {
|
|
25
|
-
const receipt = (0, publishFiles_1.publishFiles)(location, files, options);
|
|
26
|
-
if (receipt.status !== "completed")
|
|
27
|
-
throw new ScaffoldPublicationError_1.ScaffoldPublicationError(receipt);
|
|
28
|
-
return receipt.completed
|
|
29
|
-
.map(({ entry }) => entry.target)
|
|
30
|
-
.sort((left, right) => left < right ? -1 : left > right ? 1 : 0);
|
|
31
|
-
};
|
|
32
|
-
exports.writeFiles = writeFiles;
|
|
33
|
-
//# sourceMappingURL=writeFiles.js.map
|
package/lib/writeFiles.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"writeFiles.js","sourceRoot":"","sources":["../src/writeFiles.ts"],"names":[],"mappings":";;;AAEA,yEAAsE;AACtE,iDAA8C;AAE9C;;;;;;;;;;;;;;;;;GAiBG;AACI,MAAM,UAAU,GAIP,CACd,QAAgB,EAChB,KAA6B,EAC7B,OAAqC,EAC3B,EAAE;IACZ,MAAM,OAAO,GAAgC,IAAA,2BAAY,EACvD,QAAQ,EACR,KAAK,EACL,OAAO,CACR,CAAC;IACF,IAAI,OAAO,CAAC,MAAM,KAAK,WAAW;QAChC,MAAM,IAAI,mDAAwB,CAAC,OAAO,CAAC,CAAC;IAC9C,OAAO,OAAO,CAAC,SAAS;SACrB,GAAG,CACF,CAAC,EAAE,KAAK,EAAoD,EAAU,EAAE,CACtE,KAAK,CAAC,MAAM,CACf;SACA,IAAI,CAAC,CAAC,IAAY,EAAE,KAAa,EAAU,EAAE,CAC5C,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CACzC,CAAC;AACN,CAAC,CAAC;AAxBW,QAAA,UAAU,GAAV,UAAU,CAwBrB"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { type IScaffoldFileSnapshot } from "./IScaffoldFileSnapshot";
|
|
2
|
-
import { type IScaffoldPhysicalDirectory } from "./IScaffoldPhysicalDirectory";
|
|
3
|
-
import { type ScaffoldFilePublicationOutcome } from "./ScaffoldFilePublicationOutcome";
|
|
4
|
-
/**
|
|
5
|
-
* Write one scaffold file into a captured parent directory and report the effect.
|
|
6
|
-
*
|
|
7
|
-
* A missing file is created through {@link publishNativeScaffoldFile}, relative to a handle on `parent`. With `force`, an existing ordinary file that exactly one directory entry names is rewritten in place: the descriptor that truncates it must stay the file the pathname names before the truncation, after the write, and after the final readback. An existing ordinary file that other entries also name, such as a build cache's hard link, is never truncated; {@link replaceSharedScaffoldFile} renames a verified new file over its entry, so the other names keep the old bytes. Without `force`, an existing file meets the exclusive create and is refused as `target-competitor`.
|
|
8
|
-
*
|
|
9
|
-
* An in-place rewrite reports `refused` (`create-failed`) for any failure before truncation and `partial` with the bytes written for any failure after it. A link to the file created between the descriptor's link-count check and the truncation is not seen, and the rewrite then reaches it.
|
|
10
|
-
*
|
|
11
|
-
* @param props.base Captured scaffold root; `parent` must lie inside it.
|
|
12
|
-
* @param props.bytes Exact file content.
|
|
13
|
-
* @param props.force Rewrite an existing file instead of refusing it.
|
|
14
|
-
* @param props.expected Earlier inspected generation, or null requiring absence; an existing replacement stays bound to this generation through truncation.
|
|
15
|
-
* @param props.parent Captured directory that must be `target`'s parent.
|
|
16
|
-
* @param props.target Path of the file.
|
|
17
|
-
* @returns The frozen outcome.
|
|
18
|
-
* @throws Before any write, when `target` is not directly inside `parent`, when `base` or `parent` fails revalidation, or, with `force`, when an existing `target` is a symbolic link or not a regular file.
|
|
19
|
-
*
|
|
20
|
-
* @evidence contracts/development/implementation.md#principled-implementation A new file uses the native exclusive create relative to the parent handle, which cannot follow a link or replace an entry; an existing file is rewritten through `ftruncate` and positioned writes on one descriptor, and every check compares that descriptor's identity, size, and modification time with a fresh pathname capture, leaving the change time out because Windows moves it when this module's own verification opens the file; the link race named in the comment is the unresolved limitation.
|
|
21
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This function chooses create versus replacement and checks ownership against base; publishNativeScaffoldFile owns handle-relative creation and overwriteScaffoldFile owns the replacement descriptor sequence.
|
|
22
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A failed rewrite is never cleaned up or retried; it is reported as `refused` or `partial` from whether truncation happened, and a multiply linked file is never rewritten in place, because that would change every other name for it; its entry is replaced instead.
|
|
23
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states both paths, the admission for a rewrite, the refusal without `force`, how failures map to outcomes, the remaining race, each parameter, and what throws before any write.
|
|
24
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms A create costs what `publishNativeScaffoldFile` costs; a rewrite is one write pass and one readback pass over the file plus a constant number of stats and pathname opens, linear in its size.
|
|
25
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Every call writes one file and re-observes it, which is an effect that must not be shared; directory captures it receives are reused by the caller's cache.
|
|
26
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Replacement delegates writer and resident descriptors to overwriteScaffoldFile, while creation delegates handles to publishNativeScaffoldFile; both attempt release on every outcome and preserve close errors without promising release after a failed close. This dispatch retains no handle itself.
|
|
27
|
-
*/
|
|
28
|
-
export declare const writeScaffoldFile: (props: {
|
|
29
|
-
base: IScaffoldPhysicalDirectory;
|
|
30
|
-
bytes: Uint8Array;
|
|
31
|
-
force: boolean;
|
|
32
|
-
expected?: IScaffoldFileSnapshot | null;
|
|
33
|
-
parent: IScaffoldPhysicalDirectory;
|
|
34
|
-
target: string;
|
|
35
|
-
}) => ScaffoldFilePublicationOutcome;
|