gate-evm-tools 1.0.28 → 1.2.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 +47 -18
- package/bin/cli.js +6 -0
- package/bin/delivery.cjs +52 -0
- package/bin/manifest-bootstrap.js +4 -15
- package/dist/commands/check.d.ts.map +1 -1
- package/dist/commands/check.js +26 -2
- package/dist/commands/check.js.map +1 -1
- package/dist/commands/plan/file-store.d.ts.map +1 -0
- package/dist/commands/plan/generate-deployment.d.ts +48 -0
- package/dist/commands/plan/generate-deployment.d.ts.map +1 -0
- package/dist/commands/plan/generate-deployment.js +211 -0
- package/dist/commands/plan/generate-deployment.js.map +1 -0
- package/dist/commands/plan/helpers.d.ts.map +1 -0
- package/dist/commands/plan/index.d.ts +3 -0
- package/dist/commands/plan/index.d.ts.map +1 -0
- package/dist/commands/plan/index.js +88 -0
- package/dist/commands/plan/index.js.map +1 -0
- package/dist/commands/sync.js +1 -1
- package/dist/commands/sync.js.map +1 -1
- package/dist/core/BytecodeChecker.d.ts.map +1 -1
- package/dist/core/BytecodeChecker.js +27 -8
- package/dist/core/BytecodeChecker.js.map +1 -1
- package/dist/core/preparation/artifacts.d.ts +2 -0
- package/dist/core/preparation/artifacts.d.ts.map +1 -1
- package/dist/core/preparation/artifacts.js +9 -3
- package/dist/core/preparation/artifacts.js.map +1 -1
- package/dist/core/preparation/batch.d.ts +26 -0
- package/dist/core/preparation/batch.d.ts.map +1 -0
- package/dist/core/preparation/batch.js +72 -0
- package/dist/core/preparation/batch.js.map +1 -0
- package/dist/core/preparation/evm.d.ts +61 -6
- package/dist/core/preparation/evm.d.ts.map +1 -1
- package/dist/core/preparation/evm.js +122 -34
- package/dist/core/preparation/evm.js.map +1 -1
- package/dist/core/preparation/evmManifestSync.d.ts +68 -0
- package/dist/core/preparation/evmManifestSync.d.ts.map +1 -0
- package/dist/core/preparation/evmManifestSync.js +154 -0
- package/dist/core/preparation/evmManifestSync.js.map +1 -0
- package/dist/core/preparation/index.d.ts +40 -2
- package/dist/core/preparation/index.d.ts.map +1 -1
- package/dist/core/preparation/index.js +3 -3
- package/dist/core/preparation/index.js.map +1 -1
- package/dist/core/preparation/manifest.d.ts +17 -3
- package/dist/core/preparation/manifest.d.ts.map +1 -1
- package/dist/core/preparation/manifest.js +23 -28
- package/dist/core/preparation/manifest.js.map +1 -1
- package/dist/core/preparation/normalize.d.ts.map +1 -1
- package/dist/core/preparation/normalize.js +67 -20
- package/dist/core/preparation/normalize.js.map +1 -1
- package/dist/core/preparation/transparent.d.ts +23 -0
- package/dist/core/preparation/transparent.d.ts.map +1 -0
- package/dist/core/preparation/transparent.js +103 -0
- package/dist/core/preparation/transparent.js.map +1 -0
- package/dist/core/preparation/types.d.ts +54 -7
- package/dist/core/preparation/types.d.ts.map +1 -1
- package/dist/core/preparation/zksync.d.ts.map +1 -1
- package/dist/core/preparation/zksync.js +2 -0
- package/dist/core/preparation/zksync.js.map +1 -1
- package/dist/custody/credential.d.ts.map +1 -1
- package/dist/custody/credential.js +1 -6
- package/dist/custody/credential.js.map +1 -1
- package/dist/custody/hardhat-runtime.d.ts.map +1 -1
- package/dist/custody/hardhat-runtime.js +2 -0
- package/dist/custody/hardhat-runtime.js.map +1 -1
- package/dist/custody/hardhat.d.ts +1 -0
- package/dist/custody/hardhat.d.ts.map +1 -1
- package/dist/custody/hardhat.js +1 -0
- package/dist/custody/hardhat.js.map +1 -1
- package/dist/custody/index.d.ts +1 -0
- package/dist/custody/index.d.ts.map +1 -1
- package/dist/custody/index.js +1 -0
- package/dist/custody/index.js.map +1 -1
- package/dist/custody/provider-wait.d.ts +13 -0
- package/dist/custody/provider-wait.d.ts.map +1 -0
- package/dist/custody/provider-wait.js +78 -0
- package/dist/custody/provider-wait.js.map +1 -0
- package/dist/delivery/policy.d.ts +6 -0
- package/dist/delivery/policy.d.ts.map +1 -0
- package/dist/delivery/policy.js +24 -0
- package/dist/delivery/policy.js.map +1 -0
- package/dist/deployment-evm/index.d.ts +4 -0
- package/dist/deployment-evm/index.d.ts.map +1 -0
- package/dist/deployment-evm/index.js +3 -0
- package/dist/deployment-evm/index.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/sync/index.d.ts +15 -0
- package/dist/sync/index.d.ts.map +1 -1
- package/dist/sync/index.js +13 -0
- package/dist/sync/index.js.map +1 -1
- package/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/workflow/index.d.ts +10 -2
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +6 -0
- package/dist/workflow/index.js.map +1 -1
- package/dist-cjs/core/BytecodeChecker.js +526 -0
- package/dist-cjs/core/BytecodeChecker.js.map +1 -0
- package/dist-cjs/core/legacyProxyArtifact.js +42 -0
- package/dist-cjs/core/legacyProxyArtifact.js.map +1 -0
- package/dist-cjs/core/preparation/artifacts.js +11 -4
- package/dist-cjs/core/preparation/artifacts.js.map +1 -1
- package/dist-cjs/core/preparation/batch.js +76 -0
- package/dist-cjs/core/preparation/batch.js.map +1 -0
- package/dist-cjs/core/preparation/evm.js +128 -37
- package/dist-cjs/core/preparation/evm.js.map +1 -1
- package/dist-cjs/core/preparation/evmManifestSync.js +163 -0
- package/dist-cjs/core/preparation/evmManifestSync.js.map +1 -0
- package/dist-cjs/core/preparation/index.js +3 -3
- package/dist-cjs/core/preparation/index.js.map +1 -1
- package/dist-cjs/core/preparation/manifest.js +25 -30
- package/dist-cjs/core/preparation/manifest.js.map +1 -1
- package/dist-cjs/core/preparation/normalize.js +67 -20
- package/dist-cjs/core/preparation/normalize.js.map +1 -1
- package/dist-cjs/core/preparation/transparent.js +110 -0
- package/dist-cjs/core/preparation/transparent.js.map +1 -0
- package/dist-cjs/core/preparation/zksync.js +2 -0
- package/dist-cjs/core/preparation/zksync.js.map +1 -1
- package/dist-cjs/custody/credential.js +1 -6
- package/dist-cjs/custody/credential.js.map +1 -1
- package/dist-cjs/custody/hardhat-runtime.js +2 -0
- package/dist-cjs/custody/hardhat-runtime.js.map +1 -1
- package/dist-cjs/custody/hardhat.js +3 -1
- package/dist-cjs/custody/hardhat.js.map +1 -1
- package/dist-cjs/custody/index.js +3 -1
- package/dist-cjs/custody/index.js.map +1 -1
- package/dist-cjs/custody/provider-wait.js +81 -0
- package/dist-cjs/custody/provider-wait.js.map +1 -0
- package/dist-cjs/delivery/policy.js +29 -0
- package/dist-cjs/delivery/policy.js.map +1 -0
- package/dist-cjs/deployment-evm/index.js +10 -0
- package/dist-cjs/deployment-evm/index.js.map +1 -0
- package/dist-cjs/sync/index.js +13 -0
- package/dist-cjs/sync/index.js.map +1 -1
- package/dist-cjs/workflow/index.js +22 -1
- package/dist-cjs/workflow/index.js.map +1 -1
- package/dist-runtime/config/hardhatAdapters.js +2 -1
- package/dist-runtime/config/hardhatAdapters.js.map +1 -1
- package/dist-runtime/config/openzeppelin.d.ts +2 -1
- package/dist-runtime/config/openzeppelin.js +2 -19
- package/dist-runtime/config/openzeppelin.js.map +1 -1
- package/dist-runtime/delivery/abi.d.ts +14 -0
- package/dist-runtime/delivery/abi.js +161 -0
- package/dist-runtime/delivery/abi.js.map +1 -0
- package/dist-runtime/delivery/aggregate-bootstrap.d.ts +12 -0
- package/dist-runtime/delivery/aggregate-bootstrap.js +42 -0
- package/dist-runtime/delivery/aggregate-bootstrap.js.map +1 -0
- package/dist-runtime/delivery/aggregate-channel.d.ts +28 -0
- package/dist-runtime/delivery/aggregate-channel.js +159 -0
- package/dist-runtime/delivery/aggregate-channel.js.map +1 -0
- package/dist-runtime/delivery/aggregate-diagnostics.d.ts +14 -0
- package/dist-runtime/delivery/aggregate-diagnostics.js +73 -0
- package/dist-runtime/delivery/aggregate-diagnostics.js.map +1 -0
- package/dist-runtime/delivery/aggregate-inputs.d.ts +172 -0
- package/dist-runtime/delivery/aggregate-inputs.js +57 -0
- package/dist-runtime/delivery/aggregate-inputs.js.map +1 -0
- package/dist-runtime/delivery/aggregate-source.d.ts +25 -0
- package/dist-runtime/delivery/aggregate-source.js +87 -0
- package/dist-runtime/delivery/aggregate-source.js.map +1 -0
- package/dist-runtime/delivery/aggregate-worker.d.ts +1 -0
- package/dist-runtime/delivery/aggregate-worker.js +199 -0
- package/dist-runtime/delivery/aggregate-worker.js.map +1 -0
- package/dist-runtime/delivery/aggregate.d.ts +51 -0
- package/dist-runtime/delivery/aggregate.js +190 -0
- package/dist-runtime/delivery/aggregate.js.map +1 -0
- package/dist-runtime/delivery/bindings.d.ts +21 -0
- package/dist-runtime/delivery/bindings.js +53 -0
- package/dist-runtime/delivery/bindings.js.map +1 -0
- package/dist-runtime/delivery/business-extension.d.ts +10 -0
- package/dist-runtime/delivery/business-extension.js +38 -0
- package/dist-runtime/delivery/business-extension.js.map +1 -0
- package/dist-runtime/delivery/calldata-archive.d.ts +18 -0
- package/dist-runtime/delivery/calldata-archive.js +31 -0
- package/dist-runtime/delivery/calldata-archive.js.map +1 -0
- package/dist-runtime/delivery/calldata-details.d.ts +47 -0
- package/dist-runtime/delivery/calldata-details.js +94 -0
- package/dist-runtime/delivery/calldata-details.js.map +1 -0
- package/dist-runtime/delivery/calldata-format.d.ts +4 -0
- package/dist-runtime/delivery/calldata-format.js +17 -0
- package/dist-runtime/delivery/calldata-format.js.map +1 -0
- package/dist-runtime/delivery/calldata-preparations.d.ts +13 -0
- package/dist-runtime/delivery/calldata-preparations.js +85 -0
- package/dist-runtime/delivery/calldata-preparations.js.map +1 -0
- package/dist-runtime/delivery/calldata-review.d.ts +44 -0
- package/dist-runtime/delivery/calldata-review.js +131 -0
- package/dist-runtime/delivery/calldata-review.js.map +1 -0
- package/dist-runtime/delivery/check-code.d.ts +19 -0
- package/dist-runtime/delivery/check-code.js +63 -0
- package/dist-runtime/delivery/check-code.js.map +1 -0
- package/dist-runtime/delivery/closure-format.d.ts +77 -0
- package/dist-runtime/delivery/closure-format.js +225 -0
- package/dist-runtime/delivery/closure-format.js.map +1 -0
- package/dist-runtime/delivery/codec-pin.d.ts +2 -0
- package/dist-runtime/delivery/codec-pin.js +7 -0
- package/dist-runtime/delivery/codec-pin.js.map +1 -0
- package/dist-runtime/delivery/codec.d.ts +19 -0
- package/dist-runtime/delivery/codec.js +73 -0
- package/dist-runtime/delivery/codec.js.map +1 -0
- package/dist-runtime/delivery/compiler-dependency-pins.d.ts +7 -0
- package/dist-runtime/delivery/compiler-dependency-pins.js +1689 -0
- package/dist-runtime/delivery/compiler-dependency-pins.js.map +1 -0
- package/dist-runtime/delivery/compiler-files.d.ts +40 -0
- package/dist-runtime/delivery/compiler-files.js +222 -0
- package/dist-runtime/delivery/compiler-files.js.map +1 -0
- package/dist-runtime/delivery/compiler-io.d.ts +2 -0
- package/dist-runtime/delivery/compiler-io.js +13 -0
- package/dist-runtime/delivery/compiler-io.js.map +1 -0
- package/dist-runtime/delivery/compiler-pins.d.ts +10 -0
- package/dist-runtime/delivery/compiler-pins.js +147 -0
- package/dist-runtime/delivery/compiler-pins.js.map +1 -0
- package/dist-runtime/delivery/compiler.d.ts +188 -0
- package/dist-runtime/delivery/compiler.js +851 -0
- package/dist-runtime/delivery/compiler.js.map +1 -0
- package/dist-runtime/delivery/config.d.ts +48 -0
- package/dist-runtime/delivery/config.js +124 -0
- package/dist-runtime/delivery/config.js.map +1 -0
- package/dist-runtime/delivery/configuration-definition.d.ts +31 -0
- package/dist-runtime/delivery/configuration-definition.js +343 -0
- package/dist-runtime/delivery/configuration-definition.js.map +1 -0
- package/dist-runtime/delivery/configuration-hre.d.ts +17 -0
- package/dist-runtime/delivery/configuration-hre.js +198 -0
- package/dist-runtime/delivery/configuration-hre.js.map +1 -0
- package/dist-runtime/delivery/configuration-runtime.d.ts +36 -0
- package/dist-runtime/delivery/configuration-runtime.js +248 -0
- package/dist-runtime/delivery/configuration-runtime.js.map +1 -0
- package/dist-runtime/delivery/configuration.d.ts +35 -0
- package/dist-runtime/delivery/configuration.js +86 -0
- package/dist-runtime/delivery/configuration.js.map +1 -0
- package/dist-runtime/delivery/contract-source.d.ts +14 -0
- package/dist-runtime/delivery/contract-source.js +138 -0
- package/dist-runtime/delivery/contract-source.js.map +1 -0
- package/dist-runtime/delivery/create2.d.ts +3 -0
- package/dist-runtime/delivery/create2.js +48 -0
- package/dist-runtime/delivery/create2.js.map +1 -0
- package/dist-runtime/delivery/custom-closure.d.ts +27 -0
- package/dist-runtime/delivery/custom-closure.js +818 -0
- package/dist-runtime/delivery/custom-closure.js.map +1 -0
- package/dist-runtime/delivery/custom-format.d.ts +35 -0
- package/dist-runtime/delivery/custom-format.js +410 -0
- package/dist-runtime/delivery/custom-format.js.map +1 -0
- package/dist-runtime/delivery/custom.d.ts +32 -0
- package/dist-runtime/delivery/custom.js +158 -0
- package/dist-runtime/delivery/custom.js.map +1 -0
- package/dist-runtime/delivery/data.d.ts +7 -0
- package/dist-runtime/delivery/data.js +86 -0
- package/dist-runtime/delivery/data.js.map +1 -0
- package/dist-runtime/delivery/development.d.ts +92 -0
- package/dist-runtime/delivery/development.js +406 -0
- package/dist-runtime/delivery/development.js.map +1 -0
- package/dist-runtime/delivery/engine.d.ts +9 -0
- package/dist-runtime/delivery/engine.js +23 -0
- package/dist-runtime/delivery/engine.js.map +1 -0
- package/dist-runtime/delivery/eoa-observation.d.ts +43 -0
- package/dist-runtime/delivery/eoa-observation.js +145 -0
- package/dist-runtime/delivery/eoa-observation.js.map +1 -0
- package/dist-runtime/delivery/eoa-signed.d.ts +2 -0
- package/dist-runtime/delivery/eoa-signed.js +74 -0
- package/dist-runtime/delivery/eoa-signed.js.map +1 -0
- package/dist-runtime/delivery/eoa.d.ts +82 -0
- package/dist-runtime/delivery/eoa.js +274 -0
- package/dist-runtime/delivery/eoa.js.map +1 -0
- package/dist-runtime/delivery/execution-db.d.ts +20 -0
- package/dist-runtime/delivery/execution-db.js +153 -0
- package/dist-runtime/delivery/execution-db.js.map +1 -0
- package/dist-runtime/delivery/execution-files.d.ts +9 -0
- package/dist-runtime/delivery/execution-files.js +138 -0
- package/dist-runtime/delivery/execution-files.js.map +1 -0
- package/dist-runtime/delivery/execution-identity.d.ts +15 -0
- package/dist-runtime/delivery/execution-identity.js +33 -0
- package/dist-runtime/delivery/execution-identity.js.map +1 -0
- package/dist-runtime/delivery/execution-model.d.ts +56 -0
- package/dist-runtime/delivery/execution-model.js +66 -0
- package/dist-runtime/delivery/execution-model.js.map +1 -0
- package/dist-runtime/delivery/execution-store.d.ts +48 -0
- package/dist-runtime/delivery/execution-store.js +361 -0
- package/dist-runtime/delivery/execution-store.js.map +1 -0
- package/dist-runtime/delivery/existing-code.d.ts +37 -0
- package/dist-runtime/delivery/existing-code.js +83 -0
- package/dist-runtime/delivery/existing-code.js.map +1 -0
- package/dist-runtime/delivery/export.d.ts +51 -0
- package/dist-runtime/delivery/export.js +69 -0
- package/dist-runtime/delivery/export.js.map +1 -0
- package/dist-runtime/delivery/forkAudit.d.ts +119 -0
- package/dist-runtime/delivery/forkAudit.js +473 -0
- package/dist-runtime/delivery/forkAudit.js.map +1 -0
- package/dist-runtime/delivery/hardhat.d.ts +3 -0
- package/dist-runtime/delivery/hardhat.js +45 -0
- package/dist-runtime/delivery/hardhat.js.map +1 -0
- package/dist-runtime/delivery/history-registration.d.ts +2 -0
- package/dist-runtime/delivery/history-registration.js +17 -0
- package/dist-runtime/delivery/history-registration.js.map +1 -0
- package/dist-runtime/delivery/identities.d.ts +22 -0
- package/dist-runtime/delivery/identities.js +97 -0
- package/dist-runtime/delivery/identities.js.map +1 -0
- package/dist-runtime/delivery/input-files.d.ts +5 -0
- package/dist-runtime/delivery/input-files.js +70 -0
- package/dist-runtime/delivery/input-files.js.map +1 -0
- package/dist-runtime/delivery/inputs.d.ts +62 -0
- package/dist-runtime/delivery/inputs.js +194 -0
- package/dist-runtime/delivery/inputs.js.map +1 -0
- package/dist-runtime/delivery/journal.d.ts +35 -0
- package/dist-runtime/delivery/journal.js +278 -0
- package/dist-runtime/delivery/journal.js.map +1 -0
- package/dist-runtime/delivery/manifest.d.ts +14 -0
- package/dist-runtime/delivery/manifest.js +68 -0
- package/dist-runtime/delivery/manifest.js.map +1 -0
- package/dist-runtime/delivery/materialization.d.ts +20 -0
- package/dist-runtime/delivery/materialization.js +138 -0
- package/dist-runtime/delivery/materialization.js.map +1 -0
- package/dist-runtime/delivery/observations.d.ts +31 -0
- package/dist-runtime/delivery/observations.js +38 -0
- package/dist-runtime/delivery/observations.js.map +1 -0
- package/dist-runtime/delivery/parameter-defaults.d.ts +10 -0
- package/dist-runtime/delivery/parameter-defaults.js +86 -0
- package/dist-runtime/delivery/parameter-defaults.js.map +1 -0
- package/dist-runtime/delivery/parameters.d.ts +55 -0
- package/dist-runtime/delivery/parameters.js +279 -0
- package/dist-runtime/delivery/parameters.js.map +1 -0
- package/dist-runtime/delivery/pending.d.ts +70 -0
- package/dist-runtime/delivery/pending.js +99 -0
- package/dist-runtime/delivery/pending.js.map +1 -0
- package/dist-runtime/delivery/plan.d.ts +50 -0
- package/dist-runtime/delivery/plan.js +209 -0
- package/dist-runtime/delivery/plan.js.map +1 -0
- package/dist-runtime/delivery/planning.d.ts +84 -0
- package/dist-runtime/delivery/planning.js +318 -0
- package/dist-runtime/delivery/planning.js.map +1 -0
- package/dist-runtime/delivery/policy.d.ts +4 -0
- package/dist-runtime/delivery/policy.js +9 -0
- package/dist-runtime/delivery/policy.js.map +1 -0
- package/dist-runtime/delivery/preparation.d.ts +6 -0
- package/dist-runtime/delivery/preparation.js +178 -0
- package/dist-runtime/delivery/preparation.js.map +1 -0
- package/dist-runtime/delivery/production-environment.d.ts +2 -0
- package/dist-runtime/delivery/production-environment.js +13 -0
- package/dist-runtime/delivery/production-environment.js.map +1 -0
- package/dist-runtime/delivery/production-finalization.d.ts +86 -0
- package/dist-runtime/delivery/production-finalization.js +292 -0
- package/dist-runtime/delivery/production-finalization.js.map +1 -0
- package/dist-runtime/delivery/production-intent.d.ts +2 -0
- package/dist-runtime/delivery/production-intent.js +16 -0
- package/dist-runtime/delivery/production-intent.js.map +1 -0
- package/dist-runtime/delivery/production.d.ts +582 -0
- package/dist-runtime/delivery/production.js +445 -0
- package/dist-runtime/delivery/production.js.map +1 -0
- package/dist-runtime/delivery/project-files.d.ts +8 -0
- package/dist-runtime/delivery/project-files.js +87 -0
- package/dist-runtime/delivery/project-files.js.map +1 -0
- package/dist-runtime/delivery/project-rpc.d.ts +19 -0
- package/dist-runtime/delivery/project-rpc.js +138 -0
- package/dist-runtime/delivery/project-rpc.js.map +1 -0
- package/dist-runtime/delivery/project.d.ts +17 -0
- package/dist-runtime/delivery/project.js +170 -0
- package/dist-runtime/delivery/project.js.map +1 -0
- package/dist-runtime/delivery/protocol.d.ts +49 -0
- package/dist-runtime/delivery/protocol.js +112 -0
- package/dist-runtime/delivery/protocol.js.map +1 -0
- package/dist-runtime/delivery/public-calldata.d.ts +25 -0
- package/dist-runtime/delivery/public-calldata.js +97 -0
- package/dist-runtime/delivery/public-calldata.js.map +1 -0
- package/dist-runtime/delivery/references.d.ts +19 -0
- package/dist-runtime/delivery/references.js +84 -0
- package/dist-runtime/delivery/references.js.map +1 -0
- package/dist-runtime/delivery/release-graph.d.ts +97 -0
- package/dist-runtime/delivery/release-graph.js +139 -0
- package/dist-runtime/delivery/release-graph.js.map +1 -0
- package/dist-runtime/delivery/release-history-capture.d.ts +7 -0
- package/dist-runtime/delivery/release-history-capture.js +76 -0
- package/dist-runtime/delivery/release-history-capture.js.map +1 -0
- package/dist-runtime/delivery/release-history.d.ts +43 -0
- package/dist-runtime/delivery/release-history.js +322 -0
- package/dist-runtime/delivery/release-history.js.map +1 -0
- package/dist-runtime/delivery/release-inputs.d.ts +33 -0
- package/dist-runtime/delivery/release-inputs.js +129 -0
- package/dist-runtime/delivery/release-inputs.js.map +1 -0
- package/dist-runtime/delivery/release.d.ts +196 -0
- package/dist-runtime/delivery/release.js +261 -0
- package/dist-runtime/delivery/release.js.map +1 -0
- package/dist-runtime/delivery/safe-manifest.d.ts +9 -0
- package/dist-runtime/delivery/safe-manifest.js +13 -0
- package/dist-runtime/delivery/safe-manifest.js.map +1 -0
- package/dist-runtime/delivery/safe-observation.d.ts +30 -0
- package/dist-runtime/delivery/safe-observation.js +487 -0
- package/dist-runtime/delivery/safe-observation.js.map +1 -0
- package/dist-runtime/delivery/safe-prepare.d.ts +13 -0
- package/dist-runtime/delivery/safe-prepare.js +81 -0
- package/dist-runtime/delivery/safe-prepare.js.map +1 -0
- package/dist-runtime/delivery/safe.d.ts +92 -0
- package/dist-runtime/delivery/safe.js +254 -0
- package/dist-runtime/delivery/safe.js.map +1 -0
- package/dist-runtime/delivery/same-fork-baseline.d.ts +8 -0
- package/dist-runtime/delivery/same-fork-baseline.js +21 -0
- package/dist-runtime/delivery/same-fork-baseline.js.map +1 -0
- package/dist-runtime/delivery/setup.d.ts +31 -0
- package/dist-runtime/delivery/setup.js +230 -0
- package/dist-runtime/delivery/setup.js.map +1 -0
- package/dist-runtime/delivery/source.d.ts +42 -0
- package/dist-runtime/delivery/source.js +139 -0
- package/dist-runtime/delivery/source.js.map +1 -0
- package/dist-runtime/delivery/target-fields.d.ts +2 -0
- package/dist-runtime/delivery/target-fields.js +11 -0
- package/dist-runtime/delivery/target-fields.js.map +1 -0
- package/dist-runtime/delivery/task-identity.d.ts +23 -0
- package/dist-runtime/delivery/task-identity.js +109 -0
- package/dist-runtime/delivery/task-identity.js.map +1 -0
- package/dist-runtime/delivery/toolchain.d.ts +3 -0
- package/dist-runtime/delivery/toolchain.js +52 -0
- package/dist-runtime/delivery/toolchain.js.map +1 -0
- package/dist-runtime/delivery/validation.d.ts +9 -0
- package/dist-runtime/delivery/validation.js +155 -0
- package/dist-runtime/delivery/validation.js.map +1 -0
- package/dist-runtime/delivery/verification.d.ts +16 -0
- package/dist-runtime/delivery/verification.js +65 -0
- package/dist-runtime/delivery/verification.js.map +1 -0
- package/dist-runtime/migrate.js +1 -0
- package/dist-runtime/migrate.js.map +1 -1
- package/dist-runtime/miner/binary.d.ts +2 -0
- package/dist-runtime/miner/binary.js +54 -0
- package/dist-runtime/miner/binary.js.map +1 -0
- package/dist-runtime/miner/cli.d.ts +1 -0
- package/dist-runtime/miner/cli.js +131 -0
- package/dist-runtime/miner/cli.js.map +1 -0
- package/dist-runtime/miner/index.d.ts +5 -0
- package/dist-runtime/miner/index.js +13 -0
- package/dist-runtime/miner/index.js.map +1 -0
- package/dist-runtime/miner/request.d.ts +7 -0
- package/dist-runtime/miner/request.js +73 -0
- package/dist-runtime/miner/request.js.map +1 -0
- package/dist-runtime/miner/runner.d.ts +2 -0
- package/dist-runtime/miner/runner.js +131 -0
- package/dist-runtime/miner/runner.js.map +1 -0
- package/dist-runtime/miner/types.d.ts +89 -0
- package/dist-runtime/miner/types.js +3 -0
- package/dist-runtime/miner/types.js.map +1 -0
- package/dist-runtime/miner/verify.d.ts +2 -0
- package/dist-runtime/miner/verify.js +75 -0
- package/dist-runtime/miner/verify.js.map +1 -0
- package/dist-runtime/runtime-identity.json +2 -2
- package/dist-runtime/vendor/plan-codec/index.cjs +897 -0
- package/dist-runtime/vendor/plan-codec/index.d.cts +38 -0
- package/dist-runtime/vendor/plan-codec/provenance.json +25 -0
- package/dist-runtime/workflow/engine.d.ts +14 -0
- package/dist-runtime/workflow/engine.js +160 -0
- package/dist-runtime/workflow/engine.js.map +1 -0
- package/dist-runtime/workflow/lib/authority.d.ts +6 -3
- package/dist-runtime/workflow/lib/authority.js.map +1 -1
- package/dist-runtime/workflow/lib/calls.d.ts +1 -1
- package/dist-runtime/workflow/lib/calls.js +44 -34
- package/dist-runtime/workflow/lib/calls.js.map +1 -1
- package/dist-runtime/workflow/lib/canonicalData.d.ts +8 -0
- package/dist-runtime/workflow/lib/canonicalData.js +68 -0
- package/dist-runtime/workflow/lib/canonicalData.js.map +1 -0
- package/dist-runtime/workflow/lib/checkCodeRunner.js +7 -4
- package/dist-runtime/workflow/lib/checkCodeRunner.js.map +1 -1
- package/dist-runtime/workflow/lib/config.d.ts +3 -1
- package/dist-runtime/workflow/lib/config.js.map +1 -1
- package/dist-runtime/workflow/lib/context.d.ts +77 -0
- package/dist-runtime/workflow/lib/context.js +3 -0
- package/dist-runtime/workflow/lib/context.js.map +1 -0
- package/dist-runtime/workflow/lib/create2.d.ts +5 -27
- package/dist-runtime/workflow/lib/create2.js +11 -79
- package/dist-runtime/workflow/lib/create2.js.map +1 -1
- package/dist-runtime/workflow/lib/deploymentInfo.d.ts +2 -0
- package/dist-runtime/workflow/lib/deploymentInfo.js +6 -0
- package/dist-runtime/workflow/lib/deploymentInfo.js.map +1 -1
- package/dist-runtime/workflow/lib/deploymentRecords.d.ts +2 -0
- package/dist-runtime/workflow/lib/deploymentRecords.js +1 -1
- package/dist-runtime/workflow/lib/deploymentRecords.js.map +1 -1
- package/dist-runtime/workflow/lib/deployments.d.ts +5 -5
- package/dist-runtime/workflow/lib/deployments.js +5 -13
- package/dist-runtime/workflow/lib/deployments.js.map +1 -1
- package/dist-runtime/workflow/lib/evidencePorts.d.ts +55 -0
- package/dist-runtime/workflow/lib/evidencePorts.js +3 -0
- package/dist-runtime/workflow/lib/evidencePorts.js.map +1 -0
- package/dist-runtime/workflow/lib/executionPlan.d.ts +4 -42
- package/dist-runtime/workflow/lib/executionPlan.js +15 -210
- package/dist-runtime/workflow/lib/executionPlan.js.map +1 -1
- package/dist-runtime/workflow/lib/externalExecutionScanner.js +2 -1
- package/dist-runtime/workflow/lib/externalExecutionScanner.js.map +1 -1
- package/dist-runtime/workflow/lib/gateTool.d.ts +6 -2
- package/dist-runtime/workflow/lib/gateTool.js +22 -12
- package/dist-runtime/workflow/lib/gateTool.js.map +1 -1
- package/dist-runtime/workflow/lib/gateToolSync.d.ts +4 -1
- package/dist-runtime/workflow/lib/gateToolSync.js +8 -2
- package/dist-runtime/workflow/lib/gateToolSync.js.map +1 -1
- package/dist-runtime/workflow/lib/operationNames.d.ts +3 -0
- package/dist-runtime/workflow/lib/operationNames.js +34 -0
- package/dist-runtime/workflow/lib/operationNames.js.map +1 -0
- package/dist-runtime/workflow/lib/parameters.d.ts +1 -1
- package/dist-runtime/workflow/lib/parameters.js +11 -22
- package/dist-runtime/workflow/lib/parameters.js.map +1 -1
- package/dist-runtime/workflow/lib/pendingDeploymentReuse.js +18 -52
- package/dist-runtime/workflow/lib/pendingDeploymentReuse.js.map +1 -1
- package/dist-runtime/workflow/lib/pendingUupsBinding.d.ts +42 -0
- package/dist-runtime/workflow/lib/pendingUupsBinding.js +39 -0
- package/dist-runtime/workflow/lib/pendingUupsBinding.js.map +1 -0
- package/dist-runtime/workflow/lib/plan.d.ts +55 -0
- package/dist-runtime/workflow/lib/plan.js +324 -0
- package/dist-runtime/workflow/lib/plan.js.map +1 -0
- package/dist-runtime/workflow/lib/planCli.d.ts +14 -0
- package/dist-runtime/workflow/lib/planCli.js +279 -0
- package/dist-runtime/workflow/lib/planCli.js.map +1 -0
- package/dist-runtime/workflow/lib/preparationEvidence.d.ts +4 -0
- package/dist-runtime/workflow/lib/preparationEvidence.js +19 -0
- package/dist-runtime/workflow/lib/preparationEvidence.js.map +1 -0
- package/dist-runtime/workflow/lib/proxy.d.ts +4 -2
- package/dist-runtime/workflow/lib/proxy.js +3 -4
- package/dist-runtime/workflow/lib/proxy.js.map +1 -1
- package/dist-runtime/workflow/lib/runtime.d.ts +6 -0
- package/dist-runtime/workflow/lib/runtime.js +48 -0
- package/dist-runtime/workflow/lib/runtime.js.map +1 -0
- package/dist-runtime/workflow/lib/signer.d.ts +3 -2
- package/dist-runtime/workflow/lib/signer.js +18 -18
- package/dist-runtime/workflow/lib/signer.js.map +1 -1
- package/dist-runtime/workflow/lib/simulation.d.ts +13 -6
- package/dist-runtime/workflow/lib/simulation.js +39 -31
- package/dist-runtime/workflow/lib/simulation.js.map +1 -1
- package/dist-runtime/workflow/lib/state.js +3 -3
- package/dist-runtime/workflow/lib/state.js.map +1 -1
- package/dist-runtime/workflow/lib/staticValidation.d.ts +28 -0
- package/dist-runtime/workflow/lib/staticValidation.js +54 -10
- package/dist-runtime/workflow/lib/staticValidation.js.map +1 -1
- package/dist-runtime/workflow/lib/transactionPlanner.d.ts +62 -0
- package/dist-runtime/workflow/lib/transactionPlanner.js +258 -0
- package/dist-runtime/workflow/lib/transactionPlanner.js.map +1 -0
- package/dist-runtime/workflow/lib/typedValue.d.ts +3 -0
- package/dist-runtime/workflow/lib/typedValue.js +76 -0
- package/dist-runtime/workflow/lib/typedValue.js.map +1 -0
- package/dist-runtime/workflow/lib/validation.d.ts +23 -0
- package/dist-runtime/workflow/lib/validation.js +15 -0
- package/dist-runtime/workflow/lib/validation.js.map +1 -0
- package/dist-runtime/workflow/planAdd.d.ts +1 -0
- package/dist-runtime/workflow/planAdd.js +11 -0
- package/dist-runtime/workflow/planAdd.js.map +1 -0
- package/dist-runtime/workflow/planRead.d.ts +1 -0
- package/dist-runtime/workflow/planRead.js +11 -0
- package/dist-runtime/workflow/planRead.js.map +1 -0
- package/dist-runtime/workflow/planStatus.d.ts +1 -0
- package/dist-runtime/workflow/planStatus.js +11 -0
- package/dist-runtime/workflow/planStatus.js.map +1 -0
- package/dist-runtime/workflow/planWrite.d.ts +1 -0
- package/dist-runtime/workflow/planWrite.js +11 -0
- package/dist-runtime/workflow/planWrite.js.map +1 -0
- package/dist-runtime/workflow/run.d.ts +1 -40
- package/dist-runtime/workflow/run.js +69 -139
- package/dist-runtime/workflow/run.js.map +1 -1
- package/dist-runtime/workflow/staticValidate.js +8 -3
- package/dist-runtime/workflow/staticValidate.js.map +1 -1
- package/dist-runtime/workflow/steps/call.d.ts +1 -1
- package/dist-runtime/workflow/steps/check.d.ts +1 -1
- package/dist-runtime/workflow/steps/custom.d.ts +1 -1
- package/dist-runtime/workflow/steps/deploy.d.ts +1 -1
- package/dist-runtime/workflow/steps/deploy.js +110 -55
- package/dist-runtime/workflow/steps/deploy.js.map +1 -1
- package/dist-runtime/workflow/steps/upgrade.d.ts +1 -1
- package/dist-runtime/workflow/steps/upgrade.js +84 -49
- package/dist-runtime/workflow/steps/upgrade.js.map +1 -1
- package/dist-runtime/workflow/steps/view.d.ts +1 -1
- package/docs/compiler-qualification.md +38 -0
- package/docs/configuration-runtime-observation.md +29 -0
- package/docs/create2-miner.md +100 -0
- package/docs/delivery-aggregate.md +29 -0
- package/docs/delivery-calldata.md +27 -0
- package/docs/delivery-custom-input-closure.md +51 -0
- package/docs/delivery-development.md +38 -0
- package/docs/delivery-eoa.md +46 -0
- package/docs/delivery-evm-manifest.md +20 -0
- package/docs/delivery-execution-store.md +33 -0
- package/docs/delivery-inputs.md +95 -0
- package/docs/delivery-parameters.md +65 -0
- package/docs/delivery-planning.md +140 -0
- package/docs/delivery-release.md +119 -0
- package/docs/delivery-safe.md +75 -0
- package/docs/delivery-setup.md +198 -0
- package/docs/delivery-source.md +67 -0
- package/docs/direct-package-acceptance.md +2 -0
- package/docs/openzeppelin-acceptance.md +86 -0
- package/docs/openzeppelin-baseline.json +27 -0
- package/docs/openzeppelin-integration.md +115 -0
- package/docs/plans/2026-10-28-openzeppelin-toolkit-consolidation.md +396 -0
- package/docs/plans/2026-11-02-transparent-proxy-delivery.md +78 -0
- package/docs/superpowers/plans/2026-08-17-custody-hardhat-signers.md +1 -1
- package/docs/superpowers/plans/2026-09-24-scheme-aware-static-validation.md +193 -0
- package/docs/superpowers/plans/2026-10-28-create2-miner.md +82 -0
- package/docs/workflow-reference.md +12 -4
- package/docs/workflow-runtime.md +6 -0
- package/package.json +148 -10
- package/resources/create2/LICENSE +21 -0
- package/resources/create2/README.md +9 -0
- package/resources/create2/darwin-arm64/smartflow_miner +0 -0
- package/resources/create2/darwin-x64/smartflow_miner +0 -0
- package/resources/create2/manifest.json +27 -0
- package/runtime/config/hardhatAdapters.ts +2 -1
- package/runtime/config/openzeppelin.ts +3 -21
- package/runtime/delivery/abi.ts +225 -0
- package/runtime/delivery/aggregate-bootstrap.ts +31 -0
- package/runtime/delivery/aggregate-channel.ts +88 -0
- package/runtime/delivery/aggregate-diagnostics.ts +63 -0
- package/runtime/delivery/aggregate-inputs.ts +39 -0
- package/runtime/delivery/aggregate-source.ts +57 -0
- package/runtime/delivery/aggregate-worker.ts +143 -0
- package/runtime/delivery/aggregate.ts +139 -0
- package/runtime/delivery/bindings.ts +37 -0
- package/runtime/delivery/business-extension.ts +33 -0
- package/runtime/delivery/calldata-archive.ts +25 -0
- package/runtime/delivery/calldata-details.ts +90 -0
- package/runtime/delivery/calldata-format.ts +14 -0
- package/runtime/delivery/calldata-preparations.ts +76 -0
- package/runtime/delivery/calldata-review.ts +126 -0
- package/runtime/delivery/check-code.ts +38 -0
- package/runtime/delivery/closure-format.ts +350 -0
- package/runtime/delivery/codec-pin.ts +3 -0
- package/runtime/delivery/codec.ts +50 -0
- package/runtime/delivery/compiler-dependency-pins.ts +1685 -0
- package/runtime/delivery/compiler-files.ts +181 -0
- package/runtime/delivery/compiler-io.ts +10 -0
- package/runtime/delivery/compiler-pins.ts +143 -0
- package/runtime/delivery/compiler.ts +701 -0
- package/runtime/delivery/config.ts +116 -0
- package/runtime/delivery/configuration-definition.ts +160 -0
- package/runtime/delivery/configuration-hre.ts +130 -0
- package/runtime/delivery/configuration-runtime.ts +163 -0
- package/runtime/delivery/configuration.ts +67 -0
- package/runtime/delivery/contract-source.ts +112 -0
- package/runtime/delivery/create2.ts +57 -0
- package/runtime/delivery/custom-closure.ts +993 -0
- package/runtime/delivery/custom-format.ts +479 -0
- package/runtime/delivery/custom.ts +219 -0
- package/runtime/delivery/data.ts +94 -0
- package/runtime/delivery/development.ts +264 -0
- package/runtime/delivery/engine.ts +29 -0
- package/runtime/delivery/eoa-observation.ts +106 -0
- package/runtime/delivery/eoa-signed.ts +55 -0
- package/runtime/delivery/eoa.ts +288 -0
- package/runtime/delivery/execution-db.ts +131 -0
- package/runtime/delivery/execution-files.ts +135 -0
- package/runtime/delivery/execution-identity.ts +32 -0
- package/runtime/delivery/execution-model.ts +102 -0
- package/runtime/delivery/execution-store.ts +411 -0
- package/runtime/delivery/existing-code.ts +45 -0
- package/runtime/delivery/export.ts +99 -0
- package/runtime/delivery/forkAudit.ts +620 -0
- package/runtime/delivery/hardhat.ts +38 -0
- package/runtime/delivery/history-registration.ts +10 -0
- package/runtime/delivery/identities.ts +132 -0
- package/runtime/delivery/input-files.ts +46 -0
- package/runtime/delivery/inputs.ts +204 -0
- package/runtime/delivery/journal.ts +205 -0
- package/runtime/delivery/manifest.ts +54 -0
- package/runtime/delivery/materialization.ts +53 -0
- package/runtime/delivery/observations.ts +60 -0
- package/runtime/delivery/parameter-defaults.ts +75 -0
- package/runtime/delivery/parameters.ts +367 -0
- package/runtime/delivery/pending.ts +98 -0
- package/runtime/delivery/plan.ts +337 -0
- package/runtime/delivery/planning.ts +411 -0
- package/runtime/delivery/policy.ts +9 -0
- package/runtime/delivery/preparation.ts +240 -0
- package/runtime/delivery/production-environment.ts +7 -0
- package/runtime/delivery/production-finalization.ts +181 -0
- package/runtime/delivery/production-intent.ts +14 -0
- package/runtime/delivery/production.ts +415 -0
- package/runtime/delivery/project-files.ts +63 -0
- package/runtime/delivery/project-rpc.ts +116 -0
- package/runtime/delivery/project.ts +129 -0
- package/runtime/delivery/protocol.ts +94 -0
- package/runtime/delivery/public-calldata.ts +74 -0
- package/runtime/delivery/references.ts +106 -0
- package/runtime/delivery/release-graph.ts +79 -0
- package/runtime/delivery/release-history-capture.ts +32 -0
- package/runtime/delivery/release-history.ts +178 -0
- package/runtime/delivery/release-inputs.ts +107 -0
- package/runtime/delivery/release.ts +166 -0
- package/runtime/delivery/safe-manifest.ts +11 -0
- package/runtime/delivery/safe-observation.ts +626 -0
- package/runtime/delivery/safe-prepare.ts +101 -0
- package/runtime/delivery/safe.ts +355 -0
- package/runtime/delivery/same-fork-baseline.ts +17 -0
- package/runtime/delivery/setup.ts +184 -0
- package/runtime/delivery/source.ts +130 -0
- package/runtime/delivery/target-fields.ts +7 -0
- package/runtime/delivery/task-identity.ts +85 -0
- package/runtime/delivery/toolchain.ts +48 -0
- package/runtime/delivery/validation.ts +252 -0
- package/runtime/delivery/verification.ts +47 -0
- package/runtime/migrate.ts +1 -0
- package/runtime/miner/binary.ts +41 -0
- package/runtime/miner/cli.ts +87 -0
- package/runtime/miner/index.ts +5 -0
- package/runtime/miner/request.ts +54 -0
- package/runtime/miner/runner.ts +90 -0
- package/runtime/miner/types.ts +71 -0
- package/runtime/miner/verify.ts +61 -0
- package/runtime/vendor/plan-codec/index.cjs +897 -0
- package/runtime/vendor/plan-codec/index.d.cts +38 -0
- package/runtime/vendor/plan-codec/provenance.json +25 -0
- package/runtime/workflow/engine.ts +174 -0
- package/runtime/workflow/lib/authority.ts +3 -3
- package/runtime/workflow/lib/calls.ts +47 -37
- package/runtime/workflow/lib/canonicalData.ts +45 -0
- package/runtime/workflow/lib/checkCodeRunner.ts +7 -3
- package/runtime/workflow/lib/config.ts +1 -1
- package/runtime/workflow/lib/context.ts +77 -0
- package/runtime/workflow/lib/create2.ts +18 -121
- package/runtime/workflow/lib/deploymentInfo.ts +8 -0
- package/runtime/workflow/lib/deploymentRecords.ts +3 -1
- package/runtime/workflow/lib/deployments.ts +6 -14
- package/runtime/workflow/lib/evidencePorts.ts +20 -0
- package/runtime/workflow/lib/executionPlan.ts +17 -268
- package/runtime/workflow/lib/externalExecutionScanner.ts +2 -1
- package/runtime/workflow/lib/gateTool.ts +22 -10
- package/runtime/workflow/lib/gateToolSync.ts +11 -3
- package/runtime/workflow/lib/operationNames.ts +32 -0
- package/runtime/workflow/lib/parameters.ts +8 -21
- package/runtime/workflow/lib/pendingDeploymentReuse.ts +4 -56
- package/runtime/workflow/lib/pendingUupsBinding.ts +43 -0
- package/runtime/workflow/lib/plan.ts +334 -0
- package/runtime/workflow/lib/planCli.ts +279 -0
- package/runtime/workflow/lib/preparationEvidence.ts +14 -0
- package/runtime/workflow/lib/proxy.ts +6 -3
- package/runtime/workflow/lib/runtime.ts +46 -0
- package/runtime/workflow/lib/signer.ts +8 -5
- package/runtime/workflow/lib/simulation.ts +41 -17
- package/runtime/workflow/lib/state.ts +3 -3
- package/runtime/workflow/lib/staticValidation.ts +92 -11
- package/runtime/workflow/lib/transactionPlanner.ts +314 -0
- package/runtime/workflow/lib/typedValue.ts +46 -0
- package/runtime/workflow/lib/validation.ts +50 -0
- package/runtime/workflow/planAdd.ts +8 -0
- package/runtime/workflow/planRead.ts +8 -0
- package/runtime/workflow/planStatus.ts +8 -0
- package/runtime/workflow/planWrite.ts +8 -0
- package/runtime/workflow/run.ts +42 -176
- package/runtime/workflow/staticValidate.ts +8 -3
- package/runtime/workflow/steps/call.ts +1 -1
- package/runtime/workflow/steps/check.ts +1 -1
- package/runtime/workflow/steps/custom.ts +1 -1
- package/runtime/workflow/steps/deploy.ts +99 -58
- package/runtime/workflow/steps/upgrade.ts +88 -57
- package/runtime/workflow/steps/view.ts +1 -1
- package/bin/workflow.cjs +0 -19
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { type DeliveryAggregateOptions } from './aggregate';
|
|
2
|
+
import { type ReleaseGraphOptions } from './release-graph';
|
|
3
|
+
import { type HistoricalDevelopmentFiles } from './release-history';
|
|
4
|
+
export type { ContractSourceIdentity } from './contract-source';
|
|
5
|
+
export { readReleaseGraph, isDevelopmentAcceptancePrerequisite } from './release-graph';
|
|
6
|
+
export { captureDevelopmentReleaseHistory } from './release-history-capture';
|
|
7
|
+
export type { HistoricalDevelopmentFiles } from './release-history';
|
|
8
|
+
type Scope = Omit<ReleaseGraphOptions, 'releaseRef'>;
|
|
9
|
+
export interface ReleasePreparationOptions extends Scope {
|
|
10
|
+
releaseId: string;
|
|
11
|
+
targets: DeliveryAggregateOptions['targets'];
|
|
12
|
+
development: HistoricalDevelopmentFiles;
|
|
13
|
+
}
|
|
14
|
+
/** Invoke after the corresponding skill has produced its report and completed the current task.
|
|
15
|
+
* This binds provenance and current eligibility; it does not certify semantic audit quality. */
|
|
16
|
+
export declare function recordDeliveryPrerequisite(input: Scope & {
|
|
17
|
+
planKey: string;
|
|
18
|
+
}): {
|
|
19
|
+
schema: string;
|
|
20
|
+
version: number;
|
|
21
|
+
producer: string;
|
|
22
|
+
taskId: string;
|
|
23
|
+
planKey: string;
|
|
24
|
+
rev: number;
|
|
25
|
+
definitionHash: string;
|
|
26
|
+
codeRef: string;
|
|
27
|
+
artifacts: {
|
|
28
|
+
path: string;
|
|
29
|
+
sha256: string;
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
32
|
+
export declare function validateDeliveryPrerequisite(input: Scope & {
|
|
33
|
+
planKey: string;
|
|
34
|
+
}): any;
|
|
35
|
+
/** Qualification is generated by the actual owned aggregate, never accepted from caller JSON. */
|
|
36
|
+
export declare function prepareDeliveryRelease(raw: ReleasePreparationOptions): Promise<{
|
|
37
|
+
status: "prepared";
|
|
38
|
+
releaseRef: {
|
|
39
|
+
path: string;
|
|
40
|
+
releaseId: string;
|
|
41
|
+
inputsHash: string;
|
|
42
|
+
};
|
|
43
|
+
sourceDefinitionHash: string;
|
|
44
|
+
inputsHash: string;
|
|
45
|
+
candidateHash: string;
|
|
46
|
+
}>;
|
|
47
|
+
/** Finalizer rereads the actual handoff AFTER mainAgent writes all existing production stages. */
|
|
48
|
+
export declare function finalizeDeliveryRelease(raw: Scope & {
|
|
49
|
+
releaseId: string;
|
|
50
|
+
onFileCommitted?: (file: string) => void;
|
|
51
|
+
}): Promise<{
|
|
52
|
+
status: "release_ready";
|
|
53
|
+
release: {
|
|
54
|
+
schema: string;
|
|
55
|
+
version: number;
|
|
56
|
+
releaseRef: any;
|
|
57
|
+
sourceDefinitionHash: any;
|
|
58
|
+
inputsHash: any;
|
|
59
|
+
prodTaskGraphHash: string;
|
|
60
|
+
prodTaskGraph: {
|
|
61
|
+
readonly contract: typeof import("../vendor/plan-codec/index.cjs").DEFINITION_CONTRACT;
|
|
62
|
+
readonly schema: typeof import("../vendor/plan-codec/index.cjs").SCHEMA;
|
|
63
|
+
readonly taskId: string;
|
|
64
|
+
readonly flow?: string | undefined;
|
|
65
|
+
readonly roots: readonly string[];
|
|
66
|
+
readonly lanes: {
|
|
67
|
+
readonly [x: string]: {
|
|
68
|
+
readonly state: "enabled" | "disabled";
|
|
69
|
+
readonly skill?: string | undefined;
|
|
70
|
+
readonly steps: readonly string[];
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
readonly tasks: readonly {
|
|
74
|
+
readonly planKey: string;
|
|
75
|
+
readonly rev: number;
|
|
76
|
+
readonly step?: string | undefined;
|
|
77
|
+
readonly scope?: {
|
|
78
|
+
readonly [x: string]: unknown;
|
|
79
|
+
} | undefined;
|
|
80
|
+
readonly objective: string;
|
|
81
|
+
readonly acceptance: readonly string[];
|
|
82
|
+
readonly dependsOn: readonly string[];
|
|
83
|
+
readonly parameters?: readonly unknown[] | undefined;
|
|
84
|
+
readonly expectedArtifacts?: readonly string[] | undefined;
|
|
85
|
+
readonly allowedChanges?: readonly string[] | undefined;
|
|
86
|
+
readonly lane: string;
|
|
87
|
+
}[];
|
|
88
|
+
};
|
|
89
|
+
targets: any;
|
|
90
|
+
operations: any;
|
|
91
|
+
parameters: any;
|
|
92
|
+
qualification: any;
|
|
93
|
+
runtime: any;
|
|
94
|
+
immutableFiles: any;
|
|
95
|
+
sourceDefinitions: any;
|
|
96
|
+
contractSource: any;
|
|
97
|
+
inputSnapshot: any;
|
|
98
|
+
historicalDevelopment: any;
|
|
99
|
+
prerequisites: any;
|
|
100
|
+
recovery: {
|
|
101
|
+
strategy: string;
|
|
102
|
+
instructions: string;
|
|
103
|
+
};
|
|
104
|
+
candidate: {
|
|
105
|
+
path: string;
|
|
106
|
+
sha256: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
bundleHash: any;
|
|
110
|
+
} | {
|
|
111
|
+
status: "pending";
|
|
112
|
+
}>;
|
|
113
|
+
/** Pure file inspection: absent marker is pending, never a write or business recomputation. */
|
|
114
|
+
export declare function inspectDeliveryRelease(input: Scope & {
|
|
115
|
+
releaseRef: ReleaseGraphOptions['releaseRef'];
|
|
116
|
+
}): {
|
|
117
|
+
status: "release_ready";
|
|
118
|
+
release: {
|
|
119
|
+
schema: string;
|
|
120
|
+
version: number;
|
|
121
|
+
releaseRef: any;
|
|
122
|
+
sourceDefinitionHash: any;
|
|
123
|
+
inputsHash: any;
|
|
124
|
+
prodTaskGraphHash: string;
|
|
125
|
+
prodTaskGraph: {
|
|
126
|
+
readonly contract: typeof import("../vendor/plan-codec/index.cjs").DEFINITION_CONTRACT;
|
|
127
|
+
readonly schema: typeof import("../vendor/plan-codec/index.cjs").SCHEMA;
|
|
128
|
+
readonly taskId: string;
|
|
129
|
+
readonly flow?: string | undefined;
|
|
130
|
+
readonly roots: readonly string[];
|
|
131
|
+
readonly lanes: {
|
|
132
|
+
readonly [x: string]: {
|
|
133
|
+
readonly state: "enabled" | "disabled";
|
|
134
|
+
readonly skill?: string | undefined;
|
|
135
|
+
readonly steps: readonly string[];
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
readonly tasks: readonly {
|
|
139
|
+
readonly planKey: string;
|
|
140
|
+
readonly rev: number;
|
|
141
|
+
readonly step?: string | undefined;
|
|
142
|
+
readonly scope?: {
|
|
143
|
+
readonly [x: string]: unknown;
|
|
144
|
+
} | undefined;
|
|
145
|
+
readonly objective: string;
|
|
146
|
+
readonly acceptance: readonly string[];
|
|
147
|
+
readonly dependsOn: readonly string[];
|
|
148
|
+
readonly parameters?: readonly unknown[] | undefined;
|
|
149
|
+
readonly expectedArtifacts?: readonly string[] | undefined;
|
|
150
|
+
readonly allowedChanges?: readonly string[] | undefined;
|
|
151
|
+
readonly lane: string;
|
|
152
|
+
}[];
|
|
153
|
+
};
|
|
154
|
+
targets: any;
|
|
155
|
+
operations: any;
|
|
156
|
+
parameters: any;
|
|
157
|
+
qualification: any;
|
|
158
|
+
runtime: any;
|
|
159
|
+
immutableFiles: any;
|
|
160
|
+
sourceDefinitions: any;
|
|
161
|
+
contractSource: any;
|
|
162
|
+
inputSnapshot: any;
|
|
163
|
+
historicalDevelopment: any;
|
|
164
|
+
prerequisites: any;
|
|
165
|
+
recovery: {
|
|
166
|
+
strategy: string;
|
|
167
|
+
instructions: string;
|
|
168
|
+
};
|
|
169
|
+
candidate: {
|
|
170
|
+
path: string;
|
|
171
|
+
sha256: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
bundleHash: any;
|
|
175
|
+
} | {
|
|
176
|
+
status: "pending";
|
|
177
|
+
};
|
|
178
|
+
/** File-only historical input recovery; current project edits do not rewrite the old release. */
|
|
179
|
+
export declare function restoreDeliveryReleaseInputs(raw: Scope & {
|
|
180
|
+
releaseRef: ReleaseGraphOptions['releaseRef'];
|
|
181
|
+
destination: string;
|
|
182
|
+
}): {
|
|
183
|
+
releaseRef: {
|
|
184
|
+
path: string;
|
|
185
|
+
releaseId: string;
|
|
186
|
+
inputsHash: string;
|
|
187
|
+
};
|
|
188
|
+
status: "inputs-restored";
|
|
189
|
+
destination: string;
|
|
190
|
+
contractSource: import("./contract-source").ContractSourceIdentity;
|
|
191
|
+
snapshotHash: string;
|
|
192
|
+
files: {
|
|
193
|
+
path: string;
|
|
194
|
+
digest: string;
|
|
195
|
+
}[];
|
|
196
|
+
};
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.captureDevelopmentReleaseHistory = exports.isDevelopmentAcceptancePrerequisite = exports.readReleaseGraph = void 0;
|
|
7
|
+
exports.recordDeliveryPrerequisite = recordDeliveryPrerequisite;
|
|
8
|
+
exports.validateDeliveryPrerequisite = validateDeliveryPrerequisite;
|
|
9
|
+
exports.prepareDeliveryRelease = prepareDeliveryRelease;
|
|
10
|
+
exports.finalizeDeliveryRelease = finalizeDeliveryRelease;
|
|
11
|
+
exports.inspectDeliveryRelease = inspectDeliveryRelease;
|
|
12
|
+
exports.restoreDeliveryReleaseInputs = restoreDeliveryReleaseInputs;
|
|
13
|
+
const calldata_review_1 = require("./calldata-review");
|
|
14
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
15
|
+
const aggregate_1 = require("./aggregate");
|
|
16
|
+
const aggregate_inputs_1 = require("./aggregate-inputs");
|
|
17
|
+
const input_files_1 = require("./input-files");
|
|
18
|
+
const project_files_1 = require("./project-files");
|
|
19
|
+
const protocol_1 = require("./protocol");
|
|
20
|
+
const plan_1 = require("./plan");
|
|
21
|
+
const journal_1 = require("./journal");
|
|
22
|
+
const development_1 = require("./development");
|
|
23
|
+
const forkAudit_1 = require("./forkAudit");
|
|
24
|
+
const source_1 = require("./source");
|
|
25
|
+
const release_graph_1 = require("./release-graph");
|
|
26
|
+
const release_history_1 = require("./release-history");
|
|
27
|
+
const materialization_1 = require("./materialization");
|
|
28
|
+
const canonicalData_1 = require("../workflow/lib/canonicalData");
|
|
29
|
+
const data_1 = require("./data");
|
|
30
|
+
const history_registration_1 = require("./history-registration");
|
|
31
|
+
const contract_source_1 = require("./contract-source");
|
|
32
|
+
const release_inputs_1 = require("./release-inputs");
|
|
33
|
+
var release_graph_2 = require("./release-graph");
|
|
34
|
+
Object.defineProperty(exports, "readReleaseGraph", { enumerable: true, get: function () { return release_graph_2.readReleaseGraph; } });
|
|
35
|
+
Object.defineProperty(exports, "isDevelopmentAcceptancePrerequisite", { enumerable: true, get: function () { return release_graph_2.isDevelopmentAcceptancePrerequisite; } });
|
|
36
|
+
var release_history_capture_1 = require("./release-history-capture");
|
|
37
|
+
Object.defineProperty(exports, "captureDevelopmentReleaseHistory", { enumerable: true, get: function () { return release_history_capture_1.captureDevelopmentReleaseHistory; } });
|
|
38
|
+
const encode = (data) => (0, canonicalData_1.canonicalJson)(data) + '\n';
|
|
39
|
+
const candidatePath = (id) => `.gate-delivery/releases/${(0, protocol_1.safeId)(id, 'releaseId')}/candidate.json`;
|
|
40
|
+
const prerequisitePath = (taskId, key) => `.gate-delivery/prerequisites/${(0, protocol_1.safeId)(taskId, 'taskId')}/${(0, protocol_1.safeId)(key, 'planKey')}.json`;
|
|
41
|
+
function taskEvidence(input) {
|
|
42
|
+
const workspace = (0, project_files_1.projectRoot)(input.workspaceRoot, '.'), root = (0, project_files_1.projectRoot)(workspace, input.projectRoot), text = (0, input_files_1.readInputBytes)(workspace, input.handoff).toString(), plan = (0, source_1.parseCanonicalPlan)(text);
|
|
43
|
+
if (plan.taskId !== input.taskId)
|
|
44
|
+
throw Error('Prerequisite task identity mismatch');
|
|
45
|
+
const row = Object.entries(plan.tasks).flatMap(([lane, tasks]) => tasks.map(task => ({ lane, task }))).find(r => r.task.planKey === input.planKey);
|
|
46
|
+
if (!row || plan.lanes[row.lane].state !== 'enabled' || row.task.status !== 'completed' || row.task.result?.kind !== 'success' || row.task.adoptedRev !== row.task.rev)
|
|
47
|
+
throw Error('Prerequisite current task is incomplete or stale');
|
|
48
|
+
const result = row.task.result, codeRef = result.codeRef ?? row.task.scope?.deployment?.sourceCodeRef;
|
|
49
|
+
if (typeof codeRef !== 'string' || !codeRef.trim() || !Array.isArray(result.evidence) || !result.evidence.length)
|
|
50
|
+
throw Error('Prerequisite requires codeRef and actual report evidence');
|
|
51
|
+
const refs = result.evidence.map((entry) => { if (!entry || typeof entry.ref !== 'string')
|
|
52
|
+
throw Error('Prerequisite report ref missing'); return entry.ref; });
|
|
53
|
+
if (new Set(refs).size !== refs.length)
|
|
54
|
+
throw Error('Duplicate prerequisite artifact');
|
|
55
|
+
for (const expected of row.task.expectedArtifacts ?? [])
|
|
56
|
+
if (!refs.includes(expected))
|
|
57
|
+
refs.push(expected);
|
|
58
|
+
const artifacts = refs.map(ref => { (0, protocol_1.portablePath)(ref, 'prerequisite artifact'); const bytes = (0, input_files_1.readInputBytes)(root, ref); if (!bytes.length)
|
|
59
|
+
throw Error('Empty prerequisite report/artifact'); return { path: ref, sha256: (0, input_files_1.inputDigest)(bytes) }; });
|
|
60
|
+
if (row.lane === 'audit' && !result.evidence.some((entry) => entry.ref === 'audit-reports/security-audit-report.md'))
|
|
61
|
+
throw Error('Audit prerequisite requires actual security audit report');
|
|
62
|
+
return { root, envelope: { schema: 'gate-delivery-prerequisite', version: 1, producer: 'gate-evm-tools/delivery-release', taskId: plan.taskId, planKey: row.task.planKey, rev: row.task.rev, definitionHash: (0, canonicalData_1.semanticHash)((0, source_1.projectCanonicalDefinitions)(text, { roots: [row.task.planKey], mode: 'full' }).snapshot), codeRef, artifacts } };
|
|
63
|
+
}
|
|
64
|
+
/** Invoke after the corresponding skill has produced its report and completed the current task.
|
|
65
|
+
* This binds provenance and current eligibility; it does not certify semantic audit quality. */
|
|
66
|
+
function recordDeliveryPrerequisite(input) { const { root, envelope } = taskEvidence(input); (0, materialization_1.atomicDevelopmentWrite)(root, prerequisitePath(input.taskId, input.planKey), encode(envelope)); return (0, canonicalData_1.deepFreeze)(envelope); }
|
|
67
|
+
function validateDeliveryPrerequisite(input) { const { root, envelope } = taskEvidence(input), actual = JSON.parse((0, input_files_1.readInputBytes)(root, prerequisitePath(input.taskId, input.planKey)).toString()); (0, release_graph_1.sameReleaseData)(actual, envelope, 'Current prerequisite report/artifact binding'); return (0, canonicalData_1.deepFreeze)(actual); }
|
|
68
|
+
function prerequisites(scope, history) {
|
|
69
|
+
const current = (0, release_graph_1.currentReleasePrerequisites)(scope), receipts = [];
|
|
70
|
+
for (const { task } of current.required) {
|
|
71
|
+
if ((0, release_graph_1.isDevelopmentAcceptancePrerequisite)(task)) {
|
|
72
|
+
const d = task.scope?.deployment;
|
|
73
|
+
if (d?.environment !== 'dev' || d.targetNetwork !== history.plan.target || d.deploymentId !== history.plan.deploymentId)
|
|
74
|
+
throw Error('Development prerequisite scope mismatch');
|
|
75
|
+
if (!verificationOnly(task) && (task.planKey !== history.source.targets[0].request.sourceRef.planKey || task.rev !== history.source.targets[0].request.sourceRef.rev))
|
|
76
|
+
throw Error('Stale development prerequisite revision');
|
|
77
|
+
const evidence = task.result?.evidence;
|
|
78
|
+
if (!Array.isArray(evidence) || !evidence.some((e) => e.ref === scopePath(history, verificationOnly(task))))
|
|
79
|
+
throw Error('Development prerequisite must reference actual acceptance/CheckCode');
|
|
80
|
+
receipts.push({ planKey: task.planKey, rev: task.rev, definitionHash: (0, canonicalData_1.semanticHash)((0, source_1.projectCanonicalDefinitions)(current.text, { roots: [task.planKey], mode: 'full' }).snapshot), evidenceHash: (0, canonicalData_1.semanticHash)(verificationOnly(task) ? history.acceptance.checkCode : history.acceptance) });
|
|
81
|
+
}
|
|
82
|
+
else
|
|
83
|
+
receipts.push(validateDeliveryPrerequisite({ ...scope, planKey: task.planKey }));
|
|
84
|
+
}
|
|
85
|
+
return receipts;
|
|
86
|
+
}
|
|
87
|
+
function verificationOnly(task) { const actions = task.scope?.deployment?.allowedActions; return Array.isArray(actions) && actions.length === 1 && actions[0] === 'verify'; }
|
|
88
|
+
function scopePath(history, verifyOnly) { return verifyOnly ? history.acceptance.checkCode.rawFile : `.gate-delivery/development/${history.plan.executionId}.acceptance.json`; }
|
|
89
|
+
function verifyQualification(aggregate, source) {
|
|
90
|
+
if (aggregate.version !== 1 || (0, release_history_1.aggregateInputHash)(aggregate) !== aggregate.inputsHash || (0, canonicalData_1.semanticHash)(aggregate.inputs.sourceDefinitions) !== aggregate.sourceDefinitionHash)
|
|
91
|
+
throw Error('Qualification aggregate identity mismatch');
|
|
92
|
+
(0, release_graph_1.sameReleaseData)(aggregate.collections.map(c => c.plan.target), aggregate.inputs.business.targets.map(t => t.id), 'Complete target qualification');
|
|
93
|
+
(0, release_graph_1.sameReleaseData)(source.targets.map(t => t.request.network), aggregate.inputs.business.targets.map(t => t.id), 'Current selected target order');
|
|
94
|
+
for (const [i, c] of aggregate.collections.entries()) {
|
|
95
|
+
const plan = (0, plan_1.parseDeliveryPlan)(c.plan), request = source.targets[i].request;
|
|
96
|
+
(0, calldata_review_1.parseCalldataReviews)(c.calldata, plan.transactions);
|
|
97
|
+
if (plan.environment !== 'prod' || plan.inputsHash !== aggregate.inputsHash || plan.sourceDefinitionHash !== aggregate.sourceDefinitionHash || plan.executionId !== source.targets[i].executionId || plan.operator !== request.operator?.toLowerCase() || !request.fork || !plan.transactions.length)
|
|
98
|
+
throw Error('Invalid production qualification identity');
|
|
99
|
+
(0, release_graph_1.sameReleaseData)(plan.runtimeIdentity, aggregate.inputs.runtime.declared, 'Qualification runtime');
|
|
100
|
+
(0, development_1.expectedDevelopmentAssertions)(c, aggregate.inputs.business.steps);
|
|
101
|
+
(0, journal_1.parsePreparationJournal)(c.preparations, plan.transactions, plan.derivedBindings, { target: plan.target, chainId: plan.chainId, expectedStepIds: plan.deploymentBindings.map(b => b.stepId) });
|
|
102
|
+
(0, forkAudit_1.verifyCapturedForkAudit)(c.runtimeEvidence.forkAudit, { transactions: plan.transactions, planHash: plan.planHash, chainId: plan.chainId, sourceSnapshot: { blockNumber: request.fork.blockNumber, blockHash: request.fork.blockHash } });
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
function currentFiles(root, files) { for (const file of files)
|
|
106
|
+
if ((0, input_files_1.inputDigest)((0, input_files_1.readInputBytes)(root, file.path)) !== file.digest)
|
|
107
|
+
throw Error(`Current release input changed: ${file.path}`); }
|
|
108
|
+
function currentCandidate(scope, c, requireCommittedSources = false) {
|
|
109
|
+
if (c.schema !== 'gate-delivery-release-candidate' || c.version !== 1 || c.generation !== 'complete' || c.producer !== 'gate-evm-tools/delivery-release')
|
|
110
|
+
throw Error('Invalid completed release candidate');
|
|
111
|
+
(0, release_graph_1.sameReleaseData)(c.scope, { projectRoot: scope.projectRoot, handoff: scope.handoff, taskId: scope.taskId, deploymentId: scope.deploymentId }, 'Release current scope');
|
|
112
|
+
const { candidateHash, ...body } = c;
|
|
113
|
+
(0, release_graph_1.sameReleaseData)((0, canonicalData_1.semanticHash)(body), candidateHash, 'Release candidate hash');
|
|
114
|
+
if (c.inputSnapshot?.path !== `scripts/tasks/${scope.deploymentId}/releases/${c.releaseRef.releaseId}/inputs.snapshot.json`)
|
|
115
|
+
throw Error('Noncanonical release input snapshot reference');
|
|
116
|
+
const root = (0, project_files_1.projectRoot)(scope.workspaceRoot, scope.projectRoot), source = { workspaceRoot: scope.workspaceRoot, projectRoot: scope.projectRoot, selection: 'release', targets: c.targets };
|
|
117
|
+
if (requireCommittedSources)
|
|
118
|
+
(0, release_graph_1.sameReleaseData)((0, contract_source_1.captureCommittedContractSource)(root, c.aggregate), c.contractSource, 'Current committed contract source');
|
|
119
|
+
const snapshot = (0, release_inputs_1.readReleaseInputSnapshot)(root, c.inputSnapshot);
|
|
120
|
+
(0, release_graph_1.sameReleaseData)(snapshot.contractSource, c.contractSource, 'Release snapshot contract source');
|
|
121
|
+
const snapshotFiles = new Map(snapshot.files.map(file => [file.path, file.digest]));
|
|
122
|
+
for (const file of c.aggregate.inputs.files)
|
|
123
|
+
if (!file.path.split('/').includes('node_modules') && snapshotFiles.get(file.path) !== file.digest)
|
|
124
|
+
throw Error('Release snapshot does not cover qualified input');
|
|
125
|
+
for (const file of snapshot.files)
|
|
126
|
+
if ((0, input_files_1.inputDigest)((0, input_files_1.readInputBytes)(root, file.path)) !== file.digest)
|
|
127
|
+
throw Error(`Current release snapshot input changed: ${file.path}`);
|
|
128
|
+
verifyQualification(c.aggregate, source);
|
|
129
|
+
currentFiles(root, c.aggregate.inputs.files);
|
|
130
|
+
currentFiles(root, c.historical.files.filter((f) => !(0, history_registration_1.historicalRegistrationFile)(f.path)));
|
|
131
|
+
(0, release_graph_1.sameReleaseData)((0, aggregate_inputs_1.openAggregateSources)({ workspaceRoot: scope.workspaceRoot, projectRoot: scope.projectRoot, requests: c.targets.map((t) => t.request) }).definitions, c.aggregate.inputs.sourceDefinitions, 'Current full upstream source');
|
|
132
|
+
const h = (0, release_history_1.validateHistoricalDevelopmentFiles)({ root, workspaceRoot: scope.workspaceRoot, projectRoot: scope.projectRoot, history: c.development });
|
|
133
|
+
(0, release_graph_1.sameReleaseData)(h.association, c.historical.association, 'Historical development association');
|
|
134
|
+
(0, release_graph_1.sameReleaseData)(prerequisites(scope, h), c.prerequisites, 'Current prerequisite evidence');
|
|
135
|
+
(0, release_graph_1.sameReleaseData)(h.files.filter(f => (0, history_registration_1.historicalRegistrationFile)(f.path)), c.historical.files.filter((f) => (0, history_registration_1.historicalRegistrationFile)(f.path)), 'Original historical registry baseline');
|
|
136
|
+
(0, release_graph_1.sameReleaseData)((0, release_graph_1.readReleaseUniverse)(scope).targets, c.aggregate.inputs.business.targets.map((t) => t.id), 'Current full selected target set');
|
|
137
|
+
return { root, source, history: h };
|
|
138
|
+
}
|
|
139
|
+
/** Qualification is generated by the actual owned aggregate, never accepted from caller JSON. */
|
|
140
|
+
async function prepareDeliveryRelease(raw) {
|
|
141
|
+
const input = (0, data_1.strictData)(raw);
|
|
142
|
+
(0, canonicalData_1.exactObject)(input, ['workspaceRoot', 'projectRoot', 'handoff', 'taskId', 'deploymentId', 'releaseId', 'targets', 'development'], 'release preparation');
|
|
143
|
+
(0, protocol_1.safeId)(input.releaseId, 'releaseId');
|
|
144
|
+
const { workspaceRoot, projectRoot: relative, handoff, taskId, deploymentId } = input, scope = { workspaceRoot, projectRoot: relative, handoff, taskId, deploymentId }, u = (0, release_graph_1.readReleaseUniverse)(scope), root = u.root;
|
|
145
|
+
if (node_path_1.default.resolve(process.cwd()) !== root)
|
|
146
|
+
throw Error('Release preparation must run from actual project root');
|
|
147
|
+
if ((0, materialization_1.fileBytes)(root, `scripts/tasks/${deploymentId}/releases/${input.releaseId}/release.json`) !== null)
|
|
148
|
+
throw Error('Release already has a ready marker');
|
|
149
|
+
(0, release_graph_1.sameReleaseData)(input.targets.map(t => ({ network: t.request.network, sourceRef: t.request.sourceRef, purpose: t.request.purpose, environment: t.request.environment, mode: t.request.mode })), u.qualifications.map(t => ({ network: t.scope.deployment.targetNetwork, sourceRef: { path: handoff, taskId, planKey: t.planKey, rev: t.rev }, purpose: 'prod-qualification', environment: 'prod', mode: 'simulate' })), 'Exact current qualification tasks');
|
|
150
|
+
const history = (0, release_history_1.validateHistoricalDevelopmentFiles)({ root, workspaceRoot, projectRoot: relative, history: input.development }), prerequisiteEvidence = prerequisites(scope, history);
|
|
151
|
+
const committedBefore = (0, contract_source_1.captureCommittedContractSource)(root, history.aggregate);
|
|
152
|
+
await (0, release_history_1.verifyHistoricalDevelopmentChain)(history, root);
|
|
153
|
+
const source = { workspaceRoot, projectRoot: relative, selection: 'release', targets: input.targets };
|
|
154
|
+
const aggregate = await (0, aggregate_1.collectDeliveryAggregate)(source);
|
|
155
|
+
verifyQualification(aggregate, source);
|
|
156
|
+
const contractSource = (0, contract_source_1.captureCommittedContractSource)(root, aggregate), snapshot = (0, release_inputs_1.captureReleaseInputs)(root, aggregate, contractSource);
|
|
157
|
+
(0, release_graph_1.sameReleaseData)(contractSource, committedBefore, 'Contract source during release qualification');
|
|
158
|
+
const inputSnapshot = { path: `scripts/tasks/${deploymentId}/releases/${input.releaseId}/inputs.snapshot.json`, hash: snapshot.snapshotHash, sha256: (0, materialization_1.byteHash)(encode(snapshot)) };
|
|
159
|
+
const releaseRef = { path: `scripts/tasks/${deploymentId}/releases/${input.releaseId}/release.json`, releaseId: input.releaseId, inputsHash: aggregate.inputsHash };
|
|
160
|
+
const body = { schema: 'gate-delivery-release-candidate', version: 1, generation: 'complete', producer: 'gate-evm-tools/delivery-release', releaseRef, scope: { projectRoot: relative, handoff, taskId, deploymentId }, targets: input.targets, development: input.development, aggregate, contractSource, inputSnapshot, historical: { files: history.files, association: history.association, acceptanceHash: (0, canonicalData_1.semanticHash)(history.acceptance) }, prerequisites: prerequisiteEvidence };
|
|
161
|
+
const candidate = (0, canonicalData_1.deepFreeze)({ ...body, candidateHash: (0, canonicalData_1.semanticHash)(body) });
|
|
162
|
+
await (0, materialization_1.withDevelopmentFileLock)(root, async () => {
|
|
163
|
+
const previous = (0, materialization_1.fileBytes)(root, candidatePath(input.releaseId));
|
|
164
|
+
if (previous !== null && previous !== encode(candidate))
|
|
165
|
+
throw Error('Release ID already belongs to a different frozen generation');
|
|
166
|
+
const saved = (0, materialization_1.fileBytes)(root, inputSnapshot.path);
|
|
167
|
+
if (saved !== null && saved !== encode(snapshot))
|
|
168
|
+
throw Error('Immutable release input snapshot conflict');
|
|
169
|
+
(0, materialization_1.atomicDevelopmentWrite)(root, inputSnapshot.path, encode(snapshot));
|
|
170
|
+
currentCandidate(scope, candidate, true);
|
|
171
|
+
(0, materialization_1.atomicDevelopmentWrite)(root, candidatePath(input.releaseId), encode(candidate));
|
|
172
|
+
});
|
|
173
|
+
return (0, canonicalData_1.deepFreeze)({ status: 'prepared', releaseRef, sourceDefinitionHash: aggregate.sourceDefinitionHash, inputsHash: aggregate.inputsHash, candidateHash: candidate.candidateHash });
|
|
174
|
+
}
|
|
175
|
+
function bundleFor(c, graph) { return { schema: 'gate-delivery-release', version: 1, releaseRef: c.releaseRef, sourceDefinitionHash: c.aggregate.sourceDefinitionHash, inputsHash: c.aggregate.inputsHash, prodTaskGraphHash: graph.prodTaskGraphHash, prodTaskGraph: graph.graph, targets: c.aggregate.inputs.business.targets, operations: c.aggregate.inputs.business.steps, parameters: c.aggregate.inputs.business.parameters, qualification: c.aggregate.collections, runtime: c.aggregate.inputs.runtime, immutableFiles: c.aggregate.inputs.files, sourceDefinitions: c.aggregate.inputs.sourceDefinitions, contractSource: c.contractSource, inputSnapshot: c.inputSnapshot, historicalDevelopment: { ...c.historical.association, acceptanceHash: c.historical.acceptanceHash }, prerequisites: c.prerequisites, recovery: { strategy: 'resume-original-execution', instructions: 'Reconcile the original per-network executionId before retrying; preserve submitted transactions, receipts and finality records. Never replay completed operations as a new execution.' }, candidate: { path: candidatePath(c.releaseRef.releaseId), sha256: (0, materialization_1.byteHash)(encode(c)) } }; }
|
|
176
|
+
/** Finalizer rereads the actual handoff AFTER mainAgent writes all existing production stages. */
|
|
177
|
+
async function finalizeDeliveryRelease(raw) {
|
|
178
|
+
// Detach own scalar data before the RPC boundary; caller options may be reused while it awaits.
|
|
179
|
+
const fields = Object.getOwnPropertyDescriptors(raw), hook = fields.onFileCommitted;
|
|
180
|
+
delete fields.onFileCommitted;
|
|
181
|
+
if (hook && (!hook.enumerable || !('value' in hook) || (hook.value !== undefined && typeof hook.value !== 'function')))
|
|
182
|
+
throw Error('Invalid release finalization notification');
|
|
183
|
+
const onFileCommitted = hook?.value;
|
|
184
|
+
const input = (0, canonicalData_1.deepFreeze)((0, data_1.strictData)(Object.create(Object.getPrototypeOf(raw), fields)));
|
|
185
|
+
(0, canonicalData_1.exactObject)(input, ['workspaceRoot', 'projectRoot', 'handoff', 'taskId', 'deploymentId', 'releaseId'], 'release finalization');
|
|
186
|
+
if (Object.values(input).some(value => typeof value !== 'string'))
|
|
187
|
+
throw Error('Release finalization scope requires strings');
|
|
188
|
+
(0, protocol_1.safeId)(input.taskId, 'taskId');
|
|
189
|
+
(0, protocol_1.safeId)(input.deploymentId, 'deploymentId');
|
|
190
|
+
(0, protocol_1.portablePath)(input.handoff, 'handoff');
|
|
191
|
+
const root = (0, project_files_1.projectRoot)(input.workspaceRoot, input.projectRoot), c = JSON.parse((0, input_files_1.readInputBytes)(root, candidatePath(input.releaseId)).toString());
|
|
192
|
+
const initial = currentCandidate(input, c, true);
|
|
193
|
+
await (0, release_history_1.verifyHistoricalDevelopmentChain)(initial.history, root);
|
|
194
|
+
return (0, materialization_1.withDevelopmentFileLock)(root, async () => {
|
|
195
|
+
(0, release_graph_1.sameReleaseData)(JSON.parse((0, input_files_1.readInputBytes)(root, candidatePath(input.releaseId)).toString()), c, 'Current candidate generation');
|
|
196
|
+
currentCandidate(input, c, true);
|
|
197
|
+
const graph = (0, release_graph_1.readReleaseGraph)({ ...input, releaseRef: c.releaseRef }), bundle = bundleFor(c, graph), bundleHash = (0, canonicalData_1.semanticHash)(bundle), bundlePath = `scripts/tasks/${input.deploymentId}/releases/${input.releaseId}/bundle.json`;
|
|
198
|
+
const marker = { schema: 'gate-delivery-release-ready', version: 1, status: 'release_ready', generation: 'complete', releaseRef: c.releaseRef, sourceDefinitionHash: c.aggregate.sourceDefinitionHash, inputsHash: c.aggregate.inputsHash, prodTaskGraphHash: graph.prodTaskGraphHash, bundle: { path: bundlePath, hash: bundleHash, sha256: (0, materialization_1.byteHash)(encode(bundle)) } };
|
|
199
|
+
const previous = (0, materialization_1.fileBytes)(root, c.releaseRef.path);
|
|
200
|
+
if (previous !== null) {
|
|
201
|
+
(0, release_graph_1.sameReleaseData)(JSON.parse(previous), marker, 'Published release is immutable');
|
|
202
|
+
return inspectDeliveryRelease({ ...input, releaseRef: c.releaseRef });
|
|
203
|
+
}
|
|
204
|
+
const existing = (0, materialization_1.fileBytes)(root, bundlePath);
|
|
205
|
+
if (existing !== null && existing !== encode(bundle))
|
|
206
|
+
throw Error('Immutable release bundle conflict');
|
|
207
|
+
(0, materialization_1.atomicDevelopmentWrite)(root, bundlePath, encode(bundle));
|
|
208
|
+
onFileCommitted?.(bundlePath);
|
|
209
|
+
// Async notification or competing edits cannot publish stale graph/evidence. Authoritative marker comes last.
|
|
210
|
+
currentCandidate(input, c, true);
|
|
211
|
+
(0, release_graph_1.sameReleaseData)((0, release_graph_1.readReleaseGraph)({ ...input, releaseRef: c.releaseRef }), graph, 'Current production graph');
|
|
212
|
+
if ((0, materialization_1.fileBytes)(root, bundlePath) !== encode(bundle))
|
|
213
|
+
throw Error('Prepared bundle changed before publication');
|
|
214
|
+
(0, materialization_1.atomicDevelopmentWrite)(root, c.releaseRef.path, encode(marker));
|
|
215
|
+
return inspectDeliveryRelease({ ...input, releaseRef: c.releaseRef });
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
/** Pure file inspection: absent marker is pending, never a write or business recomputation. */
|
|
219
|
+
function inspectDeliveryRelease(input) {
|
|
220
|
+
const root = (0, project_files_1.projectRoot)(input.workspaceRoot, input.projectRoot), bytes = (0, materialization_1.fileBytes)(root, input.releaseRef.path);
|
|
221
|
+
if (bytes === null)
|
|
222
|
+
return { status: 'pending' };
|
|
223
|
+
const marker = JSON.parse(bytes);
|
|
224
|
+
if (marker.schema !== 'gate-delivery-release-ready' || marker.version !== 1 || marker.status !== 'release_ready' || marker.generation !== 'complete')
|
|
225
|
+
throw Error('Invalid authoritative release marker');
|
|
226
|
+
(0, release_graph_1.sameReleaseData)(marker.releaseRef, input.releaseRef, 'Requested release reference');
|
|
227
|
+
const c = JSON.parse((0, input_files_1.readInputBytes)(root, candidatePath(input.releaseRef.releaseId)).toString());
|
|
228
|
+
(0, release_graph_1.sameReleaseData)(c.releaseRef, input.releaseRef, 'Ready candidate reference');
|
|
229
|
+
currentCandidate(input, c);
|
|
230
|
+
const graph = (0, release_graph_1.readReleaseGraph)(input), bundle = bundleFor(c, graph), bundlePath = `scripts/tasks/${input.deploymentId}/releases/${input.releaseRef.releaseId}/bundle.json`;
|
|
231
|
+
const expected = { schema: 'gate-delivery-release-ready', version: 1, status: 'release_ready', generation: 'complete', releaseRef: c.releaseRef, sourceDefinitionHash: c.aggregate.sourceDefinitionHash, inputsHash: c.aggregate.inputsHash, prodTaskGraphHash: graph.prodTaskGraphHash, bundle: { path: bundlePath, hash: (0, canonicalData_1.semanticHash)(bundle), sha256: (0, materialization_1.byteHash)(encode(bundle)) } };
|
|
232
|
+
(0, release_graph_1.sameReleaseData)(marker, expected, 'Complete ready content identity');
|
|
233
|
+
(0, release_graph_1.sameReleaseData)((0, input_files_1.readInputBytes)(root, bundlePath).toString(), encode(bundle), 'Immutable published bundle bytes');
|
|
234
|
+
return (0, canonicalData_1.deepFreeze)({ status: 'release_ready', release: bundle, bundleHash: marker.bundle.hash });
|
|
235
|
+
}
|
|
236
|
+
/** File-only historical input recovery; current project edits do not rewrite the old release. */
|
|
237
|
+
function restoreDeliveryReleaseInputs(raw) {
|
|
238
|
+
const input = (0, data_1.strictData)(raw);
|
|
239
|
+
(0, canonicalData_1.exactObject)(input, ['workspaceRoot', 'projectRoot', 'handoff', 'taskId', 'deploymentId', 'releaseRef', 'destination'], 'release input restore');
|
|
240
|
+
const root = (0, project_files_1.projectRoot)(input.workspaceRoot, input.projectRoot), ref = input.releaseRef;
|
|
241
|
+
(0, protocol_1.safeId)(input.deploymentId, 'deploymentId');
|
|
242
|
+
(0, protocol_1.safeId)(ref.releaseId, 'releaseId');
|
|
243
|
+
const base = `scripts/tasks/${input.deploymentId}/releases/${ref.releaseId}`;
|
|
244
|
+
if (ref.path !== `${base}/release.json`)
|
|
245
|
+
throw Error('Noncanonical release restore reference');
|
|
246
|
+
const marker = JSON.parse((0, input_files_1.readInputBytes)(root, ref.path).toString());
|
|
247
|
+
if (marker.schema !== 'gate-delivery-release-ready' || marker.version !== 1 || marker.status !== 'release_ready' || marker.generation !== 'complete')
|
|
248
|
+
throw Error('Release restore requires a completed published release');
|
|
249
|
+
(0, release_graph_1.sameReleaseData)(marker.releaseRef, ref, 'Restore release reference');
|
|
250
|
+
const bytes = (0, input_files_1.readInputBytes)(root, `${base}/bundle.json`), bundle = JSON.parse(bytes.toString());
|
|
251
|
+
if (marker.bundle.path !== `${base}/bundle.json` || marker.bundle.sha256 !== (0, materialization_1.byteHash)(bytes) || marker.bundle.hash !== (0, canonicalData_1.semanticHash)(bundle) || bytes.toString() !== encode(bundle))
|
|
252
|
+
throw Error('Published release bundle changed');
|
|
253
|
+
if (bundle.schema !== 'gate-delivery-release' || bundle.version !== 1 || bundle.inputSnapshot.path !== `${base}/inputs.snapshot.json`)
|
|
254
|
+
throw Error('Invalid release restore bundle');
|
|
255
|
+
(0, release_graph_1.sameReleaseData)(bundle.releaseRef, ref, 'Restore bundle release reference');
|
|
256
|
+
(0, release_graph_1.sameReleaseData)(bundle.inputsHash, ref.inputsHash, 'Restore bundle input identity');
|
|
257
|
+
const snapshot = (0, release_inputs_1.readReleaseInputSnapshot)(root, bundle.inputSnapshot);
|
|
258
|
+
(0, release_graph_1.sameReleaseData)(snapshot.contractSource, bundle.contractSource, 'Restore committed contract source');
|
|
259
|
+
return { ...(0, release_inputs_1.restoreReleaseInputs)(root, bundle.inputSnapshot, input.destination), releaseRef: ref };
|
|
260
|
+
}
|
|
261
|
+
//# source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OAAO,KAAG,CAAC,IAAE,MAAM,CAAC,aAAa,CAAC,IAAI,KAAG,GAAG,IAAI,uBAAuB;QAAC,MAAM,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACzK,IAAA,+BAAI,EAAC,MAAM,CAAC,UAAU,EAAC,GAAG,EAAC,kCAAkC,CAAC,CAAC;IAAA,IAAA,+BAAI,EAAC,MAAM,CAAC,UAAU,EAAC,GAAG,CAAC,UAAU,EAAC,+BAA+B,CAAC,CAAC;IACtI,MAAM,QAAQ,GAAC,IAAA,yCAAwB,EAAC,IAAI,EAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAAA,IAAA,+BAAI,EAAC,QAAQ,CAAC,cAAc,EAAC,MAAM,CAAC,cAAc,EAAC,mCAAmC,CAAC,CAAC;IAC3J,OAAO,EAAC,GAAG,IAAA,qCAAoB,EAAC,IAAI,EAAC,MAAM,CAAC,aAAa,EAAC,KAAK,CAAC,WAAW,CAAC,EAAC,UAAU,EAAC,GAAG,EAAC,CAAC;AAC9F,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Reviewed official @safe-global/safe-contracts@1.4.1 runtime identities.
|
|
2
|
+
* Source bf943f80fec5ac647159d26161446ac5d716a294, LGPL-3.0-only.
|
|
3
|
+
* Archive SHA256 8803f7cf26e2c58300b8136342faa7b8bce59436e300f52115fa25b095e0bf79.
|
|
4
|
+
* No user-supplied hash can add an implementation. */
|
|
5
|
+
export declare const SAFE_RUNTIME_HASHES: Readonly<{
|
|
6
|
+
Safe: "0x1fe2df852ba3299d6534ef416eefa406e56ced995bca886ab7a553e6d0c5e1c4";
|
|
7
|
+
SafeProxy: "0xd7d408ebcd99b2b70be43e20253d6d92a8ea8fab29bd3be7f55b10032331fb4c";
|
|
8
|
+
MultiSendCallOnly: "0xecd5bd14a08c5d2122379900b2f272bdf107a7e92423c10dd5fe3254386c9939";
|
|
9
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SAFE_RUNTIME_HASHES = void 0;
|
|
4
|
+
/** Reviewed official @safe-global/safe-contracts@1.4.1 runtime identities.
|
|
5
|
+
* Source bf943f80fec5ac647159d26161446ac5d716a294, LGPL-3.0-only.
|
|
6
|
+
* Archive SHA256 8803f7cf26e2c58300b8136342faa7b8bce59436e300f52115fa25b095e0bf79.
|
|
7
|
+
* No user-supplied hash can add an implementation. */
|
|
8
|
+
exports.SAFE_RUNTIME_HASHES = Object.freeze({
|
|
9
|
+
Safe: "0x1fe2df852ba3299d6534ef416eefa406e56ced995bca886ab7a553e6d0c5e1c4",
|
|
10
|
+
SafeProxy: "0xd7d408ebcd99b2b70be43e20253d6d92a8ea8fab29bd3be7f55b10032331fb4c",
|
|
11
|
+
MultiSendCallOnly: "0xecd5bd14a08c5d2122379900b2f272bdf107a7e92423c10dd5fe3254386c9939",
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=safe-manifest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"safe-manifest.js","sourceRoot":"","sources":["../../runtime/delivery/safe-manifest.ts"],"names":[],"mappings":";;;AAAA;;;sDAGsD;AACzC,QAAA,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,oEAAoE;IAC1E,SAAS,EACP,oEAAoE;IACtE,iBAAiB,EACf,oEAAoE;CACvE,CAAC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type EoaRpc } from "./eoa-observation";
|
|
2
|
+
import { type TransactionObservation } from "./observations";
|
|
3
|
+
export declare const SAFE_PRESTATE_OPTIONS: {
|
|
4
|
+
tracer: string;
|
|
5
|
+
tracerConfig: {
|
|
6
|
+
diffMode: boolean;
|
|
7
|
+
disableCode: boolean;
|
|
8
|
+
disableStorage: boolean;
|
|
9
|
+
};
|
|
10
|
+
timeout: string;
|
|
11
|
+
reexec: number;
|
|
12
|
+
};
|
|
13
|
+
export declare const SAFE_OPCODE_OPTIONS: {
|
|
14
|
+
enableMemory: boolean;
|
|
15
|
+
disableStack: boolean;
|
|
16
|
+
disableStorage: boolean;
|
|
17
|
+
enableReturnData: boolean;
|
|
18
|
+
limit: number;
|
|
19
|
+
timeout: string;
|
|
20
|
+
reexec: number;
|
|
21
|
+
};
|
|
22
|
+
export declare const SAFE_TRACE_MAX_BYTES: number;
|
|
23
|
+
export interface SafeObservationRequest {
|
|
24
|
+
plan: unknown;
|
|
25
|
+
envelope: unknown;
|
|
26
|
+
provider: EoaRpc;
|
|
27
|
+
transactionHash: string;
|
|
28
|
+
}
|
|
29
|
+
/** Null/pending chain records do not advance. Reorgs during evidence collection fail closed. */
|
|
30
|
+
export declare function observeSafeTransaction(input: SafeObservationRequest): Promise<TransactionObservation[] | undefined>;
|