@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
|
@@ -8,23 +8,15 @@ const createSharedReference_1 = require("./createSharedReference");
|
|
|
8
8
|
* Creates the open-world discovery duties one layer's population covers.
|
|
9
9
|
*
|
|
10
10
|
* Canon, settings or a short's brief, searches its own directives and subject,
|
|
11
|
-
* and backcasts the planned narrative to find what those layers would otherwise
|
|
12
|
-
* That backcast is how settings anticipates the cross-layer
|
|
13
|
-
* so `discovery/narratives.md` is not selected here: it is
|
|
14
|
-
* narrative layer answers when it rechecks that contract against
|
|
15
|
-
* actually authored.
|
|
11
|
+
* and backcasts the planned narrative to find what those layers would otherwise
|
|
12
|
+
* have to invent. That backcast is how settings anticipates the cross-layer
|
|
13
|
+
* narrative contract, so `discovery/narratives.md` is not selected here: it is
|
|
14
|
+
* the duty each narrative layer answers when it rechecks that contract against
|
|
15
|
+
* what it actually authored.
|
|
16
16
|
*
|
|
17
17
|
* Exclusion is permitted throughout the family. A duty that requires a search
|
|
18
18
|
* must be able to record that the search found nothing, which is what makes
|
|
19
19
|
* requiring it honest.
|
|
20
|
-
*
|
|
21
|
-
* @evidence contracts/development/implementation.md#principled-implementation A fixed shared discovery family selects common and layer duties, adds narrative duties only for inheriting layers, and appends installed language calibration; shared duties resolve in the shared skills tree and language calibration in the production's own `docs/contracts`, each through its own reference root, and discovery permits exclusions for truthful negative searches.
|
|
22
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure The relation builder centralizes discovery target selection independently of the work-contract hosts created by createDiscoveryClaim.
|
|
23
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Canon layers omit narrative discovery because their backcast owns anticipation rather than rechecking authored inherited units; this is the declared layer responsibility.
|
|
24
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose explains settings backcast, narrative-layer recheck and why negative search findings remain admissible.
|
|
25
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Two or three shared references and at most one language reference are built; the optional language-file existence probe and fixed-count path operations dominate independent of manuscript size.
|
|
26
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work createSharedReference and the language-discovery selector share address/flag rules; optional language installation is checked each build rather than memoized across changed contract trees.
|
|
27
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The bounded reference array is returned to the claim owner; only temporary path strings are discarded and no filesystem handles or tasks remain retained.
|
|
28
20
|
*/
|
|
29
21
|
function createDiscoveryReferences(contracts, layer) {
|
|
30
22
|
return [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDiscoveryReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createDiscoveryReferences.ts"],"names":[],"mappings":";;;AAOA,kDAA+C;AAC/C,2FAAwF;AACxF,mEAAgE;AAEhE
|
|
1
|
+
{"version":3,"file":"createDiscoveryReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createDiscoveryReferences.ts"],"names":[],"mappings":";;;AAOA,kDAA+C;AAC/C,2FAAwF;AACxF,mEAAgE;AAEhE;;;;;;;;;;;;;GAaG;AACH,mCACE,SAA4B,EAC5B,KAAoB;IAEpB,OAAO;QACL,GAAG;YACD,WAAW;YACX,GAAG,CAAC,IAAA,2BAAY,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;YACjD,GAAG,KAAK,KAAK;SACd,CAAC,GAAG,CACH,CAAC,IAAY,EAA8B,EAAE,CAC3C,IAAA,6CAAqB,EAAC;YACpB,SAAS;YACT,IAAI,EAAE,aAAa,IAAI,EAAE;YACzB,SAAS,EAAE,KAAK;YAChB,SAAS,EAAE,IAAI;SAChB,CAAC,CACL;QACD,GAAG,IAAA,qEAAiC,EAAC,SAAS,CAAC,QAAQ,CAAC;KACzD,CAAC;AACJ,CAAC"}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
1
|
import type { IEvidenceReference } from "@wrtnlabs/evidence";
|
|
2
|
-
/**
|
|
3
|
-
* Selects the installed language's active open-world calibration questions.
|
|
4
|
-
*
|
|
5
|
-
* @evidence contracts/development/implementation.md#principled-implementation An installed language discovery/questions.md becomes an ordinary H2 coverage target with truthful exclusions; absence produces an empty reference list.
|
|
6
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure The helper gives language calibration its own optional target while delegating local contract-root addressing to one shared builder.
|
|
7
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Optional language selection reflects installed project contracts and does not force a language or fabricate replacement questions.
|
|
8
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment identifies active installed-language calibration questions; the optional local-reference result determines whether any claim target exists.
|
|
9
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One synchronous existence probe and fixed-size object/array construction are independent of manuscript length; path work scales with location text.
|
|
10
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work createLocalContractReference supplies shared local-root and option semantics, and its existence observation refreshes every config build.
|
|
11
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The zero-or-one reference array is caller-owned; there is no persistent language state, open descriptor or background task.
|
|
12
|
-
*/
|
|
2
|
+
/** Selects the installed language's active open-world calibration questions. */
|
|
13
3
|
export declare function createLanguageDiscoveryReferences(location: string): IEvidenceReference[];
|
|
@@ -2,17 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createLanguageDiscoveryReferences = createLanguageDiscoveryReferences;
|
|
4
4
|
const createLocalContractReference_1 = require("./createLocalContractReference");
|
|
5
|
-
/**
|
|
6
|
-
* Selects the installed language's active open-world calibration questions.
|
|
7
|
-
*
|
|
8
|
-
* @evidence contracts/development/implementation.md#principled-implementation An installed language discovery/questions.md becomes an ordinary H2 coverage target with truthful exclusions; absence produces an empty reference list.
|
|
9
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure The helper gives language calibration its own optional target while delegating local contract-root addressing to one shared builder.
|
|
10
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Optional language selection reflects installed project contracts and does not force a language or fabricate replacement questions.
|
|
11
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment identifies active installed-language calibration questions; the optional local-reference result determines whether any claim target exists.
|
|
12
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One synchronous existence probe and fixed-size object/array construction are independent of manuscript length; path work scales with location text.
|
|
13
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work createLocalContractReference supplies shared local-root and option semantics, and its existence observation refreshes every config build.
|
|
14
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The zero-or-one reference array is caller-owned; there is no persistent language state, open descriptor or background task.
|
|
15
|
-
*/
|
|
5
|
+
/** Selects the installed language's active open-world calibration questions. */
|
|
16
6
|
function createLanguageDiscoveryReferences(location) {
|
|
17
7
|
const reference = (0, createLocalContractReference_1.createLocalContractReference)({
|
|
18
8
|
location,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createLanguageDiscoveryReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createLanguageDiscoveryReferences.ts"],"names":[],"mappings":";;;AAKA,iFAA8E;AAE9E
|
|
1
|
+
{"version":3,"file":"createLanguageDiscoveryReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createLanguageDiscoveryReferences.ts"],"names":[],"mappings":";;;AAKA,iFAA8E;AAE9E,gFAAgF;AAChF,2CACE,QAAgB;IAEhB,MAAM,SAAS,GACb,IAAA,2DAA4B,EAAC;QAC3B,QAAQ;QACR,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,wBAAwB;QAC9B,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,IAAI;KAChB,CAAC,CAAC;IACL,OAAO,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACpD,CAAC"}
|
|
@@ -1,22 +1,12 @@
|
|
|
1
1
|
import type { IEvidenceReference } from "@wrtnlabs/evidence";
|
|
2
2
|
import type { AuthoredLayer } from "../../AuthoredLayer";
|
|
3
3
|
/**
|
|
4
|
-
* Selects the installed language's
|
|
4
|
+
* Selects the installed language's construction principles for one layer.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* selects the expression family.
|
|
9
|
-
*
|
|
10
|
-
* @evidence contracts/development/implementation.md#principled-implementation Layer-specific candidate files are selected from the installed language principles or expression family, with every present file forming a per-unit H2 checklist and exclusions forbidden.
|
|
11
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Family selection is localized here while local-file admission and contract-relative addresses belong to createLocalContractReference.
|
|
12
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Missing optional language files are omitted according to the sparse installed module; no default language or synthetic question is substituted.
|
|
13
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose states per-unit ownership, family selection and which construction answers the expression family.
|
|
14
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms At most four candidate files each require one synchronous existence probe; mapping/filtering and allocated references have a fixed family bound with path-length-dependent string work.
|
|
15
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work layerFiles and the local-reference builder centralize equivalent scope/address rules; installation state is observed for each build, not cached across edits.
|
|
16
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only the bounded returned references remain with the claim owner; intermediate optional arrays and paths expire after the call with no open handles or tasks.
|
|
6
|
+
* Language-specific screenplay questions follow the same unit scope as the
|
|
7
|
+
* shared ones.
|
|
17
8
|
*/
|
|
18
9
|
export declare function createLanguagePrincipleReferences(props: {
|
|
19
10
|
location: string;
|
|
20
11
|
layer: AuthoredLayer;
|
|
21
|
-
family: "principles" | "naturalness";
|
|
22
12
|
}): IEvidenceReference[];
|
|
@@ -4,26 +4,17 @@ exports.createLanguagePrincipleReferences = createLanguagePrincipleReferences;
|
|
|
4
4
|
const createLocalContractReference_1 = require("./createLocalContractReference");
|
|
5
5
|
const layerFiles_1 = require("./layerFiles");
|
|
6
6
|
/**
|
|
7
|
-
* Selects the installed language's
|
|
7
|
+
* Selects the installed language's construction principles for one layer.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* selects the expression family.
|
|
12
|
-
*
|
|
13
|
-
* @evidence contracts/development/implementation.md#principled-implementation Layer-specific candidate files are selected from the installed language principles or expression family, with every present file forming a per-unit H2 checklist and exclusions forbidden.
|
|
14
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Family selection is localized here while local-file admission and contract-relative addresses belong to createLocalContractReference.
|
|
15
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Missing optional language files are omitted according to the sparse installed module; no default language or synthetic question is substituted.
|
|
16
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose states per-unit ownership, family selection and which construction answers the expression family.
|
|
17
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms At most four candidate files each require one synchronous existence probe; mapping/filtering and allocated references have a fixed family bound with path-length-dependent string work.
|
|
18
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work layerFiles and the local-reference builder centralize equivalent scope/address rules; installation state is observed for each build, not cached across edits.
|
|
19
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only the bounded returned references remain with the claim owner; intermediate optional arrays and paths expire after the call with no open handles or tasks.
|
|
9
|
+
* Language-specific screenplay questions follow the same unit scope as the
|
|
10
|
+
* shared ones.
|
|
20
11
|
*/
|
|
21
12
|
function createLanguagePrincipleReferences(props) {
|
|
22
13
|
return (0, layerFiles_1.layerFiles)(props.layer)
|
|
23
14
|
.map((file) => (0, createLocalContractReference_1.createLocalContractReference)({
|
|
24
15
|
location: props.location,
|
|
25
16
|
scope: "language",
|
|
26
|
-
file:
|
|
17
|
+
file: `principles/${file}`,
|
|
27
18
|
checklist: true,
|
|
28
19
|
exclusion: false,
|
|
29
20
|
}))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createLanguagePrincipleReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createLanguagePrincipleReferences.ts"],"names":[],"mappings":";;;AAMA,iFAA8E;AAC9E,6CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"createLanguagePrincipleReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createLanguagePrincipleReferences.ts"],"names":[],"mappings":";;;AAMA,iFAA8E;AAC9E,6CAA0C;AAE1C;;;;;GAKG;AACH,2CAAkD,KAGjD;IACC,OAAO,IAAA,uBAAU,EAAC,KAAK,CAAC,KAAK,CAAC;SAC3B,GAAG,CAAC,CAAC,IAAY,EAA0C,EAAE,CAC5D,IAAA,2DAA4B,EAAC;QAC3B,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,cAAc,IAAI,EAAE;QAC1B,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,KAAK;KACjB,CAAC,CACH;SACA,MAAM,CACL,CACE,SAAiD,EACR,EAAE,CAAC,SAAS,KAAK,SAAS,CACtE,CAAC;AACN,CAAC"}
|
|
@@ -3,20 +3,12 @@ import type { IEvidenceReference } from "@wrtnlabs/evidence";
|
|
|
3
3
|
* Creates a reference to one parent story unit.
|
|
4
4
|
*
|
|
5
5
|
* Each child host cites one parent, each parent has one child, and neither may
|
|
6
|
-
* exclude. This binds each long screenplay scene file to the script scene H2
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* exclude. This binds each long screenplay scene file to the script scene H2 it
|
|
7
|
+
* realizes, and each review H2 to the authored H2 it read. Use
|
|
8
|
+
* {@link createCoverageReference} for differently partitioned layers.
|
|
9
9
|
*
|
|
10
|
-
* `review` additionally demands a current review of the cited unit. The
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* @evidence contracts/development/implementation.md#principled-implementation UniqueEvidence, singleEvidencePerSymbol and noEvidenceExclude together form a one-to-one non-excludable relation; optional requireReview binds a reviewer to the exact cited unit version through native review semantics.
|
|
15
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure The strict-lineage helper stays separate from many-to-many coverage and delegates body/global address rules to referenceLocation.
|
|
16
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Review is an explicit supported relation variant rather than a bypass for stale text, and no expected parent is inferred from a consumer label.
|
|
17
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose states one-parent/one-child ownership, its screenplay and review uses and invalidation of a review when its cited unit changes.
|
|
18
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Fixed flag assembly is constant-sized; address qualification costs O(n) selector text for file hosts and retains the original selector array for H2 hosts.
|
|
19
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The same address builder serves lineage and coverage; references are freshly built and optional review metadata applies only to this requested relation, with no cross-analysis cache.
|
|
20
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned object and any qualified selector strings belong to the caller; H2 mode can retain the supplied array, and no handle, task or module-level collection is owned.
|
|
10
|
+
* `review` additionally demands a current review of the cited unit. The review
|
|
11
|
+
* binds a review document to the exact unit it read: a change to that unit
|
|
12
|
+
* expires the review, and the graph names the one unit to read again.
|
|
21
13
|
*/
|
|
22
14
|
export declare function createLineageReference(files: string[], symbol: "file" | "h2", review?: boolean): IEvidenceReference;
|
|
@@ -6,21 +6,13 @@ const referenceLocation_1 = require("../utilities/referenceLocation");
|
|
|
6
6
|
* Creates a reference to one parent story unit.
|
|
7
7
|
*
|
|
8
8
|
* Each child host cites one parent, each parent has one child, and neither may
|
|
9
|
-
* exclude. This binds each long screenplay scene file to the script scene H2
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* exclude. This binds each long screenplay scene file to the script scene H2 it
|
|
10
|
+
* realizes, and each review H2 to the authored H2 it read. Use
|
|
11
|
+
* {@link createCoverageReference} for differently partitioned layers.
|
|
12
12
|
*
|
|
13
|
-
* `review` additionally demands a current review of the cited unit. The
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* @evidence contracts/development/implementation.md#principled-implementation UniqueEvidence, singleEvidencePerSymbol and noEvidenceExclude together form a one-to-one non-excludable relation; optional requireReview binds a reviewer to the exact cited unit version through native review semantics.
|
|
18
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure The strict-lineage helper stays separate from many-to-many coverage and delegates body/global address rules to referenceLocation.
|
|
19
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Review is an explicit supported relation variant rather than a bypass for stale text, and no expected parent is inferred from a consumer label.
|
|
20
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose states one-parent/one-child ownership, its screenplay and review uses and invalidation of a review when its cited unit changes.
|
|
21
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Fixed flag assembly is constant-sized; address qualification costs O(n) selector text for file hosts and retains the original selector array for H2 hosts.
|
|
22
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The same address builder serves lineage and coverage; references are freshly built and optional review metadata applies only to this requested relation, with no cross-analysis cache.
|
|
23
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned object and any qualified selector strings belong to the caller; H2 mode can retain the supplied array, and no handle, task or module-level collection is owned.
|
|
13
|
+
* `review` additionally demands a current review of the cited unit. The review
|
|
14
|
+
* binds a review document to the exact unit it read: a change to that unit
|
|
15
|
+
* expires the review, and the graph names the one unit to read again.
|
|
24
16
|
*/
|
|
25
17
|
function createLineageReference(files, symbol, review = false) {
|
|
26
18
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createLineageReference.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createLineageReference.ts"],"names":[],"mappings":";;;AAEA,sEAAmE;AAEnE
|
|
1
|
+
{"version":3,"file":"createLineageReference.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createLineageReference.ts"],"names":[],"mappings":";;;AAEA,sEAAmE;AAEnE;;;;;;;;;;;GAWG;AACH,gCACE,KAAe,EACf,MAAqB,EACrB,MAAM,GAAY,KAAK;IAEvB,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,GAAG,IAAA,qCAAiB,EAAC,KAAK,EAAE,MAAM,CAAC;QACnC,MAAM;QACN,iBAAiB,EAAE,IAAI;QACvB,cAAc,EAAE,IAAI;QACpB,uBAAuB,EAAE,IAAI;QAC7B,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -6,14 +6,6 @@ import type { IEvidenceMarkdownReference } from "@wrtnlabs/evidence";
|
|
|
6
6
|
* resolve under its own `docs/contracts`, even when a workspace keeps the
|
|
7
7
|
* shared contracts elsewhere. The root stops above the family folder, so the
|
|
8
8
|
* family owning the item stays in the citation address a host writes.
|
|
9
|
-
*
|
|
10
|
-
* @evidence contracts/development/implementation.md#principled-implementation One exact production-owned language/work file must exist before an H2 reference is returned; createContractDirectory and createContractRoot place both the probe and the root in the production's `docs/contracts`, and checklist/exclusion flags preserve requested semantics.
|
|
11
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This builder owns optional local-contract admission and addresses for discovery, principle and obligation consumers; the owning tree is decided by createContractDirectory.
|
|
12
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts File absence returns undefined rather than selecting a substitute from the shared tree or the retired `.agents/skills` location, which assertProductionContractLayout refuses before any factory runs.
|
|
13
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One synchronous existence probe plus a fixed number of path/string operations costs O(p) text work for combined location/scope/file length, with no document-content read.
|
|
14
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work All local contract consumers reuse the same addressing and flags; the existence probe is intentionally repeated per config build so installation edits remain visible.
|
|
15
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The optional returned reference contains one selector; call-local paths expire at return and fs.existsSync leaves no owned open descriptor, task or retained cache.
|
|
16
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose identifies the production's `docs/contracts` as owner, existence as the admission rule, and why the citation address retains its family.
|
|
17
9
|
*/
|
|
18
10
|
export declare function createLocalContractReference(props: {
|
|
19
11
|
location: string;
|
|
@@ -15,14 +15,6 @@ const createContractRoot_1 = require("../utilities/createContractRoot");
|
|
|
15
15
|
* resolve under its own `docs/contracts`, even when a workspace keeps the
|
|
16
16
|
* shared contracts elsewhere. The root stops above the family folder, so the
|
|
17
17
|
* family owning the item stays in the citation address a host writes.
|
|
18
|
-
*
|
|
19
|
-
* @evidence contracts/development/implementation.md#principled-implementation One exact production-owned language/work file must exist before an H2 reference is returned; createContractDirectory and createContractRoot place both the probe and the root in the production's `docs/contracts`, and checklist/exclusion flags preserve requested semantics.
|
|
20
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure This builder owns optional local-contract admission and addresses for discovery, principle and obligation consumers; the owning tree is decided by createContractDirectory.
|
|
21
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts File absence returns undefined rather than selecting a substitute from the shared tree or the retired `.agents/skills` location, which assertProductionContractLayout refuses before any factory runs.
|
|
22
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms One synchronous existence probe plus a fixed number of path/string operations costs O(p) text work for combined location/scope/file length, with no document-content read.
|
|
23
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work All local contract consumers reuse the same addressing and flags; the existence probe is intentionally repeated per config build so installation edits remain visible.
|
|
24
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The optional returned reference contains one selector; call-local paths expire at return and fs.existsSync leaves no owned open descriptor, task or retained cache.
|
|
25
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose identifies the production's `docs/contracts` as owner, existence as the admission rule, and why the citation address retains its family.
|
|
26
18
|
*/
|
|
27
19
|
function createLocalContractReference(props) {
|
|
28
20
|
const directory = (0, createContractDirectory_1.createContractDirectory)(props, props.scope);
|
|
@@ -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"}
|
|
@@ -4,29 +4,10 @@ import type { AuthoredLayer } from "../../AuthoredLayer";
|
|
|
4
4
|
/**
|
|
5
5
|
* Creates the principle checklists every unit of one layer answers for itself.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* unit and stages no turn. A script or screenplay unit additionally answers the
|
|
10
|
-
* realized checklist, whose questions need literal text to be asked of: a
|
|
11
|
-
* treatment fixes which exchange happens, and only a layer that writes the
|
|
12
|
-
* words can be asked whether this speaker could have said them. No item may be
|
|
13
|
-
* excluded, because each binds wherever its condition applies.
|
|
14
|
-
*
|
|
15
|
-
* The same layer axis runs under `naturalness/`, the expression questions a
|
|
16
|
-
* script can fail while being content-complete. Scripts construction
|
|
17
|
-
* selects them beside its principles, so both families ask a unit about its
|
|
18
|
-
* own body in the same pass.
|
|
19
|
-
*
|
|
20
|
-
* @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 or expression family; only declared optional family files are filtered by installation, probed in the shared skills tree that createContractDirectory resolves, where createSharedReference also roots the references.
|
|
21
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One layer axis is reused for both families, while family admission remains distinct from language modules and population obligations; the owning tree is decided by createContractDirectory, not rebuilt here.
|
|
22
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Required construction files stay selected when missing so native compilation diagnoses the broken tree; sparse expression files and older realized contracts are the explicit compatibility cases.
|
|
23
|
-
* @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 construction selects the expression family.
|
|
24
|
-
* @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.
|
|
25
|
-
* @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.
|
|
26
|
-
* @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.
|
|
7
|
+
* Each unit answers its layer's principles. Only the screenplay selects an
|
|
8
|
+
* installed realized-text supplement. Every selected H2 answers its items.
|
|
27
9
|
*/
|
|
28
10
|
export declare function createPrincipleReferences(props: {
|
|
29
11
|
contracts: IContractLocation;
|
|
30
12
|
layer: AuthoredLayer;
|
|
31
|
-
family: "principles" | "naturalness";
|
|
32
13
|
}): IEvidenceReference[];
|
|
@@ -1,51 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.createPrincipleReferences = createPrincipleReferences;
|
|
7
|
-
const
|
|
8
|
-
const node_path_1 = __importDefault(require("node:path"));
|
|
9
|
-
const createContractDirectory_1 = require("../utilities/createContractDirectory");
|
|
4
|
+
const hasStoryContract_1 = require("../utilities/hasStoryContract");
|
|
10
5
|
const createSharedReference_1 = require("./createSharedReference");
|
|
11
6
|
const layerFiles_1 = require("./layerFiles");
|
|
12
7
|
/**
|
|
13
8
|
* Creates the principle checklists every unit of one layer answers for itself.
|
|
14
9
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* unit and stages no turn. A script or screenplay unit additionally answers the
|
|
18
|
-
* realized checklist, whose questions need literal text to be asked of: a
|
|
19
|
-
* treatment fixes which exchange happens, and only a layer that writes the
|
|
20
|
-
* words can be asked whether this speaker could have said them. No item may be
|
|
21
|
-
* excluded, because each binds wherever its condition applies.
|
|
22
|
-
*
|
|
23
|
-
* The same layer axis runs under `naturalness/`, the expression questions a
|
|
24
|
-
* script can fail while being content-complete. Scripts construction
|
|
25
|
-
* selects them beside its principles, so both families ask a unit about its
|
|
26
|
-
* own body in the same pass.
|
|
27
|
-
*
|
|
28
|
-
* @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 or expression family; only declared optional family files are filtered by installation, probed in the shared skills tree that createContractDirectory resolves, where createSharedReference also roots the references.
|
|
29
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One layer axis is reused for both families, while family admission remains distinct from language modules and population obligations; the owning tree is decided by createContractDirectory, not rebuilt here.
|
|
30
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Required construction files stay selected when missing so native compilation diagnoses the broken tree; sparse expression files and older realized contracts are the explicit compatibility cases.
|
|
31
|
-
* @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 construction selects the expression family.
|
|
32
|
-
* @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.
|
|
33
|
-
* @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.
|
|
34
|
-
* @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.
|
|
10
|
+
* Each unit answers its layer's principles. Only the screenplay selects an
|
|
11
|
+
* installed realized-text supplement. Every selected H2 answers its items.
|
|
35
12
|
*/
|
|
36
13
|
function createPrincipleReferences(props) {
|
|
37
|
-
const installed = (file) => node_fs_1.default.existsSync(node_path_1.default.join((0, createContractDirectory_1.createContractDirectory)(props.contracts, "shared"), "shared", props.family, file));
|
|
38
|
-
// The construction family ships one document per layer scope, so a missing
|
|
39
|
-
// one is a broken tree rather than an absent option and must still be
|
|
40
|
-
// selected for the compiler to say so. Only the genuinely optional documents
|
|
41
|
-
// are filtered: `realized.md`, which older trees predate, and the whole
|
|
42
|
-
// expression subtree, which is sparse by design.
|
|
43
|
-
const optional = (file) => props.family === "naturalness" || file === "realized.md";
|
|
44
14
|
return (0, layerFiles_1.layerFiles)(props.layer)
|
|
45
|
-
.filter((file) =>
|
|
15
|
+
.filter((file) => file !== "realized.md" ||
|
|
16
|
+
(0, hasStoryContract_1.hasStoryContract)(props.contracts, `principles/${file}`))
|
|
46
17
|
.map((file) => (0, createSharedReference_1.createSharedReference)({
|
|
47
18
|
contracts: props.contracts,
|
|
48
|
-
file:
|
|
19
|
+
file: `principles/${file}`,
|
|
49
20
|
checklist: true,
|
|
50
21
|
exclusion: false,
|
|
51
22
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPrincipleReferences.js","sourceRoot":"","sources":["../../../../src/narrative/internal/references/createPrincipleReferences.ts"],"names":[],"mappings":"
|
|
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,14 +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
|
-
*
|
|
13
|
-
* of the same name.
|
|
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.
|
|
14
13
|
*
|
|
15
14
|
* `checklist` decides who answers. A checklist is answered by every selected
|
|
16
15
|
* host for itself, so a strong sibling never answers for a weak one. Ordinary
|
|
@@ -21,14 +20,6 @@ import type { IContractLocation } from "../../../internal/IContractLocation";
|
|
|
21
20
|
* a search must be able to record that the search found nothing, or every unit
|
|
22
21
|
* would claim a result it never had; a duty that states what every work owes
|
|
23
22
|
* has no such negative, and a host that cannot assert it is defective.
|
|
24
|
-
*
|
|
25
|
-
* @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.
|
|
26
|
-
* @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.
|
|
27
|
-
* @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.
|
|
28
|
-
* @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.
|
|
29
|
-
* @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.
|
|
30
|
-
* @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.
|
|
31
|
-
* @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.
|
|
32
23
|
*/
|
|
33
24
|
export declare function createSharedReference(props: {
|
|
34
25
|
contracts: IContractLocation;
|
|
@@ -5,14 +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
|
-
*
|
|
15
|
-
* of the same name.
|
|
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.
|
|
16
15
|
*
|
|
17
16
|
* `checklist` decides who answers. A checklist is answered by every selected
|
|
18
17
|
* host for itself, so a strong sibling never answers for a weak one. Ordinary
|
|
@@ -23,20 +22,12 @@ const createContractRoot_1 = require("../utilities/createContractRoot");
|
|
|
23
22
|
* a search must be able to record that the search found nothing, or every unit
|
|
24
23
|
* would claim a result it never had; a duty that states what every work owes
|
|
25
24
|
* has no such negative, and a host that cannot assert it is defective.
|
|
26
|
-
*
|
|
27
|
-
* @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.
|
|
28
|
-
* @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.
|
|
29
|
-
* @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.
|
|
30
|
-
* @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.
|
|
31
|
-
* @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.
|
|
32
|
-
* @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.
|
|
33
|
-
* @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.
|
|
34
25
|
*/
|
|
35
26
|
function createSharedReference(props) {
|
|
36
27
|
return {
|
|
37
28
|
type: "markdown",
|
|
38
29
|
root: (0, createContractRoot_1.createContractRoot)(props.contracts, "shared"),
|
|
39
|
-
files: [
|
|
30
|
+
files: [props.file],
|
|
40
31
|
symbol: "h2",
|
|
41
32
|
...(props.checklist ? { checklist: true } : {}),
|
|
42
33
|
...(props.exclusion ? {} : { noEvidenceExclude: true }),
|
|
@@ -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,18 +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
|
-
* can answer does not depend on which family asks it.
|
|
10
|
-
*
|
|
11
|
-
* @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.
|
|
12
|
-
* @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.
|
|
13
|
-
* @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.
|
|
14
|
-
* @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.
|
|
15
|
-
* @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.
|
|
16
|
-
* @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.
|
|
17
|
-
* @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.
|
|
18
9
|
*/
|
|
19
10
|
export declare function layerFiles(layer: AuthoredLayer): string[];
|