@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
|
@@ -31,14 +31,6 @@ const createSettingCoverageClaim_1 = require("./createSettingCoverageClaim");
|
|
|
31
31
|
*
|
|
32
32
|
* Script scenes establish choices and draft exchanges. Final expression is
|
|
33
33
|
* assessed in the screenplay construction checklist.
|
|
34
|
-
*
|
|
35
|
-
* @evidence contracts/development/implementation.md#principled-implementation Construction H2 claims and file inheritance use native reference flags for per-unit checklists, treatment coverage and exact script-scene lineage, where each screenplay scene file cites the one script scene H2 it realizes; final expression belongs to the screenplay.
|
|
36
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One layer factory centralizes stage/root/parent choices, while population obligations, discovery and review remain separate factories with their distinct respondents.
|
|
37
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Short screenplay cites its actual brief without invented treatment or script parents; canon has no inherited file claim, and each layer selects its own principles.
|
|
38
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose distinguishes unit/population duties, layer-specific parents, the scene-file lineage and expression coverage; nearby comments explain topology capture.
|
|
39
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms A fixed number of claims and reference families are constructed per layer; helper existence probes dominate most layers, while treatments and short screenplay also enumerate canon files for coverage, whose scans and sorting scale with the installed canon.
|
|
40
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Unit/topology selectors, parent-reference builders and scalar stages are reused within the construction; each build refreshes filesystem-dependent contract/canon observations instead of retaining stale config results.
|
|
41
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned native claims own their layer-family objects and any canon-derived references; synchronous discovery leaves no filesystem handle or background task open.
|
|
42
34
|
*/
|
|
43
35
|
function createLayerClaims(props, layer) {
|
|
44
36
|
const stage = (0, constructionStage_1.constructionStage)(props, layer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createLayerClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createLayerClaims.ts"],"names":[],"mappings":";;;AAKA,6EAA0E;AAC1E,4DAAyD;AACzD,kDAA+C;AAC/C,mFAAgF;AAChF,uGAAoG;AACpG,iFAA8E;AAC9E,uFAAoF;AACpF,mFAAgF;AAChF,yEAAsE;AACtE,sDAAmD;AACnD,kEAA+D;AAC/D,6EAA0E;AAE1E
|
|
1
|
+
{"version":3,"file":"createLayerClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createLayerClaims.ts"],"names":[],"mappings":";;;AAKA,6EAA0E;AAC1E,4DAAyD;AACzD,kDAA+C;AAC/C,mFAAgF;AAChF,uGAAoG;AACpG,iFAA8E;AAC9E,uFAAoF;AACpF,mFAAgF;AAChF,yEAAsE;AACtE,sDAAmD;AACnD,kEAA+D;AAC/D,6EAA0E;AAE1E;;;;;;;;;;;;;;;;;;GAkBG;AACH,2BACE,KAA6B,EAC7B,KAAoB;IAEpB,MAAM,KAAK,GAAoB,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,MAAM,QAAQ,GAAY,KAAK,KAAK,UAAU,CAAC;IAC/C,MAAM,KAAK,GAAa,IAAA,iCAAe,EAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAErE,8EAA8E;IAC9E,MAAM,QAAQ,GAAa,IAAA,2BAAY,EAAC,KAAK,CAAC;QAC5C,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,IAAA,yCAAmB,EAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAErD,MAAM,UAAU,GAAa,IAAA,mDAAwB,EAAC;QACpD,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,KAAK,CAAC,cAAc;KAC5B,CAAC,CAAC;IACH,MAAM,OAAO,GAAa,IAAA,mDAAwB,EAAC;QAC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vE,GAAG,OAAO,CAAC,IAAI,CAAC;SACjB;KACF,CAAC;IACF,IAAI,IAAA,2BAAY,EAAC,KAAK,CAAC;QAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvC,MAAM,QAAQ,GACZ,KAAK,KAAK,YAAY;QACpB,CAAC,CAAC,IAAA,uDAA0B,EAAC,KAAK,EAAE,KAAK,CAAC;QAC1C,CAAC,CAAC,KAAK,KAAK,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO;YAChD,CAAC,CAAC,IAAA,uDAA0B,EAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC;YACnD,CAAC,CAAC,SAAS,CAAC;IAClB,OAAO;QACL;YACE,IAAI,EAAE,GAAG,KAAK,iDAAiD;YAC/D,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,qBAAS;YACf,KAAK;YACL,MAAM,EAAE,MAAM;YACd,QAAQ;YACR,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC;SAC3B;QACD,IAAI;QACJ,GAAG,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;KAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -5,27 +5,19 @@ import type { IProductionConfigProps } from "../../IProductionConfigProps";
|
|
|
5
5
|
*
|
|
6
6
|
* The two installed outline contracts opt a package into this topology. A
|
|
7
7
|
* legacy installation keeps its optional, stage-free part coverage until an
|
|
8
|
-
* explicit contract migration. The part principles and the arrangement
|
|
9
|
-
* follow `construction.index` (the settings stage when omitted) and
|
|
10
|
-
* file-to-entry claim follows the settings stage. Activating either stage
|
|
8
|
+
* explicit contract migration. The part principles and the arrangement
|
|
9
|
+
* obligations follow `construction.index` (the settings stage when omitted) and
|
|
10
|
+
* the file-to-entry claim follows the settings stage. Activating either stage
|
|
11
11
|
* validates the layout.
|
|
12
12
|
*
|
|
13
13
|
* Three claims answer three different questions, so none reads another's
|
|
14
14
|
* population. Each outline part H2 answers every part principle for itself, the
|
|
15
15
|
* outline file answers each arrangement obligation once, and every settings
|
|
16
16
|
* file cites exactly one outline entry, so a missing, duplicated or invented
|
|
17
|
-
* file fails the build. The general canon claims never read `index.md`,
|
|
18
|
-
*
|
|
17
|
+
* file fails the build. The general canon claims never read `index.md`, and the
|
|
18
|
+
* outline never answers a canon principle.
|
|
19
19
|
*
|
|
20
|
-
* @param completeSubmission
|
|
20
|
+
* @param completeSubmission Explicitly requests layout validation even while
|
|
21
21
|
* both stages are `disabled`.
|
|
22
|
-
*
|
|
23
|
-
* @evidence contracts/development/implementation.md#principled-implementation Paired outline contracts installed in the shared skills tree select independent part principles, population arrangement and canon-entry bijection claims; activating either outline or settings, or requesting complete submission, validates the actual outline layout.
|
|
24
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Three respondent populations remain separate, so the outline cannot answer canon principles and a settings file cannot substitute for an outline part.
|
|
25
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The explicit older-installation branch preserves optional stage-free H2 coverage when neither new outline contract exists; a mismatched pair throws instead of silently falling back.
|
|
26
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose gives migration behavior, stage fallback, respondent/cardinality semantics and completeSubmission forcing layout validation even when disabled.
|
|
27
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Two shared-tree contract existence probes and optional outline/canon validation dominate; validation enumerates and sorts settings paths and reads the outline plus each selected canon file, so work/storage scale with directory entries and file bytes rather than the three returned claims.
|
|
28
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The settings/outline stage booleans and selector builders are reused within one call; live layout validation is deliberately refreshed per configuration build, with no cross-build filesystem cache.
|
|
29
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Synchronous reads return in-memory text whose lifetime ends in the validator; the factory retains only up to three caller-owned claims and opens no lasting descriptors or tasks.
|
|
30
22
|
*/
|
|
31
23
|
export declare function createOutlineClaims(props: IProductionConfigProps, completeSubmission?: boolean): IEvidenceClaim[];
|
|
@@ -16,28 +16,20 @@ const validateSettingsOutline_1 = require("../validateSettingsOutline");
|
|
|
16
16
|
*
|
|
17
17
|
* The two installed outline contracts opt a package into this topology. A
|
|
18
18
|
* legacy installation keeps its optional, stage-free part coverage until an
|
|
19
|
-
* explicit contract migration. The part principles and the arrangement
|
|
20
|
-
* follow `construction.index` (the settings stage when omitted) and
|
|
21
|
-
* file-to-entry claim follows the settings stage. Activating either stage
|
|
19
|
+
* explicit contract migration. The part principles and the arrangement
|
|
20
|
+
* obligations follow `construction.index` (the settings stage when omitted) and
|
|
21
|
+
* the file-to-entry claim follows the settings stage. Activating either stage
|
|
22
22
|
* validates the layout.
|
|
23
23
|
*
|
|
24
24
|
* Three claims answer three different questions, so none reads another's
|
|
25
25
|
* population. Each outline part H2 answers every part principle for itself, the
|
|
26
26
|
* outline file answers each arrangement obligation once, and every settings
|
|
27
27
|
* file cites exactly one outline entry, so a missing, duplicated or invented
|
|
28
|
-
* file fails the build. The general canon claims never read `index.md`,
|
|
29
|
-
*
|
|
28
|
+
* file fails the build. The general canon claims never read `index.md`, and the
|
|
29
|
+
* outline never answers a canon principle.
|
|
30
30
|
*
|
|
31
|
-
* @param completeSubmission
|
|
31
|
+
* @param completeSubmission Explicitly requests layout validation even while
|
|
32
32
|
* both stages are `disabled`.
|
|
33
|
-
*
|
|
34
|
-
* @evidence contracts/development/implementation.md#principled-implementation Paired outline contracts installed in the shared skills tree select independent part principles, population arrangement and canon-entry bijection claims; activating either outline or settings, or requesting complete submission, validates the actual outline layout.
|
|
35
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Three respondent populations remain separate, so the outline cannot answer canon principles and a settings file cannot substitute for an outline part.
|
|
36
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The explicit older-installation branch preserves optional stage-free H2 coverage when neither new outline contract exists; a mismatched pair throws instead of silently falling back.
|
|
37
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose gives migration behavior, stage fallback, respondent/cardinality semantics and completeSubmission forcing layout validation even when disabled.
|
|
38
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Two shared-tree contract existence probes and optional outline/canon validation dominate; validation enumerates and sorts settings paths and reads the outline plus each selected canon file, so work/storage scale with directory entries and file bytes rather than the three returned claims.
|
|
39
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The settings/outline stage booleans and selector builders are reused within one call; live layout validation is deliberately refreshed per configuration build, with no cross-build filesystem cache.
|
|
40
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Synchronous reads return in-memory text whose lifetime ends in the validator; the factory retains only up to three caller-owned claims and opens no lasting descriptors or tasks.
|
|
41
33
|
*/
|
|
42
34
|
function createOutlineClaims(props, completeSubmission = false) {
|
|
43
35
|
const outline = "settings/outline/index.md";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOutlineClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createOutlineClaims.ts"],"names":[],"mappings":";;;;;;AACA,sDAAyB;AACzB,0DAA6B;AAG7B,+EAA4E;AAC5E,sDAAmD;AACnD,kEAA+D;AAC/D,oEAAiE;AACjE,wEAAqE;AAErE
|
|
1
|
+
{"version":3,"file":"createOutlineClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createOutlineClaims.ts"],"names":[],"mappings":";;;;;;AACA,sDAAyB;AACzB,0DAA6B;AAG7B,+EAA4E;AAC5E,sDAAmD;AACnD,kEAA+D;AAC/D,oEAAiE;AACjE,wEAAqE;AAErE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,6BACE,KAA6B,EAC7B,kBAAkB,GAAY,KAAK;IAEnC,MAAM,OAAO,GAAW,2BAA2B,CAAC;IACpD,MAAM,SAAS,GAAY,IAAA,mCAAgB,EAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC;IAC1E,IAAI,SAAS,KAAK,IAAA,mCAAgB,EAAC,KAAK,EAAE,sBAAsB,CAAC;QAC/D,MAAM,IAAI,K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C/B,SAAS,EAAE,KAAK;gBAChB,IAAI,EAAE,qBAAqB;gBAC3B,SAAS,EAAE,IAAI;gBACf,SAAS,EAAE,KAAK;aACjB,CAAC;SACH;QACD;YACE,IAAI,EAAE,2DAA2D;YACjE,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,qBAAS;YACf,KAAK,EAAE,CAAC,OAAO,CAAC;YAChB,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,eAAe;YACzB,SAAS,EAAE;gBACT,GAAG,IAAA,6CAAqB,EAAC;oBACvB,SAAS,EAAE,KAAK;oBAChB,IAAI,EAAE,sBAAsB;oBAC5B,SAAS,EAAE,KAAK;oBAChB,SAAS,EAAE,KAAK;iBACjB,CAAC;gBACF,cAAc,EAAE,IAAI;aACrB;SACF;QACD;YACE,IAAI,EAAE,6DAA6D;YACnE,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,qBAAS;YACf,KAAK,EAAE,IAAA,iCAAe,EAAC,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC;YACxD,MAAM,EAAE,MAAM;YACd,QAAQ;YACR,SAAS,EAAE;gBACT,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,qBAAS;gBACf,KAAK,EAAE,CAAC,OAAO,CAAC;gBAChB,MAAM,EAAE,IAAI;gBACZ,uBAAuB,EAAE,IAAI;gBAC7B,cAAc,EAAE,IAAI;gBACpB,iBAAiB,EAAE,IAAI;aACxB;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -6,19 +6,10 @@ import type { IProductionConfigProps } from "../../IProductionConfigProps";
|
|
|
6
6
|
*
|
|
7
7
|
* An obligation asks one question about the whole layer, so the layer's own
|
|
8
8
|
* authored documents answer it once, at file level, through their detached
|
|
9
|
-
* construction evidence. Each item has exactly one answering document.
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* restatement per unit.
|
|
9
|
+
* construction evidence. Each item has exactly one answering document. An
|
|
10
|
+
* obligation is never a per-H2 checklist, because repeating a population
|
|
11
|
+
* question on every unit turns one comparison into a restatement per unit.
|
|
13
12
|
*
|
|
14
13
|
* Screenplay expression is answered here alongside the other screenplay duties.
|
|
15
|
-
*
|
|
16
|
-
* @evidence contracts/development/implementation.md#principled-implementation Each enabled layer selects one file respondent per bundled or language population item. Bundled items come from the skills tree and language items from the production contracts.
|
|
17
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One factory selects shared and local obligations by layer, including screenplay expression. Each item has one respondent.
|
|
18
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Common, narrative and final screenplay obligations stay selected when missing so the compiler reports the broken tree. Other layer files and the realized supplement remain optional.
|
|
19
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains whole-layer respondents, unique evidence and screenplay coverage; the helper comment identifies optional-file compatibility.
|
|
20
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms At most four candidates per directory and scope are filtered and mapped, with a bounded number of synchronous existence probes and selector constructions; this factory never scans the manuscript population.
|
|
21
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Shared/language selection reuses layerFiles and reference builders; optional installed files are observed per config build, so changes in the contract tree invalidate naturally without a retained cache.
|
|
22
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Intermediate and returned arrays have a fixed family bound; returned claim/reference objects belong to the config owner and existence probes retain no exposed handles.
|
|
23
14
|
*/
|
|
24
15
|
export declare function createPopulationObligationClaims(props: IProductionConfigProps, layer: AuthoredLayer): IEvidenceClaim[];
|
|
@@ -13,20 +13,11 @@ const hasStoryContract_1 = require("../utilities/hasStoryContract");
|
|
|
13
13
|
*
|
|
14
14
|
* An obligation asks one question about the whole layer, so the layer's own
|
|
15
15
|
* authored documents answer it once, at file level, through their detached
|
|
16
|
-
* construction evidence. Each item has exactly one answering document.
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* restatement per unit.
|
|
16
|
+
* construction evidence. Each item has exactly one answering document. An
|
|
17
|
+
* obligation is never a per-H2 checklist, because repeating a population
|
|
18
|
+
* question on every unit turns one comparison into a restatement per unit.
|
|
20
19
|
*
|
|
21
20
|
* Screenplay expression is answered here alongside the other screenplay duties.
|
|
22
|
-
*
|
|
23
|
-
* @evidence contracts/development/implementation.md#principled-implementation Each enabled layer selects one file respondent per bundled or language population item. Bundled items come from the skills tree and language items from the production contracts.
|
|
24
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One factory selects shared and local obligations by layer, including screenplay expression. Each item has one respondent.
|
|
25
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Common, narrative and final screenplay obligations stay selected when missing so the compiler reports the broken tree. Other layer files and the realized supplement remain optional.
|
|
26
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains whole-layer respondents, unique evidence and screenplay coverage; the helper comment identifies optional-file compatibility.
|
|
27
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms At most four candidates per directory and scope are filtered and mapped, with a bounded number of synchronous existence probes and selector constructions; this factory never scans the manuscript population.
|
|
28
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Shared/language selection reuses layerFiles and reference builders; optional installed files are observed per config build, so changes in the contract tree invalidate naturally without a retained cache.
|
|
29
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Intermediate and returned arrays have a fixed family bound; returned claim/reference objects belong to the config owner and existence probes retain no exposed handles.
|
|
30
21
|
*/
|
|
31
22
|
function createPopulationObligationClaims(props, layer) {
|
|
32
23
|
const directory = "obligations";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPopulationObligationClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createPopulationObligationClaims.ts"],"names":[],"mappings":";;;AAOA,4DAAyD;AACzD,6FAA0F;AAC1F,+EAA4E;AAC5E,yDAAsD;AACtD,sDAAmD;AACnD,kEAA+D;AAC/D,oEAAiE;AAEjE
|
|
1
|
+
{"version":3,"file":"createPopulationObligationClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createPop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B,IAAI,EAAE,GAAG,SAAS,IAAI,IAAI,EAAE;YAC5B,SAAS,EAAE,KAAK;YAChB,SAAS,EAAE,KAAK;SACjB,CAAC,CAAC;QACL,OAAO,SAAS,KAAK,SAAS;YAC5B,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;IAC3E,CAAC,CACF,CAAC;IAEF,OAAO,CAAC,GAAG,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAC;AAClC,CAAC;AAED,6EAA6E;AAC7E,SAAS,KAAK,CAAC,KAKd;IACC,OAAO;QACL,IAAI,EAAE,GAAG,KAAK,CAAC,KAAK,0BAA0B,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY;QAClF,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,qBAAS;QACf,KAAK,EAAE,IAAA,iCAAe,EAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QAChD,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,SAAS,EAAE,EAAE,GAAG,KAAK,CAAC,SAAS,EAAE,cAAc,EAAE,IAAI,EAAE;KACxD,CAAC;AACJ,CAAC"}
|
|
@@ -7,28 +7,20 @@ import type { IProductionConfigProps } from "../../IProductionConfigProps";
|
|
|
7
7
|
* A reviewer writes one review file per authored file and one review H2 per
|
|
8
8
|
* authored H2, directly under `docs/review/draft/<layer>` in a tree that
|
|
9
9
|
* mirrors the authored layer. A selected review file or `verdict/index.md`
|
|
10
|
-
* starts this current population; missing counterparts never come from a
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
10
|
+
* starts this current population; missing counterparts never come from a legacy
|
|
11
|
+
* round. Without current files, the highest numbered legacy round remains
|
|
12
|
+
* supported. Each review H2 cites its authored H2 and keeps a current review of
|
|
13
|
+
* it, so an authored change expires exactly the reviews it touched and the
|
|
14
|
+
* graph shows which unit to read again. Each review H2 also answers the review
|
|
15
|
+
* principles for itself. One verdict file per layer answers the review
|
|
16
|
+
* obligations once, because they compare the whole population.
|
|
17
17
|
*
|
|
18
|
-
* No claim binds the review files to the authored files one to one, because
|
|
19
|
-
*
|
|
18
|
+
* No claim binds the review files to the authored files one to one, because the
|
|
19
|
+
* H2 bijection already leaves no authored H2 without a review.
|
|
20
20
|
*
|
|
21
21
|
* Review claims are active only while the layer's construction stage is
|
|
22
|
-
* `evidence`. A package whose installed contract predates the review family,
|
|
23
|
-
*
|
|
22
|
+
* `evidence`. A package whose installed contract predates the review family, or
|
|
23
|
+
* whose reviewer has not yet written current files or a legacy round under
|
|
24
24
|
* `docs/review/draft/<layer>`, has no review claims for that layer.
|
|
25
|
-
*
|
|
26
|
-
* @evidence contracts/development/implementation.md#principled-implementation Actual in-scope direct review files or a verdict select the canonical population exclusively; otherwise the highest numeric legacy round supplies exact current-review lineage and a separate file-level verdict obligation, both following the construction stage.
|
|
27
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One root selector keeps current-versus-legacy admission separate from the unchanged unit bijection, freshness and whole-population verdict claims.
|
|
28
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Older contract families, probed in the shared skills tree that also roots their references, and not-yet-created review roots yield no claims; native inactive populations do not establish that independent review occurred.
|
|
29
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose states canonical admission, exclusive legacy fallback, current-review invalidation, H2 bijection, verdict ownership and optional roots/contracts.
|
|
30
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One review root scans entries only as deep as its actual selectors; directory entries and native glob matching dominate, with a linear root scan for legacy selection when no canonical file exists.
|
|
31
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The resolved files, selected root and lineage serve both claims; filesystem observation repeats per config build so new current files replace legacy selection.
|
|
32
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Directory arrays are transient and bounded by visited entries; returned claims belong to the config, and synchronous scans retain no history, handle or task.
|
|
33
25
|
*/
|
|
34
26
|
export declare function createReviewClaims(props: IProductionConfigProps, layer: AuthoredLayer): IEvidenceClaim[];
|
|
@@ -20,29 +20,21 @@ const hasStoryContract_1 = require("../utilities/hasStoryContract");
|
|
|
20
20
|
* A reviewer writes one review file per authored file and one review H2 per
|
|
21
21
|
* authored H2, directly under `docs/review/draft/<layer>` in a tree that
|
|
22
22
|
* mirrors the authored layer. A selected review file or `verdict/index.md`
|
|
23
|
-
* starts this current population; missing counterparts never come from a
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
23
|
+
* starts this current population; missing counterparts never come from a legacy
|
|
24
|
+
* round. Without current files, the highest numbered legacy round remains
|
|
25
|
+
* supported. Each review H2 cites its authored H2 and keeps a current review of
|
|
26
|
+
* it, so an authored change expires exactly the reviews it touched and the
|
|
27
|
+
* graph shows which unit to read again. Each review H2 also answers the review
|
|
28
|
+
* principles for itself. One verdict file per layer answers the review
|
|
29
|
+
* obligations once, because they compare the whole population.
|
|
30
30
|
*
|
|
31
|
-
* No claim binds the review files to the authored files one to one, because
|
|
32
|
-
*
|
|
31
|
+
* No claim binds the review files to the authored files one to one, because the
|
|
32
|
+
* H2 bijection already leaves no authored H2 without a review.
|
|
33
33
|
*
|
|
34
34
|
* Review claims are active only while the layer's construction stage is
|
|
35
|
-
* `evidence`. A package whose installed contract predates the review family,
|
|
36
|
-
*
|
|
35
|
+
* `evidence`. A package whose installed contract predates the review family, or
|
|
36
|
+
* whose reviewer has not yet written current files or a legacy round under
|
|
37
37
|
* `docs/review/draft/<layer>`, has no review claims for that layer.
|
|
38
|
-
*
|
|
39
|
-
* @evidence contracts/development/implementation.md#principled-implementation Actual in-scope direct review files or a verdict select the canonical population exclusively; otherwise the highest numeric legacy round supplies exact current-review lineage and a separate file-level verdict obligation, both following the construction stage.
|
|
40
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One root selector keeps current-versus-legacy admission separate from the unchanged unit bijection, freshness and whole-population verdict claims.
|
|
41
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Older contract families, probed in the shared skills tree that also roots their references, and not-yet-created review roots yield no claims; native inactive populations do not establish that independent review occurred.
|
|
42
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose states canonical admission, exclusive legacy fallback, current-review invalidation, H2 bijection, verdict ownership and optional roots/contracts.
|
|
43
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One review root scans entries only as deep as its actual selectors; directory entries and native glob matching dominate, with a linear root scan for legacy selection when no canonical file exists.
|
|
44
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The resolved files, selected root and lineage serve both claims; filesystem observation repeats per config build so new current files replace legacy selection.
|
|
45
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Directory arrays are transient and bounded by visited entries; returned claims belong to the config, and synchronous scans retain no history, handle or task.
|
|
46
38
|
*/
|
|
47
39
|
function createReviewClaims(props, layer) {
|
|
48
40
|
const principles = (0, hasStoryContract_1.hasStoryContract)(props, "principles/review.md");
|
|
@@ -111,20 +103,33 @@ function createReviewClaims(props, layer) {
|
|
|
111
103
|
* Selects current or legacy review hosts, or no review root.
|
|
112
104
|
*
|
|
113
105
|
* An empty relative root selects current files; a round name selects legacy.
|
|
114
|
-
* Current host selectors exclude every observed numeric round subtree.
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
106
|
+
* Current host selectors exclude every observed numeric round subtree. Files
|
|
107
|
+
* outside the actual authored scope cannot start a current review. Traversal
|
|
108
|
+
* stops at selector depth and never enters legacy round subtrees. Filesystem
|
|
109
|
+
* errors and malformed round entries propagate instead of hiding unavailable
|
|
110
|
+
* review input behind another population. A non-directory numeric round is
|
|
111
|
+
* rejected when legacy selection is needed.
|
|
120
112
|
*
|
|
121
|
-
* Principled implementation: Native EvidenceFileGlob membership admits selected
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
113
|
+
* Principled implementation: Native EvidenceFileGlob membership admits selected
|
|
114
|
+
* direct files or the canonical verdict before numeric legacy fallback; maximum
|
|
115
|
+
* selector segment count bounds traversal, and exact observed numeric-round
|
|
116
|
+
* exclusions prevent legacy hosts entering canonical extraction. Clear and
|
|
117
|
+
* simple design: The private selector returns the relative root and its host
|
|
118
|
+
* selectors together, leaving extraction and all review semantics with the
|
|
119
|
+
* existing native claims. Prohibited implementation shortcuts: Partial current
|
|
120
|
+
* populations win without legacy backfill; out-of-scope files cannot trigger
|
|
121
|
+
* admission, filesystem failures propagate and non-directory numeric rounds
|
|
122
|
+
* throw. Meaningful documentation: The comment defines all three results,
|
|
123
|
+
* scope-sensitive admission, traversal bounds and failure behavior. Efficient
|
|
124
|
+
* algorithms: Native glob matching checks visited files up to maximum selector
|
|
125
|
+
* depth; a short-circuit current match ends traversal, otherwise one additional
|
|
126
|
+
* root-entry scan selects the highest numeric round. Storage is directory
|
|
127
|
+
* arrays along the bounded traversal stack. Reuse equivalent work: One glob and
|
|
128
|
+
* maximum depth serve the current scan; the initial root listing is reused for
|
|
129
|
+
* legacy selection, and each config build observes the filesystem anew. Bound
|
|
130
|
+
* retention and release resources: Synchronous directory listings and the glob
|
|
131
|
+
* are call-local, with no retained cache, descriptor or task; the selected root
|
|
132
|
+
* and host selector strings belong to the caller.
|
|
128
133
|
*/
|
|
129
134
|
function selectReviewRoot(directory, files) {
|
|
130
135
|
if (!node_fs_1.default.existsSync(directory))
|
|
@@ -163,13 +168,23 @@ function selectReviewRoot(directory, files) {
|
|
|
163
168
|
/**
|
|
164
169
|
* Tests actual file membership within the selector's remaining path depth.
|
|
165
170
|
*
|
|
166
|
-
* Principled implementation: Relative paths are matched by the native glob;
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
171
|
+
* Principled implementation: Relative paths are matched by the native glob;
|
|
172
|
+
* symlink status follows its actual target, recursion consumes one selector
|
|
173
|
+
* segment and skips top-level round directories, preventing legacy files from
|
|
174
|
+
* masquerading as canonical files. Clear and simple design: This bounded
|
|
175
|
+
* traversal owns only canonical membership and returns as soon as a
|
|
176
|
+
* participating file exists. Prohibited implementation shortcuts: No body or
|
|
177
|
+
* consumer name is special-cased; the numeric round grammar denotes the
|
|
178
|
+
* supported legacy format, and read failures propagate unchanged. Meaningful
|
|
179
|
+
* documentation: The comment states selector depth and membership; parameter
|
|
180
|
+
* names expose root-relative prefix and remaining depth. Efficient algorithms:
|
|
181
|
+
* The depth-first short-circuit scan visits at most entries reachable within
|
|
182
|
+
* selector depth, with one native glob match per file and directory arrays
|
|
183
|
+
* retained only along that bounded stack. Reuse equivalent work: The caller
|
|
184
|
+
* supplies the same glob and initial directory entries; recursive calls reuse
|
|
185
|
+
* it and read each reached child directory once. Bound retention and release
|
|
186
|
+
* resources: Child entry arrays and relative path strings expire on return, and
|
|
187
|
+
* synchronous reads leave no open handle or background task.
|
|
173
188
|
*/
|
|
174
189
|
function hasCurrentReview(directory, entries, glob, depth, prefix) {
|
|
175
190
|
for (const entry of entries) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createReviewClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createReviewClaims.ts"],"names":[],"mappings":";;;;;;AAAA,iDAI4B;AAC5B,sDAAyB;AACzB,0DAA6B;AAI7B,4DAAyD;AACzD,iFAA8E;AAC9E,+EAA4E;AAC5E,sDAAmD;AACnD,sEAAmE;AACnE,kEAA+D;AAC/D,oEAAiE;AAEjE
|
|
1
|
+
{"version":3,"file":"createReviewClaims.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createRevi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,CAAC,EAChC,iBAAE,CAAC,WAAW,CAAC,mBAAI,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE;gBAC/C,aAAa,EAAE,IAAI;aACpB,CAAC,EACF,IAAI,EACJ,KAAK,GAAG,CAAC,EACT,GAAG,QAAQ,GAAG,CACf;YAED,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -6,13 +6,5 @@ import type { IProductionConfigProps } from "../../IProductionConfigProps";
|
|
|
6
6
|
* Edges stay on the concrete consumers: a narrative H2 cites the canon H2 it
|
|
7
7
|
* depends on, and a canon H2 no selected narrative H2 uses is answered by an
|
|
8
8
|
* exclusion on the narrative H2 whose scope makes it absent.
|
|
9
|
-
*
|
|
10
|
-
* @evidence contracts/development/implementation.md#principled-implementation Actual treatment or short-screenplay H2 consumers cover H2s of every enumerated canon body file, settings or brief as `canon` names, while the scalar construction stage controls the consumer stage; an empty canon returns undefined.
|
|
11
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Canon coverage lives on the concrete event or short-scene consumers, separate from structural prerequisite readiness and inherited script/screenplay relations.
|
|
12
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Empty reference populations are omitted because there is no canon dependency to cite; pass readiness remains a separate required check rather than being excused by this omission.
|
|
13
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose states which canon each consumer cites, dependency hosts and truthful scope exclusions, and the nearby comment distinguishes empty coverage from readiness.
|
|
14
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Canon enumeration and sorting dominate: one reference is allocated per canon file after directory scans, while the consumer selector and claim have fixed size; factory work does not read canon file contents.
|
|
15
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The canon reference builder centralizes every supported layout; this call reobserves installed canon paths each config build rather than caching a potentially obsolete file population.
|
|
16
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned claim retains one reference per canon file under config ownership; enumeration arrays are transient and synchronous directory operations retain no open descriptor or running task.
|
|
17
9
|
*/
|
|
18
10
|
export declare function createSettingCoverageClaim(props: IProductionConfigProps, layer: "treatments" | "screenplay", canon?: "settings" | "brief"): IEvidenceClaim | undefined;
|
|
@@ -11,14 +11,6 @@ const BODY_ROOT_1 = require("../utilities/BODY_ROOT");
|
|
|
11
11
|
* Edges stay on the concrete consumers: a narrative H2 cites the canon H2 it
|
|
12
12
|
* depends on, and a canon H2 no selected narrative H2 uses is answered by an
|
|
13
13
|
* exclusion on the narrative H2 whose scope makes it absent.
|
|
14
|
-
*
|
|
15
|
-
* @evidence contracts/development/implementation.md#principled-implementation Actual treatment or short-screenplay H2 consumers cover H2s of every enumerated canon body file, settings or brief as `canon` names, while the scalar construction stage controls the consumer stage; an empty canon returns undefined.
|
|
16
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Canon coverage lives on the concrete event or short-scene consumers, separate from structural prerequisite readiness and inherited script/screenplay relations.
|
|
17
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Empty reference populations are omitted because there is no canon dependency to cite; pass readiness remains a separate required check rather than being excused by this omission.
|
|
18
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose states which canon each consumer cites, dependency hosts and truthful scope exclusions, and the nearby comment distinguishes empty coverage from readiness.
|
|
19
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Canon enumeration and sorting dominate: one reference is allocated per canon file after directory scans, while the consumer selector and claim have fixed size; factory work does not read canon file contents.
|
|
20
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The canon reference builder centralizes every supported layout; this call reobserves installed canon paths each config build rather than caching a potentially obsolete file population.
|
|
21
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned claim retains one reference per canon file under config ownership; enumeration arrays are transient and synchronous directory operations retain no open descriptor or running task.
|
|
22
14
|
*/
|
|
23
15
|
function createSettingCoverageClaim(props, layer, canon = "settings") {
|
|
24
16
|
const stage = (0, constructionStage_1.constructionStage)(props, layer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSettingCoverageClaim.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createSettingCoverageClaim.ts"],"names":[],"mappings":";;;AAIA,6EAA0E;AAC1E,4DAAyD;AACzD,mFAAgF;AAChF,sDAAmD;AAEnD
|
|
1
|
+
{"version":3,"file":"createSettingCoverageClaim.js","sourceRoot":"","sources":["../../../../src/narrative/internal/claims/createSettingCoverageClaim.ts"],"names":[],"mappings":";;;AAIA,6EAA0E;AAC1E,4DAAyD;AACzD,mFAAgF;AAChF,sDAAmD;AAEnD;;;;;;GAMG;AACH,oCACE,KAA6B,EAC7B,KAAkC,EAClC,KAAK,GAAyB,UAAU;IAExC,MAAM,KAAK,GAAoB,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC/D,MAAM,SAAS,GAAyB,IAAA,iDAAuB,EAC7D,KAAK,CAAC,QAAQ,EACd,KAAK,CACN,CAAC;IACF,4CAA4C;IAC5C,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,SAAS,CAAC;IAC7C,OAAO;QACL,IAAI,EAAE,GAAG,KAAK,4BAA4B,KAAK,eAAe;QAC9D,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,qBAAS;QACf,KAAK,EAAE,IAAA,mDAAwB,EAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,cAAc,EAAE,CAAC;QACvE,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,KAAK,KAAK,UAAU;QAC9B,SAAS;KACV,CAAC;AACJ,CAAC"}
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
import type { IEvidenceClaim } from "@wrtnlabs/evidence";
|
|
2
2
|
import type { IProductionConfigProps } from "../IProductionConfigProps";
|
|
3
|
-
/**
|
|
4
|
-
* Composes the complete native narrative and engineering claim array.
|
|
5
|
-
*
|
|
6
|
-
* @evidence contracts/development/implementation.md#principled-implementation Validated routes expand the existing checklist, coverage, discovery, instruction, outline and review families; body file/H2 hosts receive detached construction selectors before engineering support is appended.
|
|
7
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One collector serves the public claim and config factories; family helpers own their respondents and native relationship settings.
|
|
8
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Only generated claims with empty reference arrays are omitted because they have no target population; native diagnostics are never filtered here.
|
|
9
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states family composition and detached evidence ownership; callers evaluate the returned native graph.
|
|
10
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms At most four layer expansions discover current contracts; claim filtering and detached selector mapping are linear in emitted claims and selector text, plus discovery cost.
|
|
11
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Each family is built once per graph; live contract and review discovery is refreshed for every configuration build.
|
|
12
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned graph owns its arrays and caller-provided claims; all discovery is synchronous with no retained registry, handle or task.
|
|
13
|
-
*/
|
|
3
|
+
/** Composes the complete native narrative and engineering claim array. */
|
|
14
4
|
export declare function collectProductionClaims(props: IProductionConfigProps): IEvidenceClaim[];
|
|
@@ -11,17 +11,7 @@ const productionLayers_1 = require("./productionLayers");
|
|
|
11
11
|
const BODY_ROOT_1 = require("./utilities/BODY_ROOT");
|
|
12
12
|
const assertProductionEvidenceSources_1 = require("./utilities/assertProductionEvidenceSources");
|
|
13
13
|
const createEvidenceFiles_1 = require("./utilities/createEvidenceFiles");
|
|
14
|
-
/**
|
|
15
|
-
* Composes the complete native narrative and engineering claim array.
|
|
16
|
-
*
|
|
17
|
-
* @evidence contracts/development/implementation.md#principled-implementation Validated routes expand the existing checklist, coverage, discovery, instruction, outline and review families; body file/H2 hosts receive detached construction selectors before engineering support is appended.
|
|
18
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One collector serves the public claim and config factories; family helpers own their respondents and native relationship settings.
|
|
19
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Only generated claims with empty reference arrays are omitted because they have no target population; native diagnostics are never filtered here.
|
|
20
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states family composition and detached evidence ownership; callers evaluate the returned native graph.
|
|
21
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms At most four layer expansions discover current contracts; claim filtering and detached selector mapping are linear in emitted claims and selector text, plus discovery cost.
|
|
22
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Each family is built once per graph; live contract and review discovery is refreshed for every configuration build.
|
|
23
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned graph owns its arrays and caller-provided claims; all discovery is synchronous with no retained registry, handle or task.
|
|
24
|
-
*/
|
|
14
|
+
/** Composes the complete native narrative and engineering claim array. */
|
|
25
15
|
function collectProductionClaims(props) {
|
|
26
16
|
(0, assertProductionEvidenceSources_1.assertProductionEvidenceSources)(props);
|
|
27
17
|
// The short screenplay realizes the commission using the brief's subject facts.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collectProductionClaims.js","sourceRoot":"","sources":["../../../src/narrative/internal/collectProductionClaims.ts"],"names":[],"mappings":";;;AAIA,wEAAqE;AACrE,4FAAyF;AACzF,kEAA+D;AAC/D,sEAAmE;AACnE,gGAA6F;AAC7F,oEAAiE;AACjE,yDAAsD;AACtD,qDAAkD;AAClD,iGAA8F;AAC9F,yEAAsE;AAEtE
|
|
1
|
+
{"version":3,"file":"collectProductionClaims.js","sourceRoot":"","sources":["../../../src/narrative/internal/collectProductionClaims.ts"],"names":[],"mappings":";;;AAIA,wEAAqE;AACrE,4FAAyF;AACzF,kEAA+D;AAC/D,sEAAmE;AACnE,gGAA6F;AAC7F,oEAAiE;AACjE,yDAAsD;AACtD,qDAAkD;AAClD,iGAA8F;AAC9F,yEAAsE;AAEtE,0EAA0E;AAC1E,iCACE,KAA6B;IAE7B,IAAA,iEAA+B,EAAC,KAAK,CAAC,CAAC;IAEvC,gFAAgF;IAChF,MAA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AoB,EAAE,CACzC,IAAA,uCAAkB,EAAC,KAAK,EAAE,KAAK,CAAC,CACnC;KACF,CAAC;IACF,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IACE,KAAK,CAAC,IAAI,KAAK,UAAU;YACzB,KAAK,CAAC,IAAI,KAAK,qBAAS;YACxB,KAAK,CAAC,aAAa,KAAK,SAAS;YACjC,CAAC,KAAK,CAAC,MAAM,KAAK,MAAM,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC;YAElD,KAAK,CAAC,aAAa,GAAG,IAAA,yCAAmB,EAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACzE,CAAC;IACD,OAAO,CAAC,GAAG,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,CAAC;AACrD,CAAC"}
|
|
@@ -2,14 +2,7 @@ import type { AuthoredLayer } from "../AuthoredLayer";
|
|
|
2
2
|
import type { IProductionConfigProps } from "../IProductionConfigProps";
|
|
3
3
|
import type { ProductionStage } from "../ProductionStage";
|
|
4
4
|
/**
|
|
5
|
-
* Reads one layer's construction stage, treating an omitted brief stage as
|
|
6
|
-
*
|
|
7
|
-
* @evidence contracts/development/implementation.md#principled-implementation The brief stage is optional so configurations written before the short route gained its canon keep their meaning; every other layer's stage is required and read as given.
|
|
8
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Every claim factory and the source check read stages through this one accessor instead of indexing the construction object.
|
|
9
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Only the omitted optional key defaults; an explicit invalid value passes through for the source check to reject.
|
|
10
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states the optional brief default and why it exists.
|
|
11
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One property read and one nullish check take constant time.
|
|
12
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This pure accessor coordinates no reusable requests or effectful work.
|
|
13
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function owns no retained state, descriptor or task.
|
|
5
|
+
* Reads one layer's construction stage, treating an omitted brief stage as
|
|
6
|
+
* disabled.
|
|
14
7
|
*/
|
|
15
8
|
export declare function constructionStage(props: IProductionConfigProps, layer: AuthoredLayer): ProductionStage;
|
|
@@ -2,15 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.constructionStage = constructionStage;
|
|
4
4
|
/**
|
|
5
|
-
* Reads one layer's construction stage, treating an omitted brief stage as
|
|
6
|
-
*
|
|
7
|
-
* @evidence contracts/development/implementation.md#principled-implementation The brief stage is optional so configurations written before the short route gained its canon keep their meaning; every other layer's stage is required and read as given.
|
|
8
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Every claim factory and the source check read stages through this one accessor instead of indexing the construction object.
|
|
9
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Only the omitted optional key defaults; an explicit invalid value passes through for the source check to reject.
|
|
10
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states the optional brief default and why it exists.
|
|
11
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One property read and one nullish check take constant time.
|
|
12
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This pure accessor coordinates no reusable requests or effectful work.
|
|
13
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function owns no retained state, descriptor or task.
|
|
5
|
+
* Reads one layer's construction stage, treating an omitted brief stage as
|
|
6
|
+
* disabled.
|
|
14
7
|
*/
|
|
15
8
|
function constructionStage(props, layer) {
|
|
16
9
|
return props.construction[layer] ?? "disabled";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constructionStage.js","sourceRoot":"","sources":["../../../src/narrative/internal/constructionStage.ts"],"names":[],"mappings":";;;AAIA
|
|
1
|
+
{"version":3,"file":"constructionStage.js","sourceRoot":"","sources":["../../../src/narrative/internal/constructionStage.ts"],"names":[],"mappings":";;;AAIA;;;GAGG;AACH,2BACE,KAA6B,EAC7B,KAAoB;IAEpB,OAAO,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC;AACjD,CAAC"}
|
|
@@ -4,20 +4,12 @@ import type { IProductionConfigProps } from "../IProductionConfigProps";
|
|
|
4
4
|
* Builds the full evidence config.
|
|
5
5
|
*
|
|
6
6
|
* Every layer contributes the same shared claims, recorded work requirements
|
|
7
|
-
* add independent settings and treatments coverage claims when present, the
|
|
8
|
-
* its installed topology, and the production's own claims
|
|
9
|
-
* whose reference population came back empty selects
|
|
10
|
-
* rather than left to report an empty target.
|
|
7
|
+
* add independent settings and treatments coverage claims when present, the
|
|
8
|
+
* settings outline adds its installed topology, and the production's own claims
|
|
9
|
+
* follow them. A claim whose reference population came back empty selects
|
|
10
|
+
* nothing, so it is dropped rather than left to report an empty target.
|
|
11
11
|
*
|
|
12
12
|
* Reports retain every diagnostic so one inspection round can collect all
|
|
13
13
|
* failures before related causes are repaired together.
|
|
14
|
-
*
|
|
15
|
-
* @evidence contracts/development/implementation.md#principled-implementation The graph config directly contains the collector's complete validated claim array and leaves native diagnostic evaluation to Evidence.
|
|
16
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This small assembly step wraps the shared collector's claims in the native config shape.
|
|
17
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No severity reduction or diagnostic filter is added here; empty target populations are handled by the shared collector rather than a caller-specific escape.
|
|
18
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose describes claim families, empty-reference handling and retaining every diagnostic for one inspection round.
|
|
19
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms The collector's filesystem discovery and claim expansion dominate; this wrapper adds one constant-size config object around the resulting graph.
|
|
20
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The collector result is used directly without a second graph rebuild; cross-call reuse is unavailable because contract discovery and props can change.
|
|
21
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned config owns the emitted graph and no handles/tasks; discovery allocations are local and no registry retains the configuration.
|
|
22
14
|
*/
|
|
23
15
|
export declare function createGraphConfig(props: IProductionConfigProps): IEvidenceConfig;
|
|
@@ -6,21 +6,13 @@ const collectProductionClaims_1 = require("./collectProductionClaims");
|
|
|
6
6
|
* Builds the full evidence config.
|
|
7
7
|
*
|
|
8
8
|
* Every layer contributes the same shared claims, recorded work requirements
|
|
9
|
-
* add independent settings and treatments coverage claims when present, the
|
|
10
|
-
* its installed topology, and the production's own claims
|
|
11
|
-
* whose reference population came back empty selects
|
|
12
|
-
* rather than left to report an empty target.
|
|
9
|
+
* add independent settings and treatments coverage claims when present, the
|
|
10
|
+
* settings outline adds its installed topology, and the production's own claims
|
|
11
|
+
* follow them. A claim whose reference population came back empty selects
|
|
12
|
+
* nothing, so it is dropped rather than left to report an empty target.
|
|
13
13
|
*
|
|
14
14
|
* Reports retain every diagnostic so one inspection round can collect all
|
|
15
15
|
* failures before related causes are repaired together.
|
|
16
|
-
*
|
|
17
|
-
* @evidence contracts/development/implementation.md#principled-implementation The graph config directly contains the collector's complete validated claim array and leaves native diagnostic evaluation to Evidence.
|
|
18
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This small assembly step wraps the shared collector's claims in the native config shape.
|
|
19
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No severity reduction or diagnostic filter is added here; empty target populations are handled by the shared collector rather than a caller-specific escape.
|
|
20
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose describes claim families, empty-reference handling and retaining every diagnostic for one inspection round.
|
|
21
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms The collector's filesystem discovery and claim expansion dominate; this wrapper adds one constant-size config object around the resulting graph.
|
|
22
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The collector result is used directly without a second graph rebuild; cross-call reuse is unavailable because contract discovery and props can change.
|
|
23
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned config owns the emitted graph and no handles/tasks; discovery allocations are local and no registry retains the configuration.
|
|
24
16
|
*/
|
|
25
17
|
function createGraphConfig(props) {
|
|
26
18
|
const claims = (0, collectProductionClaims_1.collectProductionClaims)(props);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createGraphConfig.js","sourceRoot":"","sources":["../../../src/narrative/internal/createGraphConfig.ts"],"names":[],"mappings":";;;AAGA,uEAAoE;AAEpE
|
|
1
|
+
{"version":3,"file":"createGraphConfig.js","sourceRoot":"","sources":["../../../src/narrative/internal/createGraphConfig.ts"],"names":[],"mappings":";;;AAGA,uEAAoE;AAEpE;;;;;;;;;;;GAWG;AACH,2BACE,KAA6B;IAE7B,MAAM,MAAM,GAAqB,IAAA,iDAAuB,EAAC,KAAK,CAAC,CAAC;IAEhE,OAAO;QACL,MAAM;KACmB,CAAC;AAC9B,CAAC"}
|