@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createLocalContractReference.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createLocalContractReference.ts"],"names":[],"mappings":";;;;;;AACA,sDAAyB;AACzB,0DAA6B;AAE7B,kFAA+E;AAC/E,wEAAqE;AAErE
|
|
1
|
+
{"version":3,"file":"createLocalContractReference.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createLocalContractReference.ts"],"names":[],"mappings":";;;;;;AACA,sDAAyB;AACzB,0DAA6B;AAE7B,kFAA+E;AAC/E,wEAAqE;AAErE;;;;;;;GAOG;AACH,sCAA6C,KAM5C;IACC,MAAM,SAAS,GAAW,IAAA,iDAAuB,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACtE,IAAI,CAAC,iBAAE,CAAC,UAAU,CAAC,mBAAI,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;QAC/D,OAAO,SAAS,CAAC;IACnB,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,IAAA,uCAAkB,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QAC5C,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;QACvC,MAAM,EAAE,IAAI;QACZ,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/C,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC;KACxD,CAAC;AACJ,CAAC"}
|
|
@@ -6,14 +6,6 @@ import type { AuthoredLayer } from "../../AuthoredLayer";
|
|
|
6
6
|
*
|
|
7
7
|
* Each unit answers its layer's principles. Only the screenplay selects an
|
|
8
8
|
* installed realized-text supplement. Every selected H2 answers its items.
|
|
9
|
-
*
|
|
10
|
-
* @evidence contracts/development/implementation.md#principled-implementation Common, inherited narrative, realized-text and layer-specific files become non-excludable per-unit H2 checklists in the selected principles directory; only declared optional family files are filtered by installation, probed in the shared skills tree that createContractDirectory resolves, where createSharedReference also roots the references.
|
|
11
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One layer axis is reused across construction stages, while family admission remains distinct from language modules and population obligations; the owning tree is decided by createContractDirectory, not rebuilt here.
|
|
12
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Required construction files stay selected when missing so native compilation diagnoses the broken tree; realized supplements are optional.
|
|
13
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains who can answer each scope, why literal-text questions apply only to realized layers, and which layer selects realized text.
|
|
14
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms At most four layer-file candidates require a bounded number of optional-file probes and fixed-size reference constructions; no manuscript traversal occurs.
|
|
15
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work layerFiles and createSharedReference centralize scope and address semantics; optional-file existence refreshes per configuration build rather than persisting an old contract population.
|
|
16
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Intermediate file lists and returned references have a fixed family bound; config owns the result and synchronous existence checks retain no handle or running task.
|
|
17
9
|
*/
|
|
18
10
|
export declare function createPrincipleReferences(props: {
|
|
19
11
|
contracts: IContractLocation;
|
|
@@ -9,14 +9,6 @@ const layerFiles_1 = require("./layerFiles");
|
|
|
9
9
|
*
|
|
10
10
|
* Each unit answers its layer's principles. Only the screenplay selects an
|
|
11
11
|
* installed realized-text supplement. Every selected H2 answers its items.
|
|
12
|
-
*
|
|
13
|
-
* @evidence contracts/development/implementation.md#principled-implementation Common, inherited narrative, realized-text and layer-specific files become non-excludable per-unit H2 checklists in the selected principles directory; only declared optional family files are filtered by installation, probed in the shared skills tree that createContractDirectory resolves, where createSharedReference also roots the references.
|
|
14
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One layer axis is reused across construction stages, while family admission remains distinct from language modules and population obligations; the owning tree is decided by createContractDirectory, not rebuilt here.
|
|
15
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Required construction files stay selected when missing so native compilation diagnoses the broken tree; realized supplements are optional.
|
|
16
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains who can answer each scope, why literal-text questions apply only to realized layers, and which layer selects realized text.
|
|
17
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms At most four layer-file candidates require a bounded number of optional-file probes and fixed-size reference constructions; no manuscript traversal occurs.
|
|
18
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work layerFiles and createSharedReference centralize scope and address semantics; optional-file existence refreshes per configuration build rather than persisting an old contract population.
|
|
19
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Intermediate file lists and returned references have a fixed family bound; config owns the result and synchronous existence checks retain no handle or running task.
|
|
20
12
|
*/
|
|
21
13
|
function createPrincipleReferences(props) {
|
|
22
14
|
return (0, layerFiles_1.layerFiles)(props.layer)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPrincipleReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createPrincipleReferences.ts"],"names":[],"mappings":";;;AAOA,oEAAiE;AACjE,mEAAgE;AAChE,6CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"createPrincipleReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createPrincipleReferences.ts"],"names":[],"mappings":";;;AAOA,oEAAiE;AACjE,mEAAgE;AAChE,6CAA0C;AAE1C;;;;;GAKG;AACH,mCAA0C,KAGzC;IACC,OAAO,IAAA,uBAAU,EAAC,KAAK,CAAC,KAAK,CAAC;SAC3B,MAAM,CACL,CAAC,IAAY,EAAW,EAAE,CACxB,IAAI,KAAK,aAAa;QACtB,IAAA,mCAAgB,EAAC,KAAK,CAAC,SAAS,EAAE,cAAc,IAAI,EAAE,CAAC,CAC1D;SACA,GAAG,CACF,CAAC,IAAY,EAA8B,EAAE,CAC3C,IAAA,6CAAqB,EAAC;QACpB,SAAS,EAAE,KAAK,CAAC,SAAS;QAC1B,IAAI,EAAE,cAAc,IAAI,EAAE;QAC1B,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,KAAK;KACjB,CAAC,CACL,CAAC;AACN,CAAC"}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import type { IEvidenceReference } from "@wrtnlabs/evidence";
|
|
2
2
|
/**
|
|
3
|
-
* Creates one H2 reference per canon file of settings, in any supported layout,
|
|
4
|
-
* The outline is not canon and is never an inherited
|
|
5
|
-
*
|
|
6
|
-
* @evidence contracts/development/implementation.md#principled-implementation The body settings or brief directory, chosen by `canon`, is enumerated under readSettingsFiles layout validation, yielding one H2 reference per actual canon file; outline navigation is excluded from canon inheritance.
|
|
7
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Filesystem layout discovery stays in readSettingsFiles while this helper adds layer-qualified native-reference addresses.
|
|
8
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Both flat legacy canon and numbered subject folders are real supported layouts; symbolic or invalid classified entries fail in the shared enumerator rather than being silently substituted.
|
|
9
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose states per-file settings targets, two layouts and the outline exclusion; the default canon is settings.
|
|
10
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms For e directory entries and f canon files, enumeration and sorting dominate O(e log e) comparisons with O(e + f) path storage; two mapping passes allocate one reference per file without reading document contents.
|
|
11
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The shared enumerator and address builder own reusable layout/address rules, but filesystem enumeration repeats each build because installed canon membership may change.
|
|
12
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned f references belong to the config owner; directory arrays and path lists are transient, and synchronous enumeration leaves no owned descriptor or background task.
|
|
3
|
+
* Creates one H2 reference per canon file of settings, in any supported layout,
|
|
4
|
+
* or of a short's brief. The outline is not canon and is never an inherited
|
|
5
|
+
* settings dependency.
|
|
13
6
|
*/
|
|
14
7
|
export declare function createSettingReferences(location: string, canon?: "settings" | "brief"): IEvidenceReference[];
|
|
@@ -10,16 +10,9 @@ const readSettingsFiles_1 = require("../readSettingsFiles");
|
|
|
10
10
|
const BODY_ROOT_1 = require("../utilities/BODY_ROOT");
|
|
11
11
|
const referenceLocation_1 = require("../utilities/referenceLocation");
|
|
12
12
|
/**
|
|
13
|
-
* Creates one H2 reference per canon file of settings, in any supported layout,
|
|
14
|
-
* The outline is not canon and is never an inherited
|
|
15
|
-
*
|
|
16
|
-
* @evidence contracts/development/implementation.md#principled-implementation The body settings or brief directory, chosen by `canon`, is enumerated under readSettingsFiles layout validation, yielding one H2 reference per actual canon file; outline navigation is excluded from canon inheritance.
|
|
17
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Filesystem layout discovery stays in readSettingsFiles while this helper adds layer-qualified native-reference addresses.
|
|
18
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Both flat legacy canon and numbered subject folders are real supported layouts; symbolic or invalid classified entries fail in the shared enumerator rather than being silently substituted.
|
|
19
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose states per-file settings targets, two layouts and the outline exclusion; the default canon is settings.
|
|
20
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms For e directory entries and f canon files, enumeration and sorting dominate O(e log e) comparisons with O(e + f) path storage; two mapping passes allocate one reference per file without reading document contents.
|
|
21
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The shared enumerator and address builder own reusable layout/address rules, but filesystem enumeration repeats each build because installed canon membership may change.
|
|
22
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned f references belong to the config owner; directory arrays and path lists are transient, and synchronous enumeration leaves no owned descriptor or background task.
|
|
13
|
+
* Creates one H2 reference per canon file of settings, in any supported layout,
|
|
14
|
+
* or of a short's brief. The outline is not canon and is never an inherited
|
|
15
|
+
* settings dependency.
|
|
23
16
|
*/
|
|
24
17
|
function createSettingReferences(location, canon = "settings") {
|
|
25
18
|
const settingsRoot = node_path_1.default.join(location, ...BODY_ROOT_1.BODY_ROOT.split("/"), canon);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSettingReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createSettingReferences.ts"],"names":[],"mappings":";;;;;;AACA,sDAAyB;AACzB,0DAA6B;AAE7B,4DAAyD;AACzD,sDAAmD;AACnD,sEAAmE;AAEnE
|
|
1
|
+
{"version":3,"file":"createSettingReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createSettingReferences.ts"],"names":[],"mappings":";;;;;;AACA,sDAAyB;AACzB,0DAA6B;AAE7B,4DAAyD;AACzD,sDAAmD;AACnD,sEAAmE;AAEnE;;;;GAIG;AACH,iCACE,QAAgB,EAChB,KAAK,GAAyB,UAAU;IAExC,MAAM,YAAY,GAAW,mBAAI,CAAC,IAAI,CACpC,QAAQ,EACR,GAAG,qBAAS,CAAC,KAAK,CAAC,GAAG,CAAC,EACvB,KAAK,CACN,CAAC;IACF,IAAI,CAAC,iBAAE,CAAC,UAAU,CAAC,YAAY,CAAC;QAAE,OAAO,EAAE,CAAC;IAE5C,OAAO,IAAA,qCAAiB,EAAC,YAAY,CAAC;SACnC,GAAG,CAAC,CAAC,IAAY,EAAU,EAAE,CAAC,GAAG,KAAK,IAAI,IAAI,EAAE,CAAC;SACjD,GAAG,CACF,CACE,IAAY,EACuD,EAAE,CACrE,CAAC;QACC,IAAI,EAAE,UAAU;QAChB,GAAG,IAAA,qCAAiB,EAAC,CAAC,IAAI,CAAC,CAAC;QAC5B,MAAM,EAAE,IAAI;KACb,CAA8B,CAClC,CAAC;AACN,CAAC"}
|
|
@@ -3,13 +3,13 @@ import type { IContractLocation } from "../../../internal/IContractLocation";
|
|
|
3
3
|
/**
|
|
4
4
|
* Creates one reference against a shared contract document.
|
|
5
5
|
*
|
|
6
|
-
* Every shared family is the same relation — anchored H2 items of a document
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
6
|
+
* Every shared family is the same relation — anchored H2 items of a document in
|
|
7
|
+
* the effective `contracts/story` tree, answered by the selected H2 hosts of
|
|
8
|
+
* one layer — and differs only in two flags, so it is declared once rather than
|
|
9
|
+
* assembled separately. The shared tree is the bundled one, which a workspace
|
|
10
|
+
* keeps at its root and a standalone production under its own `.agents/skills`.
|
|
11
|
+
* A host cites the file relative to `contracts/story`. Production-owned
|
|
12
|
+
* contracts retain their `work/` or `language/` prefix.
|
|
13
13
|
*
|
|
14
14
|
* `checklist` decides who answers. A checklist is answered by every selected
|
|
15
15
|
* host for itself, so a strong sibling never answers for a weak one. Ordinary
|
|
@@ -20,14 +20,6 @@ import type { IContractLocation } from "../../../internal/IContractLocation";
|
|
|
20
20
|
* a search must be able to record that the search found nothing, or every unit
|
|
21
21
|
* would claim a result it never had; a duty that states what every work owes
|
|
22
22
|
* has no such negative, and a host that cannot assert it is defective.
|
|
23
|
-
*
|
|
24
|
-
* @evidence contracts/development/implementation.md#principled-implementation Shared family documents are anchored H2 targets under the shared tree's story root from createContractRoot; checklist selects per-host duty and exclusion determines whether a truthful negative is permitted.
|
|
25
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One builder expresses the shared address and two orthogonal relation flags used throughout the claim factories; the owning tree is decided by createContractRoot rather than here.
|
|
26
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No shared file is conditionally replaced or given a fixture allowance; family-qualified addresses keep equally named language/work documents distinct.
|
|
27
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms A fixed-size object and one selector are constructed with path work proportional to location, skills and file text; no filesystem contents or populations are traversed.
|
|
28
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work createContractRoot is reused for all shared references, while each caller receives an independent relation object so differing checklist/exclusion flags cannot contaminate another claim.
|
|
29
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function acquires no handle or task; only the returned one-selector object, owned by the caller, outlives the call.
|
|
30
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains which tree holds shared documents, address ownership, per-host versus population coverage and the semantic basis for allowing exclusions.
|
|
31
23
|
*/
|
|
32
24
|
export declare function createSharedReference(props: {
|
|
33
25
|
contracts: IContractLocation;
|
|
@@ -5,13 +5,13 @@ const createContractRoot_1 = require("../utilities/createContractRoot");
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates one reference against a shared contract document.
|
|
7
7
|
*
|
|
8
|
-
* Every shared family is the same relation — anchored H2 items of a document
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
8
|
+
* Every shared family is the same relation — anchored H2 items of a document in
|
|
9
|
+
* the effective `contracts/story` tree, answered by the selected H2 hosts of
|
|
10
|
+
* one layer — and differs only in two flags, so it is declared once rather than
|
|
11
|
+
* assembled separately. The shared tree is the bundled one, which a workspace
|
|
12
|
+
* keeps at its root and a standalone production under its own `.agents/skills`.
|
|
13
|
+
* A host cites the file relative to `contracts/story`. Production-owned
|
|
14
|
+
* contracts retain their `work/` or `language/` prefix.
|
|
15
15
|
*
|
|
16
16
|
* `checklist` decides who answers. A checklist is answered by every selected
|
|
17
17
|
* host for itself, so a strong sibling never answers for a weak one. Ordinary
|
|
@@ -22,14 +22,6 @@ const createContractRoot_1 = require("../utilities/createContractRoot");
|
|
|
22
22
|
* a search must be able to record that the search found nothing, or every unit
|
|
23
23
|
* would claim a result it never had; a duty that states what every work owes
|
|
24
24
|
* has no such negative, and a host that cannot assert it is defective.
|
|
25
|
-
*
|
|
26
|
-
* @evidence contracts/development/implementation.md#principled-implementation Shared family documents are anchored H2 targets under the shared tree's story root from createContractRoot; checklist selects per-host duty and exclusion determines whether a truthful negative is permitted.
|
|
27
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One builder expresses the shared address and two orthogonal relation flags used throughout the claim factories; the owning tree is decided by createContractRoot rather than here.
|
|
28
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No shared file is conditionally replaced or given a fixture allowance; family-qualified addresses keep equally named language/work documents distinct.
|
|
29
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms A fixed-size object and one selector are constructed with path work proportional to location, skills and file text; no filesystem contents or populations are traversed.
|
|
30
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work createContractRoot is reused for all shared references, while each caller receives an independent relation object so differing checklist/exclusion flags cannot contaminate another claim.
|
|
31
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function acquires no handle or task; only the returned one-selector object, owned by the caller, outlives the call.
|
|
32
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains which tree holds shared documents, address ownership, per-host versus population coverage and the semantic basis for allowing exclusions.
|
|
33
25
|
*/
|
|
34
26
|
function createSharedReference(props) {
|
|
35
27
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSharedReference.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createSharedReference.ts"],"names":[],"mappings":";;;AAGA,wEAAqE;AAErE
|
|
1
|
+
{"version":3,"file":"createSharedReference.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createSharedReference.ts"],"names":[],"mappings":";;;AAGA,wEAAqE;AAErE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,+BAAsC,KAKrC;IACC,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,IAAA,uCAAkB,EAAC,KAAK,CAAC,SAAS,EAAE,QAAQ,CAAC;QACnD,KAAK,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;QACnB,MAAM,EAAE,IAAI;QACZ,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/C,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC;KACxD,CAAC;AACJ,CAAC"}
|
|
@@ -10,13 +10,5 @@ import type { NarrativeLayer } from "../../NarrativeLayer";
|
|
|
10
10
|
* every other. Exclusion is permitted, and the pairing is the point: a unit
|
|
11
11
|
* whose parents answered every question it asked records what it tested, while
|
|
12
12
|
* refusing the negative would make every unit claim a repair it never made.
|
|
13
|
-
*
|
|
14
|
-
* @evidence contracts/development/implementation.md#principled-implementation Every narrative unit answers its own upstream-revision checklist, with exclusions permitted when the tested parents need no repair; settings is excluded by the typed narrative-layer input, and the shared upstream document resolves in the shared skills tree through createSharedReference.
|
|
15
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This helper owns the upstream-family relation and reuses the shared builder for citation addressing and flag assembly.
|
|
16
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The exclusion represents a supported negative search finding rather than excusing an unexamined upstream defect; no consumer or expected answer changes the relation.
|
|
17
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains per-unit rather than population ownership, the settings boundary and what a truthful no-repair result means.
|
|
18
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One fixed-size shared reference is constructed; path/string work scales with location, skills and layer text and does not scan manuscript units.
|
|
19
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The shared reference builder centralizes root/checklist/exclusion semantics; fresh result objects prevent a caller from altering another upstream relation.
|
|
20
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned reference belongs to the claim owner with one selector; no filesystem handle, background task or persistent registry is acquired.
|
|
21
13
|
*/
|
|
22
14
|
export declare function createUpstreamReference(contracts: IContractLocation, layer: NarrativeLayer): IEvidenceReference;
|
|
@@ -11,14 +11,6 @@ const createSharedReference_1 = require("./createSharedReference");
|
|
|
11
11
|
* every other. Exclusion is permitted, and the pairing is the point: a unit
|
|
12
12
|
* whose parents answered every question it asked records what it tested, while
|
|
13
13
|
* refusing the negative would make every unit claim a repair it never made.
|
|
14
|
-
*
|
|
15
|
-
* @evidence contracts/development/implementation.md#principled-implementation Every narrative unit answers its own upstream-revision checklist, with exclusions permitted when the tested parents need no repair; settings is excluded by the typed narrative-layer input, and the shared upstream document resolves in the shared skills tree through createSharedReference.
|
|
16
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This helper owns the upstream-family relation and reuses the shared builder for citation addressing and flag assembly.
|
|
17
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The exclusion represents a supported negative search finding rather than excusing an unexamined upstream defect; no consumer or expected answer changes the relation.
|
|
18
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains per-unit rather than population ownership, the settings boundary and what a truthful no-repair result means.
|
|
19
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One fixed-size shared reference is constructed; path/string work scales with location, skills and layer text and does not scan manuscript units.
|
|
20
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The shared reference builder centralizes root/checklist/exclusion semantics; fresh result objects prevent a caller from altering another upstream relation.
|
|
21
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned reference belongs to the claim owner with one selector; no filesystem handle, background task or persistent registry is acquired.
|
|
22
14
|
*/
|
|
23
15
|
function createUpstreamReference(contracts, layer) {
|
|
24
16
|
return (0, createSharedReference_1.createSharedReference)({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createUpstreamReference.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createUpstreamReference.ts"],"names":[],"mappings":";;;AAIA,mEAAgE;AAEhE
|
|
1
|
+
{"version":3,"file":"createUpstreamReference.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createUpstreamReference.ts"],"names":[],"mappings":";;;AAIA,mEAAgE;AAEhE;;;;;;;;;GASG;AACH,iCACE,SAA4B,EAC5B,KAAqB;IAErB,OAAO,IAAA,6CAAqB,EAAC;QAC3B,SAAS;QACT,IAAI,EAAE,YAAY,KAAK,KAAK;QAC5B,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,IAAI;KAChB,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -2,17 +2,9 @@ import type { AuthoredLayer } from "../../AuthoredLayer";
|
|
|
2
2
|
/**
|
|
3
3
|
* Names the layer-scoped documents one layer answers, narrowest last.
|
|
4
4
|
*
|
|
5
|
-
* Placement is decided by who can truthfully answer an item, so the axis is
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* @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.
|
|
11
|
-
* @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.
|
|
12
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Canon layers omit inherited narrative duties and only the final screenplay receives realized-text duties, both explicit semantic differences of the supported pipeline.
|
|
13
|
-
* @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.
|
|
14
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms A fixed number of layer comparisons produces at most four filenames, independent of manuscript length.
|
|
15
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work All families reuse this layer selection. Each call owns its array, so filtering for one family preserves the others.
|
|
16
|
-
* @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.
|
|
5
|
+
* Placement is decided by who can truthfully answer an item, so the axis is the
|
|
6
|
+
* same wherever it appears: everyone, then the layers that inherit a unit, then
|
|
7
|
+
* the screenplay for realized text, then the exact layer. Shared and local
|
|
8
|
+
* contracts use the same respondent scope.
|
|
17
9
|
*/
|
|
18
10
|
export declare function layerFiles(layer: AuthoredLayer): string[];
|
|
@@ -5,18 +5,10 @@ const isCanonLayer_1 = require("../isCanonLayer");
|
|
|
5
5
|
/**
|
|
6
6
|
* Names the layer-scoped documents one layer answers, narrowest last.
|
|
7
7
|
*
|
|
8
|
-
* Placement is decided by who can truthfully answer an item, so the axis is
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @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.
|
|
14
|
-
* @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.
|
|
15
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Canon layers omit inherited narrative duties and only the final screenplay receives realized-text duties, both explicit semantic differences of the supported pipeline.
|
|
16
|
-
* @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.
|
|
17
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms A fixed number of layer comparisons produces at most four filenames, independent of manuscript length.
|
|
18
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work All families reuse this layer selection. Each call owns its array, so filtering for one family preserves the others.
|
|
19
|
-
* @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.
|
|
20
12
|
*/
|
|
21
13
|
function layerFiles(layer) {
|
|
22
14
|
return [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layerFiles.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/layerFiles.ts"],"names":[],"mappings":";;;AACA,kDAA+C;AAE/C
|
|
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;
|