@agent-teams/engineering-foundation 0.14.0 → 0.16.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +66 -8
- package/dist/capability-runtime.d.ts +2 -1
- package/dist/capability-runtime.d.ts.map +1 -1
- package/dist/capability-runtime.js +1 -1
- package/dist/capability-runtime.js.map +1 -1
- package/dist/check-contract.d.ts +2 -1
- package/dist/check-contract.d.ts.map +1 -1
- package/dist/check-runner.d.ts.map +1 -1
- package/dist/check-runner.js +6 -2
- package/dist/check-runner.js.map +1 -1
- package/dist/cli-arguments.d.ts +6 -0
- package/dist/cli-arguments.d.ts.map +1 -1
- package/dist/cli-arguments.js +179 -49
- package/dist/cli-arguments.js.map +1 -1
- package/dist/cli.js +16 -10
- package/dist/cli.js.map +1 -1
- package/dist/command-error.d.ts +14 -0
- package/dist/command-error.d.ts.map +1 -0
- package/dist/command-error.js +98 -0
- package/dist/command-error.js.map +1 -0
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.d.ts +5 -0
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.d.ts.map +1 -0
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.js +36 -0
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.js.map +1 -0
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.d.ts +6 -0
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.d.ts.map +1 -0
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.js +127 -0
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.js.map +1 -0
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.d.ts +33 -0
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.js +47 -0
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.d.ts.map +1 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.js +14 -39
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.js.map +1 -1
- package/dist/document-authoring/adapters/node/node-document-contract-validator.d.ts +7 -0
- package/dist/document-authoring/adapters/node/node-document-contract-validator.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-contract-validator.js +306 -0
- package/dist/document-authoring/adapters/node/node-document-contract-validator.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.d.ts +17 -0
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.js +49 -0
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-file-state.d.ts +21 -0
- package/dist/document-authoring/adapters/node/node-document-file-state.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-file-state.js +183 -0
- package/dist/document-authoring/adapters/node/node-document-file-state.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-journal-slot.d.ts +2 -0
- package/dist/document-authoring/adapters/node/node-document-journal-slot.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-journal-slot.js +18 -0
- package/dist/document-authoring/adapters/node/node-document-journal-slot.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.d.ts +36 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.js +2 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.d.ts +2 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.js +2 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store.d.ts +22 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store.js +339 -0
- package/dist/document-authoring/adapters/node/node-document-journal-store.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.d.ts +10 -0
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.js +75 -0
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.d.ts +10 -0
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.js +164 -0
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-publisher-private.d.ts +2 -0
- package/dist/document-authoring/adapters/node/node-document-publisher-private.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-publisher-private.js +2 -0
- package/dist/document-authoring/adapters/node/node-document-publisher-private.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-publisher.d.ts +54 -0
- package/dist/document-authoring/adapters/node/node-document-publisher.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-publisher.js +252 -0
- package/dist/document-authoring/adapters/node/node-document-publisher.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.d.ts +17 -0
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.js +43 -0
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.d.ts +21 -0
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.js +80 -0
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-template-reader.d.ts +10 -0
- package/dist/document-authoring/adapters/node/node-document-template-reader.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-template-reader.js +32 -0
- package/dist/document-authoring/adapters/node/node-document-template-reader.js.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.d.ts +21 -0
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.js +89 -0
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.js.map +1 -0
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.d.ts +16 -0
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.d.ts.map +1 -0
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.js +89 -0
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.js.map +1 -0
- package/dist/document-authoring/application/model/document-command.d.ts +69 -0
- package/dist/document-authoring/application/model/document-command.d.ts.map +1 -0
- package/dist/document-authoring/application/model/document-command.js +2 -0
- package/dist/document-authoring/application/model/document-command.js.map +1 -0
- package/dist/document-authoring/application/model/document-physical-identity.d.ts +10 -0
- package/dist/document-authoring/application/model/document-physical-identity.d.ts.map +1 -0
- package/dist/document-authoring/application/model/document-physical-identity.js +29 -0
- package/dist/document-authoring/application/model/document-physical-identity.js.map +1 -0
- package/dist/document-authoring/application/model/document-planning.d.ts +182 -0
- package/dist/document-authoring/application/model/document-planning.d.ts.map +1 -0
- package/dist/document-authoring/application/model/document-planning.js +2 -0
- package/dist/document-authoring/application/model/document-planning.js.map +1 -0
- package/dist/document-authoring/application/model/document-receipt.d.ts +74 -0
- package/dist/document-authoring/application/model/document-receipt.d.ts.map +1 -0
- package/dist/document-authoring/application/model/document-receipt.js +2 -0
- package/dist/document-authoring/application/model/document-receipt.js.map +1 -0
- package/dist/document-authoring/application/model/document-transaction-inspection.d.ts +43 -0
- package/dist/document-authoring/application/model/document-transaction-inspection.d.ts.map +1 -0
- package/dist/document-authoring/application/model/document-transaction-inspection.js +2 -0
- package/dist/document-authoring/application/model/document-transaction-inspection.js.map +1 -0
- package/dist/document-authoring/application/model/document-transaction.d.ts +81 -0
- package/dist/document-authoring/application/model/document-transaction.d.ts.map +1 -0
- package/dist/document-authoring/application/model/document-transaction.js +2 -0
- package/dist/document-authoring/application/model/document-transaction.js.map +1 -0
- package/dist/document-authoring/application/policies/authoring-profile-semantics.d.ts +5 -1
- package/dist/document-authoring/application/policies/authoring-profile-semantics.d.ts.map +1 -1
- package/dist/document-authoring/application/policies/authoring-profile-semantics.js +7 -0
- package/dist/document-authoring/application/policies/authoring-profile-semantics.js.map +1 -1
- package/dist/document-authoring/application/policies/classify-document-recovery.d.ts +81 -0
- package/dist/document-authoring/application/policies/classify-document-recovery.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/classify-document-recovery.js +138 -0
- package/dist/document-authoring/application/policies/classify-document-recovery.js.map +1 -0
- package/dist/document-authoring/application/policies/document-command-consumer-root.d.ts +2 -0
- package/dist/document-authoring/application/policies/document-command-consumer-root.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-command-consumer-root.js +15 -0
- package/dist/document-authoring/application/policies/document-command-consumer-root.js.map +1 -0
- package/dist/document-authoring/application/policies/document-command-projection.d.ts +20 -0
- package/dist/document-authoring/application/policies/document-command-projection.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-command-projection.js +90 -0
- package/dist/document-authoring/application/policies/document-command-projection.js.map +1 -0
- package/dist/document-authoring/application/policies/document-logical-preimage.d.ts +14 -0
- package/dist/document-authoring/application/policies/document-logical-preimage.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-logical-preimage.js +61 -0
- package/dist/document-authoring/application/policies/document-logical-preimage.js.map +1 -0
- package/dist/document-authoring/application/policies/document-planning-policy-error.d.ts +6 -0
- package/dist/document-authoring/application/policies/document-planning-policy-error.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-planning-policy-error.js +9 -0
- package/dist/document-authoring/application/policies/document-planning-policy-error.js.map +1 -0
- package/dist/document-authoring/application/policies/document-receipt-policy.d.ts +5 -0
- package/dist/document-authoring/application/policies/document-receipt-policy.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-receipt-policy.js +53 -0
- package/dist/document-authoring/application/policies/document-receipt-policy.js.map +1 -0
- package/dist/document-authoring/application/policies/document-transaction-digests.d.ts +5 -0
- package/dist/document-authoring/application/policies/document-transaction-digests.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-transaction-digests.js +12 -0
- package/dist/document-authoring/application/policies/document-transaction-digests.js.map +1 -0
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.d.ts +4 -0
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.js +118 -0
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.js.map +1 -0
- package/dist/document-authoring/application/policies/normalize-document-intent.d.ts +3 -0
- package/dist/document-authoring/application/policies/normalize-document-intent.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/normalize-document-intent.js +104 -0
- package/dist/document-authoring/application/policies/normalize-document-intent.js.map +1 -0
- package/dist/document-authoring/application/policies/project-document-reachability.d.ts +14 -0
- package/dist/document-authoring/application/policies/project-document-reachability.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/project-document-reachability.js +57 -0
- package/dist/document-authoring/application/policies/project-document-reachability.js.map +1 -0
- package/dist/document-authoring/application/policies/project-similar-document-advice.d.ts +4 -0
- package/dist/document-authoring/application/policies/project-similar-document-advice.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/project-similar-document-advice.js +17 -0
- package/dist/document-authoring/application/policies/project-similar-document-advice.js.map +1 -0
- package/dist/document-authoring/application/policies/resolve-document-authoring.d.ts +13 -0
- package/dist/document-authoring/application/policies/resolve-document-authoring.d.ts.map +1 -0
- package/dist/document-authoring/application/policies/resolve-document-authoring.js +154 -0
- package/dist/document-authoring/application/policies/resolve-document-authoring.js.map +1 -0
- package/dist/document-authoring/application/ports/document-authority-recompiler.d.ts +19 -0
- package/dist/document-authoring/application/ports/document-authority-recompiler.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-authority-recompiler.js +2 -0
- package/dist/document-authoring/application/ports/document-authority-recompiler.js.map +1 -0
- package/dist/document-authoring/application/ports/document-contract-validator.d.ts +6 -0
- package/dist/document-authoring/application/ports/document-contract-validator.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-contract-validator.js +2 -0
- package/dist/document-authoring/application/ports/document-contract-validator.js.map +1 -0
- package/dist/document-authoring/application/ports/document-environment-inspector.d.ts +12 -0
- package/dist/document-authoring/application/ports/document-environment-inspector.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-environment-inspector.js +2 -0
- package/dist/document-authoring/application/ports/document-environment-inspector.js.map +1 -0
- package/dist/document-authoring/application/ports/document-file-state.d.ts +55 -0
- package/dist/document-authoring/application/ports/document-file-state.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-file-state.js +2 -0
- package/dist/document-authoring/application/ports/document-file-state.js.map +1 -0
- package/dist/document-authoring/application/ports/document-journal-store.d.ts +31 -0
- package/dist/document-authoring/application/ports/document-journal-store.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-journal-store.js +2 -0
- package/dist/document-authoring/application/ports/document-journal-store.js.map +1 -0
- package/dist/document-authoring/application/ports/document-planning-profile-reader.d.ts +9 -0
- package/dist/document-authoring/application/ports/document-planning-profile-reader.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-planning-profile-reader.js +2 -0
- package/dist/document-authoring/application/ports/document-planning-profile-reader.js.map +1 -0
- package/dist/document-authoring/application/ports/document-planning-state-reader.d.ts +9 -0
- package/dist/document-authoring/application/ports/document-planning-state-reader.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-planning-state-reader.js +2 -0
- package/dist/document-authoring/application/ports/document-planning-state-reader.js.map +1 -0
- package/dist/document-authoring/application/ports/document-publisher.d.ts +38 -0
- package/dist/document-authoring/application/ports/document-publisher.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-publisher.js +2 -0
- package/dist/document-authoring/application/ports/document-publisher.js.map +1 -0
- package/dist/document-authoring/application/ports/document-reachability-projector.d.ts +13 -0
- package/dist/document-authoring/application/ports/document-reachability-projector.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-reachability-projector.js +2 -0
- package/dist/document-authoring/application/ports/document-reachability-projector.js.map +1 -0
- package/dist/document-authoring/application/ports/document-structure-verifier.d.ts +17 -0
- package/dist/document-authoring/application/ports/document-structure-verifier.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-structure-verifier.js +2 -0
- package/dist/document-authoring/application/ports/document-structure-verifier.js.map +1 -0
- package/dist/document-authoring/application/ports/document-template-reader.d.ts +9 -0
- package/dist/document-authoring/application/ports/document-template-reader.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-template-reader.js +2 -0
- package/dist/document-authoring/application/ports/document-template-reader.js.map +1 -0
- package/dist/document-authoring/application/ports/document-transaction-coordinator.d.ts +21 -0
- package/dist/document-authoring/application/ports/document-transaction-coordinator.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/document-transaction-coordinator.js +2 -0
- package/dist/document-authoring/application/ports/document-transaction-coordinator.js.map +1 -0
- package/dist/document-authoring/application/ports/documentation-catalog-reader.d.ts +11 -0
- package/dist/document-authoring/application/ports/documentation-catalog-reader.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/documentation-catalog-reader.js +2 -0
- package/dist/document-authoring/application/ports/documentation-catalog-reader.js.map +1 -0
- package/dist/document-authoring/application/ports/similar-document-advisor.d.ts +17 -0
- package/dist/document-authoring/application/ports/similar-document-advisor.d.ts.map +1 -0
- package/dist/document-authoring/application/ports/similar-document-advisor.js +2 -0
- package/dist/document-authoring/application/ports/similar-document-advisor.js.map +1 -0
- package/dist/document-authoring/application/use-cases/apply-document-plan.d.ts +16 -0
- package/dist/document-authoring/application/use-cases/apply-document-plan.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/apply-document-plan.js +215 -0
- package/dist/document-authoring/application/use-cases/apply-document-plan.js.map +1 -0
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.d.ts +2 -1
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.d.ts.map +1 -1
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.js.map +1 -1
- package/dist/document-authoring/application/use-cases/compile-document-plan.d.ts +6 -0
- package/dist/document-authoring/application/use-cases/compile-document-plan.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/compile-document-plan.js +156 -0
- package/dist/document-authoring/application/use-cases/compile-document-plan.js.map +1 -0
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.d.ts +18 -0
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.js +90 -0
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.js.map +1 -0
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.d.ts +59 -0
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.js +360 -0
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.js.map +1 -0
- package/dist/document-authoring/application/use-cases/document-transaction-error.d.ts +5 -0
- package/dist/document-authoring/application/use-cases/document-transaction-error.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/document-transaction-error.js +9 -0
- package/dist/document-authoring/application/use-cases/document-transaction-error.js.map +1 -0
- package/dist/document-authoring/application/use-cases/document-transaction-execution.d.ts +9 -0
- package/dist/document-authoring/application/use-cases/document-transaction-execution.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/document-transaction-execution.js +40 -0
- package/dist/document-authoring/application/use-cases/document-transaction-execution.js.map +1 -0
- package/dist/document-authoring/application/use-cases/plan-documentation-document.d.ts +66 -0
- package/dist/document-authoring/application/use-cases/plan-documentation-document.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/plan-documentation-document.js +276 -0
- package/dist/document-authoring/application/use-cases/plan-documentation-document.js.map +1 -0
- package/dist/document-authoring/application/use-cases/recover-document-transaction.d.ts +10 -0
- package/dist/document-authoring/application/use-cases/recover-document-transaction.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/recover-document-transaction.js +233 -0
- package/dist/document-authoring/application/use-cases/recover-document-transaction.js.map +1 -0
- package/dist/document-authoring/application/use-cases/run-document-doctor.d.ts +18 -0
- package/dist/document-authoring/application/use-cases/run-document-doctor.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/run-document-doctor.js +171 -0
- package/dist/document-authoring/application/use-cases/run-document-doctor.js.map +1 -0
- package/dist/document-authoring/application/use-cases/run-document-new.d.ts +30 -0
- package/dist/document-authoring/application/use-cases/run-document-new.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/run-document-new.js +221 -0
- package/dist/document-authoring/application/use-cases/run-document-new.js.map +1 -0
- package/dist/document-authoring/application/use-cases/run-document-recover.d.ts +21 -0
- package/dist/document-authoring/application/use-cases/run-document-recover.d.ts.map +1 -0
- package/dist/document-authoring/application/use-cases/run-document-recover.js +126 -0
- package/dist/document-authoring/application/use-cases/run-document-recover.js.map +1 -0
- package/dist/document-authoring/composition/document-command-cli.d.ts +7 -0
- package/dist/document-authoring/composition/document-command-cli.d.ts.map +1 -0
- package/dist/document-authoring/composition/document-command-cli.js +32 -0
- package/dist/document-authoring/composition/document-command-cli.js.map +1 -0
- package/dist/document-authoring/composition/inspect-document-transaction.d.ts +8 -0
- package/dist/document-authoring/composition/inspect-document-transaction.d.ts.map +1 -0
- package/dist/document-authoring/composition/inspect-document-transaction.js +177 -0
- package/dist/document-authoring/composition/inspect-document-transaction.js.map +1 -0
- package/dist/document-authoring/composition/node-document-authority-recompiler.d.ts +11 -0
- package/dist/document-authoring/composition/node-document-authority-recompiler.d.ts.map +1 -0
- package/dist/document-authoring/composition/node-document-authority-recompiler.js +62 -0
- package/dist/document-authoring/composition/node-document-authority-recompiler.js.map +1 -0
- package/dist/document-authoring/composition/node-document-commands.d.ts +10 -0
- package/dist/document-authoring/composition/node-document-commands.d.ts.map +1 -0
- package/dist/document-authoring/composition/node-document-commands.js +68 -0
- package/dist/document-authoring/composition/node-document-commands.js.map +1 -0
- package/dist/document-authoring/composition/node-document-planning.d.ts +7 -0
- package/dist/document-authoring/composition/node-document-planning.d.ts.map +1 -0
- package/dist/document-authoring/composition/node-document-planning.js +77 -0
- package/dist/document-authoring/composition/node-document-planning.js.map +1 -0
- package/dist/document-authoring/composition/node-document-writing-private.d.ts +15 -0
- package/dist/document-authoring/composition/node-document-writing-private.d.ts.map +1 -0
- package/dist/document-authoring/composition/node-document-writing-private.js +52 -0
- package/dist/document-authoring/composition/node-document-writing-private.js.map +1 -0
- package/dist/document-authoring/composition/node-document-writing.d.ts +8 -0
- package/dist/document-authoring/composition/node-document-writing.d.ts.map +1 -0
- package/dist/document-authoring/composition/node-document-writing.js +10 -0
- package/dist/document-authoring/composition/node-document-writing.js.map +1 -0
- package/dist/document-authoring/document-planning-error.d.ts +6 -0
- package/dist/document-authoring/document-planning-error.d.ts.map +1 -0
- package/dist/document-authoring/document-planning-error.js +9 -0
- package/dist/document-authoring/document-planning-error.js.map +1 -0
- package/dist/document-authoring/index.d.ts +22 -0
- package/dist/document-authoring/index.d.ts.map +1 -1
- package/dist/document-authoring/index.js +19 -0
- package/dist/document-authoring/index.js.map +1 -1
- package/dist/document-command.d.ts +9 -0
- package/dist/document-command.d.ts.map +1 -1
- package/dist/document-command.js +64 -3
- package/dist/document-command.js.map +1 -1
- package/dist/foundation-state-contract.d.ts +1 -0
- package/dist/foundation-state-contract.d.ts.map +1 -1
- package/dist/foundation-state-contract.js +1 -0
- package/dist/foundation-state-contract.js.map +1 -1
- package/dist/local-mode/inspection.d.ts.map +1 -1
- package/dist/local-mode/inspection.js +51 -3
- package/dist/local-mode/inspection.js.map +1 -1
- package/dist/package-self-check.d.ts +2 -1
- package/dist/package-self-check.d.ts.map +1 -1
- package/dist/package-self-check.js +30 -7
- package/dist/package-self-check.js.map +1 -1
- package/dist/report-renderer.d.ts.map +1 -1
- package/dist/report-renderer.js +1 -0
- package/dist/report-renderer.js.map +1 -1
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.d.ts +19 -0
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.d.ts.map +1 -0
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.js +74 -0
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.js.map +1 -0
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.d.ts +2 -0
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.d.ts.map +1 -1
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.js +56 -154
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.js.map +1 -1
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.d.ts +26 -0
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.d.ts.map +1 -0
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.js +151 -0
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.js.map +1 -0
- package/dist/repository-mutation/adapters/node/node-directory-durability.d.ts +6 -0
- package/dist/repository-mutation/adapters/node/node-directory-durability.d.ts.map +1 -1
- package/dist/repository-mutation/adapters/node/node-directory-durability.js +15 -0
- package/dist/repository-mutation/adapters/node/node-directory-durability.js.map +1 -1
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.d.ts +14 -0
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.d.ts.map +1 -0
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.js +26 -0
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.js.map +1 -0
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.d.ts +28 -0
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.d.ts.map +1 -0
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.js +47 -0
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.js.map +1 -0
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.d.ts +22 -0
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.d.ts.map +1 -0
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.js +59 -0
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.js.map +1 -0
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.d.ts +7 -0
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.d.ts.map +1 -0
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.js +2 -0
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.js.map +1 -0
- package/dist/scaffolding/adapters/node/filesystem-authority-workspace.d.ts +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-workspace.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-workspace.js +74 -53
- package/dist/scaffolding/adapters/node/filesystem-authority-workspace.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-finalization.d.ts +9 -1
- package/dist/scaffolding/adapters/node/filesystem-finalization.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-finalization.js +34 -6
- package/dist/scaffolding/adapters/node/filesystem-finalization.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-journal-state.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-journal-state.js +2 -1
- package/dist/scaffolding/adapters/node/filesystem-journal-state.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-journal.d.ts +13 -5
- package/dist/scaffolding/adapters/node/filesystem-journal.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-journal.js +112 -74
- package/dist/scaffolding/adapters/node/filesystem-journal.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-operation-state.d.ts +10 -1
- package/dist/scaffolding/adapters/node/filesystem-operation-state.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-operation-state.js +40 -2
- package/dist/scaffolding/adapters/node/filesystem-operation-state.js.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.d.ts +35 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.d.ts.map +1 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.js +137 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.js.map +1 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-gateway.d.ts +11 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-gateway.d.ts.map +1 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-gateway.js +95 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-gateway.js.map +1 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.d.ts +15 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.d.ts.map +1 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.js +29 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.js.map +1 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store-faults.d.ts +46 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store-faults.d.ts.map +1 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store-faults.js +2 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store-faults.js.map +1 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.d.ts +19 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.d.ts.map +1 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.js +288 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.js.map +1 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-transaction-evidence.d.ts +2 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-transaction-evidence.d.ts.map +1 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-transaction-evidence.js +34 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-transaction-evidence.js.map +1 -0
- package/dist/schema-catalog.d.ts.map +1 -1
- package/dist/schema-catalog.js +4 -0
- package/dist/schema-catalog.js.map +1 -1
- package/dist/schema-ids.d.ts +1 -1
- package/dist/schema-ids.d.ts.map +1 -1
- package/dist/schema-ids.js +3 -0
- package/dist/schema-ids.js.map +1 -1
- package/dist/source-inventory/adapters/outbound/filesystem/filesystem-source-tree-reader.d.ts.map +1 -1
- package/dist/source-inventory/adapters/outbound/filesystem/filesystem-source-tree-reader.js +17 -10
- package/dist/source-inventory/adapters/outbound/filesystem/filesystem-source-tree-reader.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.d.ts +22 -0
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.d.ts.map +1 -0
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.js +123 -0
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.js.map +1 -0
- package/dist/transaction-coordination/adapters/node/document-temporary-identity.d.ts +2 -2
- package/dist/transaction-coordination/adapters/node/document-temporary-identity.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/document-temporary-identity.js +4 -4
- package/dist/transaction-coordination/adapters/node/document-temporary-identity.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/foundation-transition-evidence.d.ts +4 -0
- package/dist/transaction-coordination/adapters/node/foundation-transition-evidence.d.ts.map +1 -0
- package/dist/transaction-coordination/adapters/node/foundation-transition-evidence.js +58 -0
- package/dist/transaction-coordination/adapters/node/foundation-transition-evidence.js.map +1 -0
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.d.ts +17 -0
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.d.ts.map +1 -0
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.js +79 -0
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.js.map +1 -0
- package/dist/transaction-coordination/adapters/node/node-foundation-operation-lock.d.ts +9 -1
- 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 +34 -11
- 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 +7 -0
- 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 +15 -0
- 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 +2 -2
- 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 +123 -140
- package/dist/transaction-coordination/adapters/node/node-foundation-transaction-slot.js.map +1 -1
- package/dist/transaction-coordination/application/foundation-transaction-coordinator.d.ts +5 -4
- package/dist/transaction-coordination/application/foundation-transaction-coordinator.d.ts.map +1 -1
- package/dist/transaction-coordination/application/foundation-transaction-coordinator.js +14 -1
- package/dist/transaction-coordination/application/foundation-transaction-coordinator.js.map +1 -1
- package/dist/transaction-coordination/application/foundation-transaction-error.d.ts +4 -3
- package/dist/transaction-coordination/application/foundation-transaction-error.d.ts.map +1 -1
- package/dist/transaction-coordination/application/foundation-transaction-error.js.map +1 -1
- package/dist/transaction-coordination/application/model/internal-transaction-status.d.ts +26 -0
- package/dist/transaction-coordination/application/model/internal-transaction-status.d.ts.map +1 -0
- package/dist/transaction-coordination/application/model/internal-transaction-status.js +2 -0
- package/dist/transaction-coordination/application/model/internal-transaction-status.js.map +1 -0
- package/dist/transaction-coordination/application/ports/foundation-transaction-slot.d.ts +2 -2
- package/dist/transaction-coordination/application/ports/foundation-transaction-slot.d.ts.map +1 -1
- 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 +13 -9
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.js.map +1 -1
- package/package.json +12 -3
- package/schemas/document-authoring-profile/v1.schema.json +31 -1
- package/schemas/document-command-envelope/v2.schema.json +205 -0
- package/schemas/foundation-check-report/v1.schema.json +1 -1
- package/schemas/foundation-command-error/v1.schema.json +24 -0
- package/schemas/foundation-transaction-envelope/v3.schema.json +169 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import type { DocumentAuthorityDigest, DocumentAuthorityEvidence, DocumentIdentityProjectionEntry, DocumentationCatalogSnapshot } from "./document-catalog.js";
|
|
2
|
+
export type DocumentJsonPrimitive = boolean | null | number | string;
|
|
3
|
+
export interface DocumentJsonObject {
|
|
4
|
+
readonly [key: string]: DocumentJsonValue;
|
|
5
|
+
}
|
|
6
|
+
export type DocumentJsonValue = DocumentJsonPrimitive | readonly DocumentJsonValue[] | DocumentJsonObject;
|
|
7
|
+
export interface DocumentIntent {
|
|
8
|
+
readonly schemaVersion: 1;
|
|
9
|
+
readonly type: string;
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly title: string;
|
|
12
|
+
readonly owner: string;
|
|
13
|
+
readonly summary: string;
|
|
14
|
+
readonly slug?: string;
|
|
15
|
+
readonly destination?: string;
|
|
16
|
+
readonly related?: readonly string[];
|
|
17
|
+
readonly additionalMetadata?: Readonly<Record<string, DocumentJsonValue>>;
|
|
18
|
+
}
|
|
19
|
+
export type DocumentIdentityStrategy = {
|
|
20
|
+
readonly kind: "explicit";
|
|
21
|
+
readonly format: "adr-four-digits" | "open-decision-three-digits";
|
|
22
|
+
} | {
|
|
23
|
+
readonly kind: "explicit";
|
|
24
|
+
readonly format: "qualified";
|
|
25
|
+
readonly grammar: {
|
|
26
|
+
readonly prefixSegments: readonly string[];
|
|
27
|
+
readonly minSuffixSegments: number;
|
|
28
|
+
readonly maxSuffixSegments: number;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export type DocumentPlacementStrategy = {
|
|
32
|
+
readonly kind: "collection";
|
|
33
|
+
readonly directory: string;
|
|
34
|
+
readonly filename: "numeric-id-slug" | "id-slug" | "slug" | "README.md";
|
|
35
|
+
} | {
|
|
36
|
+
readonly kind: "qualified-leaf-index";
|
|
37
|
+
readonly root: string;
|
|
38
|
+
readonly requiredBasename: "README.md";
|
|
39
|
+
} | {
|
|
40
|
+
readonly kind: "explicit";
|
|
41
|
+
readonly allowedRoots: readonly string[];
|
|
42
|
+
readonly requiredSegmentsInOrder: readonly string[];
|
|
43
|
+
readonly requiredBasename: "README.md";
|
|
44
|
+
readonly minimumSegmentsBeforeRequired: number;
|
|
45
|
+
readonly minimumSegmentsAfterRequired: number;
|
|
46
|
+
};
|
|
47
|
+
export interface DocumentArtifactType {
|
|
48
|
+
readonly type: string;
|
|
49
|
+
readonly initialStatus: string;
|
|
50
|
+
readonly identity: DocumentIdentityStrategy;
|
|
51
|
+
readonly placement: DocumentPlacementStrategy;
|
|
52
|
+
readonly template: {
|
|
53
|
+
readonly kind: "fenced-markdown-body";
|
|
54
|
+
readonly path: string;
|
|
55
|
+
};
|
|
56
|
+
readonly heading: {
|
|
57
|
+
readonly kind: "id-colon-title" | "title";
|
|
58
|
+
};
|
|
59
|
+
readonly reachability: DocumentReachabilityStrategy;
|
|
60
|
+
}
|
|
61
|
+
export type DocumentReachabilityStrategy = {
|
|
62
|
+
readonly kind: "manual-fixed-index";
|
|
63
|
+
readonly indexPath: string;
|
|
64
|
+
} | {
|
|
65
|
+
readonly kind: "manual-colocated-index";
|
|
66
|
+
readonly pathPrefix: "before-required-segments";
|
|
67
|
+
readonly indexBasename: "README.md";
|
|
68
|
+
} | {
|
|
69
|
+
readonly kind: "not-required";
|
|
70
|
+
};
|
|
71
|
+
export type DocumentCatalogCollection = {
|
|
72
|
+
readonly kind: "frontmatter-readme";
|
|
73
|
+
readonly roots: readonly string[];
|
|
74
|
+
} | {
|
|
75
|
+
readonly kind: "markdown-tree";
|
|
76
|
+
readonly root: string;
|
|
77
|
+
};
|
|
78
|
+
export interface DocumentPlanningProfileSnapshot {
|
|
79
|
+
readonly artifactTypes: readonly DocumentArtifactType[];
|
|
80
|
+
readonly collections: readonly DocumentCatalogCollection[];
|
|
81
|
+
readonly evidence: DocumentAuthorityEvidence;
|
|
82
|
+
readonly excludedPrefixes: readonly string[];
|
|
83
|
+
readonly metadataSchemaPath: string;
|
|
84
|
+
readonly ownerCatalog: {
|
|
85
|
+
readonly contract: "foundation.owner-map/v1";
|
|
86
|
+
readonly path: string;
|
|
87
|
+
};
|
|
88
|
+
readonly projectId: string;
|
|
89
|
+
}
|
|
90
|
+
export interface DocumentTemplateSnapshot {
|
|
91
|
+
readonly evidence: DocumentAuthorityEvidence;
|
|
92
|
+
readonly source: string;
|
|
93
|
+
}
|
|
94
|
+
export interface DocumentCompilerIdentity {
|
|
95
|
+
readonly id: "@agent-teams/engineering-foundation";
|
|
96
|
+
readonly version: string;
|
|
97
|
+
readonly buildIdentity: DocumentAuthorityDigest;
|
|
98
|
+
}
|
|
99
|
+
type DocumentDestinationObservation = {
|
|
100
|
+
readonly state: "absent";
|
|
101
|
+
} | {
|
|
102
|
+
readonly state: "regular-file";
|
|
103
|
+
readonly bytes: Uint8Array;
|
|
104
|
+
} | {
|
|
105
|
+
readonly state: "conflict";
|
|
106
|
+
readonly kind: "directory" | "portable-name-collision" | "special-file";
|
|
107
|
+
};
|
|
108
|
+
export interface DocumentPlanningStateSnapshot {
|
|
109
|
+
readonly destination: DocumentDestinationObservation;
|
|
110
|
+
readonly expectedParent: {
|
|
111
|
+
readonly path: string;
|
|
112
|
+
readonly state: "directory";
|
|
113
|
+
readonly ancestry: "real-directories";
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
export interface DocumentPlanDiagnostic {
|
|
117
|
+
readonly ruleId: string;
|
|
118
|
+
readonly severity: "error" | "info" | "warning";
|
|
119
|
+
readonly phase: "authority" | "input" | "planning" | "policy";
|
|
120
|
+
readonly subject: string;
|
|
121
|
+
readonly message: string;
|
|
122
|
+
}
|
|
123
|
+
export interface DocumentPlan {
|
|
124
|
+
readonly schemaVersion: 1;
|
|
125
|
+
readonly protocolVersion: 1;
|
|
126
|
+
readonly compiler: DocumentCompilerIdentity;
|
|
127
|
+
readonly projectId: string;
|
|
128
|
+
readonly intent: DocumentIntent;
|
|
129
|
+
readonly intentDigest: DocumentAuthorityDigest;
|
|
130
|
+
readonly authority: {
|
|
131
|
+
readonly profile: DocumentAuthorityEvidence;
|
|
132
|
+
readonly metadataSchema: DocumentAuthorityEvidence;
|
|
133
|
+
readonly ownerCatalog: DocumentAuthorityEvidence;
|
|
134
|
+
readonly template: DocumentAuthorityEvidence;
|
|
135
|
+
};
|
|
136
|
+
readonly selectedOwner: {
|
|
137
|
+
readonly id: string;
|
|
138
|
+
readonly membershipDigest: DocumentAuthorityDigest;
|
|
139
|
+
};
|
|
140
|
+
readonly identityProjection: {
|
|
141
|
+
readonly entryCount: number;
|
|
142
|
+
readonly digest: DocumentAuthorityDigest;
|
|
143
|
+
};
|
|
144
|
+
readonly referencedDocuments: readonly {
|
|
145
|
+
readonly id: string;
|
|
146
|
+
readonly path: string;
|
|
147
|
+
readonly projectionDigest: DocumentAuthorityDigest;
|
|
148
|
+
}[];
|
|
149
|
+
readonly destination: string;
|
|
150
|
+
readonly expectedParent: {
|
|
151
|
+
readonly path: string;
|
|
152
|
+
readonly state: "directory";
|
|
153
|
+
readonly ancestry: "real-directories";
|
|
154
|
+
};
|
|
155
|
+
readonly destinationPrecondition: {
|
|
156
|
+
readonly state: "absent";
|
|
157
|
+
};
|
|
158
|
+
readonly output: {
|
|
159
|
+
readonly digest: DocumentAuthorityDigest;
|
|
160
|
+
readonly size: number;
|
|
161
|
+
readonly mode: "0644";
|
|
162
|
+
readonly mediaType: "text/markdown; charset=utf-8";
|
|
163
|
+
readonly contentBase64: string;
|
|
164
|
+
};
|
|
165
|
+
readonly requiredAdapterCapabilities: readonly ["create-file-no-replace/v1"];
|
|
166
|
+
readonly diagnostics: readonly DocumentPlanDiagnostic[];
|
|
167
|
+
readonly planDigest: DocumentAuthorityDigest;
|
|
168
|
+
}
|
|
169
|
+
export interface DocumentPlanningCompilationInput {
|
|
170
|
+
readonly catalog: DocumentationCatalogSnapshot;
|
|
171
|
+
readonly compiler: DocumentCompilerIdentity;
|
|
172
|
+
readonly identityProjection: readonly DocumentIdentityProjectionEntry[];
|
|
173
|
+
readonly intent: DocumentIntent;
|
|
174
|
+
readonly metadataSchema: DocumentAuthorityEvidence;
|
|
175
|
+
readonly ownerCatalog: DocumentAuthorityEvidence;
|
|
176
|
+
readonly profile: DocumentPlanningProfileSnapshot;
|
|
177
|
+
readonly state: DocumentPlanningStateSnapshot;
|
|
178
|
+
readonly template: DocumentTemplateSnapshot;
|
|
179
|
+
readonly output: string;
|
|
180
|
+
}
|
|
181
|
+
export {};
|
|
182
|
+
//# sourceMappingURL=document-planning.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-planning.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/model/document-planning.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC7B,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;AACrE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAAC;CAC3C;AACD,MAAM,MAAM,iBAAiB,GACzB,qBAAqB,GACrB,SAAS,iBAAiB,EAAE,GAC5B,kBAAkB,CAAC;AAEvB,MA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,EAAE,4BAA4B,CAAC;IAC/C,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAC;IAC5C,QAAQ,CAAC,kBAAkB,EAAE,SAAS,+BAA+B,EAAE,CAAC;IACxE,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,cAAc,EAAE,yBAAyB,CAAC;IACnD,QAAQ,CAAC,YAAY,EAAE,yBAAyB,CAAC;IACjD,QAAQ,CAAC,OAAO,EAAE,+BAA+B,CAAC;IAClD,QAAQ,CAAC,KAAK,EAAE,6BAA6B,CAAC;IAC9C,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAC;IAC5C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-planning.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/model/document-planning.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { DocumentAuthorityDigest } from "./document-catalog.js";
|
|
2
|
+
export type DocumentReceiptOutcome = "applied" | "already-applied" | "authority-stale" | "rejected" | "recovery-required" | "manual-recovery-required" | "failed-before-publication" | "cancelled";
|
|
3
|
+
export interface DocumentReceiptDiagnostic {
|
|
4
|
+
readonly ruleId: string;
|
|
5
|
+
readonly severity: "error" | "info" | "warning";
|
|
6
|
+
readonly phase: "apply" | "authority" | "input" | "recovery";
|
|
7
|
+
readonly subject: string;
|
|
8
|
+
readonly message: string;
|
|
9
|
+
}
|
|
10
|
+
export interface DocumentCommitObservation {
|
|
11
|
+
readonly state: "committed" | "not-published" | "recovery-required" | "manual-recovery-required";
|
|
12
|
+
readonly publication: "none" | "preexisting-exact" | "published" | "unknown";
|
|
13
|
+
readonly atomicity: "not-applicable" | "single-file-atomic-create";
|
|
14
|
+
readonly recoverability: "not-required" | "preserved-for-recovery";
|
|
15
|
+
}
|
|
16
|
+
export interface DocumentReceiptBase {
|
|
17
|
+
readonly schemaVersion: 1;
|
|
18
|
+
readonly protocolVersion: 1;
|
|
19
|
+
readonly planDigest: DocumentAuthorityDigest;
|
|
20
|
+
readonly adapter: {
|
|
21
|
+
readonly id: "foundation.filesystem/v1";
|
|
22
|
+
readonly contractVersion: 1;
|
|
23
|
+
};
|
|
24
|
+
readonly destination: string;
|
|
25
|
+
readonly diagnostics: readonly DocumentReceiptDiagnostic[];
|
|
26
|
+
readonly receiptDigest: DocumentAuthorityDigest;
|
|
27
|
+
}
|
|
28
|
+
export type DocumentReceipt = (DocumentReceiptBase & {
|
|
29
|
+
readonly outcome: "applied";
|
|
30
|
+
readonly resultDigest: DocumentAuthorityDigest;
|
|
31
|
+
readonly commit: {
|
|
32
|
+
readonly state: "committed";
|
|
33
|
+
readonly publication: "published";
|
|
34
|
+
readonly atomicity: "single-file-atomic-create";
|
|
35
|
+
readonly recoverability: "not-required";
|
|
36
|
+
};
|
|
37
|
+
}) | (DocumentReceiptBase & {
|
|
38
|
+
readonly outcome: "already-applied";
|
|
39
|
+
readonly resultDigest: DocumentAuthorityDigest;
|
|
40
|
+
readonly commit: {
|
|
41
|
+
readonly state: "committed";
|
|
42
|
+
readonly publication: "preexisting-exact";
|
|
43
|
+
readonly atomicity: "not-applicable";
|
|
44
|
+
readonly recoverability: "not-required";
|
|
45
|
+
};
|
|
46
|
+
}) | (DocumentReceiptBase & {
|
|
47
|
+
readonly outcome: "authority-stale" | "rejected" | "failed-before-publication" | "cancelled";
|
|
48
|
+
readonly commit: {
|
|
49
|
+
readonly state: "not-published";
|
|
50
|
+
readonly publication: "none";
|
|
51
|
+
readonly atomicity: "not-applicable";
|
|
52
|
+
readonly recoverability: "not-required";
|
|
53
|
+
};
|
|
54
|
+
}) | (DocumentReceiptBase & {
|
|
55
|
+
readonly outcome: "recovery-required";
|
|
56
|
+
readonly commit: {
|
|
57
|
+
readonly state: "recovery-required";
|
|
58
|
+
readonly publication: "none" | "published" | "unknown";
|
|
59
|
+
readonly atomicity: "not-applicable" | "single-file-atomic-create";
|
|
60
|
+
readonly recoverability: "preserved-for-recovery";
|
|
61
|
+
};
|
|
62
|
+
}) | (DocumentReceiptBase & {
|
|
63
|
+
readonly outcome: "manual-recovery-required";
|
|
64
|
+
readonly commit: {
|
|
65
|
+
readonly state: "manual-recovery-required";
|
|
66
|
+
readonly publication: "none" | "published" | "unknown";
|
|
67
|
+
readonly atomicity: "not-applicable" | "single-file-atomic-create";
|
|
68
|
+
readonly recoverability: "preserved-for-recovery";
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
type WithoutReceiptDigest<T> = T extends unknown ? Omit<T, "receiptDigest"> : never;
|
|
72
|
+
export type DocumentReceiptBody = WithoutReceiptDigest<DocumentReceipt>;
|
|
73
|
+
export {};
|
|
74
|
+
//# sourceMappingURL=document-receipt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-receipt.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/model/document-receipt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAErE,MAAM,MAAM,sBAAsB,GAC9B,SAAS,GACT,iBAAiB,GACjB,iBAAiB,GACjB,UAAU,GACV,mBAAmB,GACnB,0BAA0B,GAC1B,2BAA2B,GAC3B,WAAW,CAAC;AAEhB,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,GAAG,OAAO,GAAG,UAAU,CAAC;IAC7D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,KAAK,EACV,WAAW,GACX,eAAe,GACf,mBAAmB,GACn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AI,CAAC,SAAS,OAAO,GAC5C,IAAI,CAAC,CAAC,EAAE,eAAe,CAAC,GACxB,KAAK,CAAC;AAEV,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-receipt.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/model/document-receipt.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type DocumentTransactionInspectionDiagnostic = {
|
|
2
|
+
readonly code: "FOUNDATION_TRANSACTION_ACTIVE";
|
|
3
|
+
readonly message: string;
|
|
4
|
+
} | {
|
|
5
|
+
readonly code: "FOUNDATION_TRANSACTION_MANUAL_RECOVERY_REQUIRED";
|
|
6
|
+
readonly message: string;
|
|
7
|
+
} | {
|
|
8
|
+
readonly code: "FOUNDATION_TRANSACTION_VERSION_MISMATCH";
|
|
9
|
+
readonly message: string;
|
|
10
|
+
};
|
|
11
|
+
export type DocumentTransactionInspectionV1 = {
|
|
12
|
+
readonly schemaVersion: 1;
|
|
13
|
+
readonly state: "idle";
|
|
14
|
+
readonly diagnostics: readonly [];
|
|
15
|
+
} | {
|
|
16
|
+
readonly schemaVersion: 1;
|
|
17
|
+
readonly state: "recoverable";
|
|
18
|
+
readonly operationKind: "document-authoring";
|
|
19
|
+
readonly format: "document-authoring-envelope-v3";
|
|
20
|
+
readonly foundationVersion: string;
|
|
21
|
+
readonly foundationBuildIdentity: string;
|
|
22
|
+
readonly recovery: {
|
|
23
|
+
readonly commandId: "docs-recover";
|
|
24
|
+
readonly exactFoundationVersion: string;
|
|
25
|
+
readonly exactFoundationBuildIdentity: string;
|
|
26
|
+
};
|
|
27
|
+
readonly diagnostics: readonly DocumentTransactionInspectionDiagnostic[];
|
|
28
|
+
} | {
|
|
29
|
+
readonly schemaVersion: 1;
|
|
30
|
+
readonly state: "manual-recovery-required";
|
|
31
|
+
readonly reason: string;
|
|
32
|
+
readonly operationKind?: "document-authoring" | "local-mode" | "scaffolding";
|
|
33
|
+
readonly transactionKind?: "corrupt" | "document" | "local-mode" | "scaffold" | "transition-residue" | "unknown" | "version-mismatch";
|
|
34
|
+
readonly foundationVersion?: string;
|
|
35
|
+
readonly foundationBuildIdentity?: string;
|
|
36
|
+
readonly format?: string;
|
|
37
|
+
readonly recovery?: {
|
|
38
|
+
readonly commandId: "detach" | "docs-recover" | "scaffold-recover";
|
|
39
|
+
readonly args: Readonly<Record<string, string>>;
|
|
40
|
+
};
|
|
41
|
+
readonly diagnostics: readonly DocumentTransactionInspectionDiagnostic[];
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=document-transaction-inspection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-transaction-inspection.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/model/document-transaction-inspection.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uCAAuC,GAC/C;IACE,QAAQ,CAAC,IAAI,EAAE,+BAA+B,CAAC;IAC/C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B,GACD;IACE,QAAQ,CAAC,IAAI,EAAE,iDAAiD,CAAC;IACjE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B,GACD;IACE,QAAQ,CAAC,IAAI,EAAE,yCAAyC,CAAC;IACzD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEN,MAAM,MAAM,+BAA+B,GACvC;IACE,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,SAAS,EAAE,CAAC;CACnC,GACD;IACE,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,oBAAoB,CAAC;IAC7C,QAA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src/document-authoring/application/model/document-transaction-inspection.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { DocumentAuthorityDigest } from "./document-catalog.js";
|
|
2
|
+
import type { DocumentPhysicalIdentity } from "./document-physical-identity.js";
|
|
3
|
+
import type { DocumentPlan } from "./document-planning.js";
|
|
4
|
+
export interface DocumentOwnedTemporary {
|
|
5
|
+
readonly path: string;
|
|
6
|
+
readonly digest: DocumentAuthorityDigest;
|
|
7
|
+
readonly identity: DocumentPhysicalIdentity;
|
|
8
|
+
}
|
|
9
|
+
interface DocumentJournalBase {
|
|
10
|
+
readonly schemaVersion: 2;
|
|
11
|
+
readonly plan: DocumentPlan;
|
|
12
|
+
}
|
|
13
|
+
export type DocumentTransactionJournal = (DocumentJournalBase & {
|
|
14
|
+
readonly destination: {
|
|
15
|
+
readonly path: string;
|
|
16
|
+
readonly state: "pending";
|
|
17
|
+
};
|
|
18
|
+
}) | (DocumentJournalBase & {
|
|
19
|
+
readonly destination: {
|
|
20
|
+
readonly path: string;
|
|
21
|
+
readonly state: "preexisting";
|
|
22
|
+
};
|
|
23
|
+
}) | (DocumentJournalBase & {
|
|
24
|
+
readonly destination: {
|
|
25
|
+
readonly path: string;
|
|
26
|
+
readonly state: "publishing";
|
|
27
|
+
};
|
|
28
|
+
readonly ownedTemporary: DocumentOwnedTemporary;
|
|
29
|
+
}) | (DocumentJournalBase & {
|
|
30
|
+
readonly destination: {
|
|
31
|
+
readonly path: string;
|
|
32
|
+
readonly state: "published";
|
|
33
|
+
};
|
|
34
|
+
readonly publicationIdentity: DocumentPhysicalIdentity;
|
|
35
|
+
});
|
|
36
|
+
interface DocumentTransactionEnvelopeBase {
|
|
37
|
+
readonly schemaVersion: 3;
|
|
38
|
+
readonly operationKind: "document-authoring";
|
|
39
|
+
readonly recoveryHandler: {
|
|
40
|
+
readonly id: "foundation.document-authoring";
|
|
41
|
+
readonly contractVersion: 2;
|
|
42
|
+
};
|
|
43
|
+
readonly foundation: {
|
|
44
|
+
readonly version: string;
|
|
45
|
+
readonly buildIdentity: DocumentAuthorityDigest;
|
|
46
|
+
};
|
|
47
|
+
readonly adapterContractVersion: 1;
|
|
48
|
+
readonly payloadKind: "document-authoring-journal/v2";
|
|
49
|
+
readonly payloadDigest: DocumentAuthorityDigest;
|
|
50
|
+
readonly envelopeDigest: DocumentAuthorityDigest;
|
|
51
|
+
}
|
|
52
|
+
export type DocumentTransactionEnvelope = (DocumentTransactionEnvelopeBase & {
|
|
53
|
+
readonly state: "PREPARED";
|
|
54
|
+
readonly journal: Extract<DocumentTransactionJournal, {
|
|
55
|
+
readonly destination: {
|
|
56
|
+
readonly state: "pending";
|
|
57
|
+
};
|
|
58
|
+
}> | Extract<DocumentTransactionJournal, {
|
|
59
|
+
readonly destination: {
|
|
60
|
+
readonly state: "preexisting";
|
|
61
|
+
};
|
|
62
|
+
}>;
|
|
63
|
+
}) | (DocumentTransactionEnvelopeBase & {
|
|
64
|
+
readonly state: "PUBLISHING";
|
|
65
|
+
readonly journal: Extract<DocumentTransactionJournal, {
|
|
66
|
+
readonly destination: {
|
|
67
|
+
readonly state: "publishing";
|
|
68
|
+
};
|
|
69
|
+
}>;
|
|
70
|
+
}) | (DocumentTransactionEnvelopeBase & {
|
|
71
|
+
readonly state: "PUBLISHED";
|
|
72
|
+
readonly journal: Extract<DocumentTransactionJournal, {
|
|
73
|
+
readonly destination: {
|
|
74
|
+
readonly state: "published";
|
|
75
|
+
};
|
|
76
|
+
}>;
|
|
77
|
+
});
|
|
78
|
+
type WithoutEnvelopeDigests<T> = T extends unknown ? Omit<T, "envelopeDigest" | "payloadDigest"> : never;
|
|
79
|
+
export type DocumentTransactionEnvelopeBody = WithoutEnvelopeDigests<DocumentTransactionEnvelope>;
|
|
80
|
+
export {};
|
|
81
|
+
//# sourceMappingURL=document-transaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-transaction.d.ts","sourceRoot":"","sources":["../../../../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AA;SAAE,CAAA;KAAE,CAC3D,CAAC;CACH,CAAC,GACF,CAAC,+BAA+B,GAAG;IACjC,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,OAAO,CACvB,0BAA0B,EAC1B;QAAE,QAAQ,CAAC,WAAW,EAAE;YAAE,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAA;SAAE,CAAA;KAAE,CAC1D,CAAC;CACH,CAAC,CAAC;AAEP,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAC9C,IAAI,CAAC,CAAC,EAAE,gBAAgB,GAAG,eAAe,CAAC,GAC3C,KAAK,CAAC;AAEV,MAAM,MAAM,+BAA+B,GACzC,sBAAsB,CAAC,2BAA2B,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-transaction.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/model/document-transaction.ts"],"names":[],"mappings":""}
|
|
@@ -18,6 +18,10 @@ interface ArtifactTypeSemantics {
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
readonly placement: PlacementSemantics;
|
|
21
|
+
readonly reachability?: {
|
|
22
|
+
readonly indexPath?: string;
|
|
23
|
+
readonly kind: string;
|
|
24
|
+
};
|
|
21
25
|
readonly type: string;
|
|
22
26
|
}
|
|
23
27
|
export interface AuthoringProfileSemantics {
|
|
@@ -25,7 +29,7 @@ export interface AuthoringProfileSemantics {
|
|
|
25
29
|
readonly artifactTypes: readonly ArtifactTypeSemantics[];
|
|
26
30
|
};
|
|
27
31
|
}
|
|
28
|
-
export type AuthoringProfileSemanticProblem = "duplicate-artifact-type" | "incompatible-identity-placement" | "invalid-qualified-grammar-range" | "overlapping-placement-roots" | "portable-root-collision";
|
|
32
|
+
export type AuthoringProfileSemanticProblem = "duplicate-artifact-type" | "incompatible-identity-placement" | "invalid-qualified-grammar-range" | "incompatible-reachability-placement" | "overlapping-placement-roots" | "portable-root-collision";
|
|
29
33
|
export declare class AuthoringProfileSemanticError extends Error {
|
|
30
34
|
readonly problem: AuthoringProfileSemanticProblem;
|
|
31
35
|
constructor(problem: AuthoringProfileSemanticProblem);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring-profile-semantics.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/policies/authoring-profile-semantics.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAC/C,QAAQ,CAAC,6BAA6B,CAAC,EAAE,MAAM,CAAC;IAChD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACrD,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAClB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,OAAO,CAAC,EAAE;YACjB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;YACnC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;YACnC,QAAQ,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;SAC5C,CAAC;KACH,CAAC;IACF,QAAQ,CAAC,SAAS,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,SAAS,EAAE;QAClB,QAAQ,CAAC,aAAa,EAAE,SAAS,qBAAqB,EAAE,CAAC;KAC1D,CAAC;CACH;AAED,MAAM,MAAM,+BAA+B,GACvC,yBAAyB,GACzB,iCAAiC,GACjC,iCAAiC,GACjC,6BAA6B,GAC7B,yBAAyB,CAAC;AAE9B,qBAAa,6BAA8B,SAAQ,KAAK;IACtD,QAAQ,CAAC,OAAO,EAAE,+BAA+B,CAAC;IAElD,YAAY,OAAO,EAAE,+BAA+B,EAInD;CACF;
|
|
1
|
+
{"version":3,"file":"authoring-profile-semantics.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/policies/authoring-profile-semantics.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAC/C,QAAQ,CAAC,6BAA6B,CAAC,EAAE,MAAM,CAAC;IAChD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACrD,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAClB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,OAAO,CAAC,EAAE;YACjB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;YACnC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;YACnC,QAAQ,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;SAC5C,CAAC;KACH,CAAC;IACF,QAAQ,CAAC,SAAS,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,YAAY,CAAC,EAAE;QACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,SAAS,EAAE;QAClB,QAAQ,CAAC,aAAa,EAAE,SAAS,qBAAqB,EAAE,CAAC;KAC1D,CAAC;CACH;AAED,MAAM,MAAM,+BAA+B,GACvC,yBAAyB,GACzB,iCAAiC,GACjC,iCAAiC,GACjC,qCAAqC,GACrC,6BAA6B,GAC7B,yBAAyB,CAAC;AAE9B,qBAAa,6BAA8B,SAAQ,KAAK;IACtD,QAAQ,CAAC,OAAO,EAAE,+BAA+B,CAAC;IAElD,YAAY,OAAO,EAAE,+BAA+B,EAInD;CACF;AAkCD,wBAAgB,+BAA+B,CAAC,OAAO,EAAE,yBAAyB,GAAG,IAAI,CAgDxF;AAED,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,MAAM,EACtB,YAAY,EAAE,SAAS,MAAM,EAAE,GAC9B,MAAM,GAAG,SAAS,CAKpB;AAED,wBAAgB,6BAA6B,CAC3C,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,SAAS,MAAM,EAAE,EACnC,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAkBT;AAED,wBAAgB,kCAAkC,CAChD,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,kBAAkB,GAC5B,OAAO,CAsCT"}
|
|
@@ -23,6 +23,12 @@ function hasCompatibleIdentityPlacement(artifactType) {
|
|
|
23
23
|
}
|
|
24
24
|
return true;
|
|
25
25
|
}
|
|
26
|
+
function assertCompatibleReachabilityPlacement(artifactType) {
|
|
27
|
+
if (artifactType.reachability?.kind === "manual-colocated-index" &&
|
|
28
|
+
artifactType.placement.kind !== "explicit") {
|
|
29
|
+
throw new AuthoringProfileSemanticError("incompatible-reachability-placement");
|
|
30
|
+
}
|
|
31
|
+
}
|
|
26
32
|
export function assertAuthoringProfileSemantics(profile) {
|
|
27
33
|
const types = new Set();
|
|
28
34
|
for (const artifactType of profile.authoring.artifactTypes) {
|
|
@@ -40,6 +46,7 @@ export function assertAuthoringProfileSemantics(profile) {
|
|
|
40
46
|
if (!hasCompatibleIdentityPlacement(artifactType)) {
|
|
41
47
|
throw new AuthoringProfileSemanticError("incompatible-identity-placement");
|
|
42
48
|
}
|
|
49
|
+
assertCompatibleReachabilityPlacement(artifactType);
|
|
43
50
|
const roots = placement.kind === "qualified-leaf-index"
|
|
44
51
|
? (placement.root === undefined ? [] : [placement.root])
|
|
45
52
|
: [...(placement.allowedRoots ?? [])];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring-profile-semantics.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/policies/authoring-profile-semantics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"authoring-profile-semantics.js","sourceRoot":"","sources":["../../../../src/document-authoring/application/policies/authoring-profile-semantics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AA4CzE,MAAM,OAAO,6BAA8B,SAAQ,KAAK;IAC7C,OAAO,CAAkC;IAElD,YAAY,OAAwC;QAClD,KAAK,CAAC,qDAAqD,OAAO,GAAG,CAAC,CAAC;QACvE,IAAI,CAAC,IAAI,GAAG,+BAA+B,CAAC;QAC5C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;CACF;AAED,SAAS,qBAAqB,CAAC,KAAa;IAC1C,OAAO,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAC;AAC1E,CAAC;AAED,SAAS,uBAAuB,CAAC,MAAc,EAAE,SAAiB;IAChE,OAAO,SAAS,KAAK,MA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B,KAAK,SAAS;QACrD,SAAS,CAAC,4BAA4B,KAAK,SAAS,EACpD,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,MAAM,GAAG,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAChE,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACxC,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,CAC1C,KAAK,IAAI,SAAS,CAAC,6BAA8B;QACjD,WAAW,CAAC,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC,MAAM;YAC1C,SAAS,CAAC,4BAA6B;QACzC,QAAQ,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,OAAO,CAAC,CAC7E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A closed, side-effect-free recovery decision for the document writer.
|
|
3
|
+
*
|
|
4
|
+
* `exact` describes byte equality. Identity relationships are separate so that
|
|
5
|
+
* byte equality can never accidentally grant ownership or recovery authority.
|
|
6
|
+
*/
|
|
7
|
+
export type DocumentRecoveryTemporaryObservation = {
|
|
8
|
+
readonly state: "absent";
|
|
9
|
+
} | {
|
|
10
|
+
readonly state: "exact";
|
|
11
|
+
readonly identity: "nonzero";
|
|
12
|
+
} | {
|
|
13
|
+
readonly state: "replaced";
|
|
14
|
+
readonly identity: "nonzero";
|
|
15
|
+
} | {
|
|
16
|
+
readonly state: "zero-identity";
|
|
17
|
+
} | {
|
|
18
|
+
readonly state: "unverifiable";
|
|
19
|
+
};
|
|
20
|
+
export type DocumentRecoveryDestinationObservation = {
|
|
21
|
+
readonly state: "absent";
|
|
22
|
+
} | {
|
|
23
|
+
readonly state: "conflict";
|
|
24
|
+
} | {
|
|
25
|
+
readonly state: "exact";
|
|
26
|
+
readonly identity: "unbound" | "bound-temporary" | "bound-publication" | "different" | "zero-identity";
|
|
27
|
+
} | {
|
|
28
|
+
readonly state: "unverifiable";
|
|
29
|
+
};
|
|
30
|
+
type DocumentRecoveryJournalObservation = {
|
|
31
|
+
readonly version: "none";
|
|
32
|
+
readonly fileIdentity: "none";
|
|
33
|
+
} | {
|
|
34
|
+
/** Released v1 evidence is read-only and never grants recovery authority. */
|
|
35
|
+
readonly version: "v1-legacy";
|
|
36
|
+
readonly fileIdentity: "nonzero" | "zero-identity" | "unverifiable";
|
|
37
|
+
} | {
|
|
38
|
+
readonly version: "v2";
|
|
39
|
+
readonly fileIdentity: "nonzero" | "zero-identity" | "unverifiable";
|
|
40
|
+
readonly lifecycle: "PREPARED";
|
|
41
|
+
readonly preparedState: "pending" | "preexisting";
|
|
42
|
+
readonly boundIdentity: "none";
|
|
43
|
+
} | {
|
|
44
|
+
readonly version: "v2";
|
|
45
|
+
readonly fileIdentity: "nonzero" | "zero-identity" | "unverifiable";
|
|
46
|
+
readonly lifecycle: "PUBLISHING";
|
|
47
|
+
readonly boundIdentity: "temporary" | "zero-identity" | "unverifiable";
|
|
48
|
+
} | {
|
|
49
|
+
readonly version: "v2";
|
|
50
|
+
readonly fileIdentity: "nonzero" | "zero-identity" | "unverifiable";
|
|
51
|
+
readonly lifecycle: "PUBLISHED";
|
|
52
|
+
readonly boundIdentity: "publication" | "zero-identity" | "unverifiable";
|
|
53
|
+
};
|
|
54
|
+
export interface DocumentRecoveryObservation {
|
|
55
|
+
readonly journal: DocumentRecoveryJournalObservation;
|
|
56
|
+
readonly temporary: DocumentRecoveryTemporaryObservation;
|
|
57
|
+
readonly destination: DocumentRecoveryDestinationObservation;
|
|
58
|
+
}
|
|
59
|
+
type DocumentRecoveryManualReason = "destination-conflict" | "identity-drift" | "inconsistent-lifecycle" | "legacy-journal" | "orphan-temporary" | "publication-missing" | "temporary-missing" | "unverifiable-identity" | "zero-identity";
|
|
60
|
+
export type DocumentRecoveryDecision = {
|
|
61
|
+
readonly action: "resume-prepare";
|
|
62
|
+
} | {
|
|
63
|
+
readonly action: "resume-publish";
|
|
64
|
+
} | {
|
|
65
|
+
readonly action: "complete-publication";
|
|
66
|
+
} | {
|
|
67
|
+
readonly action: "finalize-checks";
|
|
68
|
+
} | {
|
|
69
|
+
readonly action: "already-applied";
|
|
70
|
+
readonly cleanup: "none" | "owned-temporary";
|
|
71
|
+
} | {
|
|
72
|
+
readonly action: "manual";
|
|
73
|
+
readonly reason: DocumentRecoveryManualReason;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Classifies a fully observed recovery snapshot. This function never mutates
|
|
77
|
+
* evidence and deliberately has no catch-all optimistic branch.
|
|
78
|
+
*/
|
|
79
|
+
export declare function classifyDocumentRecovery(observation: DocumentRecoveryObservation): DocumentRecoveryDecision;
|
|
80
|
+
export {};
|
|
81
|
+
//# sourceMappingURL=classify-document-recovery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classify-document-recovery.d.ts","sourceRoot":"","sources":["../../../../src/document-authoring/application/policies/classify-document-recovery.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,oCAAoC,GAC5C;IAAE,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAA;CAAE,GAC5B;IAAE,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,GACzD;IAAE,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,GAC5D;IAAE,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAA;CAAE,GACnC;IAAE,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAA;CAAE,CAAC;AAEvC,MAAM,MAAM,sCA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