@intentius/chant 0.57.0 → 0.59.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 +36 -1
- package/dist/audit/core.d.ts.map +1 -1
- package/dist/audit/discover.d.ts +26 -9
- 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/carve-bridge.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/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 +13 -0
- 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 +12 -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/plugins.d.ts +22 -0
- package/dist/cli/plugins.d.ts.map +1 -1
- package/dist/cli/registry.d.ts +40 -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 +24 -22
- package/dist/components/cli-support.d.ts.map +1 -1
- package/dist/components/component.d.ts +21 -6
- 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 +73 -37
- 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 +10 -22
- 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/detectLexicon.d.ts +13 -0
- package/dist/detectLexicon.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/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 +273 -16
- 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 +79 -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 +149 -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 +85 -30
- package/dist/op/builders.d.ts.map +1 -1
- package/dist/op/change-signal.d.ts +91 -0
- package/dist/op/change-signal.d.ts.map +1 -0
- package/dist/op/composites/apply-op.d.ts +118 -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-name.d.ts +40 -0
- package/dist/op/gate-name.d.ts.map +1 -0
- package/dist/op/gate-summary.d.ts +43 -0
- package/dist/op/gate-summary.d.ts.map +1 -0
- 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 +29 -9
- 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 +185 -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 +93 -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 +96 -29
- 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/terraform/bridge.d.ts +26 -7
- package/dist/terraform/bridge.d.ts.map +1 -1
- package/dist/terraform/carve-provider.d.ts +28 -2
- package/dist/terraform/carve-provider.d.ts.map +1 -1
- package/dist/terraform/data-source-shape.d.ts +77 -0
- package/dist/terraform/data-source-shape.d.ts.map +1 -0
- package/dist/terraform/graph.d.ts.map +1 -1
- package/dist/terraform/providers/kubernetes.d.ts +5 -0
- package/dist/terraform/providers/kubernetes.d.ts.map +1 -1
- package/dist/terraform/tier-map.d.ts +16 -4
- package/dist/terraform/tier-map.d.ts.map +1 -1
- package/dist/terraform/types.d.ts +8 -0
- package/dist/terraform/types.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 +84 -18
- package/src/audit/discover.test.ts +39 -0
- package/src/audit/discover.ts +202 -18
- 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 +191 -11
- package/src/cli/commands/audit.ts +78 -28
- package/src/cli/commands/build.test.ts +330 -9
- package/src/cli/commands/build.ts +170 -24
- package/src/cli/commands/carve-bridge.test.ts +237 -14
- package/src/cli/commands/carve-bridge.ts +21 -17
- package/src/cli/commands/carve-emit-k8s.test.ts +17 -10
- 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/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 +194 -1
- package/src/cli/commands/lint.ts +205 -7
- 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 +341 -55
- package/src/cli/handlers/run.test.ts +568 -1295
- package/src/cli/handlers/run.ts +446 -912
- package/src/cli/main.test.ts +22 -16
- package/src/cli/main.ts +66 -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/plugins.test.ts +68 -2
- package/src/cli/plugins.ts +39 -0
- package/src/cli/registry.ts +40 -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 +4 -3
- package/src/components/__fixtures__/neo4j-fanout.json +1 -1
- 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 +28 -12
- package/src/components/cli-support.ts +60 -47
- package/src/components/component-schema.test.ts +18 -2
- package/src/components/component.schema.json +18 -5
- package/src/components/component.test.ts +2 -2
- package/src/components/component.ts +27 -7
- package/src/components/config-defaults.test.ts +2 -2
- package/src/components/driver-output.ts +14 -2
- package/src/components/driver.test.ts +109 -20
- package/src/components/driver.ts +201 -84
- 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/neo4j-fanout.pilot.ts +3 -3
- 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.test.ts +19 -0
- package/src/components/verbs/run-agent.ts +12 -24
- 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/detectLexicon.ts +18 -1
- package/src/discovery/collect.test.ts +3 -3
- package/src/discovery/files.ts +4 -4
- package/src/discovery/fold-import.test.ts +1 -1
- 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 +82 -2
- 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 +3 -3
- package/src/graph-ops.ts +1 -1
- package/src/held-elsewhere.test.ts +102 -0
- package/src/held-elsewhere.ts +114 -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 +296 -16
- 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 +154 -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/pipeline-change-gate.test.ts +2 -2
- 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 +27 -1
- package/src/lint/rules/comp/comp004-gate-needs-durable-runtime.ts +76 -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 +161 -0
- package/src/op/activities/reconcile.ts +354 -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 +125 -41
- package/src/op/change-signal.test.ts +117 -0
- package/src/op/change-signal.ts +169 -0
- package/src/op/composites/apply-op.ts +218 -0
- package/src/op/composites/composites.test.ts +379 -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 +110 -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 +29 -14
- package/src/op/emulator-lifecycle.ts +1 -2
- package/src/op/gate-name.test.ts +65 -0
- package/src/op/gate-name.ts +60 -0
- package/src/op/gate-summary.ts +84 -0
- 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 +48 -8
- package/src/op/local-executor.test.ts +178 -34
- package/src/op/local-executor.ts +371 -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 +292 -0
- package/src/op/op-ir.ts +419 -0
- package/src/op/op-verb-class.test.ts +2 -2
- package/src/op/op-verb-class.ts +19 -5
- package/src/op/op.test.ts +28 -7
- package/src/op/operator.test.ts +543 -6
- package/src/op/operator.ts +203 -20
- 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 +106 -26
- 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/terraform/aws-resources.test.ts +13 -4
- package/src/terraform/bridge.test.ts +22 -9
- package/src/terraform/bridge.ts +89 -28
- package/src/terraform/carve-provider.ts +38 -2
- package/src/terraform/data-source-shape.ts +95 -0
- package/src/terraform/graph.ts +35 -7
- package/src/terraform/providers/kubernetes.ts +48 -2
- package/src/terraform/tier-map.ts +21 -6
- package/src/terraform/types.ts +8 -0
- 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
|
@@ -74,15 +74,30 @@ export interface Step {
|
|
|
74
74
|
inputs?: Record<string, Wiring>;
|
|
75
75
|
[param: string]: unknown;
|
|
76
76
|
}
|
|
77
|
-
/**
|
|
78
|
-
export interface
|
|
77
|
+
/** Everything on a component gate step except the key that names it. */
|
|
78
|
+
export interface GateBase {
|
|
79
79
|
kind: "gate";
|
|
80
|
-
|
|
81
|
-
/** Duration string bounding the wait, e.g. "48h". Default: "48h". */
|
|
80
|
+
/** How long a recorded pending gate stays valid, as a duration string. Default: "48h". */
|
|
82
81
|
timeout?: string;
|
|
83
82
|
/** Human-readable description of the action required to unblock this gate. */
|
|
84
83
|
description?: string;
|
|
85
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* Mirrors `$defs.Gate` — a human approval decided against the gate ledger; the
|
|
87
|
+
* run stops here with status `gated` until `chant approve` has answered it.
|
|
88
|
+
* The name lives on `gate`; `signalName` is the key it carried through 0.58.0
|
|
89
|
+
* and is still accepted (#2202). Read both through `gateName()`.
|
|
90
|
+
*/
|
|
91
|
+
export type Gate = GateBase & ({
|
|
92
|
+
/** The gate's name — what `chant approve <component> <gate>` resolves. */
|
|
93
|
+
gate: string;
|
|
94
|
+
/** @deprecated Renamed to `gate` in #2202. Accepted through 0.59.0, removed in 0.60.0. */
|
|
95
|
+
signalName?: string;
|
|
96
|
+
} | {
|
|
97
|
+
gate?: undefined;
|
|
98
|
+
/** @deprecated Renamed to `gate` in #2202. Accepted through 0.59.0, removed in 0.60.0. */
|
|
99
|
+
signalName: string;
|
|
100
|
+
});
|
|
86
101
|
/**
|
|
87
102
|
* Mirrors `$defs.Phase` — one named phase of a deploy composition. A step may
|
|
88
103
|
* itself be a nested `Phase`, which is how a fan-out unit becomes a mini-
|
|
@@ -163,8 +178,8 @@ export interface Component {
|
|
|
163
178
|
export declare function phase(name: string, steps: Array<Step | Gate | Phase>, opts?: {
|
|
164
179
|
parallel?: boolean;
|
|
165
180
|
}): Phase;
|
|
166
|
-
/** Author a gate step —
|
|
167
|
-
export declare function gate(
|
|
181
|
+
/** Author a gate step — a human approval the driver decides against the gate ledger, stopping the run `gated` when nothing has answered it. */
|
|
182
|
+
export declare function gate(name: string, opts?: {
|
|
168
183
|
timeout?: string;
|
|
169
184
|
description?: string;
|
|
170
185
|
}): Gate;
|
|
@@ -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,EAAE,MAAM,CAAC,CAAC;IAChC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B;AAED,
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/components/component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K,EAAE,KAAK,CAAC,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC,EAAE,IAAI,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,KAAK,CAE3G;AAED,+IAA+I;AAC/I,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAE1F;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,10 +62,16 @@ export interface DriverStep {
|
|
|
55
62
|
kind: string;
|
|
56
63
|
[param: string]: unknown;
|
|
57
64
|
}
|
|
58
|
-
/**
|
|
65
|
+
/**
|
|
66
|
+
* A gate step — a human approval, decided against the gate ledger when the run
|
|
67
|
+
* reaches it (schema `Gate`). The name is on `gate`; `signalName` is the
|
|
68
|
+
* deprecated spelling (#2202), so read the name through `gateName()`.
|
|
69
|
+
*/
|
|
59
70
|
export interface DriverGate {
|
|
60
71
|
kind: "gate";
|
|
61
|
-
|
|
72
|
+
gate?: string;
|
|
73
|
+
/** @deprecated Renamed to `gate` in #2202. Accepted through 0.59.0, removed in 0.60.0. */
|
|
74
|
+
signalName?: string;
|
|
62
75
|
timeout?: string;
|
|
63
76
|
description?: string;
|
|
64
77
|
}
|
|
@@ -77,12 +90,6 @@ export interface DriverComponent {
|
|
|
77
90
|
/** Component-level saga compensation, run in reverse order on terminal failure (schema `rollback`). */
|
|
78
91
|
rollback?: DriverPhase[];
|
|
79
92
|
}
|
|
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
93
|
/** Thrown when a dependency cycle is found among `dependsOn` edges. */
|
|
87
94
|
export declare class DependencyCycleError extends Error {
|
|
88
95
|
readonly cycle: string[];
|
|
@@ -107,11 +114,22 @@ export interface DriverStepRecord {
|
|
|
107
114
|
durationMs: number;
|
|
108
115
|
output?: unknown;
|
|
109
116
|
error?: string;
|
|
117
|
+
/** Set on a `gate` step that passed (#2119): who resolved it, when, and at what address. */
|
|
118
|
+
approval?: {
|
|
119
|
+
gate: string;
|
|
120
|
+
resolvedBy: string;
|
|
121
|
+
timestamp: string;
|
|
122
|
+
url?: string;
|
|
123
|
+
};
|
|
110
124
|
}
|
|
111
125
|
export interface DriverComponentResult {
|
|
112
126
|
component: string;
|
|
113
127
|
ok: boolean;
|
|
128
|
+
/** 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. */
|
|
129
|
+
status: "ok" | "fail" | "gated";
|
|
114
130
|
records: DriverStepRecord[];
|
|
131
|
+
/** Present when `status === "gated"`: the pending fact this component stopped on. */
|
|
132
|
+
gate?: PendingGateRecord;
|
|
115
133
|
}
|
|
116
134
|
export interface DriverRunResult {
|
|
117
135
|
/** Component order actually attempted, in run order. */
|
|
@@ -120,8 +138,14 @@ export interface DriverRunResult {
|
|
|
120
138
|
waves: string[][];
|
|
121
139
|
results: DriverComponentResult[];
|
|
122
140
|
ok: boolean;
|
|
141
|
+
/** Three-state outcome (#2119), matching `OpRunResult.status`. */
|
|
142
|
+
status: "ok" | "fail" | "gated";
|
|
123
143
|
/** Name of the component that terminated the run, if any. */
|
|
124
144
|
failedComponent?: string;
|
|
145
|
+
/** Name of the component the run stopped at for approval, when `status === "gated"`. */
|
|
146
|
+
gatedComponent?: string;
|
|
147
|
+
/** The pending fact the run stopped on, when `status === "gated"`. */
|
|
148
|
+
gate?: PendingGateRecord;
|
|
125
149
|
/**
|
|
126
150
|
* The accumulated cross-component/cross-stack outputs after the run — each
|
|
127
151
|
* component's `publish` output and, for an applied stack, its `cfn-deploy`
|
|
@@ -167,14 +191,18 @@ export declare function resolveWiring(value: WiringValue, phaseOutputs: Record<s
|
|
|
167
191
|
* Deep-walk an object, resolving every string/stackOutput wiring value found.
|
|
168
192
|
* Arrays and nested objects are walked too.
|
|
169
193
|
*
|
|
170
|
-
* Exported (not just used internally) so
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
* place so local and durable execution can never silently diverge.
|
|
194
|
+
* Exported (not just used internally) so a hosting runtime that runs steps
|
|
195
|
+
* out of process can resolve a step's wiring the same way — the orchestrator
|
|
196
|
+
* only accumulates `phaseOutputs`/`componentOutputs` and passes them through;
|
|
197
|
+
* resolution logic stays in one place so local and hosted execution can never
|
|
198
|
+
* silently diverge.
|
|
176
199
|
*/
|
|
177
200
|
export declare function resolveStepInput(input: Record<string, unknown>, phaseOutputs: Record<string, Record<string, unknown>>, componentOutputs: Record<string, Record<string, unknown>>): Record<string, unknown>;
|
|
201
|
+
/** How a component's run reaches the gate ledger — see `../op/gate.ts`. */
|
|
202
|
+
export interface GateContext {
|
|
203
|
+
port: GateLedgerPort;
|
|
204
|
+
now?: string;
|
|
205
|
+
}
|
|
178
206
|
/**
|
|
179
207
|
* Run one component's `deploy` composition. On terminal failure: unwind every
|
|
180
208
|
* executed step in reverse via its capability's `rollback` (saga
|
|
@@ -193,7 +221,7 @@ export declare function resolveStepInput(input: Record<string, unknown>, phaseOu
|
|
|
193
221
|
* phase, and its record statuses (`rolled-back`/`rollback-opted-out`) don't
|
|
194
222
|
* map onto the `step` event's `running`/`ok`/`failed` shape.
|
|
195
223
|
*/
|
|
196
|
-
export declare function runComponentDeploy(component: DriverComponent, ctx: DeployContext, registry: CapabilityRegistry, componentOutputs: Record<string, Record<string, unknown>>, onProgress?: (event: RunProgressEvent) => void): Promise<DriverComponentResult>;
|
|
224
|
+
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
225
|
/**
|
|
198
226
|
* Collect the cross-component outputs one finished component exposes to its
|
|
199
227
|
* downstream consumers, from every phase output it produced:
|
|
@@ -215,9 +243,8 @@ export declare function runComponentDeploy(component: DriverComponent, ctx: Depl
|
|
|
215
243
|
* the driver free of per-capability branching. Returns `undefined` when the
|
|
216
244
|
* component exposed nothing.
|
|
217
245
|
*
|
|
218
|
-
* Exported, like `resolveStepInput`, so
|
|
219
|
-
* (
|
|
220
|
-
* this exact function rather than re-deriving it (#700). The resolver and the
|
|
246
|
+
* Exported, like `resolveStepInput`, so a hosting runtime accumulates outputs
|
|
247
|
+
* via this exact function rather than re-deriving it (#700). The resolver and the
|
|
221
248
|
* accumulator are the two halves of one contract; sharing only the resolver
|
|
222
249
|
* is how the cross-stack gap #699 closed locally could reopen durably.
|
|
223
250
|
*/
|
|
@@ -225,11 +252,11 @@ export declare function collectComponentOutputs(phaseOutputs: Record<string, Rec
|
|
|
225
252
|
/**
|
|
226
253
|
* Record a finished component's outputs (`collectComponentOutputs`) into the
|
|
227
254
|
* 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
|
-
*
|
|
255
|
+
* any seeded entry (`--seed-outputs`, or a parent orchestrator's
|
|
256
|
+
* thread-through). Mutates and returns `componentOutputs`, so an out-of-process
|
|
257
|
+
* step can hand the updated map back over a JSON boundary — every value in it
|
|
258
|
+
* is plain result data, so the map is serializable by construction. A no-op
|
|
259
|
+
* when the component exposed nothing.
|
|
233
260
|
*/
|
|
234
261
|
export declare function accumulateComponentOutputs(componentOutputs: Record<string, Record<string, unknown>>, componentName: string, phaseOutputs: Record<string, Record<string, unknown>>): Record<string, Record<string, unknown>>;
|
|
235
262
|
export interface InterpretRunOptions {
|
|
@@ -249,6 +276,10 @@ export interface InterpretRunOptions {
|
|
|
249
276
|
* byte-for-byte the same as before this option existed.
|
|
250
277
|
*/
|
|
251
278
|
onProgress?: (event: RunProgressEvent) => void;
|
|
279
|
+
/** 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`. */
|
|
280
|
+
gates?: GateLedgerPort;
|
|
281
|
+
/** ISO-8601 "now" for gate decisions, so a test is deterministic. */
|
|
282
|
+
now?: string;
|
|
252
283
|
}
|
|
253
284
|
/**
|
|
254
285
|
* Run a set of components to completion on the local in-process executor:
|
|
@@ -260,6 +291,11 @@ export interface InterpretRunOptions {
|
|
|
260
291
|
* a result with `ok: false`; throws `DriverRunFailure` carrying that result
|
|
261
292
|
* so callers can choose to inspect or propagate it.
|
|
262
293
|
*
|
|
294
|
+
* A component that stops at an unapproved gate (#2119) ends the run the same
|
|
295
|
+
* way, with `status: "gated"` and the pending fact on `gate` — but it is
|
|
296
|
+
* *returned*, never thrown, because nothing failed. Downstream waves do not
|
|
297
|
+
* run: a gate is the author saying a human decides before the rest happens.
|
|
298
|
+
*
|
|
263
299
|
* Zero per-component logic: this function and everything it calls dispatches
|
|
264
300
|
* purely on the generic `Component`/`Phase`/`Step` shapes and the registry —
|
|
265
301
|
* 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAGH,OAAO,EAAmC,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAElF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAqB,MAAM,gBAAgB,CAAC;AAE1E,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIvD,oGAAoG;AACpG,MAAM,MAAM,WAAW,GACnB,MAAM,GACN;IAAE,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,GAChD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE5B,uFAAuF;AACvF,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0FAA0F;IAC1F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,iH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,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACpD,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAMzC;AA4CD,MAAM,WAAW,mBAAmB;IAClC,iFAAiF;IACjF,GAAG,EAAE,MAAM,CAAC;IACZ,iIAAiI;IACjI,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,qKAAqK;IACrK,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,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,KA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c,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,KAAK,WAAW,EAChB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,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;IAC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AG,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
|
|
@@ -155,12 +149,6 @@
|
|
|
155
149
|
* snapshot folded into a `BuildArchiveManifest` entry (./build-archive.ts)
|
|
156
150
|
* remains an open question, as does `artifacts.diff`, which `run()` never
|
|
157
151
|
* populates (the real Sprites API has no built-in diff endpoint).
|
|
158
|
-
* - Interrupted turns — `turn.status: "interrupted"` stays in the type but
|
|
159
|
-
* is unreachable from this implementation: any `sprites.exec` rejection
|
|
160
|
-
* (including one caused by an aborted signal) propagates as a genuine
|
|
161
|
-
* `run()` failure rather than being classified as an interrupted turn.
|
|
162
|
-
* Distinguishing "deadline hit mid-run" from "the sprite backend errored"
|
|
163
|
-
* well enough to surface `"interrupted"` safely is left for #1944.
|
|
164
152
|
*
|
|
165
153
|
* **#1943 (this revision) resolved the transcript-hash basis and
|
|
166
154
|
* sign/verify-gate interop, closing #1941's open "transcript hash basis"
|
|
@@ -281,7 +269,7 @@ export interface RunAgentInput {
|
|
|
281
269
|
}
|
|
282
270
|
/** Mirrors fountain's `Turn` shape (`status`/`exit_code`/`started_at`/`ended_at`), even though the turn itself runs on a chant-owned sprite rather than a fountain-managed `Sandbox`. */
|
|
283
271
|
export interface RunAgentTurn {
|
|
284
|
-
status: "completed" | "failed"
|
|
272
|
+
status: "completed" | "failed";
|
|
285
273
|
exitCode: number | null;
|
|
286
274
|
startedAt: string;
|
|
287
275
|
endedAt: string | null;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6OG;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;Q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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
|
*
|
|
@@ -65,6 +65,23 @@ export interface DeepResourceObservation {
|
|
|
65
65
|
* very different answers to an operator.
|
|
66
66
|
*/
|
|
67
67
|
fieldOwners?: Record<string, string>;
|
|
68
|
+
/**
|
|
69
|
+
* The paths this entity's declaration claims (#2160) — every property chant
|
|
70
|
+
* set, flattened into the diff's own grammar and sorted. Built by core in
|
|
71
|
+
* `lifecycle/deep-observe.ts` from the declaration's `props`, never by a
|
|
72
|
+
* reader: a lexicon has no more to say about it than the props it was handed.
|
|
73
|
+
*
|
|
74
|
+
* It rides here, on the live row, because this is the envelope a consumer
|
|
75
|
+
* holds. With it, a live value classifies three ways instead of two — chant
|
|
76
|
+
* set this and it matches, chant set this and it moved, chant never set it —
|
|
77
|
+
* and only the middle one is drift. Absent for a live entity nobody declared,
|
|
78
|
+
* which has no claim to carry.
|
|
79
|
+
*
|
|
80
|
+
* Complementary to {@link fieldOwners} rather than a replacement: the manager
|
|
81
|
+
* name says *who* holds a field, which is strictly more than "not chant". See
|
|
82
|
+
* `../claimed-fields.ts`.
|
|
83
|
+
*/
|
|
84
|
+
claimedFields?: readonly string[];
|
|
68
85
|
}
|
|
69
86
|
/**
|
|
70
87
|
* The deep observation envelope. Explicitly versioned and discriminated by
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deep-observation.d.ts","sourceRoot":"","sources":["../src/deep-observation.ts"],"names":[],"mappings":"AAAA;;;;;;;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C3B,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAoDtB;AAED,4FAA4F;AAC5F,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,GAAG,OAAO,CAK9D"}
|
package/dist/detectLexicon.d.ts
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The message {@link detectLexicons} throws when a scan of the project's
|
|
3
|
+
* source files turns up no `@intentius/chant-lexicon-*` import at all.
|
|
4
|
+
*
|
|
5
|
+
* Named (chant #2222) because one caller has to tell this failure apart from
|
|
6
|
+
* every other one: `chant lint` reports a lexicon it cannot resolve as an
|
|
7
|
+
* error diagnostic, but "this directory declares no lexicon and imports none"
|
|
8
|
+
* is not that. It is a project that lints under the core rules alone, and it
|
|
9
|
+
* has always been allowed to. See {@link isNoLexiconDetected}.
|
|
10
|
+
*/
|
|
11
|
+
export declare const NO_LEXICON_DETECTED_MESSAGE = "No lexicon detected in infrastructure files";
|
|
12
|
+
/** Whether `error` is the {@link NO_LEXICON_DETECTED_MESSAGE} failure. */
|
|
13
|
+
export declare function isNoLexiconDetected(error: unknown): boolean;
|
|
1
14
|
/**
|
|
2
15
|
* Detects which lexicons are being used by analyzing import statements
|
|
3
16
|
* in the provided infrastructure files. Matches any `@intentius/chant-lexicon-*` package.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detectLexicon.d.ts","sourceRoot":"","sources":["../src/detectLexicon.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,wBAAsB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CA4BvE"}
|
|
1
|
+
{"version":3,"file":"detectLexicon.d.ts","sourceRoot":"","sources":["../src/detectLexicon.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B,gDAAgD,CAAC;AAEzF,0EAA0E;AAC1E,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE3D;AAED;;;;;;;GAOG;AACH,wBAAsB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CA4BvE"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Marker chant writes at the top of files it generates (
|
|
3
|
-
* bootstrap
|
|
4
|
-
* infra source: they hold no Declarables, they self-execute on import
|
|
5
|
-
*
|
|
2
|
+
* Marker chant writes at the top of files it generates (a hosting lexicon's
|
|
3
|
+
* worker/bootstrap output, and the like). Discovery must not treat these as
|
|
4
|
+
* authored infra source: they hold no Declarables, they self-execute on import,
|
|
5
|
+
* and they use runtime patterns the authored-source lint
|
|
6
6
|
* rules forbid (dynamic `process.env[...]` access, spreads). Skipping them keeps
|
|
7
7
|
* `chant lint`/`build` from importing or linting the tool's own output.
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fold-import.d.ts","sourceRoot":"","sources":["../../src/discovery/fold-import.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAMjC,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAkC,KAAK,iBAAiB,EAAyB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"fold-import.d.ts","sourceRoot":"","sources":["../../src/discovery/fold-import.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAMjC,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAkC,KAAK,iBAAiB,EAAyB,MAAM,cAAc,CAAC;AAuC7G,OAAO,EAA6B,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD;;;;;;;;;;;;;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