@intentius/chant 0.56.0 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audit/catalog.d.ts +51 -1
- package/dist/audit/catalog.d.ts.map +1 -1
- package/dist/audit/core.d.ts +20 -1
- package/dist/audit/core.d.ts.map +1 -1
- package/dist/audit/discover.d.ts +14 -8
- package/dist/audit/discover.d.ts.map +1 -1
- package/dist/audit/lineage.d.ts +10 -0
- package/dist/audit/lineage.d.ts.map +1 -0
- package/dist/audit/prior-art.d.ts +385 -0
- package/dist/audit/prior-art.d.ts.map +1 -0
- package/dist/audit/proof.d.ts +16 -0
- package/dist/audit/proof.d.ts.map +1 -1
- package/dist/audit/report-html.d.ts.map +1 -1
- package/dist/audit/report-model.d.ts +8 -1
- package/dist/audit/report-model.d.ts.map +1 -1
- package/dist/audit/report.d.ts.map +1 -1
- package/dist/audit/rules-doc.d.ts +3 -0
- package/dist/audit/rules-doc.d.ts.map +1 -1
- package/dist/audit/secrets.d.ts +15 -0
- package/dist/audit/secrets.d.ts.map +1 -1
- package/dist/audit/terraform-state.d.ts +46 -0
- package/dist/audit/terraform-state.d.ts.map +1 -0
- package/dist/build.d.ts +17 -1
- package/dist/build.d.ts.map +1 -1
- package/dist/claimed-fields.d.ts +161 -0
- package/dist/claimed-fields.d.ts.map +1 -0
- package/dist/cli/build-params-cli.d.ts +2 -2
- package/dist/cli/command-group.d.ts +14 -0
- package/dist/cli/command-group.d.ts.map +1 -1
- package/dist/cli/commands/audit.d.ts +17 -1
- package/dist/cli/commands/audit.d.ts.map +1 -1
- package/dist/cli/commands/build.d.ts.map +1 -1
- package/dist/cli/commands/check-lexicon-docs.d.ts +1 -1
- package/dist/cli/commands/check-lexicon-examples.d.ts +16 -6
- package/dist/cli/commands/check-lexicon-examples.d.ts.map +1 -1
- package/dist/cli/commands/import.d.ts.map +1 -1
- package/dist/cli/commands/init-lexicon/templates/codegen.d.ts +1 -0
- package/dist/cli/commands/init-lexicon/templates/codegen.d.ts.map +1 -1
- package/dist/cli/commands/init-lexicon/templates/project.d.ts +7 -0
- package/dist/cli/commands/init-lexicon/templates/project.d.ts.map +1 -1
- package/dist/cli/commands/init-lexicon.d.ts.map +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/lint.d.ts.map +1 -1
- package/dist/cli/commands/onboard.d.ts +2 -0
- package/dist/cli/commands/onboard.d.ts.map +1 -1
- package/dist/cli/handlers/build.d.ts.map +1 -1
- package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
- package/dist/cli/handlers/operator.d.ts +82 -16
- package/dist/cli/handlers/operator.d.ts.map +1 -1
- package/dist/cli/handlers/run.d.ts +49 -42
- package/dist/cli/handlers/run.d.ts.map +1 -1
- package/dist/cli/main.d.ts +28 -1
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/mcp/op-tools.d.ts +16 -1
- package/dist/cli/mcp/op-tools.d.ts.map +1 -1
- package/dist/cli/mcp/resource-handlers.d.ts.map +1 -1
- package/dist/cli/mcp/resources/context.d.ts.map +1 -1
- package/dist/cli/registry.d.ts +26 -9
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/codegen/generate-post-synth-barrel.d.ts +1 -1
- package/dist/components/auto-release.d.ts +10 -20
- package/dist/components/auto-release.d.ts.map +1 -1
- package/dist/components/capability.d.ts +4 -4
- package/dist/components/cli-support.d.ts +20 -21
- package/dist/components/cli-support.d.ts.map +1 -1
- package/dist/components/component.d.ts +3 -3
- package/dist/components/component.d.ts.map +1 -1
- package/dist/components/driver-output.d.ts.map +1 -1
- package/dist/components/driver.d.ts +66 -36
- package/dist/components/driver.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest-persistence.d.ts +1 -9
- package/dist/components/manifest-persistence.d.ts.map +1 -1
- package/dist/components/run-progress.d.ts +6 -6
- package/dist/components/run-progress.d.ts.map +1 -1
- package/dist/components/verbs/run-agent.d.ts +9 -15
- package/dist/components/verbs/run-agent.d.ts.map +1 -1
- package/dist/components/verbs/verify.d.ts +2 -2
- package/dist/deep-observation.d.ts +17 -0
- package/dist/deep-observation.d.ts.map +1 -1
- package/dist/discovery/files.d.ts +4 -4
- package/dist/discovery/fold-import.d.ts.map +1 -1
- package/dist/discovery/param-deps.d.ts +33 -0
- package/dist/discovery/param-deps.d.ts.map +1 -1
- package/dist/discovery/sandbox/bundle.d.ts.map +1 -1
- package/dist/discovery/sandbox/config-wire.d.ts +2 -2
- package/dist/fold/foldable-helpers.d.ts +5 -1
- package/dist/fold/foldable-helpers.d.ts.map +1 -1
- package/dist/fold-provenance.d.ts +236 -0
- package/dist/fold-provenance.d.ts.map +1 -0
- package/dist/graph-ops.d.ts +1 -1
- package/dist/held-elsewhere.d.ts +85 -0
- package/dist/held-elsewhere.d.ts.map +1 -0
- package/dist/import/ir-utils.d.ts +1 -1
- package/dist/import/ir-utils.d.ts.map +1 -1
- package/dist/import/parser.d.ts +33 -0
- package/dist/import/parser.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/kubectl-context.d.ts +3 -3
- package/dist/lexicon-config.d.ts +4 -4
- package/dist/lexicon-plugin-helpers.d.ts +1 -1
- package/dist/lexicon.d.ts +104 -14
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/change-set.d.ts +13 -0
- package/dist/lifecycle/change-set.d.ts.map +1 -1
- package/dist/lifecycle/deep-diff.d.ts +133 -6
- package/dist/lifecycle/deep-diff.d.ts.map +1 -1
- package/dist/lifecycle/deep-observe.d.ts.map +1 -1
- package/dist/lifecycle/gate-ledger.d.ts +71 -3
- package/dist/lifecycle/gate-ledger.d.ts.map +1 -1
- package/dist/lifecycle/index.d.ts +1 -0
- package/dist/lifecycle/index.d.ts.map +1 -1
- package/dist/lifecycle/release-ledger.d.ts +2 -2
- package/dist/lifecycle/run-ledger.d.ts +53 -0
- package/dist/lifecycle/run-ledger.d.ts.map +1 -0
- package/dist/lifecycle/symptoms.d.ts +3 -3
- package/dist/lifecycle/symptoms.d.ts.map +1 -1
- package/dist/lint/config.d.ts +81 -2
- package/dist/lint/config.d.ts.map +1 -1
- package/dist/lint/post-synth.d.ts +55 -2
- package/dist/lint/post-synth.d.ts.map +1 -1
- package/dist/lint/rules/__fixtures__/comp/comp004/pass/neo4j-cluster.component.d.ts +1 -1
- package/dist/lint/rules/__fixtures__/comp/comp004/pass/neo4j-cluster.component.d.ts.map +1 -1
- package/dist/lint/rules/__fixtures__/comp/comp004/pass/orders-table.component.d.ts +1 -1
- package/dist/lint/rules/__fixtures__/comp/comp004/pass/orders-table.component.d.ts.map +1 -1
- package/dist/lint/rules/comp/comp004-gate-needs-durable-runtime.d.ts +44 -0
- package/dist/lint/rules/comp/comp004-gate-needs-durable-runtime.d.ts.map +1 -0
- package/dist/lint/rules/comp/index.d.ts +1 -1
- package/dist/lint/rules/comp/index.d.ts.map +1 -1
- package/dist/lint/rules/op/index.d.ts +16 -0
- package/dist/lint/rules/op/index.d.ts.map +1 -0
- package/dist/lint/rules/op/ops012-activity-contract.d.ts +27 -0
- package/dist/lint/rules/op/ops012-activity-contract.d.ts.map +1 -0
- package/dist/lint/rules/op/ops013-step-output-ref.d.ts +61 -0
- package/dist/lint/rules/op/ops013-step-output-ref.d.ts.map +1 -0
- package/dist/lint/rules/op/ops014-converge-rule-refusals.d.ts +55 -0
- package/dist/lint/rules/op/ops014-converge-rule-refusals.d.ts.map +1 -0
- package/dist/lint/rules/op/support.d.ts +12 -0
- package/dist/lint/rules/op/support.d.ts.map +1 -0
- package/dist/lint/suppressions.d.ts +108 -0
- package/dist/lint/suppressions.d.ts.map +1 -0
- package/dist/live-endpoint.d.ts +1 -1
- package/dist/op/activities/activity-contracts.d.ts +54 -0
- package/dist/op/activities/activity-contracts.d.ts.map +1 -0
- package/dist/op/activities/apply.d.ts +262 -0
- package/dist/op/activities/apply.d.ts.map +1 -0
- package/dist/op/activities/build.d.ts +13 -0
- package/dist/op/activities/build.d.ts.map +1 -0
- package/dist/op/activities/converge.d.ts +110 -0
- package/dist/op/activities/converge.d.ts.map +1 -0
- package/dist/op/activities/env-teardown.d.ts +76 -0
- package/dist/op/activities/env-teardown.d.ts.map +1 -0
- package/dist/op/activities/guard-validate.d.ts +64 -0
- package/dist/op/activities/guard-validate.d.ts.map +1 -0
- package/dist/op/activities/http-check.d.ts +34 -0
- package/dist/op/activities/http-check.d.ts.map +1 -0
- package/dist/op/activities/index.d.ts +31 -0
- package/dist/op/activities/index.d.ts.map +1 -0
- package/dist/op/activities/lexicon-upgrade.d.ts +182 -0
- package/dist/op/activities/lexicon-upgrade.d.ts.map +1 -0
- package/dist/op/activities/lifecycle.d.ts +42 -0
- package/dist/op/activities/lifecycle.d.ts.map +1 -0
- package/dist/op/activities/pipeline-audit.d.ts +84 -0
- package/dist/op/activities/pipeline-audit.d.ts.map +1 -0
- package/dist/op/activities/policy.d.ts +17 -0
- package/dist/op/activities/policy.d.ts.map +1 -0
- package/dist/op/activities/reconcile.d.ts +89 -0
- package/dist/op/activities/reconcile.d.ts.map +1 -0
- package/dist/op/activities/shell.d.ts +13 -0
- package/dist/op/activities/shell.d.ts.map +1 -0
- package/dist/op/activities/teardown.d.ts +10 -0
- package/dist/op/activities/teardown.d.ts.map +1 -0
- package/dist/op/activities/util.d.ts +7 -0
- package/dist/op/activities/util.d.ts.map +1 -0
- package/dist/op/activities/wait.d.ts +28 -0
- package/dist/op/activities/wait.d.ts.map +1 -0
- package/dist/op/activities/workflow-audit.d.ts +92 -0
- package/dist/op/activities/workflow-audit.d.ts.map +1 -0
- package/dist/op/activity-contract-registry.d.ts +76 -0
- package/dist/op/activity-contract-registry.d.ts.map +1 -0
- package/dist/op/activity-contract.d.ts +25 -18
- package/dist/op/activity-contract.d.ts.map +1 -1
- package/dist/op/activity-failure.d.ts +28 -0
- package/dist/op/activity-failure.d.ts.map +1 -0
- package/dist/op/activity-profiles.d.ts +118 -0
- package/dist/op/activity-profiles.d.ts.map +1 -0
- package/dist/op/activity-registry.d.ts +22 -38
- package/dist/op/activity-registry.d.ts.map +1 -1
- package/dist/op/activity-runtime.d.ts +3 -14
- package/dist/op/activity-runtime.d.ts.map +1 -1
- package/dist/op/builders.d.ts +84 -29
- package/dist/op/builders.d.ts.map +1 -1
- package/dist/op/composites/apply-op.d.ts +113 -0
- package/dist/op/composites/apply-op.d.ts.map +1 -0
- package/dist/op/composites/converge-op.d.ts +120 -0
- package/dist/op/composites/converge-op.d.ts.map +1 -0
- package/dist/op/composites/index.d.ts +26 -0
- package/dist/op/composites/index.d.ts.map +1 -0
- package/dist/op/composites/lexicon-upgrade-op.d.ts +78 -0
- package/dist/op/composites/lexicon-upgrade-op.d.ts.map +1 -0
- package/dist/op/composites/pipeline-audit-op.d.ts +50 -0
- package/dist/op/composites/pipeline-audit-op.d.ts.map +1 -0
- package/dist/op/composites/reconcile-op.d.ts +57 -0
- package/dist/op/composites/reconcile-op.d.ts.map +1 -0
- package/dist/op/composites/watch-op.d.ts +60 -0
- package/dist/op/composites/watch-op.d.ts.map +1 -0
- package/dist/op/composites/workflow-audit-op.d.ts +57 -0
- package/dist/op/composites/workflow-audit-op.d.ts.map +1 -0
- package/dist/op/converge-rule.d.ts +12 -10
- package/dist/op/converge-rule.d.ts.map +1 -1
- package/dist/op/cron.d.ts +51 -0
- package/dist/op/cron.d.ts.map +1 -0
- package/dist/op/discover.d.ts +9 -0
- package/dist/op/discover.d.ts.map +1 -1
- package/dist/op/duration.d.ts +11 -0
- package/dist/op/duration.d.ts.map +1 -0
- package/dist/op/emulator-lifecycle.d.ts.map +1 -1
- package/dist/op/gate.d.ts +90 -0
- package/dist/op/gate.d.ts.map +1 -0
- package/dist/op/generate-pipeline.d.ts +9 -0
- package/dist/op/generate-pipeline.d.ts.map +1 -1
- package/dist/op/index.d.ts +23 -7
- package/dist/op/index.d.ts.map +1 -1
- package/dist/op/local-executor.d.ts +114 -28
- package/dist/op/local-executor.d.ts.map +1 -1
- package/dist/op/local-output.d.ts +11 -1
- package/dist/op/local-output.d.ts.map +1 -1
- package/dist/op/op-ir.d.ts +184 -0
- package/dist/op/op-ir.d.ts.map +1 -0
- package/dist/op/op-verb-class.d.ts +10 -2
- package/dist/op/op-verb-class.d.ts.map +1 -1
- package/dist/op/operator.d.ts +30 -5
- package/dist/op/operator.d.ts.map +1 -1
- package/dist/op/receipt-store.d.ts +1 -1
- package/dist/op/receipt-store.d.ts.map +1 -1
- package/dist/op/resource.d.ts +15 -1
- package/dist/op/resource.d.ts.map +1 -1
- package/dist/op/runtime.d.ts +200 -0
- package/dist/op/runtime.d.ts.map +1 -0
- package/dist/op/runtimes/local.d.ts +29 -0
- package/dist/op/runtimes/local.d.ts.map +1 -0
- package/dist/op/step-output-ref.d.ts +15 -13
- package/dist/op/step-output-ref.d.ts.map +1 -1
- package/dist/op/types.d.ts +79 -27
- package/dist/op/types.d.ts.map +1 -1
- package/dist/ownership.d.ts +1 -1
- package/dist/provenance.d.ts +21 -0
- package/dist/provenance.d.ts.map +1 -1
- package/dist/serializer-walker.d.ts.map +1 -1
- package/dist/stack-output.d.ts +5 -0
- package/dist/stack-output.d.ts.map +1 -1
- package/package.json +6 -1
- package/src/audit/catalog.test.ts +79 -3
- package/src/audit/catalog.ts +111 -13
- package/src/audit/core.test.ts +26 -0
- package/src/audit/core.ts +61 -17
- package/src/audit/discover.test.ts +39 -0
- package/src/audit/discover.ts +91 -15
- package/src/audit/lineage.ts +100 -0
- package/src/audit/prior-art.ts +153 -0
- package/src/audit/proof.test.ts +67 -0
- package/src/audit/proof.ts +70 -0
- package/src/audit/report-html.ts +9 -4
- package/src/audit/report-model.ts +16 -2
- package/src/audit/report.test.ts +33 -0
- package/src/audit/report.ts +5 -3
- package/src/audit/rules-doc.test.ts +34 -2
- package/src/audit/rules-doc.ts +82 -9
- package/src/audit/secrets.ts +15 -3
- package/src/audit/terraform-state.test.ts +144 -0
- package/src/audit/terraform-state.ts +131 -0
- package/src/build.ts +31 -1
- package/src/claimed-fields.test.ts +145 -0
- package/src/claimed-fields.ts +208 -0
- package/src/cli/build-params-cli.ts +2 -2
- package/src/cli/command-group.ts +14 -0
- package/src/cli/commands/__fixtures__/audit-terraform/infra/.terraform/providers/lock.txt +1 -0
- package/src/cli/commands/__fixtures__/audit-terraform/infra/main.tf +1 -0
- package/src/cli/commands/__fixtures__/audit-terraform/infra/modules/foo/main.tf +1 -0
- package/src/cli/commands/__fixtures__/audit-terraform/infra/variables.tf +3 -0
- package/src/cli/commands/__fixtures__/init-lexicon-output/package.json +13 -4
- package/src/cli/commands/__fixtures__/init-lexicon-output/src/codegen/docs-cli.ts +4 -0
- package/src/cli/commands/__fixtures__/init-lexicon-output/src/codegen/package.ts +1 -0
- package/src/cli/commands/__fixtures__/init-lexicon-output/src/package-cli.ts +21 -0
- package/src/cli/commands/__snapshots__/init-lexicon.test.ts.snap +1 -0
- package/src/cli/commands/audit.test.ts +189 -11
- package/src/cli/commands/audit.ts +73 -27
- package/src/cli/commands/build.test.ts +292 -9
- package/src/cli/commands/build.ts +156 -24
- package/src/cli/commands/check-lexicon-docs.ts +1 -1
- package/src/cli/commands/check-lexicon-examples.test.ts +29 -1
- package/src/cli/commands/check-lexicon-examples.ts +42 -10
- package/src/cli/commands/import.ts +6 -0
- package/src/cli/commands/init-lexicon/templates/codegen.ts +9 -0
- package/src/cli/commands/init-lexicon/templates/project.ts +44 -4
- package/src/cli/commands/init-lexicon.test.ts +97 -2
- package/src/cli/commands/init-lexicon.ts +4 -2
- package/src/cli/commands/init.test.ts +35 -1
- package/src/cli/commands/init.ts +14 -3
- package/src/cli/commands/lint.test.ts +48 -0
- package/src/cli/commands/lint.ts +123 -0
- package/src/cli/commands/onboard.test.ts +75 -0
- package/src/cli/commands/onboard.ts +54 -23
- package/src/cli/handlers/build.test.ts +81 -1
- package/src/cli/handlers/build.ts +15 -1
- package/src/cli/handlers/graph.test.ts +3 -3
- package/src/cli/handlers/lifecycle.test.ts +195 -12
- package/src/cli/handlers/lifecycle.ts +123 -6
- package/src/cli/handlers/misc.ts +1 -1
- package/src/cli/handlers/operator.test.ts +183 -11
- package/src/cli/handlers/operator.ts +260 -55
- package/src/cli/handlers/run.test.ts +431 -1287
- package/src/cli/handlers/run.ts +365 -915
- package/src/cli/main.test.ts +23 -15
- package/src/cli/main.ts +88 -33
- package/src/cli/mcp/op-tools.ts +147 -88
- package/src/cli/mcp/resource-handlers.ts +10 -37
- package/src/cli/mcp/resources/context.ts +11 -12
- package/src/cli/mcp/server.test.ts +25 -27
- package/src/cli/mcp/server.ts +2 -2
- package/src/cli/registry.ts +26 -9
- package/src/codegen/docs.ts +1 -1
- package/src/codegen/generate-post-synth-barrel.test.ts +1 -1
- package/src/codegen/generate-post-synth-barrel.ts +1 -1
- package/src/components/README.md +3 -2
- package/src/components/auto-release.test.ts +4 -20
- package/src/components/auto-release.ts +17 -42
- package/src/components/capability.ts +4 -4
- package/src/components/cli-support.test.ts +10 -5
- package/src/components/cli-support.ts +52 -44
- package/src/components/component.schema.json +2 -2
- package/src/components/component.ts +3 -3
- package/src/components/driver-output.ts +14 -2
- package/src/components/driver.test.ts +92 -22
- package/src/components/driver.ts +193 -83
- package/src/components/index.ts +1 -6
- package/src/components/manifest-persistence.test.ts +2 -20
- package/src/components/manifest-persistence.ts +4 -24
- package/src/components/pilots/pilots-lint-clean.test.ts +11 -10
- package/src/components/run-progress.ts +6 -6
- package/src/components/verbs/run-agent.ts +11 -17
- package/src/components/verbs/verify.ts +2 -2
- package/src/deep-observation.test.ts +75 -0
- package/src/deep-observation.ts +48 -0
- package/src/discovery/collect.test.ts +3 -3
- package/src/discovery/files.ts +4 -4
- package/src/discovery/fold-import.ts +105 -2
- package/src/discovery/param-deps.test.ts +112 -1
- package/src/discovery/param-deps.ts +193 -0
- package/src/discovery/sandbox/bundle.ts +15 -1
- package/src/discovery/sandbox/config-wire.test.ts +2 -2
- package/src/discovery/sandbox/config-wire.ts +2 -2
- package/src/fold/fold.test.ts +56 -0
- package/src/fold/foldable-helpers.ts +81 -1
- package/src/fold-provenance-exclusion.test.ts +186 -0
- package/src/fold-provenance.test.ts +495 -0
- package/src/fold-provenance.ts +441 -0
- package/src/graph-ops.test.ts +2 -2
- package/src/graph-ops.ts +1 -1
- package/src/held-elsewhere.test.ts +102 -0
- package/src/held-elsewhere.ts +114 -0
- package/src/import/ir-utils.ts +11 -1
- package/src/import/parser.ts +35 -0
- package/src/index.ts +3 -0
- package/src/kubectl-context.ts +3 -3
- package/src/lexicon-config.test.ts +5 -5
- package/src/lexicon-config.ts +4 -4
- package/src/lexicon-plugin-helpers.ts +1 -1
- package/src/lexicon.ts +120 -14
- package/src/lifecycle/change-set.test.ts +49 -0
- package/src/lifecycle/change-set.ts +67 -0
- package/src/lifecycle/converge-ledger.ts +1 -1
- package/src/lifecycle/deep-diff.test.ts +267 -14
- package/src/lifecycle/deep-diff.ts +217 -14
- package/src/lifecycle/deep-observe.test.ts +3 -1
- package/src/lifecycle/deep-observe.ts +16 -6
- package/src/lifecycle/gate-ledger.test.ts +74 -2
- package/src/lifecycle/gate-ledger.ts +143 -36
- package/src/lifecycle/index.ts +1 -0
- package/src/lifecycle/release-ledger.ts +2 -2
- package/src/lifecycle/run-ledger.test.ts +268 -0
- package/src/lifecycle/run-ledger.ts +201 -0
- package/src/lifecycle/symptoms.ts +3 -3
- package/src/lint/config.test.ts +82 -1
- package/src/lint/config.ts +112 -3
- package/src/lint/policy.test.ts +1 -1
- package/src/lint/post-synth.test.ts +31 -0
- package/src/lint/post-synth.ts +54 -1
- package/src/lint/rules/__fixtures__/comp/comp004/pass/neo4j-cluster.component.ts +2 -2
- package/src/lint/rules/__fixtures__/comp/comp004/pass/orders-table.component.ts +1 -1
- package/src/lint/rules/comp/comp.test.ts +1 -1
- package/src/lint/rules/comp/comp004-gate-needs-durable-runtime.ts +74 -0
- package/src/lint/rules/comp/index.ts +3 -3
- package/src/lint/rules/op/index.ts +23 -0
- package/src/lint/rules/op/ops012-activity-contract.test.ts +161 -0
- package/src/lint/rules/op/ops012-activity-contract.ts +64 -0
- package/src/lint/rules/op/ops013-step-output-ref.test.ts +237 -0
- package/src/lint/rules/op/ops013-step-output-ref.ts +98 -0
- package/src/lint/rules/op/ops014-converge-rule-refusals.test.ts +263 -0
- package/src/lint/rules/op/ops014-converge-rule-refusals.ts +179 -0
- package/src/lint/rules/op/support.ts +11 -0
- package/src/lint/suppressions.test.ts +163 -0
- package/src/lint/suppressions.ts +204 -0
- package/src/live-endpoint.ts +1 -1
- package/src/op/activities/activity-contracts.ts +66 -0
- package/src/op/activities/apply.test.ts +567 -0
- package/src/op/activities/apply.ts +662 -0
- package/src/op/activities/build.ts +26 -0
- package/src/op/activities/converge.test.ts +330 -0
- package/src/op/activities/converge.ts +449 -0
- package/src/op/activities/env-teardown.test.ts +187 -0
- package/src/op/activities/env-teardown.ts +171 -0
- package/src/op/activities/guard-validate.test.ts +139 -0
- package/src/op/activities/guard-validate.ts +223 -0
- package/src/op/activities/http-check.test.ts +48 -0
- package/src/op/activities/http-check.ts +55 -0
- package/src/op/activities/index.ts +119 -0
- package/src/op/activities/lexicon-upgrade.test.ts +492 -0
- package/src/op/activities/lexicon-upgrade.ts +673 -0
- package/src/op/activities/lifecycle.ts +85 -0
- package/src/op/activities/pipeline-audit.test.ts +67 -0
- package/src/op/activities/pipeline-audit.ts +201 -0
- package/src/op/activities/policy.test.ts +19 -0
- package/src/op/activities/policy.ts +37 -0
- package/src/op/activities/reconcile.test.ts +81 -0
- package/src/op/activities/reconcile.ts +187 -0
- package/src/op/activities/shell.ts +26 -0
- package/src/op/activities/teardown.ts +22 -0
- package/src/op/activities/util.ts +6 -0
- package/src/op/activities/wait.ts +69 -0
- package/src/op/activities/workflow-audit.test.ts +90 -0
- package/src/op/activities/workflow-audit.ts +203 -0
- package/src/op/activity-contract-registry.test.ts +98 -0
- package/src/op/activity-contract-registry.ts +114 -0
- package/src/op/activity-contract.test.ts +1 -1
- package/src/op/activity-contract.ts +37 -33
- package/src/op/activity-failure.ts +34 -0
- package/src/op/activity-profiles.test.ts +56 -0
- package/src/op/activity-profiles.ts +116 -0
- package/src/op/activity-registry.test.ts +37 -28
- package/src/op/activity-registry.ts +27 -56
- package/src/op/activity-runtime.ts +3 -47
- package/src/op/builders-exports.test.ts +0 -49
- package/src/op/builders-typed.test.ts +164 -0
- package/src/op/builders.ts +123 -39
- package/src/op/composites/apply-op.ts +208 -0
- package/src/op/composites/composites.test.ts +366 -0
- package/src/op/composites/converge-op.test.ts +168 -0
- package/src/op/composites/converge-op.ts +214 -0
- package/src/op/composites/index.ts +26 -0
- package/src/op/composites/lexicon-upgrade-op.test.ts +68 -0
- package/src/op/composites/lexicon-upgrade-op.ts +134 -0
- package/src/op/composites/pipeline-audit-op.test.ts +25 -0
- package/src/op/composites/pipeline-audit-op.ts +78 -0
- package/src/op/composites/reconcile-op.test.ts +51 -0
- package/src/op/composites/reconcile-op.ts +107 -0
- package/src/op/composites/watch-op.ts +108 -0
- package/src/op/composites/workflow-audit-op.test.ts +25 -0
- package/src/op/composites/workflow-audit-op.ts +88 -0
- package/src/op/converge-rule.ts +12 -10
- package/src/op/cron.test.ts +128 -0
- package/src/op/cron.ts +149 -0
- package/src/op/discover-root.test.ts +105 -1
- package/src/op/discover.test.ts +6 -2
- package/src/op/discover.ts +84 -16
- package/src/op/duration.ts +21 -0
- package/src/op/effect-step.test.ts +26 -11
- package/src/op/emulator-lifecycle.ts +1 -2
- package/src/op/gate.ts +155 -0
- package/src/op/generate-pipeline.test.ts +65 -3
- package/src/op/generate-pipeline.ts +19 -2
- package/src/op/index.ts +39 -6
- package/src/op/local-executor.test.ts +163 -34
- package/src/op/local-executor.ts +370 -102
- package/src/op/local-output.test.ts +95 -11
- package/src/op/local-output.ts +33 -4
- package/src/op/op-ir.test.ts +281 -0
- package/src/op/op-ir.ts +417 -0
- package/src/op/op-verb-class.ts +19 -5
- package/src/op/op.test.ts +26 -5
- package/src/op/operator.test.ts +175 -6
- package/src/op/operator.ts +63 -16
- package/src/op/receipt-store.ts +1 -1
- package/src/op/resource.ts +20 -2
- package/src/op/runtime.ts +203 -0
- package/src/op/runtimes/local.test.ts +181 -0
- package/src/op/runtimes/local.ts +212 -0
- package/src/op/step-output-ref.ts +15 -13
- package/src/op/types.ts +84 -24
- package/src/ownership.ts +1 -1
- package/src/provenance.test.ts +6 -0
- package/src/provenance.ts +21 -1
- package/src/serializer-walker.test.ts +42 -0
- package/src/serializer-walker.ts +21 -2
- package/src/stack-output.ts +6 -1
- package/dist/cli/handlers/op-progress.d.ts +0 -90
- package/dist/cli/handlers/op-progress.d.ts.map +0 -1
- package/dist/cli/handlers/run-client.d.ts +0 -127
- package/dist/cli/handlers/run-client.d.ts.map +0 -1
- package/dist/cli/handlers/run-report.d.ts +0 -5
- package/dist/cli/handlers/run-report.d.ts.map +0 -1
- package/dist/components/temporal-codegen-loader.d.ts +0 -27
- package/dist/components/temporal-codegen-loader.d.ts.map +0 -1
- package/dist/lint/rules/comp/comp004-gate-needs-temporal.d.ts +0 -37
- package/dist/lint/rules/comp/comp004-gate-needs-temporal.d.ts.map +0 -1
- package/src/cli/handlers/op-progress.test.ts +0 -268
- package/src/cli/handlers/op-progress.ts +0 -248
- package/src/cli/handlers/run-client.test.ts +0 -82
- package/src/cli/handlers/run-client.ts +0 -219
- package/src/cli/handlers/run-report.test.ts +0 -62
- package/src/cli/handlers/run-report.ts +0 -122
- package/src/components/temporal-codegen-loader.ts +0 -41
- package/src/lint/rules/comp/comp004-gate-needs-temporal.ts +0 -66
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-release.d.ts","sourceRoot":"","sources":["../../src/components/auto-release.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auto-release.d.ts","sourceRoot":"","sources":["../../src/components/auto-release.ts"],"names":[],"mappings":"AA4BA,OAAO,EAAkD,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACjI,OA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KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAMD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,sBAAsB,CAC1C,GAAG,EAAE,kBAAkB,EACvB,OAAO,GAAE,kBAAuB,GAC/B,OAAO,CAAC,iBAAiB,CAAC,CAmD5B"}
|
|
@@ -48,10 +48,10 @@ export interface Capability<In = unknown, Out = unknown> {
|
|
|
48
48
|
* returned (#1944, epic #1564 phase 4) — a serializable identity channel a
|
|
49
49
|
* capability can use to recover state `rollback` needs when it cannot rely
|
|
50
50
|
* on in-process object identity between its `run`/`rollback` calls. The
|
|
51
|
-
* local interpret driver (../driver.ts) always threads it through;
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
51
|
+
* local interpret driver (../driver.ts) always threads it through; a
|
|
52
|
+
* hosting runtime that splits a run across process boundaries threads it
|
|
53
|
+
* across as plain JSON, which is exactly the case this exists for — see
|
|
54
|
+
* ./verbs/run-agent.ts's "Rollback identity" doc
|
|
55
55
|
* comment for the motivating gap (a fresh sprite's checkpoint id, recorded
|
|
56
56
|
* only in an in-process `WeakMap` keyed by `run()`'s `input` object, never
|
|
57
57
|
* survives to a `rollback()` call that runs as a separate Activity with its
|
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
import type { BuildParamProvenance } from "../provenance.js";
|
|
25
25
|
import { type Archetype } from "./component.js";
|
|
26
26
|
import { type DriverComponent, type DriverRunResult } from "./driver.js";
|
|
27
|
+
import type { PendingGateRecord } from "../lifecycle/gate-ledger.js";
|
|
28
|
+
import type { GateLedgerPort } from "../op/gate.js";
|
|
27
29
|
import { type ComponentPipelineOptions } from "../lexicon.js";
|
|
28
30
|
import type { RunProgressEvent } from "./run-progress.js";
|
|
29
31
|
import type { CapabilityRegistry } from "./capability.js";
|
|
@@ -132,11 +134,11 @@ export declare function generateComponentsPipeline(path: string, lexicon: Genera
|
|
|
132
134
|
buildParams?: BuildParamProvenance[]): Promise<GenerateComponentsResult>;
|
|
133
135
|
/**
|
|
134
136
|
* Find the first `gate` step anywhere in a component's `deploy`/`rollback`
|
|
135
|
-
* composition (including nested fan-out phases)
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
137
|
+
* composition (including nested fan-out phases).
|
|
138
|
+
*
|
|
139
|
+
* A declaration-time question, not a pre-flight refusal: since #2119 the
|
|
140
|
+
* driver decides a gate against the ledger when it reaches one, so nothing
|
|
141
|
+
* needs to know up front that a component has one.
|
|
140
142
|
*/
|
|
141
143
|
export declare function findComponentGate(component: DriverComponent): {
|
|
142
144
|
signalName: string;
|
|
@@ -208,6 +210,8 @@ export interface RunComponentsOptions {
|
|
|
208
210
|
* every test in `cli-support.test.ts`) that doesn't supply this.
|
|
209
211
|
*/
|
|
210
212
|
buildParams?: BuildParamProvenance[];
|
|
213
|
+
/** Where a `gate` step's facts are read and written (#2119). Defaults to the `chant/lifecycle` orphan branch; a test passes `memoryGateLedgerPort()` from `../op/gate.ts`. */
|
|
214
|
+
gates?: GateLedgerPort;
|
|
211
215
|
}
|
|
212
216
|
/** Result of `chant run --components <name|all>`. */
|
|
213
217
|
export interface RunComponentsResult {
|
|
@@ -217,10 +221,10 @@ export interface RunComponentsResult {
|
|
|
217
221
|
/** Component names actually dispatched to the driver, in run order. */
|
|
218
222
|
selected: string[];
|
|
219
223
|
error?: string;
|
|
220
|
-
/** Set when
|
|
221
|
-
|
|
224
|
+
/** Set when the run stopped at a `gate` nobody has approved (#2119): the component it stopped at and the pending fact recorded for it. */
|
|
225
|
+
gated?: {
|
|
222
226
|
component: string;
|
|
223
|
-
|
|
227
|
+
gate: PendingGateRecord;
|
|
224
228
|
};
|
|
225
229
|
/** This run's resolved build-time parameters (chant #1108) — the component-driver counterpart of `../cli/commands/build.ts`'s `BuildResult.buildParams`. Present only once the run actually reached dispatch (mirrors `BuildResult.buildParams`, which is likewise absent on an early-error return). */
|
|
226
230
|
buildParams?: BuildParamProvenance[];
|
|
@@ -231,8 +235,7 @@ export interface RunComponentsResult {
|
|
|
231
235
|
* local in-process executor — the CLI entrypoint the driver never had (#585,
|
|
232
236
|
* follow-up to #556). Discovers the full component set first, then either:
|
|
233
237
|
* - `selector === "all"`: resolves the whole set's dependency order/waves
|
|
234
|
-
* and dispatches every component through `runInterpretDriver`,
|
|
235
|
-
* what the generated orchestrator Op will eventually do — the same
|
|
238
|
+
* and dispatches every component through `runInterpretDriver`, in the same
|
|
236
239
|
* order `chant graph --components` reports.
|
|
237
240
|
* - a single name: dispatches just that component via `runComponentDeploy`,
|
|
238
241
|
* without requiring the rest of its `dependsOn` graph to be present in
|
|
@@ -244,14 +247,12 @@ export interface RunComponentsResult {
|
|
|
244
247
|
* infra outside the discovered set (e.g. a shared stack, per the
|
|
245
248
|
* `search-service` pilot), which is exactly the common case.
|
|
246
249
|
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* `
|
|
250
|
-
*
|
|
251
|
-
* component execution to what already exists for Ops; the epic tracks
|
|
252
|
-
* graduating a gated component to `--temporal` separately).
|
|
250
|
+
* A `gate` no longer refuses the run up front (#2119). The driver decides each
|
|
251
|
+
* one against the gate ledger as it reaches it; a gate nobody has approved
|
|
252
|
+
* stops the run there with `gated` set, which the CLI turns into exit code 3
|
|
253
|
+
* and the `chant approve` line.
|
|
253
254
|
*/
|
|
254
|
-
/** Result of resolving a `<name|all>` selector against discovered components
|
|
255
|
+
/** Result of resolving a `<name|all>` selector against discovered components. */
|
|
255
256
|
export interface ResolvedComponentTargets {
|
|
256
257
|
success: boolean;
|
|
257
258
|
targets: DriverComponent[];
|
|
@@ -261,10 +262,8 @@ export interface ResolvedComponentTargets {
|
|
|
261
262
|
* Discover every component under `path` and resolve `selector` (`"all"` or a
|
|
262
263
|
* single component name) to the `DriverComponent`(s) to run, with no gate
|
|
263
264
|
* check and no dispatch — just discovery + selection, factored out of
|
|
264
|
-
* `runComponents` so
|
|
265
|
-
*
|
|
266
|
-
* without also inheriting the local executor's pre-flight gate rejection
|
|
267
|
-
* (gates are exactly what the durable path exists to support).
|
|
265
|
+
* `runComponents` so another entrypoint can reuse the exact same selection
|
|
266
|
+
* semantics without inheriting the run itself.
|
|
268
267
|
*/
|
|
269
268
|
export declare function resolveComponentTargets(path: string, selector: string, sandbox?: boolean,
|
|
270
269
|
/** chant #1108 — this invocation's resolved build-time parameter values, forwarded into `discoverComponents` so a `params.<name>` reference inside a discovered `*.component.ts` file resolves instead of reading `{}`. See `discoverComponents`'s `buildParams` option (./discover.ts). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-support.d.ts","sourceRoot":"","sources":["../../src/components/cli-support.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,
|
|
1
|
+
{"version":3,"file":"cli-support.d.ts","sourceRoot":"","sources":["../../src/components/cli-support.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAOL,KAAK,eAAe,EAEpB,KAAK,eAAe,EACrB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAuC,KAAK,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAChG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAA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A;KAAE,CAAC;IACvD,wSAAwS;IACxS,WAAW,CAAC,EAAE,oBAAoB,EAAE,CAAC;CACtC;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,iFAAiF;AACjF,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;GAMG;AACH,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,OAAO;AACjB,4RAA4R;AAC5R,WAAW,CAAC,EAAE,oBAAoB,EAAE,GACnC,OAAO,CAAC,wBAAwB,CAAC,CA2CnC;AAED,wBAAsB,aAAa,CACjC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,mBAAmB,CAAC,CAiH9B"}
|
|
@@ -74,11 +74,11 @@ export interface Step {
|
|
|
74
74
|
inputs?: Record<string, Wiring>;
|
|
75
75
|
[param: string]: unknown;
|
|
76
76
|
}
|
|
77
|
-
/** Mirrors `$defs.Gate` —
|
|
77
|
+
/** Mirrors `$defs.Gate` — a human approval decided against the gate ledger; the run stops here with status `gated` until `chant approve` has answered it. */
|
|
78
78
|
export interface Gate {
|
|
79
79
|
kind: "gate";
|
|
80
80
|
signalName: string;
|
|
81
|
-
/**
|
|
81
|
+
/** How long a recorded pending gate stays valid, as a duration string. Default: "48h". */
|
|
82
82
|
timeout?: string;
|
|
83
83
|
/** Human-readable description of the action required to unblock this gate. */
|
|
84
84
|
description?: string;
|
|
@@ -163,7 +163,7 @@ export interface Component {
|
|
|
163
163
|
export declare function phase(name: string, steps: Array<Step | Gate | Phase>, opts?: {
|
|
164
164
|
parallel?: boolean;
|
|
165
165
|
}): Phase;
|
|
166
|
-
/** Author a gate step —
|
|
166
|
+
/** Author a gate step — a human approval the driver decides against the gate ledger, stopping the run `gated` when nothing has answered it. */
|
|
167
167
|
export declare function gate(signalName: string, opts?: {
|
|
168
168
|
timeout?: string;
|
|
169
169
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/components/component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,0DAA0D;AAC1D,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,kBAAkB,CAAC;AAEjE,4CAA4C;AAC5C,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9C;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,oBAAoB,CAAC;AAEnD,iCAAiC;AACjC,MAAM,WAAW,SAAS;IACxB,sGAAsG;IACtG,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oEAAoE;IACpE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE;QACL,+JAA+J;QAC/J,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;QAC9B,+OAA+O;QAC/O,MAAM,CAAC,EAAE,OAAO,CAAC;KAClB,CAAC;IACF,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qFAAqF;IACrF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6FAA6F;IAC7F,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAA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AAE,OAAO,CAAA;CAAE,GAAG,KAAK,CAE3G;AAED,+IAA+I;AAC/I,wBAAgB,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAEhG;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,oBAAoB,CAE7E;AA6CD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG,SAAS,CAQxF;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAM3D;AAED,yPAAyP;AACzP,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,SAAS,CAQ9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver-output.d.ts","sourceRoot":"","sources":["../../src/components/driver-output.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAoB,MAAM,UAAU,CAAC;AAElE,KAAK,MAAM,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;AAsBrC;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,GAAE,MAAe,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"driver-output.d.ts","sourceRoot":"","sources":["../../src/components/driver-output.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAoB,MAAM,UAAU,CAAC;AAElE,KAAK,MAAM,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;AAsBrC;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,GAAE,MAAe,GAAG,IAAI,CAuCvF;AAED,4FAA4F;AAC5F,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,GAAE,MAAe,GAAG,IAAI,CAEtF"}
|
|
@@ -11,11 +11,18 @@
|
|
|
11
11
|
* component.schema.json (`@Phase.field` prior-step references,
|
|
12
12
|
* `@<component>.publish.<field>` cross-component artifact references, and
|
|
13
13
|
* passes through `$env.*`/`stackOutput` values as opaque env config), runs
|
|
14
|
-
* `parallel` phases concurrently,
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
14
|
+
* `parallel` phases concurrently, decides a `gate` against the gate ledger
|
|
15
|
+
* (#2119 — the same `../op/gate.ts` the Op executor uses, so `chant run
|
|
16
|
+
* --components` and `chant run <op>` can never disagree about what a gate
|
|
17
|
+
* means), and on terminal failure unwinds every executed step in reverse via
|
|
18
|
+
* that step's capability `rollback`, then runs `onFailure` phases in reverse
|
|
19
|
+
* order (best-effort), mirroring the Op local executor's saga semantics.
|
|
20
|
+
*
|
|
21
|
+
* A gate nobody has approved is not a failure: the component stops there with
|
|
22
|
+
* status `gated`, the pending fact is on the ledger, and no rollback and no
|
|
23
|
+
* `onFailure` phase runs — nothing failed and the steps that did run are the
|
|
24
|
+
* steps the author meant to run before the approval. The next run re-reads the
|
|
25
|
+
* ledger and continues past the gate if `chant approve` has answered it.
|
|
19
26
|
*
|
|
20
27
|
* A step whose capability declares no `rollback` is never silently passed
|
|
21
28
|
* over during unwind: it gets a `"rollback-opted-out"` record (see
|
|
@@ -25,21 +32,21 @@
|
|
|
25
32
|
* already requires at author time — the driver reports the same fact the
|
|
26
33
|
* lint rule already made a component author state.
|
|
27
34
|
*
|
|
28
|
-
* This unwind runs entirely in-process: if the process crashes mid-rollback
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* progress* is Temporal-only, the same boundary that already applies to
|
|
36
|
-
* forward `onFailure` compensation on an Op.
|
|
35
|
+
* This unwind runs entirely in-process: if the process crashes mid-rollback,
|
|
36
|
+
* nothing resumes it — there is no persisted run state to resume from (see
|
|
37
|
+
* docs/components/orchestration.mdx#rollback-comes-free). The *mechanism*
|
|
38
|
+
* (reverse-order unwind calling each capability's `rollback`) is
|
|
39
|
+
* capability-agnostic; *durable resume of a rollback already in progress*
|
|
40
|
+
* would be a hosting runtime's to offer, the same boundary that already
|
|
41
|
+
* applies to forward `onFailure` compensation on an Op.
|
|
37
42
|
*
|
|
38
43
|
* Contains zero per-component logic: nothing in this module branches on a
|
|
39
44
|
* component or capability `kind`/name. All behavior is either generic
|
|
40
45
|
* (ordering, phase/step dispatch, wiring resolution) or delegated to the
|
|
41
46
|
* `CapabilityRegistry` the caller supplies.
|
|
42
47
|
*/
|
|
48
|
+
import { type GateLedgerPort } from "../op/gate.js";
|
|
49
|
+
import type { PendingGateRecord } from "../lifecycle/gate-ledger.js";
|
|
43
50
|
import type { CapabilityRegistry, DeployContext } from "./capability.js";
|
|
44
51
|
import type { RunProgressEvent } from "./run-progress.js";
|
|
45
52
|
export type { RunProgressEvent } from "./run-progress.js";
|
|
@@ -55,7 +62,7 @@ export interface DriverStep {
|
|
|
55
62
|
kind: string;
|
|
56
63
|
[param: string]: unknown;
|
|
57
64
|
}
|
|
58
|
-
/** A gate step —
|
|
65
|
+
/** A gate step — a human approval, decided against the gate ledger when the run reaches it (schema `Gate`). */
|
|
59
66
|
export interface DriverGate {
|
|
60
67
|
kind: "gate";
|
|
61
68
|
signalName: string;
|
|
@@ -77,12 +84,6 @@ export interface DriverComponent {
|
|
|
77
84
|
/** Component-level saga compensation, run in reverse order on terminal failure (schema `rollback`). */
|
|
78
85
|
rollback?: DriverPhase[];
|
|
79
86
|
}
|
|
80
|
-
/** Thrown when a component's composition contains a `gate` — gates need a durable runtime, matching chant's Op local executor. */
|
|
81
|
-
export declare class DriverGateUnsupportedError extends Error {
|
|
82
|
-
readonly component: string;
|
|
83
|
-
readonly signalName: string;
|
|
84
|
-
constructor(component: string, signalName: string);
|
|
85
|
-
}
|
|
86
87
|
/** Thrown when a dependency cycle is found among `dependsOn` edges. */
|
|
87
88
|
export declare class DependencyCycleError extends Error {
|
|
88
89
|
readonly cycle: string[];
|
|
@@ -107,11 +108,22 @@ export interface DriverStepRecord {
|
|
|
107
108
|
durationMs: number;
|
|
108
109
|
output?: unknown;
|
|
109
110
|
error?: string;
|
|
111
|
+
/** Set on a `gate` step that passed (#2119): who resolved it, when, and at what address. */
|
|
112
|
+
approval?: {
|
|
113
|
+
gate: string;
|
|
114
|
+
resolvedBy: string;
|
|
115
|
+
timestamp: string;
|
|
116
|
+
url?: string;
|
|
117
|
+
};
|
|
110
118
|
}
|
|
111
119
|
export interface DriverComponentResult {
|
|
112
120
|
component: string;
|
|
113
121
|
ok: boolean;
|
|
122
|
+
/** Three-state outcome (#2119) — `gated` is `ok: false` without being a failure: the component stopped at a gate awaiting `chant approve`, and nothing was rolled back. */
|
|
123
|
+
status: "ok" | "fail" | "gated";
|
|
114
124
|
records: DriverStepRecord[];
|
|
125
|
+
/** Present when `status === "gated"`: the pending fact this component stopped on. */
|
|
126
|
+
gate?: PendingGateRecord;
|
|
115
127
|
}
|
|
116
128
|
export interface DriverRunResult {
|
|
117
129
|
/** Component order actually attempted, in run order. */
|
|
@@ -120,8 +132,14 @@ export interface DriverRunResult {
|
|
|
120
132
|
waves: string[][];
|
|
121
133
|
results: DriverComponentResult[];
|
|
122
134
|
ok: boolean;
|
|
135
|
+
/** Three-state outcome (#2119), matching `OpRunResult.status`. */
|
|
136
|
+
status: "ok" | "fail" | "gated";
|
|
123
137
|
/** Name of the component that terminated the run, if any. */
|
|
124
138
|
failedComponent?: string;
|
|
139
|
+
/** Name of the component the run stopped at for approval, when `status === "gated"`. */
|
|
140
|
+
gatedComponent?: string;
|
|
141
|
+
/** The pending fact the run stopped on, when `status === "gated"`. */
|
|
142
|
+
gate?: PendingGateRecord;
|
|
125
143
|
/**
|
|
126
144
|
* The accumulated cross-component/cross-stack outputs after the run — each
|
|
127
145
|
* component's `publish` output and, for an applied stack, its `cfn-deploy`
|
|
@@ -167,14 +185,18 @@ export declare function resolveWiring(value: WiringValue, phaseOutputs: Record<s
|
|
|
167
185
|
* Deep-walk an object, resolving every string/stackOutput wiring value found.
|
|
168
186
|
* Arrays and nested objects are walked too.
|
|
169
187
|
*
|
|
170
|
-
* Exported (not just used internally) so
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
* place so local and durable execution can never silently diverge.
|
|
188
|
+
* Exported (not just used internally) so a hosting runtime that runs steps
|
|
189
|
+
* out of process can resolve a step's wiring the same way — the orchestrator
|
|
190
|
+
* only accumulates `phaseOutputs`/`componentOutputs` and passes them through;
|
|
191
|
+
* resolution logic stays in one place so local and hosted execution can never
|
|
192
|
+
* silently diverge.
|
|
176
193
|
*/
|
|
177
194
|
export declare function resolveStepInput(input: Record<string, unknown>, phaseOutputs: Record<string, Record<string, unknown>>, componentOutputs: Record<string, Record<string, unknown>>): Record<string, unknown>;
|
|
195
|
+
/** How a component's run reaches the gate ledger — see `../op/gate.ts`. */
|
|
196
|
+
export interface GateContext {
|
|
197
|
+
port: GateLedgerPort;
|
|
198
|
+
now?: string;
|
|
199
|
+
}
|
|
178
200
|
/**
|
|
179
201
|
* Run one component's `deploy` composition. On terminal failure: unwind every
|
|
180
202
|
* executed step in reverse via its capability's `rollback` (saga
|
|
@@ -193,7 +215,7 @@ export declare function resolveStepInput(input: Record<string, unknown>, phaseOu
|
|
|
193
215
|
* phase, and its record statuses (`rolled-back`/`rollback-opted-out`) don't
|
|
194
216
|
* map onto the `step` event's `running`/`ok`/`failed` shape.
|
|
195
217
|
*/
|
|
196
|
-
export declare function runComponentDeploy(component: DriverComponent, ctx: DeployContext, registry: CapabilityRegistry, componentOutputs: Record<string, Record<string, unknown>>, onProgress?: (event: RunProgressEvent) => void): Promise<DriverComponentResult>;
|
|
218
|
+
export declare function runComponentDeploy(component: DriverComponent, ctx: DeployContext, registry: CapabilityRegistry, componentOutputs: Record<string, Record<string, unknown>>, onProgress?: (event: RunProgressEvent) => void, gates?: GateContext): Promise<DriverComponentResult>;
|
|
197
219
|
/**
|
|
198
220
|
* Collect the cross-component outputs one finished component exposes to its
|
|
199
221
|
* downstream consumers, from every phase output it produced:
|
|
@@ -215,9 +237,8 @@ export declare function runComponentDeploy(component: DriverComponent, ctx: Depl
|
|
|
215
237
|
* the driver free of per-capability branching. Returns `undefined` when the
|
|
216
238
|
* component exposed nothing.
|
|
217
239
|
*
|
|
218
|
-
* Exported, like `resolveStepInput`, so
|
|
219
|
-
* (
|
|
220
|
-
* this exact function rather than re-deriving it (#700). The resolver and the
|
|
240
|
+
* Exported, like `resolveStepInput`, so a hosting runtime accumulates outputs
|
|
241
|
+
* via this exact function rather than re-deriving it (#700). The resolver and the
|
|
221
242
|
* accumulator are the two halves of one contract; sharing only the resolver
|
|
222
243
|
* is how the cross-stack gap #699 closed locally could reopen durably.
|
|
223
244
|
*/
|
|
@@ -225,11 +246,11 @@ export declare function collectComponentOutputs(phaseOutputs: Record<string, Rec
|
|
|
225
246
|
/**
|
|
226
247
|
* Record a finished component's outputs (`collectComponentOutputs`) into the
|
|
227
248
|
* shared `componentOutputs` map under the component's own name, merging over
|
|
228
|
-
* any seeded entry (`--seed-outputs`, or a
|
|
229
|
-
* thread-through). Mutates and returns `componentOutputs`, so
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
*
|
|
249
|
+
* any seeded entry (`--seed-outputs`, or a parent orchestrator's
|
|
250
|
+
* thread-through). Mutates and returns `componentOutputs`, so an out-of-process
|
|
251
|
+
* step can hand the updated map back over a JSON boundary — every value in it
|
|
252
|
+
* is plain result data, so the map is serializable by construction. A no-op
|
|
253
|
+
* when the component exposed nothing.
|
|
233
254
|
*/
|
|
234
255
|
export declare function accumulateComponentOutputs(componentOutputs: Record<string, Record<string, unknown>>, componentName: string, phaseOutputs: Record<string, Record<string, unknown>>): Record<string, Record<string, unknown>>;
|
|
235
256
|
export interface InterpretRunOptions {
|
|
@@ -249,6 +270,10 @@ export interface InterpretRunOptions {
|
|
|
249
270
|
* byte-for-byte the same as before this option existed.
|
|
250
271
|
*/
|
|
251
272
|
onProgress?: (event: RunProgressEvent) => void;
|
|
273
|
+
/** Where a `gate` step's facts are read and written (#2119). Defaults to the `chant/lifecycle` orphan branch; a test passes `memoryGateLedgerPort()` from `../op/gate.ts`. */
|
|
274
|
+
gates?: GateLedgerPort;
|
|
275
|
+
/** ISO-8601 "now" for gate decisions, so a test is deterministic. */
|
|
276
|
+
now?: string;
|
|
252
277
|
}
|
|
253
278
|
/**
|
|
254
279
|
* Run a set of components to completion on the local in-process executor:
|
|
@@ -260,6 +285,11 @@ export interface InterpretRunOptions {
|
|
|
260
285
|
* a result with `ok: false`; throws `DriverRunFailure` carrying that result
|
|
261
286
|
* so callers can choose to inspect or propagate it.
|
|
262
287
|
*
|
|
288
|
+
* A component that stops at an unapproved gate (#2119) ends the run the same
|
|
289
|
+
* way, with `status: "gated"` and the pending fact on `gate` — but it is
|
|
290
|
+
* *returned*, never thrown, because nothing failed. Downstream waves do not
|
|
291
|
+
* run: a gate is the author saying a human decides before the rest happens.
|
|
292
|
+
*
|
|
263
293
|
* Zero per-component logic: this function and everything it calls dispatches
|
|
264
294
|
* purely on the generic `Component`/`Phase`/`Step` shapes and the registry —
|
|
265
295
|
* no branch anywhere names a specific component or capability.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../src/components/driver.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../src/components/driver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC3D;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC/C,8KAA8K;IAC9K,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,qEAAqE;IACrE,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,kBAAkB,CACtC,UAAU,EAAE,eAAe,EAAE,EAC7B,QAAQ,EAAE,kBAAkB,EAC5B,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,eAAe,CAAC,CAyD1B"}
|
|
@@ -16,7 +16,6 @@ export { loadCapabilityPlugin, loadCapabilityPlugins, registerCapabilityPlugins,
|
|
|
16
16
|
export { starterCapabilityPlugin } from "./starter-plugin.js";
|
|
17
17
|
export * from "./verbs/index.js";
|
|
18
18
|
export * from "./builders.js";
|
|
19
|
-
export { type DriverStep, type DriverGate, type DriverPhase, type DriverComponent, type DriverStepRecord, type DriverComponentResult, type DriverRunResult, type ComponentGraph, type InterpretRunOptions, type WiringValue, resolveComponentGraph, resolveWiring, resolveStepInput, collectComponentOutputs, accumulateComponentOutputs, runComponentDeploy, runInterpretDriver,
|
|
19
|
+
export { type DriverStep, type DriverGate, type DriverPhase, type DriverComponent, type DriverStepRecord, type DriverComponentResult, type DriverRunResult, type ComponentGraph, type InterpretRunOptions, type WiringValue, resolveComponentGraph, resolveWiring, resolveStepInput, collectComponentOutputs, accumulateComponentOutputs, runComponentDeploy, runInterpretDriver, type GateContext, DependencyCycleError, UnknownDependencyError, DriverRunFailure, } from "./driver.js";
|
|
20
20
|
export { EcsFargateComponent, type EcsFargateComponentConfig, LambdaComponent, type LambdaComponentConfig, SingleHostComposeComponent, type SingleHostComposeComponentConfig, } from "./presets/index.js";
|
|
21
|
-
export { type ComponentTemporalCodegen, type ComponentTemporalCodegenOptions, loadComponentTemporalCodegen, } from "./temporal-codegen-loader.js";
|
|
22
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,IAAI,EACT,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,EACL,IAAI,EACJ,WAAW,EACX,cAAc,EACd,aAAa,EACb,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,kBAAkB,GACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,0BAA0B,EAC1B,aAAa,EACb,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EACL,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,kBAAkB,EAClB,6BAA6B,GAC9B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC7E,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,wBAAwB,EACxB,KAAK,wBAAwB,EAC7B,0BAA0B,GAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,uBAAuB,EACvB,KAAK,8BAA8B,EACnC,8BAA8B,EAC9B,4BAA4B,GAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,OAAO,EACL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAChB,qBAAqB,EACrB,aAAa,EACb,gBAAgB,EAChB,uBAAuB,EACvB,0BAA0B,EAC1B,kBAAkB,EAClB,kBAAkB,EAClB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,IAAI,EACT,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,EACL,IAAI,EACJ,WAAW,EACX,cAAc,EACd,aAAa,EACb,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,kBAAkB,GACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK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L,mBAAmB,EACnB,KAAK,yBAAyB,EAC9B,eAAe,EACf,KAAK,qBAAqB,EAC1B,0BAA0B,EAC1B,KAAK,gCAAgC,GACtC,MAAM,iBAAiB,CAAC"}
|
|
@@ -12,14 +12,6 @@ import type { DriverStepRecord } from "./driver.js";
|
|
|
12
12
|
* carries every earlier entry too, not just its own.
|
|
13
13
|
*/
|
|
14
14
|
export declare function extractRunManifest(records: DriverStepRecord[]): BuildArchiveManifest | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Same manifest extraction as `extractRunManifest`, but over a component
|
|
17
|
-
* Temporal workflow's returned `phaseOutputs` (`{ [phase]: output }`) —
|
|
18
|
-
* mirroring ./auto-release.ts's `extractRunDigestFromPhaseOutputs`, the
|
|
19
|
-
* `--temporal` CLI path's counterpart, since that path never sees individual
|
|
20
|
-
* step records either.
|
|
21
|
-
*/
|
|
22
|
-
export declare function extractRunManifestFromPhaseOutputs(phaseOutputs: Record<string, Record<string, unknown>> | undefined): BuildArchiveManifest | undefined;
|
|
23
15
|
/** Explicit reasons `maybePersistBuildManifest` declined to write — never a thrown error, mirroring ./auto-release.ts's `AutoReleaseSkipReason`. */
|
|
24
16
|
export type ManifestPersistSkipReason = "opted-out" | "run-not-successful" | "no-manifest";
|
|
25
17
|
export type ManifestPersistResult = {
|
|
@@ -40,7 +32,7 @@ export interface ManifestPersistRunInfo {
|
|
|
40
32
|
success: boolean;
|
|
41
33
|
/** The component's step records (local executor), used to locate the accumulated manifest via `extractRunManifest`. Mutually exclusive with `manifest`. */
|
|
42
34
|
records?: DriverStepRecord[];
|
|
43
|
-
/** A manifest
|
|
35
|
+
/** A manifest the caller already resolved by its own means. Takes precedence over `records` when both are given. */
|
|
44
36
|
manifest?: BuildArchiveManifest;
|
|
45
37
|
}
|
|
46
38
|
/** Opt-out knobs for manifest persistence, mirroring ./auto-release.ts's `AutoReleaseOptions`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-persistence.d.ts","sourceRoot":"","sources":["../../src/components/manifest-persistence.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"manifest-persistence.d.ts","sourceRoot":"","sources":["../../src/components/manifest-persistence.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAajD;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,gBAAgB,EAAE,GAAG,oBAAoB,GAAG,SAAS,CAShG;AAED,oJAAoJ;AACpJ,MAAM,MAAM,yBAAyB,GAAG,WAAW,GAAG,oBAAoB,GAAG,aAAa,CAAC;AAE3F,MAAM,MAAM,qBAAqB,GAC7B;IAAE,SAAS,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,MAAM,CAAA;CAAE,GAC3D;IAAE,SAAS,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,yBAAyB,CAAA;CAAE,GACvD;IAAE,SAAS,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzD,yIAAyI;AACzI,MAAM,WAAW,sBAAsB;IACrC,uJAAuJ;IACvJ,OAAO,EAAE,OAAO,CAAC;IACjB,2JAA2J;IAC3J,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC7B,oHAAoH;IACpH,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CACjC;AAED,kGAAkG;AAClG,MAAM,WAAW,sBAAsB;IACrC,sUAAsU;IACtU,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAsB,yBAAyB,CAC7C,GAAG,EAAE,sBAAsB,EAC3B,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,qBAAqB,CAAC,CAoBhC"}
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
* single-component path, ./cli-support.ts's `runComponents`), that never
|
|
11
11
|
* changes run ordering, gating, `onFailure`, rollback, or exit codes — it
|
|
12
12
|
* only reports what already happened, as it happens. See ./driver.ts's
|
|
13
|
-
* module doc for what actually executes; streaming progress
|
|
14
|
-
*
|
|
15
|
-
*
|
|
13
|
+
* module doc for what actually executes; streaming progress from a hosted
|
|
14
|
+
* runtime is a separate, later concern (`chant run status`/`log` already ask
|
|
15
|
+
* one for the run state it keeps).
|
|
16
16
|
*
|
|
17
17
|
* `RunProgressEvent` is a discriminated union on `type`, one JSON object per
|
|
18
18
|
* NDJSON line (see `ndjsonProgressSink` below and
|
|
19
19
|
* ../cli/handlers/run.ts's `--progress-json` wiring).
|
|
20
20
|
*/
|
|
21
|
-
/** Terminal status for a wave/component/phase/run — mirrors
|
|
22
|
-
export type RunProgressStatus = "ok" | "failed";
|
|
21
|
+
/** Terminal status for a wave/component/phase/run — mirrors `DriverRunResult.status`'s three outcomes (#2119): `gated` is neither, and reporting it as `failed` would have a progress consumer page someone for a decision nobody has made yet. */
|
|
22
|
+
export type RunProgressStatus = "ok" | "failed" | "gated";
|
|
23
23
|
/** The run is about to start. `waves` are the parallel-safe waves the run will attempt, in order (see resolveComponentGraph) — 1-based wave numbers in every other event index into this array. */
|
|
24
24
|
export interface RunStartEvent {
|
|
25
25
|
type: "run-start";
|
|
@@ -86,7 +86,7 @@ export type RunProgressSink = (event: RunProgressEvent) => void;
|
|
|
86
86
|
* Build a sink that writes `JSON.stringify(event) + "\n"` to `write` (default:
|
|
87
87
|
* `process.stdout.write`), one line per event, as they happen — the
|
|
88
88
|
* `--progress-json` CLI wiring's sink (../cli/handlers/run.ts, for both the
|
|
89
|
-
* `--components` driver's `RunProgressEvent`s and the
|
|
89
|
+
* `--components` driver's `RunProgressEvent`s and the Op path's
|
|
90
90
|
* `StepRecord`s, chant #1676). Kept separate from `driver-output.ts`'s
|
|
91
91
|
* end-of-run renderers: this emits *during* the run, one line at a time;
|
|
92
92
|
* `renderDriverJson`/`renderDriverHuman` render the completed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-progress.d.ts","sourceRoot":"","sources":["../../src/components/run-progress.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,
|
|
1
|
+
{"version":3,"file":"run-progress.d.ts","sourceRoot":"","sources":["../../src/components/run-progress.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mPAAmP;AACnP,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE1D,mMAAmM;AACnM,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;CACnB;AAED,2GAA2G;AAC3G,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,YAAY,CAAC;IACnB,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,4EAA4E;AAC5E,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,iBAAiB,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,2JAA2J;AAC3J,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,aAAa,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,+FAA+F;AAC/F,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,SAAS,GAAG,IAAI,GAAG,QAAQ,CAAC;IACpC,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,0LAA0L;AAC1L,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,YAAY,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED,2IAA2I;AAC3I,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,gBAAgB,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED,uHAAuH;AACvH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED,4FAA4F;AAC5F,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED,MAAM,MAAM,gBAAgB,GACxB,aAAa,GACb,cAAc,GACd,mBAAmB,GACnB,eAAe,GACf,SAAS,GACT,cAAc,GACd,kBAAkB,GAClB,aAAa,GACb,YAAY,CAAC;AAEjB,uKAAuK;AACvK,MAAM,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;AAEhE;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,GAAG,gBAAgB,EACrD,KAAK,GAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAA0C,GACnE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAEpB"}
|
|
@@ -86,9 +86,8 @@
|
|
|
86
86
|
* `run(ctx, input)` was called with, plus (since #1944) the exact `output`
|
|
87
87
|
* `run()` returned — `../capability.ts`'s `Capability.rollback` grew an
|
|
88
88
|
* optional third parameter for precisely this, and ../driver.ts's saga
|
|
89
|
-
* unwind (
|
|
90
|
-
*
|
|
91
|
-
* durable Temporal path) always threads it through. `run()` records the
|
|
89
|
+
* unwind (and any hosting runtime that splits `run`/`rollback` across
|
|
90
|
+
* process boundaries) always threads it through. `run()` records the
|
|
92
91
|
* sprite id and exact pre-run checkpoint id two ways: in a private
|
|
93
92
|
* `WeakMap` keyed by the exact `input` object (works only when `rollback`
|
|
94
93
|
* is called with that same object — true in-process, e.g. this module's
|
|
@@ -115,18 +114,13 @@
|
|
|
115
114
|
* commented no-op return — the same pattern
|
|
116
115
|
* `../../lexicons/aws/src/components/host-delivery.ts`'s `code-deploy`
|
|
117
116
|
* rollback uses (`if (!deploymentId) return;`) — rather than throwing.
|
|
118
|
-
* **Before #1944**,
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
* workflow's saga-unwind loop (`lexicons/temporal/src/component-op/
|
|
126
|
-
* serializer.ts`) also no longer swallows a rollback failure silently
|
|
127
|
-
* (any capability's, not just this one) — it now logs it and surfaces it
|
|
128
|
-
* via a `RollbackFailed` search attribute, defense in depth for a rollback
|
|
129
|
-
* failure unrelated to identity (e.g. the sprite backend itself erroring).
|
|
117
|
+
* **Before #1944**, a hosted path running `run` and `rollback` as separate
|
|
118
|
+
* units of work — each rebuilding `input` fresh via `resolveStepInput` —
|
|
119
|
+
* never gave the `WeakMap` a hit, so a fresh sprite's rollback there
|
|
120
|
+
* silently degraded to that no-op; passing `output` through (this revision)
|
|
121
|
+
* closes that gap directly, without redesigning the component-op wire
|
|
122
|
+
* format — see #1944's PR description for why this was chosen over the
|
|
123
|
+
* "make the degrade loud" alternative.
|
|
130
124
|
* - **Destroy vs. leave-alive.** `run()` destroys a freshly created (not
|
|
131
125
|
* `workspace.spriteName`-reused) sprite only when `turn.status ===
|
|
132
126
|
* "completed"`. An ordinary failed turn leaves the sprite alive — it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-agent.d.ts","sourceRoot":"","sources":["../../../src/components/verbs/run-agent.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"run-agent.d.ts","sourceRoot":"","sources":["../../../src/components/verbs/run-agent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmPG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,eAAe,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAA4B,KAAK,yBAAyB,EAAE,MAAM,QAAQ,CAAC;AAIlF,wGAAwG;AACxG,MAAM,WAAW,kBAAkB;IACjC,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,WAAW,GAAG,YAAY,GAAG,WAAW,GAAG,YAAY,CAAC;CACrE;AAED,4EAA4E;AAC5E,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC;AAIzE,MAAM,WAAW,aAAa;IAC5B,kKAAkK;IAClK,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM,CAAC;QACf,8DAA8D;QAC9D,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAC;KAC/B,CAAC;IACF,SAAS,EAAE;QACT,0FAA0F;QAC1F,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,kFAAkF;QAClF,KAAK,CAAC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 -6,8 +6,8 @@
|
|
|
6
6
|
* configured identity policy and **throws** on any failure, so composing it
|
|
7
7
|
* before an apply phase fails the deploy the same way a thrown capability
|
|
8
8
|
* error already halts `driver.ts`'s step execution — no new failure
|
|
9
|
-
* mechanism, no
|
|
10
|
-
*
|
|
9
|
+
* mechanism, no human-approval semantics (that is `Gate`, ../component.ts, a
|
|
10
|
+
* different concept: a fact on the gate ledger). `verify` is a
|
|
11
11
|
* synchronous, local-executor-safe capability, exactly like `health-gate`
|
|
12
12
|
* (./wait-verify.ts).
|
|
13
13
|
*
|