@automovie/evidence 0.3.3 → 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 -92
- package/lib/IAutoMovieDevelopmentProps.d.ts +26 -20
- 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 +16 -26
- package/lib/createDevelopmentContractClaims.js +45 -30
- 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 -11
- package/lib/createEvidenceConfig.js +34 -12
- package/lib/createEvidenceConfig.js.map +1 -1
- package/lib/createResearchClaims.d.ts +5 -13
- package/lib/createResearchClaims.js +6 -14
- 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 +12 -0
- package/lib/internal/assertFilmCatalogLayout.js +144 -0
- package/lib/internal/assertFilmCatalogLayout.js.map +1 -0
- 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 +5 -0
- package/lib/internal/hasMatchingFile.js +20 -0
- package/lib/internal/hasMatchingFile.js.map +1 -0
- 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 +5 -15
- 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 +2 -10
- package/lib/narrative/internal/claims/createLayerClaims.js +2 -28
- 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 +9 -18
- package/lib/narrative/internal/claims/createOutlineClaims.js.map +1 -1
- package/lib/narrative/internal/claims/createPopulationObligationClaims.d.ts +4 -14
- package/lib/narrative/internal/claims/createPopulationObligationClaims.js +10 -36
- 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 +57 -56
- package/lib/narrative/internal/claims/createReviewClaims.js.map +1 -1
- package/lib/narrative/internal/claims/createSettingCoverageClaim.d.ts +1 -9
- package/lib/narrative/internal/claims/createSettingCoverageClaim.js +1 -9
- package/lib/narrative/internal/claims/createSettingCoverageClaim.js.map +1 -1
- package/lib/narrative/internal/claims/index.d.ts +0 -1
- package/lib/narrative/internal/claims/index.js +0 -1
- package/lib/narrative/internal/claims/index.js.map +1 -1
- package/lib/narrative/internal/collectProductionClaims.d.ts +1 -11
- package/lib/narrative/internal/collectProductionClaims.js +2 -15
- 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/index.d.ts +0 -1
- package/lib/narrative/internal/index.js +0 -1
- package/lib/narrative/internal/index.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 +3 -13
- package/lib/narrative/internal/references/createLanguagePrincipleReferences.js +4 -13
- 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 +2 -21
- package/lib/narrative/internal/references/createPrincipleReferences.js +6 -35
- 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 -16
- package/lib/narrative/internal/references/createSharedReference.js +8 -17
- 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 -13
- package/lib/narrative/internal/references/layerFiles.js +5 -15
- 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 +8 -18
- package/lib/narrative/internal/utilities/createContractRoot.js +8 -18
- 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 +9 -0
- package/lib/narrative/internal/utilities/hasStoryContract.js +20 -0
- package/lib/narrative/internal/utilities/hasStoryContract.js.map +1 -0
- 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 +27 -20
- package/src/IAutoMovieEvidenceConfigProps.ts +19 -18
- package/src/IAutoMovieNarrativeProps.ts +10 -8
- package/src/IAutoMovieNoNarrativeProps.ts +4 -6
- package/src/createDevelopmentContractClaims.ts +46 -30
- package/src/createEngineeringClaims.ts +17 -22
- package/src/createEvidenceConfig.ts +45 -12
- package/src/createResearchClaims.ts +6 -14
- 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 +173 -0
- package/src/internal/assertProductionContractLayout.ts +2 -10
- package/src/internal/createReferenceRoot.ts +0 -8
- package/src/internal/hasMatchingFile.ts +21 -0
- 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 +5 -15
- 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 +2 -30
- package/src/narrative/internal/claims/createOutlineClaims.ts +9 -26
- package/src/narrative/internal/claims/createPopulationObligationClaims.ts +12 -53
- package/src/narrative/internal/claims/createReviewClaims.ts +57 -64
- package/src/narrative/internal/claims/createSettingCoverageClaim.ts +1 -9
- package/src/narrative/internal/claims/index.ts +0 -1
- package/src/narrative/internal/collectProductionClaims.ts +2 -15
- package/src/narrative/internal/constructionStage.ts +2 -9
- package/src/narrative/internal/createGraphConfig.ts +4 -12
- package/src/narrative/internal/index.ts +0 -1
- 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 +4 -14
- 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 +9 -42
- package/src/narrative/internal/references/createSettingReferences.ts +3 -10
- package/src/narrative/internal/references/createSharedReference.ts +8 -17
- package/src/narrative/internal/references/createUpstreamReference.ts +0 -8
- package/src/narrative/internal/references/layerFiles.ts +5 -15
- 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 +8 -18
- 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 +21 -0
- 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
- package/lib/narrative/internal/REALIZED_LAYERS.d.ts +0 -16
- package/lib/narrative/internal/REALIZED_LAYERS.js +0 -19
- package/lib/narrative/internal/REALIZED_LAYERS.js.map +0 -1
- package/lib/narrative/internal/claims/createExpressionObligationClaims.d.ts +0 -26
- package/lib/narrative/internal/claims/createExpressionObligationClaims.js +0 -93
- package/lib/narrative/internal/claims/createExpressionObligationClaims.js.map +0 -1
- package/src/narrative/internal/REALIZED_LAYERS.ts +0 -18
- package/src/narrative/internal/claims/createExpressionObligationClaims.ts +0 -125
|
@@ -1,30 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.layerFiles = layerFiles;
|
|
4
|
-
const REALIZED_LAYERS_1 = require("../REALIZED_LAYERS");
|
|
5
4
|
const isCanonLayer_1 = require("../isCanonLayer");
|
|
6
5
|
/**
|
|
7
6
|
* Names the layer-scoped documents one layer answers, narrowest last.
|
|
8
7
|
*
|
|
9
|
-
* Placement is decided by who can truthfully answer an item, so the axis is
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* can answer does not depend on which family asks it.
|
|
14
|
-
*
|
|
15
|
-
* @evidence contracts/development/implementation.md#principled-implementation The fixed candidate order is common, optional inherited-narrative, optional literal-text and exact layer, matching the respondent populations declared by the four-layer pipeline.
|
|
16
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One shared axis serves discovery/principle/obligation selection without duplicating layer eligibility decisions across families or language scopes.
|
|
17
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Canon layers omit inherited narrative duties and only REALIZED_LAYERS receives literal-text duties, both explicit semantic differences of the supported pipeline.
|
|
18
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains narrowest-last order and why eligibility depends on the respondent rather than the asking family.
|
|
19
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms At most four filenames and one constant-time Set membership check are produced, giving constant work and space independent of manuscript length.
|
|
20
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work REALIZED_LAYERS is the shared eligibility set, while the returned array is fresh so filtering or mutation by one family cannot alter another family selection.
|
|
21
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The at-most-four-element result is caller-owned and no cache or resource handle is retained.
|
|
8
|
+
* Placement is decided by who can truthfully answer an item, so the axis is the
|
|
9
|
+
* same wherever it appears: everyone, then the layers that inherit a unit, then
|
|
10
|
+
* the screenplay for realized text, then the exact layer. Shared and local
|
|
11
|
+
* contracts use the same respondent scope.
|
|
22
12
|
*/
|
|
23
13
|
function layerFiles(layer) {
|
|
24
14
|
return [
|
|
25
15
|
"common.md",
|
|
26
16
|
...((0, isCanonLayer_1.isCanonLayer)(layer) ? [] : ["narratives.md"]),
|
|
27
|
-
...(
|
|
17
|
+
...(layer === "screenplay" ? ["realized.md"] : []),
|
|
28
18
|
`${layer}.md`,
|
|
29
19
|
];
|
|
30
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layerFiles.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/layerFiles.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"layerFiles.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/layerFiles.ts"],"names":[],"mappings":";;;AACA,kDAA+C;AAE/C;;;;;;;GAOG;AACH,oBAA2B,KAAoB;IAC7C,OAAO;QACL,WAAW;QACX,GAAG,CAAC,IAAA,2BAAY,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;QACjD,GAAG,CAAC,KAAK,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAClD,GAAG,KAAK,KAAK;KACd,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Encodes a relative canon path as a stable outline H3 anchor without losing
|
|
3
|
-
*
|
|
4
|
-
* @evidence contracts/development/implementation.md#principled-implementation Removing the terminal Markdown extension and encoding folder separators as double hyphens retains classified path identity in an explicit outline anchor; numbered lower-kebab source paths supply the supported alphabet.
|
|
5
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure The encoder isolates file-to-outline identity spelling used by outline creation and validation.
|
|
6
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The separator encoding follows the supported settings layout and does not inspect consumer names or file contents.
|
|
7
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment identifies a stable relative-path-derived H3 anchor and explains why folder identity is kept.
|
|
8
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms The suffix replacement and separator replacement scan the file path with linear string allocation.
|
|
9
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This scalar encoder coordinates no reusable requests or effectful work.
|
|
10
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Only the returned anchor string escapes; no map, descriptor or task is retained.
|
|
2
|
+
* Encodes a relative canon path as a stable outline H3 anchor without losing
|
|
3
|
+
* folder identity.
|
|
11
4
|
*/
|
|
12
5
|
export declare function settingsEntryAnchor(file: string): string;
|
|
@@ -2,15 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.settingsEntryAnchor = settingsEntryAnchor;
|
|
4
4
|
/**
|
|
5
|
-
* Encodes a relative canon path as a stable outline H3 anchor without losing
|
|
6
|
-
*
|
|
7
|
-
* @evidence contracts/development/implementation.md#principled-implementation Removing the terminal Markdown extension and encoding folder separators as double hyphens retains classified path identity in an explicit outline anchor; numbered lower-kebab source paths supply the supported alphabet.
|
|
8
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure The encoder isolates file-to-outline identity spelling used by outline creation and validation.
|
|
9
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The separator encoding follows the supported settings layout and does not inspect consumer names or file contents.
|
|
10
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment identifies a stable relative-path-derived H3 anchor and explains why folder identity is kept.
|
|
11
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms The suffix replacement and separator replacement scan the file path with linear string allocation.
|
|
12
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This scalar encoder coordinates no reusable requests or effectful work.
|
|
13
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Only the returned anchor string escapes; no map, descriptor or task is retained.
|
|
5
|
+
* Encodes a relative canon path as a stable outline H3 anchor without losing
|
|
6
|
+
* folder identity.
|
|
14
7
|
*/
|
|
15
8
|
function settingsEntryAnchor(file) {
|
|
16
9
|
return file.replace(/\.md$/u, "").replaceAll("/", "--");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settingsEntryAnchor.js","sourceRoot":"","sources":["../../../src/narrative/internal/settingsEntryAnchor.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"settingsEntryAnchor.js","sourceRoot":"","sources":["../../../src/narrative/internal/settingsEntryAnchor.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,6BAAoC,IAAY;IAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAC1D,CAAC"}
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
import type { NarrativeLayer } from "../../NarrativeLayer";
|
|
2
2
|
import type { NarrativeScope } from "../../NarrativeScope";
|
|
3
|
-
/**
|
|
4
|
-
* Captures indexes and misplaced files without widening an exact pilot slice.
|
|
5
|
-
*
|
|
6
|
-
* @evidence contracts/development/implementation.md#principled-implementation Topology captures all descendants of a layer so indexes and malformed paths remain visible, narrowing scripts/screenplay only to the exact declared pilot part; treatments stay flat at validation time.
|
|
7
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One selector helper separates broad topology capture from the partition and film-folder authored-unit selector used by ordinary evidence.
|
|
8
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The first-part pilot is a declared production scope, so the selector retains that exact slice instead of widening to other parts.
|
|
9
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment explains why indexes and misplaced files are included while an exact pilot slice stays narrow.
|
|
10
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One conditional constructs one glob string; work and returned storage scale only with layer and optional part text lengths.
|
|
11
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The selector is derived from the current scope each call, while downstream native inventory capture supplies reuse across topology inspections.
|
|
12
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The one-element returned array and string belong to the caller; no filesystem traversal, handle or retained cache is created.
|
|
13
|
-
*/
|
|
3
|
+
/** Captures indexes and misplaced files without widening an exact pilot slice. */
|
|
14
4
|
export declare function createTopologyFiles(layer: NarrativeLayer, scope: NarrativeScope): string[];
|
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createTopologyFiles = createTopologyFiles;
|
|
4
|
-
/**
|
|
5
|
-
* Captures indexes and misplaced files without widening an exact pilot slice.
|
|
6
|
-
*
|
|
7
|
-
* @evidence contracts/development/implementation.md#principled-implementation Topology captures all descendants of a layer so indexes and malformed paths remain visible, narrowing scripts/screenplay only to the exact declared pilot part; treatments stay flat at validation time.
|
|
8
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One selector helper separates broad topology capture from the partition and film-folder authored-unit selector used by ordinary evidence.
|
|
9
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The first-part pilot is a declared production scope, so the selector retains that exact slice instead of widening to other parts.
|
|
10
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment explains why indexes and misplaced files are included while an exact pilot slice stays narrow.
|
|
11
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One conditional constructs one glob string; work and returned storage scale only with layer and optional part text lengths.
|
|
12
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The selector is derived from the current scope each call, while downstream native inventory capture supplies reuse across topology inspections.
|
|
13
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The one-element returned array and string belong to the caller; no filesystem traversal, handle or retained cache is created.
|
|
14
|
-
*/
|
|
4
|
+
/** Captures indexes and misplaced files without widening an exact pilot slice. */
|
|
15
5
|
function createTopologyFiles(layer, scope) {
|
|
16
6
|
return layer !== "treatments" && scope.mode === "first-part-pilot"
|
|
17
7
|
? [`${layer}/${scope.part}/**/*`]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTopologyFiles.js","sourceRoot":"","sources":["../../../../src/narrative/internal/topology/createTopologyFiles.ts"],"names":[],"mappings":";;;AAGA
|
|
1
|
+
{"version":3,"file":"createTopologyFiles.js","sourceRoot":"","sources":["../../../../src/narrative/internal/topology/createTopologyFiles.ts"],"names":[],"mappings":";;;AAGA,kFAAkF;AAClF,6BACE,KAAqB,EACrB,KAAqB;IAErB,OAAO,KAAK,KAAK,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,kBAAkB;QAChE,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,KAAK,CAAC,IAAI,OAAO,CAAC;QACjC,CAAC,CAAC,CAAC,GAAG,KAAK,OAAO,CAAC,CAAC;AACxB,CAAC"}
|
|
@@ -4,12 +4,19 @@
|
|
|
4
4
|
* Every authored claim hosts this tree, and every inherited reference selects
|
|
5
5
|
* it, because each layer's authored text lives only in the body.
|
|
6
6
|
*
|
|
7
|
-
* Principled implementation: The value joins PACKAGE_DOCS_ROOT with `body`, the
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
7
|
+
* Principled implementation: The value joins PACKAGE_DOCS_ROOT with `body`, the
|
|
8
|
+
* one location the document layout gives authored layers. Clear and simple
|
|
9
|
+
* design: One constant supplies the body spelling to every claim factory and
|
|
10
|
+
* reference builder, derived from the docs folder so the two cannot drift.
|
|
11
|
+
* Prohibited implementation shortcuts: The body directory is a declared
|
|
12
|
+
* production layout value; it is not selected from fixture names, measured
|
|
13
|
+
* output or host-specific paths. Meaningful documentation: The prose states
|
|
14
|
+
* that the body is the single authored tree hosts and references share.
|
|
15
|
+
* Efficient algorithms: The string initializer is constant-sized and performs
|
|
16
|
+
* no filesystem or population traversal. Reuse equivalent work: Consumers reuse
|
|
17
|
+
* the same immutable string, so no equivalent derivation or invalidation
|
|
18
|
+
* mechanism is needed unless the source layout contract changes. Bound
|
|
19
|
+
* retention and release resources: One fixed string is retained for module
|
|
20
|
+
* lifetime; it has no dynamic population, file handle or task to release.
|
|
14
21
|
*/
|
|
15
22
|
export declare const BODY_ROOT: string;
|
|
@@ -8,13 +8,20 @@ const PACKAGE_DOCS_ROOT_1 = require("./PACKAGE_DOCS_ROOT");
|
|
|
8
8
|
* Every authored claim hosts this tree, and every inherited reference selects
|
|
9
9
|
* it, because each layer's authored text lives only in the body.
|
|
10
10
|
*
|
|
11
|
-
* Principled implementation: The value joins PACKAGE_DOCS_ROOT with `body`, the
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
11
|
+
* Principled implementation: The value joins PACKAGE_DOCS_ROOT with `body`, the
|
|
12
|
+
* one location the document layout gives authored layers. Clear and simple
|
|
13
|
+
* design: One constant supplies the body spelling to every claim factory and
|
|
14
|
+
* reference builder, derived from the docs folder so the two cannot drift.
|
|
15
|
+
* Prohibited implementation shortcuts: The body directory is a declared
|
|
16
|
+
* production layout value; it is not selected from fixture names, measured
|
|
17
|
+
* output or host-specific paths. Meaningful documentation: The prose states
|
|
18
|
+
* that the body is the single authored tree hosts and references share.
|
|
19
|
+
* Efficient algorithms: The string initializer is constant-sized and performs
|
|
20
|
+
* no filesystem or population traversal. Reuse equivalent work: Consumers reuse
|
|
21
|
+
* the same immutable string, so no equivalent derivation or invalidation
|
|
22
|
+
* mechanism is needed unless the source layout contract changes. Bound
|
|
23
|
+
* retention and release resources: One fixed string is retained for module
|
|
24
|
+
* lifetime; it has no dynamic population, file handle or task to release.
|
|
18
25
|
*/
|
|
19
26
|
exports.BODY_ROOT = `${PACKAGE_DOCS_ROOT_1.PACKAGE_DOCS_ROOT}/body`;
|
|
20
27
|
//# sourceMappingURL=BODY_ROOT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BODY_ROOT.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/BODY_ROOT.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD
|
|
1
|
+
{"version":3,"file":"BODY_ROOT.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/BODY_ROOT.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD;;;;;;;;;;;;;;;;;;;;GAoBG;AACU,QAAA,SAAS,GAAW,GAAG,qCAAiB,OAAO,CAAC"}
|
|
@@ -5,12 +5,20 @@
|
|
|
5
5
|
* review relations use this constant directly, because their documents sit
|
|
6
6
|
* beside the body rather than in it.
|
|
7
7
|
*
|
|
8
|
-
* Principled implementation: The literal docs string is the package-relative
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
8
|
+
* Principled implementation: The literal docs string is the package-relative
|
|
9
|
+
* document directory shared by the body root and the instruction and review
|
|
10
|
+
* locations, rather than a resolved filesystem identity. Clear and simple
|
|
11
|
+
* design: One constant supplies the common directory spelling while BODY_ROOT
|
|
12
|
+
* names the authored body inside it. Prohibited implementation shortcuts: The
|
|
13
|
+
* docs directory is a declared production layout value; it is not selected from
|
|
14
|
+
* fixture names, measured output or host-specific paths. Meaningful
|
|
15
|
+
* documentation: The prose identifies which consumers use the constant directly
|
|
16
|
+
* and which select the body through BODY_ROOT. Efficient algorithms: The string
|
|
17
|
+
* initializer is constant-sized and performs no filesystem or population
|
|
18
|
+
* traversal. Reuse equivalent work: Consumers reuse the same immutable string,
|
|
19
|
+
* so no equivalent derivation or invalidation mechanism is needed unless the
|
|
20
|
+
* source layout contract changes. Bound retention and release resources: One
|
|
21
|
+
* fixed string is retained for module lifetime; it has no dynamic population,
|
|
22
|
+
* file handle or task to release.
|
|
15
23
|
*/
|
|
16
24
|
export declare const PACKAGE_DOCS_ROOT: string;
|
|
@@ -8,13 +8,21 @@ exports.PACKAGE_DOCS_ROOT = void 0;
|
|
|
8
8
|
* review relations use this constant directly, because their documents sit
|
|
9
9
|
* beside the body rather than in it.
|
|
10
10
|
*
|
|
11
|
-
* Principled implementation: The literal docs string is the package-relative
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
11
|
+
* Principled implementation: The literal docs string is the package-relative
|
|
12
|
+
* document directory shared by the body root and the instruction and review
|
|
13
|
+
* locations, rather than a resolved filesystem identity. Clear and simple
|
|
14
|
+
* design: One constant supplies the common directory spelling while BODY_ROOT
|
|
15
|
+
* names the authored body inside it. Prohibited implementation shortcuts: The
|
|
16
|
+
* docs directory is a declared production layout value; it is not selected from
|
|
17
|
+
* fixture names, measured output or host-specific paths. Meaningful
|
|
18
|
+
* documentation: The prose identifies which consumers use the constant directly
|
|
19
|
+
* and which select the body through BODY_ROOT. Efficient algorithms: The string
|
|
20
|
+
* initializer is constant-sized and performs no filesystem or population
|
|
21
|
+
* traversal. Reuse equivalent work: Consumers reuse the same immutable string,
|
|
22
|
+
* so no equivalent derivation or invalidation mechanism is needed unless the
|
|
23
|
+
* source layout contract changes. Bound retention and release resources: One
|
|
24
|
+
* fixed string is retained for module lifetime; it has no dynamic population,
|
|
25
|
+
* file handle or task to release.
|
|
18
26
|
*/
|
|
19
27
|
exports.PACKAGE_DOCS_ROOT = "docs";
|
|
20
28
|
//# sourceMappingURL=PACKAGE_DOCS_ROOT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PACKAGE_DOCS_ROOT.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/PACKAGE_DOCS_ROOT.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"PACKAGE_DOCS_ROOT.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/PACKAGE_DOCS_ROOT.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACU,QAAA,iBAAiB,GAAW,MAAM,CAAC"}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import type { IProductionConfigProps } from "../../IProductionConfigProps";
|
|
2
2
|
/**
|
|
3
|
-
* Checks supported narrative routes and stage option shapes before graph
|
|
4
|
-
*
|
|
5
|
-
* @evidence contracts/development/implementation.md#principled-implementation Routes admit only their authored layers, long work alone admits an outline, each supported stage is disabled or evidence, resolveSkillsDirectory refuses a relative shared skills tree, and assertProductionContractLayout refuses production-owned contracts left in the retired skills location, both before any contract is probed.
|
|
6
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure A single shape check precedes graph expansion; native Evidence owns claim and reference evaluation.
|
|
7
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The same route and stage vocabulary applies to every production; it does not inspect graph results or confer approval.
|
|
8
|
-
* @evidence contracts/development/common.md#meaningful-documentation Errors identify unsupported routes, layers, outline choices, stage values, a relative skills tree and each legacy contract directory with its new home.
|
|
9
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms The closed five-layer vocabulary bounds validation to constant time and storage, plus two directory existence probes.
|
|
10
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The fixed vocabularies are reused within one call; there is no expensive computation or cross-call cache.
|
|
11
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only local scalar values and the route array are allocated; the synchronous probes acquire no retained file handle or task.
|
|
3
|
+
* Checks supported narrative routes and stage option shapes before graph
|
|
4
|
+
* creation.
|
|
12
5
|
*/
|
|
13
6
|
export declare function assertProductionEvidenceSources(props: IProductionConfigProps): void;
|
|
@@ -7,15 +7,8 @@ const AUTHORED_LAYERS_1 = require("../AUTHORED_LAYERS");
|
|
|
7
7
|
const constructionStage_1 = require("../constructionStage");
|
|
8
8
|
const productionLayers_1 = require("../productionLayers");
|
|
9
9
|
/**
|
|
10
|
-
* Checks supported narrative routes and stage option shapes before graph
|
|
11
|
-
*
|
|
12
|
-
* @evidence contracts/development/implementation.md#principled-implementation Routes admit only their authored layers, long work alone admits an outline, each supported stage is disabled or evidence, resolveSkillsDirectory refuses a relative shared skills tree, and assertProductionContractLayout refuses production-owned contracts left in the retired skills location, both before any contract is probed.
|
|
13
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure A single shape check precedes graph expansion; native Evidence owns claim and reference evaluation.
|
|
14
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The same route and stage vocabulary applies to every production; it does not inspect graph results or confer approval.
|
|
15
|
-
* @evidence contracts/development/common.md#meaningful-documentation Errors identify unsupported routes, layers, outline choices, stage values, a relative skills tree and each legacy contract directory with its new home.
|
|
16
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms The closed five-layer vocabulary bounds validation to constant time and storage, plus two directory existence probes.
|
|
17
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The fixed vocabularies are reused within one call; there is no expensive computation or cross-call cache.
|
|
18
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only local scalar values and the route array are allocated; the synchronous probes acquire no retained file handle or task.
|
|
10
|
+
* Checks supported narrative routes and stage option shapes before graph
|
|
11
|
+
* creation.
|
|
19
12
|
*/
|
|
20
13
|
function assertProductionEvidenceSources(props) {
|
|
21
14
|
if (!["long", "short", "asset"].includes(props.mode))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertProductionEvidenceSources.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/assertProductionEvidenceSources.ts"],"names":[],"mappings":";;;AAAA,qGAAkG;AAClG,qFAAkF;AAGlF,wDAAqD;AACrD,4DAAyD;AACzD,0DAAuD;AAEvD
|
|
1
|
+
{"version":3,"file":"assertProductionEvidenceSources.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/assertProductionEvidenceSources.ts"],"names":[],"mappings":";;;AAAA,qGAAkG;AAClG,qFAAkF;AAGlF,wDAAqD;AACrD,4DAAyD;AACzD,0DAAuD;AAEvD;;;GAGG;AACH,yCACE,KAA6B;IAE7B,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC;QAClD,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAE/C,yEAAyE;IACzE,2EAA2E;IAC3E,IAAA,+CAAsB,EAAC,KAAK,CAAC,CAAC;IAC9B,IAAA,+DAA8B,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAE/C,MAAM,MAAM,GAA6B,IAAA,mCAAgB,EAAC,KAAK,CAAC,CAAC;IACjE,KAAK,MAAM,KAAK,IAAI,iCAAe,EAAE,CAAC;QACpC,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;YAAE,SAAS;QACrC,IAAI,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,UAAU;YAChD,MAAM,IAAI,KAAK,CACb,yDAAyD,CAC1D,CAAC;IACN,CAAC;IACD,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,KAAK,UAAU;QAClE,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;IACtE,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,CAAC,GAAG,CAAC;QAC3D,MAAM,IAAI,KAAK,CACb,mEAAmE,CACpE,CAAC;IACJ,IACE,KAAK,CAAC,YAAY,CAAC,KAAK,KAAK,SAAS;QACtC,KAAK,CAAC,YAAY,CAAC,KAAK,KAAK,UAAU;QACvC,KAAK,CAAC,YAAY,CAAC,KAAK,KAAK,UAAU;QAEvC,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAC5C,KAAK,MAAM,KAAK,IAAI,iCAAe,EAAE,CAAC;QACpC,MAAM,KAAK,GAAY,IAAA,qCAAiB,EAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACvD,IAAI,KAAK,KAAK,UAAU,IAAI,KAAK,KAAK,UAAU;YAC9C,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;IACvE,CAAC;AACH,CAAC"}
|
|
@@ -9,16 +9,10 @@ import type { IContractLocation } from "../../../internal/IContractLocation";
|
|
|
9
9
|
* production itself adopts, so they always resolve under its own
|
|
10
10
|
* `docs/contracts`, whichever tree holds the shared ones.
|
|
11
11
|
*
|
|
12
|
-
* @param contracts The production location and optional shared tree; read, not
|
|
12
|
+
* @param contracts The production location and optional shared tree; read, not
|
|
13
|
+
* retained.
|
|
13
14
|
* @param scope The contract family whose owner is wanted.
|
|
14
|
-
* @returns The absolute tree holding that family's folder; the family folder is
|
|
15
|
-
*
|
|
16
|
-
* @evidence contracts/development/implementation.md#principled-implementation The scaffold's ownership rule, bundled shared contracts in the skills tree's `contracts/story` and adopted work/language contracts in the production's `docs/contracts`, maps each family to one tree, joined from the layout constants by `path.join`.
|
|
17
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One function owns the family-to-owner decision for every existence probe and, through createContractRoot, every contract reference root, so no caller rebuilds either tree from the location.
|
|
18
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No family falls back to another tree when a file is missing, and the retired `.agents/skills/contracts/story/{work,language}` location is never consulted; a missing contract stays missing where its owner keeps it.
|
|
19
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One branch and one path join, linear in the path length.
|
|
20
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A pure path computation coordinates no work across requests.
|
|
21
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Only the returned string outlives the call.
|
|
22
|
-
* @evidence contracts/development/common.md#meaningful-documentation States which tree owns each family in workspace and standalone layouts, and that the result stops above the family folder.
|
|
15
|
+
* @returns The absolute tree holding that family's folder; the family folder is
|
|
16
|
+
* not appended.
|
|
23
17
|
*/
|
|
24
18
|
export declare function createContractDirectory(contracts: IContractLocation, scope: "shared" | "language" | "work"): string;
|
|
@@ -18,17 +18,11 @@ const resolveSkillsDirectory_1 = require("../../../internal/resolveSkillsDirecto
|
|
|
18
18
|
* production itself adopts, so they always resolve under its own
|
|
19
19
|
* `docs/contracts`, whichever tree holds the shared ones.
|
|
20
20
|
*
|
|
21
|
-
* @param contracts The production location and optional shared tree; read, not
|
|
21
|
+
* @param contracts The production location and optional shared tree; read, not
|
|
22
|
+
* retained.
|
|
22
23
|
* @param scope The contract family whose owner is wanted.
|
|
23
|
-
* @returns The absolute tree holding that family's folder; the family folder is
|
|
24
|
-
*
|
|
25
|
-
* @evidence contracts/development/implementation.md#principled-implementation The scaffold's ownership rule, bundled shared contracts in the skills tree's `contracts/story` and adopted work/language contracts in the production's `docs/contracts`, maps each family to one tree, joined from the layout constants by `path.join`.
|
|
26
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One function owns the family-to-owner decision for every existence probe and, through createContractRoot, every contract reference root, so no caller rebuilds either tree from the location.
|
|
27
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No family falls back to another tree when a file is missing, and the retired `.agents/skills/contracts/story/{work,language}` location is never consulted; a missing contract stays missing where its owner keeps it.
|
|
28
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One branch and one path join, linear in the path length.
|
|
29
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A pure path computation coordinates no work across requests.
|
|
30
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Only the returned string outlives the call.
|
|
31
|
-
* @evidence contracts/development/common.md#meaningful-documentation States which tree owns each family in workspace and standalone layouts, and that the result stops above the family folder.
|
|
24
|
+
* @returns The absolute tree holding that family's folder; the family folder is
|
|
25
|
+
* not appended.
|
|
32
26
|
*/
|
|
33
27
|
function createContractDirectory(contracts, scope) {
|
|
34
28
|
return scope === "shared"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createContractDirectory.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/createContractDirectory.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA6B;AAG7B,iFAA8E;AAC9E,uEAAoE;AACpE,qFAAkF;AAElF
|
|
1
|
+
{"version":3,"file":"createContractDirectory.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/createContractDirectory.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA6B;AAG7B,iFAA8E;AAC9E,uEAAoE;AACpE,qFAAkF;AAElF;;;;;;;;;;;;;;;GAeG;AACH,iCACE,SAA4B,EAC5B,KAAqC;IAErC,OAAO,KAAK,KAAK,QAAQ;QACvB,CAAC,CAAC,mBAAI,CAAC,IAAI,CACP,IAAA,+CAAsB,EAAC,SAAS,CAAC,EACjC,GAAG,iCAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAC9B;QACH,CAAC,CAAC,mBAAI,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,GAAG,2CAAoB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AACxE,CAAC"}
|
|
@@ -2,28 +2,18 @@ import type { IContractLocation } from "../../../internal/IContractLocation";
|
|
|
2
2
|
/**
|
|
3
3
|
* Resolves the reference root of the contract tree owning one family.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* `
|
|
8
|
-
*
|
|
9
|
-
* root differs between owners: the shared tree's `contracts/story`, reached
|
|
10
|
-
* through `..` segments in a workspace, or the production's own
|
|
11
|
-
* `docs/contracts`, so every citation address is the same in a workspace and
|
|
12
|
-
* in a standalone production.
|
|
5
|
+
* Bundled references such as `principles/screenplay.md` start at the skills
|
|
6
|
+
* tree's `contracts/story`. Production-owned `language/...` and `work/...`
|
|
7
|
+
* references start at `docs/contracts`. Each citation works the same way in a
|
|
8
|
+
* workspace and in a standalone production.
|
|
13
9
|
*
|
|
14
10
|
* The same local Markdown bytes are both pre-draft instructions and later
|
|
15
11
|
* evidence targets. Config constructs the graph but owns no document mirror.
|
|
16
12
|
*
|
|
17
|
-
* @param contracts The production location and optional shared tree; read, not
|
|
13
|
+
* @param contracts The production location and optional shared tree; read, not
|
|
14
|
+
* retained.
|
|
18
15
|
* @param scope The contract family the reference addresses.
|
|
19
|
-
* @returns The `/`-separated root relative to the production's configuration
|
|
20
|
-
*
|
|
21
|
-
* @evidence contracts/development/implementation.md#principled-implementation createContractDirectory picks the owning tree for the family and createReferenceRoot expresses it relative to the production location, the directory native Evidence resolves reference roots against; family-qualified file addresses keep shared/language/work identity in every citation.
|
|
22
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Ownership and relative-root spelling each live with their own owner; this function only composes them for the shared, language and work reference factories.
|
|
23
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The installed shared and production trees are the layout contracts; no fallback remote root, retired location, fixture path or copied contract bytes are introduced.
|
|
24
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms A fixed number of path operations, linear in the location and skills path lengths, without reading directories or file bytes.
|
|
25
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A pure path computation coordinates no work across requests.
|
|
26
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Only the returned string outlives the call.
|
|
27
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains family-qualified addresses, the two owning roots, why only the root differs between owners, local Markdown ownership and the absence of a document mirror.
|
|
16
|
+
* @returns The `/`-separated root relative to the production's configuration
|
|
17
|
+
* directory.
|
|
28
18
|
*/
|
|
29
19
|
export declare function createContractRoot(contracts: IContractLocation, scope: "shared" | "language" | "work"): string;
|
|
@@ -6,29 +6,19 @@ const createContractDirectory_1 = require("./createContractDirectory");
|
|
|
6
6
|
/**
|
|
7
7
|
* Resolves the reference root of the contract tree owning one family.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* `
|
|
12
|
-
*
|
|
13
|
-
* root differs between owners: the shared tree's `contracts/story`, reached
|
|
14
|
-
* through `..` segments in a workspace, or the production's own
|
|
15
|
-
* `docs/contracts`, so every citation address is the same in a workspace and
|
|
16
|
-
* in a standalone production.
|
|
9
|
+
* Bundled references such as `principles/screenplay.md` start at the skills
|
|
10
|
+
* tree's `contracts/story`. Production-owned `language/...` and `work/...`
|
|
11
|
+
* references start at `docs/contracts`. Each citation works the same way in a
|
|
12
|
+
* workspace and in a standalone production.
|
|
17
13
|
*
|
|
18
14
|
* The same local Markdown bytes are both pre-draft instructions and later
|
|
19
15
|
* evidence targets. Config constructs the graph but owns no document mirror.
|
|
20
16
|
*
|
|
21
|
-
* @param contracts The production location and optional shared tree; read, not
|
|
17
|
+
* @param contracts The production location and optional shared tree; read, not
|
|
18
|
+
* retained.
|
|
22
19
|
* @param scope The contract family the reference addresses.
|
|
23
|
-
* @returns The `/`-separated root relative to the production's configuration
|
|
24
|
-
*
|
|
25
|
-
* @evidence contracts/development/implementation.md#principled-implementation createContractDirectory picks the owning tree for the family and createReferenceRoot expresses it relative to the production location, the directory native Evidence resolves reference roots against; family-qualified file addresses keep shared/language/work identity in every citation.
|
|
26
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Ownership and relative-root spelling each live with their own owner; this function only composes them for the shared, language and work reference factories.
|
|
27
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The installed shared and production trees are the layout contracts; no fallback remote root, retired location, fixture path or copied contract bytes are introduced.
|
|
28
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms A fixed number of path operations, linear in the location and skills path lengths, without reading directories or file bytes.
|
|
29
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A pure path computation coordinates no work across requests.
|
|
30
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Only the returned string outlives the call.
|
|
31
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains family-qualified addresses, the two owning roots, why only the root differs between owners, local Markdown ownership and the absence of a document mirror.
|
|
20
|
+
* @returns The `/`-separated root relative to the production's configuration
|
|
21
|
+
* directory.
|
|
32
22
|
*/
|
|
33
23
|
function createContractRoot(contracts, scope) {
|
|
34
24
|
return (0, createReferenceRoot_1.createReferenceRoot)(contracts.location, (0, createContractDirectory_1.createContractDirectory)(contracts, scope));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createContractRoot.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/createContractRoot.ts"],"names":[],"mappings":";;;AACA,+EAA4E;AAC5E,uEAAoE;AAEpE
|
|
1
|
+
{"version":3,"file":"createContractRoot.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/createContractRoot.ts"],"names":[],"mappings":";;;AACA,+EAA4E;AAC5E,uEAAoE;AAEpE;;;;;;;;;;;;;;;;GAgBG;AACH,4BACE,SAA4B,EAC5B,KAAqC;IAErC,OAAO,IAAA,yCAAmB,EACxB,SAAS,CAAC,QAAQ,EAClB,IAAA,iDAAuB,EAAC,SAAS,EAAE,KAAK,CAAC,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mirrors selected manuscript files under detached construction evidence.
|
|
3
|
-
*
|
|
4
|
-
* @evidence contracts/development/implementation.md#principled-implementation Each body-relative selector is placed under detached construction files or units according to its host symbol, preserving a leading exclusion marker around the qualified selector.
|
|
5
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One selector transform serves the native graph collector and package claim builders, so detached file/H2 evidence use the same carrier layout.
|
|
6
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Files and units are explicit native host distinctions; negative selectors keep their original exclusion semantics instead of widening coverage.
|
|
7
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states the detached construction mirror, and the typed symbol input selects the documented file-versus-unit carrier.
|
|
8
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms For n selectors with total text length p, one mapping pass costs O(n + p) text work and allocates n qualified strings; manuscript contents are not read.
|
|
9
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Carrier selection is computed once for the map and the transformation is shared by all claim builders; fresh arrays prevent callers from mutating another claim selection.
|
|
10
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The mapped array is returned to its config owner and scales with selector text; no filesystem handle, task or process-wide selector cache is retained.
|
|
11
|
-
*/
|
|
1
|
+
/** Mirrors selected manuscript files under detached construction evidence. */
|
|
12
2
|
export declare function createEvidenceFiles(symbol: "file" | "h2", files: string[]): string[];
|
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createEvidenceFiles = createEvidenceFiles;
|
|
4
|
-
/**
|
|
5
|
-
* Mirrors selected manuscript files under detached construction evidence.
|
|
6
|
-
*
|
|
7
|
-
* @evidence contracts/development/implementation.md#principled-implementation Each body-relative selector is placed under detached construction files or units according to its host symbol, preserving a leading exclusion marker around the qualified selector.
|
|
8
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One selector transform serves the native graph collector and package claim builders, so detached file/H2 evidence use the same carrier layout.
|
|
9
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Files and units are explicit native host distinctions; negative selectors keep their original exclusion semantics instead of widening coverage.
|
|
10
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states the detached construction mirror, and the typed symbol input selects the documented file-versus-unit carrier.
|
|
11
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms For n selectors with total text length p, one mapping pass costs O(n + p) text work and allocates n qualified strings; manuscript contents are not read.
|
|
12
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Carrier selection is computed once for the map and the transformation is shared by all claim builders; fresh arrays prevent callers from mutating another claim selection.
|
|
13
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The mapped array is returned to its config owner and scales with selector text; no filesystem handle, task or process-wide selector cache is retained.
|
|
14
|
-
*/
|
|
4
|
+
/** Mirrors selected manuscript files under detached construction evidence. */
|
|
15
5
|
function createEvidenceFiles(symbol, files) {
|
|
16
6
|
const carrier = symbol === "file" ? "files" : "units";
|
|
17
7
|
return files.map((file) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createEvidenceFiles.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/createEvidenceFiles.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"createEvidenceFiles.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/createEvidenceFiles.ts"],"names":[],"mappings":";;;AAAA,8EAA8E;AAC9E,6BACE,MAAqB,EACrB,KAAe;IAEf,MAAM,OAAO,GAAsB,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IACzE,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAY,EAAU,EAAE;QACxC,MAAM,QAAQ,GAAY,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QAC/C,MAAM,QAAQ,GAAW,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACzD,MAAM,QAAQ,GAAW,8BAA8B,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC7E,OAAO,QAAQ,CAAC,CAAC,CAAC,IAAI,QAAQ,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;IAC9C,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -7,13 +7,5 @@ import type { NarrativeScope } from "../../NarrativeScope";
|
|
|
7
7
|
* scaffold's domain folders, and a short's brief the domain folders. The
|
|
8
8
|
* settings outline remains outside canon selectors. Narrative layers retain
|
|
9
9
|
* their release partition or film folders and delegate to their own selector.
|
|
10
|
-
*
|
|
11
|
-
* @evidence contracts/development/implementation.md#principled-implementation Settings and brief use their dedicated canon selectors excluding outline navigation, while narrative layers delegate to the scope-validating partition and film-folder selector; all outputs remain relative to the body root.
|
|
12
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This dispatcher owns the authored-layer distinction and delegates narrative pilot/complete-work rules rather than repeating their validation.
|
|
13
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Legacy flat settings and exact first-part pilots are supported layouts/scopes; invalid narrative scope is rejected by the shared selector rather than widened to a matching fixture.
|
|
14
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose names supported settings layouts, outline exclusion and partitioned or film-folder narrative selection relative to the body root.
|
|
15
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Each branch returns at most two selectors; narrative branches also validate scope text, so cost/storage are bounded by the selected scope/path text and independent of manuscript size.
|
|
16
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The same settings/narrative selector helpers serve hosts and references; fresh returned selector arrays keep config mutations local and no filesystem membership is cached.
|
|
17
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the one- or two-string result; this dispatcher opens no handle, starts no task and retains no population state.
|
|
18
10
|
*/
|
|
19
11
|
export declare function createUnitFiles(layer: AuthoredLayer, scope: NarrativeScope): string[];
|
|
@@ -11,14 +11,6 @@ const createSettingsFiles_1 = require("../../createSettingsFiles");
|
|
|
11
11
|
* scaffold's domain folders, and a short's brief the domain folders. The
|
|
12
12
|
* settings outline remains outside canon selectors. Narrative layers retain
|
|
13
13
|
* their release partition or film folders and delegate to their own selector.
|
|
14
|
-
*
|
|
15
|
-
* @evidence contracts/development/implementation.md#principled-implementation Settings and brief use their dedicated canon selectors excluding outline navigation, while narrative layers delegate to the scope-validating partition and film-folder selector; all outputs remain relative to the body root.
|
|
16
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This dispatcher owns the authored-layer distinction and delegates narrative pilot/complete-work rules rather than repeating their validation.
|
|
17
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Legacy flat settings and exact first-part pilots are supported layouts/scopes; invalid narrative scope is rejected by the shared selector rather than widened to a matching fixture.
|
|
18
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose names supported settings layouts, outline exclusion and partitioned or film-folder narrative selection relative to the body root.
|
|
19
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Each branch returns at most two selectors; narrative branches also validate scope text, so cost/storage are bounded by the selected scope/path text and independent of manuscript size.
|
|
20
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The same settings/narrative selector helpers serve hosts and references; fresh returned selector arrays keep config mutations local and no filesystem membership is cached.
|
|
21
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns the one- or two-string result; this dispatcher opens no handle, starts no task and retains no population state.
|
|
22
14
|
*/
|
|
23
15
|
function createUnitFiles(layer, scope) {
|
|
24
16
|
if (layer === "settings")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createUnitFiles.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/createUnitFiles.ts"],"names":[],"mappings":";;;AAEA,6DAA0D;AAC1D,6EAA0E;AAC1E,mEAAgE;AAEhE
|
|
1
|
+
{"version":3,"file":"createUnitFiles.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/createUnitFiles.ts"],"names":[],"mappings":";;;AAEA,6DAA0D;AAC1D,6EAA0E;AAC1E,mEAAgE;AAEhE;;;;;;;GAOG;AACH,yBACE,KAAoB,EACpB,KAAqB;IAErB,IAAI,KAAK,KAAK,UAAU;QAAE,OAAO,IAAA,yCAAmB,GAAE,CAAC;IACvD,IAAI,KAAK,KAAK,OAAO;QAAE,OAAO,IAAA,mCAAgB,GAAE,CAAC;IACjD,OAAO,IAAA,mDAAwB,EAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;AACpD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IContractLocation } from "../../../internal/IContractLocation";
|
|
2
|
+
/**
|
|
3
|
+
* Checks whether an optional bundled checklist exists at its citation address.
|
|
4
|
+
*
|
|
5
|
+
* @param contracts The production and its configured skills tree.
|
|
6
|
+
* @param file A checklist path relative to `contracts/story`.
|
|
7
|
+
* @returns Whether the current installation supplies the checklist.
|
|
8
|
+
*/
|
|
9
|
+
export declare function hasStoryContract(contracts: IContractLocation, file: string): boolean;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.hasStoryContract = hasStoryContract;
|
|
7
|
+
const node_fs_1 = __importDefault(require("node:fs"));
|
|
8
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
9
|
+
const createContractDirectory_1 = require("./createContractDirectory");
|
|
10
|
+
/**
|
|
11
|
+
* Checks whether an optional bundled checklist exists at its citation address.
|
|
12
|
+
*
|
|
13
|
+
* @param contracts The production and its configured skills tree.
|
|
14
|
+
* @param file A checklist path relative to `contracts/story`.
|
|
15
|
+
* @returns Whether the current installation supplies the checklist.
|
|
16
|
+
*/
|
|
17
|
+
function hasStoryContract(contracts, file) {
|
|
18
|
+
return node_fs_1.default.existsSync(node_path_1.default.join((0, createContractDirectory_1.createContractDirectory)(contracts, "shared"), file));
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=hasStoryContract.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hasStoryContract.js","sourceRoot":"","sources":["../../../../src/narrative/internal/utilities/hasStoryContract.ts"],"names":[],"mappings":";;;;;;AAAA,sDAAyB;AACzB,0DAA6B;AAG7B,uEAAoE;AAEpE;;;;;;GAMG;AACH,0BACE,SAA4B,EAC5B,IAAY;IAEZ,OAAO,iBAAE,CAAC,UAAU,CAClB,mBAAI,CAAC,IAAI,CAAC,IAAA,iDAAuB,EAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,IAAI,CAAC,CAC9D,CAAC;AACJ,CAAC"}
|