@automovie/template 0.0.0 → 0.2.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/{lib → generated}/skills/3d-modeling/conditioning.md +24 -27
- package/generated/skills/3d-modeling/crafting/SKILL.md +16 -0
- package/generated/skills/3d-modeling/crafting/construction.md +70 -0
- package/generated/skills/3d-modeling/crafting/lofting.md +73 -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 +27 -0
- package/generated/skills/3d-modeling/diffusion/prompts.md +9 -0
- package/generated/skills/3d-modeling/diffusion/request.md +16 -0
- package/generated/skills/3d-modeling/diffusion/shape-hints.md +31 -0
- package/generated/skills/3d-modeling/inspection.md +55 -0
- package/generated/skills/3d-modeling/modularization.md +25 -0
- package/{lib → generated}/skills/3d-modeling/rigging.md +21 -27
- package/{lib → generated}/skills/3d-modeling/sources.md +6 -6
- package/{lib → generated}/skills/contracts/development/design.md +2 -3
- package/{lib → generated}/skills/contracts/development/implementation.md +4 -4
- package/{lib → generated}/skills/contracts/development/testing.md +1 -1
- package/generated/skills/development/repair.md +13 -0
- package/{lib → generated}/skills/documentation/SKILL.md +2 -8
- package/generated/skills/documentation/writing.md +63 -0
- package/{lib/skills/motion → generated/skills/motion/laws}/authoring.md +13 -9
- package/{lib/skills/motion → generated/skills/motion/laws}/contacts.md +3 -1
- package/{lib/skills/motion/laws.md → generated/skills/motion/laws/declaration.md} +8 -8
- package/generated/skills/motion/laws/transitions.md +37 -0
- package/{lib/skills/motion → generated/skills/motion/laws}/variation.md +5 -5
- package/{lib/skills/motion → generated/skills/motion/laws}/verification.md +7 -13
- package/generated/skills/prompting/SKILL.md +82 -0
- package/{lib → generated}/skills/visual-debugging/capture.md +13 -11
- package/{lib → generated}/skills/visual-debugging/comparison.md +7 -9
- package/{lib → generated}/skills/visual-debugging/correction-rounds.md +13 -13
- package/{lib → generated}/skills/visual-debugging/passes.md +9 -9
- 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 +145 -0
- package/lib/createAutoMovieScaffold.js.map +1 -0
- package/lib/index.d.ts +1 -45
- package/lib/index.js +1 -45
- package/lib/index.js.map +1 -1
- package/lib/listAutoMovieScaffoldFiles.d.ts +2 -2
- package/lib/listAutoMovieScaffoldFiles.js +2 -2
- package/package.json +9 -12
- package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +14 -11
- package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +7 -9
- package/scaffold/instructions/.agents/skills/3d-modeling/diffusion/SKILL.md +20 -0
- package/scaffold/instructions/.agents/skills/audio/SKILL.md +10 -21
- package/scaffold/instructions/.agents/skills/audio/acquisition.md +24 -12
- package/scaffold/instructions/.agents/skills/audio/film-sound.md +25 -0
- package/scaffold/instructions/.agents/skills/audio/generated-sound.md +15 -0
- package/scaffold/instructions/.agents/skills/audio/sound-effects.md +11 -17
- package/scaffold/instructions/.agents/skills/audio/soundtrack.md +5 -0
- package/scaffold/instructions/.agents/skills/contracts/SKILL.md +10 -16
- package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +5 -5
- package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +5 -7
- package/scaffold/instructions/.agents/skills/contracts/development/composition.md +12 -8
- package/scaffold/instructions/.agents/skills/contracts/development/entities.md +7 -6
- package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +20 -20
- package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +18 -16
- package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +13 -12
- package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +13 -15
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +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 +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +6 -6
- 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 +2 -2
- 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 +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +4 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +4 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +3 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +4 -4
- 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 +2 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +4 -4
- 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 +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +4 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +7 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +3 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +4 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +5 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +37 -44
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +7 -8
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +4 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +5 -8
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +12 -11
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +12 -12
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +16 -16
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +7 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +14 -14
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +16 -20
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +7 -10
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +5 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +29 -22
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +13 -15
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +9 -17
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +4 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +8 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +29 -25
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +11 -10
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +18 -18
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +13 -25
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +41 -45
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +16 -16
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +8 -24
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +12 -17
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +7 -8
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +4 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +3 -4
- 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 +5 -7
- package/scaffold/instructions/.agents/skills/development/entities.md +20 -20
- package/scaffold/instructions/.agents/skills/development/reuse.md +19 -18
- package/scaffold/instructions/.agents/skills/development/source-layout.md +32 -24
- package/scaffold/instructions/.agents/skills/development/testing.md +13 -10
- package/scaffold/instructions/.agents/skills/direct-film/SKILL.md +51 -0
- package/scaffold/instructions/.agents/skills/evidence/SKILL.md +1 -1
- package/scaffold/instructions/.agents/skills/evidence/adoption.md +4 -4
- package/scaffold/instructions/.agents/skills/evidence/answering.md +2 -4
- package/scaffold/instructions/.agents/skills/evidence/configuration.md +8 -8
- package/scaffold/instructions/.agents/skills/image/SKILL.md +16 -58
- package/scaffold/instructions/.agents/skills/image/canon-references.md +27 -0
- package/scaffold/instructions/.agents/skills/image/conditioning.md +27 -0
- package/scaffold/instructions/.agents/skills/image/consistency.md +23 -0
- package/scaffold/instructions/.agents/skills/image/editing.md +15 -0
- package/scaffold/instructions/.agents/skills/image/finishing.md +11 -0
- package/scaffold/instructions/.agents/skills/image/models.md +18 -0
- package/scaffold/instructions/.agents/skills/image/prompting.md +25 -0
- package/scaffold/instructions/.agents/skills/image/turnaround-views.md +13 -0
- package/scaffold/instructions/.agents/skills/motion/SKILL.md +31 -47
- package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +24 -4
- package/scaffold/instructions/.agents/skills/motion/compose/composition.md +58 -0
- package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +15 -0
- package/scaffold/instructions/.agents/skills/motion/control-channels.md +20 -8
- package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +24 -0
- package/scaffold/instructions/.agents/skills/motion/diffusion/clips.md +17 -0
- package/scaffold/instructions/.agents/skills/motion/diffusion/hints.md +37 -0
- package/scaffold/instructions/.agents/skills/motion/diffusion/models.md +24 -0
- package/scaffold/instructions/.agents/skills/motion/diffusion/tracing.md +53 -0
- package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +8 -12
- 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 +35 -0
- package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +21 -0
- package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +16 -16
- package/scaffold/instructions/.agents/skills/motion/retargeting.md +8 -10
- package/scaffold/instructions/.agents/skills/motion/segment-review.md +4 -6
- package/scaffold/instructions/.agents/skills/motion/staging.md +21 -13
- package/scaffold/instructions/.agents/skills/production/SKILL.md +19 -19
- package/scaffold/instructions/.agents/skills/production/assembly.md +14 -12
- package/scaffold/instructions/.agents/skills/production/captions.md +15 -0
- package/scaffold/instructions/.agents/skills/production/media-records.md +13 -12
- package/scaffold/instructions/.agents/skills/production/project-context.md +33 -12
- package/scaffold/instructions/.agents/skills/production/reorganization.md +13 -0
- package/scaffold/instructions/.agents/skills/production/stage-caches.md +11 -11
- package/scaffold/instructions/.agents/skills/production/sustained-runs.md +9 -9
- package/scaffold/instructions/.agents/skills/review/SKILL.md +3 -5
- package/scaffold/instructions/.agents/skills/review/delivery-review.md +25 -29
- package/scaffold/instructions/.agents/skills/review/estimation.md +10 -10
- package/scaffold/instructions/.agents/skills/review/independent-reading.md +10 -18
- package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +10 -36
- package/scaffold/instructions/.agents/skills/review/source-review.md +6 -18
- package/scaffold/instructions/.agents/skills/story/SKILL.md +11 -11
- package/scaffold/instructions/.agents/skills/story/answers.md +27 -0
- package/scaffold/instructions/.agents/skills/story/correction/inspection.md +8 -12
- package/scaffold/instructions/.agents/skills/story/correction/repair.md +8 -12
- package/scaffold/instructions/.agents/skills/story/document-layout.md +9 -12
- package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +10 -9
- package/scaffold/instructions/.agents/skills/story/layers/brief.md +7 -19
- package/scaffold/instructions/.agents/skills/story/layers/notation.md +25 -16
- package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +23 -7
- package/scaffold/instructions/.agents/skills/story/layers/scripts.md +4 -4
- package/scaffold/instructions/.agents/skills/story/layers/settings.md +10 -16
- 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 +4 -4
- package/scaffold/instructions/.agents/skills/story/planning/direction.md +4 -4
- package/scaffold/instructions/.agents/skills/story/planning/discovery.md +8 -7
- package/scaffold/instructions/.agents/skills/story/planning/requirements.md +11 -11
- package/scaffold/instructions/.agents/skills/story/planning/research.md +24 -11
- package/scaffold/instructions/.agents/skills/story/workflow/SKILL.md +14 -0
- package/scaffold/instructions/.agents/skills/story/workflow/long.md +38 -0
- package/scaffold/instructions/.agents/skills/story/workflow/routes.md +40 -0
- package/scaffold/instructions/.agents/skills/story/workflow/short.md +33 -0
- package/scaffold/instructions/.agents/skills/video/SKILL.md +12 -21
- 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 +14 -0
- package/scaffold/instructions/.agents/skills/video/diffusion/models.md +26 -0
- package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +45 -0
- package/scaffold/instructions/.agents/skills/video/finishing.md +44 -0
- package/scaffold/instructions/.agents/skills/video/generation.md +24 -13
- package/scaffold/instructions/.agents/skills/video/requests.md +46 -0
- package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +5 -6
- package/scaffold/instructions/AGENTS.md +30 -56
- package/scaffold/production/PROJECT.md +1 -1
- package/scaffold/production/README.md +50 -96
- 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 +16 -5
- package/scaffold/production/src/composition/films/index.ts +3 -2
- package/scaffold/production/src/composition/films/starter.ts +2 -2
- 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 +59 -0
- package/scaffold/production/vite.config.ts +4 -2
- package/scaffold/workspace/README.md +5 -7
- package/scaffold/workspace/package.json +1 -1
- package/src/IAutoMovieScaffoldProps.ts +15 -6
- package/src/assertScaffoldProjectName.ts +1 -1
- package/src/createAutoMovieScaffold.ts +152 -0
- package/src/index.ts +1 -46
- package/src/listAutoMovieScaffoldFiles.ts +2 -2
- 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/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/development/repair.md +0 -13
- package/lib/skills/documentation/writing.md +0 -51
- package/lib/skills/motion/layers.md +0 -7
- package/lib/skills/motion/transitions.md +0 -27
- package/lib/skills/prompting/SKILL.md +0 -80
- 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/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 -487
- 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/node/raster/AutoMovieRasterLighting.ts +0 -221
- package/scaffold/production/src/executable/viewer/node/raster/AutoMovieRasterSheet.ts +0 -175
- package/scaffold/production/src/executable/viewer/node/raster/AutoMovieRasterTarget.ts +0 -282
- package/scaffold/production/src/executable/viewer/node/raster/IAutoMovieSceneRaster.ts +0 -62
- package/scaffold/production/src/executable/viewer/node/raster/IRasterizeAutoMovieSceneProps.ts +0 -34
- package/scaffold/production/src/executable/viewer/node/raster/encodeAutoMovieRasterPng.ts +0 -77
- package/scaffold/production/src/executable/viewer/node/raster/index.ts +0 -8
- package/scaffold/production/src/executable/viewer/node/raster/rasterizeAutoMovieScene.ts +0 -594
- package/scaffold/production/src/executable/viewer/node/raster/stampAutoMovieRasterLabel.ts +0 -120
- 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/{lib → generated}/skills/contracts/development/common.md +0 -0
- /package/{lib → generated}/skills/visual-debugging/rendering-cost.md +0 -0
- /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
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: prompting
|
|
3
|
+
description: Owns what makes an instruction for an agent work, namely what to state, reasons and examples, 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
|
+
A prompt is any instruction an agent reads: `AGENTS.md`, `CLAUDE.md`, a skill or one of its resources. Every prompt follows the documentation skill's [Writing](../documentation/writing.md) rules, with someone new to the project as the reader, because wording that serves that person serves the agent too. The rules below are what makes a prompt work for an agent.
|
|
9
|
+
|
|
10
|
+
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.
|
|
11
|
+
|
|
12
|
+
## What to state
|
|
13
|
+
|
|
14
|
+
State only facts the code does not show, rules the user set, and mistakes an agent made, each concretely enough that a reader can tell whether it was followed. Leave dates and history to git.
|
|
15
|
+
|
|
16
|
+
[Writing](../documentation/writing.md) asks for a reason when it is not obvious. For a consequential instruction, that reason names who loses what when it is missed and sits in the instruction itself, because a source comment or an unexplained prohibition cannot guide a case the instruction did not list.
|
|
17
|
+
|
|
18
|
+
Leave the method to the agent unless a known failure requires a particular order or boundary. Where a skill does name methods, it gives one default and says when to leave it.
|
|
19
|
+
|
|
20
|
+
Keep examples few and varied, because an agent copies an example's surface.
|
|
21
|
+
|
|
22
|
+
## One owner
|
|
23
|
+
|
|
24
|
+
Give each rule one owner, the one section of one file that states it, as [Writing](../documentation/writing.md) requires, and link to it from every other place that needs it, so a task receives one consistent requirement. When moving a rule, update every link to it.
|
|
25
|
+
|
|
26
|
+
Resolve two conflicting rules in the skills or `AGENTS.md` that one project owns by changing one of them, never by adding a rule about which one wins, because a model applies a stated priority unreliably.
|
|
27
|
+
|
|
28
|
+
## Packages
|
|
29
|
+
|
|
30
|
+
A skill that needs a package names it and leaves the rest to it. Unless the skill maintains that package, it copies none of the package's function names, command lines, file paths or features, because a copy in a skill cannot be kept in step with the package. The package's types and JSDoc own its API, and its README its entry points.
|
|
31
|
+
|
|
32
|
+
## Skills and contracts
|
|
33
|
+
|
|
34
|
+
A skill gives a job's goal and boundaries, and points to the checklists it relies on without restating their items.
|
|
35
|
+
|
|
36
|
+
An agent does not reliably follow long, detailed or conditional prose. A rule that every declaration, document or record Evidence selects must meet therefore belongs in a [contracts](../contracts/SKILL.md) checklist, under the item whose question covers it or as a new item under its own H2. Each selected one answers it as the item's respondent, and the contracts skill names who checks that the answer is true and complete.
|
|
37
|
+
|
|
38
|
+
A rule that must hold on every action, such as a forbidden command, belongs in a hook or a check that runs, not only in prose, because prose can be missed.
|
|
39
|
+
|
|
40
|
+
Put judgments the agent makes in one reading into one checklist item, and split them into separate items when their task, respondent, proof or repair owner (whoever fixes a failure) differs. Ask about the overall achievement in its own item, separate from the items that check its parts, because passing every part does not prove the whole works.
|
|
41
|
+
|
|
42
|
+
## Layout
|
|
43
|
+
|
|
44
|
+
### Entry files
|
|
45
|
+
|
|
46
|
+
[`AGENTS.md`](../../../AGENTS.md) holds what every session needs, in under 200 lines, and lists every top-level skill with its trigger, the task that calls for it, because an agent that does not scan `.agents/skills` finds a skill only through `AGENTS.md`. Start each trigger with the task's verb, such as `Changing` or `Reviewing`. [`CLAUDE.md`](../../../CLAUDE.md) holds only `@AGENTS.md`, which imports that file.
|
|
47
|
+
|
|
48
|
+
### Skill files
|
|
49
|
+
|
|
50
|
+
A job with its own trigger gets its own top-level skill at `.agents/skills/<name>/SKILL.md`. Its `name` equals the directory and uses lowercase letters, digits and hyphens, within 64 characters. Its third-person `description`, within 1024 characters, says what the skill does and when to use it.
|
|
51
|
+
|
|
52
|
+
### Splitting a skill
|
|
53
|
+
|
|
54
|
+
`SKILL.md` stays short, far under 500 lines: what the skill is for, when to read it, and, once it has resources, 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. Put first what every use needs, because an agent follows earlier text more reliably and a compacted context keeps only the start.
|
|
55
|
+
|
|
56
|
+
Split when any of these shows:
|
|
57
|
+
|
|
58
|
+
- several unrelated tasks in one file;
|
|
59
|
+
- a section only some tasks need;
|
|
60
|
+
- more content than the opening can introduce.
|
|
61
|
+
|
|
62
|
+
Such a section moves into a resource file beside `SKILL.md`, and a resource longer than about 100 lines usually holds one to move. 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`.
|
|
63
|
+
|
|
64
|
+
Each resource needs three things:
|
|
65
|
+
|
|
66
|
+
- a name that states its subject;
|
|
67
|
+
- an opening that states its subject, in its own words;
|
|
68
|
+
- a direct link, or a stated path pattern, from the nearest router above it.
|
|
69
|
+
|
|
70
|
+
### Helpers
|
|
71
|
+
|
|
72
|
+
Put repeated deterministic operations in tested helpers, reusing existing tools before adding another. Link each helper's command for a task from the resource covering that task, and take examples from code that already calls the helper rather than copying the helper's code into the prompt.
|
|
73
|
+
|
|
74
|
+
## Shared skills
|
|
75
|
+
|
|
76
|
+
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, leaves one project's paths, packages and decisions to that project's own skills, and assumes no particular agent model.
|
|
77
|
+
|
|
78
|
+
## Verification
|
|
79
|
+
|
|
80
|
+
Start a change from the actual failure it must fix, kept as a case. Check the changed instructions against that case, against the strongest similar legitimate case they must leave unchanged, and against a real task they govern, including the files that use that task's result. When a separate agent session is available and authorized, give it the task and raw inputs without the intended answer and observe its choices.
|
|
81
|
+
|
|
82
|
+
Check statically that links resolve, triggers reach their resources and each rule has one owner. Report static inspection, behavioral observation and unavailable checks separately, because explaining a rule does not prove another session follows it.
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
# Capture
|
|
2
2
|
|
|
3
|
-
A capture is the stills, contact sheets and
|
|
3
|
+
A capture is the stills, contact sheets and record that one plan produces. This page owns keeping the instrument that draws them working, the conditions that make them repeatable, and the choice of subject, views and times.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Restoring the instrument
|
|
6
6
|
|
|
7
|
-
The
|
|
7
|
+
The instrument, the inspection and capture core with the inspector page and the capture host that drive it, is one tool. Restore a broken one before other work, because every judgment of a picture passes through it. Confirm through the actual consumer the adopted scene, its required subjects, the current displayed artifact and the relevant controls, seeking, playback and capture, and protect other owners' processes meanwhile.
|
|
8
8
|
|
|
9
|
-
Repair a missing capability at
|
|
9
|
+
Repair a missing capability at its owner, or report it where the project cannot change that owner; a view, pass or selection the judgment needs and the instrument lacks is a missing capability too. Once it is repaired, reconnect and verify the actual consumer, because a build, a server response or an unrelated demonstration does not prove recovery.
|
|
10
10
|
|
|
11
11
|
## Plan
|
|
12
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
|
|
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, because an overall impression passes over what a definite question finds.
|
|
14
14
|
|
|
15
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
16
|
|
|
17
17
|
## Conditions
|
|
18
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.
|
|
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. The capture's record keeps the revision, the request and each still's resolved camera and renderer backend, so that revision must fix the assets, light and detail settings.
|
|
20
20
|
|
|
21
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
22
|
|
|
@@ -31,19 +31,19 @@ A unit that passes alone can fail against its neighbor, and close-ups that each
|
|
|
31
31
|
- each unit with the neighbors it touches or shares a boundary with;
|
|
32
32
|
- each defect's region.
|
|
33
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.
|
|
34
|
+
Select by the groups and parts the subject's own definition names, and keep enough of the reference or the neighbors visible to read placement and depth. 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.
|
|
35
35
|
|
|
36
36
|
## Views
|
|
37
37
|
|
|
38
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
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#
|
|
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#matched-cells).
|
|
41
41
|
|
|
42
42
|
## Times
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
Read a moving picture as stills in time order, sampled at five to ten stills per second and at the denser end where more happens, because at a sparser spacing the stills no longer show how one pose becomes the next.
|
|
45
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.
|
|
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. Sparse stills never replace those frames.
|
|
47
47
|
|
|
48
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
49
|
|
|
@@ -53,8 +53,10 @@ A reviewer who sees a moving picture only as stills says so, and claims nothing
|
|
|
53
53
|
|
|
54
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
55
|
|
|
56
|
+
Lay sheets out for their reader. A vision model downsizes an image over its longest-edge or token limit and reads detail unreliably below a smallest edge; take these limits from the reading model's documentation, such as the [Claude vision guide](https://platform.claude.com/docs/en/build-with-claude/vision). Keep every sheet within them and every cell at least the smallest, and spread the cells over more sheets rather than shrink them.
|
|
57
|
+
|
|
56
58
|
A cell that could not be drawn stays on the sheet with its cause and stays unverified; an uncomputed subject is unavailable evidence.
|
|
57
59
|
|
|
58
60
|
## Rounds
|
|
59
61
|
|
|
60
|
-
Keep each round's capture apart from the next, under a name that states its round or revision,
|
|
62
|
+
Keep each round's capture apart from the next, with its record, under a name that states its round or revision, given when capturing it. A record still marked unfinished belongs to an interrupted capture, so capture that round again rather than read it.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Comparison
|
|
2
2
|
|
|
3
|
-
A comparison joins two captures cell by cell, so that only the compared thing differs between the two stills of a pair. This
|
|
3
|
+
A comparison joins two captures cell by cell, so that only the compared thing differs between the two stills of a pair. This page owns which pairs to make, how their cells match and how the difference is read.
|
|
4
4
|
|
|
5
5
|
## What a pair separates
|
|
6
6
|
|
|
@@ -11,17 +11,17 @@ A comparison joins two captures cell by cell, so that only the compared thing di
|
|
|
11
11
|
| A computed result and its picture | A calculation fault from a display fault |
|
|
12
12
|
| The source's picture and the encoded file | What encoding, color conversion or assembly changed |
|
|
13
13
|
| A conditioning input and what a generator made from it | What the generator kept, moved or invented |
|
|
14
|
-
| A coarse form and its
|
|
14
|
+
| A coarse form and its detail option | What the detail shows at the size it is used |
|
|
15
15
|
| A sequential capture and a restart or seek to the same time | State that depends on how the time was reached |
|
|
16
16
|
| This delivery and the previous one | What changed between them at matched times |
|
|
17
17
|
|
|
18
|
-
##
|
|
18
|
+
## Matched cells
|
|
19
19
|
|
|
20
|
-
Pair two cells only when everything but the compared thing agrees: subject, time or pose, resolved camera, light, pass, raster size and renderer. A view's name does not establish the same framing when the view fits itself to its subject, so the later capture reuses the earlier one's resolved camera.
|
|
20
|
+
Pair two cells only when everything but the compared thing agrees: subject, time or pose, resolved camera, light, pass, raster size and renderer. A view's name does not establish the same framing when the view fits itself to its subject, so the later capture reuses the earlier one's resolved camera. Measure pixels only between stills one renderer backend drew, because bit identity across backends is not established; across backends, set the pair side by side.
|
|
21
21
|
|
|
22
|
-
Report a cell that one capture holds and the other lacks as unmatched, with its cause
|
|
22
|
+
Report a cell that one capture holds and the other lacks as unmatched, with its cause, because a comparison over the cells that happened to match says nothing about the rest.
|
|
23
23
|
|
|
24
|
-
##
|
|
24
|
+
## Reading the difference
|
|
25
25
|
|
|
26
26
|
| Form | Shows |
|
|
27
27
|
| --- | --- |
|
|
@@ -30,6 +30,4 @@ Report a cell that one capture holds and the other lacks as unmatched, with its
|
|
|
30
30
|
| A difference image | Where the pixels changed, including where no change was meant |
|
|
31
31
|
| A measured difference per cell | Which pairs to open first |
|
|
32
32
|
|
|
33
|
-
A measured difference ranks where to look and never replaces looking. Identical bytes establish that nothing changed,
|
|
34
|
-
|
|
35
|
-
A difference outside the region the change was meant to affect is a regression until it is explained.
|
|
33
|
+
A measured difference ranks where to look and never replaces looking. Identical bytes establish that nothing changed, not that the picture is right. A difference outside the region the change was meant to affect is a regression until it is explained.
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
# Correction rounds
|
|
2
2
|
|
|
3
|
-
A correction round gathers every finding of one capture, traces each to its cause, repairs the causes in one change and compares again. This
|
|
3
|
+
A correction round gathers every finding of one capture, traces each to its cause, repairs the causes in one change and compares again. This page owns that order.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Measuring and looking
|
|
6
6
|
|
|
7
|
-
Settle by measurement what a number decides, because an eye on a picture misjudges position, depth and timing
|
|
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
8
|
|
|
9
|
-
##
|
|
9
|
+
## Inspection
|
|
10
10
|
|
|
11
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
12
|
|
|
13
|
-
##
|
|
13
|
+
## Causes
|
|
14
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
|
|
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 every defect and part it affects.
|
|
16
16
|
|
|
17
|
-
##
|
|
17
|
+
## One combined change
|
|
18
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.
|
|
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, or reported to an owner the project cannot change.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
However cheap a capture is, this replaces fixing one finding at a time:
|
|
22
22
|
|
|
23
23
|
- editing after each observed defect;
|
|
24
24
|
- changing one value and capturing to see its effect;
|
|
25
25
|
- capturing after each single fix;
|
|
26
26
|
- leaving a traced cause to a later round or finer scale.
|
|
27
27
|
|
|
28
|
-
##
|
|
28
|
+
## Comparing again
|
|
29
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
|
|
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; a new or unexplained defect keeps it open.
|
|
31
31
|
|
|
32
|
-
When a fix is tried
|
|
32
|
+
When a fix is tried over several rounds, keep a round only if nothing got worse than in the best earlier round, and record every remaining failure with its numbers.
|
|
33
33
|
|
|
34
|
-
Look at the new capture yourself
|
|
34
|
+
Look at the new capture yourself, because stale, blank or unobserved output stays unverified.
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
# Passes
|
|
2
2
|
|
|
3
|
-
A pass is what a cell draws of its subject. This
|
|
3
|
+
A pass is what a cell draws of its subject. This page owns choosing passes, keeping them matched and marking what a measurement found.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Choosing a pass
|
|
6
6
|
|
|
7
7
|
| Question | Pass |
|
|
8
8
|
| --- | --- |
|
|
9
9
|
| How the result looks to its audience | The finished picture from the delivery's renderer |
|
|
10
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
|
|
11
|
+
| What one quantity is across the picture | A structural pass that draws only that quantity, such as depth, normals or a mask |
|
|
12
12
|
| Where joints, contacts, targets and paths are | An overlay of them on the picture |
|
|
13
|
-
| What a receiver is given | The guide
|
|
13
|
+
| What a receiver is given | The guide channel itself, read through the receiver's input path |
|
|
14
14
|
|
|
15
|
-
Use a structural pass only for the quantity it documents, and read its range and convention before reading its colors
|
|
15
|
+
Use a structural pass only for the quantity it documents, and read its range and convention before reading its colors, because a plausible image does not establish that a pass holds what its name says. Fields such as skin weights or curvature are judged only where a production's models need them, as [inspecting a form](../3d-modeling/inspection.md#fields-judged-only-where-needed) decides.
|
|
16
16
|
|
|
17
|
-
##
|
|
17
|
+
## Matched passes
|
|
18
18
|
|
|
19
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
20
|
|
|
21
|
-
A
|
|
21
|
+
A pass drawn over another shares its camera exactly. A pass drawn through a surface says so in its caption, because a line seen through a surface reads as lying on it.
|
|
22
22
|
|
|
23
|
-
##
|
|
23
|
+
## Marking what a measurement found
|
|
24
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.
|
|
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. The measurement's owner hands the place to the instrument as plain data, a mark of its own kind, so a new finding needs no new pass.
|
|
26
26
|
|
|
27
27
|
Draw each kind of thing in one color throughout a capture. Show labels to establish identity, and hide them where they cover what is judged.
|
|
28
28
|
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* What {@link createAutoMovieScaffold} creates.
|
|
3
3
|
*
|
|
4
|
-
* @evidence contracts/development/design.md#principled-representation The record
|
|
5
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface
|
|
6
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts
|
|
7
|
-
* @evidence contracts/development/common.md#meaningful-documentation
|
|
4
|
+
* @evidence contracts/development/design.md#principled-representation The record holds only what differs between creations: the installation kind and the name. Dependency versions are fixed when the package is built, so a caller cannot pin a scaffold to ranges the package was not built with.
|
|
5
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface `kind` selects the layers and generated files, and `name` fills the one per-project token; the name rule lives in `assertScaffoldProjectName`.
|
|
6
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts No override or raw token field lets a caller bypass the name rule or the built versions.
|
|
7
|
+
* @evidence contracts/development/common.md#meaningful-documentation Each member states its effect on the created files.
|
|
8
8
|
*/
|
|
9
9
|
export interface IAutoMovieScaffoldProps {
|
|
10
10
|
/**
|
|
11
|
-
* The
|
|
11
|
+
* The installation created.
|
|
12
|
+
*
|
|
13
|
+
* - `production`: a single production in its own repository, with the shared instructions and a `pnpm-workspace.yaml` holding its dependency catalogs.
|
|
14
|
+
* - `workspace`: a pnpm workspace root for `movies/shorts/*`, `movies/series/*` and `packages/*`, with the shared instructions and the catalogs every production uses.
|
|
15
|
+
* - `workspace-production`: a production inside such a workspace, three levels below the root whose instructions and catalogs it uses.
|
|
16
|
+
*/
|
|
17
|
+
kind: "production" | "workspace" | "workspace-production";
|
|
18
|
+
/**
|
|
19
|
+
* The project's or workspace's name, written into its `package.json` and README heading after trimming. `assertScaffoldProjectName` lists the refused names.
|
|
12
20
|
*/
|
|
13
21
|
name: string;
|
|
14
22
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @throws When the name is refused.
|
|
9
9
|
*
|
|
10
10
|
* @evidence contracts/development/implementation.md#principled-implementation After trim, explicit separator, ASCII control and device-name checks refuse the listed unsafe names; excluding quote, backslash and ASCII controls keeps plain substitution inside package.json's JSON string valid. This is a partial filename policy rather than npm-name or universal filesystem validation.
|
|
11
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure
|
|
11
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure `createAutoMovieScaffold` admits its `{{name}}` through this one rule, so a production, a workspace and a workspace production refuse the same names.
|
|
12
12
|
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A refused name throws; nothing is rewritten into an admitted spelling.
|
|
13
13
|
* @evidence contracts/development/common.md#meaningful-documentation The comment states the trim, every refusal and why it matters, and what the rule does not establish.
|
|
14
14
|
* @evidence contracts/development/implementation.md#efficient-algorithms Two regular-expression scans and fixed comparisons cost linear time in the name's length.
|
|
@@ -11,7 +11,7 @@ exports.assertScaffoldProjectName = void 0;
|
|
|
11
11
|
* @throws When the name is refused.
|
|
12
12
|
*
|
|
13
13
|
* @evidence contracts/development/implementation.md#principled-implementation After trim, explicit separator, ASCII control and device-name checks refuse the listed unsafe names; excluding quote, backslash and ASCII controls keeps plain substitution inside package.json's JSON string valid. This is a partial filename policy rather than npm-name or universal filesystem validation.
|
|
14
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure
|
|
14
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure `createAutoMovieScaffold` admits its `{{name}}` through this one rule, so a production, a workspace and a workspace production refuse the same names.
|
|
15
15
|
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A refused name throws; nothing is rewritten into an admitted spelling.
|
|
16
16
|
* @evidence contracts/development/common.md#meaningful-documentation The comment states the trim, every refusal and why it matters, and what the rule does not establish.
|
|
17
17
|
* @evidence contracts/development/implementation.md#efficient-algorithms Two regular-expression scans and fixed comparisons cost linear time in the name's length.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { IAutoMovieScaffoldProps } from "./IAutoMovieScaffoldProps";
|
|
2
|
+
/**
|
|
3
|
+
* Create the files of a new AutoMovie installation as a `{ posixPath: content }` map.
|
|
4
|
+
*
|
|
5
|
+
* The map joins scaffold layers with generated files, by `kind`:
|
|
6
|
+
*
|
|
7
|
+
* - `production`: the `instructions` and `production` layers, `pnpm-workspace.yaml` with catalogs and no packages, and `evidence.config.ts` reading the production's own `.agents/skills`.
|
|
8
|
+
* - `workspace`: the `instructions` and `workspace` layers, and `pnpm-workspace.yaml` listing `movies/shorts/*`, `movies/series/*` and `packages/*` with the same catalogs.
|
|
9
|
+
* - `workspace-production`: the `production` layer, and `evidence.config.ts` reading the workspace root's `../../../.agents/skills`.
|
|
10
|
+
*
|
|
11
|
+
* A `$<name>` placeholder under a layer's `.agents/skills` is replaced by the repository skill item the build copied to `generated/skills`. A layer's root `_gitignore` becomes `.gitignore`, because npm pack renames a packed `.gitignore`. `{{name}}` becomes the admitted name and `{{skills}}` the path of the skills the production reads. Line endings become LF. Every `package.json` dependency is a `catalog:` reference: the `automovie` catalog ranges this package's own version, and the others carry the ranges the build read from the repository's `pnpm-workspace.yaml`.
|
|
12
|
+
*
|
|
13
|
+
* Nothing is written; the caller writes the map.
|
|
14
|
+
*
|
|
15
|
+
* @param props The installation kind and its name.
|
|
16
|
+
* @returns The files, keyed by path relative to the installation directory.
|
|
17
|
+
* @throws When the name is refused, when the build outputs are missing, or when two sources produce the same path.
|
|
18
|
+
*
|
|
19
|
+
* @evidence contracts/development/implementation.md#principled-implementation Layers are read from the installed package, so the map always matches the shipped scaffold. Catalog ranges come from the build's record of the repository catalogs and the automovie range from this package's own manifest, so a workspace and its productions resolve the release the package belongs to. A duplicate path throws instead of keeping either source.
|
|
20
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One function owns the whole map for every kind; the kind decides only which layers are read and which generated files are added, and writing is left to the caller.
|
|
21
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No file is named except the generated `pnpm-workspace.yaml` and `evidence.config.ts`, whose content differs by kind, and the root `_gitignore`, whose rename npm pack forces.
|
|
22
|
+
* @evidence contracts/development/common.md#meaningful-documentation The comment lists every kind's layers and generated files, the placeholder, rename, token and line-ending rules, the version sources, and what throws.
|
|
23
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Each shipped file is listed and read once, and each content is scanned once for tokens and line endings, so the cost is linear in the scaffold's size plus each directory's sort.
|
|
24
|
+
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold as installed now, once per creation.
|
|
25
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Files are read with `readFileSync`, which releases its handle before returning; only the returned map, owned by the caller, outlives the call.
|
|
26
|
+
*/
|
|
27
|
+
export declare const createAutoMovieScaffold: (props: IAutoMovieScaffoldProps) => Record<string, string>;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.createAutoMovieScaffold = void 0;
|
|
37
|
+
const fs = __importStar(require("node:fs"));
|
|
38
|
+
const path = __importStar(require("node:path"));
|
|
39
|
+
const yaml_1 = require("yaml");
|
|
40
|
+
const assertScaffoldProjectName_1 = require("./assertScaffoldProjectName");
|
|
41
|
+
const listAutoMovieScaffoldFiles_1 = require("./listAutoMovieScaffoldFiles");
|
|
42
|
+
const scaffoldSharedSkillPath_1 = require("./scaffoldSharedSkillPath");
|
|
43
|
+
/** The package root: `src` under ttsx and `lib` when published both sit one level below it. */
|
|
44
|
+
const PACKAGE = path.resolve(__dirname, "..");
|
|
45
|
+
/**
|
|
46
|
+
* Create the files of a new AutoMovie installation as a `{ posixPath: content }` map.
|
|
47
|
+
*
|
|
48
|
+
* The map joins scaffold layers with generated files, by `kind`:
|
|
49
|
+
*
|
|
50
|
+
* - `production`: the `instructions` and `production` layers, `pnpm-workspace.yaml` with catalogs and no packages, and `evidence.config.ts` reading the production's own `.agents/skills`.
|
|
51
|
+
* - `workspace`: the `instructions` and `workspace` layers, and `pnpm-workspace.yaml` listing `movies/shorts/*`, `movies/series/*` and `packages/*` with the same catalogs.
|
|
52
|
+
* - `workspace-production`: the `production` layer, and `evidence.config.ts` reading the workspace root's `../../../.agents/skills`.
|
|
53
|
+
*
|
|
54
|
+
* A `$<name>` placeholder under a layer's `.agents/skills` is replaced by the repository skill item the build copied to `generated/skills`. A layer's root `_gitignore` becomes `.gitignore`, because npm pack renames a packed `.gitignore`. `{{name}}` becomes the admitted name and `{{skills}}` the path of the skills the production reads. Line endings become LF. Every `package.json` dependency is a `catalog:` reference: the `automovie` catalog ranges this package's own version, and the others carry the ranges the build read from the repository's `pnpm-workspace.yaml`.
|
|
55
|
+
*
|
|
56
|
+
* Nothing is written; the caller writes the map.
|
|
57
|
+
*
|
|
58
|
+
* @param props The installation kind and its name.
|
|
59
|
+
* @returns The files, keyed by path relative to the installation directory.
|
|
60
|
+
* @throws When the name is refused, when the build outputs are missing, or when two sources produce the same path.
|
|
61
|
+
*
|
|
62
|
+
* @evidence contracts/development/implementation.md#principled-implementation Layers are read from the installed package, so the map always matches the shipped scaffold. Catalog ranges come from the build's record of the repository catalogs and the automovie range from this package's own manifest, so a workspace and its productions resolve the release the package belongs to. A duplicate path throws instead of keeping either source.
|
|
63
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One function owns the whole map for every kind; the kind decides only which layers are read and which generated files are added, and writing is left to the caller.
|
|
64
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No file is named except the generated `pnpm-workspace.yaml` and `evidence.config.ts`, whose content differs by kind, and the root `_gitignore`, whose rename npm pack forces.
|
|
65
|
+
* @evidence contracts/development/common.md#meaningful-documentation The comment lists every kind's layers and generated files, the placeholder, rename, token and line-ending rules, the version sources, and what throws.
|
|
66
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Each shipped file is listed and read once, and each content is scanned once for tokens and line endings, so the cost is linear in the scaffold's size plus each directory's sort.
|
|
67
|
+
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call reads the scaffold as installed now, once per creation.
|
|
68
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Files are read with `readFileSync`, which releases its handle before returning; only the returned map, owned by the caller, outlives the call.
|
|
69
|
+
*/
|
|
70
|
+
const createAutoMovieScaffold = (props) => {
|
|
71
|
+
const name = (0, assertScaffoldProjectName_1.assertScaffoldProjectName)(props.name);
|
|
72
|
+
const skills = props.kind === "workspace-production"
|
|
73
|
+
? "../../../.agents/skills"
|
|
74
|
+
: ".agents/skills";
|
|
75
|
+
const files = Object.create(null);
|
|
76
|
+
const add = (relative, content) => {
|
|
77
|
+
if (relative in files)
|
|
78
|
+
throw new Error(`scaffold sources collide at "${relative}"`);
|
|
79
|
+
files[relative] = content
|
|
80
|
+
.replaceAll("\r\n", "\n")
|
|
81
|
+
.replaceAll("{{name}}", name)
|
|
82
|
+
.replaceAll("{{skills}}", skills);
|
|
83
|
+
};
|
|
84
|
+
if (props.kind !== "workspace-production")
|
|
85
|
+
readLayer("instructions", add);
|
|
86
|
+
readLayer(props.kind === "workspace" ? "workspace" : "production", add);
|
|
87
|
+
if (props.kind !== "workspace-production")
|
|
88
|
+
add("pnpm-workspace.yaml", renderPnpmWorkspace(props.kind === "workspace"));
|
|
89
|
+
if (props.kind !== "workspace")
|
|
90
|
+
add("evidence.config.ts", renderEvidenceConfig(props.kind === "workspace-production"));
|
|
91
|
+
return files;
|
|
92
|
+
};
|
|
93
|
+
exports.createAutoMovieScaffold = createAutoMovieScaffold;
|
|
94
|
+
/** Pass every file of one scaffold layer to `add`, expanding shared-skill placeholders and renaming the root `_gitignore`. */
|
|
95
|
+
const readLayer = (layer, add) => {
|
|
96
|
+
const root = path.join(PACKAGE, "scaffold", layer);
|
|
97
|
+
for (const relative of (0, listAutoMovieScaffoldFiles_1.listAutoMovieScaffoldFiles)(root)) {
|
|
98
|
+
const shared = (0, scaffoldSharedSkillPath_1.scaffoldSharedSkillPath)(relative);
|
|
99
|
+
if (shared === null) {
|
|
100
|
+
add(relative === "_gitignore" ? ".gitignore" : toPosix(relative), read(path.join(root, relative)));
|
|
101
|
+
continue;
|
|
102
|
+
}
|
|
103
|
+
const item = path.join(PACKAGE, "generated", "skills", shared);
|
|
104
|
+
const target = `.agents/skills/${shared}`;
|
|
105
|
+
if (fs.statSync(item).isDirectory())
|
|
106
|
+
for (const file of (0, listAutoMovieScaffoldFiles_1.listAutoMovieScaffoldFiles)(item))
|
|
107
|
+
add(`${target}/${toPosix(file)}`, read(path.join(item, file)));
|
|
108
|
+
else
|
|
109
|
+
add(target, read(item));
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
/** The `pnpm-workspace.yaml` of a single production, or with `packages` of a workspace root. */
|
|
113
|
+
const renderPnpmWorkspace = (packages) => {
|
|
114
|
+
const settings = JSON.parse(read(path.join(PACKAGE, "generated", "pnpm-workspace.json")));
|
|
115
|
+
const manifest = JSON.parse(read(path.join(PACKAGE, "package.json")));
|
|
116
|
+
return (0, yaml_1.stringify)({
|
|
117
|
+
...(packages
|
|
118
|
+
? { packages: ["movies/shorts/*", "movies/series/*", "packages/*"] }
|
|
119
|
+
: {}),
|
|
120
|
+
catalogs: {
|
|
121
|
+
automovie: Object.fromEntries(settings.automovie.map((key) => [
|
|
122
|
+
key,
|
|
123
|
+
`^${manifest.version}`,
|
|
124
|
+
])),
|
|
125
|
+
...settings.catalogs,
|
|
126
|
+
},
|
|
127
|
+
allowBuilds: settings.allowBuilds,
|
|
128
|
+
});
|
|
129
|
+
};
|
|
130
|
+
/** The `evidence.config.ts` of a production, reading its own skills or, inside a workspace, the root's. */
|
|
131
|
+
const renderEvidenceConfig = (workspace) => [
|
|
132
|
+
`import { createEvidenceConfig } from "@automovie/evidence";`,
|
|
133
|
+
``,
|
|
134
|
+
workspace
|
|
135
|
+
? `/** The default project checks source and tests without selecting a narrative, against the workspace root's skills. */`
|
|
136
|
+
: `/** The default project checks source and tests without selecting a narrative. */`,
|
|
137
|
+
`export default createEvidenceConfig({`,
|
|
138
|
+
` location: import.meta.dirname,`,
|
|
139
|
+
...(workspace ? [` skills: "../../../.agents/skills",`] : []),
|
|
140
|
+
`});`,
|
|
141
|
+
``,
|
|
142
|
+
].join("\n");
|
|
143
|
+
const read = (file) => fs.readFileSync(file, "utf8");
|
|
144
|
+
const toPosix = (relative) => relative.split(path.sep).join("/");
|
|
145
|
+
//# sourceMappingURL=createAutoMovieScaffold.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createAutoMovieScaffold.js","sourceRoot":"","sources":["../src/createAutoMovieScaffold.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,EAAE,oCAAgB;AAC9B,MAAY,IAAI,sCAAkB;AAClC,+BAAiC;AAGjC,2EAAwE;AACxE,6EAA0E;AAC1E,uEAAoE;AAEpE,+FAA+F;AAC/F,MAAM,OAAO,GAAW,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AActD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACI,MAAM,uBAAuB,GAEN,CAC5B,KAA8B,EACN,EAAE;IAC1B,MAAM,IAAI,GAAW,IAAA,qDAAyB,EAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC3D,MAAM,MAAM,GACV,KAAK,CAAC,IAAI,KAAK,sBAAsB;QACnC,CAAC,CAAC,yBAAyB;QAC3B,CAAC,CAAC,gBAAgB,CAAC;IACvB,MAAM,KAAK,GAA2B,MAAM,CAAC,MAAM,CAAC,IAAI,CAGvD,CAAC;IACF,MAAM,GAAG,GAAG,CAAC,QAAgB,EAAE,OAAe,EAAQ,EAAE;QACtD,IAAI,QAAQ,IAAI,KAAK;YACnB,MAAM,IAAI,KAAK,CAAC,gCAAgC,QAAQ,GAAG,CAAC,CAAC;QAC/D,KAAK,CAAC,QAAQ,CAAC,GAAG,OAAO;aACtB,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC;aACxB,UAAU,CAAC,UAAU,EAAE,IAAI,CAAC;aAC5B,UAAU,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IACtC,CAAC,CAAC;IAEF,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAsB;QAAE,SAAS,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC;IAC1E,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;IACxE,IAAI,KAAK,CAAC,IAAI,KAAK,sBAAsB;QACvC,GAAG,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,KAAK,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC;IAC9E,IAAI,KAAK,CAAC,IAAI,KAAK,WAAW;QAC5B,GAAG,CACD,oBAAoB,EACpB,oBAAoB,CAAC,KAAK,CAAC,IAAI,KAAK,sBAAsB,CAAC,CAC5D,CAAC;IACJ,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAjCW,QAAA,uBAAuB,GAAvB,uBAAuB,CAiClC;AAEF,8HAA8H;AAC9H,MAAM,SAAS,GAAG,CAChB,KAAkD,EAClD,GAAgD,EAC1C,EAAE;IACR,MAAM,IAAI,GAAW,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;IAC3D,KAAK,MAAM,QAAQ,IAAI,IAAA,uDAA0B,EAAC,IAAI,CAAC,EAAE,CAAC;QACxD,MAAM,MAAM,GAAkB,IAAA,iDAAuB,EAAC,QAAQ,CAAC,CAAC;QAChE,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YACpB,GAAG,CACD,QAAQ,KAAK,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,EAC5D,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAChC,CAAC;YACF,SAAS;QACX,CAAC;QACD,MAAM,IAAI,GAAW,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QACvE,MAAM,MAAM,GAAW,kBAAkB,MAAM,EAAE,CAAC;QAClD,IAAI,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE;YACjC,KAAK,MAAM,IAAI,IAAI,IAAA,uDAA0B,EAAC,IAAI,CAAC;gBACjD,GAAG,CAAC,GAAG,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;;YAC9D,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/B,CAAC;AACH,CAAC,CAAC;AAEF,gGAAgG;AAChG,MAAM,mBAAmB,GAAG,CAAC,QAAiB,EAAU,EAAE;IACxD,MAAM,QAAQ,GAA0B,IAAI,CAAC,KAAK,CAChD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,qBAAqB,CAAC,CAAC,CACpC,CAAC;IAC3B,MAAM,QAAQ,GAAwB,IAAI,CAAC,KAAK,CAC9C,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAClB,CAAC;IACzB,OAAO,IAAA,gBAAS,EAAC;QACf,GAAG,CAAC,QAAQ;YACV,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,YAAY,CAAC,EAAE;YACpE,CAAC,CAAC,EAAE,CAAC;QACP,QAAQ,EAAE;YACR,SAAS,EAAE,MAAM,CAAC,WAAW,CAC3B,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAW,EAAoB,EAAE,CAAC;gBACxD,GAAG;gBACH,IAAI,QAAQ,CAAC,OAAO,EAAE;aACvB,CAAC,CACH;YACD,GAAG,QAAQ,CAAC,QAAQ;SACrB;QACD,WAAW,EAAE,QAAQ,CAAC,WAAW;KAClC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,2GAA2G;AAC3G,MAAM,oBAAoB,GAAG,CAAC,SAAkB,EAAU,EAAE,CAC1D;IACE,6DAA6D;IAC7D,EAAE;IACF,SAAS;QACP,CAAC,CAAC,wHAAwH;QAC1H,CAAC,CAAC,mFAAmF;IACvF,uCAAuC;IACvC,kCAAkC;IAClC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,sCAAsC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9D,KAAK;IACL,EAAE;CACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEf,MAAM,IAAI,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAErE,MAAM,OAAO,GAAG,CAAC,QAAgB,EAAU,EAAE,CAC3C,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,47 +1,3 @@
|
|
|
1
1
|
export * from "./IAutoMovieScaffoldProps";
|
|
2
|
-
export * from "./IAutoMovieScaffoldSourceEntry";
|
|
3
|
-
export * from "./AutoMovieScaffoldLayer";
|
|
4
|
-
export * from "./AUTOMOVIE_TEMPLATE_CATALOGS";
|
|
5
2
|
export * from "./assertScaffoldProjectName";
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./renderScaffoldInstructions";
|
|
8
|
-
export * from "./renderWorkspaceScaffold";
|
|
9
|
-
export * from "./renderWorkspaceProductionScaffold";
|
|
10
|
-
export * from "./renderScaffoldEntries";
|
|
11
|
-
export * from "./scaffoldAssetDirectory";
|
|
12
|
-
export * from "./renderTemplate";
|
|
13
|
-
export * from "./IAutoMovieCatalogVersionProps";
|
|
14
|
-
export * from "./resolveAutoMovieCatalogVersion";
|
|
15
|
-
export * from "./publishNativeScaffoldFile";
|
|
16
|
-
export * from "./IScaffoldParentPublicationRequest";
|
|
17
|
-
export * from "./IScaffoldPhysicalDirectory";
|
|
18
|
-
export * from "./ensureScaffoldBaseDirectory";
|
|
19
|
-
export * from "./assertScaffoldPhysicalDirectory";
|
|
20
|
-
export * from "./ensureScaffoldFileDirectory";
|
|
21
|
-
export * from "./writeScaffoldFile";
|
|
22
|
-
export * from "./IScaffoldPublicationEntry";
|
|
23
|
-
export * from "./IScaffoldCompletedFilePublicationOutcome";
|
|
24
|
-
export * from "./IScaffoldRefusedFilePublicationOutcome";
|
|
25
|
-
export * from "./IScaffoldPartialFilePublicationOutcome";
|
|
26
|
-
export * from "./ScaffoldFilePublicationOutcome";
|
|
27
|
-
export * from "./IScaffoldCompletedPublication";
|
|
28
|
-
export * from "./IScaffoldPublicationFailure";
|
|
29
|
-
export * from "./IScaffoldPublicationReceipt";
|
|
30
|
-
export * from "./planScaffoldPublication";
|
|
31
|
-
export * from "./publishScaffoldCandidate";
|
|
32
|
-
export * from "./AUTOMOVIE_TEMPLATE_VERSIONS";
|
|
33
|
-
export * from "./IScaffoldPublicationOptions";
|
|
34
|
-
export * from "./ScaffoldPublicationError";
|
|
35
|
-
export * from "./writeFiles";
|
|
36
|
-
export * from "./publishFiles";
|
|
37
|
-
export * from "./IAutoMovieWorkspacePackageVersions";
|
|
38
|
-
export * from "./IAutoMovieTemplateDependencyVersionsProps";
|
|
39
|
-
export * from "./resolveAutoMovieTemplateDependencyVersions";
|
|
40
|
-
export * from "./IScaffoldFileSnapshot";
|
|
41
|
-
export * from "./IScaffoldSyncProps";
|
|
42
|
-
export * from "./IScaffoldSyncPlan";
|
|
43
|
-
export * from "./SCAFFOLD_SYNC_STATE_FILE";
|
|
44
|
-
export * from "./planScaffoldSync";
|
|
45
|
-
export * from "./syncScaffold";
|
|
46
|
-
export * from "./IScaffoldPosixConstants";
|
|
47
|
-
export * from "./resolveScaffoldPosixConstants";
|
|
3
|
+
export * from "./createAutoMovieScaffold";
|