@agent-teams/engineering-foundation 0.21.0 → 1.0.1
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 +13 -19
- package/assets/windows-managed-process/WindowsManagedProcess.cs +2 -2
- package/assets/windows-managed-process/bootstrap.ps1 +25 -4
- package/dist/canonical-json.d.ts +1 -11
- package/dist/canonical-json.d.ts.map +1 -1
- package/dist/canonical-json.js +1 -150
- package/dist/canonical-json.js.map +1 -1
- package/dist/capabilities/documentation-local-references/application/model/documentation-local-references.d.ts +1 -1
- package/dist/capabilities/documentation-local-references/application/model/documentation-local-references.d.ts.map +1 -1
- package/dist/capabilities/documentation-local-references/application/policies/evaluate-documentation-local-references.js +1 -1
- package/dist/capabilities/documentation-local-references/application/policies/evaluate-documentation-local-references.js.map +1 -1
- package/dist/capabilities/documentation-local-references/application/use-cases/analyze-documentation-local-references.d.ts +1 -1
- package/dist/capabilities/documentation-local-references/application/use-cases/analyze-documentation-local-references.d.ts.map +1 -1
- package/dist/capabilities/documentation-local-references/module.js +1 -1
- package/dist/capabilities/documentation-local-references/module.js.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/model/architecture-decision.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/model/architecture-decision.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/model/architecture-decision.js +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/model/architecture-decision.js.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/architecture-decision-diagnostic.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/architecture-decision-diagnostic.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/evaluate-architecture-decision-index.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/evaluate-architecture-decision-index.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/evaluate-architecture-decisions.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/evaluate-architecture-decisions.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/parse-architecture-decision-document.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/parse-architecture-decision-document.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/analyze-architecture-decisions.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/analyze-architecture-decisions.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/inspect-architecture-decision-catalog.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/inspect-architecture-decision-catalog.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/resolve-architecture-decision-index-memberships.d.ts +1 -2
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/resolve-architecture-decision-index-memberships.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/resolve-architecture-decision-index-memberships.js.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/module.js +1 -1
- package/dist/capabilities/governance-architecture-decisions/module.js.map +1 -1
- package/dist/capabilities/source-dependencies/adapters/outbound/node/generated-output-filesystem.d.ts +12 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/generated-output-filesystem.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/generated-output-filesystem.js +123 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/generated-output-filesystem.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/node-source-dependency-resolver.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/adapters/outbound/node/node-source-dependency-resolver.js +197 -29
- package/dist/capabilities/source-dependencies/adapters/outbound/node/node-source-dependency-resolver.js.map +1 -1
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-snapshot.d.ts +30 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-snapshot.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-snapshot.js +167 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-snapshot.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-topology-inspector.d.ts +18 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-topology-inspector.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-topology-inspector.js +131 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-topology-inspector.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.d.ts +33 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.js +323 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-snapshot-reader.d.ts +9 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-snapshot-reader.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-snapshot-reader.js +67 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-snapshot-reader.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-filesystem.d.ts +38 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-filesystem.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-filesystem.js +139 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-filesystem.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-root-snapshot.d.ts +20 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-root-snapshot.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-root-snapshot.js +39 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-root-snapshot.js.map +1 -0
- package/dist/capabilities/source-dependencies/application/model/repository-path.d.ts +12 -0
- package/dist/capabilities/source-dependencies/application/model/repository-path.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/model/repository-path.js +59 -0
- package/dist/capabilities/source-dependencies/application/model/repository-path.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/model/source-workspace-topology.d.ts +31 -0
- package/dist/capabilities/source-dependencies/application/model/source-workspace-topology.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/application/model/source-workspace-topology.js +2 -0
- package/dist/capabilities/source-dependencies/application/model/source-workspace-topology.js.map +1 -0
- package/dist/capabilities/source-dependencies/application/model/source-workspace.d.ts +20 -3
- package/dist/capabilities/source-dependencies/application/model/source-workspace.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-resolved-source-dependency.d.ts +1 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-resolved-source-dependency.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-resolved-source-dependency.js +32 -3
- package/dist/capabilities/source-dependencies/application/policies/evaluate-resolved-source-dependency.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependencies.d.ts +1 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependencies.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependencies.js +2 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependencies.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependency-cycles.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependency-cycles.js +1 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependency-cycles.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-workspace-coverage.d.ts +5 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-workspace-coverage.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-workspace-coverage.js +96 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-workspace-coverage.js.map +1 -0
- package/dist/capabilities/source-dependencies/application/ports/source-dependency-resolver.d.ts +15 -0
- package/dist/capabilities/source-dependencies/application/ports/source-dependency-resolver.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/ports/source-workspace-topology-inspector.d.ts +27 -0
- package/dist/capabilities/source-dependencies/application/ports/source-workspace-topology-inspector.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/application/ports/source-workspace-topology-inspector.js +2 -0
- package/dist/capabilities/source-dependencies/application/ports/source-workspace-topology-inspector.js.map +1 -0
- package/dist/capabilities/source-dependencies/application/rules.d.ts +1 -0
- package/dist/capabilities/source-dependencies/application/rules.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/rules.js +1 -0
- package/dist/capabilities/source-dependencies/application/rules.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/use-cases/analyze-source-dependencies.d.ts +2 -0
- package/dist/capabilities/source-dependencies/application/use-cases/analyze-source-dependencies.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/use-cases/analyze-source-dependencies.js +113 -9
- package/dist/capabilities/source-dependencies/application/use-cases/analyze-source-dependencies.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/use-cases/build-observed-source-graph.d.ts +15 -0
- package/dist/capabilities/source-dependencies/application/use-cases/build-observed-source-graph.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/use-cases/build-observed-source-graph.js +27 -1
- package/dist/capabilities/source-dependencies/application/use-cases/build-observed-source-graph.js.map +1 -1
- package/dist/capabilities/source-dependencies/contract/config.d.ts +3 -3
- package/dist/capabilities/source-dependencies/contract/config.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/contract/config.js +226 -44
- package/dist/capabilities/source-dependencies/contract/config.js.map +1 -1
- package/dist/capabilities/source-dependencies/module.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/module.js +11 -5
- package/dist/capabilities/source-dependencies/module.js.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.d.ts +3 -0
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.d.ts.map +1 -0
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.js +9 -0
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.js.map +1 -0
- package/dist/capabilities/workspace-dependency-declarations/application/policies/evaluate-workspace-dependencies.d.ts.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/application/policies/evaluate-workspace-dependencies.js +92 -77
- package/dist/capabilities/workspace-dependency-declarations/application/policies/evaluate-workspace-dependencies.js.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/contract/config.d.ts +2 -1
- package/dist/capabilities/workspace-dependency-declarations/contract/config.d.ts.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/contract/config.js +22 -5
- package/dist/capabilities/workspace-dependency-declarations/contract/config.js.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/module.js +2 -1
- package/dist/capabilities/workspace-dependency-declarations/module.js.map +1 -1
- package/dist/cli-arguments.d.ts +0 -11
- package/dist/cli-arguments.d.ts.map +1 -1
- package/dist/cli-arguments.js +2 -143
- package/dist/cli-arguments.js.map +1 -1
- package/dist/cli.js +2 -16
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/local-mode/index.d.ts +1 -1
- package/dist/local-mode/index.js +1 -1
- 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 +9 -24
- package/dist/package-self-check.js.map +1 -1
- package/dist/process-execution/node-process-runner.d.ts.map +1 -1
- package/dist/process-execution/node-process-runner.js +2 -2
- package/dist/process-execution/node-process-runner.js.map +1 -1
- package/dist/process-execution/windows-managed-process-diagnostics.d.ts +5 -0
- package/dist/process-execution/windows-managed-process-diagnostics.d.ts.map +1 -0
- package/dist/process-execution/windows-managed-process-diagnostics.js +110 -0
- package/dist/process-execution/windows-managed-process-diagnostics.js.map +1 -0
- package/dist/process-execution/windows-managed-process.d.ts +4 -2
- package/dist/process-execution/windows-managed-process.d.ts.map +1 -1
- package/dist/process-execution/windows-managed-process.js +39 -12
- package/dist/process-execution/windows-managed-process.js.map +1 -1
- package/dist/process-execution/windows-process-host.js +42 -30
- package/dist/process-execution/windows-process-host.js.map +1 -1
- package/dist/public-api-surface.d.ts +0 -2
- package/dist/public-api-surface.d.ts.map +1 -1
- package/dist/public-api-surface.js +0 -2
- package/dist/public-api-surface.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-recovery.js +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-recovery.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-workspace.js +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-workspace.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-file-identity.d.ts +3 -3
- package/dist/scaffolding/adapters/node/filesystem-file-identity.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-file-identity.js +1 -1
- package/dist/scaffolding/adapters/node/filesystem-file-identity.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-operation-state.d.ts +2 -3
- package/dist/scaffolding/adapters/node/filesystem-operation-state.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-operation-state.js +36 -16
- package/dist/scaffolding/adapters/node/filesystem-operation-state.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-path-guard.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-path-guard.js +5 -6
- package/dist/scaffolding/adapters/node/filesystem-path-guard.js.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.d.ts +17 -28
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.js +35 -97
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.js.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-gateway.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-gateway.js +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-gateway.js.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store-faults.d.ts +2 -2
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store-faults.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.d.ts +6 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.js +139 -274
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.js.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-transaction-evidence.js +1 -2
- package/dist/scaffolding/adapters/node/node-scaffold-journal-transaction-evidence.js.map +1 -1
- package/dist/scaffolding/application/policies/legacy-scaffolding-repository-path.d.ts +1 -1
- package/dist/scaffolding/application/policies/legacy-scaffolding-repository-path.d.ts.map +1 -1
- package/dist/scaffolding/kernel/canonical-json.d.ts.map +1 -1
- package/dist/scaffolding/kernel/canonical-json.js +10 -42
- package/dist/scaffolding/kernel/canonical-json.js.map +1 -1
- package/dist/scaffolding/kernel/plan-content-validation.d.ts.map +1 -1
- package/dist/scaffolding/kernel/plan-content-validation.js +8 -1
- package/dist/scaffolding/kernel/plan-content-validation.js.map +1 -1
- package/dist/schema-catalog.d.ts.map +1 -1
- package/dist/schema-catalog.js +8 -21
- 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 +1 -16
- package/dist/schema-ids.js.map +1 -1
- package/dist/strict-json.d.ts +1 -6
- package/dist/strict-json.d.ts.map +1 -1
- package/dist/strict-json.js +1 -40
- package/dist/strict-json.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.js +3 -4
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/foundation-scaffold-envelope.d.ts +8 -0
- package/dist/transaction-coordination/adapters/node/foundation-scaffold-envelope.d.ts.map +1 -0
- package/dist/transaction-coordination/adapters/node/foundation-scaffold-envelope.js +70 -0
- package/dist/transaction-coordination/adapters/node/foundation-scaffold-envelope.js.map +1 -0
- package/dist/transaction-coordination/adapters/node/foundation-transition-evidence.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/foundation-transition-evidence.js +42 -7
- package/dist/transaction-coordination/adapters/node/foundation-transition-evidence.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/installed-foundation-build-identity.d.ts +0 -5
- package/dist/transaction-coordination/adapters/node/installed-foundation-build-identity.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/installed-foundation-build-identity.js +7 -124
- package/dist/transaction-coordination/adapters/node/installed-foundation-build-identity.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/known-file-transaction-status.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/known-file-transaction-status.js +34 -4
- package/dist/transaction-coordination/adapters/node/known-file-transaction-status.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.d.ts +1 -0
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.js +3 -0
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/legacy-scaffolding-transaction-validation.d.ts +3 -0
- package/dist/transaction-coordination/adapters/node/legacy-scaffolding-transaction-validation.d.ts.map +1 -0
- package/dist/transaction-coordination/adapters/node/legacy-scaffolding-transaction-validation.js +52 -0
- package/dist/transaction-coordination/adapters/node/legacy-scaffolding-transaction-validation.js.map +1 -0
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.d.ts +2 -2
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.js +1 -2
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-operation-lock.d.ts +1 -9
- package/dist/transaction-coordination/adapters/node/node-foundation-operation-lock.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-operation-lock.js +16 -338
- package/dist/transaction-coordination/adapters/node/node-foundation-operation-lock.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-state-directory.d.ts +5 -10
- package/dist/transaction-coordination/adapters/node/node-foundation-state-directory.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-state-directory.js +5 -90
- package/dist/transaction-coordination/adapters/node/node-foundation-state-directory.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 +41 -26
- package/dist/transaction-coordination/adapters/node/node-foundation-transaction-slot.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/schema6-transaction-status.d.ts +7 -0
- package/dist/transaction-coordination/adapters/node/schema6-transaction-status.d.ts.map +1 -0
- package/dist/transaction-coordination/adapters/node/schema6-transaction-status.js +51 -0
- package/dist/transaction-coordination/adapters/node/schema6-transaction-status.js.map +1 -0
- 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/transaction-status.d.ts +1 -1
- package/dist/transaction-coordination/application/model/transaction-status.d.ts.map +1 -1
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-package-manifest-snapshot-reader.d.ts +3 -0
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-package-manifest-snapshot-reader.d.ts.map +1 -0
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-package-manifest-snapshot-reader.js +203 -0
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-package-manifest-snapshot-reader.js.map +1 -0
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.d.ts +2 -0
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.d.ts.map +1 -1
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.js +152 -190
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.js.map +1 -1
- package/dist/workspace-inventory/application/model/workspace-inventory.d.ts +28 -1
- package/dist/workspace-inventory/application/model/workspace-inventory.d.ts.map +1 -1
- package/dist/workspace-inventory/application/policies/normalize-dependency-declaration.d.ts +14 -0
- package/dist/workspace-inventory/application/policies/normalize-dependency-declaration.d.ts.map +1 -0
- package/dist/workspace-inventory/application/policies/normalize-dependency-declaration.js +82 -0
- package/dist/workspace-inventory/application/policies/normalize-dependency-declaration.js.map +1 -0
- package/dist/workspace-inventory/application/policies/package-export-matcher.d.ts +10 -0
- package/dist/workspace-inventory/application/policies/package-export-matcher.d.ts.map +1 -0
- package/dist/workspace-inventory/application/policies/package-export-matcher.js +152 -0
- package/dist/workspace-inventory/application/policies/package-export-matcher.js.map +1 -0
- package/package.json +39 -71
- package/schemas/architecture-source-dependencies/v2.schema.json +119 -0
- package/dist/document-authoring/adapters/canonical-markdown.d.ts +0 -14
- package/dist/document-authoring/adapters/canonical-markdown.d.ts.map +0 -1
- package/dist/document-authoring/adapters/canonical-markdown.js +0 -354
- package/dist/document-authoring/adapters/canonical-markdown.js.map +0 -1
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.d.ts +0 -5
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.d.ts.map +0 -1
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.js +0 -36
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.js.map +0 -1
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.d.ts +0 -6
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.d.ts.map +0 -1
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.js +0 -127
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.js.map +0 -1
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.d.ts +0 -52
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.js +0 -103
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.js.map +0 -1
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.d.ts +0 -33
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.js +0 -47
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.d.ts +0 -9
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.js +0 -42
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.d.ts +0 -9
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.js +0 -31
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-contract-validator.d.ts +0 -7
- package/dist/document-authoring/adapters/node/node-document-contract-validator.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-contract-validator.js +0 -306
- package/dist/document-authoring/adapters/node/node-document-contract-validator.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.d.ts +0 -17
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.js +0 -49
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-file-state.d.ts +0 -21
- package/dist/document-authoring/adapters/node/node-document-file-state.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-file-state.js +0 -199
- package/dist/document-authoring/adapters/node/node-document-file-state.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-slot.d.ts +0 -2
- package/dist/document-authoring/adapters/node/node-document-journal-slot.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-slot.js +0 -18
- package/dist/document-authoring/adapters/node/node-document-journal-slot.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.d.ts +0 -36
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.js +0 -2
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.d.ts +0 -2
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.js +0 -2
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store.d.ts +0 -22
- package/dist/document-authoring/adapters/node/node-document-journal-store.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store.js +0 -339
- package/dist/document-authoring/adapters/node/node-document-journal-store.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.d.ts +0 -9
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.js +0 -87
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.d.ts +0 -39
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.js +0 -270
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.d.ts +0 -10
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.js +0 -85
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.d.ts +0 -11
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.js +0 -181
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-publisher-private.d.ts +0 -2
- package/dist/document-authoring/adapters/node/node-document-publisher-private.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-publisher-private.js +0 -2
- package/dist/document-authoring/adapters/node/node-document-publisher-private.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-publisher.d.ts +0 -54
- package/dist/document-authoring/adapters/node/node-document-publisher.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-publisher.js +0 -343
- package/dist/document-authoring/adapters/node/node-document-publisher.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.d.ts +0 -17
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.js +0 -43
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.d.ts +0 -21
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.js +0 -80
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-template-reader.d.ts +0 -10
- package/dist/document-authoring/adapters/node/node-document-template-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-template-reader.js +0 -32
- package/dist/document-authoring/adapters/node/node-document-template-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.d.ts +0 -21
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.js +0 -67
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-metadata-instance-validator.d.ts +0 -9
- package/dist/document-authoring/adapters/node/node-metadata-instance-validator.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-metadata-instance-validator.js +0 -90
- package/dist/document-authoring/adapters/node/node-metadata-instance-validator.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-owner-membership-reader.d.ts +0 -10
- package/dist/document-authoring/adapters/node/node-owner-membership-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-owner-membership-reader.js +0 -62
- package/dist/document-authoring/adapters/node/node-owner-membership-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-path-authority.d.ts +0 -53
- package/dist/document-authoring/adapters/node/node-path-authority.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-path-authority.js +0 -186
- package/dist/document-authoring/adapters/node/node-path-authority.js.map +0 -1
- package/dist/document-authoring/adapters/node/read-document-authority-file.d.ts +0 -12
- package/dist/document-authoring/adapters/node/read-document-authority-file.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/read-document-authority-file.js +0 -78
- package/dist/document-authoring/adapters/node/read-document-authority-file.js.map +0 -1
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.d.ts +0 -17
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.js +0 -33
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.js.map +0 -1
- package/dist/document-authoring/application/model/document-authoring-profile-description.d.ts +0 -57
- package/dist/document-authoring/application/model/document-authoring-profile-description.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-authoring-profile-description.js +0 -2
- package/dist/document-authoring/application/model/document-authoring-profile-description.js.map +0 -1
- package/dist/document-authoring/application/model/document-catalog.d.ts +0 -88
- package/dist/document-authoring/application/model/document-catalog.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-catalog.js +0 -2
- package/dist/document-authoring/application/model/document-catalog.js.map +0 -1
- package/dist/document-authoring/application/model/document-command.d.ts +0 -69
- package/dist/document-authoring/application/model/document-command.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-command.js +0 -2
- package/dist/document-authoring/application/model/document-command.js.map +0 -1
- package/dist/document-authoring/application/model/document-find.d.ts +0 -22
- package/dist/document-authoring/application/model/document-find.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-find.js +0 -2
- package/dist/document-authoring/application/model/document-find.js.map +0 -1
- package/dist/document-authoring/application/model/document-parent-materialization.d.ts +0 -26
- package/dist/document-authoring/application/model/document-parent-materialization.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-parent-materialization.js +0 -2
- package/dist/document-authoring/application/model/document-parent-materialization.js.map +0 -1
- package/dist/document-authoring/application/model/document-physical-identity.d.ts +0 -10
- package/dist/document-authoring/application/model/document-physical-identity.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-physical-identity.js +0 -29
- package/dist/document-authoring/application/model/document-physical-identity.js.map +0 -1
- package/dist/document-authoring/application/model/document-planning.d.ts +0 -209
- package/dist/document-authoring/application/model/document-planning.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-planning.js +0 -2
- package/dist/document-authoring/application/model/document-planning.js.map +0 -1
- package/dist/document-authoring/application/model/document-receipt.d.ts +0 -101
- package/dist/document-authoring/application/model/document-receipt.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-receipt.js +0 -2
- package/dist/document-authoring/application/model/document-receipt.js.map +0 -1
- package/dist/document-authoring/application/model/document-transaction-inspection.d.ts +0 -66
- package/dist/document-authoring/application/model/document-transaction-inspection.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-transaction-inspection.js +0 -2
- package/dist/document-authoring/application/model/document-transaction-inspection.js.map +0 -1
- package/dist/document-authoring/application/model/document-transaction.d.ts +0 -169
- package/dist/document-authoring/application/model/document-transaction.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-transaction.js +0 -2
- package/dist/document-authoring/application/model/document-transaction.js.map +0 -1
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.d.ts +0 -3
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.js +0 -8
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.js.map +0 -1
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.d.ts +0 -3
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.js +0 -7
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.js.map +0 -1
- package/dist/document-authoring/application/policies/authoring-profile-semantics.d.ts +0 -42
- package/dist/document-authoring/application/policies/authoring-profile-semantics.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/authoring-profile-semantics.js +0 -129
- package/dist/document-authoring/application/policies/authoring-profile-semantics.js.map +0 -1
- package/dist/document-authoring/application/policies/classify-document-recovery.d.ts +0 -81
- package/dist/document-authoring/application/policies/classify-document-recovery.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/classify-document-recovery.js +0 -138
- package/dist/document-authoring/application/policies/classify-document-recovery.js.map +0 -1
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.d.ts +0 -31
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.js +0 -163
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.js.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.d.ts +0 -12
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.js +0 -16
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.js.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-diagnostics.d.ts +0 -8
- package/dist/document-authoring/application/policies/document-catalog-diagnostics.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-diagnostics.js +0 -44
- package/dist/document-authoring/application/policies/document-catalog-diagnostics.js.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-fields.d.ts +0 -18
- package/dist/document-authoring/application/policies/document-catalog-fields.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-fields.js +0 -62
- package/dist/document-authoring/application/policies/document-catalog-fields.js.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-sidecar.d.ts +0 -10
- package/dist/document-authoring/application/policies/document-catalog-sidecar.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-sidecar.js +0 -66
- package/dist/document-authoring/application/policies/document-catalog-sidecar.js.map +0 -1
- package/dist/document-authoring/application/policies/document-command-consumer-root.d.ts +0 -2
- package/dist/document-authoring/application/policies/document-command-consumer-root.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-command-consumer-root.js +0 -15
- package/dist/document-authoring/application/policies/document-command-consumer-root.js.map +0 -1
- package/dist/document-authoring/application/policies/document-command-projection.d.ts +0 -20
- package/dist/document-authoring/application/policies/document-command-projection.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-command-projection.js +0 -90
- package/dist/document-authoring/application/policies/document-command-projection.js.map +0 -1
- package/dist/document-authoring/application/policies/document-contract-digests.d.ts +0 -20
- package/dist/document-authoring/application/policies/document-contract-digests.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-contract-digests.js +0 -329
- package/dist/document-authoring/application/policies/document-contract-digests.js.map +0 -1
- package/dist/document-authoring/application/policies/document-logical-preimage.d.ts +0 -14
- package/dist/document-authoring/application/policies/document-logical-preimage.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-logical-preimage.js +0 -61
- package/dist/document-authoring/application/policies/document-logical-preimage.js.map +0 -1
- package/dist/document-authoring/application/policies/document-planning-policy-error.d.ts +0 -6
- package/dist/document-authoring/application/policies/document-planning-policy-error.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-planning-policy-error.js +0 -9
- package/dist/document-authoring/application/policies/document-planning-policy-error.js.map +0 -1
- package/dist/document-authoring/application/policies/document-receipt-policy.d.ts +0 -5
- package/dist/document-authoring/application/policies/document-receipt-policy.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-receipt-policy.js +0 -92
- package/dist/document-authoring/application/policies/document-receipt-policy.js.map +0 -1
- package/dist/document-authoring/application/policies/document-repository-path.d.ts +0 -3
- package/dist/document-authoring/application/policies/document-repository-path.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-repository-path.js +0 -24
- package/dist/document-authoring/application/policies/document-repository-path.js.map +0 -1
- package/dist/document-authoring/application/policies/document-temporary-path.d.ts +0 -7
- package/dist/document-authoring/application/policies/document-temporary-path.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-temporary-path.js +0 -34
- package/dist/document-authoring/application/policies/document-temporary-path.js.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-digests.d.ts +0 -5
- package/dist/document-authoring/application/policies/document-transaction-digests.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-digests.js +0 -12
- package/dist/document-authoring/application/policies/document-transaction-digests.js.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.d.ts +0 -28
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.js +0 -140
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.js.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.d.ts +0 -4
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.js +0 -159
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.js.map +0 -1
- package/dist/document-authoring/application/policies/inspect-catalog-document.d.ts +0 -18
- package/dist/document-authoring/application/policies/inspect-catalog-document.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/inspect-catalog-document.js +0 -126
- package/dist/document-authoring/application/policies/inspect-catalog-document.js.map +0 -1
- package/dist/document-authoring/application/policies/normalize-document-intent.d.ts +0 -3
- package/dist/document-authoring/application/policies/normalize-document-intent.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/normalize-document-intent.js +0 -104
- package/dist/document-authoring/application/policies/normalize-document-intent.js.map +0 -1
- package/dist/document-authoring/application/policies/project-catalog-metadata.d.ts +0 -7
- package/dist/document-authoring/application/policies/project-catalog-metadata.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/project-catalog-metadata.js +0 -165
- package/dist/document-authoring/application/policies/project-catalog-metadata.js.map +0 -1
- package/dist/document-authoring/application/policies/project-document-reachability.d.ts +0 -14
- package/dist/document-authoring/application/policies/project-document-reachability.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/project-document-reachability.js +0 -57
- package/dist/document-authoring/application/policies/project-document-reachability.js.map +0 -1
- package/dist/document-authoring/application/policies/project-similar-document-advice.d.ts +0 -4
- package/dist/document-authoring/application/policies/project-similar-document-advice.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/project-similar-document-advice.js +0 -17
- package/dist/document-authoring/application/policies/project-similar-document-advice.js.map +0 -1
- package/dist/document-authoring/application/policies/resolve-document-authoring.d.ts +0 -13
- package/dist/document-authoring/application/policies/resolve-document-authoring.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/resolve-document-authoring.js +0 -154
- package/dist/document-authoring/application/policies/resolve-document-authoring.js.map +0 -1
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.d.ts +0 -3
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.js +0 -24
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.js.map +0 -1
- package/dist/document-authoring/application/ports/authoring-profile-reader.d.ts +0 -37
- package/dist/document-authoring/application/ports/authoring-profile-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/authoring-profile-reader.js +0 -2
- package/dist/document-authoring/application/ports/authoring-profile-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/canonical-document-renderer.d.ts +0 -29
- package/dist/document-authoring/application/ports/canonical-document-renderer.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/canonical-document-renderer.js +0 -2
- package/dist/document-authoring/application/ports/canonical-document-renderer.js.map +0 -1
- package/dist/document-authoring/application/ports/document-authority-recompiler.d.ts +0 -19
- package/dist/document-authoring/application/ports/document-authority-recompiler.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-authority-recompiler.js +0 -2
- package/dist/document-authoring/application/ports/document-authority-recompiler.js.map +0 -1
- package/dist/document-authoring/application/ports/document-contract-validator.d.ts +0 -6
- package/dist/document-authoring/application/ports/document-contract-validator.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-contract-validator.js +0 -2
- package/dist/document-authoring/application/ports/document-contract-validator.js.map +0 -1
- package/dist/document-authoring/application/ports/document-environment-inspector.d.ts +0 -12
- package/dist/document-authoring/application/ports/document-environment-inspector.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-environment-inspector.js +0 -2
- package/dist/document-authoring/application/ports/document-environment-inspector.js.map +0 -1
- package/dist/document-authoring/application/ports/document-file-state.d.ts +0 -55
- package/dist/document-authoring/application/ports/document-file-state.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-file-state.js +0 -2
- package/dist/document-authoring/application/ports/document-file-state.js.map +0 -1
- package/dist/document-authoring/application/ports/document-journal-store.d.ts +0 -31
- package/dist/document-authoring/application/ports/document-journal-store.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-journal-store.js +0 -2
- package/dist/document-authoring/application/ports/document-journal-store.js.map +0 -1
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.d.ts +0 -13
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.js +0 -2
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/document-parent-materializer.d.ts +0 -24
- package/dist/document-authoring/application/ports/document-parent-materializer.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-parent-materializer.js +0 -2
- package/dist/document-authoring/application/ports/document-parent-materializer.js.map +0 -1
- package/dist/document-authoring/application/ports/document-planning-profile-reader.d.ts +0 -9
- package/dist/document-authoring/application/ports/document-planning-profile-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-planning-profile-reader.js +0 -2
- package/dist/document-authoring/application/ports/document-planning-profile-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/document-planning-state-reader.d.ts +0 -10
- package/dist/document-authoring/application/ports/document-planning-state-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-planning-state-reader.js +0 -2
- package/dist/document-authoring/application/ports/document-planning-state-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/document-publisher.d.ts +0 -38
- package/dist/document-authoring/application/ports/document-publisher.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-publisher.js +0 -2
- package/dist/document-authoring/application/ports/document-publisher.js.map +0 -1
- package/dist/document-authoring/application/ports/document-reachability-projector.d.ts +0 -13
- package/dist/document-authoring/application/ports/document-reachability-projector.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-reachability-projector.js +0 -2
- package/dist/document-authoring/application/ports/document-reachability-projector.js.map +0 -1
- package/dist/document-authoring/application/ports/document-structure-verifier.d.ts +0 -17
- package/dist/document-authoring/application/ports/document-structure-verifier.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-structure-verifier.js +0 -2
- package/dist/document-authoring/application/ports/document-structure-verifier.js.map +0 -1
- package/dist/document-authoring/application/ports/document-template-reader.d.ts +0 -9
- package/dist/document-authoring/application/ports/document-template-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-template-reader.js +0 -2
- package/dist/document-authoring/application/ports/document-template-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/document-transaction-coordinator.d.ts +0 -21
- package/dist/document-authoring/application/ports/document-transaction-coordinator.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-transaction-coordinator.js +0 -2
- package/dist/document-authoring/application/ports/document-transaction-coordinator.js.map +0 -1
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.d.ts +0 -11
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.js +0 -2
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.js.map +0 -1
- package/dist/document-authoring/application/ports/documentation-catalog-reader.d.ts +0 -11
- package/dist/document-authoring/application/ports/documentation-catalog-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/documentation-catalog-reader.js +0 -2
- package/dist/document-authoring/application/ports/documentation-catalog-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.d.ts +0 -9
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.js +0 -2
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.js.map +0 -1
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader.d.ts +0 -10
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader.js +0 -2
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/metadata-instance-validator.d.ts +0 -18
- package/dist/document-authoring/application/ports/metadata-instance-validator.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/metadata-instance-validator.js +0 -2
- package/dist/document-authoring/application/ports/metadata-instance-validator.js.map +0 -1
- package/dist/document-authoring/application/ports/owner-membership-reader.d.ts +0 -14
- package/dist/document-authoring/application/ports/owner-membership-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/owner-membership-reader.js +0 -2
- package/dist/document-authoring/application/ports/owner-membership-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/similar-document-advisor.d.ts +0 -17
- package/dist/document-authoring/application/ports/similar-document-advisor.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/similar-document-advisor.js +0 -2
- package/dist/document-authoring/application/ports/similar-document-advisor.js.map +0 -1
- package/dist/document-authoring/application/projections/document-catalog-projections.d.ts +0 -3
- package/dist/document-authoring/application/projections/document-catalog-projections.d.ts.map +0 -1
- package/dist/document-authoring/application/projections/document-catalog-projections.js +0 -24
- package/dist/document-authoring/application/projections/document-catalog-projections.js.map +0 -1
- package/dist/document-authoring/application/use-cases/apply-document-plan.d.ts +0 -16
- package/dist/document-authoring/application/use-cases/apply-document-plan.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/apply-document-plan.js +0 -311
- package/dist/document-authoring/application/use-cases/apply-document-plan.js.map +0 -1
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.d.ts +0 -14
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.js +0 -17
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.js.map +0 -1
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.d.ts +0 -41
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.js +0 -259
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.js.map +0 -1
- package/dist/document-authoring/application/use-cases/compile-document-plan.d.ts +0 -6
- package/dist/document-authoring/application/use-cases/compile-document-plan.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/compile-document-plan.js +0 -200
- package/dist/document-authoring/application/use-cases/compile-document-plan.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.d.ts +0 -18
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.js +0 -90
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.d.ts +0 -3
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.js +0 -79
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.d.ts +0 -64
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.js +0 -283
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-error.d.ts +0 -5
- package/dist/document-authoring/application/use-cases/document-transaction-error.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-error.js +0 -9
- package/dist/document-authoring/application/use-cases/document-transaction-error.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-execution.d.ts +0 -9
- package/dist/document-authoring/application/use-cases/document-transaction-execution.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-execution.js +0 -40
- package/dist/document-authoring/application/use-cases/document-transaction-execution.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.d.ts +0 -21
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.js +0 -180
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.js.map +0 -1
- package/dist/document-authoring/application/use-cases/find-documents.d.ts +0 -20
- package/dist/document-authoring/application/use-cases/find-documents.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/find-documents.js +0 -114
- package/dist/document-authoring/application/use-cases/find-documents.js.map +0 -1
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.d.ts +0 -20
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.js +0 -14
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.js.map +0 -1
- package/dist/document-authoring/application/use-cases/plan-documentation-document.d.ts +0 -74
- package/dist/document-authoring/application/use-cases/plan-documentation-document.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/plan-documentation-document.js +0 -273
- package/dist/document-authoring/application/use-cases/plan-documentation-document.js.map +0 -1
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.d.ts +0 -8
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.js +0 -32
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.js.map +0 -1
- package/dist/document-authoring/application/use-cases/recover-document-transaction.d.ts +0 -10
- package/dist/document-authoring/application/use-cases/recover-document-transaction.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/recover-document-transaction.js +0 -361
- package/dist/document-authoring/application/use-cases/recover-document-transaction.js.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-doctor.d.ts +0 -18
- package/dist/document-authoring/application/use-cases/run-document-doctor.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-doctor.js +0 -171
- package/dist/document-authoring/application/use-cases/run-document-doctor.js.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-new.d.ts +0 -30
- package/dist/document-authoring/application/use-cases/run-document-new.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-new.js +0 -221
- package/dist/document-authoring/application/use-cases/run-document-new.js.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-recover.d.ts +0 -21
- package/dist/document-authoring/application/use-cases/run-document-recover.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-recover.js +0 -126
- package/dist/document-authoring/application/use-cases/run-document-recover.js.map +0 -1
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.d.ts +0 -14
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.d.ts.map +0 -1
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.js +0 -220
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.js.map +0 -1
- package/dist/document-authoring/composition/document-command-cli.d.ts +0 -7
- package/dist/document-authoring/composition/document-command-cli.d.ts.map +0 -1
- package/dist/document-authoring/composition/document-command-cli.js +0 -32
- package/dist/document-authoring/composition/document-command-cli.js.map +0 -1
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.d.ts +0 -7
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.d.ts.map +0 -1
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.js +0 -10
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.js.map +0 -1
- package/dist/document-authoring/composition/inspect-document-transaction.d.ts +0 -10
- package/dist/document-authoring/composition/inspect-document-transaction.d.ts.map +0 -1
- package/dist/document-authoring/composition/inspect-document-transaction.js +0 -214
- package/dist/document-authoring/composition/inspect-document-transaction.js.map +0 -1
- package/dist/document-authoring/composition/node-document-authority-recompiler.d.ts +0 -11
- package/dist/document-authoring/composition/node-document-authority-recompiler.d.ts.map +0 -1
- package/dist/document-authoring/composition/node-document-authority-recompiler.js +0 -81
- package/dist/document-authoring/composition/node-document-authority-recompiler.js.map +0 -1
- package/dist/document-authoring/composition/node-document-commands.d.ts +0 -10
- package/dist/document-authoring/composition/node-document-commands.d.ts.map +0 -1
- package/dist/document-authoring/composition/node-document-commands.js +0 -68
- package/dist/document-authoring/composition/node-document-commands.js.map +0 -1
- package/dist/document-authoring/composition/node-document-planning.d.ts +0 -7
- package/dist/document-authoring/composition/node-document-planning.d.ts.map +0 -1
- package/dist/document-authoring/composition/node-document-planning.js +0 -99
- package/dist/document-authoring/composition/node-document-planning.js.map +0 -1
- package/dist/document-authoring/composition/node-document-writing-private.d.ts +0 -15
- package/dist/document-authoring/composition/node-document-writing-private.d.ts.map +0 -1
- package/dist/document-authoring/composition/node-document-writing-private.js +0 -54
- package/dist/document-authoring/composition/node-document-writing-private.js.map +0 -1
- package/dist/document-authoring/composition/node-document-writing.d.ts +0 -8
- package/dist/document-authoring/composition/node-document-writing.d.ts.map +0 -1
- package/dist/document-authoring/composition/node-document-writing.js +0 -10
- package/dist/document-authoring/composition/node-document-writing.js.map +0 -1
- package/dist/document-authoring/document-catalog-error.d.ts +0 -6
- package/dist/document-authoring/document-catalog-error.d.ts.map +0 -1
- package/dist/document-authoring/document-catalog-error.js +0 -9
- package/dist/document-authoring/document-catalog-error.js.map +0 -1
- package/dist/document-authoring/document-planning-error.d.ts +0 -6
- package/dist/document-authoring/document-planning-error.d.ts.map +0 -1
- package/dist/document-authoring/document-planning-error.js +0 -9
- package/dist/document-authoring/document-planning-error.js.map +0 -1
- package/dist/document-authoring/find-command.d.ts +0 -37
- package/dist/document-authoring/find-command.d.ts.map +0 -1
- package/dist/document-authoring/find-command.js +0 -180
- package/dist/document-authoring/find-command.js.map +0 -1
- package/dist/document-authoring/index.d.ts +0 -61
- package/dist/document-authoring/index.d.ts.map +0 -1
- package/dist/document-authoring/index.js +0 -94
- package/dist/document-authoring/index.js.map +0 -1
- package/dist/document-authoring/qualification/index.d.ts +0 -22
- package/dist/document-authoring/qualification/index.d.ts.map +0 -1
- package/dist/document-authoring/qualification/index.js +0 -131
- package/dist/document-authoring/qualification/index.js.map +0 -1
- package/dist/document-command.d.ts +0 -12
- package/dist/document-command.d.ts.map +0 -1
- package/dist/document-command.js +0 -105
- package/dist/document-command.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-document-reader.d.ts +0 -14
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-document-reader.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-document-reader.js +0 -108
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-document-reader.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-filesystem.d.ts +0 -14
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-filesystem.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-filesystem.js +0 -61
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-filesystem.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-paths.d.ts +0 -8
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-paths.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-paths.js +0 -44
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-paths.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-reference-resolver.d.ts +0 -6
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-reference-resolver.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-reference-resolver.js +0 -160
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-reference-resolver.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-repository.d.ts +0 -8
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-repository.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-repository.js +0 -13
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-repository.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-tree-observer.d.ts +0 -6
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-tree-observer.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-tree-observer.js +0 -260
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-tree-observer.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-document-parser.d.ts +0 -3
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-document-parser.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-document-parser.js +0 -260
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-document-parser.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-reference-target.d.ts +0 -15
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-reference-target.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-reference-target.js +0 -59
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-reference-target.js.map +0 -1
- package/dist/documentation-observation/application/model/markdown-document.d.ts +0 -70
- package/dist/documentation-observation/application/model/markdown-document.d.ts.map +0 -1
- package/dist/documentation-observation/application/model/markdown-document.js +0 -10
- package/dist/documentation-observation/application/model/markdown-document.js.map +0 -1
- package/dist/documentation-observation/application/ports/markdown-repository.d.ts +0 -18
- package/dist/documentation-observation/application/ports/markdown-repository.d.ts.map +0 -1
- package/dist/documentation-observation/application/ports/markdown-repository.js +0 -2
- package/dist/documentation-observation/application/ports/markdown-repository.js.map +0 -1
- package/dist/legacy-docs-cli-deprecation.d.ts +0 -10
- package/dist/legacy-docs-cli-deprecation.d.ts.map +0 -1
- package/dist/legacy-docs-cli-deprecation.js +0 -36
- package/dist/legacy-docs-cli-deprecation.js.map +0 -1
- package/dist/mutation/index.d.ts +0 -19
- package/dist/mutation/index.d.ts.map +0 -1
- package/dist/mutation/index.js +0 -5
- package/dist/mutation/index.js.map +0 -1
- package/dist/mutation/qualification/index.d.ts +0 -10
- package/dist/mutation/qualification/index.d.ts.map +0 -1
- package/dist/mutation/qualification/index.js +0 -6
- package/dist/mutation/qualification/index.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.d.ts +0 -19
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.js +0 -74
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.d.ts +0 -33
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.js +0 -174
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-bounded-regular-file.d.ts +0 -22
- package/dist/repository-mutation/adapters/node/node-bounded-regular-file.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-bounded-regular-file.js +0 -131
- package/dist/repository-mutation/adapters/node/node-bounded-regular-file.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.d.ts +0 -26
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.js +0 -172
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.d.ts +0 -15
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.js +0 -23
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-directory-durability.d.ts +0 -18
- package/dist/repository-mutation/adapters/node/node-directory-durability.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-directory-durability.js +0 -47
- package/dist/repository-mutation/adapters/node/node-directory-durability.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-directory-materialization.d.ts +0 -37
- package/dist/repository-mutation/adapters/node/node-directory-materialization.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-directory-materialization.js +0 -224
- package/dist/repository-mutation/adapters/node/node-directory-materialization.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-existing-repository-ancestors.d.ts +0 -13
- package/dist/repository-mutation/adapters/node/node-existing-repository-ancestors.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-existing-repository-ancestors.js +0 -67
- package/dist/repository-mutation/adapters/node/node-existing-repository-ancestors.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-effects.d.ts +0 -84
- package/dist/repository-mutation/adapters/node/node-known-file-apply-effects.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-effects.js +0 -232
- package/dist/repository-mutation/adapters/node/node-known-file-apply-effects.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-faults.d.ts +0 -9
- package/dist/repository-mutation/adapters/node/node-known-file-apply-faults.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-faults.js +0 -2
- package/dist/repository-mutation/adapters/node/node-known-file-apply-faults.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-observation.d.ts +0 -6
- package/dist/repository-mutation/adapters/node/node-known-file-apply-observation.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-observation.js +0 -30
- package/dist/repository-mutation/adapters/node/node-known-file-apply-observation.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-operation.d.ts +0 -11
- package/dist/repository-mutation/adapters/node/node-known-file-apply-operation.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-operation.js +0 -159
- package/dist/repository-mutation/adapters/node/node-known-file-apply-operation.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-state.d.ts +0 -9
- package/dist/repository-mutation/adapters/node/node-known-file-apply-state.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-state.js +0 -21
- package/dist/repository-mutation/adapters/node/node-known-file-apply-state.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-cleanup.d.ts +0 -9
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-cleanup.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-cleanup.js +0 -203
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-cleanup.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-executor.d.ts +0 -17
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-executor.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-executor.js +0 -22
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-executor.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-filesystem.d.ts +0 -28
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-filesystem.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-filesystem.js +0 -194
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-filesystem.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-observation.d.ts +0 -15
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-observation.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-observation.js +0 -47
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-observation.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured-cleanup.d.ts +0 -29
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured-cleanup.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured-cleanup.js +0 -72
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured-cleanup.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured.d.ts +0 -31
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured.js +0 -254
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage.d.ts +0 -13
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage.js +0 -210
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-retirement.d.ts +0 -15
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-retirement.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-retirement.js +0 -172
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-retirement.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-state.d.ts +0 -12
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-state.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-state.js +0 -17
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-state.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-filesystem.d.ts +0 -25
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-filesystem.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-filesystem.js +0 -129
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-filesystem.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-inspection.d.ts +0 -12
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-inspection.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-inspection.js +0 -46
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-inspection.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-journal-store.d.ts +0 -21
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-journal-store.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-journal-store.js +0 -178
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-journal-store.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-lease-release.d.ts +0 -14
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-lease-release.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-lease-release.js +0 -23
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-lease-release.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-receipt.d.ts +0 -4
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-receipt.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-receipt.js +0 -43
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-receipt.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-recovery.d.ts +0 -8
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-recovery.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-recovery.js +0 -57
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-recovery.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction.d.ts +0 -14
- package/dist/repository-mutation/adapters/node/node-known-file-transaction.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction.js +0 -138
- package/dist/repository-mutation/adapters/node/node-known-file-transaction.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.d.ts +0 -15
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.js +0 -27
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.d.ts +0 -28
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.js +0 -47
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-repository-path.d.ts +0 -2
- package/dist/repository-mutation/adapters/node/node-repository-path.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-repository-path.js +0 -7
- package/dist/repository-mutation/adapters/node/node-repository-path.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.d.ts +0 -22
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.js +0 -59
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.js.map +0 -1
- package/dist/repository-mutation/application/model/directory-materialization.d.ts +0 -35
- package/dist/repository-mutation/application/model/directory-materialization.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/directory-materialization.js +0 -11
- package/dist/repository-mutation/application/model/directory-materialization.js.map +0 -1
- package/dist/repository-mutation/application/model/exact-postimage.d.ts +0 -17
- package/dist/repository-mutation/application/model/exact-postimage.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/exact-postimage.js +0 -11
- package/dist/repository-mutation/application/model/exact-postimage.js.map +0 -1
- package/dist/repository-mutation/application/model/known-file-transaction-journal.d.ts +0 -63
- package/dist/repository-mutation/application/model/known-file-transaction-journal.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/known-file-transaction-journal.js +0 -15
- package/dist/repository-mutation/application/model/known-file-transaction-journal.js.map +0 -1
- package/dist/repository-mutation/application/model/known-file-transaction.d.ts +0 -64
- package/dist/repository-mutation/application/model/known-file-transaction.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/known-file-transaction.js +0 -2
- package/dist/repository-mutation/application/model/known-file-transaction.js.map +0 -1
- package/dist/repository-mutation/application/model/path-identity.d.ts +0 -7
- package/dist/repository-mutation/application/model/path-identity.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/path-identity.js +0 -2
- package/dist/repository-mutation/application/model/path-identity.js.map +0 -1
- package/dist/repository-mutation/application/model/repository-path.d.ts +0 -8
- package/dist/repository-mutation/application/model/repository-path.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/repository-path.js +0 -74
- package/dist/repository-mutation/application/model/repository-path.js.map +0 -1
- package/dist/repository-mutation/application/policies/classify-known-file-recovery-transition.d.ts +0 -25
- package/dist/repository-mutation/application/policies/classify-known-file-recovery-transition.d.ts.map +0 -1
- package/dist/repository-mutation/application/policies/classify-known-file-recovery-transition.js +0 -19
- package/dist/repository-mutation/application/policies/classify-known-file-recovery-transition.js.map +0 -1
- package/dist/repository-mutation/application/policies/known-file-transaction-envelope.d.ts +0 -8
- package/dist/repository-mutation/application/policies/known-file-transaction-envelope.d.ts.map +0 -1
- package/dist/repository-mutation/application/policies/known-file-transaction-envelope.js +0 -241
- package/dist/repository-mutation/application/policies/known-file-transaction-envelope.js.map +0 -1
- package/dist/repository-mutation/application/policies/known-file-transaction-plan.d.ts +0 -7
- package/dist/repository-mutation/application/policies/known-file-transaction-plan.d.ts.map +0 -1
- package/dist/repository-mutation/application/policies/known-file-transaction-plan.js +0 -215
- package/dist/repository-mutation/application/policies/known-file-transaction-plan.js.map +0 -1
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.d.ts +0 -7
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.d.ts.map +0 -1
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.js +0 -2
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.js.map +0 -1
- package/dist/scaffolding/adapters/node/filesystem-journal.d.ts +0 -17
- package/dist/scaffolding/adapters/node/filesystem-journal.d.ts.map +0 -1
- package/dist/scaffolding/adapters/node/filesystem-journal.js +0 -176
- package/dist/scaffolding/adapters/node/filesystem-journal.js.map +0 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.d.ts +0 -15
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.d.ts.map +0 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.js +0 -29
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.js.map +0 -1
- package/schemas/document-authoring-profile/v1.schema.json +0 -265
- package/schemas/document-authoring-profile/v2.schema.json +0 -168
- package/schemas/document-authoring-profile/v3.schema.json +0 -200
- package/schemas/document-command-envelope/v1.schema.json +0 -161
- package/schemas/document-command-envelope/v2.schema.json +0 -205
- package/schemas/document-intent/v1.schema.json +0 -102
- package/schemas/document-parent-materialization/v2.schema.json +0 -65
- package/schemas/document-plan/v1.schema.json +0 -162
- package/schemas/document-plan/v2.schema.json +0 -85
- package/schemas/document-receipt/v1.schema.json +0 -141
- package/schemas/document-receipt/v2.schema.json +0 -108
- package/schemas/foundation-transaction-envelope/v3.schema.json +0 -169
- package/schemas/foundation-transaction-envelope/v4.schema.json +0 -164
- package/schemas/foundation-transaction-envelope/v5.schema.json +0 -94
- package/schemas/known-file-transaction-plan/v1.schema.json +0 -65
- package/schemas/known-file-transaction-receipt/v1.schema.json +0 -36
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
import { link, mkdir, open, readdir, rename } from "node:fs/promises";
|
|
2
|
-
import { createHash, randomUUID } from "node:crypto";
|
|
3
|
-
import { basename, dirname, join } from "node:path";
|
|
4
|
-
import { TextDecoder } from "node:util";
|
|
5
|
-
import { canonicalJson } from "../../../canonical-json.js";
|
|
6
|
-
import { FOUNDATION_TRANSACTION_FILE } from "../../../foundation-state-contract.js";
|
|
7
|
-
import { assertDocumentTransactionEnvelope } from "../../application/policies/document-transaction-envelope-policy.js";
|
|
8
|
-
import { captureFileHandleIdentity, pathMatchesRegularFileIdentity, readBoundedRegularFile } from "../../../repository-mutation/adapters/node/node-bounded-regular-file.js";
|
|
9
|
-
import { syncDirectoryStrictly } from "../../../repository-mutation/adapters/node/node-directory-durability.js";
|
|
10
|
-
import { assertTerminalEvidenceDirectory, ensureTerminalEvidenceDirectory } from "../../../repository-mutation/adapters/node/node-terminal-evidence-directory.js";
|
|
11
|
-
import { parseStrictJson } from "../../../strict-json.js";
|
|
12
|
-
import { documentJournalSlotExists } from "./node-document-journal-slot.js";
|
|
13
|
-
const maximumJournalBytes = 32 * 1024 * 1024;
|
|
14
|
-
const maximumDirectoryEntries = 1024;
|
|
15
|
-
const strictUtf8 = new TextDecoder("utf-8", { fatal: true, ignoreBOM: true });
|
|
16
|
-
class NodeDocumentJournalStoreError extends Error {
|
|
17
|
-
constructor(message, options) {
|
|
18
|
-
super(message, options);
|
|
19
|
-
this.name = "NodeDocumentJournalStoreError";
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
function errorCode(error) {
|
|
23
|
-
return error instanceof Error && "code" in error
|
|
24
|
-
? error.code
|
|
25
|
-
: undefined;
|
|
26
|
-
}
|
|
27
|
-
function portableIdentity(identity) {
|
|
28
|
-
if (!/^[1-9][0-9]{0,19}$/u.test(identity.dev) ||
|
|
29
|
-
!/^[1-9][0-9]{0,19}$/u.test(identity.ino) ||
|
|
30
|
-
!/^[1-9][0-9]{0,19}$/u.test(identity.birthtimeNs)) {
|
|
31
|
-
throw new NodeDocumentJournalStoreError("Document journal identity is invalid or zero.");
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
birthtimeNs: BigInt(identity.birthtimeNs),
|
|
35
|
-
dev: BigInt(identity.dev),
|
|
36
|
-
ino: BigInt(identity.ino)
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function contentDigest(bytes) {
|
|
40
|
-
return `sha256:${createHash("sha256").update(bytes).digest("hex")}`;
|
|
41
|
-
}
|
|
42
|
-
function journalIdentity(identity) {
|
|
43
|
-
const result = {
|
|
44
|
-
adapter: "node-filesystem",
|
|
45
|
-
version: 1,
|
|
46
|
-
birthtimeNs: identity.birthtimeNs.toString(),
|
|
47
|
-
dev: identity.dev.toString(),
|
|
48
|
-
ino: identity.ino.toString()
|
|
49
|
-
};
|
|
50
|
-
portableIdentity(result);
|
|
51
|
-
return result;
|
|
52
|
-
}
|
|
53
|
-
async function canonicalEnvelopeBytes(envelope) {
|
|
54
|
-
const validated = await assertDocumentTransactionEnvelope(envelope);
|
|
55
|
-
const bytes = Buffer.from(`${canonicalJson(validated)}\n`, "utf8");
|
|
56
|
-
if (bytes.byteLength > maximumJournalBytes) {
|
|
57
|
-
throw new NodeDocumentJournalStoreError("Document journal exceeds its strict size limit.");
|
|
58
|
-
}
|
|
59
|
-
return bytes;
|
|
60
|
-
}
|
|
61
|
-
function quarantineName(canonicalName, identity) {
|
|
62
|
-
portableIdentity(identity);
|
|
63
|
-
return `${canonicalName}.document-quarantine.${identity.dev}.${identity.ino}.${identity.birthtimeNs}.${randomUUID()}`;
|
|
64
|
-
}
|
|
65
|
-
function retiredName(canonicalName) {
|
|
66
|
-
return `${canonicalName}.document-retired.${randomUUID()}`;
|
|
67
|
-
}
|
|
68
|
-
async function createPrivateEvidencePath(parent, directoryName) {
|
|
69
|
-
const directory = join(parent, directoryName);
|
|
70
|
-
await mkdir(directory, { mode: 0o700 });
|
|
71
|
-
return { directory, path: join(directory, "evidence") };
|
|
72
|
-
}
|
|
73
|
-
async function proveAuthority(path, expected, description) {
|
|
74
|
-
const observed = await readBoundedRegularFile(path, maximumJournalBytes);
|
|
75
|
-
if (observed.outcome !== "read" ||
|
|
76
|
-
(await pathMatchesRegularFileIdentity(path, portableIdentity(expected.identity))) !==
|
|
77
|
-
"match" ||
|
|
78
|
-
contentDigest(observed.bytes) !== expected.authorityDigest) {
|
|
79
|
-
throw new NodeDocumentJournalStoreError(`${description} identity or canonical bytes changed concurrently; all evidence was preserved.`);
|
|
80
|
-
}
|
|
81
|
-
return expected;
|
|
82
|
-
}
|
|
83
|
-
export class NodeDocumentJournalStore {
|
|
84
|
-
journalPath;
|
|
85
|
-
operations;
|
|
86
|
-
#candidatePath;
|
|
87
|
-
#canonicalName;
|
|
88
|
-
#parent;
|
|
89
|
-
constructor(journalPath, operations = {}) {
|
|
90
|
-
this.journalPath = journalPath;
|
|
91
|
-
this.operations = operations;
|
|
92
|
-
this.#parent = dirname(journalPath);
|
|
93
|
-
this.#canonicalName = basename(journalPath);
|
|
94
|
-
if (this.#canonicalName !== FOUNDATION_TRANSACTION_FILE) {
|
|
95
|
-
throw new NodeDocumentJournalStoreError("Document journal store must use the historical Foundation transaction slot.");
|
|
96
|
-
}
|
|
97
|
-
this.#candidatePath = join(this.#parent, `${this.#canonicalName}.document-transition`);
|
|
98
|
-
}
|
|
99
|
-
async #syncDirectory(path, operation, role) {
|
|
100
|
-
await this.operations.faultInjector?.({
|
|
101
|
-
operation,
|
|
102
|
-
path,
|
|
103
|
-
phase: "before-directory-sync",
|
|
104
|
-
role
|
|
105
|
-
});
|
|
106
|
-
await syncDirectoryStrictly(path);
|
|
107
|
-
}
|
|
108
|
-
async #syncRenameBoundary(destination, source, operation) {
|
|
109
|
-
await this.#syncDirectory(destination, operation, "destination");
|
|
110
|
-
if (source !== destination) {
|
|
111
|
-
await this.#syncDirectory(source, operation, "source");
|
|
112
|
-
}
|
|
113
|
-
if (this.#parent !== destination && this.#parent !== source) {
|
|
114
|
-
await this.#syncDirectory(this.#parent, operation, "state-parent");
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
async #assertNoTransitionEvidence() {
|
|
118
|
-
let entries;
|
|
119
|
-
try {
|
|
120
|
-
entries = await readdir(this.#parent);
|
|
121
|
-
}
|
|
122
|
-
catch (error) {
|
|
123
|
-
if (errorCode(error) === "ENOENT") {
|
|
124
|
-
throw new NodeDocumentJournalStoreError("Foundation state directory must exist before journal access.", { cause: error });
|
|
125
|
-
}
|
|
126
|
-
throw error;
|
|
127
|
-
}
|
|
128
|
-
if (entries.length > maximumDirectoryEntries) {
|
|
129
|
-
throw new NodeDocumentJournalStoreError("Document journal directory contains too many entries to inspect safely.");
|
|
130
|
-
}
|
|
131
|
-
const quarantinePrefix = `${this.#canonicalName}.document-quarantine.`;
|
|
132
|
-
const retiredPrefix = `${this.#canonicalName}.document-retired.`;
|
|
133
|
-
if (entries.includes(basename(this.#candidatePath)) ||
|
|
134
|
-
entries.some((entry) => entry.startsWith(quarantinePrefix) ||
|
|
135
|
-
entry.startsWith(retiredPrefix))) {
|
|
136
|
-
throw new NodeDocumentJournalStoreError("Incomplete document journal transition evidence was preserved and requires recovery.");
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
async #retireOwnedEvidence(path, expected, operation, evidence, description) {
|
|
140
|
-
await proveAuthority(path, expected, description);
|
|
141
|
-
await this.operations.faultInjector?.({
|
|
142
|
-
evidence,
|
|
143
|
-
operation,
|
|
144
|
-
path,
|
|
145
|
-
phase: "before-private-cleanup"
|
|
146
|
-
});
|
|
147
|
-
await proveAuthority(path, expected, description);
|
|
148
|
-
const retired = await createPrivateEvidencePath(this.#parent, retiredName(this.#canonicalName));
|
|
149
|
-
const sourceDirectory = dirname(path);
|
|
150
|
-
await rename(path, retired.path);
|
|
151
|
-
await this.#syncRenameBoundary(retired.directory, sourceDirectory, operation);
|
|
152
|
-
await proveAuthority(retired.path, expected, `Retired ${description}`);
|
|
153
|
-
await this.operations.faultInjector?.({ evidence, operation,
|
|
154
|
-
path: retired.path, phase: "before-logical-retirement" });
|
|
155
|
-
await proveAuthority(retired.path, expected, `Retired ${description}`);
|
|
156
|
-
const terminalRoot = join(this.#parent, `${this.#canonicalName}.completed-document-evidence`);
|
|
157
|
-
const terminalAuthority = await ensureTerminalEvidenceDirectory(terminalRoot);
|
|
158
|
-
await this.#syncDirectory(this.#parent, operation, "state-parent");
|
|
159
|
-
const terminalDirectory = join(terminalRoot, basename(retired.directory));
|
|
160
|
-
await assertTerminalEvidenceDirectory(terminalAuthority);
|
|
161
|
-
await rename(retired.directory, terminalDirectory);
|
|
162
|
-
await this.#syncDirectory(terminalRoot, operation, "destination");
|
|
163
|
-
if (sourceDirectory !== this.#parent) {
|
|
164
|
-
await assertTerminalEvidenceDirectory(terminalAuthority);
|
|
165
|
-
await rename(sourceDirectory, join(terminalRoot, `${basename(sourceDirectory)}.empty`));
|
|
166
|
-
await this.#syncDirectory(terminalRoot, operation, "destination");
|
|
167
|
-
}
|
|
168
|
-
await this.#syncDirectory(this.#parent, operation, "state-parent");
|
|
169
|
-
}
|
|
170
|
-
async #prepareCandidate(envelope) {
|
|
171
|
-
const bytes = await canonicalEnvelopeBytes(envelope);
|
|
172
|
-
let handle;
|
|
173
|
-
try {
|
|
174
|
-
handle = await open(this.#candidatePath, "wx", 0o600);
|
|
175
|
-
}
|
|
176
|
-
catch (error) {
|
|
177
|
-
if (errorCode(error) === "EEXIST") {
|
|
178
|
-
throw new NodeDocumentJournalStoreError("Document journal transition candidate already exists and was preserved.", { cause: error });
|
|
179
|
-
}
|
|
180
|
-
throw error;
|
|
181
|
-
}
|
|
182
|
-
let authority;
|
|
183
|
-
try {
|
|
184
|
-
authority = {
|
|
185
|
-
authorityDigest: contentDigest(bytes),
|
|
186
|
-
identity: journalIdentity(await captureFileHandleIdentity(handle))
|
|
187
|
-
};
|
|
188
|
-
await handle.writeFile(bytes);
|
|
189
|
-
await handle.sync();
|
|
190
|
-
}
|
|
191
|
-
finally {
|
|
192
|
-
await handle.close();
|
|
193
|
-
}
|
|
194
|
-
await proveAuthority(this.#candidatePath, authority, "Document journal transition candidate");
|
|
195
|
-
await syncDirectoryStrictly(this.#parent);
|
|
196
|
-
await this.operations.faultInjector?.({ phase: "after-candidate-synced" });
|
|
197
|
-
return authority;
|
|
198
|
-
}
|
|
199
|
-
async read() {
|
|
200
|
-
await this.#assertNoTransitionEvidence();
|
|
201
|
-
let record;
|
|
202
|
-
try {
|
|
203
|
-
record = await readBoundedRegularFile(this.journalPath, maximumJournalBytes);
|
|
204
|
-
}
|
|
205
|
-
catch (error) {
|
|
206
|
-
if (errorCode(error) === "ENOENT") {
|
|
207
|
-
return undefined;
|
|
208
|
-
}
|
|
209
|
-
throw error;
|
|
210
|
-
}
|
|
211
|
-
if (record.outcome !== "read") {
|
|
212
|
-
throw new NodeDocumentJournalStoreError("Document journal is not a stable bounded regular file.");
|
|
213
|
-
}
|
|
214
|
-
let envelope;
|
|
215
|
-
try {
|
|
216
|
-
envelope = await assertDocumentTransactionEnvelope(parseStrictJson(strictUtf8.decode(record.bytes)));
|
|
217
|
-
}
|
|
218
|
-
catch (error) {
|
|
219
|
-
throw new NodeDocumentJournalStoreError("Document journal contains invalid strict canonical JSON.", { cause: error });
|
|
220
|
-
}
|
|
221
|
-
if (!record.bytes.equals(await canonicalEnvelopeBytes(envelope))) {
|
|
222
|
-
throw new NodeDocumentJournalStoreError("Document journal JSON is not in canonical byte form.");
|
|
223
|
-
}
|
|
224
|
-
return {
|
|
225
|
-
envelope,
|
|
226
|
-
authority: {
|
|
227
|
-
authorityDigest: contentDigest(record.bytes),
|
|
228
|
-
identity: journalIdentity(record.identity)
|
|
229
|
-
}
|
|
230
|
-
};
|
|
231
|
-
}
|
|
232
|
-
async stabilizeForReconciliation() {
|
|
233
|
-
await this.operations.faultInjector?.({
|
|
234
|
-
phase: "before-reconciliation-directory-sync"
|
|
235
|
-
});
|
|
236
|
-
await syncDirectoryStrictly(this.#parent);
|
|
237
|
-
await this.#assertNoTransitionEvidence();
|
|
238
|
-
return this.read();
|
|
239
|
-
}
|
|
240
|
-
async create(envelope) {
|
|
241
|
-
await this.#assertNoTransitionEvidence();
|
|
242
|
-
if (await documentJournalSlotExists(this.journalPath, maximumJournalBytes)) {
|
|
243
|
-
throw new NodeDocumentJournalStoreError("Canonical document journal slot is occupied; it was preserved.");
|
|
244
|
-
}
|
|
245
|
-
const authority = await this.#prepareCandidate(envelope);
|
|
246
|
-
try {
|
|
247
|
-
await link(this.#candidatePath, this.journalPath);
|
|
248
|
-
}
|
|
249
|
-
catch (error) {
|
|
250
|
-
throw new NodeDocumentJournalStoreError("Canonical document journal slot is occupied; transition evidence was preserved.", { cause: error });
|
|
251
|
-
}
|
|
252
|
-
await proveAuthority(this.journalPath, authority, "Canonical document journal");
|
|
253
|
-
await syncDirectoryStrictly(this.#parent);
|
|
254
|
-
await this.operations.faultInjector?.({ phase: "after-canonical-published" });
|
|
255
|
-
await this.#retireOwnedEvidence(this.#candidatePath, authority, "create", "candidate", "Document journal transition candidate");
|
|
256
|
-
await proveAuthority(this.journalPath, authority, "Canonical document journal");
|
|
257
|
-
await this.operations.faultInjector?.({
|
|
258
|
-
operation: "create",
|
|
259
|
-
phase: "before-final-directory-sync"
|
|
260
|
-
});
|
|
261
|
-
await syncDirectoryStrictly(this.#parent);
|
|
262
|
-
return authority;
|
|
263
|
-
}
|
|
264
|
-
async replace(request) {
|
|
265
|
-
await this.#assertNoTransitionEvidence();
|
|
266
|
-
const expected = request.expectedAuthority;
|
|
267
|
-
await proveAuthority(this.journalPath, expected, "Canonical document journal");
|
|
268
|
-
const candidateIdentity = await this.#prepareCandidate(request.envelope);
|
|
269
|
-
await proveAuthority(this.journalPath, expected, "Canonical document journal");
|
|
270
|
-
const quarantine = await createPrivateEvidencePath(this.#parent, quarantineName(this.#canonicalName, expected.identity));
|
|
271
|
-
await this.operations.faultInjector?.({
|
|
272
|
-
operation: "replace",
|
|
273
|
-
path: this.journalPath,
|
|
274
|
-
phase: "before-shared-quarantine"
|
|
275
|
-
});
|
|
276
|
-
await proveAuthority(this.journalPath, expected, "Canonical document journal");
|
|
277
|
-
try {
|
|
278
|
-
await rename(this.journalPath, quarantine.path);
|
|
279
|
-
}
|
|
280
|
-
catch (error) {
|
|
281
|
-
throw new NodeDocumentJournalStoreError("Document journal could not enter its verified quarantine transition; evidence was preserved.", { cause: error });
|
|
282
|
-
}
|
|
283
|
-
await this.#syncRenameBoundary(quarantine.directory, this.#parent, "replace");
|
|
284
|
-
await proveAuthority(quarantine.path, expected, "Quarantined document journal");
|
|
285
|
-
await this.operations.faultInjector?.({
|
|
286
|
-
phase: "after-canonical-quarantined"
|
|
287
|
-
});
|
|
288
|
-
try {
|
|
289
|
-
await link(this.#candidatePath, this.journalPath);
|
|
290
|
-
}
|
|
291
|
-
catch (error) {
|
|
292
|
-
throw new NodeDocumentJournalStoreError("Canonical document journal slot changed during transition; all evidence was preserved.", { cause: error });
|
|
293
|
-
}
|
|
294
|
-
await proveAuthority(this.journalPath, candidateIdentity, "Replacement document journal");
|
|
295
|
-
await syncDirectoryStrictly(this.#parent);
|
|
296
|
-
await this.operations.faultInjector?.({ phase: "after-canonical-published" });
|
|
297
|
-
await this.#retireOwnedEvidence(this.#candidatePath, candidateIdentity, "replace", "candidate", "Document journal transition candidate");
|
|
298
|
-
await this.#retireOwnedEvidence(quarantine.path, expected, "replace", "quarantine", "Quarantined document journal");
|
|
299
|
-
await proveAuthority(this.journalPath, candidateIdentity, "Replacement document journal");
|
|
300
|
-
await this.operations.faultInjector?.({
|
|
301
|
-
operation: "replace",
|
|
302
|
-
phase: "before-final-directory-sync"
|
|
303
|
-
});
|
|
304
|
-
await syncDirectoryStrictly(this.#parent);
|
|
305
|
-
await this.operations.faultInjector?.({ phase: "after-quarantine-removed" });
|
|
306
|
-
return candidateIdentity;
|
|
307
|
-
}
|
|
308
|
-
async remove(expectedAuthority) {
|
|
309
|
-
await this.#assertNoTransitionEvidence();
|
|
310
|
-
await proveAuthority(this.journalPath, expectedAuthority, "Canonical document journal");
|
|
311
|
-
const quarantine = await createPrivateEvidencePath(this.#parent, quarantineName(this.#canonicalName, expectedAuthority.identity));
|
|
312
|
-
await proveAuthority(this.journalPath, expectedAuthority, "Canonical document journal");
|
|
313
|
-
await this.operations.faultInjector?.({
|
|
314
|
-
operation: "remove",
|
|
315
|
-
path: this.journalPath,
|
|
316
|
-
phase: "before-shared-quarantine"
|
|
317
|
-
});
|
|
318
|
-
await proveAuthority(this.journalPath, expectedAuthority, "Canonical document journal");
|
|
319
|
-
try {
|
|
320
|
-
await rename(this.journalPath, quarantine.path);
|
|
321
|
-
}
|
|
322
|
-
catch (error) {
|
|
323
|
-
throw new NodeDocumentJournalStoreError("Document journal could not enter its verified removal quarantine.", { cause: error });
|
|
324
|
-
}
|
|
325
|
-
await this.#syncRenameBoundary(quarantine.directory, this.#parent, "remove");
|
|
326
|
-
await proveAuthority(quarantine.path, expectedAuthority, "Quarantined document journal");
|
|
327
|
-
await this.operations.faultInjector?.({
|
|
328
|
-
phase: "after-canonical-quarantined"
|
|
329
|
-
});
|
|
330
|
-
await this.#retireOwnedEvidence(quarantine.path, expectedAuthority, "remove", "quarantine", "Quarantined document journal");
|
|
331
|
-
await this.operations.faultInjector?.({
|
|
332
|
-
operation: "remove",
|
|
333
|
-
phase: "before-final-directory-sync"
|
|
334
|
-
});
|
|
335
|
-
await syncDirectoryStrictly(this.#parent);
|
|
336
|
-
await this.operations.faultInjector?.({ phase: "after-quarantine-removed" });
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
//# sourceMappingURL=node-document-journal-store.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node-document-journal-store.js","sourceRoot":"","sources":["../../../../src/document-authoring/adapters/node/node-document-journal-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAmB,MAAM,kBAAkB,CAAC;AACvF,OAAO,EAA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OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,6BAA6B,CACrC,mEAAmE,EACnE,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;QACJ,CAAC;QACD,MAAM,IAAI,CAAC,mBAAmB,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAC7E,MAAM,cAAc,CAClB,UAAU,CAAC,IAAI,EACf,iBAAiB,EACjB,8BAA8B,CAC/B,CAAC;QACF,MAAM,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,CAAC;YACpC,KAAK,EAAE,6BAA6B;SACrC,CAAC,CAAC;QACH,MAAM,IAAI,CAAC,oBAAoB,CAC7B,UAAU,CAAC,IAAI,EACf,iBAAiB,EACjB,QAAQ,EACR,YAAY,EACZ,8BAA8B,CAC/B,CAAC;QACF,MAAM,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,CAAC;YACpC,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,6BAA6B;SACrC,CAAC,CAAC;QACH,MAAM,qBAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,MAAM,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,CAAC,EAAE,KAAK,EAAE,0BAA0B,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { DocumentMetadataSidecarReader, DocumentMetadataSidecarSnapshot } from "../../application/ports/document-metadata-sidecar-reader.js";
|
|
2
|
-
export declare class NodeDocumentMetadataSidecarReader implements DocumentMetadataSidecarReader {
|
|
3
|
-
read(request: {
|
|
4
|
-
readonly consumerRoot: string;
|
|
5
|
-
readonly path: string;
|
|
6
|
-
readonly signal?: AbortSignal;
|
|
7
|
-
}): Promise<DocumentMetadataSidecarSnapshot>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=node-document-metadata-sidecar-reader.d.ts.map
|
package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node-document-metadata-sidecar-reader.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/adapters/node/node-document-metadata-sidecar-reader.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,6BAA6B,EAC7B,+BAA+B,EAChC,MAAM,6DAA6D,CAAC;AAkFrE,qBAAa,iCACX,YAAW,6BAA6B;IAElC,IAAI,CAAC,OAAO,EAAE;QAClB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;KAC/B,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAU3C;CACF"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { CapabilityInputError } from "../../../capability-runtime.js";
|
|
2
|
-
import { assertNotCancelled } from "../../../cancellation.js";
|
|
3
|
-
import { parseStrictYamlSource } from "../../../strict-yaml.js";
|
|
4
|
-
import { compareBinaryStrings } from "../../../binary-string-comparator.js";
|
|
5
|
-
import { isDocumentRepositoryPath } from "../../application/policies/document-repository-path.js";
|
|
6
|
-
import { CatalogMetadataProjectionError, projectCatalogMetadata } from "../../application/policies/project-catalog-metadata.js";
|
|
7
|
-
import { DocumentCatalogError } from "../../document-catalog-error.js";
|
|
8
|
-
import { readDocumentAuthorityFile } from "./read-document-authority-file.js";
|
|
9
|
-
const MAXIMUM_SIDECAR_BYTES = 1024 * 1024;
|
|
10
|
-
const MAXIMUM_SIDECAR_DOCUMENTS = 10_000;
|
|
11
|
-
function isRecord(value) {
|
|
12
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
13
|
-
}
|
|
14
|
-
function invalidSidecar(message, cause) {
|
|
15
|
-
throw new DocumentCatalogError("DOCUMENT_CATALOG_INPUT_INVALID", `Document metadata sidecar is invalid: ${message}`, cause === undefined ? undefined : { cause });
|
|
16
|
-
}
|
|
17
|
-
function projectDocuments(value) {
|
|
18
|
-
if (!isRecord(value)) {
|
|
19
|
-
invalidSidecar("documents must be a mapping.");
|
|
20
|
-
}
|
|
21
|
-
const paths = Reflect.ownKeys(value);
|
|
22
|
-
if (paths.some((path) => typeof path !== "string")) {
|
|
23
|
-
invalidSidecar("document paths must be strings.");
|
|
24
|
-
}
|
|
25
|
-
if (paths.length > MAXIMUM_SIDECAR_DOCUMENTS) {
|
|
26
|
-
invalidSidecar(`documents exceeds ${MAXIMUM_SIDECAR_DOCUMENTS} entries.`);
|
|
27
|
-
}
|
|
28
|
-
const projected = {};
|
|
29
|
-
for (const path of paths.toSorted(compareBinaryStrings)) {
|
|
30
|
-
if (!isDocumentRepositoryPath(path) || !path.toLowerCase().endsWith(".md")) {
|
|
31
|
-
invalidSidecar(`document path is not portable Markdown: ${path}.`);
|
|
32
|
-
}
|
|
33
|
-
const descriptor = Object.getOwnPropertyDescriptor(value, path);
|
|
34
|
-
if (descriptor === undefined ||
|
|
35
|
-
!("value" in descriptor) ||
|
|
36
|
-
descriptor.enumerable !== true) {
|
|
37
|
-
invalidSidecar("documents must contain enumerable own data properties.");
|
|
38
|
-
}
|
|
39
|
-
try {
|
|
40
|
-
projected[path] = projectCatalogMetadata(descriptor.value);
|
|
41
|
-
}
|
|
42
|
-
catch (error) {
|
|
43
|
-
if (error instanceof CatalogMetadataProjectionError) {
|
|
44
|
-
invalidSidecar(`${path}: ${error.message}`, error);
|
|
45
|
-
}
|
|
46
|
-
throw error;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return Object.freeze(projected);
|
|
50
|
-
}
|
|
51
|
-
function parseSidecar(source) {
|
|
52
|
-
let input;
|
|
53
|
-
try {
|
|
54
|
-
input = parseStrictYamlSource(source, "document-metadata-sidecar");
|
|
55
|
-
}
|
|
56
|
-
catch (error) {
|
|
57
|
-
if (error instanceof CapabilityInputError) {
|
|
58
|
-
invalidSidecar(error.message, error);
|
|
59
|
-
}
|
|
60
|
-
throw error;
|
|
61
|
-
}
|
|
62
|
-
if (!isRecord(input)) {
|
|
63
|
-
invalidSidecar("root must be an object.");
|
|
64
|
-
}
|
|
65
|
-
const keys = Object.keys(input).toSorted(compareBinaryStrings);
|
|
66
|
-
if (keys.length !== 2 ||
|
|
67
|
-
keys[0] !== "contract" ||
|
|
68
|
-
keys[1] !== "documents" ||
|
|
69
|
-
input["contract"] !== "foundation.document-metadata-sidecar/v1") {
|
|
70
|
-
invalidSidecar("root must contain only contract foundation.document-metadata-sidecar/v1 and documents.");
|
|
71
|
-
}
|
|
72
|
-
return projectDocuments(input["documents"]);
|
|
73
|
-
}
|
|
74
|
-
export class NodeDocumentMetadataSidecarReader {
|
|
75
|
-
async read(request) {
|
|
76
|
-
assertNotCancelled(request.signal);
|
|
77
|
-
const file = await readDocumentAuthorityFile({
|
|
78
|
-
consumerRoot: request.consumerRoot,
|
|
79
|
-
maxBytes: MAXIMUM_SIDECAR_BYTES,
|
|
80
|
-
path: request.path
|
|
81
|
-
});
|
|
82
|
-
const documents = parseSidecar(file.source);
|
|
83
|
-
assertNotCancelled(request.signal);
|
|
84
|
-
return Object.freeze({ documents, evidence: file.evidence });
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
//# sourceMappingURL=node-document-metadata-sidecar-reader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node-document-metadata-sidecar-reader.js","sourceRoot":"","sources":["../../../../src/document-authoring/adapters/node/node-document-metadata-sidecar-reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,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EAAE,CAAC;QACrB,cAAc,CAAC,yBAAyB,CAAC,CAAC;IAC5C,CAAC;IACD,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IAC/D,IACE,IAAI,CAAC,MAAM,KAAK,CAAC;QACjB,IAAI,CAAC,CAAC,CAAC,KAAK,UAAU;QACtB,IAAI,CAAC,CAAC,CAAC,KAAK,WAAW;QACvB,KAAK,CAAC,UAAU,CAAC,KAAK,yCAAyC,EAC/D,CAAC;QACD,cAAc,CACZ,wFAAwF,CACzF,CAAC;IACJ,CAAC;IACD,OAAO,gBAAgB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,OAAO,iCAAiC;IAG5C,KAAK,CAAC,IAAI,CAAC,OAIV;QACC,kBAAkB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACnC,MAAM,IAAI,GAAG,MAAM,yBAAyB,CAAC;YAC3C,YAAY,EAAE,OAAO,CAAC,YAAY;YAClC,QAAQ,EAAE,qBAAqB;YAC/B,IAAI,EAAE,OAAO,CAAC,IAAI;SACnB,CAAC,CAAC;QACH,MAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC5C,kBAAkB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACnC,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC/D,CAAC;CACF"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { type DocumentPhysicalIdentity } from "../../application/model/document-physical-identity.js";
|
|
2
|
-
import type { DocumentCreatedDirectoryEvidenceV2, DocumentParentMaterializationInspectionV2, DocumentParentMaterializationJournalV2, DocumentParentMaterializationPlanV2 } from "../../application/model/document-parent-materialization.js";
|
|
3
|
-
import { type NodePathAuthorityOperations } from "./node-path-authority.js";
|
|
4
|
-
interface Operations extends NodePathAuthorityOperations {
|
|
5
|
-
readonly mkdir: (path: string, options: {
|
|
6
|
-
readonly mode: number;
|
|
7
|
-
}) => Promise<void>;
|
|
8
|
-
readonly syncDirectory: (path: string) => Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
export declare function planDocumentParentMaterializationV2(request: {
|
|
11
|
-
readonly consumerRoot: string;
|
|
12
|
-
readonly destination: string;
|
|
13
|
-
readonly signal?: AbortSignal;
|
|
14
|
-
}): Promise<DocumentParentMaterializationPlanV2>;
|
|
15
|
-
export declare class NodeDocumentParentMaterializerV2 {
|
|
16
|
-
#private;
|
|
17
|
-
constructor(overrides?: Partial<Operations>);
|
|
18
|
-
begin(request: {
|
|
19
|
-
readonly consumerRoot: string;
|
|
20
|
-
readonly plan: DocumentParentMaterializationPlanV2;
|
|
21
|
-
}): Promise<DocumentParentMaterializationJournalV2>;
|
|
22
|
-
inspect(request: {
|
|
23
|
-
readonly consumerRoot: string;
|
|
24
|
-
readonly journal: DocumentParentMaterializationJournalV2;
|
|
25
|
-
}): Promise<DocumentParentMaterializationInspectionV2>;
|
|
26
|
-
createNext(request: {
|
|
27
|
-
readonly consumerRoot: string;
|
|
28
|
-
readonly journal: DocumentParentMaterializationJournalV2;
|
|
29
|
-
readonly signal?: AbortSignal;
|
|
30
|
-
}): Promise<DocumentCreatedDirectoryEvidenceV2 | undefined>;
|
|
31
|
-
createAndBindOne(request: {
|
|
32
|
-
readonly consumerRoot: string;
|
|
33
|
-
readonly expectedParentIdentity: DocumentPhysicalIdentity;
|
|
34
|
-
readonly path: string;
|
|
35
|
-
readonly bindCreatedDirectory: (evidence: DocumentCreatedDirectoryEvidenceV2) => Promise<void>;
|
|
36
|
-
}): Promise<void>;
|
|
37
|
-
}
|
|
38
|
-
export {};
|
|
39
|
-
//# sourceMappingURL=node-document-parent-materializer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node-document-parent-mater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