@intentius/chant 0.90.0 → 0.93.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/cli/commands/build.d.ts.map +1 -1
- package/dist/cli/commands/lint.d.ts.map +1 -1
- package/dist/cli/handlers/components.d.ts +8 -0
- package/dist/cli/handlers/components.d.ts.map +1 -1
- package/dist/cli/handlers/graph.d.ts.map +1 -1
- package/dist/cli/handlers/operator.d.ts +20 -0
- package/dist/cli/handlers/operator.d.ts.map +1 -1
- package/dist/cli/handlers/run.d.ts.map +1 -1
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/mcp/workspace-tools.d.ts +7 -4
- package/dist/cli/mcp/workspace-tools.d.ts.map +1 -1
- package/dist/cli/plugins.d.ts.map +1 -1
- package/dist/cli/registry.d.ts +42 -1
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/codegen/pinned-upgrade.d.ts.map +1 -1
- package/dist/components/verbs/vuln-scan.d.ts +72 -0
- package/dist/components/verbs/vuln-scan.d.ts.map +1 -1
- package/dist/config.d.ts +22 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/lexicon-module.d.ts +22 -0
- package/dist/lexicon-module.d.ts.map +1 -1
- package/dist/lifecycle/converge-ledger.d.ts +19 -0
- package/dist/lifecycle/converge-ledger.d.ts.map +1 -1
- package/dist/lifecycle/git.d.ts +40 -5
- package/dist/lifecycle/git.d.ts.map +1 -1
- package/dist/lifecycle/lease.d.ts +72 -16
- package/dist/lifecycle/lease.d.ts.map +1 -1
- package/dist/lifecycle/member-ledger.d.ts +3 -2
- package/dist/lifecycle/member-ledger.d.ts.map +1 -1
- package/dist/lifecycle/plan-ledger.d.ts +114 -0
- package/dist/lifecycle/plan-ledger.d.ts.map +1 -0
- package/dist/lifecycle/run-ledger.d.ts +2 -0
- package/dist/lifecycle/run-ledger.d.ts.map +1 -1
- package/dist/lifecycle/symptoms.d.ts +51 -0
- package/dist/lifecycle/symptoms.d.ts.map +1 -1
- package/dist/lifecycle/work-lease.d.ts +140 -0
- package/dist/lifecycle/work-lease.d.ts.map +1 -0
- package/dist/lint/rules/index.d.ts +4 -2
- package/dist/lint/rules/index.d.ts.map +1 -1
- package/dist/lint/rules/op/index.d.ts +14 -3
- package/dist/lint/rules/op/index.d.ts.map +1 -1
- package/dist/lint/rules/op/ops014-converge-rule-refusals.d.ts.map +1 -1
- package/dist/lint/rules/op/sys010-key-over-plain-http.d.ts +29 -0
- package/dist/lint/rules/op/sys010-key-over-plain-http.d.ts.map +1 -0
- package/dist/lint/rules/sys001-no-literal-key.d.ts +3 -0
- package/dist/lint/rules/sys001-no-literal-key.d.ts.map +1 -0
- package/dist/op/__fixtures__/decide-stub-backend.d.ts +53 -0
- package/dist/op/__fixtures__/decide-stub-backend.d.ts.map +1 -0
- package/dist/op/activities/activity-contracts.d.ts +203 -2
- package/dist/op/activities/activity-contracts.d.ts.map +1 -1
- package/dist/op/activities/apply.d.ts.map +1 -1
- package/dist/op/activities/change-coverage.d.ts +44 -0
- package/dist/op/activities/change-coverage.d.ts.map +1 -0
- package/dist/op/activities/converge.d.ts +24 -1
- package/dist/op/activities/converge.d.ts.map +1 -1
- package/dist/op/activities/decide.d.ts +107 -0
- package/dist/op/activities/decide.d.ts.map +1 -0
- package/dist/op/activities/index.d.ts +10 -0
- package/dist/op/activities/index.d.ts.map +1 -1
- package/dist/op/activities/shell.d.ts +32 -0
- package/dist/op/activities/shell.d.ts.map +1 -1
- package/dist/op/activities/source-release.d.ts +86 -0
- package/dist/op/activities/source-release.d.ts.map +1 -0
- package/dist/op/activities/source-rollback.d.ts +100 -0
- package/dist/op/activities/source-rollback.d.ts.map +1 -0
- package/dist/op/activities/work-evidence.d.ts +42 -0
- package/dist/op/activities/work-evidence.d.ts.map +1 -0
- package/dist/op/activity-contract.d.ts +1 -0
- package/dist/op/activity-contract.d.ts.map +1 -1
- package/dist/op/activity-profiles.d.ts +16 -0
- package/dist/op/activity-profiles.d.ts.map +1 -1
- package/dist/op/builders.d.ts +84 -2
- package/dist/op/builders.d.ts.map +1 -1
- package/dist/op/composites/converge-op.d.ts +31 -4
- package/dist/op/composites/converge-op.d.ts.map +1 -1
- package/dist/op/decide-backend.d.ts +116 -0
- package/dist/op/decide-backend.d.ts.map +1 -0
- package/dist/op/decide-config.d.ts +120 -0
- package/dist/op/decide-config.d.ts.map +1 -0
- package/dist/op/decide-read-inputs.d.ts +40 -0
- package/dist/op/decide-read-inputs.d.ts.map +1 -0
- package/dist/op/discover.d.ts +25 -0
- package/dist/op/discover.d.ts.map +1 -1
- package/dist/op/gate-wait.d.ts +43 -0
- package/dist/op/gate-wait.d.ts.map +1 -0
- package/dist/op/gate.d.ts +5 -2
- package/dist/op/gate.d.ts.map +1 -1
- package/dist/op/index.d.ts +18 -5
- package/dist/op/index.d.ts.map +1 -1
- package/dist/op/lifecycle-receipt-store.d.ts +34 -0
- package/dist/op/lifecycle-receipt-store.d.ts.map +1 -0
- package/dist/op/local-executor.d.ts +48 -4
- package/dist/op/local-executor.d.ts.map +1 -1
- package/dist/op/local-output.d.ts +2 -0
- package/dist/op/local-output.d.ts.map +1 -1
- package/dist/op/op-ir.d.ts +12 -1
- package/dist/op/op-ir.d.ts.map +1 -1
- package/dist/op/op-verb-class.d.ts.map +1 -1
- package/dist/op/operator.d.ts +126 -1
- package/dist/op/operator.d.ts.map +1 -1
- package/dist/op/runtime.d.ts +46 -5
- package/dist/op/runtime.d.ts.map +1 -1
- package/dist/op/runtimes/local.d.ts.map +1 -1
- package/dist/op/source-archive.d.ts +63 -0
- package/dist/op/source-archive.d.ts.map +1 -0
- package/dist/op/step-output-ref.d.ts +2 -2
- package/dist/op/step-output-ref.d.ts.map +1 -1
- package/dist/op/steward-points.d.ts +136 -0
- package/dist/op/steward-points.d.ts.map +1 -0
- package/dist/op/steward-turn.d.ts +53 -0
- package/dist/op/steward-turn.d.ts.map +1 -0
- package/dist/op/steward.d.ts +161 -0
- package/dist/op/steward.d.ts.map +1 -0
- package/dist/op/types.d.ts +58 -0
- package/dist/op/types.d.ts.map +1 -1
- package/dist/op/work-lease-decl.d.ts +18 -0
- package/dist/op/work-lease-decl.d.ts.map +1 -0
- package/dist/op/work-lease-run.d.ts +173 -0
- package/dist/op/work-lease-run.d.ts.map +1 -0
- package/dist/workspace/__fixtures__/decide-workspace.d.ts +100 -0
- package/dist/workspace/__fixtures__/decide-workspace.d.ts.map +1 -0
- package/dist/workspace/answers-ledger.d.ts +76 -0
- package/dist/workspace/answers-ledger.d.ts.map +1 -0
- package/dist/workspace/box-isolation.d.ts +99 -0
- package/dist/workspace/box-isolation.d.ts.map +1 -0
- package/dist/workspace/changes-cli.d.ts +16 -0
- package/dist/workspace/changes-cli.d.ts.map +1 -0
- package/dist/workspace/changes.d.ts +200 -0
- package/dist/workspace/changes.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-fly-site.d.ts +59 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-fly-site.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-live-names.d.ts +51 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-live-names.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-rollback.d.ts +26 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-rollback.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-ship-inputs.d.ts +59 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-ship-inputs.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-ship-policy.d.ts +22 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit-ship-policy.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit.d.ts +71 -0
- package/dist/workspace/chant-migrations/chud-lexicon-exit.d.ts.map +1 -0
- package/dist/workspace/chant-migrations.d.ts +99 -0
- package/dist/workspace/chant-migrations.d.ts.map +1 -0
- package/dist/workspace/checks/box-isolation.d.ts +18 -0
- package/dist/workspace/checks/box-isolation.d.ts.map +1 -0
- package/dist/workspace/checks/boxes.d.ts +104 -0
- package/dist/workspace/checks/boxes.d.ts.map +1 -0
- package/dist/workspace/checks/diagrams.d.ts +31 -0
- package/dist/workspace/checks/diagrams.d.ts.map +1 -0
- package/dist/workspace/checks/records.d.ts +8 -0
- package/dist/workspace/checks/records.d.ts.map +1 -1
- package/dist/workspace/checks.d.ts +13 -1
- package/dist/workspace/checks.d.ts.map +1 -1
- package/dist/workspace/compose-graph.d.ts +2 -0
- package/dist/workspace/compose-graph.d.ts.map +1 -1
- package/dist/workspace/conformance/index.d.ts.map +1 -1
- package/dist/workspace/decide.d.ts +229 -0
- package/dist/workspace/decide.d.ts.map +1 -0
- package/dist/workspace/decision-points.schema.json +137 -0
- package/dist/workspace/declaration.d.ts +103 -0
- package/dist/workspace/declaration.d.ts.map +1 -1
- package/dist/workspace/declaration.schema.json +285 -0
- package/dist/workspace/declared-kinds.d.ts +32 -0
- package/dist/workspace/declared-kinds.d.ts.map +1 -1
- package/dist/workspace/generated-files.d.ts +7 -0
- package/dist/workspace/generated-files.d.ts.map +1 -1
- package/dist/workspace/intent.d.ts.map +1 -1
- package/dist/workspace/lineage-check.d.ts +3 -0
- package/dist/workspace/lineage-check.d.ts.map +1 -1
- package/dist/workspace/lineage-upgrade.d.ts +6 -1
- package/dist/workspace/lineage-upgrade.d.ts.map +1 -1
- package/dist/workspace/ls.d.ts +39 -1
- package/dist/workspace/ls.d.ts.map +1 -1
- package/dist/workspace/point-answer.schema.json +95 -0
- package/dist/workspace/points-cli.d.ts +113 -0
- package/dist/workspace/points-cli.d.ts.map +1 -0
- package/dist/workspace/points.d.ts +320 -0
- package/dist/workspace/points.d.ts.map +1 -0
- package/dist/workspace/reason-codes.d.ts +38 -0
- package/dist/workspace/reason-codes.d.ts.map +1 -1
- package/dist/workspace/record-assets.d.ts.map +1 -1
- package/dist/workspace/records-cli.d.ts +23 -1
- package/dist/workspace/records-cli.d.ts.map +1 -1
- package/dist/workspace/records-close.d.ts +1 -1
- package/dist/workspace/records-close.d.ts.map +1 -1
- package/dist/workspace/records-write.d.ts +11 -5
- package/dist/workspace/records-write.d.ts.map +1 -1
- package/dist/workspace/records.d.ts +42 -6
- package/dist/workspace/records.d.ts.map +1 -1
- package/dist/workspace/status-gates.d.ts +7 -2
- package/dist/workspace/status-gates.d.ts.map +1 -1
- package/dist/workspace/status-stewards.d.ts +179 -0
- package/dist/workspace/status-stewards.d.ts.map +1 -0
- package/dist/workspace/status.d.ts +68 -1
- package/dist/workspace/status.d.ts.map +1 -1
- package/dist/workspace/work-cli.d.ts +189 -0
- package/dist/workspace/work-cli.d.ts.map +1 -0
- package/dist/workspace/work-evidence.d.ts +74 -0
- package/dist/workspace/work-evidence.d.ts.map +1 -0
- package/dist/workspace/work.d.ts +43 -1
- package/dist/workspace/work.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/cli/commands/audit.test.ts +9 -1
- package/src/cli/commands/build.ts +3 -2
- package/src/cli/commands/lint.ts +7 -1
- package/src/cli/handlers/components.test.ts +93 -0
- package/src/cli/handlers/components.ts +44 -3
- package/src/cli/handlers/graph.test.ts +20 -0
- package/src/cli/handlers/graph.ts +16 -2
- package/src/cli/handlers/operator.ts +141 -4
- package/src/cli/handlers/run.test.ts +173 -2
- package/src/cli/handlers/run.ts +174 -3
- package/src/cli/main.test.ts +50 -0
- package/src/cli/main.ts +97 -2
- package/src/cli/mcp/workspace-tools.test.ts +48 -19
- package/src/cli/mcp/workspace-tools.ts +110 -8
- package/src/cli/plugins.ts +11 -3
- package/src/cli/registry.ts +42 -1
- package/src/codegen/pinned-upgrade.ts +2 -1
- package/src/codegen/release-wiring.test.ts +49 -2
- package/src/components/capability-plugin-loader.ts +3 -3
- package/src/components/cli-support.ts +2 -2
- package/src/components/verbs/vuln-scan.test.ts +124 -1
- package/src/components/verbs/vuln-scan.ts +142 -1
- package/src/config.ts +11 -0
- package/src/lexicon-module.ts +56 -1
- package/src/lexicon-package.test.ts +96 -0
- package/src/lifecycle/converge-ledger.ts +20 -0
- package/src/lifecycle/git.ts +65 -15
- package/src/lifecycle/lease.test.ts +22 -0
- package/src/lifecycle/lease.ts +133 -29
- package/src/lifecycle/member-ledger.ts +3 -2
- package/src/lifecycle/plan-ledger.test.ts +148 -0
- package/src/lifecycle/plan-ledger.ts +158 -0
- package/src/lifecycle/run-ledger.ts +6 -0
- package/src/lifecycle/symptoms.ts +95 -0
- package/src/lifecycle/work-lease.test.ts +236 -0
- package/src/lifecycle/work-lease.ts +426 -0
- package/src/lint/rules/index.ts +6 -2
- package/src/lint/rules/op/index.ts +17 -4
- package/src/lint/rules/op/ops014-converge-rule-refusals.test.ts +23 -1
- package/src/lint/rules/op/ops014-converge-rule-refusals.ts +10 -6
- package/src/lint/rules/op/sys010-key-over-plain-http.test.ts +52 -0
- package/src/lint/rules/op/sys010-key-over-plain-http.ts +100 -0
- package/src/lint/rules/sys001-no-literal-key.test.ts +31 -0
- package/src/lint/rules/sys001-no-literal-key.ts +67 -0
- package/src/op/__fixtures__/decide-stub-backend.ts +143 -0
- package/src/op/activities/activity-contracts.ts +190 -1
- package/src/op/activities/apply.ts +7 -6
- package/src/op/activities/change-coverage.ts +60 -0
- package/src/op/activities/converge.test.ts +55 -1
- package/src/op/activities/converge.ts +208 -29
- package/src/op/activities/decide.live.test.ts +78 -0
- package/src/op/activities/decide.test.ts +300 -0
- package/src/op/activities/decide.ts +267 -0
- package/src/op/activities/index.ts +21 -0
- package/src/op/activities/shell.test.ts +91 -1
- package/src/op/activities/shell.ts +91 -2
- package/src/op/activities/source-release.test.ts +118 -0
- package/src/op/activities/source-release.ts +168 -0
- package/src/op/activities/source-rollback.test.ts +131 -0
- package/src/op/activities/source-rollback.ts +239 -0
- package/src/op/activities/work-evidence.ts +62 -0
- package/src/op/activity-contract-registry.test.ts +2 -0
- package/src/op/activity-contract-registry.ts +2 -2
- package/src/op/activity-contract.test.ts +12 -0
- package/src/op/activity-contract.ts +6 -1
- package/src/op/activity-profiles.ts +29 -0
- package/src/op/activity-registry.test.ts +1 -1
- package/src/op/activity-registry.ts +2 -2
- package/src/op/builders.ts +124 -5
- package/src/op/command-gate.test.ts +192 -0
- package/src/op/composites/converge-op.test.ts +27 -1
- package/src/op/composites/converge-op.ts +69 -15
- package/src/op/decide-backend.test.ts +44 -0
- package/src/op/decide-backend.ts +212 -0
- package/src/op/decide-config.test.ts +52 -0
- package/src/op/decide-config.ts +80 -0
- package/src/op/decide-read-inputs.ts +117 -0
- package/src/op/discover.ts +71 -0
- package/src/op/gate-approval.ts +2 -2
- package/src/op/gate-wait.ts +57 -0
- package/src/op/gate.ts +8 -3
- package/src/op/generate-pipeline.ts +2 -2
- package/src/op/index.ts +34 -6
- package/src/op/lifecycle-receipt-store.test.ts +60 -0
- package/src/op/lifecycle-receipt-store.ts +61 -0
- package/src/op/local-executor.ts +367 -33
- package/src/op/local-output.test.ts +33 -0
- package/src/op/local-output.ts +33 -2
- package/src/op/op-ir.test.ts +10 -0
- package/src/op/op-ir.ts +18 -0
- package/src/op/op-verb-class.ts +1 -0
- package/src/op/operator.ts +360 -10
- package/src/op/runtime.ts +37 -8
- package/src/op/runtimes/local.ts +6 -1
- package/src/op/source-archive.ts +161 -0
- package/src/op/step-output-ref.ts +6 -2
- package/src/op/steward-points.test.ts +313 -0
- package/src/op/steward-points.ts +194 -0
- package/src/op/steward-turn.ts +79 -0
- package/src/op/steward.test.ts +296 -0
- package/src/op/steward.ts +277 -0
- package/src/op/types.ts +60 -0
- package/src/op/work-lease-decl.ts +80 -0
- package/src/op/work-lease-run.test.ts +345 -0
- package/src/op/work-lease-run.ts +395 -0
- package/src/workspace/__fixtures__/decide-workspace.ts +129 -0
- package/src/workspace/__fixtures__/studio-template-84c8b21.json +67 -0
- package/src/workspace/answers-ledger.ts +118 -0
- package/src/workspace/box-isolation.test.ts +261 -0
- package/src/workspace/box-isolation.ts +205 -0
- package/src/workspace/changes-cli.ts +56 -0
- package/src/workspace/changes.schema.json +472 -0
- package/src/workspace/changes.test.ts +315 -0
- package/src/workspace/changes.ts +512 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit-fly-site.ts +234 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit-live-names.ts +164 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit-rollback.ts +223 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit-ship-inputs.ts +195 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit-ship-policy.ts +108 -0
- package/src/workspace/chant-migrations/chud-lexicon-exit.ts +882 -0
- package/src/workspace/chant-migrations.e2e.test.ts +1089 -0
- package/src/workspace/chant-migrations.ts +164 -0
- package/src/workspace/check-contract.test.ts +5 -1
- package/src/workspace/check.schema.json +25 -7
- package/src/workspace/checks/box-isolation.ts +68 -0
- package/src/workspace/checks/boxes.test.ts +276 -0
- package/src/workspace/checks/boxes.ts +442 -0
- package/src/workspace/checks/diagrams.test.ts +134 -0
- package/src/workspace/checks/diagrams.ts +108 -0
- package/src/workspace/checks/records.ts +72 -0
- package/src/workspace/checks.test.ts +7 -0
- package/src/workspace/checks.ts +27 -3
- package/src/workspace/compose-graph.ts +2 -0
- package/src/workspace/conformance/__fixture__/decisions/decision.kind.mjs +10 -0
- package/src/workspace/conformance/__fixture__/decisions/decision.schema.json +26 -0
- package/src/workspace/conformance/index.ts +5 -0
- package/src/workspace/decide.test.ts +224 -0
- package/src/workspace/decide.ts +709 -0
- package/src/workspace/decision-points.schema.json +137 -0
- package/src/workspace/declaration.schema.json +285 -0
- package/src/workspace/declaration.test.ts +58 -0
- package/src/workspace/declaration.ts +241 -0
- package/src/workspace/declared-kinds.test.ts +5 -5
- package/src/workspace/declared-kinds.ts +71 -3
- package/src/workspace/generated-files.ts +14 -0
- package/src/workspace/graph-cli.ts +1 -1
- package/src/workspace/graph.schema.json +9 -1
- package/src/workspace/intent.schema.json +12 -3
- package/src/workspace/intent.ts +3 -10
- package/src/workspace/lineage-check.ts +16 -1
- package/src/workspace/lineage-upgrade-cli.ts +1 -1
- package/src/workspace/lineage-upgrade.test.ts +70 -0
- package/src/workspace/lineage-upgrade.ts +81 -10
- package/src/workspace/ls-contract.test.ts +57 -0
- package/src/workspace/ls.schema.json +46 -1
- package/src/workspace/ls.ts +62 -3
- package/src/workspace/point-answer.schema.json +95 -0
- package/src/workspace/points-cli.ts +284 -0
- package/src/workspace/points-write.schema.json +499 -0
- package/src/workspace/points.schema.json +743 -0
- package/src/workspace/points.test.ts +264 -0
- package/src/workspace/points.ts +564 -0
- package/src/workspace/read-contract.test.ts +18 -1
- package/src/workspace/reason-codes.test.ts +24 -1
- package/src/workspace/reason-codes.ts +49 -0
- package/src/workspace/record-assets.test.ts +3 -2
- package/src/workspace/record-assets.ts +4 -1
- package/src/workspace/records-amend.schema.json +2 -0
- package/src/workspace/records-cli.ts +28 -5
- package/src/workspace/records-close.schema.json +2 -0
- package/src/workspace/records-contract.test.ts +3 -2
- package/src/workspace/records-new.schema.json +2 -0
- package/src/workspace/records-review.schema.json +2 -0
- package/src/workspace/records-sessions-write.e2e.test.ts +77 -0
- package/src/workspace/records-sessions-write.test.ts +2 -34
- package/src/workspace/records-write.e2e.test.ts +108 -0
- package/src/workspace/records-write.test.ts +32 -41
- package/src/workspace/records-write.ts +33 -15
- package/src/workspace/records.schema.json +53 -2
- package/src/workspace/records.test.ts +48 -3
- package/src/workspace/records.ts +142 -6
- package/src/workspace/status-contract.test.ts +189 -6
- package/src/workspace/status-gates.ts +9 -4
- package/src/workspace/status-stewards.ts +329 -0
- package/src/workspace/status.schema.json +335 -5
- package/src/workspace/status.ts +142 -6
- package/src/workspace/work-acceptance.test.ts +274 -0
- package/src/workspace/work-cli.e2e.test.ts +180 -0
- package/src/workspace/work-cli.ts +429 -0
- package/src/workspace/work-evidence.schema.json +212 -0
- package/src/workspace/work-evidence.ts +169 -0
- package/src/workspace/work-history.schema.json +349 -0
- package/src/workspace/work-history.test.ts +156 -0
- package/src/workspace/work-lease.schema.json +233 -0
- package/src/workspace/work-readiness-chud.test.ts +145 -0
- package/src/workspace/work.test.ts +3 -2
- package/src/workspace/work.ts +100 -1
- /package/src/cli/{discovery-skip.test.ts → discovery-skip.e2e.test.ts} +0 -0
- /package/src/workspace/conformance/{conformance.test.ts → conformance.e2e.test.ts} +0 -0
- /package/src/workspace/{which-chant.test.ts → which-chant.e2e.test.ts} +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `chud-lexicon-exit-rollback` (#2800): give a repo `chud-lexicon-exit`
|
|
3
|
+
* migrated the rollback Op chud had, on chant's own steps.
|
|
4
|
+
*
|
|
5
|
+
* `chud-lexicon-exit` shipped in 0.92.0 with a release Op that ships the app
|
|
6
|
+
* member to Fly as a source tree (#2782), and it deleted chud's rollback Op
|
|
7
|
+
* because nothing in chant could take that site back yet. This migration
|
|
8
|
+
* writes `ops/rollback.op.ts` beside the release Op, and a `rollback` script.
|
|
9
|
+
* A repo `chud-lexicon-exit` migrates from now on gets both, since this
|
|
10
|
+
* migration is planned after it in the same upgrade.
|
|
11
|
+
*
|
|
12
|
+
* The rollback is an Op rather than `chant components rollback` because the
|
|
13
|
+
* release is one: the release Op archives, plans, gates, ships and records,
|
|
14
|
+
* and the app component only runs the supply chain. Rolling back through the
|
|
15
|
+
* component would put publish and rollback in two places, which the boundary
|
|
16
|
+
* between Ops and components says not to do (components/backends-reference).
|
|
17
|
+
*
|
|
18
|
+
* The plan is empty unless the member's release Op is the one
|
|
19
|
+
* `chud-lexicon-exit` wrote, and once the rollback Op is there. A file at
|
|
20
|
+
* `ops/rollback.op.ts` that is not this one is a conflict.
|
|
21
|
+
*/
|
|
22
|
+
import type { ChantMigration } from "../chant-migrations.js";
|
|
23
|
+
export declare const CHUD_LEXICON_EXIT_ROLLBACK = "chud-lexicon-exit-rollback";
|
|
24
|
+
export declare function rollbackOp(pointsRel: string): string;
|
|
25
|
+
export declare const chudLexiconExitRollback: ChantMigration;
|
|
26
|
+
//# sourceMappingURL=chud-lexicon-exit-rollback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chud-lexicon-exit-rollback.d.ts","sourceRoot":"","sources":["../../../src/workspace/chant-migrations/chud-lexicon-exit-rollback.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAIH,OAAO,KAAK,EAAE,cAAc,EAA0E,MAAM,qBAAqB,CAAC;AAGlI,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AASvE,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAiFpD;AAqGD,eAAO,MAAM,uBAAuB,EAAE,cAIrC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `chud-lexicon-exit-ship-inputs` (#2811): the release Op asks the ship-skip
|
|
3
|
+
* point with the inputs the point declares.
|
|
4
|
+
*
|
|
5
|
+
* The release Op `chud-lexicon-exit` (0.92.0) wrote asks `ship-skip` with no
|
|
6
|
+
* inputs, so the point's table can only give its default row. This migration
|
|
7
|
+
* makes the Op compute the point's `release.*` inputs when it loads, from the
|
|
8
|
+
* diff between the commit the `fly` site serves (the last release in its
|
|
9
|
+
* ledger) and HEAD, and pass the ones the point declares to `decide`:
|
|
10
|
+
*
|
|
11
|
+
* - `first_release`: no release in the ledger;
|
|
12
|
+
* - `new_migrations`: `.sql` files added or changed under the app's
|
|
13
|
+
* migrations folder;
|
|
14
|
+
* - `files_changed`: paths changed;
|
|
15
|
+
* - `app_changed`: a path under the app member;
|
|
16
|
+
* - `work_changed`: a path under the directory a declared work kind keeps its
|
|
17
|
+
* items in (chud's `contracts_changed`);
|
|
18
|
+
* - `units`: work item files added or changed.
|
|
19
|
+
*
|
|
20
|
+
* A first release, or one whose serving commit this clone lacks, counts every
|
|
21
|
+
* file on HEAD, as chud's release plan did. The inputs are not part of the
|
|
22
|
+
* release plan, which keeps the answer and its decider, so a retry of a
|
|
23
|
+
* shipped commit plans the same digest.
|
|
24
|
+
*
|
|
25
|
+
* The plan is empty unless the member's release Op is the one
|
|
26
|
+
* `chud-lexicon-exit` wrote and still asks `ship-skip` with no inputs. A
|
|
27
|
+
* release Op the project changed so that an anchor is gone is a conflict.
|
|
28
|
+
*/
|
|
29
|
+
import type { ChantMigration } from "../chant-migrations.js";
|
|
30
|
+
export declare const CHUD_LEXICON_EXIT_SHIP_INPUTS = "chud-lexicon-exit-ship-inputs";
|
|
31
|
+
/** Where a declared work kind keeps its items, from the workspace root: what `release.work_changed` and `release.units` count. */
|
|
32
|
+
export interface WorkItems {
|
|
33
|
+
dir: string;
|
|
34
|
+
/** The kind's `location.match`, a regular expression over a file's name. */
|
|
35
|
+
match: string;
|
|
36
|
+
}
|
|
37
|
+
interface Declaration {
|
|
38
|
+
members?: Array<{
|
|
39
|
+
name?: string;
|
|
40
|
+
dir?: string;
|
|
41
|
+
kind?: string;
|
|
42
|
+
records?: Array<{
|
|
43
|
+
kind?: string;
|
|
44
|
+
}>;
|
|
45
|
+
}>;
|
|
46
|
+
records?: Array<{
|
|
47
|
+
kind?: string;
|
|
48
|
+
}>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Where each declared work kind keeps its items, read from the kind file's
|
|
52
|
+
* text: a kind with a `work` block, its `location.dir` and `location.match`.
|
|
53
|
+
*/
|
|
54
|
+
export declare function workItemsOf(dir: string, decl: Declaration | null): WorkItems[];
|
|
55
|
+
/** The code that computes the inputs and asks the point with them, in place of {@link ASKED_BARE}. */
|
|
56
|
+
export declare function askedWithInputs(rootRel: string, appDir: string, work: WorkItems[]): string;
|
|
57
|
+
export declare const chudLexiconExitShipInputs: ChantMigration;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=chud-lexicon-exit-ship-inputs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chud-lexicon-exit-ship-inputs.d.ts","sourceRoot":"","sources":["../../../src/workspace/chant-migrations/chud-lexicon-exit-ship-inputs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAIH,OAAO,KAAK,EAAE,cAAc,EAA0E,MAAM,qBAAqB,CAAC;AAGlI,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAO7E,kIAAkI;AAClI,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,4EAA4E;IAC5E,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,WAAW;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,KAAK,CAAC;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;KAAE,CAAC,CAAC;IACpG,OAAO,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACpC;AAOD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,EAAE,CAgB9E;AAED,sGAAsG;AACtG,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,MAAM,CA6C1F;AAgED,eAAO,MAAM,yBAAyB,EAAE,cAIvC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `chud-lexicon-exit-ship-policy` (#2810): let a person pass the ship gate
|
|
3
|
+
* in a repo `chud-lexicon-exit` migrated.
|
|
4
|
+
*
|
|
5
|
+
* `chud-lexicon-exit` (0.92.0) kept chud's decisions/ship-skip.cedar.ts,
|
|
6
|
+
* which permits an agent when the ship-skip table said yes and permits no
|
|
7
|
+
* person. Cedar denies what nothing permits, so it decided `deny` on a
|
|
8
|
+
* person's approval too, and only `log-only` let one through. This migration
|
|
9
|
+
* adds a permit for `Chant::Human` under the same floor, which still forbids
|
|
10
|
+
* an agent unless the table said yes. At `enforce`, Cedar then decides
|
|
11
|
+
* `allow` for a person and `deny` for an agent.
|
|
12
|
+
*
|
|
13
|
+
* The plan is empty unless the policy is the one `chud-lexicon-exit` left
|
|
14
|
+
* (it reads the decide step's `shipSkipBy`), and once the permit is there. A
|
|
15
|
+
* policy the project changed so that an anchor is gone is a conflict.
|
|
16
|
+
*/
|
|
17
|
+
import type { ChantMigration } from "../chant-migrations.js";
|
|
18
|
+
import { type Edit } from "./chud-lexicon-exit.js";
|
|
19
|
+
export declare const CHUD_LEXICON_EXIT_SHIP_POLICY = "chud-lexicon-exit-ship-policy";
|
|
20
|
+
export declare const SHIP_POLICY_EDITS: Edit[];
|
|
21
|
+
export declare const chudLexiconExitShipPolicy: ChantMigration;
|
|
22
|
+
//# sourceMappingURL=chud-lexicon-exit-ship-policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chud-lexicon-exit-ship-policy.d.ts","sourceRoot":"","sources":["../../../src/workspace/chant-migrations/chud-lexicon-exit-ship-policy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAE,cAAc,EAA0E,MAAM,qBAAqB,CAAC;AAClI,OAAO,EAAwB,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAEtE,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAS7E,eAAO,MAAM,iBAAiB,EAAE,IAAI,EAuCnC,CAAC;AAkCF,eAAO,MAAM,yBAAyB,EAAE,cAIvC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `chud-lexicon-exit` (#2737, ws-056): take a repo made from chud's template,
|
|
3
|
+
* or the studio kit's copy of it, off `@intentius/chant-lexicon-chud` and
|
|
4
|
+
* `@intentius/chud-runtime`.
|
|
5
|
+
*
|
|
6
|
+
* ws-056 split the chud lexicon by the boundary. What is specification goes to
|
|
7
|
+
* chant, and this migration moves it:
|
|
8
|
+
*
|
|
9
|
+
* - the decision points (`delivery/decisions/points.yaml`) become chant's
|
|
10
|
+
* points file, `decisions/points.json` at the workspace root, with each
|
|
11
|
+
* input named for the read-contract output it comes from, and an answer
|
|
12
|
+
* kind in `answers/` (ws-058, #2757, #2777);
|
|
13
|
+
* - the release Op asks `ship-skip` through chant's `decide` activity
|
|
14
|
+
* (#2769, core's since #2828, so the repo installs no package for it), and
|
|
15
|
+
* its ship gate takes the point's quorum and the Cedar policy as before;
|
|
16
|
+
* - the app component runs chant's own supply-chain verbs (SBOM, scan,
|
|
17
|
+
* vuln-gate) on the app member;
|
|
18
|
+
* - the Fly site's resources stay on the fly lexicon, without chud's
|
|
19
|
+
* `FlySite` wrapper (#2736);
|
|
20
|
+
* - the chud-runtime `upgrade` Op is replaced by `chant workspace upgrade`;
|
|
21
|
+
* - CI no longer fetches the private runtime package.
|
|
22
|
+
*
|
|
23
|
+
* What is runtime goes to the studio kit (arugula-salad/studio, `template/`),
|
|
24
|
+
* and is deleted here with a pointer: the dispatch Op (ws-057, studio#47), the
|
|
25
|
+
* local site (the box's service), the write-scope policy and the
|
|
26
|
+
* contract-sizing rules, and `chud dev` / `chud design` (hud on the box).
|
|
27
|
+
*
|
|
28
|
+
* chud's steps after the ship gate move to chant's (#2782): the release Op
|
|
29
|
+
* archives the app member (`sourceArchive`), plans the release
|
|
30
|
+
* (`releasePlan`), gates on the plan's digest, ships the approved tree to the
|
|
31
|
+
* Fly Machine with the fly lexicon's `flyRelease` (each migration once per
|
|
32
|
+
* environment, under a receipt), and records it in the release ledger with
|
|
33
|
+
* its plan (`releaseRecord`). Signing the archive (#2515) has no chant home
|
|
34
|
+
* yet. chud's rollback Op is deleted here, and the migration planned after
|
|
35
|
+
* this one, `chud-lexicon-exit-rollback` (#2800), writes chant's in its place.
|
|
36
|
+
*
|
|
37
|
+
* Files are matched by what they hold, not by the template version the scope
|
|
38
|
+
* is pinned at, so a repo from any chud template commit or the studio kit's
|
|
39
|
+
* copy is planned alike. A file this migration replaces or deletes that was
|
|
40
|
+
* edited since the template wrote it is still replaced or deleted, since it
|
|
41
|
+
* could not build without the chud packages, and the plan marks it edited:
|
|
42
|
+
* the edit is in git history. A file it only edits (chant.config.ts, ci.ts,
|
|
43
|
+
* fly.ts, the Cedar policy, ci.yml) keeps the project's edits; an edit whose
|
|
44
|
+
* anchor is gone is a conflict.
|
|
45
|
+
*/
|
|
46
|
+
import type { ChantMigration } from "../chant-migrations.js";
|
|
47
|
+
export declare const CHUD_LEXICON_EXIT = "chud-lexicon-exit";
|
|
48
|
+
/** The two packages this migration takes a repo off. */
|
|
49
|
+
export declare const CHUD_PACKAGES: readonly ["@intentius/chant-lexicon-chud", "@intentius/chud-runtime"];
|
|
50
|
+
/** A scope file as text, or undefined. */
|
|
51
|
+
export declare function readText(dir: string, path: string): string | undefined;
|
|
52
|
+
export interface Edit {
|
|
53
|
+
find: string | RegExp;
|
|
54
|
+
replace: string;
|
|
55
|
+
/** A required edit whose anchor is missing, while `unless` does not match, is a conflict. */
|
|
56
|
+
required?: string;
|
|
57
|
+
/** The edit is not needed when the text matches this (already done, or never there). */
|
|
58
|
+
unless?: RegExp;
|
|
59
|
+
}
|
|
60
|
+
export declare function applyEdits(text: string, edits: Edit[]): {
|
|
61
|
+
text: string;
|
|
62
|
+
missing: string[];
|
|
63
|
+
};
|
|
64
|
+
/** chud's points.yaml as chant's points file, or the reason it cannot be. */
|
|
65
|
+
export declare function convertPoints(text: string, file: string): {
|
|
66
|
+
json: string;
|
|
67
|
+
} | {
|
|
68
|
+
error: string;
|
|
69
|
+
};
|
|
70
|
+
export declare const chudLexiconExit: ChantMigration;
|
|
71
|
+
//# sourceMappingURL=chud-lexicon-exit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chud-lexicon-exit.d.ts","sourceRoot":"","sources":["../../../src/workspace/chant-migrations/chud-lexicon-exit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAQH,OAAO,KAAK,EAAE,cAAc,EAAoF,MAAM,qBAAqB,CAAC;AAE5I,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,wDAAwD;AACxD,eAAO,MAAM,aAAa,uEAAwE,CAAC;AA4OnG,0CAA0C;AAC1C,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGtE;AAID,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAY3F;AA0RD,6EAA6E;AAC7E,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAuD9F;AAyND,eAAO,MAAM,eAAe,EAAE,cAI7B,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Migrations chant ships (#2737).
|
|
3
|
+
*
|
|
4
|
+
* A template's own migrations (./lineage-migrations.ts) move a scope between
|
|
5
|
+
* two versions of that template. Some moves are chant's instead: a part a
|
|
6
|
+
* template used goes away, and chant knows where each piece of it went. The
|
|
7
|
+
* first is `chud-lexicon-exit`, which takes a repo made from chud's template
|
|
8
|
+
* (or the studio kit's copy of it) off `@intentius/chant-lexicon-chud` and
|
|
9
|
+
* `@intentius/chud-runtime` (ws-056).
|
|
10
|
+
*
|
|
11
|
+
* `chant workspace upgrade` asks each one for a plan after the template's own
|
|
12
|
+
* chain has run in the staging worktree, and before the per-file merge. A
|
|
13
|
+
* migration plans from what the scope holds, not from a version range, so it
|
|
14
|
+
* works whatever ref the scope is pinned at. Its plan lists every file it
|
|
15
|
+
* writes or deletes and why, what it cannot move and where that went, and any
|
|
16
|
+
* conflict. A plan with a conflict is not applied at all, and the upgrade's
|
|
17
|
+
* checks fail with it, so the dry run shows the whole plan and the tree is
|
|
18
|
+
* never left half moved.
|
|
19
|
+
*
|
|
20
|
+
* An applied migration's id is added to the lineage's `migrations`, so the
|
|
21
|
+
* lock records it and a second upgrade does not plan it again. A migration's
|
|
22
|
+
* plan is also empty once nothing it moves is left, so running it twice
|
|
23
|
+
* changes nothing either way.
|
|
24
|
+
*
|
|
25
|
+
* Files the migration rewrites keep their lineage entry: the lock's hash is
|
|
26
|
+
* still the template's, so to a later upgrade they are the project's own
|
|
27
|
+
* edits, merged per file like any other (ws-005). A deleted file keeps its
|
|
28
|
+
* entry too, so a template version that still has it leaves it deleted.
|
|
29
|
+
*/
|
|
30
|
+
import type { Lineage } from "./lineage-lock.js";
|
|
31
|
+
/** One file a plan writes or deletes, relative to the scope. */
|
|
32
|
+
export interface PlannedChange {
|
|
33
|
+
path: string;
|
|
34
|
+
action: "write" | "delete";
|
|
35
|
+
/** Why, in a few words. */
|
|
36
|
+
why: string;
|
|
37
|
+
/** The new content, for a write. */
|
|
38
|
+
data?: Buffer;
|
|
39
|
+
/** True when the file had been edited since the template wrote it; the edit stays in git history. */
|
|
40
|
+
edited?: boolean;
|
|
41
|
+
}
|
|
42
|
+
/** A part the migration does not move, and where it went instead. */
|
|
43
|
+
export interface NotMoved {
|
|
44
|
+
what: string;
|
|
45
|
+
where: string;
|
|
46
|
+
}
|
|
47
|
+
/** Why a plan cannot be applied. */
|
|
48
|
+
export interface PlanConflict {
|
|
49
|
+
path: string;
|
|
50
|
+
reason: string;
|
|
51
|
+
}
|
|
52
|
+
export interface ChantMigrationPlan {
|
|
53
|
+
id: string;
|
|
54
|
+
description: string;
|
|
55
|
+
changes: PlannedChange[];
|
|
56
|
+
notMoved: NotMoved[];
|
|
57
|
+
conflicts: PlanConflict[];
|
|
58
|
+
}
|
|
59
|
+
export interface ChantMigrationContext {
|
|
60
|
+
/** The scope directory (in the staging worktree). */
|
|
61
|
+
dir: string;
|
|
62
|
+
lineage: Lineage;
|
|
63
|
+
/** The chant version doing the upgrade, for dependency ranges. */
|
|
64
|
+
chantVersion: string;
|
|
65
|
+
}
|
|
66
|
+
export interface ChantMigration {
|
|
67
|
+
id: string;
|
|
68
|
+
description: string;
|
|
69
|
+
/** The plan for this scope, or null when there is nothing here for this migration to move. */
|
|
70
|
+
plan(ctx: ChantMigrationContext): ChantMigrationPlan | null;
|
|
71
|
+
}
|
|
72
|
+
/** Every migration chant ships, in the order they are planned. */
|
|
73
|
+
export declare const CHANT_MIGRATIONS: readonly ChantMigration[];
|
|
74
|
+
/** The plans for a scope: each migration not yet in the lineage that finds something to move. */
|
|
75
|
+
export declare function planChantMigrations(ctx: ChantMigrationContext, migrations?: readonly ChantMigration[]): ChantMigrationPlan[];
|
|
76
|
+
/**
|
|
77
|
+
* Plan each migration in order and apply each plan with no conflict before
|
|
78
|
+
* the next is planned, so a migration planned after another sees the tree
|
|
79
|
+
* the earlier one left (#2800: `chud-lexicon-exit-rollback` after
|
|
80
|
+
* `chud-lexicon-exit`). A plan with a conflict is not applied, and the ones
|
|
81
|
+
* after it plan from the tree as it is.
|
|
82
|
+
*/
|
|
83
|
+
export declare function runChantMigrations(ctx: ChantMigrationContext, migrations?: readonly ChantMigration[]): Array<{
|
|
84
|
+
plan: ChantMigrationPlan;
|
|
85
|
+
applied: boolean;
|
|
86
|
+
}>;
|
|
87
|
+
/** Apply a plan with no conflicts, and record its id in the lineage. */
|
|
88
|
+
export declare function applyChantMigration(plan: ChantMigrationPlan, dir: string, lineage: Lineage): void;
|
|
89
|
+
/** A plan as the upgrade reports it: no file contents. */
|
|
90
|
+
export interface ChantMigrationReport {
|
|
91
|
+
id: string;
|
|
92
|
+
description: string;
|
|
93
|
+
applied: boolean;
|
|
94
|
+
changes: Array<Omit<PlannedChange, "data">>;
|
|
95
|
+
notMoved: NotMoved[];
|
|
96
|
+
conflicts: PlanConflict[];
|
|
97
|
+
}
|
|
98
|
+
export declare function reportPlan(plan: ChantMigrationPlan, applied: boolean): ChantMigrationReport;
|
|
99
|
+
//# sourceMappingURL=chant-migrations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chant-migrations.d.ts","sourceRoot":"","sources":["../../src/workspace/chant-migrations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAQ9C,gEAAgE;AAChE,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC3B,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,oCAAoC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qGAAqG;IACrG,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qEAAqE;AACrE,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,oCAAoC;AACpC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,O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AE,YAAY,EAAE,CAAC;CAC3B;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,oBAAoB,CAS3F"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The box isolation checks, WSP123 and WSP124 (#2727).
|
|
3
|
+
*
|
|
4
|
+
* | Id | Code | Fails when |
|
|
5
|
+
* |---|---|---|
|
|
6
|
+
* | WSP123 | `box-isolation-collision` | two boxes on one host, or two ports in one box, resolve to the same port, state path or cookie name |
|
|
7
|
+
* | WSP124 | `box-isolation-literal` | a host's state root or a box's state entry is a literal machine path |
|
|
8
|
+
*
|
|
9
|
+
* Both are fixed errors. A collision means one box signs another's people out
|
|
10
|
+
* or reads another's identity (arugula-salad/studio#39), and a literal path
|
|
11
|
+
* means the declaration only holds on one machine. Neither has a case where
|
|
12
|
+
* turning the check down is the fix.
|
|
13
|
+
*/
|
|
14
|
+
import type { WorkspaceCheck } from "../checks.js";
|
|
15
|
+
export declare const WSP_BOX_COLLISION = "WSP123";
|
|
16
|
+
export declare const WSP_BOX_LITERAL = "WSP124";
|
|
17
|
+
export declare const BOX_ISOLATION_CHECKS: readonly WorkspaceCheck[];
|
|
18
|
+
//# sourceMappingURL=box-isolation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"box-isolation.d.ts","sourceRoot":"","sources":["../../../src/workspace/checks/box-isolation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,iBAAiB,WAAW,CAAC;AAC1C,eAAO,MAAM,eAAe,WAAW,CAAC;AAIxC,eAAO,MAAM,oBAAoB,EAAE,SAAS,cAAc,EA6CzD,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The box checks, WSP121 and WSP122 (#2726).
|
|
3
|
+
*
|
|
4
|
+
* A member whose entry has a `box` block is a box, or holds a box's
|
|
5
|
+
* declarations. A box holds no credential: each capability it needs outside
|
|
6
|
+
* itself (inference, Fountain, a third-party API) is reached through a
|
|
7
|
+
* broker, a runtime such as a lobby or a door, which holds the credential
|
|
8
|
+
* and enforces the scope the block declares. chant only states and checks
|
|
9
|
+
* this; it never runs a broker (ws-052).
|
|
10
|
+
*
|
|
11
|
+
* | Id | Code | Fails when |
|
|
12
|
+
* |---|---|---|
|
|
13
|
+
* | WSP121 | `box-credential-declared` | a file in the box member's directory carries a literal secret (fixed) |
|
|
14
|
+
* | WSP122 | `box-capability-unbrokered` | a capability in the block names no broker |
|
|
15
|
+
*
|
|
16
|
+
* WSP121 reads the member's files from the tree checked, so it works under
|
|
17
|
+
* `--at`, and runs no member code. A literal secret is either a value with a
|
|
18
|
+
* well-known credential shape (an AWS key id, a GitHub or Slack token, an
|
|
19
|
+
* `sk-` key, private key material), wherever it sits, or a literal string
|
|
20
|
+
* where a credential goes: under a key named like one (`API_KEY`, `token`,
|
|
21
|
+
* `credential`, `password`, ...), or the `value` of a `{ key, value }` vault
|
|
22
|
+
* secret. A reference is never one: `${VAR}` and `$VAR`, a secret-manager
|
|
23
|
+
* reference (`op://`, `bws://`, `infisical://`), a `{{...}}` template
|
|
24
|
+
* placeholder, and any expression, such as `process.env.X`, that is not a
|
|
25
|
+
* string literal. WSP121 is fixed: a credential in a box's files is in git.
|
|
26
|
+
*
|
|
27
|
+
* WSP123 and WSP124, box isolation (#2727), are in `./box-isolation.ts` and
|
|
28
|
+
* listed here after these two.
|
|
29
|
+
*
|
|
30
|
+
* WSP125 (`box-fountain-callback-undeclared`, #2780) is the one credential a
|
|
31
|
+
* box gets without asking. fountain v0.21.0 gives every persistent sandbox a
|
|
32
|
+
* callback token scoped to its owner (`FOUNTAIN_TOKEN`, `sandbox_api_access:
|
|
33
|
+
* owner`), and a fountain `Box` is always persistent, so its member's block
|
|
34
|
+
* has to say so: the capability `fountain-callback`, brokered by `fountain`,
|
|
35
|
+
* with scope `owner`. It is named apart from `fountain`, the API access a
|
|
36
|
+
* lobby may broker for the same box. A member builds a Box when one of its TypeScript or JavaScript files
|
|
37
|
+
* imports `Box` from `@intentius/chant-lexicon-fountain` and calls it, read as
|
|
38
|
+
* syntax and never run. Upstream, managoat/fountain#2497 asks for a way to run
|
|
39
|
+
* a persistent agent with no callback token.
|
|
40
|
+
*/
|
|
41
|
+
import * as ts from "typescript";
|
|
42
|
+
import type { WorkspaceCheck } from "../checks.js";
|
|
43
|
+
/** The read contract's codes for the box findings, carried as `code` on each. */
|
|
44
|
+
export declare const BOX_FINDING_CODES: readonly ["box-credential-declared", "box-capability-unbrokered", "box-isolation-collision", "box-isolation-literal", "box-fountain-callback-undeclared"];
|
|
45
|
+
export declare const WSP_BOX_CREDENTIAL = "WSP121";
|
|
46
|
+
export declare const WSP_BOX_UNBROKERED = "WSP122";
|
|
47
|
+
export declare const WSP_BOX_FOUNTAIN_CALLBACK = "WSP125";
|
|
48
|
+
/**
|
|
49
|
+
* The capability a box block declares for fountain's callback token (#2780).
|
|
50
|
+
* The fountain lexicon exports the same value as `BOX_FOUNTAIN_CALLBACK_CAPABILITY`.
|
|
51
|
+
*/
|
|
52
|
+
export declare const FOUNTAIN_CALLBACK_CAPABILITY: {
|
|
53
|
+
readonly name: "fountain-callback";
|
|
54
|
+
readonly broker: "fountain";
|
|
55
|
+
readonly scope: readonly ["owner"];
|
|
56
|
+
};
|
|
57
|
+
/** Where a file calls the fountain lexicon's `Box`, 1-based. */
|
|
58
|
+
export interface FountainBoxCall {
|
|
59
|
+
line: number;
|
|
60
|
+
column: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The first call of the fountain lexicon's `Box` in a TypeScript or
|
|
64
|
+
* JavaScript file, read as syntax and never run: `Box` imported by name
|
|
65
|
+
* (aliased or not) and called, or called through a namespace import. Any
|
|
66
|
+
* other `Box` is not the composite.
|
|
67
|
+
*/
|
|
68
|
+
export declare function fountainBoxCall(text: string, file: string, kind: ts.ScriptKind): FountainBoxCall | undefined;
|
|
69
|
+
/** Values whose shape alone says they are a credential. The list FTN001 uses, plus Anthropic keys. */
|
|
70
|
+
export declare const CREDENTIAL_SHAPES: readonly {
|
|
71
|
+
pattern: RegExp;
|
|
72
|
+
label: string;
|
|
73
|
+
}[];
|
|
74
|
+
/** Secret-manager references a value may be instead of the secret. */
|
|
75
|
+
export declare const SECRET_REFERENCE_SCHEMES: readonly ["op://", "bws://", "infisical://"];
|
|
76
|
+
/** Whether `key` names a credential. Exported for tests. */
|
|
77
|
+
export declare function isCredentialKey(key: string): boolean;
|
|
78
|
+
/** Whether `value` refers to a secret rather than being one. Exported for tests. */
|
|
79
|
+
export declare function isSecretReference(value: string): boolean;
|
|
80
|
+
/** The credential shape `value` has, or undefined. */
|
|
81
|
+
export declare function credentialShape(value: string): string | undefined;
|
|
82
|
+
/** One literal secret found in a file. */
|
|
83
|
+
export interface LiteralSecret {
|
|
84
|
+
/** 1-based. */
|
|
85
|
+
line: number;
|
|
86
|
+
column: number;
|
|
87
|
+
/** What was found, for the message: never the value itself. */
|
|
88
|
+
what: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The literal secrets in a TypeScript, JavaScript or JSON file, read as
|
|
92
|
+
* syntax and never run.
|
|
93
|
+
*/
|
|
94
|
+
export declare function literalSecretsInCode(text: string, file: string, kind: ts.ScriptKind): LiteralSecret[];
|
|
95
|
+
/**
|
|
96
|
+
* The literal secrets in any other text file, such as a shell script, an
|
|
97
|
+
* env file or YAML: a credential shape anywhere, or a line assigning a
|
|
98
|
+
* literal to a credential-named key.
|
|
99
|
+
*/
|
|
100
|
+
export declare function literalSecretsInText(text: string, assignments?: boolean): LiteralSecret[];
|
|
101
|
+
/** The literal secrets in one file, or none when the file is binary or too large. */
|
|
102
|
+
export declare function literalSecretsInFile(text: string, path: string): LiteralSecret[];
|
|
103
|
+
export declare const BOX_CHECKS: readonly WorkspaceC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AEjE;AAED,0CAA0C;AAC1C,MAAM,WAAW,aAAa;IAC5B,eAAe;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,IAAI,EAAE,MAAM,CAAC;CACd;AA4BD;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,UAAU,GAAG,aAAa,EAAE,CAkCrG;AAkBD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,UAAO,GAAG,aAAa,EAAE,CAgBtF;AAQD,qFAAqF;AACrF,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,aAAa,EAAE,CAMhF;AAmBD,eAAO,MAAM,UAAU,EAAE,SAAS,cAAc,EAyH/C,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The diagram checks, WSP131 to WSP133 (#2764).
|
|
3
|
+
*
|
|
4
|
+
* A declared diagram names a source and a render, pinned to the renderer
|
|
5
|
+
* its render was made with. chant never runs a renderer (ws-052), on a read
|
|
6
|
+
* path or here: these checks read the declaration and the tree checked
|
|
7
|
+
* only, and a render's drift is caught by comparing a recorded content hash,
|
|
8
|
+
* never by re-rendering the source.
|
|
9
|
+
*
|
|
10
|
+
* | Id | Code | Fails when |
|
|
11
|
+
* |---|---|---|
|
|
12
|
+
* | WSP131 | `diagram-source-missing` | a diagram names a source, and it does not exist in the tree read |
|
|
13
|
+
* | WSP132 | `diagram-render-missing` | a diagram's render does not exist in the tree read |
|
|
14
|
+
* | WSP133 | `diagram-render-drift` | a diagram records a `sourceHash`, and the source's bytes now hash to something else |
|
|
15
|
+
*
|
|
16
|
+
* WSP133 is opt-in per diagram: without a recorded `sourceHash` there is
|
|
17
|
+
* nothing to compare, so the entry is silently not checked for drift. A
|
|
18
|
+
* declaration records one by hashing the source when it commits a fresh
|
|
19
|
+
* render, the way a decision's evidence pins a file by hash
|
|
20
|
+
* (`../record-assets.ts`). Comparing that one recorded hash against the
|
|
21
|
+
* source in the tree read is cheap and deterministic, unlike shelling out to
|
|
22
|
+
* the pinned renderer and diffing its output, which chant does nowhere.
|
|
23
|
+
*/
|
|
24
|
+
import type { WorkspaceCheck } from "../checks.js";
|
|
25
|
+
/** The read contract's codes for the diagram findings, carried as `code` on each. */
|
|
26
|
+
export declare const DIAGRAM_FINDING_CODES: readonly ["diagram-source-missing", "diagram-render-missing", "diagram-render-drift"];
|
|
27
|
+
export declare const WSP_DIAGRAM_SOURCE_MISSING = "WSP131";
|
|
28
|
+
export declare const WSP_DIAGRAM_RENDER_MISSING = "WSP132";
|
|
29
|
+
export declare const WSP_DIAGRAM_RENDER_DRIFT = "WSP133";
|
|
30
|
+
export declare const DIAGRAM_CHECKS: readonly WorkspaceCheck[];
|
|
31
|
+
//# sourceMappingURL=diagrams.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diagrams.d.ts","sourceRoot":"","sources":["../../../src/workspace/checks/diagrams.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAGH,OAAO,KAAK,EAAE,cAAc,EAA8C,MAAM,WAAW,CAAC;AAI5F,qFAAqF;AACrF,eAAO,MAAM,qBAAqB,uFAAwH,CAAC;AAE3J,eAAO,MAAM,0BAA0B,WAAW,CAAC;AACnD,eAAO,MAAM,0BAA0B,WAAW,CAAC;AACnD,eAAO,MAAM,wBAAwB,WAAW,CAAC;AAejD,eAAO,MAAM,cAAc,EAAE,SAAS,cAAc,EA0DnD,CAAC"}
|
|
@@ -14,9 +14,17 @@
|
|
|
14
14
|
* | WSP113 | a pinned file that a superseding record pins at the old hash: the artifact did not follow the decision |
|
|
15
15
|
* | WSP114 | the records of `--kind` can't be read (fixed) |
|
|
16
16
|
* | WSP115 | a record kind the declaration names is missing or does not load as one (fixed, #2680) |
|
|
17
|
+
* | WSP116 | an answer kind's decision points file is missing or not valid (fixed, ws-058, #2738) |
|
|
18
|
+
* | WSP117 | a done work item has an acceptance criterion no passing evidence meets (#2772) |
|
|
19
|
+
*
|
|
20
|
+
* WSP117 reads the records of every declared work kind with acceptance
|
|
21
|
+
* criteria, in the working tree, and the records of `--kind`. It carries the
|
|
22
|
+
* reason code `work-acceptance-unmet`.
|
|
17
23
|
*/
|
|
18
24
|
import type { WorkspaceCheck } from "../checks.js";
|
|
19
25
|
import type { ReadErrorCode, RecordEntry } from "../records.js";
|
|
26
|
+
/** The read contract's codes the record checks carry as `code`: WSP117's (#2772). */
|
|
27
|
+
export declare const RECORD_FINDING_CODES: readonly ["work-acceptance-unmet"];
|
|
20
28
|
/** The records `check --kind` read, or why they could not be read. */
|
|
21
29
|
export type RecordFacts = {
|
|
22
30
|
kind: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records.d.ts","sourceRoot":"","sources":["../../../src/workspace/checks/records.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"records.d.ts","sourceRoot":"","sources":["../../../src/workspace/checks/records.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAuB,MAAM,WAAW,CAAC;AAErE,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE7D,qFAAqF;AACrF,eAAO,MAAM,oBAAoB,oCAAqE,CAAC;AAEvG,sEAAsE;AACtE,MAAM,MAAM,WAAW,GACnB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,SAAS,CAAC,WAAW,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAA;CAAE,GACtE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE;QAAE,IAAI,EAAE,aAAa,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC;AAgBtE,eAAO,MAAM,aAAa,EAAE,SAAS,cAAc,EA2HlD,CAAC"}
|
|
@@ -28,6 +28,12 @@
|
|
|
28
28
|
* | WSP101 to WSP106 | generated files |
|
|
29
29
|
* | WSP111 to WSP114 | records read with `--kind` (#2549) |
|
|
30
30
|
* | WSP115 | the record kinds the declaration names (#2680) |
|
|
31
|
+
* | WSP116 | the decision points file of each declared answer kind (ws-058) |
|
|
32
|
+
* | WSP117 | a done work item's acceptance criteria all met (#2772) |
|
|
33
|
+
* | WSP121, WSP122 | boxes: no literal credential, every capability brokered (#2726) |
|
|
34
|
+
* | WSP123, WSP124 | box isolation: no shared port, state path or cookie, no literal machine path (#2727) |
|
|
35
|
+
* | WSP125 | boxes: a fountain Box declares the callback token fountain gives its sandbox (#2780) |
|
|
36
|
+
* | WSP131 to WSP133 | diagram artifacts: source and render exist, a recorded source hash still matches (#2764) |
|
|
31
37
|
*/
|
|
32
38
|
import type { LintDiagnostic, LintRule, Severity } from "../lint/rule.js";
|
|
33
39
|
import type { PostSynthDiagnostic } from "../lint/post-synth.js";
|
|
@@ -79,6 +85,12 @@ export interface WorkspaceDiagnostic extends PostSynthDiagnostic {
|
|
|
79
85
|
pointer: string;
|
|
80
86
|
/** An absolute path, for a finding about a file other than the declaration, such as a record (#2549). It is reported at its first line. */
|
|
81
87
|
file?: string;
|
|
88
|
+
/** A path in the tree checked, relative to the workspace root, for a finding about a file there (#2726). It is reported at `line` and `column`. */
|
|
89
|
+
treeFile?: string;
|
|
90
|
+
line?: number;
|
|
91
|
+
column?: number;
|
|
92
|
+
/** The read contract's code for the finding, when it has one (#2726). */
|
|
93
|
+
code?: ReasonCode;
|
|
82
94
|
}
|
|
83
95
|
export interface WorkspaceCheck {
|
|
84
96
|
/** `WSP` and three digits. Public once shipped. */
|
|
@@ -94,7 +106,7 @@ export interface WorkspaceCheck {
|
|
|
94
106
|
/** A diagnostic ready for lint's reporters, with the entry it is about. */
|
|
95
107
|
export interface WorkspaceFinding extends LintDiagnostic {
|
|
96
108
|
entity?: string;
|
|
97
|
-
/** The read contract's reason code
|
|
109
|
+
/** The read contract's reason code: for a WSP001 finding, why the declaration can't be read (#2536); for a box check, its finding code (#2726). */
|
|
98
110
|
code?: ReasonCode;
|
|
99
111
|
}
|
|
100
112
|
export interface SuppressedFinding extends WorkspaceFinding {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checks.d.ts","sourceRoot":"","sources":["../../src/workspace/checks.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"checks.d.ts","sourceRoot":"","sources":["../../src/workspace/checks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAsD,KAAK,WAAW,EAAkC,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AACzJ,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EAA4C,KAAK,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5G,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAA0C,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EAAoC,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC5F,OAAO,EAAwC,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACpG,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGnE,OAAO,EAAqB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ACrB,8FAA8F;IAC9F,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED;;;;;;GAMG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,GAAE;IAAE,aAAa,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,OAAO,CAAC,cAAc,CAAC,CASrJ;AAUD;;;;;;;;GAQG;AACH,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAiB,EAC5C,OAAO,GAAE,uBAA4B,GACpC,OAAO,CAAC,sBAAsB,CAAC,CAuDjC"}
|
|
@@ -102,6 +102,8 @@ export interface GraphRecord {
|
|
|
102
102
|
state: string | null;
|
|
103
103
|
valid: boolean;
|
|
104
104
|
supersededBy: string | null;
|
|
105
|
+
/** The ids of records whose remediates link names this one (#2774). */
|
|
106
|
+
remediatedBy: string[];
|
|
105
107
|
}
|
|
106
108
|
/** Read one member's `chant graph --format ir` output, upgrading an unversioned (v1) IR in place. */
|
|
107
109
|
export declare function readMemberIr(text: string): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose-graph.d.ts","sourceRoot":"","sources":["../../src/workspace/compose-graph.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,EAAoB,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,QAAQ,EAAE,KAAK,QAAQ,EAAE,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,aAAa,C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