@agent-teams/engineering-foundation 0.21.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +185 -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 +163 -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 +31 -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 +298 -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/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 +200 -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 +146 -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 +9 -0
- package/dist/workspace-inventory/application/model/workspace-inventory.d.ts.map +1 -1
- 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,154 +0,0 @@
|
|
|
1
|
-
import { isDocumentRepositoryPath } from "./document-repository-path.js";
|
|
2
|
-
import { DocumentPlanningPolicyError } from "./document-planning-policy-error.js";
|
|
3
|
-
const SLUG = /^[a-z0-9]+(?:-[a-z0-9]+)*$/u;
|
|
4
|
-
const QUALIFIED_SEGMENT = /^[a-z][a-z0-9-]*$/u;
|
|
5
|
-
export function selectDocumentArtifact(profile, type) {
|
|
6
|
-
const matches = profile.artifactTypes.filter((artifact) => artifact.type === type);
|
|
7
|
-
if (matches.length !== 1) {
|
|
8
|
-
throw new DocumentPlanningPolicyError("invalid-artifact-type", `Document type must select exactly one artifact: ${type}.`);
|
|
9
|
-
}
|
|
10
|
-
return matches[0];
|
|
11
|
-
}
|
|
12
|
-
function derivedSlug(title) {
|
|
13
|
-
return title
|
|
14
|
-
.normalize("NFKD")
|
|
15
|
-
.replace(/[\u0300-\u036f]/gu, "")
|
|
16
|
-
.toLowerCase()
|
|
17
|
-
.replace(/[^a-z0-9]+/gu, "-")
|
|
18
|
-
.replace(/^-|-$/gu, "");
|
|
19
|
-
}
|
|
20
|
-
function resolveSlug(intent) {
|
|
21
|
-
const slug = intent.slug ?? derivedSlug(intent.title);
|
|
22
|
-
if (!SLUG.test(slug)) {
|
|
23
|
-
throw new DocumentPlanningPolicyError(intent.slug === undefined ? "missing-slug" : "invalid-slug", "Document collection placement requires a valid non-empty filename slug.");
|
|
24
|
-
}
|
|
25
|
-
return slug;
|
|
26
|
-
}
|
|
27
|
-
function assertIdentity(artifact, id) {
|
|
28
|
-
const identity = artifact.identity;
|
|
29
|
-
if (identity.format === "adr-four-digits") {
|
|
30
|
-
if (!/^ADR-[0-9]{4}$/u.test(id)) {
|
|
31
|
-
throw new DocumentPlanningPolicyError("invalid-identity", "Document ID is not ADR-NNNN.");
|
|
32
|
-
}
|
|
33
|
-
return [];
|
|
34
|
-
}
|
|
35
|
-
if (identity.format === "open-decision-three-digits") {
|
|
36
|
-
if (!/^OD-[0-9]{3}$/u.test(id)) {
|
|
37
|
-
throw new DocumentPlanningPolicyError("invalid-identity", "Document ID is not OD-NNN.");
|
|
38
|
-
}
|
|
39
|
-
return [];
|
|
40
|
-
}
|
|
41
|
-
if (!("grammar" in identity)) {
|
|
42
|
-
throw new DocumentPlanningPolicyError("invalid-identity", "Document identity format is unsupported.");
|
|
43
|
-
}
|
|
44
|
-
const segments = id.split(".");
|
|
45
|
-
const grammar = identity.grammar;
|
|
46
|
-
const prefix = grammar.prefixSegments;
|
|
47
|
-
const suffix = segments.slice(prefix.length);
|
|
48
|
-
if (prefix.length === 0 ||
|
|
49
|
-
prefix.some((segment) => !QUALIFIED_SEGMENT.test(segment)) ||
|
|
50
|
-
grammar.minSuffixSegments < 1 ||
|
|
51
|
-
grammar.minSuffixSegments > grammar.maxSuffixSegments ||
|
|
52
|
-
segments.some((segment) => !QUALIFIED_SEGMENT.test(segment)) ||
|
|
53
|
-
prefix.some((segment, index) => segments[index] !== segment) ||
|
|
54
|
-
suffix.length < grammar.minSuffixSegments ||
|
|
55
|
-
suffix.length > grammar.maxSuffixSegments) {
|
|
56
|
-
throw new DocumentPlanningPolicyError("invalid-identity", "Document ID does not match its qualified identity grammar.");
|
|
57
|
-
}
|
|
58
|
-
return suffix;
|
|
59
|
-
}
|
|
60
|
-
function assertNoDestination(intent) {
|
|
61
|
-
if (intent.destination !== undefined) {
|
|
62
|
-
throw new DocumentPlanningPolicyError("invalid-destination", "Selected placement forbids an explicit destination.");
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
function collectionDestination(artifact, intent) {
|
|
66
|
-
const placement = artifact.placement;
|
|
67
|
-
if (placement.kind !== "collection") {
|
|
68
|
-
throw new DocumentPlanningPolicyError("invalid-destination", "Invalid collection placement.");
|
|
69
|
-
}
|
|
70
|
-
assertNoDestination(intent);
|
|
71
|
-
if (placement.filename === "README.md") {
|
|
72
|
-
if (intent.slug !== undefined) {
|
|
73
|
-
throw new DocumentPlanningPolicyError("invalid-slug", "README placement forbids a slug.");
|
|
74
|
-
}
|
|
75
|
-
return { destination: `${placement.directory}/README.md` };
|
|
76
|
-
}
|
|
77
|
-
const slug = resolveSlug(intent);
|
|
78
|
-
const basename = placement.filename === "numeric-id-slug"
|
|
79
|
-
? `${intent.id.slice(4)}-${slug}.md`
|
|
80
|
-
: placement.filename === "id-slug"
|
|
81
|
-
? `${intent.id}-${slug}.md`
|
|
82
|
-
: `${slug}.md`;
|
|
83
|
-
return { destination: `${placement.directory}/${basename}`, slug };
|
|
84
|
-
}
|
|
85
|
-
function isPrefix(root, path) {
|
|
86
|
-
return path === root || path.startsWith(`${root}/`);
|
|
87
|
-
}
|
|
88
|
-
function explicitDestination(artifact, intent) {
|
|
89
|
-
const placement = artifact.placement;
|
|
90
|
-
if (placement.kind !== "explicit") {
|
|
91
|
-
throw new DocumentPlanningPolicyError("invalid-destination", "Invalid explicit placement.");
|
|
92
|
-
}
|
|
93
|
-
if (intent.slug !== undefined) {
|
|
94
|
-
throw new DocumentPlanningPolicyError("invalid-slug", "Explicit placement forbids a slug.");
|
|
95
|
-
}
|
|
96
|
-
const destination = intent.destination;
|
|
97
|
-
if (destination === undefined) {
|
|
98
|
-
throw new DocumentPlanningPolicyError("missing-destination", "Explicit placement requires a destination.");
|
|
99
|
-
}
|
|
100
|
-
const matchedRoots = placement.allowedRoots.filter((root) => isPrefix(root, destination));
|
|
101
|
-
const segments = destination.split("/");
|
|
102
|
-
if (!isDocumentRepositoryPath(destination) ||
|
|
103
|
-
matchedRoots.length !== 1 ||
|
|
104
|
-
segments.at(-1) !== placement.requiredBasename) {
|
|
105
|
-
throw new DocumentPlanningPolicyError("invalid-destination", "Destination is outside explicit placement authority.");
|
|
106
|
-
}
|
|
107
|
-
const root = matchedRoots[0];
|
|
108
|
-
const directories = segments.slice(root.split("/").length, -1);
|
|
109
|
-
const required = placement.requiredSegmentsInOrder;
|
|
110
|
-
const validSequence = directories.some((_segment, start) => start >= placement.minimumSegmentsBeforeRequired &&
|
|
111
|
-
directories.length - start - required.length >= placement.minimumSegmentsAfterRequired &&
|
|
112
|
-
required.every((segment, offset) => directories[start + offset] === segment));
|
|
113
|
-
if (!validSequence) {
|
|
114
|
-
throw new DocumentPlanningPolicyError("invalid-destination", "Destination does not satisfy the explicit placement shape.");
|
|
115
|
-
}
|
|
116
|
-
return destination;
|
|
117
|
-
}
|
|
118
|
-
export function resolveDocumentAuthoring(input) {
|
|
119
|
-
const { artifact, intent } = input;
|
|
120
|
-
const suffix = assertIdentity(artifact, intent.id);
|
|
121
|
-
let resolution;
|
|
122
|
-
if (artifact.placement.kind === "collection") {
|
|
123
|
-
if (artifact.placement.filename === "numeric-id-slug" &&
|
|
124
|
-
artifact.identity.format !== "adr-four-digits") {
|
|
125
|
-
throw new DocumentPlanningPolicyError("invalid-identity", "Numeric filename placement requires ADR identity.");
|
|
126
|
-
}
|
|
127
|
-
resolution = collectionDestination(artifact, intent);
|
|
128
|
-
}
|
|
129
|
-
else if (artifact.placement.kind === "qualified-leaf-index") {
|
|
130
|
-
if (artifact.identity.format !== "qualified") {
|
|
131
|
-
throw new DocumentPlanningPolicyError("invalid-identity", "Qualified leaf placement requires qualified identity.");
|
|
132
|
-
}
|
|
133
|
-
assertNoDestination(intent);
|
|
134
|
-
if (intent.slug !== undefined) {
|
|
135
|
-
throw new DocumentPlanningPolicyError("invalid-slug", "Qualified leaf placement forbids a slug.");
|
|
136
|
-
}
|
|
137
|
-
resolution = {
|
|
138
|
-
destination: `${artifact.placement.root}/${suffix.join("/")}/${artifact.placement.requiredBasename}`
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
else {
|
|
142
|
-
resolution = { destination: explicitDestination(artifact, intent) };
|
|
143
|
-
}
|
|
144
|
-
if (!isDocumentRepositoryPath(resolution.destination)) {
|
|
145
|
-
throw new DocumentPlanningPolicyError("invalid-destination", "Resolved destination is not a portable repository path.");
|
|
146
|
-
}
|
|
147
|
-
return Object.freeze({
|
|
148
|
-
artifact,
|
|
149
|
-
destination: resolution.destination,
|
|
150
|
-
heading: artifact.heading.kind === "title" ? intent.title : `${intent.id}: ${intent.title}`,
|
|
151
|
-
...(resolution.slug === undefined ? {} : { slug: resolution.slug })
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
//# sourceMappingURL=resolve-document-authoring.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-document-authoring.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/policies/resolve-document-authoring.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAElF,MAAM,IAAI,GAAG,6BAA6B,CAAC;AAC3C,MAAM,iBAAiB,GAAG,oBAAoB,CAAC;AAS/C,MAAM,UAAU,sBAAsB,CACpC,OAAwC,EACxC,IAAY;IAEZ,MAAM,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IACnF,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,2BAA2B,CACnC,uBAAuB,EACvB,mDAAmD,IAAI,GAAG,CAC3D,CAAC;IACJ,CAAC;IACD,OAAO,OAAO,CAAC,CAAC,CAAE,CAAC;AACrB,CAAC;AAED,SAAS,WAAW,CAAC,KAAa;IAChC,OAAO,KAA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9B,MAAM,IAAI,2BAA2B,CAAC,cAAc,EAAE,0CAA0C,CAAC,CAAC;QACpG,CAAC;QACD,UAAU,GAAG;YACX,WAAW,EAAE,GAAG,QAAQ,CAAC,SAAS,CAAC,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,SAAS,CAAC,gBAAgB,EAAE;SACrG,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,UAAU,GAAG,EAAE,WAAW,EAAE,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,CAAC;IACtE,CAAC;IACD,IAAI,CAAC,wBAAwB,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;QACtD,MAAM,IAAI,2BAA2B,CAAC,qBAAqB,EAAE,yDAAyD,CAAC,CAAC;IAC1H,CAAC;IACD,OAAO,MAAM,CAAC,MAAM,CAAC;QACnB,QAAQ;QACR,WAAW,EAAE,UAAU,CAAC,WAAW;QACnC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,EAAE,KAAK,MAAM,CAAC,KAAK,EAAE;QAC3F,GAAG,CAAC,UAAU,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,CAAC,IAAI,EAAE,CAAC;KACpE,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { DocumentationCatalogSnapshotContract } from "../model/document-catalog.js";
|
|
2
|
-
export declare function sameDocumentCatalogSnapshot(left: DocumentationCatalogSnapshotContract, right: DocumentationCatalogSnapshotContract): boolean;
|
|
3
|
-
//# sourceMappingURL=same-document-catalog-snapshot.d.ts.map
|
package/dist/document-authoring/application/policies/same-document-catalog-snapshot.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"same-document-catalog-snapshot.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/policies/same-document-catalog-snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,oCAAoC,EACrC,MAAM,8BAA8B,CAAC;AAkBtC,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,oCAAoC,EAC1C,KAAK,EAAE,oCAAoC,GAC1C,OAAO,CAUT"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
function sameEvidence(left, right) {
|
|
2
|
-
return left.path === right.path && left.digest === right.digest && left.size === right.size;
|
|
3
|
-
}
|
|
4
|
-
function authority(catalog) {
|
|
5
|
-
return [
|
|
6
|
-
catalog.authority.profile,
|
|
7
|
-
catalog.authority.metadataSchema,
|
|
8
|
-
catalog.authority.ownerCatalog,
|
|
9
|
-
...(catalog.authority.metadataSidecar === undefined
|
|
10
|
-
? [] : [catalog.authority.metadataSidecar])
|
|
11
|
-
];
|
|
12
|
-
}
|
|
13
|
-
export function sameDocumentCatalogSnapshot(left, right) {
|
|
14
|
-
const leftAuthority = authority(left);
|
|
15
|
-
const rightAuthority = authority(right);
|
|
16
|
-
return left.status === right.status && left.projectId === right.projectId &&
|
|
17
|
-
leftAuthority.length === rightAuthority.length &&
|
|
18
|
-
leftAuthority.every((entry, index) => sameEvidence(entry, rightAuthority[index])) &&
|
|
19
|
-
JSON.stringify(left.diagnostics) === JSON.stringify(right.diagnostics) &&
|
|
20
|
-
JSON.stringify(left.documents) === JSON.stringify(right.documents) &&
|
|
21
|
-
JSON.stringify(left.identityProjection) === JSON.stringify(right.identityProjection) &&
|
|
22
|
-
JSON.stringify(left.ownerIds) === JSON.stringify(right.ownerIds);
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=same-document-catalog-snapshot.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"same-document-catalog-snapshot.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/policies/same-document-catal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AClE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,kBAAkB,CAAC;QACpF,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AACrE,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { DocumentAuthorityEvidence } from "../model/document-catalog.js";
|
|
2
|
-
export type CatalogCollection = {
|
|
3
|
-
readonly kind: "frontmatter-readme";
|
|
4
|
-
readonly roots: readonly string[];
|
|
5
|
-
} | {
|
|
6
|
-
readonly kind: "markdown-tree";
|
|
7
|
-
readonly root: string;
|
|
8
|
-
};
|
|
9
|
-
export interface CatalogProfileSnapshot {
|
|
10
|
-
readonly artifactOwnerIds?: readonly {
|
|
11
|
-
readonly ids: readonly string[];
|
|
12
|
-
readonly type: string;
|
|
13
|
-
}[];
|
|
14
|
-
readonly collections: readonly CatalogCollection[];
|
|
15
|
-
readonly evidence: DocumentAuthorityEvidence;
|
|
16
|
-
readonly excludedPrefixes: readonly string[];
|
|
17
|
-
readonly metadataSchemaPath: string;
|
|
18
|
-
readonly metadataSidecar?: {
|
|
19
|
-
readonly kind: "path-metadata-map";
|
|
20
|
-
readonly path: string;
|
|
21
|
-
};
|
|
22
|
-
readonly ownerCatalog: {
|
|
23
|
-
readonly contract: "foundation.owner-map/v1";
|
|
24
|
-
readonly path: string;
|
|
25
|
-
};
|
|
26
|
-
readonly projectId: string;
|
|
27
|
-
readonly schemaVersion?: 1 | 2 | 3;
|
|
28
|
-
readonly templatePaths?: readonly string[];
|
|
29
|
-
}
|
|
30
|
-
export interface AuthoringProfileReader {
|
|
31
|
-
read(request: {
|
|
32
|
-
readonly consumerRoot: string;
|
|
33
|
-
readonly path: string;
|
|
34
|
-
readonly signal?: AbortSignal;
|
|
35
|
-
}): Promise<CatalogProfileSnapshot>;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=authoring-profile-reader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authoring-profile-reader.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/authoring-profile-reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GACzB;IACE,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CACnC,GACD;IACE,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB,CAAC;AAEN,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,SAAS;QACnC,QAAQ,CAAC,GAAG,EAAE,SAAS,MAAM,EAAE,CAAC;QAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;KACvB,EAAE,CAAC;IACJ,QAAQ,CAAC,WAAW,EAAE,SAAS,iBAAiB,EAAE,CAAC;IACnD,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;IAC7C,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,eAAe,CAAC,EAAE;QACzB,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;QACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,QAAQ,CAAC,YAAY,EAAE;QACrB,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;QAC7C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACnC,QAAQ,CAAC,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5C;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,OAAO,EAAE;QACZ,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,sBAAsB,CAAC,CAAC;CACrC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authoring-profile-reader.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/authoring-profile-reader.ts"],"names":[],"mappings":""}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
interface CanonicalFrontmatterArray extends ReadonlyArray<CanonicalFrontmatterValue> {
|
|
2
|
-
}
|
|
3
|
-
interface CanonicalFrontmatterMap extends Readonly<Record<string, CanonicalFrontmatterValue>> {
|
|
4
|
-
}
|
|
5
|
-
export type CanonicalFrontmatterValue = null | boolean | number | string | CanonicalFrontmatterArray | CanonicalFrontmatterMap;
|
|
6
|
-
export interface CanonicalFrontmatter {
|
|
7
|
-
readonly id: string;
|
|
8
|
-
readonly type: string;
|
|
9
|
-
readonly status: string;
|
|
10
|
-
readonly owner: string;
|
|
11
|
-
readonly summary: string;
|
|
12
|
-
readonly related?: readonly string[];
|
|
13
|
-
readonly additionalMetadata?: Readonly<Record<string, CanonicalFrontmatterValue>>;
|
|
14
|
-
}
|
|
15
|
-
export interface GovernedTemplateSkeleton {
|
|
16
|
-
readonly placeholderHeading: string;
|
|
17
|
-
readonly body: string;
|
|
18
|
-
}
|
|
19
|
-
export interface CanonicalDocumentInput {
|
|
20
|
-
readonly frontmatter: CanonicalFrontmatter;
|
|
21
|
-
readonly heading: string;
|
|
22
|
-
readonly template: GovernedTemplateSkeleton;
|
|
23
|
-
}
|
|
24
|
-
export interface CanonicalDocumentRenderer {
|
|
25
|
-
parseTemplate(source: string): GovernedTemplateSkeleton;
|
|
26
|
-
render(input: CanonicalDocumentInput): string;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=canonical-document-renderer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"canonical-document-renderer.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/canonical-document-renderer.ts"],"names":[],"mappings":"AAAA,UAAU,yBACR,SAAQ,aAAa,CAAC,yBAAyB,CAAC;CAAG;AAErD,UAAU,uBACR,SAAQ,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAC;CAAG;AAEhE,MAAM,MAAM,yBAAyB,GACjC,IAAI,GACJ,OAAO,GACP,MAAM,GACN,MAAM,GACN,yBAAyB,GACzB,uBAAuB,CAAC;AAE5B,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAC,CAAC;CACnF;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,WAAW,EAAE,oBAAoB,CAAC;IAC3C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAC;CAC7C;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,wBAAwB,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,sBAAsB,GAAG,MAAM,CAAC;CAC/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"canonical-document-renderer.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/canonical-document-renderer.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { DocumentPlanContract as DocumentPlan } from "../model/document-planning.js";
|
|
2
|
-
export type DocumentAuthorityAssessment = {
|
|
3
|
-
readonly state: "current";
|
|
4
|
-
readonly plan: DocumentPlan;
|
|
5
|
-
} | {
|
|
6
|
-
readonly state: "stale";
|
|
7
|
-
readonly reason: string;
|
|
8
|
-
} | {
|
|
9
|
-
readonly state: "unverifiable";
|
|
10
|
-
readonly reason: string;
|
|
11
|
-
};
|
|
12
|
-
export interface DocumentAuthorityRecompiler {
|
|
13
|
-
assess(request: {
|
|
14
|
-
readonly consumerRoot: string;
|
|
15
|
-
readonly plan: DocumentPlan;
|
|
16
|
-
readonly signal?: AbortSignal;
|
|
17
|
-
}): Promise<DocumentAuthorityAssessment>;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=document-authority-recompiler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-authority-recompiler.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-authority-recompiler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE1F,MAAM,MAAM,2BAA2B,GACnC;IAAE,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAA;CAAE,GAC1D;IAAE,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACpD;IAAE,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhE,MAAM,WAAW,2BAA2B;IAC1C,MAAM,CAAC,OAAO,EAAE;QACd,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;QAC5B,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;KAC/B,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;CAC1C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-authority-recompiler.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-authority-recompiler.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { DocumentIntent, DocumentPlanContract as DocumentPlan } from "../model/document-planning.js";
|
|
2
|
-
export interface DocumentContractValidator {
|
|
3
|
-
validateIntent(input: unknown): Promise<DocumentIntent>;
|
|
4
|
-
validatePlan(input: unknown): Promise<DocumentPlan>;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=document-contract-validator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-contract-validator.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-contract-validator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,oBAAoB,IAAI,YAAY,EACrC,MAAM,+BAA+B,CAAC;AAEvC,MAAM,WAAW,yBAAyB;IACxC,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;IACxD,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;CACrD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-contract-validator.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-contract-validator.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface DocumentEnvironmentInspection {
|
|
2
|
-
readonly installedFoundationVersion: string;
|
|
3
|
-
readonly installedFoundationBuildIdentity: string;
|
|
4
|
-
readonly filesystem: {
|
|
5
|
-
readonly basis: "platform-contract";
|
|
6
|
-
readonly strictDirectoryDurability: "platform-supported" | "platform-unsupported";
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export interface DocumentEnvironmentInspector {
|
|
10
|
-
inspect(consumerRoot: string, signal?: AbortSignal): Promise<DocumentEnvironmentInspection>;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=document-environment-inspector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-environment-inspector.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-environment-inspector.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,0BAA0B,EAAE,MAAM,CAAC;IAC5C,QAAQ,CAAC,gCAAgC,EAAE,MAAM,CAAC;IAClD,QAAQ,CAAC,UAAU,EAAE;QACnB,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;QACpC,QAAQ,CAAC,yBAAyB,EAC9B,oBAAoB,GACpB,sBAAsB,CAAC;KAC5B,CAAC;CACH;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,CACL,YAAY,EAAE,MAAM,EACpB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC3C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-environment-inspector.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-environment-inspector.ts"],"names":[],"mappings":""}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { DocumentOwnedTemporary } from "../model/document-transaction.js";
|
|
2
|
-
import type { DocumentPhysicalIdentity } from "../model/document-physical-identity.js";
|
|
3
|
-
import type { DocumentPlanContract as DocumentPlan } from "../model/document-planning.js";
|
|
4
|
-
export type DocumentDestinationState = {
|
|
5
|
-
readonly state: "absent";
|
|
6
|
-
} | {
|
|
7
|
-
readonly state: "exact";
|
|
8
|
-
readonly identity: DocumentPhysicalIdentity;
|
|
9
|
-
} | {
|
|
10
|
-
readonly state: "conflict";
|
|
11
|
-
readonly reason: string;
|
|
12
|
-
} | {
|
|
13
|
-
readonly state: "unverifiable";
|
|
14
|
-
readonly reason: string;
|
|
15
|
-
};
|
|
16
|
-
export type DocumentTemporaryState = {
|
|
17
|
-
readonly state: "absent";
|
|
18
|
-
} | {
|
|
19
|
-
readonly state: "owned-exact";
|
|
20
|
-
readonly temporary: DocumentOwnedTemporary;
|
|
21
|
-
} | {
|
|
22
|
-
readonly state: "conflict";
|
|
23
|
-
readonly reason: string;
|
|
24
|
-
} | {
|
|
25
|
-
readonly state: "unverifiable";
|
|
26
|
-
readonly reason: string;
|
|
27
|
-
};
|
|
28
|
-
export type DocumentDerivedTemporaryState = {
|
|
29
|
-
readonly state: "absent";
|
|
30
|
-
} | {
|
|
31
|
-
readonly state: "present";
|
|
32
|
-
readonly path: string;
|
|
33
|
-
readonly identity: DocumentPhysicalIdentity;
|
|
34
|
-
} | {
|
|
35
|
-
readonly state: "unverifiable";
|
|
36
|
-
readonly reason: string;
|
|
37
|
-
};
|
|
38
|
-
export interface DocumentFileState {
|
|
39
|
-
classifyDestination(request: {
|
|
40
|
-
readonly consumerRoot: string;
|
|
41
|
-
readonly plan: DocumentPlan;
|
|
42
|
-
readonly signal?: AbortSignal;
|
|
43
|
-
}): Promise<DocumentDestinationState>;
|
|
44
|
-
classifyTemporary(request: {
|
|
45
|
-
readonly consumerRoot: string;
|
|
46
|
-
readonly signal?: AbortSignal;
|
|
47
|
-
readonly temporary: DocumentOwnedTemporary;
|
|
48
|
-
}): Promise<DocumentTemporaryState>;
|
|
49
|
-
classifyDerivedTemporary(request: {
|
|
50
|
-
readonly consumerRoot: string;
|
|
51
|
-
readonly plan: DocumentPlan;
|
|
52
|
-
readonly signal?: AbortSignal;
|
|
53
|
-
}): Promise<DocumentDerivedTemporaryState>;
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=document-file-state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-file-state.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-file-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,KAAK,EAAE,oBAAoB,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE1F,MAAM,MAAM,wBAAwB,GAChC;IAAE,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAA;CAAE,GAC5B;IACE,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAC;CAC7C,GACD;IAAE,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACvD;IAAE,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhE,MAAM,MAAM,sBAAsB,GAC9B;IAAE,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAA;CAAE,GAC5B;IAAE,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,sBAAsB,CAAA;CAAE,GAC7E;IAAE,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;IAAC,QAAQ,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":"","sources":["../../../../src/document-authoring/application/ports/document-file-state.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { DocumentTransactionEnvelope } from "../model/document-transaction.js";
|
|
2
|
-
export interface JournalIdentity {
|
|
3
|
-
readonly adapter: "node-filesystem";
|
|
4
|
-
readonly version: 1;
|
|
5
|
-
readonly dev: string;
|
|
6
|
-
readonly ino: string;
|
|
7
|
-
readonly birthtimeNs: string;
|
|
8
|
-
}
|
|
9
|
-
export interface JournalAuthority {
|
|
10
|
-
readonly identity: JournalIdentity;
|
|
11
|
-
readonly authorityDigest: `sha256:${string}`;
|
|
12
|
-
}
|
|
13
|
-
export interface StoredDocumentJournal {
|
|
14
|
-
readonly envelope: DocumentTransactionEnvelope;
|
|
15
|
-
readonly authority: JournalAuthority;
|
|
16
|
-
}
|
|
17
|
-
export interface DocumentJournalStore {
|
|
18
|
-
read(): Promise<StoredDocumentJournal | undefined>;
|
|
19
|
-
/**
|
|
20
|
-
* Establishes a fresh durability boundary before reconciliation and returns
|
|
21
|
-
* a residue-free stable observation of the canonical slot.
|
|
22
|
-
*/
|
|
23
|
-
stabilizeForReconciliation(): Promise<StoredDocumentJournal | undefined>;
|
|
24
|
-
create(envelope: DocumentTransactionEnvelope): Promise<JournalAuthority>;
|
|
25
|
-
replace(request: {
|
|
26
|
-
readonly expectedAuthority: JournalAuthority;
|
|
27
|
-
readonly envelope: DocumentTransactionEnvelope;
|
|
28
|
-
}): Promise<JournalAuthority>;
|
|
29
|
-
remove(expectedAuthority: JournalAuthority): Promise<void>;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=document-journal-store.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-journal-store.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-journal-store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAEpF,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IACpC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;IACpB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,eAAe,EAAE,UAAU,MAAM,EAAE,CAAC;CAC9C;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,QAAQ,EAAE,2BAA2B,CAAC;IAC/C,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;CACtC;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,IAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACnD;;;OAGG;IACH,0BAA0B,IAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACzE,MAAM,CAAC,QAAQ,EAAE,2BAA2B,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACzE,OAAO,CAAC,OAAO,EAAE;QACf,QAAQ,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;QAC7C,QAAQ,CAAC,QAAQ,EAAE,2BAA2B,CAAC;KAChD,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC9B,MAAM,CAAC,iBAAiB,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-journal-store.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-journal-store.ts"],"names":[],"mappings":""}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { DocumentAuthorityEvidence, DocumentMetadataObject } from "../model/document-catalog.js";
|
|
2
|
-
export interface DocumentMetadataSidecarSnapshot {
|
|
3
|
-
readonly documents: Readonly<Record<string, DocumentMetadataObject>>;
|
|
4
|
-
readonly evidence: DocumentAuthorityEvidence;
|
|
5
|
-
}
|
|
6
|
-
export interface DocumentMetadataSidecarReader {
|
|
7
|
-
read(request: {
|
|
8
|
-
readonly consumerRoot: string;
|
|
9
|
-
readonly path: string;
|
|
10
|
-
readonly signal?: AbortSignal;
|
|
11
|
-
}): Promise<DocumentMetadataSidecarSnapshot>;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=document-metadata-sidecar-reader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-metadata-sidecar-reader.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-metadata-sidecar-reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,sBAAsB,EACvB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC,CAAC;IACrE,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;CAC9C;AAED,MAAM,WAAW,6BAA6B;IAC5C,IAAI,CAAC,OAAO,EAAE;QACZ,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,CAAC;CAC9C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-metadata-sidecar-reader.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-metadata-sidecar-reader.ts"],"names":[],"mappings":""}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { DocumentCreatedDirectoryEvidenceV2, DocumentParentMaterializationInspectionV2, DocumentParentMaterializationJournalV2, DocumentParentMaterializationPlanV2 } from "../model/document-parent-materialization.js";
|
|
2
|
-
import type { DocumentPhysicalIdentity } from "../model/document-physical-identity.js";
|
|
3
|
-
export interface DocumentParentMaterializerV2 {
|
|
4
|
-
begin(request: {
|
|
5
|
-
readonly consumerRoot: string;
|
|
6
|
-
readonly plan: DocumentParentMaterializationPlanV2;
|
|
7
|
-
}): Promise<DocumentParentMaterializationJournalV2>;
|
|
8
|
-
inspect(request: {
|
|
9
|
-
readonly consumerRoot: string;
|
|
10
|
-
readonly journal: DocumentParentMaterializationJournalV2;
|
|
11
|
-
}): Promise<DocumentParentMaterializationInspectionV2>;
|
|
12
|
-
createNext(request: {
|
|
13
|
-
readonly consumerRoot: string;
|
|
14
|
-
readonly journal: DocumentParentMaterializationJournalV2;
|
|
15
|
-
readonly signal?: AbortSignal;
|
|
16
|
-
}): Promise<DocumentCreatedDirectoryEvidenceV2 | undefined>;
|
|
17
|
-
createAndBindOne(request: {
|
|
18
|
-
readonly consumerRoot: string;
|
|
19
|
-
readonly expectedParentIdentity: DocumentPhysicalIdentity;
|
|
20
|
-
readonly path: string;
|
|
21
|
-
readonly bindCreatedDirectory: (evidence: DocumentCreatedDirectoryEvidenceV2) => Promise<void>;
|
|
22
|
-
}): Promise<void>;
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=document-parent-materializer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-parent-materializer.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-parent-materializer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kCAAkC,EAClC,yCAAyC,EACzC,sCAAsC,EACtC,mCAAmC,EACpC,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,MAAM,WAAW,4BAA4B;IAC3C,KAAK,CAAC,OAAO,EAAE;QACb,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,IAAI,EAAE,mCAAmC,CAAC;KACpD,GAAG,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACpD,OAAO,CAAC,OAAO,EAAE;QACf,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,OAAO,EAAE,sCAAsC,CAAC;KAC1D,GAAG,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACvD,UAAU,CAAC,OAAO,EAAE;QAClB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,OAAO,EAAE,sCAAsC,CAAC;QACzD,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;KAC/B,GAAG,OAAO,CAAC,kCAAkC,GAAG,SAAS,CAAC,CAAC;IAC5D,gBAAgB,CAAC,OAAO,EAAE;QACxB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,sBAAsB,EAAE,wBAAwB,CAAC;QAC1D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,QAAQ,CAAC,oBAAoB,EAAE,CAC7B,QAAQ,EAAE,kCAAkC,KACzC,OAAO,CAAC,IAAI,CAAC,CAAC;KACpB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-parent-materializer.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-parent-materializer.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { DocumentPlanningProfileSnapshot } from "../model/document-planning.js";
|
|
2
|
-
export interface DocumentPlanningProfileReader {
|
|
3
|
-
read(request: {
|
|
4
|
-
readonly consumerRoot: string;
|
|
5
|
-
readonly path: string;
|
|
6
|
-
readonly signal?: AbortSignal;
|
|
7
|
-
}): Promise<DocumentPlanningProfileSnapshot>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=document-planning-profile-reader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-planning-profile-reader.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-planning-profile-reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAErF,MAAM,WAAW,6BAA6B;IAC5C,IAAI,CAAC,OAAO,EAAE;QACZ,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,CAAC;CAC9C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-planning-profile-reader.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-planning-profile-reader.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { DocumentPlanningStateSnapshot } from "../model/document-planning.js";
|
|
2
|
-
export interface DocumentPlanningStateReader {
|
|
3
|
-
observe(request: {
|
|
4
|
-
readonly consumerRoot: string;
|
|
5
|
-
readonly destination: string;
|
|
6
|
-
readonly parentPolicy?: "create-missing-real-directories";
|
|
7
|
-
readonly signal?: AbortSignal;
|
|
8
|
-
}): Promise<DocumentPlanningStateSnapshot>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=document-planning-state-reader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-planning-state-reader.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-planning-state-reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAEnF,MAAM,WAAW,2BAA2B;IAC1C,OAAO,CAAC,OAAO,EAAE;QACf,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,YAAY,CAAC,EAAE,iCAAiC,CAAC;QAC1D,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;KAC/B,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC5C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-planning-state-reader.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/ports/document-planning-state-reader.ts"],"names":[],"mappings":""}
|