@intentius/chant 0.79.0 → 0.81.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/core.d.ts.map +1 -1
- package/dist/audit/discover.d.ts +30 -0
- package/dist/audit/discover.d.ts.map +1 -1
- package/dist/audit/report-html.d.ts +5 -0
- package/dist/audit/report-html.d.ts.map +1 -1
- package/dist/audit/report-model.d.ts +13 -0
- package/dist/audit/report-model.d.ts.map +1 -1
- package/dist/audit/terraform-state.d.ts +13 -0
- package/dist/audit/terraform-state.d.ts.map +1 -1
- package/dist/cli/command-group.d.ts +6 -0
- package/dist/cli/command-group.d.ts.map +1 -1
- package/dist/cli/commands/audit.d.ts +44 -3
- package/dist/cli/commands/audit.d.ts.map +1 -1
- package/dist/cli/commands/check-lexicon-examples.d.ts.map +1 -1
- package/dist/cli/commands/check-lexicon.d.ts +8 -0
- package/dist/cli/commands/check-lexicon.d.ts.map +1 -1
- package/dist/cli/commands/doctor.d.ts.map +1 -1
- package/dist/cli/commands/import-agents.d.ts.map +1 -1
- package/dist/cli/commands/init.d.ts +6 -0
- 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.map +1 -1
- package/dist/cli/commands/update.d.ts +6 -0
- package/dist/cli/commands/update.d.ts.map +1 -1
- package/dist/cli/commands/vendor.d.ts +5 -0
- package/dist/cli/commands/vendor.d.ts.map +1 -1
- package/dist/cli/conflict-check.d.ts +6 -0
- package/dist/cli/conflict-check.d.ts.map +1 -1
- package/dist/cli/handlers/build.d.ts.map +1 -1
- package/dist/cli/handlers/components.d.ts.map +1 -1
- package/dist/cli/handlers/dev.d.ts.map +1 -1
- package/dist/cli/handlers/fan-out.d.ts.map +1 -1
- package/dist/cli/handlers/init.d.ts.map +1 -1
- package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
- package/dist/cli/handlers/misc.d.ts.map +1 -1
- package/dist/cli/handlers/operator.d.ts +7 -0
- package/dist/cli/handlers/operator.d.ts.map +1 -1
- package/dist/cli/handlers/promote.d.ts +20 -0
- package/dist/cli/handlers/promote.d.ts.map +1 -0
- package/dist/cli/handlers/run-generate.d.ts +39 -0
- package/dist/cli/handlers/run-generate.d.ts.map +1 -0
- package/dist/cli/handlers/run.d.ts +4 -1
- package/dist/cli/handlers/run.d.ts.map +1 -1
- package/dist/cli/handlers/vendor.d.ts +8 -3
- package/dist/cli/handlers/vendor.d.ts.map +1 -1
- package/dist/cli/main.d.ts +12 -0
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/mcp/op-tools.d.ts.map +1 -1
- package/dist/cli/plugins.d.ts +14 -0
- package/dist/cli/plugins.d.ts.map +1 -1
- package/dist/cli/registry.d.ts +46 -1
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/codegen/fetch.d.ts +10 -0
- package/dist/codegen/fetch.d.ts.map +1 -1
- package/dist/components/capability-plugin-loader.d.ts.map +1 -1
- package/dist/components/cli-support.d.ts +3 -1
- package/dist/components/cli-support.d.ts.map +1 -1
- package/dist/components/discover.d.ts.map +1 -1
- package/dist/components/driver.d.ts +16 -2
- package/dist/components/driver.d.ts.map +1 -1
- package/dist/components/fan-out-support.d.ts.map +1 -1
- package/dist/components/gate-plan.d.ts +40 -0
- package/dist/components/gate-plan.d.ts.map +1 -0
- package/dist/components/pilots/alb-ecs.pilot.d.ts +7 -1
- package/dist/components/pilots/alb-ecs.pilot.d.ts.map +1 -1
- package/dist/components/presets/ecs-fargate.d.ts +10 -4
- package/dist/components/presets/ecs-fargate.d.ts.map +1 -1
- package/dist/components/promote.d.ts +264 -0
- package/dist/components/promote.d.ts.map +1 -0
- package/dist/components/sandbox/driver.d.ts.map +1 -1
- package/dist/components/sandbox/run.d.ts.map +1 -1
- package/dist/components/verbs/build-archive.d.ts +22 -11
- package/dist/components/verbs/build-archive.d.ts.map +1 -1
- package/dist/components/verbs/run-agent.d.ts.map +1 -1
- package/dist/config-static.d.ts +59 -0
- package/dist/config-static.d.ts.map +1 -0
- package/dist/config.d.ts +104 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/content-digest.d.ts +17 -0
- package/dist/content-digest.d.ts.map +1 -0
- package/dist/discovery/files.d.ts +48 -4
- package/dist/discovery/files.d.ts.map +1 -1
- package/dist/discovery/fold-import.d.ts +32 -1
- package/dist/discovery/fold-import.d.ts.map +1 -1
- package/dist/discovery/index.d.ts.map +1 -1
- package/dist/discovery/sandbox/driver.d.ts +20 -0
- package/dist/discovery/sandbox/driver.d.ts.map +1 -1
- package/dist/discovery/sandbox/fork.d.ts +20 -0
- package/dist/discovery/sandbox/fork.d.ts.map +1 -1
- package/dist/discovery/walk.d.ts +119 -0
- package/dist/discovery/walk.d.ts.map +1 -0
- package/dist/graph-ir.d.ts +17 -1
- package/dist/graph-ir.d.ts.map +1 -1
- package/dist/join-key.d.ts +31 -0
- package/dist/join-key.d.ts.map +1 -0
- package/dist/lexicon-module.d.ts +110 -0
- package/dist/lexicon-module.d.ts.map +1 -0
- package/dist/lexicon.d.ts +82 -1
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/build-ledger-store.d.ts.map +1 -1
- package/dist/lifecycle/digest.d.ts +5 -1
- package/dist/lifecycle/digest.d.ts.map +1 -1
- package/dist/lifecycle/gate-ledger.d.ts +20 -5
- package/dist/lifecycle/gate-ledger.d.ts.map +1 -1
- package/dist/lifecycle/git.d.ts +64 -0
- package/dist/lifecycle/git.d.ts.map +1 -1
- package/dist/lifecycle/lease.d.ts +8 -1
- package/dist/lifecycle/lease.d.ts.map +1 -1
- package/dist/lifecycle/legacy-digest.d.ts +59 -0
- package/dist/lifecycle/legacy-digest.d.ts.map +1 -0
- package/dist/lifecycle/member-ledger.d.ts +67 -0
- package/dist/lifecycle/member-ledger.d.ts.map +1 -0
- package/dist/lifecycle/plan-digest.d.ts +4 -3
- package/dist/lifecycle/plan-digest.d.ts.map +1 -1
- package/dist/lifecycle/release-ledger.d.ts +42 -1
- package/dist/lifecycle/release-ledger.d.ts.map +1 -1
- package/dist/lifecycle/status.d.ts +90 -5
- package/dist/lifecycle/status.d.ts.map +1 -1
- package/dist/lint/rules/comp/comp003-mutating-no-rollback.d.ts +2 -3
- package/dist/lint/rules/comp/comp003-mutating-no-rollback.d.ts.map +1 -1
- package/dist/op/activities/activity-contracts.d.ts +32 -0
- package/dist/op/activities/activity-contracts.d.ts.map +1 -1
- package/dist/op/activities/index.d.ts +2 -0
- package/dist/op/activities/index.d.ts.map +1 -1
- package/dist/op/activities/propose-upgrade.d.ts +75 -0
- package/dist/op/activities/propose-upgrade.d.ts.map +1 -0
- package/dist/op/activity-contract-registry.d.ts.map +1 -1
- package/dist/op/activity-registry.d.ts.map +1 -1
- package/dist/op/discover.d.ts.map +1 -1
- package/dist/op/gate-approval.d.ts.map +1 -1
- package/dist/op/gate-name.d.ts +7 -0
- package/dist/op/gate-name.d.ts.map +1 -1
- package/dist/op/gate-summary.d.ts +16 -0
- package/dist/op/gate-summary.d.ts.map +1 -1
- package/dist/op/gate.d.ts +16 -2
- package/dist/op/gate.d.ts.map +1 -1
- package/dist/op/generate-pipeline.d.ts.map +1 -1
- package/dist/op/runtimes/local.d.ts.map +1 -1
- package/dist/project-root.d.ts +26 -0
- package/dist/project-root.d.ts.map +1 -1
- package/dist/workspace/__fixtures__/contract-repo.d.ts +37 -0
- package/dist/workspace/__fixtures__/contract-repo.d.ts.map +1 -0
- package/dist/workspace/__fixtures__/two-member-workspace.d.ts +11 -0
- package/dist/workspace/__fixtures__/two-member-workspace.d.ts.map +1 -0
- package/dist/workspace/checks/generated.d.ts +156 -0
- package/dist/workspace/checks/generated.d.ts.map +1 -0
- package/dist/workspace/checks/ledgers.d.ts +78 -0
- package/dist/workspace/checks/ledgers.d.ts.map +1 -0
- package/dist/workspace/checks/links.d.ts +25 -0
- package/dist/workspace/checks/links.d.ts.map +1 -0
- package/dist/workspace/checks/pipelines.d.ts +76 -0
- package/dist/workspace/checks/pipelines.d.ts.map +1 -0
- package/dist/workspace/checks.d.ts +161 -0
- package/dist/workspace/checks.d.ts.map +1 -0
- package/dist/workspace/compose-graph.d.ts +115 -0
- package/dist/workspace/compose-graph.d.ts.map +1 -0
- package/dist/workspace/compose-reports.d.ts +68 -0
- package/dist/workspace/compose-reports.d.ts.map +1 -0
- package/dist/workspace/declaration.d.ts +220 -0
- package/dist/workspace/declaration.d.ts.map +1 -0
- package/dist/workspace/declaration.schema.json +434 -0
- package/dist/workspace/generated-files.d.ts +65 -0
- package/dist/workspace/generated-files.d.ts.map +1 -0
- package/dist/workspace/glob.d.ts +13 -0
- package/dist/workspace/glob.d.ts.map +1 -0
- package/dist/workspace/graph-cli.d.ts +75 -0
- package/dist/workspace/graph-cli.d.ts.map +1 -0
- package/dist/workspace/init.d.ts +96 -0
- package/dist/workspace/init.d.ts.map +1 -0
- package/dist/workspace/jsonc.d.ts +38 -0
- package/dist/workspace/jsonc.d.ts.map +1 -0
- package/dist/workspace/kinds.d.ts +192 -0
- package/dist/workspace/kinds.d.ts.map +1 -0
- package/dist/workspace/lineage-check.d.ts +84 -0
- package/dist/workspace/lineage-check.d.ts.map +1 -0
- package/dist/workspace/lineage-cli.d.ts +31 -0
- package/dist/workspace/lineage-cli.d.ts.map +1 -0
- package/dist/workspace/lineage-init.d.ts +101 -0
- package/dist/workspace/lineage-init.d.ts.map +1 -0
- package/dist/workspace/lineage-lock.d.ts +258 -0
- package/dist/workspace/lineage-lock.d.ts.map +1 -0
- package/dist/workspace/lineage-merge.d.ts +14 -0
- package/dist/workspace/lineage-merge.d.ts.map +1 -0
- package/dist/workspace/lineage-migrations.d.ts +178 -0
- package/dist/workspace/lineage-migrations.d.ts.map +1 -0
- package/dist/workspace/lineage-update.d.ts +59 -0
- package/dist/workspace/lineage-update.d.ts.map +1 -0
- package/dist/workspace/lineage-upgrade-cli.d.ts +40 -0
- package/dist/workspace/lineage-upgrade-cli.d.ts.map +1 -0
- package/dist/workspace/lineage-upgrade.d.ts +146 -0
- package/dist/workspace/lineage-upgrade.d.ts.map +1 -0
- package/dist/workspace/lineage-vendor.d.ts +63 -0
- package/dist/workspace/lineage-vendor.d.ts.map +1 -0
- package/dist/workspace/lineage-version.d.ts +32 -0
- package/dist/workspace/lineage-version.d.ts.map +1 -0
- package/dist/workspace/links.d.ts +150 -0
- package/dist/workspace/links.d.ts.map +1 -0
- package/dist/workspace/ls.d.ts +99 -0
- package/dist/workspace/ls.d.ts.map +1 -0
- package/dist/workspace/member-commands.d.ts +139 -0
- package/dist/workspace/member-commands.d.ts.map +1 -0
- package/dist/workspace/member-handles.d.ts +54 -0
- package/dist/workspace/member-handles.d.ts.map +1 -0
- package/dist/workspace/member-pipeline.d.ts +143 -0
- package/dist/workspace/member-pipeline.d.ts.map +1 -0
- package/dist/workspace/member-run.d.ts +67 -0
- package/dist/workspace/member-run.d.ts.map +1 -0
- package/dist/workspace/reason-codes.d.ts +65 -0
- package/dist/workspace/reason-codes.d.ts.map +1 -0
- package/dist/workspace/record-source.d.ts +22 -0
- package/dist/workspace/record-source.d.ts.map +1 -0
- package/dist/workspace/records-cli.d.ts +81 -0
- package/dist/workspace/records-cli.d.ts.map +1 -0
- package/dist/workspace/records.d.ts +118 -0
- package/dist/workspace/records.d.ts.map +1 -0
- package/dist/workspace/root-refusal.d.ts +53 -0
- package/dist/workspace/root-refusal.d.ts.map +1 -0
- package/dist/workspace/status.d.ts +150 -0
- package/dist/workspace/status.d.ts.map +1 -0
- package/dist/workspace/template-manifest.d.ts +90 -0
- package/dist/workspace/template-manifest.d.ts.map +1 -0
- package/dist/workspace/tree.d.ts +36 -0
- package/dist/workspace/tree.d.ts.map +1 -0
- package/dist/workspace/trust/attestor.d.ts +67 -0
- package/dist/workspace/trust/attestor.d.ts.map +1 -0
- package/dist/workspace/trust/policy.d.ts +111 -0
- package/dist/workspace/trust/policy.d.ts.map +1 -0
- package/dist/workspace/trust/provenance.d.ts +67 -0
- package/dist/workspace/trust/provenance.d.ts.map +1 -0
- package/dist/workspace/trust/ssh-commit.d.ts +43 -0
- package/dist/workspace/trust/ssh-commit.d.ts.map +1 -0
- package/dist/workspace/trust/test-repo.d.ts +42 -0
- package/dist/workspace/trust/test-repo.d.ts.map +1 -0
- package/dist/workspace/trust/verify-cli.d.ts +9 -0
- package/dist/workspace/trust/verify-cli.d.ts.map +1 -0
- package/dist/workspace/trust/verify.d.ts +66 -0
- package/dist/workspace/trust/verify.d.ts.map +1 -0
- package/dist/workspace/which-chant.d.ts +58 -0
- package/dist/workspace/which-chant.d.ts.map +1 -0
- package/dist/workspace/workspace-kinds.schema.json +133 -0
- package/package.json +4 -3
- package/src/audit/core.ts +13 -2
- package/src/audit/discover.ts +102 -36
- package/src/audit/report-html.ts +3 -1
- package/src/audit/report-model.ts +14 -1
- package/src/audit/terraform-state.test.ts +81 -1
- package/src/audit/terraform-state.ts +25 -0
- package/src/cli/command-group.ts +7 -0
- package/src/cli/commands/audit-truncation.test.ts +167 -0
- package/src/cli/commands/audit.ts +132 -29
- package/src/cli/commands/check-lexicon-examples.ts +2 -1
- package/src/cli/commands/check-lexicon.ts +24 -0
- package/src/cli/commands/doctor.test.ts +30 -0
- package/src/cli/commands/doctor.ts +21 -0
- package/src/cli/commands/import-agents.ts +15 -4
- package/src/cli/commands/init.ts +76 -25
- package/src/cli/commands/lint.test.ts +52 -1
- package/src/cli/commands/lint.ts +41 -71
- package/src/cli/commands/onboard.ts +15 -0
- package/src/cli/commands/update.ts +18 -5
- package/src/cli/commands/vendor.ts +11 -6
- package/src/cli/conflict-check.test.ts +18 -1
- package/src/cli/conflict-check.ts +13 -0
- package/src/cli/discovery-skip.test.ts +168 -0
- package/src/cli/handlers/__snapshots__/build-member.test.ts.snap +38 -0
- package/src/cli/handlers/build-member.test.ts +127 -0
- package/src/cli/handlers/build.test.ts +11 -0
- package/src/cli/handlers/build.ts +35 -1
- package/src/cli/handlers/components.test.ts +127 -0
- package/src/cli/handlers/components.ts +70 -8
- package/src/cli/handlers/dev.ts +6 -1
- package/src/cli/handlers/fan-out.ts +9 -2
- package/src/cli/handlers/graph.test.ts +20 -0
- package/src/cli/handlers/graph.ts +4 -2
- package/src/cli/handlers/init.ts +54 -1
- package/src/cli/handlers/lifecycle.ts +2 -1
- package/src/cli/handlers/misc.ts +16 -0
- package/src/cli/handlers/operator.test.ts +68 -0
- package/src/cli/handlers/operator.ts +39 -10
- package/src/cli/handlers/promote.test.ts +377 -0
- package/src/cli/handlers/promote.ts +391 -0
- package/src/cli/handlers/run-generate-member.test.ts +83 -0
- package/src/cli/handlers/run-generate.test.ts +158 -0
- package/src/cli/handlers/run-generate.ts +168 -0
- package/src/cli/handlers/run.test.ts +47 -0
- package/src/cli/handlers/run.ts +41 -6
- package/src/cli/handlers/vendor.ts +147 -43
- package/src/cli/main.test.ts +137 -1
- package/src/cli/main.ts +290 -24
- package/src/cli/mcp/op-tools.ts +2 -1
- package/src/cli/path-lexicon-messages.test.ts +152 -0
- package/src/cli/plugins.ts +43 -5
- package/src/cli/registry.ts +46 -1
- package/src/cli/static-config-read.test.ts +208 -0
- package/src/codegen/fetch.test.ts +63 -1
- package/src/codegen/fetch.ts +30 -1
- package/src/components/__fixtures__/alb-ecs-service.json +0 -8
- package/src/components/capability-plugin-loader.ts +3 -1
- package/src/components/cli-support.ts +9 -3
- package/src/components/discover.test.ts +27 -57
- package/src/components/discover.ts +20 -51
- package/src/components/driver.test.ts +90 -12
- package/src/components/driver.ts +43 -5
- package/src/components/fan-out-support.ts +2 -1
- package/src/components/gate-plan.ts +53 -0
- package/src/components/pilots/README.md +1 -1
- package/src/components/pilots/alb-ecs.pilot.ts +7 -7
- package/src/components/presets/ecs-fargate.ts +10 -5
- package/src/components/promote.test.ts +645 -0
- package/src/components/promote.ts +641 -0
- package/src/components/sandbox/driver.ts +8 -8
- package/src/components/sandbox/run.ts +4 -1
- package/src/components/verbs/build-archive.ts +27 -21
- package/src/components/verbs/run-agent.ts +3 -5
- package/src/config-static.test.ts +136 -0
- package/src/config-static.ts +232 -0
- package/src/config.test.ts +40 -0
- package/src/config.ts +161 -11
- package/src/content-digest.test.ts +120 -0
- package/src/content-digest.ts +21 -0
- package/src/discovery/files.test.ts +127 -1
- package/src/discovery/files.ts +91 -59
- package/src/discovery/fold-import.ts +127 -9
- package/src/discovery/index.ts +1 -0
- package/src/discovery/sandbox/driver.ts +73 -35
- package/src/discovery/sandbox/fork-diagnostic.test.ts +136 -13
- package/src/discovery/sandbox/fork.ts +83 -43
- package/src/discovery/sandbox/path-lexicon-multifile.test.ts +285 -0
- package/src/discovery/sandbox/path-lexicon-parity.test.ts +162 -0
- package/src/discovery/walk.test.ts +263 -0
- package/src/discovery/walk.ts +334 -0
- package/src/effect-receipt.ts +2 -2
- package/src/graph-ir.ts +18 -1
- package/src/join-key.test.ts +25 -0
- package/src/join-key.ts +39 -0
- package/src/lexicon-module.test.ts +203 -0
- package/src/lexicon-module.ts +215 -0
- package/src/lexicon.ts +105 -1
- package/src/lifecycle/build-ledger-store.ts +13 -2
- package/src/lifecycle/digest.ts +9 -5
- package/src/lifecycle/gate-ledger.test.ts +20 -0
- package/src/lifecycle/gate-ledger.ts +28 -6
- package/src/lifecycle/git.test.ts +13 -1
- package/src/lifecycle/git.ts +221 -176
- package/src/lifecycle/lease.ts +25 -10
- package/src/lifecycle/legacy-digest.test.ts +206 -0
- package/src/lifecycle/legacy-digest.ts +103 -0
- package/src/lifecycle/member-ledger.test.ts +319 -0
- package/src/lifecycle/member-ledger.ts +145 -0
- package/src/lifecycle/plan-digest.ts +7 -7
- package/src/lifecycle/release-ledger.test.ts +20 -0
- package/src/lifecycle/release-ledger.ts +53 -3
- package/src/lifecycle/status.test.ts +151 -1
- package/src/lifecycle/status.ts +228 -7
- package/src/lint/rules/comp/comp003-mutating-no-rollback.ts +2 -3
- package/src/op/activities/activity-contracts.ts +37 -0
- package/src/op/activities/index.ts +10 -0
- package/src/op/activities/propose-upgrade.ts +206 -0
- package/src/op/activity-contract-registry.ts +18 -4
- package/src/op/activity-registry.ts +26 -0
- package/src/op/discover.test.ts +14 -4
- package/src/op/discover.ts +19 -23
- package/src/op/gate-approval.ts +3 -1
- package/src/op/gate-name.ts +8 -0
- package/src/op/gate-summary.test.ts +14 -0
- package/src/op/gate-summary.ts +25 -2
- package/src/op/gate.ts +36 -7
- package/src/op/generate-pipeline.test.ts +14 -5
- package/src/op/generate-pipeline.ts +2 -1
- package/src/op/runtimes/local.ts +2 -1
- package/src/project-root.test.ts +66 -1
- package/src/project-root.ts +48 -0
- package/src/workspace/__fixtures__/contract-repo.ts +100 -0
- package/src/workspace/__fixtures__/two-member-workspace.ts +35 -0
- package/src/workspace/behold-kinds.test.ts +162 -0
- package/src/workspace/check-contract.test.ts +127 -0
- package/src/workspace/check.schema.json +347 -0
- package/src/workspace/checks/generated.test.ts +287 -0
- package/src/workspace/checks/generated.ts +475 -0
- package/src/workspace/checks/ledgers.test.ts +139 -0
- package/src/workspace/checks/ledgers.ts +246 -0
- package/src/workspace/checks/links.ts +183 -0
- package/src/workspace/checks/pipelines.test.ts +133 -0
- package/src/workspace/checks/pipelines.ts +225 -0
- package/src/workspace/checks-repo.test.ts +71 -0
- package/src/workspace/checks.test.ts +450 -0
- package/src/workspace/checks.ts +461 -0
- package/src/workspace/compose-graph.test.ts +146 -0
- package/src/workspace/compose-graph.ts +228 -0
- package/src/workspace/compose-reports.test.ts +109 -0
- package/src/workspace/compose-reports.ts +186 -0
- package/src/workspace/declaration.schema.json +434 -0
- package/src/workspace/declaration.test.ts +347 -0
- package/src/workspace/declaration.ts +623 -0
- package/src/workspace/generated-files.test.ts +114 -0
- package/src/workspace/generated-files.ts +94 -0
- package/src/workspace/glob.ts +49 -0
- package/src/workspace/graph-cli.ts +220 -0
- package/src/workspace/graph-contract.test.ts +204 -0
- package/src/workspace/graph.schema.json +662 -0
- package/src/workspace/init.test.ts +223 -0
- package/src/workspace/init.ts +585 -0
- package/src/workspace/jsonc.test.ts +65 -0
- package/src/workspace/jsonc.ts +231 -0
- package/src/workspace/kinds.test.ts +288 -0
- package/src/workspace/kinds.ts +506 -0
- package/src/workspace/lineage-check.ts +264 -0
- package/src/workspace/lineage-cli.ts +114 -0
- package/src/workspace/lineage-init.test.ts +231 -0
- package/src/workspace/lineage-init.ts +365 -0
- package/src/workspace/lineage-lock.test.ts +224 -0
- package/src/workspace/lineage-lock.ts +357 -0
- package/src/workspace/lineage-merge.ts +44 -0
- package/src/workspace/lineage-migrations.test.ts +178 -0
- package/src/workspace/lineage-migrations.ts +343 -0
- package/src/workspace/lineage-update.ts +160 -0
- package/src/workspace/lineage-upgrade-cli.ts +151 -0
- package/src/workspace/lineage-upgrade.test.ts +474 -0
- package/src/workspace/lineage-upgrade.ts +624 -0
- package/src/workspace/lineage-vendor.test.ts +126 -0
- package/src/workspace/lineage-vendor.ts +215 -0
- package/src/workspace/lineage-version.ts +127 -0
- package/src/workspace/links.test.ts +344 -0
- package/src/workspace/links.ts +331 -0
- package/src/workspace/ls-contract.test.ts +200 -0
- package/src/workspace/ls.schema.json +190 -0
- package/src/workspace/ls.ts +254 -0
- package/src/workspace/member-commands.e2e.test.ts +244 -0
- package/src/workspace/member-commands.test.ts +217 -0
- package/src/workspace/member-commands.ts +540 -0
- package/src/workspace/member-handles.test.ts +76 -0
- package/src/workspace/member-handles.ts +228 -0
- package/src/workspace/member-pipeline.test.ts +135 -0
- package/src/workspace/member-pipeline.ts +317 -0
- package/src/workspace/member-run.ts +146 -0
- package/src/workspace/read-contract.test.ts +129 -0
- package/src/workspace/reason-codes.test.ts +113 -0
- package/src/workspace/reason-codes.ts +81 -0
- package/src/workspace/record-source.ts +117 -0
- package/src/workspace/records-cli.ts +198 -0
- package/src/workspace/records-contract.test.ts +93 -0
- package/src/workspace/records.schema.json +150 -0
- package/src/workspace/records.test.ts +243 -0
- package/src/workspace/records.ts +384 -0
- package/src/workspace/root-refusal.ts +97 -0
- package/src/workspace/status-contract.test.ts +308 -0
- package/src/workspace/status.schema.json +210 -0
- package/src/workspace/status.ts +412 -0
- package/src/workspace/template-manifest.test.ts +79 -0
- package/src/workspace/template-manifest.ts +221 -0
- package/src/workspace/tree.ts +132 -0
- package/src/workspace/trust/attestor.ts +93 -0
- package/src/workspace/trust/policy.ts +306 -0
- package/src/workspace/trust/provenance.ts +181 -0
- package/src/workspace/trust/ssh-commit.ts +138 -0
- package/src/workspace/trust/test-repo.ts +138 -0
- package/src/workspace/trust/trust.test.ts +397 -0
- package/src/workspace/trust/verify-cli.ts +56 -0
- package/src/workspace/trust/verify.ts +194 -0
- package/src/workspace/which-chant.test.ts +117 -0
- package/src/workspace/which-chant.ts +151 -0
- package/src/workspace/workspace-kinds.schema.json +133 -0
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
* straightforward digest comparison over this ledger — never a guess through
|
|
28
28
|
* CI logs.
|
|
29
29
|
*/
|
|
30
|
+
import { type LegacyDigestFlag } from "./legacy-digest.js";
|
|
30
31
|
/**
|
|
31
32
|
* The id space a `ReleaseRecord.runId` lives in, and how to reach the run
|
|
32
33
|
* (#2045).
|
|
@@ -45,6 +46,19 @@ export interface RunOrigin {
|
|
|
45
46
|
/** Resolved link to the run, when the environment provided enough to build one. */
|
|
46
47
|
url?: string;
|
|
47
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Points at one earlier release record (#2530, #2531, #2604). A record has no id of its own,
|
|
51
|
+
* so it is named by the environment whose ledger holds it plus the run id and
|
|
52
|
+
* timestamp it was written with, which is enough to find the line again.
|
|
53
|
+
*/
|
|
54
|
+
export interface ReleaseRef {
|
|
55
|
+
/** The environment whose ledger holds the referenced record. */
|
|
56
|
+
env: string;
|
|
57
|
+
/** The referenced record's `runId`. */
|
|
58
|
+
runId: string;
|
|
59
|
+
/** The referenced record's `timestamp`. */
|
|
60
|
+
timestamp: string;
|
|
61
|
+
}
|
|
48
62
|
/**
|
|
49
63
|
* One immutable deploy record: `(component, env, artifact digest, git sha,
|
|
50
64
|
* run id, timestamp, actor)`, referencing the build archive by digest — the
|
|
@@ -123,6 +137,33 @@ export interface ReleaseRecord {
|
|
|
123
137
|
* bytes each cluster got. Absent when `digest` is already input-side.
|
|
124
138
|
*/
|
|
125
139
|
inputDigest?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Optional: set when this release was a promotion (`chant components
|
|
142
|
+
* promote`, #2530). Names the source environment's release whose digest
|
|
143
|
+
* was deployed here without a build. Absent on every other record.
|
|
144
|
+
*/
|
|
145
|
+
promotedFrom?: ReleaseRef;
|
|
146
|
+
/**
|
|
147
|
+
* Optional: set when this release was a rollback (`chant components
|
|
148
|
+
* rollback`, #2531). Names the earlier release of the same environment
|
|
149
|
+
* whose digest was deployed again. Absent on every other record.
|
|
150
|
+
*/
|
|
151
|
+
restores?: ReleaseRef;
|
|
152
|
+
/**
|
|
153
|
+
* Set on read, never written. `["legacy-digest"]` when `digest`,
|
|
154
|
+
* `manifestDigest` or `inputDigest` was recorded by the 32-bit hash chant
|
|
155
|
+
* used before real SHA-256 (#2514). Such a record is kept exactly as it
|
|
156
|
+
* was written, never re-keyed, and is accepted through
|
|
157
|
+
* `LEGACY_DIGEST_ACCEPTED_THROUGH` (./legacy-digest.ts).
|
|
158
|
+
*/
|
|
159
|
+
flags?: LegacyDigestFlag[];
|
|
160
|
+
/**
|
|
161
|
+
* Optional: set when this release was a redeploy (`chant components
|
|
162
|
+
* redeploy`, #2604). Names the release the ledger recorded as current,
|
|
163
|
+
* whose digest was deployed again, usually after a deploy that failed
|
|
164
|
+
* partway. Absent on every other record.
|
|
165
|
+
*/
|
|
166
|
+
redeploys?: ReleaseRef;
|
|
126
167
|
}
|
|
127
168
|
/** Thrown by `appendReleaseRecord` when the record is missing a required field — a release record can never be recorded partially, since it is never editable afterward. */
|
|
128
169
|
export declare class InvalidReleaseRecordError extends Error {
|
|
@@ -132,7 +173,7 @@ export declare class InvalidReleaseRecordError extends Error {
|
|
|
132
173
|
/** Validate that a release record carries every required field as a non-empty string. */
|
|
133
174
|
export declare function validateReleaseRecord(record: Partial<ReleaseRecord>): string[];
|
|
134
175
|
/** Input a caller supplies to record one deploy — `version` is filled in, everything else is required (see `ReleaseRecord`). */
|
|
135
|
-
export type ReleaseRecordInput = Omit<ReleaseRecord, "version">;
|
|
176
|
+
export type ReleaseRecordInput = Omit<ReleaseRecord, "version" | "flags">;
|
|
136
177
|
/**
|
|
137
178
|
* Resolve a run id and its origin from the same environment, in one step, so
|
|
138
179
|
* the two cannot skew (#2045). Resolution order mirrors what
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-ledger.d.ts","sourceRoot":"","sources":["../../src/lifecycle/release-ledger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;
|
|
1
|
+
{"version":3,"file":"release-ledger.d.ts","sourceRoot":"","sources":["../../src/lifecycle/release-ledger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAGH,OAAO,EAA2D,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGjH;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB;;;;;;OAMG;IACH,KAAK,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI,GAAG,OAAO,CAAC;IAC5C,gHAAgH;IAChH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mFAAmF;IACnF,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,gEAAgE;IAChE,GAAG,EAAE,MAAM,CAAC;IACZ,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,4FAA4F;IAC5F,OAAO,EAAE,CAAC,CAAC;IACX,6FAA6F;IAC7F,SAAS,EAAE,MAAM,CAAC;IAClB,wCAAwC;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ;;;;;;;OAOG;IACH,M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AED;;;;;;;;;GASG;AACH,wBAAsB,mBAAmB,CACvC,KAAK,EAAE,kBAAkB,EACzB,IAAI,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GACtB,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,aAAa,CAAA;CAAE,CAAC,CASpD;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CACrC,WAAW,EAAE,MAAM,EACnB,IAAI,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GACtB,OAAO,CAAC;IAAE,OAAO,EAAE,aAAa,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAwB1D;AAED,4EAA4E;AAC5E,wBAAsB,uBAAuB,CAAC,IAAI,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAExF;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CASvF;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,aAAa,EAAE,CAE1F"}
|
|
@@ -15,10 +15,15 @@
|
|
|
15
15
|
* for it. Someone (or some pipeline) deployed outside the recorded path.
|
|
16
16
|
* - **stale** — a release record exists but nothing live corresponds to it
|
|
17
17
|
* anymore (the component disappeared from observation).
|
|
18
|
-
* - **drifted** —
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
18
|
+
* - **drifted** — a release record exists and the component is observed
|
|
19
|
+
* live, but a positive live observation contradicts the record (#2513):
|
|
20
|
+
* the live identity a lexicon reports (`attributes.digest` /
|
|
21
|
+
* `attributes.gitSha`) differs from the recorded release's, the ownership
|
|
22
|
+
* marker went from chant's to someone else's, or the live configuration
|
|
23
|
+
* changed against a lifecycle snapshot taken at or after the release (the
|
|
24
|
+
* `update` verdict `lifecycle plan` gives). Only things chant saw count:
|
|
25
|
+
* a resource it could not read, or one that reports no identity, never
|
|
26
|
+
* makes a component drifted.
|
|
22
27
|
* - **reconciled** — a release record exists and live evidence (via
|
|
23
28
|
* ownership) confirms the component is present and owned by chant.
|
|
24
29
|
* - **unknown** — live evidence was requested and could not be read (#1089),
|
|
@@ -36,6 +41,7 @@
|
|
|
36
41
|
* build is in prod, and is it the one tested in staging").
|
|
37
42
|
*/
|
|
38
43
|
import type { ChangeSet, ChangeAction } from "./change-set.js";
|
|
44
|
+
import type { ResourceMetadata } from "../lexicon.js";
|
|
39
45
|
import { type ReleaseRecord } from "./release-ledger.js";
|
|
40
46
|
import type { BuildLedgerEntry, ComponentBomSummary } from "./build-ledger.js";
|
|
41
47
|
import { type UnobservedReason } from "../observation.js";
|
|
@@ -175,6 +181,69 @@ export interface LiveComponentEvidence {
|
|
|
175
181
|
* configured.
|
|
176
182
|
*/
|
|
177
183
|
rollup?: ComponentResourceRollup;
|
|
184
|
+
/**
|
|
185
|
+
* What the component's live resources say they are running (#2513), one
|
|
186
|
+
* entry per present resource that reported an identity attribute
|
|
187
|
+
* ({@link LIVE_IDENTITY_ATTRIBUTES}). A resource that reports none has no
|
|
188
|
+
* entry: no identity is no evidence, never a mismatch.
|
|
189
|
+
*/
|
|
190
|
+
identities?: LiveIdentity[];
|
|
191
|
+
/**
|
|
192
|
+
* Positive live observations that changed against the last lifecycle
|
|
193
|
+
* snapshot (#2513), each stamped with that snapshot's timestamp so the
|
|
194
|
+
* status join can drop a change the release itself made (a snapshot taken
|
|
195
|
+
* before the release). When present, `reconcileStatus` reads these instead
|
|
196
|
+
* of the bare `action === "update"`.
|
|
197
|
+
*/
|
|
198
|
+
driftSignals?: LiveDriftSignal[];
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* The `ResourceMetadata.attributes` keys a lexicon sets to report which build
|
|
202
|
+
* a live resource is running (#2513), and the release-record field each one is
|
|
203
|
+
* compared with. Opt-in: a lexicon that sets neither is reconciled on presence,
|
|
204
|
+
* ownership and snapshot drift alone, exactly as before.
|
|
205
|
+
*
|
|
206
|
+
* - `digest` — the artifact digest serving now (`sha256:...`). Matches the
|
|
207
|
+
* record's `digest`, or its `inputDigest` when the record has one.
|
|
208
|
+
* - `gitSha` — the commit the live build came from. Matches the record's
|
|
209
|
+
* `gitSha`; an abbreviated sha (7+ characters) matches by prefix.
|
|
210
|
+
*/
|
|
211
|
+
export declare const LIVE_IDENTITY_ATTRIBUTES: {
|
|
212
|
+
readonly digest: "digest";
|
|
213
|
+
readonly gitSha: "gitSha";
|
|
214
|
+
};
|
|
215
|
+
/** One live resource's reported identity (#2513). */
|
|
216
|
+
export interface LiveIdentity {
|
|
217
|
+
/** The live entity/resource name that reported it. */
|
|
218
|
+
entity: string;
|
|
219
|
+
digest?: string;
|
|
220
|
+
gitSha?: string;
|
|
221
|
+
}
|
|
222
|
+
/** One live change against the last snapshot (#2513). */
|
|
223
|
+
export interface LiveDriftSignal {
|
|
224
|
+
entity: string;
|
|
225
|
+
/**
|
|
226
|
+
* `attributes` — the change set's `update` (status, physicalId, lastUpdated
|
|
227
|
+
* or an attribute changed). `ownership` — the snapshot read chant's marker
|
|
228
|
+
* and the live read now reads none (`owned` -> `foreign`), or the marker now
|
|
229
|
+
* names a different stack/env. `unknown` on either side is never a signal.
|
|
230
|
+
*/
|
|
231
|
+
kind: "attributes" | "ownership";
|
|
232
|
+
/** The snapshot's timestamp. Absent when the caller did not say. */
|
|
233
|
+
since?: string;
|
|
234
|
+
/** Human-readable backing (the changed paths, the marker transition). */
|
|
235
|
+
detail?: string;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* The per-entity observation `liveEvidenceFromChangeSet` reads identity and
|
|
239
|
+
* marker transitions from (#2513). `now` is the live read; `then`/`thenAt`
|
|
240
|
+
* are the last lifecycle snapshot's record for the same entity, when one
|
|
241
|
+
* exists.
|
|
242
|
+
*/
|
|
243
|
+
export interface EntityLiveRead {
|
|
244
|
+
now?: ResourceMetadata;
|
|
245
|
+
then?: ResourceMetadata;
|
|
246
|
+
thenAt?: string;
|
|
178
247
|
}
|
|
179
248
|
/**
|
|
180
249
|
* Overlay per-component stack-presence evidence onto change-set evidence.
|
|
@@ -244,7 +313,16 @@ export interface ComponentResourceRollup {
|
|
|
244
313
|
* identity-keyed join that was this function's only behavior before #598,
|
|
245
314
|
* preserved here as the fallback so existing callers see no change.
|
|
246
315
|
*/
|
|
247
|
-
export declare function liveEvidenceFromChangeSet(cs: ChangeSet, nameMapping?: LiveNameMapping
|
|
316
|
+
export declare function liveEvidenceFromChangeSet(cs: ChangeSet, nameMapping?: LiveNameMapping, opts?: {
|
|
317
|
+
/**
|
|
318
|
+
* Per-entity live read and snapshot record (#2513). With it, the evidence
|
|
319
|
+
* carries the identity each live resource reports and the drift signals
|
|
320
|
+
* (stamped with the snapshot's time) `reconcileStatus` reads for
|
|
321
|
+
* `drifted`. Without it, the evidence is what it was before: the change
|
|
322
|
+
* set's `action` alone.
|
|
323
|
+
*/
|
|
324
|
+
observations?: Map<string, EntityLiveRead>;
|
|
325
|
+
}): Map<string, LiveComponentEvidence>;
|
|
248
326
|
/**
|
|
249
327
|
* Reconcile the release ledger against live evidence for one environment.
|
|
250
328
|
* Pure — no I/O. Callers assemble `records` (./release-ledger.ts's
|
|
@@ -291,6 +369,13 @@ export interface CrossEnvComparison {
|
|
|
291
369
|
a: string;
|
|
292
370
|
b: string;
|
|
293
371
|
};
|
|
372
|
+
/**
|
|
373
|
+
* Set when the two identities differ and exactly one of them is a
|
|
374
|
+
* `legacy-digest` value from before real SHA-256 (#2514). The same content
|
|
375
|
+
* hashes differently in the two forms, so `same: false` then says nothing
|
|
376
|
+
* about whether the builds match.
|
|
377
|
+
*/
|
|
378
|
+
mixedDigestForms?: true;
|
|
294
379
|
}
|
|
295
380
|
/** Compare the latest recorded digest for `component` between two environments' release records. */
|
|
296
381
|
export declare function compareAcrossEnvironments(component: string, envA: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/lifecycle/status.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/lifecycle/status.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAsB,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAwB,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE7E,+FAA+F;AAC/F,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,kEAAkE;IAClE,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,+IAA+I;IAC/I,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB;;;;;;;;;OASG;IACH,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,gDAAgD;IAChD,cAAc,EAAE,YAAY,GAAG,YAAY,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;IAC9E,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE;QAAE,MAAM,EAAE,gBAAgB,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3D;;;;;OAKG;IACH,KA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;OAKG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;CACzB;AAED,oGAAoG;AACpG,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,aAAa,EAAE,CAAA;CAAE,EAChD,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,aAAa,EAAE,CAAA;CAAE,GAC/C,kBAAkB,CAkBpB"}
|
|
@@ -24,9 +24,8 @@
|
|
|
24
24
|
* component.schema.json), a component may attach a `noRollback: "<reason>"`
|
|
25
25
|
* string property directly on the step to declare the compensation gap is
|
|
26
26
|
* intentional and understood, or supply its own explicit compensation via a
|
|
27
|
-
* component-level `rollback` field
|
|
28
|
-
* `rollback-previous
|
|
29
|
-
* in the same phase.
|
|
27
|
+
* component-level `rollback` field or a sibling
|
|
28
|
+
* `rollback-previous`/`snapshot-before` step in the same phase.
|
|
30
29
|
*
|
|
31
30
|
* Triggers on: a bare `{ kind: "run-migration", ... }` step with no
|
|
32
31
|
* `noRollback` reason, no component-level `rollback`, and no sibling
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comp003-mutating-no-rollback.d.ts","sourceRoot":"","sources":["../../../../src/lint/rules/comp/comp003-mutating-no-rollback.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"comp003-mutating-no-rollback.d.ts","sourceRoot":"","sources":["../../../../src/lint/rules/comp/comp003-mutating-no-rollback.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAmD,MAAM,wBAAwB,CAAC;AAsB9G,eAAO,MAAM,6BAA6B,EAAE,cAuD3C,CAAC"}
|
|
@@ -108,4 +108,36 @@ export declare const behaviourFindingContract: import("../index.js").ActivityCon
|
|
|
108
108
|
pullRequest?: string | undefined;
|
|
109
109
|
mergeRequest?: string | undefined;
|
|
110
110
|
}>;
|
|
111
|
+
/**
|
|
112
|
+
* The propose-only template upgrade (#2550, ws-032). `args` mirrors
|
|
113
|
+
* `ProposeWorkspaceUpgradeArgs` without its test hooks. `returns` names what
|
|
114
|
+
* a step reads: whether anything changed, whether it was proposed, the patch
|
|
115
|
+
* digest the command's gate would bind, and the branch and pull request.
|
|
116
|
+
*/
|
|
117
|
+
export declare const proposeWorkspaceUpgradeContract: import("../index.js").ActivityContract<{
|
|
118
|
+
scope?: string | undefined;
|
|
119
|
+
to?: string | undefined;
|
|
120
|
+
mode?: "report" | "pull-request" | "branch" | undefined;
|
|
121
|
+
branch?: string | undefined;
|
|
122
|
+
base?: string | undefined;
|
|
123
|
+
remote?: string | undefined;
|
|
124
|
+
allowCode?: boolean | undefined;
|
|
125
|
+
cwd?: string | undefined;
|
|
126
|
+
}, {
|
|
127
|
+
scope: string;
|
|
128
|
+
mode: "report" | "pull-request" | "branch";
|
|
129
|
+
changed: boolean;
|
|
130
|
+
proposed: boolean;
|
|
131
|
+
checksOk: boolean;
|
|
132
|
+
from: string | null;
|
|
133
|
+
to: string | null;
|
|
134
|
+
digest: string;
|
|
135
|
+
manualSteps: number;
|
|
136
|
+
governance: boolean;
|
|
137
|
+
summary: string;
|
|
138
|
+
branch?: string | undefined;
|
|
139
|
+
commit?: string | undefined;
|
|
140
|
+
pushed?: boolean | undefined;
|
|
141
|
+
prUrl?: string | undefined;
|
|
142
|
+
}>;
|
|
111
143
|
//# sourceMappingURL=activity-contracts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-contracts.d.ts","sourceRoot":"","sources":["../../../src/op/activities/activity-contracts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAKH,eAAO,MAAM,yBAAyB;;SAGrC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;EAIjC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;EAS5B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;EAgB7B,CAAC;AAEF,eAAO,MAAM,qBAAqB;;SAGjC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;EAUpC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;EAuBpC,CAAC"}
|
|
1
|
+
{"version":3,"file":"activity-contracts.d.ts","sourceRoot":"","sources":["../../../src/op/activities/activity-contracts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAKH,eAAO,MAAM,yBAAyB;;SAGrC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;EAIjC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;EAS5B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;EAgB7B,CAAC;AAEF,eAAO,MAAM,qBAAqB;;SAGjC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;EAUpC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;EAuBpC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;EA6B3C,CAAC"}
|
|
@@ -30,4 +30,6 @@ export { lexiconUpgrade, isPinned, isRolling, severityToLabel, upgradeBranchName
|
|
|
30
30
|
export type { LexiconUpgradeArgs, LexiconUpgradeResult, LexiconUpgradeMode, SupportedLexicon, SemverLabel, CheckPinnedFn, CheckRollingFn, GhRunner, ApplyBumpFn, } from "./lexicon-upgrade.js";
|
|
31
31
|
export { predictBehaviour, behaviourFinding, behaviourFindingMarker, declaredEdgeCoverage, baseRefFrom, headRefFrom, noBaseRefMessage, noContributedRowsMessage, } from "./predict-behaviour.js";
|
|
32
32
|
export type { PredictBehaviourArgs, BehaviourFindingArgs, BehaviourFindingResult, BehaviourFindingMode, BehaviourFindingDeps, BaseCheckout, } from "./predict-behaviour.js";
|
|
33
|
+
export { proposeWorkspaceUpgrade } from "./propose-upgrade.js";
|
|
34
|
+
export type { ProposeWorkspaceUpgradeArgs, ProposeWorkspaceUpgradeResult, ProposeUpgradeMode, CommandRunner, } from "./propose-upgrade.js";
|
|
33
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/op/activities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAQ9C,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,YAAY,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAK/C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC/D,YAAY,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEjG,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAiB1F,OAAO,EACL,WAAW,EACX,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AAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC3G,YAAY,EACV,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,EACpB,wBAAwB,EACxB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC5D,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEjH,OAAO,EACL,cAAc,EACd,QAAQ,EACR,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,cAAc,EACd,QAAQ,EACR,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAM3B,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,oBAAoB,EACpB,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACpB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,YAAY,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,kBAAkB,EAClB,aAAa,GACd,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* proposeWorkspaceUpgrade — the propose-only activity behind scheduled
|
|
3
|
+
* template upgrades (#2550, D9, ws-032).
|
|
4
|
+
*
|
|
5
|
+
* `chant workspace upgrade` is a core command. An Op, including a workspace Op
|
|
6
|
+
* later (#2554), schedules it through this activity, which stages the same
|
|
7
|
+
* upgrade (fetch, migrate, merge per file, build, lint and `workspace check`
|
|
8
|
+
* in a worktree) and then only proposes it:
|
|
9
|
+
*
|
|
10
|
+
* - `report` (default): stage and check, and return the summary.
|
|
11
|
+
* - `branch`: commit the patch on a proposal branch, by default
|
|
12
|
+
* `chant/upgrade/<scope>`, and push it when the repository has the remote.
|
|
13
|
+
* - `pull-request`: the branch, plus an open pull request against the default
|
|
14
|
+
* branch, created once and edited on later runs.
|
|
15
|
+
*
|
|
16
|
+
* It never writes the default branch or the checked-out branch, and it never
|
|
17
|
+
* applies the patch to the working tree, so an Op cannot rewrite itself or
|
|
18
|
+
* the gates that judge it. Review and merge of the pull request are the
|
|
19
|
+
* approval. The PR body names the patch digest, the value `chant workspace
|
|
20
|
+
* upgrade` binds its gate to, so the two paths approve the same thing.
|
|
21
|
+
*
|
|
22
|
+
* The workspace code loads on first call, so importing core's activities
|
|
23
|
+
* loads nothing under `workspace/` (#2525 rule 5).
|
|
24
|
+
*/
|
|
25
|
+
export type ProposeUpgradeMode = "report" | "branch" | "pull-request";
|
|
26
|
+
export interface ProposeWorkspaceUpgradeArgs {
|
|
27
|
+
/** The lineage scope: `"."` (default) or a vendor scope's directory. */
|
|
28
|
+
scope?: string;
|
|
29
|
+
/** The target ref. Defaults to the ref the scope is pinned at, so a moving ref such as a branch is followed. */
|
|
30
|
+
to?: string;
|
|
31
|
+
mode?: ProposeUpgradeMode;
|
|
32
|
+
/** The proposal branch. Default `chant/upgrade/<scope>`, with `root` for `"."`. */
|
|
33
|
+
branch?: string;
|
|
34
|
+
/** The branch the pull request targets. Default: the remote's default branch. */
|
|
35
|
+
base?: string;
|
|
36
|
+
/** The remote to push to. Default `origin`. */
|
|
37
|
+
remote?: string;
|
|
38
|
+
/** Run code migrations. Default false. */
|
|
39
|
+
allowCode?: boolean;
|
|
40
|
+
/** The directory holding the lineage lock. Default: the working directory. */
|
|
41
|
+
cwd?: string;
|
|
42
|
+
/** Replaces the git and gh child processes. For tests. */
|
|
43
|
+
_run?: CommandRunner;
|
|
44
|
+
/** Replaces build and lint in the worktree. For tests. */
|
|
45
|
+
_runChant?: import("../../workspace/lineage-upgrade.js").ChantRunner;
|
|
46
|
+
}
|
|
47
|
+
/** Runs `git` or `gh` with arguments, returning stdout. Rejects on a non-zero exit. */
|
|
48
|
+
export type CommandRunner = (bin: "git" | "gh", args: string[], cwd: string) => Promise<string>;
|
|
49
|
+
export interface ProposeWorkspaceUpgradeResult {
|
|
50
|
+
scope: string;
|
|
51
|
+
mode: ProposeUpgradeMode;
|
|
52
|
+
/** Whether the template has anything new for the scope. */
|
|
53
|
+
changed: boolean;
|
|
54
|
+
/** Whether a branch or pull request was written. */
|
|
55
|
+
proposed: boolean;
|
|
56
|
+
checksOk: boolean;
|
|
57
|
+
from: string | null;
|
|
58
|
+
to: string | null;
|
|
59
|
+
/** The patch digest `chant workspace upgrade` binds its gate to. */
|
|
60
|
+
digest: string;
|
|
61
|
+
manualSteps: number;
|
|
62
|
+
governance: boolean;
|
|
63
|
+
branch?: string;
|
|
64
|
+
commit?: string;
|
|
65
|
+
pushed?: boolean;
|
|
66
|
+
prUrl?: string;
|
|
67
|
+
summary: string;
|
|
68
|
+
}
|
|
69
|
+
/** The proposal branch for a scope. */
|
|
70
|
+
export declare function proposalBranch(scope: string): string;
|
|
71
|
+
/** The marker that finds this scope's pull request again. */
|
|
72
|
+
export declare function proposalMarker(scope: string): string;
|
|
73
|
+
/** Stage a workspace upgrade and propose it as a branch or pull request. Never writes the default branch. */
|
|
74
|
+
export declare function proposeWorkspaceUpgrade(args: ProposeWorkspaceUpgradeArgs): Promise<ProposeWorkspaceUpgradeResult>;
|
|
75
|
+
//# sourceMappingURL=propose-upgrade.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propose-upgrade.d.ts","sourceRoot":"","sources":["../../../src/op/activities/propose-upgrade.ts"],"names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OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAID,uCAAuC;AACvC,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED,6DAA6D;AAC7D,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEpD;AAiCD,6GAA6G;AAC7G,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAkFvH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-contract-registry.d.ts","sourceRoot":"","sources":["../../src/op/activity-contract-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAGH,OAAO,EAA4B,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"activity-contract-registry.d.ts","sourceRoot":"","sources":["../../src/op/activity-contract-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAGH,OAAO,EAA4B,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGtF;;;;;GAKG;AACH,MAAM,WAAW,kCAAkC;IACjD,mEAAmE;IACnE,IAAI,EAAE,MAAM,CAAC;IACb,8GAA8G;IAC9G,iBAAiB,CAAC,IAAI,gBAAgB,EAAE,CAAC;CAC1C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,qBAAqB,CACzC,QAAQ,GAAE,aAAa,CAAC,MAAM,GAAG,kCAAkC,CAAM,GACxE,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAqCxC;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAC3C,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAAG,SAAS,GACxD,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAKvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-registry.d.ts","sourceRoot":"","sources":["../../src/op/activity-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"activity-registry.d.ts","sourceRoot":"","sources":["../../src/op/activity-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG9E,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAWnG;;;;;;;;;;;;GAYG;AACH,wBAAsB,cAAc,CAAC,QAAQ,GAAE,MAAM,EAAO,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAyB9F;AAiBD;;;;GAIG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAE7E;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,EACnC,EAAE,EAAE,MAAM,GACT,UAAU,CAOZ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../../src/op/discover.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../../src/op/discover.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAKxC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,QAAQ,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAC/B,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AA6GD;;;;;;;;GAQG;AACH,wBAAsB,WAAW,CAAC,IAAI,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAyCrF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gate-approval.d.ts","sourceRoot":"","sources":["../../src/op/gate-approval.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;
|
|
1
|
+
{"version":3,"file":"gate-approval.d.ts","sourceRoot":"","sources":["../../src/op/gate-approval.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAIH,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAExE,iDAAiD;AACjD,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,SAAS,CAAC;AAEtD,eAAO,MAAM,mBAAmB,EAAE,SAAS,gBAAgB,EAA4B,CAAC;AAExF;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,aAAa,CAAC;IACpB,mFAAmF;IACnF,OAAO,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;I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AAE,OAAO,CAAC,CAAC;CACnC,GAAG,iBAAiB,CAUpB"}
|
package/dist/op/gate-name.d.ts
CHANGED
|
@@ -26,6 +26,13 @@ import type { OpConfig } from "./types.js";
|
|
|
26
26
|
* answers it read one constant instead of agreeing by hand.
|
|
27
27
|
*/
|
|
28
28
|
export declare const FAN_OUT_GATE_OP = "fan-out";
|
|
29
|
+
/**
|
|
30
|
+
* The op name a `chant workspace upgrade` gate is recorded under (#2550). The
|
|
31
|
+
* gate is the scope (`.` for a plain project), and it binds the digest of the
|
|
32
|
+
* upgrade's patch. Like a fan-out, the upgrade is a command with no `*.op.ts`
|
|
33
|
+
* behind it, so `chant approve` must not warn that it found none.
|
|
34
|
+
*/
|
|
35
|
+
export declare const WORKSPACE_UPGRADE_GATE_OP = "workspace-upgrade";
|
|
29
36
|
/** Either spelling of a gate step's name. `gate` since #2202; `signalName` through 0.59.0. */
|
|
30
37
|
export interface GateNamed {
|
|
31
38
|
gate?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gate-name.d.ts","sourceRoot":"","sources":["../../src/op/gate-name.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAmC,MAAM,SAAS,CAAC;AAEzE;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,YAAY,CAAC;AAEzC,8FAA8F;AAC9F,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0FAA0F;IAC1F,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAEhD;AAED,oEAAoE;AACpE,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAE9D;AAED,kFAAkF;AAClF,eAAO,MAAM,2BAA2B,QAE0B,CAAC;AAEnE;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CASjE"}
|
|
1
|
+
{"version":3,"file":"gate-name.d.ts","sourceRoot":"","sources":["../../src/op/gate-name.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAmC,MAAM,SAAS,CAAC;AAEzE;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,YAAY,CAAC;AAEzC;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,sBAAsB,CAAC;AAE7D,8FAA8F;AAC9F,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0FAA0F;IAC1F,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAEhD;AAED,oEAAoE;AACpE,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAE9D;AAED,kFAAkF;AAClF,eAAO,MAAM,2BAA2B,QAE0B,CAAC;AAEnE;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CASjE"}
|
|
@@ -45,7 +45,23 @@ export interface GatedRunSummary {
|
|
|
45
45
|
* to see that the digest has moved on.
|
|
46
46
|
*/
|
|
47
47
|
planDigest?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The project's ledger prefix, `_members/<member>/` for a workspace member
|
|
50
|
+
* (#2538), so the ledger path shown is the one the fact was written to.
|
|
51
|
+
* Absent at level 0 and for the root member.
|
|
52
|
+
*/
|
|
53
|
+
ledgerPrefix?: string;
|
|
54
|
+
/** The environment a component gate's pending fact was recorded in (#2574). The `chant approve` line names it. */
|
|
55
|
+
environment?: string;
|
|
48
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* `{ ledgerPrefix }` for the project at `cwd` when it is a workspace member,
|
|
59
|
+
* else `{}`. A summary is a report, so a declaration that cannot be read
|
|
60
|
+
* leaves the path as it is rather than failing the report.
|
|
61
|
+
*/
|
|
62
|
+
export declare function summaryLedgerPrefix(cwd?: string): Promise<{
|
|
63
|
+
ledgerPrefix?: string;
|
|
64
|
+
}>;
|
|
49
65
|
/**
|
|
50
66
|
* The markdown block itself. Pure, so a test reads what CI would render
|
|
51
67
|
* without touching a file: op, gate, the exact `chant approve` line, and the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gate-summary.d.ts","sourceRoot":"","sources":["../../src/op/gate-summary.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;
|
|
1
|
+
{"version":3,"file":"gate-summary.d.ts","sourceRoot":"","sources":["../../src/op/gate-summary.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAOH,2DAA2D;AAC3D,MAAM,WAAW,eAAe;IAC9B,iDAAiD;IACjD,EAAE,EAAE,MAAM,CAAC;IACX,gEAAgE;IAChE,IAAI,EAAE,MAAM,CAAC;IACb,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kHAAkH;IAClH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAsB,mBAAmB,CAAC,GAAG,GAAE,MAAsB,GAAG,OAAO,CAAC;IAAE,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAOzG;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAsCxE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,eAAe,EACxB,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,MAAM,GAAG,SAAS,CASpB"}
|
package/dist/op/gate.d.ts
CHANGED
|
@@ -104,6 +104,14 @@ export interface GateCheckInput {
|
|
|
104
104
|
* the standing pending fact satisfies the gate whatever has changed since.
|
|
105
105
|
*/
|
|
106
106
|
planDigest?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The environment this run deploys to (#2574). The component driver sets it,
|
|
109
|
+
* because a component's gate ledger is keyed by component and holds every
|
|
110
|
+
* environment's facts. Set, the gate reads only this environment's pending
|
|
111
|
+
* facts and resolutions (plus resolutions that record no environment, which
|
|
112
|
+
* come back as a mismatch), and the pending fact it records carries it.
|
|
113
|
+
*/
|
|
114
|
+
environment?: string;
|
|
107
115
|
/**
|
|
108
116
|
* The gate's quorum and policy (#2508), context already resolved. Absent,
|
|
109
117
|
* one approval passes the gate, which is the rule every gate had before.
|
|
@@ -127,6 +135,8 @@ export interface GateDigestMismatch {
|
|
|
127
135
|
resolvedBy: string;
|
|
128
136
|
/** When they recorded it. */
|
|
129
137
|
timestamp: string;
|
|
138
|
+
/** The environment this run deploys to, on a component gate (#2574). The approve command a refusal prints names it. */
|
|
139
|
+
environment?: string;
|
|
130
140
|
}
|
|
131
141
|
/**
|
|
132
142
|
* The refusal line for a {@link GateDigestMismatch}: which plan was approved,
|
|
@@ -230,6 +240,10 @@ export declare function tallyGateApprovals(records: GateResolutionRecord[], gate
|
|
|
230
240
|
* recorded" from "still standing".
|
|
231
241
|
*/
|
|
232
242
|
export declare function evaluateGate(port: GateLedgerPort, input: GateCheckInput): Promise<GateCheck>;
|
|
233
|
-
/**
|
|
234
|
-
|
|
243
|
+
/**
|
|
244
|
+
* The line every renderer prints to say how a pending gate is cleared. A
|
|
245
|
+
* component gate names its environment (#2574), so the approval picks that
|
|
246
|
+
* environment's pending fact when others stand beside it.
|
|
247
|
+
*/
|
|
248
|
+
export declare function approveCommand(op: string, gate: string, environment?: string): string;
|
|
235
249
|
//# sourceMappingURL=gate.d.ts.map
|
package/dist/op/gate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gate.d.ts","sourceRoot":"","sources":["../../src/op/gate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,EAQL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACvB,MAAM,0BAA0B,CAAC;AAIlC,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAI1E;;;;;;;GAOG;AACH,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qGAAqG;AACrG,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,WAAW,EAAE,oBAAoB,EAAE,CAAC;QAAC,OAAO,EAAE,iBAAiB,EAAE,CAAA;KAAE,CAAC,CAAC;IACjG,aAAa,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;CAClE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,cAAc,CAmCzE;AAED,4HAA4H;AAC5H,wBAAgB,oBAAoB,CAClC,IAAI,GAAE;IAAE,WAAW,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAAC,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAAO,GACjF,cAAc,GAAG;IAA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AC9B,sFAAsF;IACtF,UAAU,CAAC,EAAE,oBAAoB,CAAC;CACnC;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,oBAAoB,EAAE,EAC/B,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,QAAQ,EAAE,oBAAoB,GAC7B,SAAS,CAqCX;AAUD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,YAAY,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC,CA2FlG;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAErF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-pipeline.d.ts","sourceRoot":"","sources":["../../src/op/generate-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAe,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"generate-pipeline.d.ts","sourceRoot":"","sources":["../../src/op/generate-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAe,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAE5D,OAAO,EAGL,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,aAAa,EACnB,MAAM,YAAY,CAAC;AAsBpB;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,eAAe,EAAE,EACxB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,GACpC,eAAe,EAAE,CAKnB;AAED,iGAAiG;AACjG,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,sEAAsE;IACtE,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;IACzB,wDAAwD;IACxD,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;GASG;AACH,wBAAsB,mBAAmB,CACvC,GAAG,EAAE,eAAe,EAAE,EACtB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,wBAAwB,EAClC,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,yBAAyB,CAAC,CAyBpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local.d.ts","sourceRoot":"","sources":["../../../src/op/runtimes/local.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;
|
|
1
|
+
{"version":3,"file":"local.d.ts","sourceRoot":"","sources":["../../../src/op/runtimes/local.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAUH,OAAO,EAML,KAAK,iBAAiB,EACvB,MAAM,YAAY,CAAC;AAwCpB;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,GAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAO,GAAG,iBAAiB,CA+I3F"}
|
package/dist/project-root.d.ts
CHANGED
|
@@ -48,4 +48,30 @@ export declare function findProjectConfig(startDir: string): ProjectConfigSearch
|
|
|
48
48
|
* root to resolve relative paths against).
|
|
49
49
|
*/
|
|
50
50
|
export declare function findProjectRoot(startDir: string): string;
|
|
51
|
+
/** The two names a workspace declaration may have (#2524 D1). */
|
|
52
|
+
export declare const WORKSPACE_DECLARATION_FILES: readonly ["chant.workspace.json", "chant.workspace.jsonc"];
|
|
53
|
+
/** Where {@link findWorkspaceRoot} found a declaration. */
|
|
54
|
+
export interface WorkspaceRootSearch {
|
|
55
|
+
/** The directory holding the declaration. */
|
|
56
|
+
dir: string;
|
|
57
|
+
/** Absolute path of the declaration file. When both names are present this is the `.json` one. */
|
|
58
|
+
file: string;
|
|
59
|
+
/**
|
|
60
|
+
* Absolute path of the `.jsonc` file when `.json` is also there. Having both
|
|
61
|
+
* is an error, which the reader reports; the walk itself never throws.
|
|
62
|
+
*/
|
|
63
|
+
conflicting?: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Walk up from `startDir` (inclusive) to the nearest `chant.workspace.json` or
|
|
67
|
+
* `chant.workspace.jsonc` (#2524 D1). The walk stops at the git root, the first
|
|
68
|
+
* directory holding `.git`, after checking it. Outside a git repository only
|
|
69
|
+
* `startDir` itself is checked, so a stray declaration in an unrelated
|
|
70
|
+
* ancestor is never picked up.
|
|
71
|
+
*
|
|
72
|
+
* It only tests whether files exist and loads nothing else, so a level-0
|
|
73
|
+
* command can afford to call it. {@link findProjectConfig} is unchanged and
|
|
74
|
+
* never looks at a declaration.
|
|
75
|
+
*/
|
|
76
|
+
export declare function findWorkspaceRoot(startDir: string): WorkspaceRootSearch | undefined;
|
|
51
77
|
//# sourceMappingURL=project-root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-root.d.ts","sourceRoot":"","sources":["../src/project-root.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAM,WAAW,mBAAmB;IAClC,sIAAsI;IACtI,GAAG,EAAE,MAAM,CAAC;IACZ,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,4HAA4H;AAC5H,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,mBAAmB,CAqBvE;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAExD"}
|
|
1
|
+
{"version":3,"file":"project-root.d.ts","sourceRoot":"","sources":["../src/project-root.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAM,WAAW,mBAAmB;IAClC,sIAAsI;IACtI,GAAG,EAAE,MAAM,CAAC;IACZ,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,4HAA4H;AAC5H,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,mBAAmB,CAqBvE;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAExD;AAED,iEAAiE;AACjE,eAAO,MAAM,2BAA2B,4DAA6D,CAAC;AAEtG,2DAA2D;AAC3D,MAAM,WAAW,mBAAmB;IAClC,6CAA6C;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,kGAAkG;IAClG,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAmBnF"}
|