@automovie/evidence 0.3.4 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -102
- package/lib/IAutoMovieDevelopmentProps.d.ts +24 -21
- package/lib/IAutoMovieEvidenceConfigProps.d.ts +19 -18
- package/lib/IAutoMovieNarrativeProps.d.ts +10 -8
- package/lib/IAutoMovieNoNarrativeProps.d.ts +4 -6
- package/lib/createDevelopmentContractClaims.d.ts +15 -23
- package/lib/createDevelopmentContractClaims.js +22 -25
- package/lib/createDevelopmentContractClaims.js.map +1 -1
- package/lib/createEngineeringClaims.d.ts +16 -21
- package/lib/createEngineeringClaims.js +15 -20
- package/lib/createEngineeringClaims.js.map +1 -1
- package/lib/createEvidenceConfig.d.ts +7 -14
- package/lib/createEvidenceConfig.js +12 -16
- package/lib/createEvidenceConfig.js.map +1 -1
- package/lib/createResearchClaims.d.ts +4 -12
- package/lib/createResearchClaims.js +4 -12
- package/lib/createResearchClaims.js.map +1 -1
- package/lib/internal/IContractLocation.d.ts +6 -7
- package/lib/internal/PRODUCTION_CONTRACTS.d.ts +14 -7
- package/lib/internal/PRODUCTION_CONTRACTS.js +14 -7
- package/lib/internal/PRODUCTION_CONTRACTS.js.map +1 -1
- package/lib/internal/SKILLS_ROOT.d.ts +13 -7
- package/lib/internal/SKILLS_ROOT.js +13 -7
- package/lib/internal/SKILLS_ROOT.js.map +1 -1
- package/lib/internal/STORY_CONTRACTS.d.ts +12 -9
- package/lib/internal/STORY_CONTRACTS.js +12 -9
- package/lib/internal/STORY_CONTRACTS.js.map +1 -1
- package/lib/internal/assertFilmCatalogLayout.d.ts +8 -14
- package/lib/internal/assertFilmCatalogLayout.js +128 -33
- package/lib/internal/assertFilmCatalogLayout.js.map +1 -1
- package/lib/internal/assertProductionContractLayout.d.ts +2 -10
- package/lib/internal/assertProductionContractLayout.js +2 -10
- package/lib/internal/assertProductionContractLayout.js.map +1 -1
- package/lib/internal/createReferenceRoot.d.ts +0 -8
- package/lib/internal/createReferenceRoot.js +0 -8
- package/lib/internal/createReferenceRoot.js.map +1 -1
- package/lib/internal/hasMatchingFile.d.ts +2 -10
- package/lib/internal/hasMatchingFile.js +2 -10
- package/lib/internal/hasMatchingFile.js.map +1 -1
- package/lib/internal/resolveSkillsDirectory.d.ts +2 -9
- package/lib/internal/resolveSkillsDirectory.js +2 -9
- package/lib/internal/resolveSkillsDirectory.js.map +1 -1
- package/lib/narrative/AuthoredLayer.d.ts +2 -6
- package/lib/narrative/EvidenceMetadataRewriteOwnership.d.ts +0 -5
- package/lib/narrative/IEvidenceMetadataRenderedSample.d.ts +1 -8
- package/lib/narrative/IEvidenceMetadataRewriteFile.d.ts +1 -8
- package/lib/narrative/IEvidenceMetadataRewriteProps.d.ts +1 -8
- package/lib/narrative/IEvidenceMetadataRewriteReport.d.ts +1 -8
- package/lib/narrative/IPackageChecklistClaimProps.d.ts +2 -7
- package/lib/narrative/IPackageContractProps.d.ts +4 -11
- package/lib/narrative/IPackagePopulationContractProps.d.ts +1 -8
- package/lib/narrative/IProductionConfigProps.d.ts +7 -11
- package/lib/narrative/IProductionConstruction.d.ts +3 -10
- package/lib/narrative/NarrativeLayer.d.ts +3 -8
- package/lib/narrative/NarrativeScope.d.ts +2 -7
- package/lib/narrative/ProductionStage.d.ts +2 -6
- package/lib/narrative/createBriefFiles.d.ts +5 -12
- package/lib/narrative/createBriefFiles.js +5 -12
- package/lib/narrative/createBriefFiles.js.map +1 -1
- package/lib/narrative/createNarrativeUnitFiles.d.ts +0 -8
- package/lib/narrative/createNarrativeUnitFiles.js +0 -8
- package/lib/narrative/createNarrativeUnitFiles.js.map +1 -1
- package/lib/narrative/createPackageChecklistClaim.d.ts +3 -11
- package/lib/narrative/createPackageChecklistClaim.js +3 -11
- package/lib/narrative/createPackageChecklistClaim.js.map +1 -1
- package/lib/narrative/createPackageContract.d.ts +0 -8
- package/lib/narrative/createPackageContract.js +0 -8
- package/lib/narrative/createPackageContract.js.map +1 -1
- package/lib/narrative/createPackagePopulationContract.d.ts +3 -11
- package/lib/narrative/createPackagePopulationContract.js +3 -11
- package/lib/narrative/createPackagePopulationContract.js.map +1 -1
- package/lib/narrative/createProductionClaims.d.ts +0 -8
- package/lib/narrative/createProductionClaims.js +0 -8
- package/lib/narrative/createProductionClaims.js.map +1 -1
- package/lib/narrative/createProductionConfig.d.ts +1 -11
- package/lib/narrative/createProductionConfig.js +1 -11
- package/lib/narrative/createProductionConfig.js.map +1 -1
- package/lib/narrative/createSettingsFiles.d.ts +0 -8
- package/lib/narrative/createSettingsFiles.js +0 -8
- package/lib/narrative/createSettingsFiles.js.map +1 -1
- package/lib/narrative/internal/AUTHORED_LAYERS.d.ts +14 -7
- package/lib/narrative/internal/AUTHORED_LAYERS.js +14 -7
- package/lib/narrative/internal/AUTHORED_LAYERS.js.map +1 -1
- package/lib/narrative/internal/claims/createDiscoveryClaim.d.ts +17 -22
- package/lib/narrative/internal/claims/createDiscoveryClaim.js +17 -22
- package/lib/narrative/internal/claims/createDiscoveryClaim.js.map +1 -1
- package/lib/narrative/internal/claims/createInstructionCoverageClaim.d.ts +7 -15
- package/lib/narrative/internal/claims/createInstructionCoverageClaim.js +7 -15
- package/lib/narrative/internal/claims/createInstructionCoverageClaim.js.map +1 -1
- package/lib/narrative/internal/claims/createLayerClaims.d.ts +0 -8
- package/lib/narrative/internal/claims/createLayerClaims.js +0 -8
- package/lib/narrative/internal/claims/createLayerClaims.js.map +1 -1
- package/lib/narrative/internal/claims/createOutlineClaims.d.ts +6 -14
- package/lib/narrative/internal/claims/createOutlineClaims.js +6 -14
- package/lib/narrative/internal/claims/createOutlineClaims.js.map +1 -1
- package/lib/narrative/internal/claims/createPopulationObligationClaims.d.ts +3 -12
- package/lib/narrative/internal/claims/createPopulationObligationClaims.js +3 -12
- package/lib/narrative/internal/claims/createPopulationObligationClaims.js.map +1 -1
- package/lib/narrative/internal/claims/createReviewClaims.d.ts +11 -19
- package/lib/narrative/internal/claims/createReviewClaims.js +54 -39
- package/lib/narrative/internal/claims/createReviewClaims.js.map +1 -1
- package/lib/narrative/internal/claims/createSettingCoverageClaim.d.ts +0 -8
- package/lib/narrative/internal/claims/createSettingCoverageClaim.js +0 -8
- package/lib/narrative/internal/claims/createSettingCoverageClaim.js.map +1 -1
- package/lib/narrative/internal/collectProductionClaims.d.ts +1 -11
- package/lib/narrative/internal/collectProductionClaims.js +1 -11
- package/lib/narrative/internal/collectProductionClaims.js.map +1 -1
- package/lib/narrative/internal/constructionStage.d.ts +2 -9
- package/lib/narrative/internal/constructionStage.js +2 -9
- package/lib/narrative/internal/constructionStage.js.map +1 -1
- package/lib/narrative/internal/createGraphConfig.d.ts +4 -12
- package/lib/narrative/internal/createGraphConfig.js +4 -12
- package/lib/narrative/internal/createGraphConfig.js.map +1 -1
- package/lib/narrative/internal/isCanonLayer.d.ts +2 -9
- package/lib/narrative/internal/isCanonLayer.js +2 -9
- package/lib/narrative/internal/isCanonLayer.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.d.ts +10 -7
- package/lib/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.js +10 -7
- package/lib/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/EvidenceDeclarationKind.d.ts +1 -8
- package/lib/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.d.ts +10 -7
- package/lib/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.js +10 -7
- package/lib/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/HEADING_REVIEW.d.ts +10 -7
- package/lib/narrative/internal/metadataRewrite/HEADING_REVIEW.js +10 -7
- package/lib/narrative/internal/metadataRewrite/HEADING_REVIEW.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/IEvidenceHeading.d.ts +1 -8
- package/lib/narrative/internal/metadataRewrite/IEvidenceSection.d.ts +1 -8
- package/lib/narrative/internal/metadataRewrite/IMetadataFragment.d.ts +1 -8
- package/lib/narrative/internal/metadataRewrite/IProjectionSegment.d.ts +1 -8
- package/lib/narrative/internal/metadataRewrite/IProtectedProjection.d.ts +1 -8
- package/lib/narrative/internal/metadataRewrite/REVIEW.d.ts +11 -7
- package/lib/narrative/internal/metadataRewrite/REVIEW.js +11 -7
- package/lib/narrative/internal/metadataRewrite/REVIEW.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/SUSPICIOUS.d.ts +13 -8
- package/lib/narrative/internal/metadataRewrite/SUSPICIOUS.js +13 -8
- package/lib/narrative/internal/metadataRewrite/SUSPICIOUS.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/UTF8.d.ts +10 -7
- package/lib/narrative/internal/metadataRewrite/UTF8.js +10 -7
- package/lib/narrative/internal/metadataRewrite/UTF8.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/between.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/between.js +1 -11
- package/lib/narrative/internal/metadataRewrite/between.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/continuation.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/continuation.js +1 -11
- package/lib/narrative/internal/metadataRewrite/continuation.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/declarationKind.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/declarationKind.js +1 -11
- package/lib/narrative/internal/metadataRewrite/declarationKind.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/decode.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/decode.js +1 -11
- package/lib/narrative/internal/metadataRewrite/decode.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/directory.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/directory.js +1 -11
- package/lib/narrative/internal/metadataRewrite/directory.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/errorMessage.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/errorMessage.js +1 -11
- package/lib/narrative/internal/metadataRewrite/errorMessage.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/evidenceHeading.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/evidenceHeading.js +1 -11
- package/lib/narrative/internal/metadataRewrite/evidenceHeading.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/evidenceSections.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/evidenceSections.js +1 -11
- package/lib/narrative/internal/metadataRewrite/evidenceSections.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/findClose.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/findClose.js +1 -11
- package/lib/narrative/internal/metadataRewrite/findClose.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/firstDifference.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/firstDifference.js +1 -11
- package/lib/narrative/internal/metadataRewrite/firstDifference.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/flatFingerprintStart.d.ts +2 -9
- package/lib/narrative/internal/metadataRewrite/flatFingerprintStart.js +2 -9
- package/lib/narrative/internal/metadataRewrite/flatFingerprintStart.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/invalidUtf8Offset.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/invalidUtf8Offset.js +1 -11
- package/lib/narrative/internal/metadataRewrite/invalidUtf8Offset.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/isDeclaration.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/isDeclaration.js +1 -11
- package/lib/narrative/internal/metadataRewrite/isDeclaration.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/isNodeError.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/isNodeError.js +1 -11
- package/lib/narrative/internal/metadataRewrite/isNodeError.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/lineEnding.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/lineEnding.js +1 -11
- package/lib/narrative/internal/metadataRewrite/lineEnding.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/locate.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/locate.js +1 -11
- package/lib/narrative/internal/metadataRewrite/locate.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/markdownFiles.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/markdownFiles.js +1 -11
- package/lib/narrative/internal/metadataRewrite/markdownFiles.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/metadataOwnership.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/metadataOwnership.js +1 -11
- package/lib/narrative/internal/metadataRewrite/metadataOwnership.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/normalizeFile.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/normalizeFile.js +1 -11
- package/lib/narrative/internal/metadataRewrite/normalizeFile.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/occurrenceOffsets.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/occurrenceOffsets.js +1 -11
- package/lib/narrative/internal/metadataRewrite/occurrenceOffsets.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/occurrences.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/occurrences.js +1 -11
- package/lib/narrative/internal/metadataRewrite/occurrences.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/originalOffset.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/originalOffset.js +1 -11
- package/lib/narrative/internal/metadataRewrite/originalOffset.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/project.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/project.js +1 -11
- package/lib/narrative/internal/metadataRewrite/project.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/protectedFileKind.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/protectedFileKind.js +1 -11
- package/lib/narrative/internal/metadataRewrite/protectedFileKind.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/replacementSafety.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/replacementSafety.js +1 -11
- package/lib/narrative/internal/metadataRewrite/replacementSafety.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/sameMetadata.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/sameMetadata.js +1 -11
- package/lib/narrative/internal/metadataRewrite/sameMetadata.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/selectFiles.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/selectFiles.js +1 -11
- package/lib/narrative/internal/metadataRewrite/selectFiles.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/singleLineDeclaration.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/singleLineDeclaration.js +1 -11
- package/lib/narrative/internal/metadataRewrite/singleLineDeclaration.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/textLocation.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/textLocation.js +1 -11
- package/lib/narrative/internal/metadataRewrite/textLocation.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/validateRenderedSample.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/validateRenderedSample.js +1 -11
- package/lib/narrative/internal/metadataRewrite/validateRenderedSample.js.map +1 -1
- package/lib/narrative/internal/metadataRewrite/withoutEnding.d.ts +1 -11
- package/lib/narrative/internal/metadataRewrite/withoutEnding.js +1 -11
- package/lib/narrative/internal/metadataRewrite/withoutEnding.js.map +1 -1
- package/lib/narrative/internal/productionLayers.d.ts +1 -11
- package/lib/narrative/internal/productionLayers.js +1 -11
- package/lib/narrative/internal/productionLayers.js.map +1 -1
- package/lib/narrative/internal/readSettingsFiles.d.ts +4 -12
- package/lib/narrative/internal/readSettingsFiles.js +8 -13
- package/lib/narrative/internal/readSettingsFiles.js.map +1 -1
- package/lib/narrative/internal/references/createCoverageReference.d.ts +2 -10
- package/lib/narrative/internal/references/createCoverageReference.js +2 -10
- package/lib/narrative/internal/references/createCoverageReference.js.map +1 -1
- package/lib/narrative/internal/references/createDiscoveryReferences.d.ts +5 -13
- package/lib/narrative/internal/references/createDiscoveryReferences.js +5 -13
- package/lib/narrative/internal/references/createDiscoveryReferences.js.map +1 -1
- package/lib/narrative/internal/references/createLanguageDiscoveryReferences.d.ts +1 -11
- package/lib/narrative/internal/references/createLanguageDiscoveryReferences.js +1 -11
- package/lib/narrative/internal/references/createLanguageDiscoveryReferences.js.map +1 -1
- package/lib/narrative/internal/references/createLanguagePrincipleReferences.d.ts +2 -9
- package/lib/narrative/internal/references/createLanguagePrincipleReferences.js +2 -9
- package/lib/narrative/internal/references/createLanguagePrincipleReferences.js.map +1 -1
- package/lib/narrative/internal/references/createLineageReference.d.ts +6 -14
- package/lib/narrative/internal/references/createLineageReference.js +6 -14
- package/lib/narrative/internal/references/createLineageReference.js.map +1 -1
- package/lib/narrative/internal/references/createLocalContractReference.d.ts +0 -8
- package/lib/narrative/internal/references/createLocalContractReference.js +0 -8
- package/lib/narrative/internal/references/createLocalContractReference.js.map +1 -1
- package/lib/narrative/internal/references/createPrincipleReferences.d.ts +0 -8
- package/lib/narrative/internal/references/createPrincipleReferences.js +0 -8
- package/lib/narrative/internal/references/createPrincipleReferences.js.map +1 -1
- package/lib/narrative/internal/references/createSettingReferences.d.ts +3 -10
- package/lib/narrative/internal/references/createSettingReferences.js +3 -10
- package/lib/narrative/internal/references/createSettingReferences.js.map +1 -1
- package/lib/narrative/internal/references/createSharedReference.d.ts +7 -15
- package/lib/narrative/internal/references/createSharedReference.js +7 -15
- package/lib/narrative/internal/references/createSharedReference.js.map +1 -1
- package/lib/narrative/internal/references/createUpstreamReference.d.ts +0 -8
- package/lib/narrative/internal/references/createUpstreamReference.js +0 -8
- package/lib/narrative/internal/references/createUpstreamReference.js.map +1 -1
- package/lib/narrative/internal/references/layerFiles.d.ts +4 -12
- package/lib/narrative/internal/references/layerFiles.js +4 -12
- package/lib/narrative/internal/references/layerFiles.js.map +1 -1
- package/lib/narrative/internal/settingsEntryAnchor.d.ts +2 -9
- package/lib/narrative/internal/settingsEntryAnchor.js +2 -9
- package/lib/narrative/internal/settingsEntryAnchor.js.map +1 -1
- package/lib/narrative/internal/topology/createTopologyFiles.d.ts +1 -11
- package/lib/narrative/internal/topology/createTopologyFiles.js +1 -11
- package/lib/narrative/internal/topology/createTopologyFiles.js.map +1 -1
- package/lib/narrative/internal/utilities/BODY_ROOT.d.ts +14 -7
- package/lib/narrative/internal/utilities/BODY_ROOT.js +14 -7
- package/lib/narrative/internal/utilities/BODY_ROOT.js.map +1 -1
- package/lib/narrative/internal/utilities/PACKAGE_DOCS_ROOT.d.ts +15 -7
- package/lib/narrative/internal/utilities/PACKAGE_DOCS_ROOT.js +15 -7
- package/lib/narrative/internal/utilities/PACKAGE_DOCS_ROOT.js.map +1 -1
- package/lib/narrative/internal/utilities/assertProductionEvidenceSources.d.ts +2 -9
- package/lib/narrative/internal/utilities/assertProductionEvidenceSources.js +2 -9
- package/lib/narrative/internal/utilities/assertProductionEvidenceSources.js.map +1 -1
- package/lib/narrative/internal/utilities/createContractDirectory.d.ts +4 -10
- package/lib/narrative/internal/utilities/createContractDirectory.js +4 -10
- package/lib/narrative/internal/utilities/createContractDirectory.js.map +1 -1
- package/lib/narrative/internal/utilities/createContractRoot.d.ts +6 -12
- package/lib/narrative/internal/utilities/createContractRoot.js +6 -12
- package/lib/narrative/internal/utilities/createContractRoot.js.map +1 -1
- package/lib/narrative/internal/utilities/createEvidenceFiles.d.ts +1 -11
- package/lib/narrative/internal/utilities/createEvidenceFiles.js +1 -11
- package/lib/narrative/internal/utilities/createEvidenceFiles.js.map +1 -1
- package/lib/narrative/internal/utilities/createUnitFiles.d.ts +0 -8
- package/lib/narrative/internal/utilities/createUnitFiles.js +0 -8
- package/lib/narrative/internal/utilities/createUnitFiles.js.map +1 -1
- package/lib/narrative/internal/utilities/hasStoryContract.d.ts +0 -8
- package/lib/narrative/internal/utilities/hasStoryContract.js +0 -8
- package/lib/narrative/internal/utilities/hasStoryContract.js.map +1 -1
- package/lib/narrative/internal/utilities/referenceLocation.d.ts +2 -9
- package/lib/narrative/internal/utilities/referenceLocation.js +2 -9
- package/lib/narrative/internal/utilities/referenceLocation.js.map +1 -1
- package/lib/narrative/internal/validateSettingsOutline.d.ts +6 -12
- package/lib/narrative/internal/validateSettingsOutline.js +27 -20
- package/lib/narrative/internal/validateSettingsOutline.js.map +1 -1
- package/lib/narrative/isFirstPartPilot.d.ts +1 -11
- package/lib/narrative/isFirstPartPilot.js +1 -11
- package/lib/narrative/isFirstPartPilot.js.map +1 -1
- package/lib/narrative/verifyEvidenceMetadataRewrite.d.ts +2 -10
- package/lib/narrative/verifyEvidenceMetadataRewrite.js +2 -10
- package/lib/narrative/verifyEvidenceMetadataRewrite.js.map +1 -1
- package/package.json +6 -5
- package/src/IAutoMovieDevelopmentProps.ts +25 -21
- package/src/IAutoMovieEvidenceConfigProps.ts +19 -18
- package/src/IAutoMovieNarrativeProps.ts +10 -8
- package/src/IAutoMovieNoNarrativeProps.ts +4 -6
- package/src/createDevelopmentContractClaims.ts +23 -25
- package/src/createEngineeringClaims.ts +17 -22
- package/src/createEvidenceConfig.ts +16 -16
- package/src/createResearchClaims.ts +4 -12
- package/src/internal/IContractLocation.ts +6 -7
- package/src/internal/PRODUCTION_CONTRACTS.ts +14 -7
- package/src/internal/SKILLS_ROOT.ts +13 -7
- package/src/internal/STORY_CONTRACTS.ts +12 -9
- package/src/internal/assertFilmCatalogLayout.ts +160 -42
- package/src/internal/assertProductionContractLayout.ts +2 -10
- package/src/internal/createReferenceRoot.ts +0 -8
- package/src/internal/hasMatchingFile.ts +2 -10
- package/src/internal/index.ts +1 -1
- package/src/internal/resolveSkillsDirectory.ts +2 -9
- package/src/narrative/AuthoredLayer.ts +2 -6
- package/src/narrative/EvidenceMetadataRewriteOwnership.ts +0 -5
- package/src/narrative/IEvidenceMetadataRenderedSample.ts +1 -8
- package/src/narrative/IEvidenceMetadataRewriteFile.ts +1 -8
- package/src/narrative/IEvidenceMetadataRewriteProps.ts +1 -8
- package/src/narrative/IEvidenceMetadataRewriteReport.ts +1 -8
- package/src/narrative/IPackageChecklistClaimProps.ts +2 -7
- package/src/narrative/IPackageContractProps.ts +4 -11
- package/src/narrative/IPackagePopulationContractProps.ts +1 -8
- package/src/narrative/IProductionConfigProps.ts +7 -11
- package/src/narrative/IProductionConstruction.ts +3 -10
- package/src/narrative/NarrativeLayer.ts +3 -8
- package/src/narrative/NarrativeScope.ts +2 -7
- package/src/narrative/ProductionStage.ts +2 -6
- package/src/narrative/createBriefFiles.ts +5 -12
- package/src/narrative/createNarrativeUnitFiles.ts +0 -8
- package/src/narrative/createPackageChecklistClaim.ts +3 -11
- package/src/narrative/createPackageContract.ts +0 -8
- package/src/narrative/createPackagePopulationContract.ts +3 -11
- package/src/narrative/createProductionClaims.ts +0 -8
- package/src/narrative/createProductionConfig.ts +1 -11
- package/src/narrative/createSettingsFiles.ts +0 -8
- package/src/narrative/internal/AUTHORED_LAYERS.ts +14 -7
- package/src/narrative/internal/claims/createDiscoveryClaim.ts +17 -22
- package/src/narrative/internal/claims/createInstructionCoverageClaim.ts +7 -15
- package/src/narrative/internal/claims/createLayerClaims.ts +0 -8
- package/src/narrative/internal/claims/createOutlineClaims.ts +6 -14
- package/src/narrative/internal/claims/createPopulationObligationClaims.ts +3 -12
- package/src/narrative/internal/claims/createReviewClaims.ts +54 -39
- package/src/narrative/internal/claims/createSettingCoverageClaim.ts +0 -8
- package/src/narrative/internal/collectProductionClaims.ts +1 -11
- package/src/narrative/internal/constructionStage.ts +2 -9
- package/src/narrative/internal/createGraphConfig.ts +4 -12
- package/src/narrative/internal/isCanonLayer.ts +2 -9
- package/src/narrative/internal/metadataRewrite/ACKNOWLEDGEMENT.ts +10 -7
- package/src/narrative/internal/metadataRewrite/EvidenceDeclarationKind.ts +1 -8
- package/src/narrative/internal/metadataRewrite/HEADING_ACKNOWLEDGEMENT.ts +10 -7
- package/src/narrative/internal/metadataRewrite/HEADING_REVIEW.ts +10 -7
- package/src/narrative/internal/metadataRewrite/IEvidenceHeading.ts +1 -8
- package/src/narrative/internal/metadataRewrite/IEvidenceSection.ts +1 -8
- package/src/narrative/internal/metadataRewrite/IMetadataFragment.ts +1 -8
- package/src/narrative/internal/metadataRewrite/IProjectionSegment.ts +1 -8
- package/src/narrative/internal/metadataRewrite/IProtectedProjection.ts +1 -8
- package/src/narrative/internal/metadataRewrite/REVIEW.ts +11 -7
- package/src/narrative/internal/metadataRewrite/SUSPICIOUS.ts +13 -8
- package/src/narrative/internal/metadataRewrite/UTF8.ts +10 -7
- package/src/narrative/internal/metadataRewrite/between.ts +1 -11
- package/src/narrative/internal/metadataRewrite/continuation.ts +1 -11
- package/src/narrative/internal/metadataRewrite/declarationKind.ts +1 -11
- package/src/narrative/internal/metadataRewrite/decode.ts +1 -11
- package/src/narrative/internal/metadataRewrite/directory.ts +1 -11
- package/src/narrative/internal/metadataRewrite/errorMessage.ts +1 -11
- package/src/narrative/internal/metadataRewrite/evidenceHeading.ts +1 -11
- package/src/narrative/internal/metadataRewrite/evidenceSections.ts +1 -11
- package/src/narrative/internal/metadataRewrite/findClose.ts +1 -11
- package/src/narrative/internal/metadataRewrite/firstDifference.ts +1 -11
- package/src/narrative/internal/metadataRewrite/flatFingerprintStart.ts +2 -9
- package/src/narrative/internal/metadataRewrite/invalidUtf8Offset.ts +1 -11
- package/src/narrative/internal/metadataRewrite/isDeclaration.ts +1 -11
- package/src/narrative/internal/metadataRewrite/isNodeError.ts +1 -11
- package/src/narrative/internal/metadataRewrite/lineEnding.ts +1 -11
- package/src/narrative/internal/metadataRewrite/locate.ts +1 -11
- package/src/narrative/internal/metadataRewrite/markdownFiles.ts +1 -11
- package/src/narrative/internal/metadataRewrite/metadataOwnership.ts +1 -11
- package/src/narrative/internal/metadataRewrite/normalizeFile.ts +1 -11
- package/src/narrative/internal/metadataRewrite/occurrenceOffsets.ts +1 -11
- package/src/narrative/internal/metadataRewrite/occurrences.ts +1 -11
- package/src/narrative/internal/metadataRewrite/originalOffset.ts +1 -11
- package/src/narrative/internal/metadataRewrite/project.ts +1 -11
- package/src/narrative/internal/metadataRewrite/protectedFileKind.ts +1 -11
- package/src/narrative/internal/metadataRewrite/replacementSafety.ts +1 -11
- package/src/narrative/internal/metadataRewrite/sameMetadata.ts +1 -11
- package/src/narrative/internal/metadataRewrite/selectFiles.ts +1 -11
- package/src/narrative/internal/metadataRewrite/singleLineDeclaration.ts +1 -11
- package/src/narrative/internal/metadataRewrite/textLocation.ts +1 -11
- package/src/narrative/internal/metadataRewrite/validateRenderedSample.ts +1 -11
- package/src/narrative/internal/metadataRewrite/withoutEnding.ts +1 -11
- package/src/narrative/internal/productionLayers.ts +1 -11
- package/src/narrative/internal/readSettingsFiles.ts +8 -13
- package/src/narrative/internal/references/createCoverageReference.ts +2 -10
- package/src/narrative/internal/references/createDiscoveryReferences.ts +5 -13
- package/src/narrative/internal/references/createLanguageDiscoveryReferences.ts +1 -11
- package/src/narrative/internal/references/createLanguagePrincipleReferences.ts +2 -9
- package/src/narrative/internal/references/createLineageReference.ts +6 -14
- package/src/narrative/internal/references/createLocalContractReference.ts +0 -8
- package/src/narrative/internal/references/createPrincipleReferences.ts +0 -8
- package/src/narrative/internal/references/createSettingReferences.ts +3 -10
- package/src/narrative/internal/references/createSharedReference.ts +7 -15
- package/src/narrative/internal/references/createUpstreamReference.ts +0 -8
- package/src/narrative/internal/references/layerFiles.ts +4 -12
- package/src/narrative/internal/settingsEntryAnchor.ts +2 -9
- package/src/narrative/internal/topology/createTopologyFiles.ts +1 -11
- package/src/narrative/internal/utilities/BODY_ROOT.ts +14 -7
- package/src/narrative/internal/utilities/PACKAGE_DOCS_ROOT.ts +15 -7
- package/src/narrative/internal/utilities/assertProductionEvidenceSources.ts +2 -9
- package/src/narrative/internal/utilities/createContractDirectory.ts +4 -10
- package/src/narrative/internal/utilities/createContractRoot.ts +6 -12
- package/src/narrative/internal/utilities/createEvidenceFiles.ts +1 -11
- package/src/narrative/internal/utilities/createUnitFiles.ts +0 -8
- package/src/narrative/internal/utilities/hasStoryContract.ts +0 -8
- package/src/narrative/internal/utilities/referenceLocation.ts +2 -9
- package/src/narrative/internal/validateSettingsOutline.ts +27 -20
- package/src/narrative/isFirstPartPilot.ts +1 -11
- package/src/narrative/verifyEvidenceMetadataRewrite.ts +2 -10
|
@@ -2,25 +2,21 @@
|
|
|
2
2
|
* Production-specific development contracts a commissioned film turns on.
|
|
3
3
|
*
|
|
4
4
|
* Each stage selects the exported declarations of its source folders against
|
|
5
|
-
*
|
|
6
|
-
* their doc comments: entities in `src/entities/` answer `entities.md`,
|
|
7
|
-
* interactions and consequences in `src/laws/`, `src/interactions/` and
|
|
8
|
-
* `src/consequences/` answer `behaviors.md`, a law naming the study it
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* @evidence contracts/development/design.md#principled-representation One stage per contract mirrors the scaffold's development contracts, so a commission enables exactly the duties its code can establish.
|
|
15
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Three optional fields with the narrative stage vocabulary; folders, populations and references belong to the claim factory.
|
|
16
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts No stage is implied by file presence; an absent field is disabled.
|
|
17
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment names each stage's respondents, the scene and film citations and the disabled default.
|
|
5
|
+
* checklists under `contracts/development/` of the shared skills tree, answered
|
|
6
|
+
* in their doc comments: entities in `src/entities/` answer `entities.md`,
|
|
7
|
+
* laws, interactions and consequences in `src/laws/`, `src/interactions/` and
|
|
8
|
+
* `src/consequences/` answer `behaviors.md`, a law naming the study it follows
|
|
9
|
+
* in its answer, scenes in `src/composition/` answer `composition.md`, citing
|
|
10
|
+
* the screenplay scene file or the sections and beats of it they realize,
|
|
11
|
+
* screenplay films answer `films.md`, citing the scene files they order, and a
|
|
12
|
+
* separately selected catalog answers `catalog.md`. Ordinary coding and
|
|
13
|
+
* narrative-only work leave development stages disabled.
|
|
18
14
|
*/
|
|
19
15
|
export interface IAutoMovieDevelopmentProps {
|
|
20
16
|
/**
|
|
21
17
|
* Types, classes, functions and methods under `src/entities/` answer
|
|
22
|
-
* `contracts/development/entities.md`. Submitting entities or composition
|
|
23
|
-
*
|
|
18
|
+
* `contracts/development/entities.md`. Submitting entities or composition on
|
|
19
|
+
* a narrative route also connects entity types to its subject records.
|
|
24
20
|
*/
|
|
25
21
|
entities?: "disabled" | "evidence";
|
|
26
22
|
|
|
@@ -33,12 +29,20 @@ export interface IAutoMovieDevelopmentProps {
|
|
|
33
29
|
|
|
34
30
|
/**
|
|
35
31
|
* Functions and methods under `src/composition/scenes/` answer
|
|
36
|
-
* `contracts/development/composition.md` and cite a screenplay scene file
|
|
37
|
-
*
|
|
38
|
-
* those under `src/composition/films/` answer
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* scene sources requires the catalog film, case sources and acceptance record.
|
|
32
|
+
* `contracts/development/composition.md` and cite a screenplay scene file or
|
|
33
|
+
* its sections and beats, every section and beat of which must be cited;
|
|
34
|
+
* those under `src/composition/films/` answer
|
|
35
|
+
* `contracts/development/films.md` and cite the scene files they order, every
|
|
36
|
+
* one of which must belong to a film. Catalog files have their own contract.
|
|
42
37
|
*/
|
|
43
38
|
composition?: "disabled" | "evidence";
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Case functions and the catalog film answer
|
|
42
|
+
* `contracts/development/catalog.md`. The stage requires case sources, the
|
|
43
|
+
* catalog film and its acceptance record. Omission keeps an existing catalog
|
|
44
|
+
* selected under composition Evidence. Use `"disabled"` to clear that
|
|
45
|
+
* selection explicitly.
|
|
46
|
+
*/
|
|
47
|
+
catalog?: "disabled" | "evidence";
|
|
44
48
|
}
|
|
@@ -4,14 +4,7 @@ import type { IAutoMovieDevelopmentProps } from "./IAutoMovieDevelopmentProps";
|
|
|
4
4
|
import type { IAutoMovieNarrativeProps } from "./IAutoMovieNarrativeProps";
|
|
5
5
|
import type { IAutoMovieNoNarrativeProps } from "./IAutoMovieNoNarrativeProps";
|
|
6
6
|
|
|
7
|
-
/**
|
|
8
|
-
* Configures a project's engineering evidence and optional narrative workflow.
|
|
9
|
-
*
|
|
10
|
-
* @evidence contracts/development/design.md#principled-representation The absolute project location anchors the production's own contracts and an optional skills directory, absolute or relative to that location, anchors the bundled shared ones; native claims configure engineering while an explicit narrative route adds creative relationships and independent-review structure, and mode none adds only the instruction-to-code relation.
|
|
11
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface One object contains the two contract locations, native engineering claims and optional narrative choices, a route with disabled stage defaults or none.
|
|
12
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts No narrative mode is inferred from existing files or imposed on ordinary coding and standalone assets, and no workspace is inferred from the filesystem: a shared tree elsewhere is named explicitly.
|
|
13
|
-
* @evidence contracts/development/common.md#meaningful-documentation Members state path ownership, the shared tree's default, that supplied claims add to the engineering defaults, and narrative opt-in behavior.
|
|
14
|
-
*/
|
|
7
|
+
/** Configures a project's engineering evidence and optional narrative workflow. */
|
|
15
8
|
export interface IAutoMovieEvidenceConfigProps {
|
|
16
9
|
/** Absolute project directory containing the production-owned contracts. */
|
|
17
10
|
location: string;
|
|
@@ -20,13 +13,12 @@ export interface IAutoMovieEvidenceConfigProps {
|
|
|
20
13
|
* Directory of the shared `.agents/skills` tree holding the bundled
|
|
21
14
|
* contracts, absolute or relative to `location`.
|
|
22
15
|
*
|
|
23
|
-
* The engineering and development checklists (`contracts/development/**`)
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* change.
|
|
16
|
+
* The engineering and development checklists (`contracts/development/**`) and
|
|
17
|
+
* the shared story contracts (`contracts/story/**`) resolve here. The
|
|
18
|
+
* production's own `work/**` and `language/**` contracts always resolve under
|
|
19
|
+
* `<location>/docs/contracts`, never here. A workspace production passes the
|
|
20
|
+
* workspace root's tree; a standalone production omits it. Citation addresses
|
|
21
|
+
* are the same either way; only reference roots change.
|
|
30
22
|
*
|
|
31
23
|
* @default path.join(location, ".agents", "skills")
|
|
32
24
|
*/
|
|
@@ -35,12 +27,21 @@ export interface IAutoMovieEvidenceConfigProps {
|
|
|
35
27
|
/** Native claims added to the default source and test engineering claims. */
|
|
36
28
|
claims?: IEvidenceClaim[];
|
|
37
29
|
|
|
38
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Omit for ordinary coding and standalone assets; provide a route for video
|
|
32
|
+
* writing, or mode none for a screenplay no narrative pass writes.
|
|
33
|
+
*/
|
|
39
34
|
narrative?: IAutoMovieNarrativeProps | IAutoMovieNoNarrativeProps;
|
|
40
35
|
|
|
41
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Selects development contracts for entities, behaviors, composition and a
|
|
38
|
+
* separate review catalog.
|
|
39
|
+
*/
|
|
42
40
|
development?: IAutoMovieDevelopmentProps;
|
|
43
41
|
|
|
44
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Overrides research selection. By default a short selects all studies once
|
|
44
|
+
* one exists beyond the index. Other routes leave research disabled.
|
|
45
|
+
*/
|
|
45
46
|
research?: "disabled" | "evidence";
|
|
46
47
|
}
|
|
@@ -4,18 +4,20 @@ import type { IProductionConstruction } from "./narrative/IProductionConstructio
|
|
|
4
4
|
import type { NarrativeScope } from "./narrative/NarrativeScope";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Opts into narrative evidence using native claims and selected authored
|
|
8
|
-
*
|
|
9
|
-
* @evidence contracts/development/design.md#principled-representation Mode chooses the actual layers; omitted stages remain disabled drafts, and omitted scope selects the complete work.
|
|
10
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Narrative options extend the engineering configuration without a parallel claim-owner representation.
|
|
11
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts Additional claims use the native Evidence shape and preserve their own selectors, references and review settings.
|
|
12
|
-
* @evidence contracts/development/common.md#meaningful-documentation Fields define the route, stage defaults, authored scope and ordinary additional claims.
|
|
7
|
+
* Opts into narrative evidence using native claims and selected authored
|
|
8
|
+
* stages.
|
|
13
9
|
*/
|
|
14
10
|
export interface IAutoMovieNarrativeProps {
|
|
15
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Long retains four layers; short writes its brief canon, then the
|
|
13
|
+
* screenplay, with no treatments, scripts or outline.
|
|
14
|
+
*/
|
|
16
15
|
mode: "long" | "short";
|
|
17
16
|
|
|
18
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Unspecified layers are disabled drafts; an omitted outline follows
|
|
19
|
+
* settings.
|
|
20
|
+
*/
|
|
19
21
|
construction?: Partial<IProductionConstruction>;
|
|
20
22
|
|
|
21
23
|
/** Defaults to the complete work; a pilot must identify its exact first part. */
|
|
@@ -3,14 +3,12 @@ import type { IEvidenceClaim } from "@wrtnlabs/evidence";
|
|
|
3
3
|
/**
|
|
4
4
|
* Declares that no narrative layer is checked, for a screenplay no narrative
|
|
5
5
|
* pass writes.
|
|
6
|
-
*
|
|
7
|
-
* @evidence contracts/development/design.md#principled-representation The choice is named by its own mode rather than left to an omitted option, and with an enabled composition stage the code then realizes every instruction section that no narrative layer cites.
|
|
8
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface The mode and additional native claims are the only members; layer stages and scope belong to the narrative routes.
|
|
9
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts No stage or scope field exists, so none can be written and silently ignored.
|
|
10
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states when the choice applies and what each member does.
|
|
11
6
|
*/
|
|
12
7
|
export interface IAutoMovieNoNarrativeProps {
|
|
13
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Checks no narrative layer; with an enabled composition stage, the
|
|
10
|
+
* composition and entities must realize every instruction section instead.
|
|
11
|
+
*/
|
|
14
12
|
mode: "none";
|
|
15
13
|
|
|
16
14
|
/** Additional native claims for the production's actual respondents. */
|
|
@@ -11,30 +11,22 @@ import { SKILLS_ROOT } from "./internal/SKILLS_ROOT";
|
|
|
11
11
|
* Creates the claims of the enabled production-specific development contracts.
|
|
12
12
|
*
|
|
13
13
|
* Each enabled stage selects the exported declarations of its source folders
|
|
14
|
-
* and requires each to answer every item of
|
|
15
|
-
* `contracts/development
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* entity is a class whose methods are its capabilities. Behaviors
|
|
19
|
-
* interactions and consequences) answer
|
|
14
|
+
* and requires each to answer every item of its checklist under
|
|
15
|
+
* `contracts/development/` in its doc comment, read from the skills tree at
|
|
16
|
+
* `props.skills`, by default the production's own `.agents/skills`. Entities
|
|
17
|
+
* answer `entities.md` with their types, classes, functions and methods,
|
|
18
|
+
* because an entity is a class whose methods are its capabilities. Behaviors
|
|
19
|
+
* (laws, interactions and consequences) answer `behaviors.md`. For skilled
|
|
20
20
|
* practice, the studied laws answer cites the observations used to coordinate
|
|
21
|
-
* even installed actions. A study can also serve the screenplay alone.
|
|
22
|
-
*
|
|
23
|
-
* realize, and every H2 section and H3 beat must be
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* `instructions`, the composition and
|
|
27
|
-
* instruction section, which no narrative
|
|
28
|
-
* exclusion. The public configuration adds coverage
|
|
29
|
-
* records when entities or composition are submitted.
|
|
30
|
-
*
|
|
31
|
-
* @evidence contracts/development/implementation.md#principled-implementation Native TypeScript claims carry the checklist, and a second Markdown reference uses native target coverage to make the screenplay-section-and-beat-to-scene and scene-file-to-film relations mechanical, while entities and behaviors carry the checklist alone; `instructions` adds the instruction-to-code relation with the same coverage, no checklist and no exclusion, because a user requirement cannot be waived by its realizer.
|
|
32
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One table maps each checklist population to its stage, folders, symbol kinds and cited population, and the one instruction relation, which has no checklist, follows it; disabled stages produce no claim, and the one props object carries the stages, the instruction switch and where the checklists are read.
|
|
33
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Source folders are the scaffold layout's documented locations, not fixture paths; nothing is inferred from file presence.
|
|
34
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states each stage's respondents, the relation it enforces and which skills tree holds the checklists; the `skills` member states its form and default, and `instructions` when the code must realize every instruction section.
|
|
35
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Builds at most six fixed-size claim trees in constant time without file I/O.
|
|
36
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Fresh objects are returned so one configuration's edits cannot reach another; there is no expensive shared work.
|
|
37
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned claims; nothing is retained.
|
|
21
|
+
* even installed actions. A study can also serve the screenplay alone. Scenes
|
|
22
|
+
* answer `composition.md` and cite the screenplay scene file, or the sections
|
|
23
|
+
* and beats of it they realize, and every H2 section and H3 beat must be
|
|
24
|
+
* realized; screenplay films answer `films.md` and cite each scene file they
|
|
25
|
+
* order, and every scene file must belong to a film. A selected catalog's cases
|
|
26
|
+
* and review film answer `catalog.md`. With `instructions`, the composition and
|
|
27
|
+
* entities must also realize every instruction section, which no narrative
|
|
28
|
+
* layer then cites, with no exclusion. The public configuration adds coverage
|
|
29
|
+
* of the route's subject records when entities or composition are submitted.
|
|
38
30
|
*/
|
|
39
31
|
export function createDevelopmentContractClaims(
|
|
40
32
|
props: IAutoMovieDevelopmentProps & {
|
|
@@ -60,6 +52,7 @@ export function createDevelopmentContractClaims(
|
|
|
60
52
|
const populations: {
|
|
61
53
|
stage: keyof IAutoMovieDevelopmentProps;
|
|
62
54
|
name: string;
|
|
55
|
+
checklist: string;
|
|
63
56
|
files: string[];
|
|
64
57
|
symbol: EvidenceProgrammingSymbol[];
|
|
65
58
|
cited?: IEvidenceMarkdownReference;
|
|
@@ -67,12 +60,14 @@ export function createDevelopmentContractClaims(
|
|
|
67
60
|
{
|
|
68
61
|
stage: "entities",
|
|
69
62
|
name: "entities",
|
|
63
|
+
checklist: "entities",
|
|
70
64
|
files: ["src/entities/**/*.ts"],
|
|
71
65
|
symbol: ["type", "function"],
|
|
72
66
|
},
|
|
73
67
|
{
|
|
74
68
|
stage: "behaviors",
|
|
75
69
|
name: "behaviors",
|
|
70
|
+
checklist: "behaviors",
|
|
76
71
|
files: [
|
|
77
72
|
"src/laws/**/*.ts",
|
|
78
73
|
"src/interactions/**/*.ts",
|
|
@@ -83,6 +78,7 @@ export function createDevelopmentContractClaims(
|
|
|
83
78
|
{
|
|
84
79
|
stage: "composition",
|
|
85
80
|
name: "scenes",
|
|
81
|
+
checklist: "composition",
|
|
86
82
|
files: [
|
|
87
83
|
"src/composition/scenes/**/*.ts",
|
|
88
84
|
"!src/composition/scenes/catalog/**",
|
|
@@ -93,6 +89,7 @@ export function createDevelopmentContractClaims(
|
|
|
93
89
|
{
|
|
94
90
|
stage: "composition",
|
|
95
91
|
name: "films",
|
|
92
|
+
checklist: "films",
|
|
96
93
|
files: [
|
|
97
94
|
"src/composition/films/**/*.ts",
|
|
98
95
|
"!src/composition/films/catalog.ts",
|
|
@@ -101,8 +98,9 @@ export function createDevelopmentContractClaims(
|
|
|
101
98
|
cited: { type: "markdown", files: screenplay, symbol: "file" },
|
|
102
99
|
},
|
|
103
100
|
{
|
|
104
|
-
stage: "
|
|
101
|
+
stage: "catalog",
|
|
105
102
|
name: "review catalog",
|
|
103
|
+
checklist: "catalog",
|
|
106
104
|
files: [
|
|
107
105
|
"src/composition/scenes/catalog/**/*.ts",
|
|
108
106
|
"src/composition/films/catalog.ts",
|
|
@@ -122,7 +120,7 @@ export function createDevelopmentContractClaims(
|
|
|
122
120
|
{
|
|
123
121
|
type: "markdown",
|
|
124
122
|
root: props.skills ?? SKILLS_ROOT,
|
|
125
|
-
files: [`contracts/development/${entry.
|
|
123
|
+
files: [`contracts/development/${entry.checklist}.md`],
|
|
126
124
|
symbol: "h2",
|
|
127
125
|
checklist: true,
|
|
128
126
|
},
|
|
@@ -7,30 +7,25 @@ import { SKILLS_ROOT } from "./internal/SKILLS_ROOT";
|
|
|
7
7
|
*
|
|
8
8
|
* Use the result when extending, rather than replacing, the default engineering
|
|
9
9
|
* population. Every exported source declaration and test answers the common
|
|
10
|
-
* checklist
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
10
|
+
* checklist, except scenes, films and catalog cases under `src/composition/`,
|
|
11
|
+
* which realize a screenplay rather than serve callers and document that
|
|
12
|
+
* realization under their own composition, films and catalog contracts;
|
|
13
|
+
* exported types, interfaces and classes also answer the design checklist,
|
|
14
|
+
* exported functions and class methods the implementation checklist, and
|
|
15
|
+
* exported test functions the testing checklist. The paths are read from the
|
|
16
|
+
* skills tree at `skills`, by default the production's own `.agents/skills`; a
|
|
17
|
+
* workspace production names the shared tree at the workspace root instead,
|
|
18
|
+
* such as `../../../.agents/skills`. By default the paths are the scaffold's
|
|
17
19
|
* `contracts/development/{common,design,implementation,testing}.md`.
|
|
18
20
|
*
|
|
19
21
|
* Each claim selects exactly the declarations that owe its checklists, so tests
|
|
20
22
|
* answer common and testing in one claim, while source types and functions,
|
|
21
23
|
* which owe different checklists, share common through a separate claim; a
|
|
22
|
-
* claim reports an answer on a declaration outside its population as unhosted.
|
|
23
|
-
* own paths instead, such as
|
|
24
|
-
*
|
|
25
|
-
* single claim as
|
|
26
|
-
*
|
|
27
|
-
* @evidence contracts/development/implementation.md#principled-implementation Native TypeScript symbol kinds separate declarations that describe a shape (type) from those that compute (function); one claim per population keeps every acknowledgement on a host its claim selects, and equal design and implementation paths collapse into one claim for the same reason.
|
|
28
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This factory owns only the default engineering population, independent of narrative graph construction; the optional paths and skills root name the checklists without changing which declarations owe them.
|
|
29
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The documented src/test conventions are production defaults, not fixture paths or tailored expected answers; a supplied path replaces only its checklist file, a supplied skills root moves only where they are read, and a null common path removes only the shared claim.
|
|
30
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment explains which declarations answer which checklist, how claims follow their populations, fresh ownership, extension, the workspace skills root and the legacy form; each option states its role.
|
|
31
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Allocates at most four fixed-size claim trees in constant time and space; it performs no discovery or file I/O.
|
|
32
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Fresh objects are intentional so editing one configuration cannot contaminate another; there is no expensive shared work to cache.
|
|
33
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned claim trees; this function retains no references, handles, or tasks.
|
|
24
|
+
* claim reports an answer on a declaration outside its population as unhosted.
|
|
25
|
+
* A production created before that layout passes its own paths instead, such as
|
|
26
|
+
* `common: null` with one `contracts/common.md` for both design and
|
|
27
|
+
* implementation, which then selects types and functions in a single claim as
|
|
28
|
+
* before.
|
|
34
29
|
*/
|
|
35
30
|
export function createEngineeringClaims(
|
|
36
31
|
props: {
|
|
@@ -53,8 +48,8 @@ export function createEngineeringClaims(
|
|
|
53
48
|
tests?: string;
|
|
54
49
|
|
|
55
50
|
/**
|
|
56
|
-
* Reference root of the skills tree holding the checklists, relative to
|
|
57
|
-
*
|
|
51
|
+
* Reference root of the skills tree holding the checklists, relative to the
|
|
52
|
+
* directory of `evidence.config.ts` with `/` separators; `..` segments
|
|
58
53
|
* reach a workspace's shared tree.
|
|
59
54
|
*
|
|
60
55
|
* @default ".agents/skills"
|
|
@@ -117,7 +112,7 @@ export function createEngineeringClaims(
|
|
|
117
112
|
{
|
|
118
113
|
name: "production documentation",
|
|
119
114
|
type: "typescript",
|
|
120
|
-
files: ["src/**/*.ts"],
|
|
115
|
+
files: ["src/**/*.ts", "!src/composition/**"],
|
|
121
116
|
symbol: ["type", "function"],
|
|
122
117
|
reference: checklist(common),
|
|
123
118
|
} satisfies IEvidenceClaim,
|
|
@@ -18,20 +18,13 @@ import { createProductionConfig } from "./narrative/createProductionConfig";
|
|
|
18
18
|
*
|
|
19
19
|
* The shared skills tree is resolved once: its absolute directory goes to the
|
|
20
20
|
* narrative factories, which keep production-owned work and language contracts
|
|
21
|
-
* under `<location>/docs/contracts`, and its root relative to `location` goes
|
|
22
|
-
* engineering, development and research claims. Caller-supplied
|
|
23
|
-
* added after the defaults as written, so they name their own
|
|
24
|
-
* narrative includes its studies by default once one exists.
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* @evidence contracts/development/implementation.md#principled-implementation An absolute project location and a resolved absolute shared skills tree anchor the native engineering defaults and optional narrative selectors; native Evidence resolves the relative root against the configuration directory, the location, and caller-supplied claims are cloned before composition.
|
|
29
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One options object selects engineering alone, engineering whose code realizes every instruction section when narrative mode is none and `docs/instructions` exists, or delegates narrative claim composition to createProductionConfig; resolveSkillsDirectory and createReferenceRoot own the shared-tree default, validation and spelling.
|
|
30
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The returned object is an ordinary native configuration; this function neither evaluates diagnostics nor grants creative approval, an omitted skills tree yields exactly the standalone roots, and assertProductionContractLayout refuses a production still keeping its own contracts in the retired skills location rather than letting their duties vanish.
|
|
31
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Only submitted entities or composition on a story route probe for subject files. Only an omitted research option on the short route probes for studies. Enabled composition checks catalog inputs and mode none probes for instructions.
|
|
32
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The shared tree is resolved once per call and reused by every factory; the layout guard repeats its two probes inside a narrative build so createProductionConfig called directly stays guarded; each call owns fresh option and claim copies, and filesystem-dependent narrative composition is not cached across calls.
|
|
33
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned configuration; this function retains no registry, native process or open resource.
|
|
34
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states how the shared tree reaches each factory and that supplied claims keep their own root; the input types explain routes, disabled stage defaults and additional native claims.
|
|
21
|
+
* under `<location>/docs/contracts`, and its root relative to `location` goes
|
|
22
|
+
* to the default engineering, development and research claims. Caller-supplied
|
|
23
|
+
* `claims` are added after the defaults as written, so they name their own
|
|
24
|
+
* root. A short narrative includes its studies by default once one exists.
|
|
25
|
+
* Catalog selection checks the three catalog inputs before building claims.
|
|
26
|
+
* Ordinary film composition can be checked directly against the screenplay. On
|
|
27
|
+
* a story route the production's entity types cite their subject records.
|
|
35
28
|
*/
|
|
36
29
|
export function createEvidenceConfig(
|
|
37
30
|
props: IAutoMovieEvidenceConfigProps,
|
|
@@ -41,8 +34,14 @@ export function createEvidenceConfig(
|
|
|
41
34
|
"Evidence location must be an absolute project directory, such as import.meta.dirname.",
|
|
42
35
|
);
|
|
43
36
|
assertProductionContractLayout(props.location);
|
|
44
|
-
|
|
45
|
-
|
|
37
|
+
const catalog: boolean =
|
|
38
|
+
(props.development?.catalog === "evidence" ||
|
|
39
|
+
(props.development?.catalog === undefined &&
|
|
40
|
+
props.development?.composition === "evidence")) &&
|
|
41
|
+
assertFilmCatalogLayout(
|
|
42
|
+
props.location,
|
|
43
|
+
props.development?.catalog === "evidence",
|
|
44
|
+
);
|
|
46
45
|
const skills: string = resolveSkillsDirectory(props);
|
|
47
46
|
const root: string = createReferenceRoot(props.location, skills);
|
|
48
47
|
|
|
@@ -53,6 +52,7 @@ export function createEvidenceConfig(
|
|
|
53
52
|
claims.push(
|
|
54
53
|
...createDevelopmentContractClaims({
|
|
55
54
|
...props.development,
|
|
55
|
+
catalog: catalog ? "evidence" : "disabled",
|
|
56
56
|
skills: root,
|
|
57
57
|
instructions:
|
|
58
58
|
props.narrative?.mode === "none" &&
|
|
@@ -10,18 +10,10 @@ import { STORY_CONTRACTS } from "./internal/STORY_CONTRACTS";
|
|
|
10
10
|
* Each study in `docs/research/`, apart from its index, answers every item of
|
|
11
11
|
* `contracts/story/principles/research.md`, read from the skills tree at
|
|
12
12
|
* `skills`, by default the production's own `.agents/skills`. The citation
|
|
13
|
-
* address, `principles/research.md`, is the same wherever that tree
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @evidence contracts/development/implementation.md#principled-implementation A native Markdown file claim with detached evidence files keeps the study's text free of answers while each study still owes every research item; the reference root joins the given skills root with the installed `contracts/story` layout, which native Evidence resolves against the configuration directory.
|
|
19
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One claim with fixed study and answer locations; the caller decides whether to enable it and where the shared skills tree is.
|
|
20
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The study, index and answer paths are the scaffold layout's documented locations, not fixture paths; the default root is the standalone layout.
|
|
21
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Builds one fixed-size claim tree in constant time; it performs no discovery or file I/O.
|
|
22
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work A fresh object is returned so one configuration's edits cannot reach another.
|
|
23
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the returned claim; nothing is retained.
|
|
24
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states the respondents, the contract, which tree it is read from and where the answers live; the option states its form and default.
|
|
13
|
+
* address, `principles/research.md`, is the same wherever that tree lives. Like
|
|
14
|
+
* the other story layers, the answers live apart from the study, in
|
|
15
|
+
* `docs/evidence/construction/files/research/`, under an H1 naming the study's
|
|
16
|
+
* path, so the study stays a plain synthesis its readers use.
|
|
25
17
|
*/
|
|
26
18
|
export function createResearchClaims(
|
|
27
19
|
props: {
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Locates the two contract owners one production's contracts come from: the
|
|
2
|
+
* Locates the two contract owners one production's contracts come from: the
|
|
3
|
+
* production itself and the shared skills tree.
|
|
3
4
|
*
|
|
4
5
|
* The production's own `work` and `language` contracts always live under
|
|
5
6
|
* `<location>/docs/contracts`. The bundled shared contracts live under
|
|
6
7
|
* `skills`, which a workspace points at its one shared tree; a standalone
|
|
7
8
|
* production omits it and keeps them under its own `.agents/skills`.
|
|
8
|
-
*
|
|
9
|
-
* @evidence contracts/development/design.md#principled-representation Two absolute directories represent the two owners a contract can have, the production and the shared bundle; the optional member encodes the standalone layout, where the shared bundle sits under the production's own `.agents/skills`.
|
|
10
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Only the two directories that decide where a contract resolves; route, stages and claims stay with the configuration types that carry this shape.
|
|
11
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts No flag says "workspace": the owner is the directory itself, and an omitted `skills` is the standalone default rather than a guessed location.
|
|
12
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states which families each directory owns and the omitted default; the members state they are absolute.
|
|
13
9
|
*/
|
|
14
10
|
export interface IContractLocation {
|
|
15
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Absolute production directory whose `docs/contracts` holds its `work` and
|
|
13
|
+
* `language` contracts.
|
|
14
|
+
*/
|
|
16
15
|
location: string;
|
|
17
16
|
|
|
18
17
|
/**
|
|
@@ -8,12 +8,19 @@
|
|
|
8
8
|
* rather than in a skills tree, so a workspace's shared `.agents/skills` holds
|
|
9
9
|
* only bundled contracts.
|
|
10
10
|
*
|
|
11
|
-
* Principled implementation: The scaffold places production-owned contracts
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
11
|
+
* Principled implementation: The scaffold places production-owned contracts
|
|
12
|
+
* under `docs/contracts`; the portable spelling is used both as a reference
|
|
13
|
+
* root and, split on `/`, as a filesystem path under the production location.
|
|
14
|
+
* Clear and simple design: One constant supplies every production-owned root:
|
|
15
|
+
* local language references, the discovery claim over `work/**`, and the
|
|
16
|
+
* work-local package claims. Prohibited implementation shortcuts: The value is
|
|
17
|
+
* the installed layout, not a fixture path; no fallback to the retired
|
|
18
|
+
* `.agents/skills/contracts/story` location exists, which
|
|
19
|
+
* assertProductionContractLayout refuses instead. Meaningful documentation: The
|
|
20
|
+
* prose states which families live here, the address-to-file mapping and why
|
|
21
|
+
* they are outside the skills tree. Efficient algorithms: A constant string
|
|
22
|
+
* with no computation. Reuse equivalent work: Every consumer reads the same
|
|
23
|
+
* immutable string. Bound retention and release resources: One fixed string for
|
|
24
|
+
* the module lifetime.
|
|
18
25
|
*/
|
|
19
26
|
export const PRODUCTION_CONTRACTS: string = "docs/contracts";
|
|
@@ -8,12 +8,18 @@
|
|
|
8
8
|
* `contracts/story/{work,language}` is the retired location
|
|
9
9
|
* assertProductionContractLayout refuses.
|
|
10
10
|
*
|
|
11
|
-
* Principled implementation: The scaffold installs `.agents/skills` at a
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
11
|
+
* Principled implementation: The scaffold installs `.agents/skills` at a
|
|
12
|
+
* production's root; this spelling is that layout contract, written with
|
|
13
|
+
* portable separators because Evidence reference roots are portable relative
|
|
14
|
+
* paths. Clear and simple design: One constant supplies the default shared
|
|
15
|
+
* tree, the default engineering, development and research reference roots, and
|
|
16
|
+
* the retired location the layout guard probes. Prohibited implementation
|
|
17
|
+
* shortcuts: The value is the installed layout, not a fixture or host path; a
|
|
18
|
+
* workspace overrides the shared tree through `skills`. Meaningful
|
|
19
|
+
* documentation: The prose states which contracts live here in standalone and
|
|
20
|
+
* workspace productions. Efficient algorithms: A constant string with no
|
|
21
|
+
* computation. Reuse equivalent work: Every consumer reads the same immutable
|
|
22
|
+
* string. Bound retention and release resources: One fixed string for the
|
|
23
|
+
* module lifetime.
|
|
18
24
|
*/
|
|
19
25
|
export const SKILLS_ROOT: string = ".agents/skills";
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Names the story contract tree inside a skills tree.
|
|
3
3
|
*
|
|
4
|
-
* Its checklist families ship directly in this directory. The `work/`
|
|
5
|
-
*
|
|
4
|
+
* Its checklist families ship directly in this directory. The `work/` and
|
|
5
|
+
* `language/` families a production adopts live in its `docs/contracts`
|
|
6
6
|
* instead; under a production's own skills tree they mark the retired layout.
|
|
7
7
|
*
|
|
8
|
-
* Principled implementation: The scaffold installs story contracts at
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
8
|
+
* Principled implementation: The scaffold installs story contracts at
|
|
9
|
+
* `contracts/story` under a skills tree; the portable spelling joins the shared
|
|
10
|
+
* skills tree for shared contracts and the research root, and the production's
|
|
11
|
+
* own skills tree only for the retired-layout guard. Clear and simple design:
|
|
12
|
+
* One constant serves every shared story root and the legacy guard. Prohibited
|
|
13
|
+
* implementation shortcuts: The value is the installed layout, not a fixture
|
|
14
|
+
* path. Meaningful documentation: The prose names the families and which tree
|
|
15
|
+
* owns each. Efficient algorithms: A constant string with no computation. Reuse
|
|
16
|
+
* equivalent work: Every consumer reads the same immutable string. Bound
|
|
17
|
+
* retention and release resources: One fixed string for the module lifetime.
|
|
15
18
|
*/
|
|
16
19
|
export const STORY_CONTRACTS: string = "contracts/story";
|