@agent-teams/engineering-foundation 0.16.1 → 0.17.0-rc.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/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/filesystem-public-api-repository.d.ts +3 -2
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/filesystem-public-api-repository.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/filesystem-public-api-repository.js +39 -6
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/filesystem-public-api-repository.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.d.ts +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.js +5 -2
- package/dist/capabilities/public-api-compatibility/adapters/outbound/filesystem/public-api-baseline-mapper.js.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/ports/public-api-repository.d.ts +3 -2
- package/dist/capabilities/public-api-compatibility/application/ports/public-api-repository.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/promote-public-api-baselines.d.ts.map +1 -1
- package/dist/capabilities/public-api-compatibility/application/use-cases/promote-public-api-baselines.js +19 -2
- package/dist/capabilities/public-api-compatibility/application/use-cases/promote-public-api-baselines.js.map +1 -1
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.d.ts +26 -0
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.js +74 -0
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.d.ts +9 -0
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.js +41 -0
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-contract-validator.d.ts +1 -1
- package/dist/document-authoring/adapters/node/node-document-contract-validator.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-contract-validator.js +1 -1
- package/dist/document-authoring/adapters/node/node-document-contract-validator.js.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-file-state.d.ts +1 -1
- package/dist/document-authoring/adapters/node/node-document-file-state.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-file-state.js +17 -1
- package/dist/document-authoring/adapters/node/node-document-file-state.js.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.d.ts +9 -0
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.js +87 -0
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.d.ts +39 -0
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.js +270 -0
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.js +11 -3
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.js.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.d.ts +1 -0
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.js +18 -1
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.js.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-publisher.d.ts +1 -1
- package/dist/document-authoring/adapters/node/node-document-publisher.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-publisher.js +102 -11
- package/dist/document-authoring/adapters/node/node-document-publisher.js.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.d.ts +1 -1
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.d.ts +1 -1
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.js +1 -1
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.js.map +1 -1
- package/dist/document-authoring/adapters/node/node-metadata-instance-validator.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-metadata-instance-validator.js +6 -0
- package/dist/document-authoring/adapters/node/node-metadata-instance-validator.js.map +1 -1
- package/dist/document-authoring/adapters/node/node-path-authority.d.ts +53 -0
- package/dist/document-authoring/adapters/node/node-path-authority.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-path-authority.js +186 -0
- package/dist/document-authoring/adapters/node/node-path-authority.js.map +1 -0
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.d.ts +2 -1
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.js +21 -77
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.js.map +1 -1
- package/dist/document-authoring/application/model/document-authoring-profile-description.d.ts +53 -0
- package/dist/document-authoring/application/model/document-authoring-profile-description.d.ts.map +1 -0
- package/dist/document-authoring/application/model/document-authoring-profile-description.js +2 -0
- package/dist/document-authoring/application/model/document-authoring-profile-description.js.map +1 -0
- package/dist/document-authoring/application/model/document-catalog.d.ts +29 -0
- package/dist/document-authoring/application/model/document-catalog.d.ts.map +1 -1
- package/dist/document-authoring/application/model/document-find.d.ts +5 -1
- package/dist/document-authoring/application/model/document-find.d.ts.map +1 -1
- package/dist/document-authoring/application/model/document-parent-materialization.d.ts +26 -0
- package/dist/document-authoring/application/model/document-parent-materialization.d.ts.map +1 -0
- package/dist/document-authoring/application/model/document-parent-materialization.js +2 -0
- package/dist/document-authoring/application/model/document-parent-materialization.js.map +1 -0
- package/dist/document-authoring/application/model/document-planning.d.ts +29 -2
- package/dist/document-authoring/application/model/document-planning.d.ts.map +1 -1
- package/dist/document-authoring/application/model/document-receipt.d.ts +28 -1
- package/dist/document-authoring/application/model/document-receipt.d.ts.map +1 -1
- package/dist/document-authoring/application/model/document-transaction-inspection.d.ts +23 -0
- package/dist/document-authoring/application/model/document-transaction-inspection.d.ts.map +1 -1
- package/dist/document-authoring/application/model/document-transaction.d.ts +91 -3
- package/dist/document-authoring/application/model/document-transaction.d.ts.map +1 -1
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.d.ts +3 -0
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.js +8 -0
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.js.map +1 -0
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.d.ts +3 -0
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.js +7 -0
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.js.map +1 -0
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.d.ts +30 -0
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.js +157 -0
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.js.map +1 -0
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.d.ts +12 -0
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.js +16 -0
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.js.map +1 -0
- package/dist/document-authoring/application/policies/document-catalog-sidecar.d.ts +10 -0
- package/dist/document-authoring/application/policies/document-catalog-sidecar.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-catalog-sidecar.js +66 -0
- package/dist/document-authoring/application/policies/document-catalog-sidecar.js.map +1 -0
- package/dist/document-authoring/application/policies/document-command-projection.d.ts +1 -1
- package/dist/document-authoring/application/policies/document-command-projection.d.ts.map +1 -1
- package/dist/document-authoring/application/policies/document-contract-digests.d.ts.map +1 -1
- package/dist/document-authoring/application/policies/document-contract-digests.js +61 -7
- package/dist/document-authoring/application/policies/document-contract-digests.js.map +1 -1
- package/dist/document-authoring/application/policies/document-receipt-policy.d.ts +3 -3
- package/dist/document-authoring/application/policies/document-receipt-policy.d.ts.map +1 -1
- package/dist/document-authoring/application/policies/document-receipt-policy.js +43 -4
- package/dist/document-authoring/application/policies/document-receipt-policy.js.map +1 -1
- package/dist/document-authoring/application/policies/document-transaction-digests.d.ts +2 -2
- package/dist/document-authoring/application/policies/document-transaction-digests.d.ts.map +1 -1
- package/dist/document-authoring/application/policies/document-transaction-digests.js.map +1 -1
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.d.ts +28 -0
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.js +140 -0
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.js.map +1 -0
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.d.ts.map +1 -1
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.js +47 -6
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.js.map +1 -1
- package/dist/document-authoring/application/policies/inspect-catalog-document.d.ts +8 -1
- package/dist/document-authoring/application/policies/inspect-catalog-document.d.ts.map +1 -1
- package/dist/document-authoring/application/policies/inspect-catalog-document.js +48 -0
- package/dist/document-authoring/application/policies/inspect-catalog-document.js.map +1 -1
- package/dist/document-authoring/application/policies/project-catalog-metadata.d.ts +7 -0
- package/dist/document-authoring/application/policies/project-catalog-metadata.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/project-catalog-metadata.js +165 -0
- package/dist/document-authoring/application/policies/project-catalog-metadata.js.map +1 -0
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.d.ts +3 -0
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.js +24 -0
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.js.map +1 -0
- package/dist/document-authoring/application/ports/authoring-profile-reader.d.ts +10 -0
- package/dist/document-authoring/application/ports/authoring-profile-reader.d.ts.map +1 -1
- package/dist/document-authoring/application/ports/document-authority-recompiler.d.ts +1 -1
- package/dist/document-authoring/application/ports/document-authority-recompiler.d.ts.map +1 -1
- package/dist/document-authoring/application/ports/document-contract-validator.d.ts +1 -1
- package/dist/document-authoring/application/ports/document-contract-validator.d.ts.map +1 -1
- package/dist/document-authoring/application/ports/document-file-state.d.ts +1 -1
- package/dist/document-authoring/application/ports/document-file-state.d.ts.map +1 -1
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.d.ts +13 -0
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.js +2 -0
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.js.map +1 -0
- package/dist/document-authoring/application/ports/document-parent-materializer.d.ts +24 -0
- package/dist/document-authoring/application/ports/document-parent-materializer.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-parent-materializer.js +2 -0
- package/dist/document-authoring/application/ports/document-parent-materializer.js.map +1 -0
- package/dist/document-authoring/application/ports/document-planning-state-reader.d.ts +1 -0
- package/dist/document-authoring/application/ports/document-planning-state-reader.d.ts.map +1 -1
- package/dist/document-authoring/application/ports/document-publisher.d.ts +1 -1
- package/dist/document-authoring/application/ports/document-publisher.d.ts.map +1 -1
- package/dist/document-authoring/application/ports/document-reachability-projector.d.ts +1 -1
- package/dist/document-authoring/application/ports/document-reachability-projector.d.ts.map +1 -1
- package/dist/document-authoring/application/ports/document-structure-verifier.d.ts +1 -1
- package/dist/document-authoring/application/ports/document-structure-verifier.d.ts.map +1 -1
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.d.ts +11 -0
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.js +2 -0
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.js.map +1 -0
- package/dist/document-authoring/application/ports/documentation-catalog-reader.d.ts +2 -2
- package/dist/document-authoring/application/ports/documentation-catalog-reader.d.ts.map +1 -1
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.d.ts +9 -0
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.js +2 -0
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.js.map +1 -0
- package/dist/document-authoring/application/ports/metadata-instance-validator.d.ts +1 -0
- package/dist/document-authoring/application/ports/metadata-instance-validator.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/apply-document-plan.d.ts +1 -1
- package/dist/document-authoring/application/use-cases/apply-document-plan.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/apply-document-plan.js +150 -54
- package/dist/document-authoring/application/use-cases/apply-document-plan.js.map +1 -1
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.d.ts +14 -0
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.js +17 -0
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.js.map +1 -0
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.d.ts +18 -1
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.js +81 -26
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.js.map +1 -1
- package/dist/document-authoring/application/use-cases/compile-document-plan.d.ts +1 -1
- package/dist/document-authoring/application/use-cases/compile-document-plan.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/compile-document-plan.js +50 -6
- package/dist/document-authoring/application/use-cases/compile-document-plan.js.map +1 -1
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.d.ts +3 -0
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.js +79 -0
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.js.map +1 -0
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.d.ts +18 -13
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.js +88 -165
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.js.map +1 -1
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.d.ts +21 -0
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.js +180 -0
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.js.map +1 -0
- package/dist/document-authoring/application/use-cases/find-documents.d.ts +7 -1
- package/dist/document-authoring/application/use-cases/find-documents.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/find-documents.js +19 -0
- package/dist/document-authoring/application/use-cases/find-documents.js.map +1 -1
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.d.ts +15 -0
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.js +12 -0
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.js.map +1 -0
- package/dist/document-authoring/application/use-cases/plan-documentation-document.d.ts +12 -4
- package/dist/document-authoring/application/use-cases/plan-documentation-document.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/plan-documentation-document.js +25 -28
- package/dist/document-authoring/application/use-cases/plan-documentation-document.js.map +1 -1
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.d.ts +8 -0
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.js +32 -0
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.js.map +1 -0
- package/dist/document-authoring/application/use-cases/recover-document-transaction.d.ts +1 -1
- package/dist/document-authoring/application/use-cases/recover-document-transaction.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/recover-document-transaction.js +148 -20
- package/dist/document-authoring/application/use-cases/recover-document-transaction.js.map +1 -1
- package/dist/document-authoring/application/use-cases/run-document-doctor.d.ts +2 -2
- package/dist/document-authoring/application/use-cases/run-document-doctor.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/run-document-doctor.js.map +1 -1
- package/dist/document-authoring/application/use-cases/run-document-new.d.ts +4 -4
- package/dist/document-authoring/application/use-cases/run-document-new.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/run-document-new.js.map +1 -1
- package/dist/document-authoring/application/use-cases/run-document-recover.d.ts +3 -3
- package/dist/document-authoring/application/use-cases/run-document-recover.d.ts.map +1 -1
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.d.ts +8 -0
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.d.ts.map +1 -0
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.js +183 -0
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.js.map +1 -0
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.d.ts +7 -0
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.d.ts.map +1 -0
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.js +10 -0
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.js.map +1 -0
- package/dist/document-authoring/composition/inspect-document-transaction.d.ts +3 -1
- package/dist/document-authoring/composition/inspect-document-transaction.d.ts.map +1 -1
- package/dist/document-authoring/composition/inspect-document-transaction.js +39 -1
- package/dist/document-authoring/composition/inspect-document-transaction.js.map +1 -1
- package/dist/document-authoring/composition/node-document-authority-recompiler.d.ts +1 -1
- package/dist/document-authoring/composition/node-document-authority-recompiler.d.ts.map +1 -1
- package/dist/document-authoring/composition/node-document-authority-recompiler.js +22 -3
- package/dist/document-authoring/composition/node-document-authority-recompiler.js.map +1 -1
- package/dist/document-authoring/composition/node-document-commands.js +2 -2
- package/dist/document-authoring/composition/node-document-planning.d.ts +2 -2
- package/dist/document-authoring/composition/node-document-planning.d.ts.map +1 -1
- package/dist/document-authoring/composition/node-document-planning.js +28 -7
- package/dist/document-authoring/composition/node-document-planning.js.map +1 -1
- package/dist/document-authoring/composition/node-document-writing-private.d.ts +1 -1
- package/dist/document-authoring/composition/node-document-writing-private.d.ts.map +1 -1
- package/dist/document-authoring/composition/node-document-writing-private.js +5 -3
- package/dist/document-authoring/composition/node-document-writing-private.js.map +1 -1
- package/dist/document-authoring/composition/node-document-writing.d.ts +1 -1
- package/dist/document-authoring/composition/node-document-writing.d.ts.map +1 -1
- package/dist/document-authoring/index.d.ts +29 -8
- package/dist/document-authoring/index.d.ts.map +1 -1
- package/dist/document-authoring/index.js +50 -3
- package/dist/document-authoring/index.js.map +1 -1
- package/dist/document-authoring/qualification/index.d.ts +22 -0
- package/dist/document-authoring/qualification/index.d.ts.map +1 -0
- package/dist/document-authoring/qualification/index.js +131 -0
- package/dist/document-authoring/qualification/index.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/local-mode/inspection.d.ts.map +1 -1
- package/dist/local-mode/inspection.js +2 -1
- package/dist/local-mode/inspection.js.map +1 -1
- package/dist/mutation/index.d.ts +3 -0
- package/dist/mutation/index.d.ts.map +1 -0
- package/dist/mutation/index.js +2 -0
- package/dist/mutation/index.js.map +1 -0
- package/dist/package-self-check.d.ts +1 -1
- package/dist/package-self-check.d.ts.map +1 -1
- package/dist/package-self-check.js +12 -0
- package/dist/package-self-check.js.map +1 -1
- package/dist/public-api-surface.d.ts +1 -0
- package/dist/public-api-surface.d.ts.map +1 -1
- package/dist/public-api-surface.js +1 -0
- package/dist/public-api-surface.js.map +1 -1
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.d.ts.map +1 -1
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.js +21 -0
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.js.map +1 -1
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.d.ts +15 -0
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.d.ts.map +1 -0
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.js +23 -0
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.js.map +1 -0
- package/dist/repository-mutation/adapters/node/node-directory-materialization.d.ts +37 -0
- package/dist/repository-mutation/adapters/node/node-directory-materialization.d.ts.map +1 -0
- package/dist/repository-mutation/adapters/node/node-directory-materialization.js +224 -0
- package/dist/repository-mutation/adapters/node/node-directory-materialization.js.map +1 -0
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.d.ts +1 -0
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.d.ts.map +1 -1
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.js +1 -0
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.js.map +1 -1
- package/dist/repository-mutation/application/model/directory-materialization.d.ts +35 -0
- package/dist/repository-mutation/application/model/directory-materialization.d.ts.map +1 -0
- package/dist/repository-mutation/application/model/directory-materialization.js +11 -0
- package/dist/repository-mutation/application/model/directory-materialization.js.map +1 -0
- package/dist/schema-catalog.d.ts.map +1 -1
- package/dist/schema-catalog.js +9 -0
- package/dist/schema-catalog.js.map +1 -1
- package/dist/schema-ids.d.ts +1 -1
- package/dist/schema-ids.d.ts.map +1 -1
- package/dist/schema-ids.js +5 -0
- package/dist/schema-ids.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.d.ts +2 -2
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.js +33 -19
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/document-temporary-identity.d.ts +1 -1
- package/dist/transaction-coordination/adapters/node/document-temporary-identity.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/document-temporary-identity.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-transaction-slot.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-transaction-slot.js +11 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-transaction-slot.js.map +1 -1
- package/dist/transaction-coordination/application/foundation-transaction-coordinator.d.ts.map +1 -1
- package/dist/transaction-coordination/application/foundation-transaction-coordinator.js +1 -1
- package/dist/transaction-coordination/application/foundation-transaction-coordinator.js.map +1 -1
- package/dist/transaction-coordination/application/model/internal-transaction-status.d.ts +2 -2
- package/dist/transaction-coordination/application/model/internal-transaction-status.d.ts.map +1 -1
- package/package.json +14 -1
- package/schemas/document-authoring-profile/v2.schema.json +168 -0
- package/schemas/document-parent-materialization/v2.schema.json +65 -0
- package/schemas/document-plan/v2.schema.json +85 -0
- package/schemas/document-receipt/v2.schema.json +108 -0
- package/schemas/foundation-transaction-envelope/v4.schema.json +164 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-document-authority-recompiler.js","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-authority-recompiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA2B,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAM3D,OAAO,
|
|
1
|
+
{"version":3,"file":"node-document-authority-recompiler.js","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-authority-recompiler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA2B,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAM3D,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EACnB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAC;AACrG,OAAO,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAE5E,SAAS,SAAS,CAAC,IAAkB,EAAE,KAAmB;IACxD,OAAO,aAAa,CAAC,IAAqC,CAAC;QACzD,aAAa,CAAC,KAAsC,CAAC,CAAC;AAC1D,CAAC;AAED,SAAS,MAAM,CAAC,KAAc;IAC5B,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,wDAAwD,CAAC;AAC3G,CAAC;AAED,8FAA8F;AAC9F,MAAM,OAAO,+BAA+B;IAE1C,KAAK,CAAC,MAAM,CAAC,OAIZ;QACC,IAAI,aAA2B,CAAC;QAChC,IAAI,CAAC;YACH,kBAAkB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YACnC,aAAa,GAAG,MAAM,IAAI,6BAA6B,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACrF,yBAAyB,CAAC,aAAa,CAAC,CAAC;QAC3C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,kBAAkB,CAAC,OAAO,CAAC,MAAM,CAAC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CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE;gBACxC,CAAC,CAAC;oBACE,KAAK,EAAE,OAAO;oBACd,MAAM,EAAE,wEAAwE;iBACjF,CAAC;QACR,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,kBAAkB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YACnC,IAAI,KAAK,YAAY,qBAAqB;gBACxC,KAAK,CAAC,IAAI,KAAK,yCAAyC,EAAE,CAAC;gBAC3D,OAAO;oBACL,KAAK,EAAE,OAAO;oBACd,MAAM,EAAE,2EAA2E,KAAK,CAAC,OAAO,EAAE;iBACnG,CAAC;YACJ,CAAC;YACD,OAAO;gBACL,KAAK,EAAE,cAAc;gBACrB,MAAM,EAAE,wDAAwD,MAAM,CAAC,KAAK,CAAC,EAAE;aAChF,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
|
@@ -13,12 +13,12 @@ import { RunDocumentDoctor } from "../application/use-cases/run-document-doctor.
|
|
|
13
13
|
import { FindDocuments } from "../application/use-cases/find-documents.js";
|
|
14
14
|
import { RunDocumentNew } from "../application/use-cases/run-document-new.js";
|
|
15
15
|
import { RunDocumentRecover } from "../application/use-cases/run-document-recover.js";
|
|
16
|
-
import {
|
|
16
|
+
import { inspectDocumentTransactionV2 } from "./inspect-document-transaction.js";
|
|
17
17
|
import { planNodeDocumentationDocument } from "./node-document-planning.js";
|
|
18
18
|
import { applyNodeDocumentationPlan, recoverNodeDocumentationTransaction, } from "./node-document-writing.js";
|
|
19
19
|
/** Closed Node composition for the document mutation command family. */
|
|
20
20
|
export function createNodeDocumentCommands() {
|
|
21
|
-
const inspect =
|
|
21
|
+
const inspect = inspectDocumentTransactionV2;
|
|
22
22
|
const planningProfiles = new NodeDocumentPlanningProfileReader();
|
|
23
23
|
const catalog = new BuildDocumentationCatalog({
|
|
24
24
|
metadata: new NodeMetadataInstanceValidator(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type PlanDocumentationDocumentRequestContract } from "../application/use-cases/plan-documentation-document.js";
|
|
2
2
|
/**
|
|
3
3
|
* Closed Node composition shared by public planning and Foundation-owned replay.
|
|
4
4
|
* This module is intentionally absent from the package export map.
|
|
5
5
|
*/
|
|
6
|
-
export declare function planNodeDocumentationDocument(request:
|
|
6
|
+
export declare function planNodeDocumentationDocument(request: PlanDocumentationDocumentRequestContract): Promise<import("../index.js").DocumentPlanContract>;
|
|
7
7
|
//# sourceMappingURL=node-document-planning.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-document-planning.d.ts","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-planning.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"node-document-planning.d.ts","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-planning.ts"],"names":[],"mappings":"AA6BA,OAAO,EAEL,KAAK,wCAAwC,EAC9C,MAAM,yDAAyD,CAAC;AAajE;;;GAGG;AACH,wBAAsB,6BAA6B,CACjD,OAAO,EAAE,wCAAwC,uDAoElD"}
|
|
@@ -2,20 +2,22 @@ import { FilesystemMarkdownRepository } from "../../documentation-observation/ad
|
|
|
2
2
|
import { installedFoundationVersion } from "../../package-version.js";
|
|
3
3
|
import { installedFoundationBuildIdentity } from "../../transaction-coordination/adapters/node/installed-foundation-build-identity.js";
|
|
4
4
|
import { CanonicalMarkdownError, YamlCanonicalDocumentRenderer } from "../adapters/canonical-markdown.js";
|
|
5
|
-
import {
|
|
5
|
+
import { NodeAuthoringProfileReaderV2 } from "../adapters/node/node-authoring-profile-reader-v2.js";
|
|
6
6
|
import { NodeDocumentContractValidator } from "../adapters/node/node-document-contract-validator.js";
|
|
7
7
|
import { NodeDocumentPlanningProfileReader } from "../adapters/node/node-document-planning-profile-reader.js";
|
|
8
8
|
import { NodeDocumentPlanningStateReader } from "../adapters/node/node-document-planning-state-reader.js";
|
|
9
9
|
import { NodeDocumentTemplateReader } from "../adapters/node/node-document-template-reader.js";
|
|
10
10
|
import { NodeMetadataInstanceValidator } from "../adapters/node/node-metadata-instance-validator.js";
|
|
11
|
+
import { NodeDocumentMetadataSidecarReader } from "../adapters/node/node-document-metadata-sidecar-reader.js";
|
|
11
12
|
import { NodeOwnerMembershipReader } from "../adapters/node/node-owner-membership-reader.js";
|
|
12
13
|
import { DocumentPlanningPolicyError } from "../application/policies/document-planning-policy-error.js";
|
|
13
14
|
import { classifyDocumentLogicalPreimage, isDestinationCoveredByCatalog } from "../application/policies/document-logical-preimage.js";
|
|
14
15
|
import { normalizeDocumentIntent } from "../application/policies/normalize-document-intent.js";
|
|
15
16
|
import { resolveDocumentAuthoring, selectDocumentArtifact } from "../application/policies/resolve-document-authoring.js";
|
|
16
|
-
import { BuildDocumentationCatalog } from "../application/use-cases/build-documentation-catalog.js";
|
|
17
|
+
import { BuildDocumentationCatalog, BuildDocumentationCatalogV2 } from "../application/use-cases/build-documentation-catalog.js";
|
|
17
18
|
import { PlanDocumentationDocument } from "../application/use-cases/plan-documentation-document.js";
|
|
18
19
|
import { DocumentPlanningError } from "../document-planning-error.js";
|
|
20
|
+
import { describeDocumentAuthoringProfileV2 } from "./describe-document-authoring-profile-v2.js";
|
|
19
21
|
function planningPolicyFailure(error) {
|
|
20
22
|
const code = error.problem === "catalog-incomplete"
|
|
21
23
|
? "DOCUMENT_PLANNING_CATALOG_PARTIAL"
|
|
@@ -29,12 +31,28 @@ function planningPolicyFailure(error) {
|
|
|
29
31
|
* This module is intentionally absent from the package export map.
|
|
30
32
|
*/
|
|
31
33
|
export async function planNodeDocumentationDocument(request) {
|
|
32
|
-
const
|
|
34
|
+
const catalogDependencies = {
|
|
33
35
|
metadata: new NodeMetadataInstanceValidator(),
|
|
34
36
|
owners: new NodeOwnerMembershipReader(),
|
|
35
|
-
profile: new
|
|
36
|
-
repository: new FilesystemMarkdownRepository()
|
|
37
|
-
|
|
37
|
+
profile: new NodeAuthoringProfileReaderV2(),
|
|
38
|
+
repository: new FilesystemMarkdownRepository(),
|
|
39
|
+
sidecar: new NodeDocumentMetadataSidecarReader()
|
|
40
|
+
};
|
|
41
|
+
const profileReader = new NodeDocumentPlanningProfileReader();
|
|
42
|
+
const catalogV1 = new BuildDocumentationCatalog(catalogDependencies);
|
|
43
|
+
const catalogV2 = new BuildDocumentationCatalogV2(catalogDependencies);
|
|
44
|
+
const catalog = {
|
|
45
|
+
async execute(input) {
|
|
46
|
+
const profile = await profileReader.read({
|
|
47
|
+
consumerRoot: input.consumerRoot,
|
|
48
|
+
path: input.profilePath,
|
|
49
|
+
...(input.signal === undefined ? {} : { signal: input.signal })
|
|
50
|
+
});
|
|
51
|
+
return profile.schemaVersion === 2
|
|
52
|
+
? catalogV2.execute(input)
|
|
53
|
+
: catalogV1.execute(input);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
38
56
|
const [version, buildIdentity] = await Promise.all([
|
|
39
57
|
installedFoundationVersion(),
|
|
40
58
|
installedFoundationBuildIdentity()
|
|
@@ -56,7 +74,10 @@ export async function planNodeDocumentationDocument(request) {
|
|
|
56
74
|
resolveDocumentAuthoring,
|
|
57
75
|
selectDocumentArtifact
|
|
58
76
|
},
|
|
59
|
-
profile:
|
|
77
|
+
profile: profileReader,
|
|
78
|
+
profileDescription: {
|
|
79
|
+
describe: describeDocumentAuthoringProfileV2
|
|
80
|
+
},
|
|
60
81
|
renderer: new YamlCanonicalDocumentRenderer(),
|
|
61
82
|
state: new NodeDocumentPlanningStateReader(),
|
|
62
83
|
templates: new NodeDocumentTemplateReader()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-document-planning.js","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-planning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gGAAgG,CAAC;AAC9I,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,gCAAgC,EAAE,MAAM,qFAAqF,CAAC;AACvI,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC9B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"node-document-planning.js","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-planning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gGAAgG,CAAC;AAC9I,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,gCAAgC,EAAE,MAAM,qFAAqF,CAAC;AACvI,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC9B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AACpG,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAC;AACrG,OAAO,EAAE,iCAAiC,EAAE,MAAM,2DAA2D,CAAC;AAC9G,OAAO,EAAE,+BAA+B,EAAE,MAAM,yDAAyD,CAAC;AAC1G,OAAO,EAAE,0BAA0B,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAC;AACrG,OAAO,EAAE,iCAAiC,EAAE,MAAM,2DAA2D,CAAC;AAC9G,OAAO,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAC7F,OAAO,EAAE,2BAA2B,EAAE,MAAM,2DAA2D,CAAC;AACxG,OAAO,EACL,+BAA+B,EAC/B,6BAA6B,EAC9B,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AAC/F,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACvB,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,yBAAyB,EAE1B,MAAM,yDAAyD,CAAC;AACjE,OAAO,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,MAAM,IAAI,qBAAqB,CAC7B,yCAAyC,EACzC,2CAA2C,KAAK,CAAC,OAAO,EAAE,EAC1D,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;QACJ,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type NodeDocumentPublisherOperations } from "../adapters/node/node-document-publisher.js";
|
|
2
|
-
import type { DocumentReceipt } from "../application/model/document-receipt.js";
|
|
2
|
+
import type { DocumentReceiptContract as DocumentReceipt } from "../application/model/document-receipt.js";
|
|
3
3
|
import { type ApplyDocumentPlanRequest } from "../application/use-cases/apply-document-plan.js";
|
|
4
4
|
import type { DocumentTransactionFaultPoint } from "../application/use-cases/document-transaction-continuation.js";
|
|
5
5
|
import { type RecoverDocumentTransactionRequest } from "../application/use-cases/recover-document-transaction.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-document-writing-private.d.ts","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-writing-private.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"node-document-writing-private.d.ts","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-writing-private.ts"],"names":[],"mappings":"AASA,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,6CAA6C,CAAC;AAKrD,OAAO,KAAK,EAAE,uBAAuB,IAAI,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3G,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EAEV,6BAA6B,EAC9B,MAAM,+DAA+D,CAAC;AACvE,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,0DAA0D,CAAC;AAGlE,KAAK,6BAA6B,GAC9B,6BAA6B,GAC7B,UAAU,CAAC,WAAW,CAAC,+BAA+B,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEjF,KAAK,gCAAgC,GAAG,CACtC,KAAK,EAAE,6BAA6B,KACjC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAE1B,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,aAAa,CAAC,EAAE,gCAAgC,CAAC;IAC1D,QAAQ,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,+BAA+B,EAAE,eAAe,CAAC,CAAC;CAC7E;AA+BD,wBAAsB,mCAAmC,CACvD,OAAO,EAAE,wBAAwB,EACjC,UAAU,GAAE,oCAAyC,GACpD,OAAO,CAAC,eAAe,CAAC,CAa1B;AAED,wBAAsB,4CAA4C,CAChE,OAAO,EAAE,iCAAiC,EAC1C,UAAU,GAAE,oCAAyC,GACpD,OAAO,CAAC,eAAe,CAAC,CAU1B"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { join, resolve } from "node:path";
|
|
1
|
+
import { join } from "node:path";
|
|
3
2
|
import { FOUNDATION_TRANSACTION_FILE, LOCAL_STATE_DIRECTORY } from "../../foundation-state-contract.js";
|
|
4
3
|
import { NodeDocumentContractValidator } from "../adapters/node/node-document-contract-validator.js";
|
|
5
4
|
import { NodeDocumentFileState } from "../adapters/node/node-document-file-state.js";
|
|
6
5
|
import { NodeDocumentJournalStore } from "../adapters/node/node-document-journal-store.js";
|
|
7
6
|
import { NodeDocumentPublisher } from "../adapters/node/node-document-publisher.js";
|
|
7
|
+
import { NodeDocumentParentMaterializerV2 } from "../adapters/node/node-document-parent-materializer.js";
|
|
8
|
+
import { captureNodeRepositoryRootAuthority } from "../adapters/node/node-path-authority.js";
|
|
8
9
|
import { createNodeDocumentTransactionCoordinator } from "../adapters/node/node-document-transaction-coordinator.js";
|
|
9
10
|
import { applyDocumentPlan } from "../application/use-cases/apply-document-plan.js";
|
|
10
11
|
import { recoverDocumentTransaction } from "../application/use-cases/recover-document-transaction.js";
|
|
@@ -13,7 +14,7 @@ function journalPath(consumerRoot) {
|
|
|
13
14
|
return join(consumerRoot, LOCAL_STATE_DIRECTORY, FOUNDATION_TRANSACTION_FILE);
|
|
14
15
|
}
|
|
15
16
|
async function canonicalConsumerRoot(consumerRoot) {
|
|
16
|
-
return
|
|
17
|
+
return (await captureNodeRepositoryRootAuthority(consumerRoot)).canonicalRoot;
|
|
17
18
|
}
|
|
18
19
|
function runtime(consumerRoot, operations) {
|
|
19
20
|
const faultInjector = operations.faultInjector;
|
|
@@ -22,6 +23,7 @@ function runtime(consumerRoot, operations) {
|
|
|
22
23
|
fileState: new NodeDocumentFileState(),
|
|
23
24
|
...(faultInjector === undefined ? {} : { faultInjector }),
|
|
24
25
|
journal: new NodeDocumentJournalStore(journalPath(consumerRoot)),
|
|
26
|
+
parentMaterializer: new NodeDocumentParentMaterializerV2(),
|
|
25
27
|
publisher: new NodeDocumentPublisher({
|
|
26
28
|
...operations.publisher,
|
|
27
29
|
...(operations.faultInjector === undefined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-document-writing-private.js","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-writing-private.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"node-document-writing-private.js","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-writing-private.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAC;AACrG,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EACL,qBAAqB,EAEtB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,gCAAgC,EAAE,MAAM,uDAAuD,CAAC;AACzG,OAAO,EAAE,kCAAkC,EAAE,MAA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CAAC;IAC9D,MAAM,IAAI,GAAiB,MAAM,iBAAiB,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9E,MAAM,YAAY,GAAG,MAAM,qBAAqB,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACvE,MAAM,WAAW,GAAG,MAAM,wCAAwC,CAAC,YAAY,CAAC,CAAC;IACjF,OAAO,iBAAiB,CACtB,EAAE,GAAG,OAAO,CAAC,YAAY,EAAE,UAAU,CAAC,EAAE,iBAAiB,EAAE,WAAW,EAAE,EACxE;QACE,YAAY;QACZ,IAAI;QACJ,GAAG,CAAC,OAAO,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC;KACpE,CACF,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,4CAA4C,CAChE,OAA0C,EAC1C,UAAU,GAAyC,EAAE;IAErD,MAAM,YAAY,GAAG,MAAM,qBAAqB,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACvE,MAAM,WAAW,GAAG,MAAM,wCAAwC,CAAC,YAAY,CAAC,CAAC;IACjF,OAAO,0BAA0B,CAC/B,EAAE,GAAG,OAAO,CAAC,YAAY,EAAE,UAAU,CAAC,EAAE,WAAW,EAAE,EACrD;QACE,YAAY;QACZ,GAAG,CAAC,OAAO,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC;KACpE,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DocumentReceipt } from "../application/model/document-receipt.js";
|
|
1
|
+
import type { DocumentReceiptContract as DocumentReceipt } from "../application/model/document-receipt.js";
|
|
2
2
|
import type { ApplyDocumentPlanRequest } from "../application/use-cases/apply-document-plan.js";
|
|
3
3
|
import type { RecoverDocumentTransactionRequest } from "../application/use-cases/recover-document-transaction.js";
|
|
4
4
|
/** Closed Node composition for durable, create-only document publication. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-document-writing.d.ts","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-writing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"node-document-writing.d.ts","sourceRoot":"","sources":["../../../src/document-authoring/composition/node-document-writing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,IAAI,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3G,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAChG,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,0DAA0D,CAAC;AAMlH,6EAA6E;AAC7E,wBAAsB,0BAA0B,CAC9C,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,eAAe,CAAC,CAE1B;AAED,+EAA+E;AAC/E,wBAAsB,mCAAmC,CACvD,OAAO,EAAE,iCAAiC,GACzC,OAAO,CAAC,eAAe,CAAC,CAE1B"}
|
|
@@ -1,34 +1,55 @@
|
|
|
1
1
|
import { type BuildDocumentationCatalogRequest } from "./application/use-cases/build-documentation-catalog.js";
|
|
2
2
|
import { type FindDocumentsRequest } from "./application/use-cases/find-documents.js";
|
|
3
|
-
import type { PlanDocumentationDocumentRequest } from "./application/use-cases/plan-documentation-document.js";
|
|
3
|
+
import type { PlanDocumentationDocumentRequest, PlanDocumentationDocumentRequestV2 } from "./application/use-cases/plan-documentation-document.js";
|
|
4
4
|
import type { ApplyDocumentPlanRequest } from "./application/use-cases/apply-document-plan.js";
|
|
5
5
|
import type { RecoverDocumentTransactionRequest } from "./application/use-cases/recover-document-transaction.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export type {
|
|
9
|
-
export type {
|
|
10
|
-
export type {
|
|
6
|
+
import { describeDocumentAuthoringProfileV2 } from "./composition/describe-document-authoring-profile-v2.js";
|
|
7
|
+
import { inspectDocumentAuthoringEnvironmentV1 } from "./composition/inspect-document-authoring-environment-v1.js";
|
|
8
|
+
export type { DocumentAuthorityDigest, DocumentAuthorityEvidence, DocumentDescriptor, DocumentDescriptorV2, DocumentIdentityProjectionEntry, DocumentationCatalogAuthority, DocumentationCatalogAuthorityV2, DocumentationCatalogDiagnostic, DocumentationCatalogSnapshot, DocumentationCatalogSnapshotV2, DocumentMetadataObject, DocumentMetadataPrimitive, DocumentMetadataValue, ReferencedDocumentProjection, ReferencedDocumentProjectionResult } from "./application/model/document-catalog.js";
|
|
9
|
+
export type { DocumentFindFilters, DocumentFindQuery, DocumentFindResult, DocumentFindResultV2 } from "./application/model/document-find.js";
|
|
10
|
+
export type { DocumentAuthoringProfileDescriptionV2, DocumentAuthoringTypeDescriptionV2, DocumentReachabilityStrategyV2 } from "./application/model/document-authoring-profile-description.js";
|
|
11
|
+
export type { DocumentCompilerIdentity, DocumentIntent, DocumentJsonObject, DocumentJsonPrimitive, DocumentJsonValue, DocumentCatalogCollection, DocumentIdentityStrategy, DocumentPlacementStrategy, DocumentPlan, DocumentPlanCommon, DocumentPlanContract, DocumentPlanV1, DocumentPlanV2, DocumentPlanDiagnostic, DocumentReachabilityStrategy } from "./application/model/document-planning.js";
|
|
12
|
+
export type { DocumentPhysicalIdentity } from "./application/model/document-physical-identity.js";
|
|
13
|
+
export type { DocumentCreatedDirectoryEvidenceV2, DocumentParentMaterializationInspectionV2, DocumentParentMaterializationJournalV2, DocumentParentMaterializationPlanV2 } from "./application/model/document-parent-materialization.js";
|
|
14
|
+
export type { DocumentCommitObservation, DocumentReceipt, DocumentReceiptBase, DocumentReceiptDiagnostic, DocumentReceiptOutcome, DocumentReceiptV1, DocumentReceiptV2, DocumentReceiptContract } from "./application/model/document-receipt.js";
|
|
15
|
+
export type { DocumentTransactionInspectionDiagnostic, DocumentTransactionInspection, DocumentTransactionInspectionV1, DocumentTransactionInspectionV2 } from "./application/model/document-transaction-inspection.js";
|
|
11
16
|
export type { ApplyDocumentPlanRequest } from "./application/use-cases/apply-document-plan.js";
|
|
12
17
|
export type { RecoverDocumentTransactionRequest } from "./application/use-cases/recover-document-transaction.js";
|
|
13
18
|
export type { DocumentTransactionRequest } from "./application/use-cases/document-transaction-continuation.js";
|
|
14
19
|
export type { BuildDocumentationCatalogRequest } from "./application/use-cases/build-documentation-catalog.js";
|
|
15
20
|
export type { FindDocumentsRequest } from "./application/use-cases/find-documents.js";
|
|
16
|
-
export type {
|
|
21
|
+
export type { DescribeDocumentAuthoringProfileV2Request } from "./composition/describe-document-authoring-profile-v2.js";
|
|
22
|
+
export type { InspectDocumentAuthoringEnvironmentV1Request } from "./composition/inspect-document-authoring-environment-v1.js";
|
|
23
|
+
export type { DocumentEnvironmentInspection } from "./application/ports/document-environment-inspector.js";
|
|
24
|
+
export type { PlanDocumentationDocumentRequest, PlanDocumentationDocumentRequestContract, PlanDocumentationDocumentRequestV2 } from "./application/use-cases/plan-documentation-document.js";
|
|
17
25
|
export { projectReferencedDocuments } from "./application/projections/document-catalog-projections.js";
|
|
18
26
|
export { DocumentCatalogError } from "./document-catalog-error.js";
|
|
19
27
|
export type { DocumentCatalogErrorCode } from "./document-catalog-error.js";
|
|
20
28
|
export { DocumentPlanningError } from "./document-planning-error.js";
|
|
21
29
|
export type { DocumentPlanningErrorCode } from "./document-planning-error.js";
|
|
22
|
-
export { inspectDocumentTransactionV1 } from "./composition/inspect-document-transaction.js";
|
|
30
|
+
export { inspectDocumentTransactionV1, inspectDocumentTransactionV2 } from "./composition/inspect-document-transaction.js";
|
|
31
|
+
export { describeDocumentAuthoringProfileV2 };
|
|
32
|
+
export { inspectDocumentAuthoringEnvironmentV1 };
|
|
33
|
+
export { planDocumentParentMaterializationV2 } from "./adapters/node/node-document-parent-materializer.js";
|
|
23
34
|
export declare function buildDocumentationCatalog(request: BuildDocumentationCatalogRequest): Promise<import("./application/model/document-catalog.js").DocumentationCatalogSnapshot>;
|
|
35
|
+
export declare function buildDocumentationCatalogV2(request: BuildDocumentationCatalogRequest): Promise<import("./application/model/document-catalog.js").DocumentationCatalogSnapshotV2>;
|
|
24
36
|
export declare function findDocumentationDocuments(request: FindDocumentsRequest): Promise<import("./application/model/document-find.js").DocumentFindResult>;
|
|
37
|
+
export declare function findDocumentationDocumentsV2(request: FindDocumentsRequest): Promise<import("./application/model/document-find.js").DocumentFindResultV2>;
|
|
25
38
|
/**
|
|
26
39
|
* Compiles a deterministic Document Plan without reserving an identity or
|
|
27
40
|
* mutating the consumer repository.
|
|
28
41
|
*/
|
|
29
42
|
export declare function planDocumentationDocument(request: PlanDocumentationDocumentRequest): Promise<import("./application/model/document-planning.js").DocumentPlan>;
|
|
43
|
+
/** Compiles the directory-materializing Document Plan v2 contract. */
|
|
44
|
+
export declare function planDocumentationDocumentV2(request: PlanDocumentationDocumentRequestV2): Promise<import("./application/model/document-planning.js").DocumentPlanV2>;
|
|
30
45
|
/** Applies one exact Document Plan through the durable create-only writer. */
|
|
31
46
|
export declare function applyDocumentationPlan(request: ApplyDocumentPlanRequest): Promise<import("./application/model/document-receipt.js").DocumentReceipt>;
|
|
47
|
+
/** Applies one exact Document Plan v2 through envelope v4. */
|
|
48
|
+
export declare function applyDocumentationPlanV2(request: Omit<ApplyDocumentPlanRequest, "plan"> & {
|
|
49
|
+
readonly plan: import("./application/model/document-planning.js").DocumentPlanV2;
|
|
50
|
+
}): Promise<import("./application/model/document-receipt.js").DocumentReceiptV2>;
|
|
32
51
|
/** Recovers one coordinator-qualified document transaction. */
|
|
33
52
|
export declare function recoverDocumentationTransaction(request: RecoverDocumentTransactionRequest): Promise<import("./application/model/document-receipt.js").DocumentReceipt>;
|
|
53
|
+
/** Recovers either exact supported document transaction generation. */
|
|
54
|
+
export declare function recoverDocumentationTransactionV2(request: RecoverDocumentTransactionRequest): Promise<import("./application/model/document-receipt.js").DocumentReceiptContract>;
|
|
34
55
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/document-authoring/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/document-authoring/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAGL,KAAK,gCAAgC,EACtC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EACV,gCAAgC,EAChC,kCAAkC,EACnC,MAAM,wDAAwD,CAAC;AAEhE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yDAAyD,CAAC;AAKjH,OAAO,EACL,kCAAkC,EACnC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EAAE,qCAAqC,EAAE,MAAM,4DAA4D,CAAC;AAEnH,YAAY,EACV,uBAAuB,EACvB,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,EACpB,+BAA+B,EAC/B,6BAA6B,EAC7B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,yCAAyC,CAAC;AACjD,YAAY,EACV,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EACjB,oBAAoB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EACV,qCAAqC,EACrC,kCAAkC,EAClC,8BAA8B,EAC/B,MAAM,+DAA+D,CAAC;AACvE,YAAY,EACV,wBAAwB,EACxB,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,YAAY,EACZ,kBAAkB,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AE,iCAAiC,GACzC,OAAO,CAAC,OAAO,yCAAyC,EAAE,uBAAuB,CAAC,CAEpF"}
|
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
import { FilesystemMarkdownRepository } from "../documentation-observation/adapters/outbound/filesystem/filesystem-markdown-repository.js";
|
|
2
2
|
import { NodeAuthoringProfileReader } from "./adapters/node/node-authoring-profile-reader.js";
|
|
3
|
+
import { NodeAuthoringProfileReaderV2 } from "./adapters/node/node-authoring-profile-reader-v2.js";
|
|
4
|
+
import { NodeDocumentMetadataSidecarReader } from "./adapters/node/node-document-metadata-sidecar-reader.js";
|
|
3
5
|
import { NodeMetadataInstanceValidator } from "./adapters/node/node-metadata-instance-validator.js";
|
|
4
6
|
import { NodeOwnerMembershipReader } from "./adapters/node/node-owner-membership-reader.js";
|
|
5
|
-
import { BuildDocumentationCatalog } from "./application/use-cases/build-documentation-catalog.js";
|
|
6
|
-
import { FindDocuments } from "./application/use-cases/find-documents.js";
|
|
7
|
+
import { BuildDocumentationCatalog, BuildDocumentationCatalogV2 } from "./application/use-cases/build-documentation-catalog.js";
|
|
8
|
+
import { FindDocuments, FindDocumentsV2 } from "./application/use-cases/find-documents.js";
|
|
7
9
|
import { planNodeDocumentationDocument } from "./composition/node-document-planning.js";
|
|
8
10
|
import { applyNodeDocumentationPlan, recoverNodeDocumentationTransaction } from "./composition/node-document-writing.js";
|
|
11
|
+
import { describeDocumentAuthoringProfileV2 } from "./composition/describe-document-authoring-profile-v2.js";
|
|
12
|
+
import { inspectDocumentAuthoringEnvironmentV1 } from "./composition/inspect-document-authoring-environment-v1.js";
|
|
9
13
|
export { projectReferencedDocuments } from "./application/projections/document-catalog-projections.js";
|
|
10
14
|
export { DocumentCatalogError } from "./document-catalog-error.js";
|
|
11
15
|
export { DocumentPlanningError } from "./document-planning-error.js";
|
|
12
|
-
export { inspectDocumentTransactionV1 } from "./composition/inspect-document-transaction.js";
|
|
16
|
+
export { inspectDocumentTransactionV1, inspectDocumentTransactionV2 } from "./composition/inspect-document-transaction.js";
|
|
17
|
+
export { describeDocumentAuthoringProfileV2 };
|
|
18
|
+
export { inspectDocumentAuthoringEnvironmentV1 };
|
|
19
|
+
export { planDocumentParentMaterializationV2 } from "./adapters/node/node-document-parent-materializer.js";
|
|
13
20
|
export async function buildDocumentationCatalog(request) {
|
|
14
21
|
const builder = new BuildDocumentationCatalog({
|
|
15
22
|
metadata: new NodeMetadataInstanceValidator(),
|
|
@@ -19,6 +26,16 @@ export async function buildDocumentationCatalog(request) {
|
|
|
19
26
|
});
|
|
20
27
|
return builder.execute(request);
|
|
21
28
|
}
|
|
29
|
+
export async function buildDocumentationCatalogV2(request) {
|
|
30
|
+
const builder = new BuildDocumentationCatalogV2({
|
|
31
|
+
metadata: new NodeMetadataInstanceValidator(),
|
|
32
|
+
owners: new NodeOwnerMembershipReader(),
|
|
33
|
+
profile: new NodeAuthoringProfileReaderV2(),
|
|
34
|
+
repository: new FilesystemMarkdownRepository(),
|
|
35
|
+
sidecar: new NodeDocumentMetadataSidecarReader()
|
|
36
|
+
});
|
|
37
|
+
return builder.execute(request);
|
|
38
|
+
}
|
|
22
39
|
export async function findDocumentationDocuments(request) {
|
|
23
40
|
const catalog = new BuildDocumentationCatalog({
|
|
24
41
|
metadata: new NodeMetadataInstanceValidator(),
|
|
@@ -28,6 +45,16 @@ export async function findDocumentationDocuments(request) {
|
|
|
28
45
|
});
|
|
29
46
|
return new FindDocuments(catalog).execute(request);
|
|
30
47
|
}
|
|
48
|
+
export async function findDocumentationDocumentsV2(request) {
|
|
49
|
+
const catalog = new BuildDocumentationCatalogV2({
|
|
50
|
+
metadata: new NodeMetadataInstanceValidator(),
|
|
51
|
+
owners: new NodeOwnerMembershipReader(),
|
|
52
|
+
profile: new NodeAuthoringProfileReaderV2(),
|
|
53
|
+
repository: new FilesystemMarkdownRepository(),
|
|
54
|
+
sidecar: new NodeDocumentMetadataSidecarReader()
|
|
55
|
+
});
|
|
56
|
+
return new FindDocumentsV2(catalog).execute(request);
|
|
57
|
+
}
|
|
31
58
|
/**
|
|
32
59
|
* Compiles a deterministic Document Plan without reserving an identity or
|
|
33
60
|
* mutating the consumer repository.
|
|
@@ -35,12 +62,32 @@ export async function findDocumentationDocuments(request) {
|
|
|
35
62
|
export async function planDocumentationDocument(request) {
|
|
36
63
|
return planNodeDocumentationDocument(request);
|
|
37
64
|
}
|
|
65
|
+
/** Compiles the directory-materializing Document Plan v2 contract. */
|
|
66
|
+
export async function planDocumentationDocumentV2(request) {
|
|
67
|
+
const plan = await planNodeDocumentationDocument(request);
|
|
68
|
+
if (plan.schemaVersion !== 2) {
|
|
69
|
+
throw new TypeError("Document Plan v2 entrypoint received a legacy planning result.");
|
|
70
|
+
}
|
|
71
|
+
return plan;
|
|
72
|
+
}
|
|
38
73
|
/** Applies one exact Document Plan through the durable create-only writer. */
|
|
39
74
|
export async function applyDocumentationPlan(request) {
|
|
40
75
|
return applyNodeDocumentationPlan(request);
|
|
41
76
|
}
|
|
77
|
+
/** Applies one exact Document Plan v2 through envelope v4. */
|
|
78
|
+
export async function applyDocumentationPlanV2(request) {
|
|
79
|
+
const receipt = await applyNodeDocumentationPlan(request);
|
|
80
|
+
if (receipt.schemaVersion !== 2) {
|
|
81
|
+
throw new TypeError("Document Plan v2 produced a legacy Receipt.");
|
|
82
|
+
}
|
|
83
|
+
return receipt;
|
|
84
|
+
}
|
|
42
85
|
/** Recovers one coordinator-qualified document transaction. */
|
|
43
86
|
export async function recoverDocumentationTransaction(request) {
|
|
44
87
|
return recoverNodeDocumentationTransaction(request);
|
|
45
88
|
}
|
|
89
|
+
/** Recovers either exact supported document transaction generation. */
|
|
90
|
+
export async function recoverDocumentationTransactionV2(request) {
|
|
91
|
+
return recoverNodeDocumentationTransaction(request);
|
|
92
|
+
}
|
|
46
93
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/document-authoring/index.ts"],"names":[],"mappings":"AAA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+BAA+B,CACnD,OAA0C;IAE1C,OAAO,mCAAmC,CAAC,OAAO,CAEjD,CAAC;AACJ,CAAC;AAED,uEAAuE;AACvE,MAAM,CAAC,KAAK,UAAU,iCAAiC,CACrD,OAA0C;IAE1C,OAAO,mCAAmC,CAAC,OAAO,CAAC,CAAC;AACtD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { DocumentPlanV2 } from "../application/model/document-planning.js";
|
|
2
|
+
export type { DocumentCompilerIdentity, DocumentIntent, DocumentJsonObject, DocumentJsonPrimitive, DocumentJsonValue, DocumentPlan, DocumentPlanCommon, DocumentPlanDiagnostic, DocumentPlanV2 } from "../application/model/document-planning.js";
|
|
3
|
+
export type { DocumentAuthorityDigest, DocumentAuthorityEvidence } from "../application/model/document-catalog.js";
|
|
4
|
+
export type { DocumentParentMaterializationPlanV2 } from "../application/model/document-parent-materialization.js";
|
|
5
|
+
export type DocumentAuthoringQualificationCrashPoint = "after-publishing-journal-durable";
|
|
6
|
+
export interface RunDocumentAuthoringCrashQualificationRequest {
|
|
7
|
+
readonly consumerRoot: string;
|
|
8
|
+
readonly plan: DocumentPlanV2;
|
|
9
|
+
readonly crashPoint: DocumentAuthoringQualificationCrashPoint;
|
|
10
|
+
}
|
|
11
|
+
export interface DocumentAuthoringCrashQualificationResult {
|
|
12
|
+
readonly schemaVersion: 1;
|
|
13
|
+
readonly crashPoint: DocumentAuthoringQualificationCrashPoint;
|
|
14
|
+
readonly state: "apply-completed-before-crash-point";
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Runs a real document apply until the selected durable crash checkpoint.
|
|
18
|
+
* The process intentionally remains pending after signalling and must be killed
|
|
19
|
+
* by the qualification harness.
|
|
20
|
+
*/
|
|
21
|
+
export declare function runDocumentAuthoringCrashQualification(request: RunDocumentAuthoringCrashQualificationRequest): Promise<DocumentAuthoringCrashQualificationResult>;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/document-authoring/qualification/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAGhF,YAAY,EACV,wBAAwB,EACxB,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,EAClB,sBAAsB,EACtB,cAAc,EACf,MAAM,2CAA2C,CAAC;AACnD,YAAY,EACV,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,0CAA0C,CAAC;AAClD,YAAY,EAAE,mCAAmC,EAAE,MAAM,yDAAyD,CAAC;AAKnH,MAAM,MAAM,wCAAwC,GAClD,kCAAkC,CAAC;AAErC,MAAM,WAAW,6CAA6C;IAC5D,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAC9B,QAAQ,CAAC,UAAU,EAAE,wCAAwC,CAAC;CAC/D;AAED,MAAM,WAAW,yCAAyC;IACxD,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,wCAAwC,CAAC;IAC9D,QAAQ,CAAC,KAAK,EAAE,oCAAoC,CAAC;CACtD;AA4ID;;;;GAIG;AACH,wBAAsB,sCAAsC,CAC1D,OAAO,EAAE,6CAA6C,GACrD,OAAO,CAAC,yCAAyC,CAAC,CAmBpD"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { constants, lstat, open, realpath } from "node:fs/promises";
|
|
2
|
+
import { isAbsolute, join, resolve as resolvePath } from "node:path";
|
|
3
|
+
import { applyNodeDocumentationPlanPrivately } from "../composition/node-document-writing-private.js";
|
|
4
|
+
const FIXTURE_MARKER = ".agent-teams-document-authoring-qualification-fixture.json";
|
|
5
|
+
const MAX_FIXTURE_MARKER_BYTES = 4 * 1024;
|
|
6
|
+
function isClosedFixtureMarker(value, canonicalRoot) {
|
|
7
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
const candidate = value;
|
|
11
|
+
return Object.keys(candidate).toSorted().join("\0") ===
|
|
12
|
+
["consumerRoot", "kind", "schemaVersion"].toSorted().join("\0") &&
|
|
13
|
+
candidate["schemaVersion"] === 1 &&
|
|
14
|
+
candidate["kind"] ===
|
|
15
|
+
"agent-teams-document-authoring-qualification-fixture" &&
|
|
16
|
+
candidate["consumerRoot"] === canonicalRoot;
|
|
17
|
+
}
|
|
18
|
+
function sameIdentity(left, right) {
|
|
19
|
+
return left.dev === right.dev && left.ino === right.ino;
|
|
20
|
+
}
|
|
21
|
+
async function readAtMost(handle, maximumBytes) {
|
|
22
|
+
const bytes = Buffer.allocUnsafe(maximumBytes + 1);
|
|
23
|
+
let total = 0;
|
|
24
|
+
while (total <= maximumBytes) {
|
|
25
|
+
const { bytesRead } = await handle.read(bytes, total, bytes.byteLength - total, null);
|
|
26
|
+
if (bytesRead === 0) {
|
|
27
|
+
return bytes.subarray(0, total);
|
|
28
|
+
}
|
|
29
|
+
total += bytesRead;
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
async function readFixtureMarker(path) {
|
|
34
|
+
const noFollow = process.platform === "win32" ? 0 : constants.O_NOFOLLOW;
|
|
35
|
+
const nonBlocking = process.platform === "win32" ? 0 : constants.O_NONBLOCK;
|
|
36
|
+
const handle = await open(path, constants.O_RDONLY | noFollow | nonBlocking);
|
|
37
|
+
try {
|
|
38
|
+
const metadata = await handle.stat({ bigint: true });
|
|
39
|
+
if (metadata.isSymbolicLink() || !metadata.isFile()) {
|
|
40
|
+
throw new TypeError("Document authoring crash qualification requires a real regular fixture marker.");
|
|
41
|
+
}
|
|
42
|
+
if (metadata.size > BigInt(MAX_FIXTURE_MARKER_BYTES)) {
|
|
43
|
+
throw new TypeError(`Document authoring crash qualification fixture marker exceeds ${MAX_FIXTURE_MARKER_BYTES} bytes.`);
|
|
44
|
+
}
|
|
45
|
+
const physical = await realpath(path);
|
|
46
|
+
if (physical !== path) {
|
|
47
|
+
throw new TypeError("Document authoring crash qualification fixture marker must not traverse symlinks.");
|
|
48
|
+
}
|
|
49
|
+
const pathHandle = await open(physical, constants.O_RDONLY | noFollow | nonBlocking);
|
|
50
|
+
try {
|
|
51
|
+
const pathMetadata = await pathHandle.stat({ bigint: true });
|
|
52
|
+
if (!pathMetadata.isFile() || !sameIdentity(metadata, pathMetadata)) {
|
|
53
|
+
throw new TypeError("Document authoring crash qualification fixture marker identity changed before its bounded read.");
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
finally {
|
|
57
|
+
await pathHandle.close();
|
|
58
|
+
}
|
|
59
|
+
const bytes = await readAtMost(handle, MAX_FIXTURE_MARKER_BYTES);
|
|
60
|
+
if (bytes === undefined) {
|
|
61
|
+
throw new TypeError(`Document authoring crash qualification fixture marker exceeds ${MAX_FIXTURE_MARKER_BYTES} bytes.`);
|
|
62
|
+
}
|
|
63
|
+
const after = await handle.stat({ bigint: true });
|
|
64
|
+
if (!sameIdentity(metadata, after) || after.size !== metadata.size || after.mtimeNs !== metadata.mtimeNs || after.size !== BigInt(bytes.byteLength)) {
|
|
65
|
+
throw new TypeError("Document authoring crash qualification fixture marker changed during its bounded read.");
|
|
66
|
+
}
|
|
67
|
+
return JSON.parse(bytes.toString("utf8"));
|
|
68
|
+
}
|
|
69
|
+
finally {
|
|
70
|
+
await handle.close();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
async function assertOwnedDisposableFixture(consumerRoot) {
|
|
74
|
+
if (!isAbsolute(consumerRoot) || resolvePath(consumerRoot) !== consumerRoot) {
|
|
75
|
+
throw new TypeError("Document authoring crash qualification requires an absolute normalized consumerRoot.");
|
|
76
|
+
}
|
|
77
|
+
const rootMetadata = await lstat(consumerRoot);
|
|
78
|
+
if (rootMetadata.isSymbolicLink() || !rootMetadata.isDirectory()) {
|
|
79
|
+
throw new TypeError("Document authoring crash qualification requires a real consumer directory.");
|
|
80
|
+
}
|
|
81
|
+
const canonicalRoot = await realpath(consumerRoot);
|
|
82
|
+
if (canonicalRoot !== consumerRoot) {
|
|
83
|
+
throw new TypeError("Document authoring crash qualification consumerRoot must be canonical and cannot traverse symlinks.");
|
|
84
|
+
}
|
|
85
|
+
const markerPath = join(canonicalRoot, FIXTURE_MARKER);
|
|
86
|
+
const marker = await readFixtureMarker(markerPath);
|
|
87
|
+
if (!isClosedFixtureMarker(marker, canonicalRoot)) {
|
|
88
|
+
throw new TypeError("Document authoring crash qualification requires its exact closed fixture ownership marker.");
|
|
89
|
+
}
|
|
90
|
+
return canonicalRoot;
|
|
91
|
+
}
|
|
92
|
+
async function signalCheckpoint(crashPoint) {
|
|
93
|
+
const line = `${JSON.stringify({
|
|
94
|
+
schemaVersion: 1,
|
|
95
|
+
event: "document-authoring-qualification-crash-point",
|
|
96
|
+
crashPoint
|
|
97
|
+
})}\n`;
|
|
98
|
+
await new Promise((resolve, reject) => {
|
|
99
|
+
process.stdout.write(line, (error) => {
|
|
100
|
+
if (error === null || error === undefined) {
|
|
101
|
+
resolve();
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
reject(error);
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Runs a real document apply until the selected durable crash checkpoint.
|
|
111
|
+
* The process intentionally remains pending after signalling and must be killed
|
|
112
|
+
* by the qualification harness.
|
|
113
|
+
*/
|
|
114
|
+
export async function runDocumentAuthoringCrashQualification(request) {
|
|
115
|
+
const consumerRoot = await assertOwnedDisposableFixture(request.consumerRoot);
|
|
116
|
+
await applyNodeDocumentationPlanPrivately({ consumerRoot, plan: request.plan }, {
|
|
117
|
+
faultInjector: async (point) => {
|
|
118
|
+
if (point.phase !== request.crashPoint) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
await signalCheckpoint(request.crashPoint);
|
|
122
|
+
await new Promise(() => { });
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
return {
|
|
126
|
+
schemaVersion: 1,
|
|
127
|
+
crashPoint: request.crashPoint,
|
|
128
|
+
state: "apply-completed-before-crash-point"
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/document-authoring/qualification/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAmB,MAAM,kBAAkB,CAAC;AACrF,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AAGrE,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AAmBtG,MAAM,cAAc,GAAG,4DAA4D,CAAC;AACpF,MAAM,wBAAwB,GAAG,CAAC,GAAG,IAAI,CAAC;AAuB1C,SAAS,qBAAqB,CAC5B,KAAc,EACd,aAAqB;IAErB,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,SAAS,GAAG,KAAgC,CAAC;IACnD,OAAO,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC;QAC/C,CAAC,cAAc,EAAE,MAAM,EAAE,eAAe,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC;QACjE,SAAS,CAAC,eAAe,CAAC,KAAK,CAAC;QAChC,SAAS,CAAC,MAAM,CAAC;YACf,sDAAsD;QACxD,SAAS,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC;AA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UAAU;QAC9B,KAAK,EAAE,oCAAoC;KAC5C,CAAC;AACJ,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export type { FoundationPackageSelfCheck } from "./package-self-check.js";
|
|
|
3
3
|
export { FoundationError } from "./errors.js";
|
|
4
4
|
export type { FoundationErrorCode } from "./errors.js";
|
|
5
5
|
export * as localMode from "./local-mode/index.js";
|
|
6
|
+
export * as mutation from "./mutation/index.js";
|
|
6
7
|
export { inspectFoundationTransactionAwareMode } from "./local-mode/inspection.js";
|
|
7
8
|
export type { FoundationManualRecoveryReason, FoundationRecoveryRoute, FoundationTransactionAwareStatus, FoundationTransactionDiagnostic, FoundationTransactionStatus } from "./local-mode/types.js";
|
|
8
9
|
export { createFastCheckParameters, normalizeDeterministicSeedBank, normalizePropertyReplayEvidence, PropertyTestingEvidenceError } from "./capabilities/property-testing-standard/contract/deterministic-seed-bank.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,wBAAwB,EACxB,+BAA+B,EAChC,MAAM,yBAAyB,CAAC;AACjC,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,YAAY,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,qCAAqC,EAAE,MAAM,4BAA4B,CAAC;AACnF,YAAY,EACV,8BAA8B,EAC9B,uBAAuB,EACvB,gCAAgC,EAChC,+BAA+B,EAC/B,2BAA2B,EAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yBAAyB,EACzB,8BAA8B,EAC9B,+BAA+B,EAC/B,4BAA4B,EAC7B,MAAM,8EAA8E,CAAC;AACtF,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,8EAA8E,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,wBAAwB,EACxB,+BAA+B,EAChC,MAAM,yBAAyB,CAAC;AACjC,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,YAAY,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,qCAAqC,EAAE,MAAM,4BAA4B,CAAC;AACnF,YAAY,EACV,8BAA8B,EAC9B,uBAAuB,EACvB,gCAAgC,EAChC,+BAA+B,EAC/B,2BAA2B,EAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yBAAyB,EACzB,8BAA8B,EAC9B,+BAA+B,EAC/B,4BAA4B,EAC7B,MAAM,8EAA8E,CAAC;AACtF,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,8EAA8E,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { FOUNDATION_METADATA_SCHEMA_VERSION, inspectFoundationPackage, parseFoundationPackageSelfCheck } from "./package-self-check.js";
|
|
2
2
|
export { FoundationError } from "./errors.js";
|
|
3
3
|
export * as localMode from "./local-mode/index.js";
|
|
4
|
+
export * as mutation from "./mutation/index.js";
|
|
4
5
|
export { inspectFoundationTransactionAwareMode } from "./local-mode/inspection.js";
|
|
5
6
|
export { createFastCheckParameters, normalizeDeterministicSeedBank, normalizePropertyReplayEvidence, PropertyTestingEvidenceError } from "./capabilities/property-testing-standard/contract/deterministic-seed-bank.js";
|
|
6
7
|
//# sourceMappingURL=index.js.map
|