@intentius/chant 0.124.55 → 0.124.56
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/ci-agent.d.ts.map +1 -1
- package/dist/ci-agent.js +1 -2
- package/dist/ci-audit/attribution.d.ts +111 -0
- package/dist/ci-audit/attribution.d.ts.map +1 -0
- package/dist/ci-audit/attribution.js +194 -0
- package/dist/ci-audit/audit-log.d.ts +144 -0
- package/dist/ci-audit/audit-log.d.ts.map +1 -0
- package/dist/ci-audit/audit-log.js +149 -0
- package/dist/ci-audit/index.d.ts +12 -0
- package/dist/ci-audit/index.d.ts.map +1 -0
- package/dist/ci-audit/index.js +12 -0
- package/dist/ci-audit/unrecorded.d.ts +74 -0
- package/dist/ci-audit/unrecorded.d.ts.map +1 -0
- package/dist/ci-audit/unrecorded.js +95 -0
- package/dist/ci-audit.d.ts +3 -0
- package/dist/ci-audit.d.ts.map +1 -0
- package/dist/ci-audit.js +2 -0
- package/dist/ci-control.d.ts.map +1 -1
- package/dist/ci-control.js +3 -4
- package/dist/ci-estate.d.ts +24 -0
- package/dist/ci-estate.d.ts.map +1 -1
- package/dist/ci-estate.js +1 -2
- package/dist/ci-identity.d.ts.map +1 -1
- package/dist/ci-identity.js +2 -3
- package/dist/ci-job-guard.d.ts +139 -0
- package/dist/ci-job-guard.d.ts.map +1 -0
- package/dist/ci-job-guard.js +287 -0
- package/dist/ci-jobs.d.ts +7 -0
- package/dist/ci-jobs.d.ts.map +1 -1
- package/dist/ci-jobs.js +7 -0
- package/dist/ci-product-words.d.ts +7 -1
- package/dist/ci-product-words.d.ts.map +1 -1
- package/dist/ci-product-words.js +38 -4
- package/dist/ci-product.d.ts +35 -0
- package/dist/ci-product.d.ts.map +1 -1
- package/dist/ci-product.js +38 -3
- package/dist/ci-respond-run.d.ts +73 -0
- package/dist/ci-respond-run.d.ts.map +1 -0
- package/dist/ci-respond-run.js +247 -0
- package/dist/ci-respond.d.ts +189 -0
- package/dist/ci-respond.d.ts.map +1 -0
- package/dist/ci-respond.js +285 -0
- package/dist/cli/handlers/audit-log.d.ts +12 -0
- package/dist/cli/handlers/audit-log.d.ts.map +1 -0
- package/dist/cli/handlers/audit-log.js +81 -0
- package/dist/cli/handlers/build.d.ts +7 -0
- package/dist/cli/handlers/build.d.ts.map +1 -1
- package/dist/cli/handlers/build.js +81 -0
- package/dist/cli/handlers/ci-check-job.d.ts +11 -0
- package/dist/cli/handlers/ci-check-job.d.ts.map +1 -0
- package/dist/cli/handlers/ci-check-job.js +27 -0
- package/dist/cli/handlers/ci-check.d.ts.map +1 -1
- package/dist/cli/handlers/ci-check.js +38 -9
- package/dist/cli/handlers/e2e-safe-run.d.ts +12 -0
- package/dist/cli/handlers/e2e-safe-run.d.ts.map +1 -0
- package/dist/cli/handlers/e2e-safe-run.js +23 -0
- package/dist/cli/handlers/pr.d.ts +5 -0
- package/dist/cli/handlers/pr.d.ts.map +1 -1
- package/dist/cli/handlers/pr.js +259 -4
- package/dist/cli/handlers/run-wave.js +89 -1
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +56 -2
- package/dist/cli/parse-args.d.ts.map +1 -1
- package/dist/cli/parse-args.js +107 -0
- package/dist/cli/registry.d.ts +38 -0
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/components/adoption.d.ts.map +1 -1
- package/dist/components/adoption.js +1 -2
- package/dist/components/capability.d.ts +37 -0
- package/dist/components/capability.d.ts.map +1 -1
- package/dist/components/capability.js +25 -0
- package/dist/components/check-hooks.d.ts +4 -1
- package/dist/components/check-hooks.d.ts.map +1 -1
- package/dist/components/check-steps.d.ts +74 -0
- package/dist/components/check-steps.d.ts.map +1 -0
- package/dist/components/check-steps.js +102 -0
- package/dist/components/ci-services.d.ts.map +1 -1
- package/dist/components/ci-services.js +1 -2
- package/dist/components/driver.d.ts +12 -0
- package/dist/components/driver.d.ts.map +1 -1
- package/dist/components/driver.js +35 -1
- package/dist/components/groups.d.ts.map +1 -1
- package/dist/components/groups.js +4 -3
- package/dist/components/pr-env-ledger.d.ts.map +1 -1
- package/dist/components/pr-env-ledger.js +1 -2
- package/dist/components/pr-environment.d.ts +1 -1
- package/dist/components/pr-environment.d.ts.map +1 -1
- package/dist/components/pr-environment.js +1 -1
- package/dist/components/pr-pipeline.d.ts +129 -3
- package/dist/components/pr-pipeline.d.ts.map +1 -1
- package/dist/components/pr-pipeline.js +153 -17
- package/dist/components/pr-run.d.ts +8 -0
- package/dist/components/pr-run.d.ts.map +1 -1
- package/dist/components/pr-run.js +9 -4
- package/dist/components/product-pipeline.d.ts +35 -2
- package/dist/components/product-pipeline.d.ts.map +1 -1
- package/dist/components/product-pipeline.js +24 -5
- package/dist/components/wave-plan.d.ts +8 -0
- package/dist/components/wave-plan.d.ts.map +1 -1
- package/dist/components/wave-plan.js +18 -2
- package/dist/e2e-harness/bucket.d.ts +21 -0
- package/dist/e2e-harness/bucket.d.ts.map +1 -0
- package/dist/e2e-harness/bucket.js +61 -0
- package/dist/e2e-harness/claim.d.ts +70 -0
- package/dist/e2e-harness/claim.d.ts.map +1 -0
- package/dist/e2e-harness/claim.js +98 -0
- package/dist/e2e-harness/driver.d.ts +64 -0
- package/dist/e2e-harness/driver.d.ts.map +1 -0
- package/dist/e2e-harness/driver.js +243 -0
- package/dist/e2e-harness/forgejo.d.ts +77 -0
- package/dist/e2e-harness/forgejo.d.ts.map +1 -0
- package/dist/e2e-harness/forgejo.js +205 -0
- package/dist/e2e-harness/git.d.ts +32 -0
- package/dist/e2e-harness/git.d.ts.map +1 -0
- package/dist/e2e-harness/git.js +67 -0
- package/dist/e2e-harness/index.d.ts +22 -0
- package/dist/e2e-harness/index.d.ts.map +1 -0
- package/dist/e2e-harness/index.js +48 -0
- package/dist/e2e-harness/jobs.d.ts +8 -0
- package/dist/e2e-harness/jobs.d.ts.map +1 -0
- package/dist/e2e-harness/jobs.js +34 -0
- package/dist/e2e-harness/pins.d.ts +45 -0
- package/dist/e2e-harness/pins.d.ts.map +1 -0
- package/dist/e2e-harness/pins.js +44 -0
- package/dist/e2e-harness/ports.d.ts +113 -0
- package/dist/e2e-harness/ports.d.ts.map +1 -0
- package/dist/e2e-harness/ports.js +4 -0
- package/dist/e2e-harness/reports.d.ts +45 -0
- package/dist/e2e-harness/reports.d.ts.map +1 -0
- package/dist/e2e-harness/reports.js +57 -0
- package/dist/e2e-harness/safe-run-cli.d.ts +17 -0
- package/dist/e2e-harness/safe-run-cli.d.ts.map +1 -0
- package/dist/e2e-harness/safe-run-cli.js +43 -0
- package/dist/e2e-harness/safe-run.d.ts +61 -0
- package/dist/e2e-harness/safe-run.d.ts.map +1 -0
- package/dist/e2e-harness/safe-run.js +172 -0
- package/dist/e2e-harness/scenario.d.ts +11 -0
- package/dist/e2e-harness/scenario.d.ts.map +1 -0
- package/dist/e2e-harness/scenario.js +89 -0
- package/dist/e2e-harness/schemas/demo-cycle.schema.json +282 -0
- package/dist/e2e-harness/schemas/demo-step.schema.json +245 -0
- package/dist/e2e-harness/schemas/e2e-claim-row.schema.json +33 -0
- package/dist/e2e-harness/schemas/e2e-claims.schema.json +18 -0
- package/dist/e2e-harness/schemas/e2e-scenario.schema.json +150 -0
- package/dist/e2e-harness/schemas/index.d.ts +191 -0
- package/dist/e2e-harness/schemas/index.d.ts.map +1 -0
- package/dist/e2e-harness/schemas/index.js +62 -0
- package/dist/e2e-harness/stack.d.ts +124 -0
- package/dist/e2e-harness/stack.d.ts.map +1 -0
- package/dist/e2e-harness/stack.js +207 -0
- package/dist/e2e-harness/steps.d.ts +11 -0
- package/dist/e2e-harness/steps.d.ts.map +1 -0
- package/dist/e2e-harness/steps.js +22 -0
- package/dist/e2e-harness.d.ts +3 -0
- package/dist/e2e-harness.d.ts.map +1 -0
- package/dist/e2e-harness.js +2 -0
- package/dist/exit-codes.d.ts +7 -1
- package/dist/exit-codes.d.ts.map +1 -1
- package/dist/exit-codes.js +7 -1
- package/dist/lexicon.d.ts +46 -0
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/gate-ledger.d.ts.map +1 -1
- package/dist/lifecycle/gate-ledger.js +2 -3
- package/dist/lifecycle/gated-request.d.ts.map +1 -1
- package/dist/lifecycle/gated-request.js +1 -2
- package/dist/lifecycle/query.d.ts.map +1 -1
- package/dist/lifecycle/query.js +4 -5
- package/dist/lifecycle/release-catalog.d.ts.map +1 -1
- package/dist/lifecycle/release-catalog.js +1 -1
- package/dist/lifecycle/release-ledger.d.ts.map +1 -1
- package/dist/lifecycle/release-ledger.js +1 -2
- package/dist/lifecycle/release-status.d.ts +20 -0
- package/dist/lifecycle/release-status.d.ts.map +1 -1
- package/dist/lifecycle/release-status.js +1 -22
- package/dist/lifecycle/wave-plans.d.ts +23 -7
- package/dist/lifecycle/wave-plans.d.ts.map +1 -1
- package/dist/lifecycle/wave-plans.js +9 -2
- package/dist/op/approval-status.d.ts +103 -0
- package/dist/op/approval-status.d.ts.map +1 -0
- package/dist/op/approval-status.js +197 -0
- package/dist/op/index.d.ts +1 -1
- package/dist/op/index.d.ts.map +1 -1
- package/dist/op/index.js +1 -1
- package/dist/op/op-waves-capability-spec.d.ts +8 -0
- package/dist/op/op-waves-capability-spec.d.ts.map +1 -1
- package/dist/op/op-waves-capability-spec.js +21 -0
- package/dist/op/op-waves-release.d.ts.map +1 -1
- package/dist/op/op-waves-release.js +1 -2
- package/dist/op/op-waves-run.d.ts +7 -2
- package/dist/op/op-waves-run.d.ts.map +1 -1
- package/dist/op/op-waves-run.js +96 -4
- package/dist/op/op-waves-stand-down.d.ts.map +1 -1
- package/dist/op/op-waves-stand-down.js +1 -2
- package/dist/op/op-waves.d.ts +35 -0
- package/dist/op/op-waves.d.ts.map +1 -1
- package/dist/op/op-waves.js +46 -6
- package/dist/op/runtime.d.ts +4 -0
- package/dist/op/runtime.d.ts.map +1 -1
- package/dist/op/runtime.js +2 -3
- package/dist/otlp.d.ts.map +1 -1
- package/dist/otlp.js +1 -2
- package/dist/parallelism.d.ts +17 -0
- package/dist/parallelism.d.ts.map +1 -0
- package/dist/parallelism.js +33 -0
- package/dist/policy-source.d.ts.map +1 -1
- package/dist/policy-source.js +1 -2
- package/dist/pr-forge.d.ts.map +1 -1
- package/dist/pr-forge.js +56 -39
- package/dist/pr-loop.d.ts +9 -0
- package/dist/pr-loop.d.ts.map +1 -1
- package/dist/pr-loop.js +22 -3
- package/dist/pr-merge.d.ts +64 -0
- package/dist/pr-merge.d.ts.map +1 -0
- package/dist/pr-merge.js +78 -0
- package/dist/pr-post.d.ts +70 -1
- package/dist/pr-post.d.ts.map +1 -1
- package/dist/pr-post.js +116 -5
- package/dist/pr-report-url.d.ts.map +1 -1
- package/dist/pr-report-url.js +1 -2
- package/dist/release-floors.d.ts +1 -1
- package/dist/release-floors.js +1 -1
- package/dist/run-event.d.ts.map +1 -1
- package/dist/run-event.js +1 -2
- package/dist/scheduled-op-cloud.d.ts +32 -0
- package/dist/scheduled-op-cloud.d.ts.map +1 -0
- package/dist/scheduled-op-cloud.js +69 -0
- package/dist/wave-runtime.mjs +340 -327
- package/dist/workspace/ci-lock-grain.d.ts +5 -0
- package/dist/workspace/ci-lock-grain.d.ts.map +1 -1
- package/dist/workspace/ci-lock-grain.js +1 -7
- package/dist/workspace/ci-run.d.ts.map +1 -1
- package/dist/workspace/ci-run.js +5 -1
- package/dist/workspace/pr-report.schema.json +5 -0
- package/package.json +1 -1
- package/src/ci-agent.ts +1 -2
- package/src/ci-audit/__fixtures__/cloudtrail-lookup-bucket.json +37 -0
- package/src/ci-audit/__fixtures__/cloudtrail-writes-window.json +59 -0
- package/src/ci-audit/attribution.ts +260 -0
- package/src/ci-audit/audit-log.ts +220 -0
- package/src/ci-audit/ci-audit.test.ts +175 -0
- package/src/ci-audit/index.ts +15 -0
- package/src/ci-audit/unrecorded.ts +140 -0
- package/src/ci-audit.ts +2 -0
- package/src/ci-control.ts +3 -4
- package/src/ci-estate.ts +1 -2
- package/src/ci-identity-database.test.ts +2 -3
- package/src/ci-identity-targets.test.ts +1 -3
- package/src/ci-identity.ts +2 -3
- package/src/ci-job-guard.test.ts +154 -0
- package/src/ci-job-guard.ts +319 -0
- package/src/ci-jobs.ts +8 -0
- package/src/ci-product-comment-targets.test.ts +45 -0
- package/src/ci-product-words.ts +35 -6
- package/src/ci-product.ts +55 -3
- package/src/ci-respond-run.ts +291 -0
- package/src/ci-respond.test.ts +264 -0
- package/src/ci-respond.ts +412 -0
- package/src/cli/handlers/audit-log.ts +74 -0
- package/src/cli/handlers/build-pr-loop-flags.test.ts +98 -0
- package/src/cli/handlers/build.ts +69 -0
- package/src/cli/handlers/ci-check-job.test.ts +114 -0
- package/src/cli/handlers/ci-check-job.ts +33 -0
- package/src/cli/handlers/ci-check.ts +38 -8
- package/src/cli/handlers/e2e-safe-run.ts +27 -0
- package/src/cli/handlers/pr-plan-comment-targets.test.ts +166 -0
- package/src/cli/handlers/pr-plan-flags.test.ts +161 -0
- package/src/cli/handlers/pr.ts +228 -4
- package/src/cli/handlers/run-wave.ts +79 -1
- package/src/cli/main.test.ts +1 -1
- package/src/cli/main.ts +56 -2
- package/src/cli/parse-args.ts +77 -0
- package/src/cli/registry.ts +38 -0
- package/src/components/adoption.ts +1 -2
- package/src/components/capability.ts +50 -0
- package/src/components/check-hooks.ts +4 -1
- package/src/components/check-steps.test.ts +70 -0
- package/src/components/check-steps.ts +158 -0
- package/src/components/ci-services.ts +1 -2
- package/src/components/driver.ts +35 -1
- package/src/components/groups.ts +4 -2
- package/src/components/plan-flags.test.ts +46 -0
- package/src/components/pr-comment-preview-targets.test.ts +34 -0
- package/src/components/pr-env-ledger.ts +1 -2
- package/src/components/pr-env-run-bundle.test.ts +0 -20
- package/src/components/pr-environment.ts +1 -1
- package/src/components/pr-pipeline-runners.test.ts +80 -0
- package/src/components/pr-pipeline.ts +232 -17
- package/src/components/pr-run.ts +17 -6
- package/src/components/pr-stale-job.test.ts +34 -0
- package/src/components/product-pipeline.ts +50 -8
- package/src/components/wave-plan.ts +18 -2
- package/src/e2e-harness/__project__/chant.config.ts +4 -0
- package/src/e2e-harness/__project__/src/compose.ts +33 -0
- package/src/e2e-harness/bucket.ts +69 -0
- package/src/e2e-harness/claim.test.ts +150 -0
- package/src/e2e-harness/claim.ts +140 -0
- package/src/e2e-harness/driver.test.ts +304 -0
- package/src/e2e-harness/driver.ts +294 -0
- package/src/e2e-harness/forgejo.ts +267 -0
- package/src/e2e-harness/git.ts +96 -0
- package/src/e2e-harness/index.ts +50 -0
- package/src/e2e-harness/jobs.ts +35 -0
- package/src/e2e-harness/pins.ts +52 -0
- package/src/e2e-harness/ports.ts +130 -0
- package/src/e2e-harness/reports.ts +79 -0
- package/src/e2e-harness/safe-run-cli.test.ts +102 -0
- package/src/e2e-harness/safe-run-cli.ts +54 -0
- package/src/e2e-harness/safe-run.ts +198 -0
- package/src/e2e-harness/scenario.ts +89 -0
- package/src/e2e-harness/schemas/README.md +62 -0
- package/src/e2e-harness/schemas/demo-cycle.schema.json +282 -0
- package/src/e2e-harness/schemas/demo-step.schema.json +245 -0
- package/src/e2e-harness/schemas/e2e-claim-row.schema.json +33 -0
- package/src/e2e-harness/schemas/e2e-claims.schema.json +18 -0
- package/src/e2e-harness/schemas/e2e-scenario.schema.json +150 -0
- package/src/e2e-harness/schemas/index.ts +220 -0
- package/src/e2e-harness/schemas.test.ts +145 -0
- package/src/e2e-harness/stack.test.ts +124 -0
- package/src/e2e-harness/stack.ts +306 -0
- package/src/e2e-harness/steps.ts +30 -0
- package/src/e2e-harness.ts +2 -0
- package/src/exit-codes.test.ts +3 -2
- package/src/exit-codes.ts +7 -1
- package/src/gate-decision-bundle.test.ts +0 -2
- package/src/lexicon.ts +48 -0
- package/src/lifecycle/control-entries-ledger.test.ts +2 -3
- package/src/lifecycle/gate-ledger.ts +2 -3
- package/src/lifecycle/gated-request.ts +1 -2
- package/src/lifecycle/query.ts +4 -5
- package/src/lifecycle/release-catalog.test.ts +3 -4
- package/src/lifecycle/release-catalog.ts +1 -1
- package/src/lifecycle/release-ledger.ts +1 -2
- package/src/lifecycle/release-status.test.ts +3 -4
- package/src/lifecycle/release-status.ts +1 -2
- package/src/lifecycle/wave-plans.ts +33 -5
- package/src/op/approval-status.test.ts +134 -0
- package/src/op/approval-status.ts +235 -0
- package/src/op/gate-review.test.ts +2 -1
- package/src/op/index.ts +2 -0
- package/src/op/op-waves-after-plan.test.ts +12 -0
- package/src/op/op-waves-capability-spec.ts +20 -0
- package/src/op/op-waves-parallelism.test.ts +89 -0
- package/src/op/op-waves-pull-request.test.ts +78 -1
- package/src/op/op-waves-release.ts +1 -2
- package/src/op/op-waves-run.ts +94 -4
- package/src/op/op-waves-stand-down.ts +1 -2
- package/src/op/op-waves.ts +63 -6
- package/src/op/runtime.ts +6 -3
- package/src/otlp.ts +1 -2
- package/src/parallelism.test.ts +38 -0
- package/src/parallelism.ts +33 -0
- package/src/policy-source.ts +1 -2
- package/src/pr-forge-bundle.test.ts +1 -1
- package/src/pr-forge.ts +54 -35
- package/src/pr-loop-bundle.test.ts +1 -1
- package/src/pr-loop-narrowed.test.ts +63 -0
- package/src/pr-loop.ts +30 -3
- package/src/pr-merge.test.ts +100 -0
- package/src/pr-merge.ts +105 -0
- package/src/pr-post-stale.test.ts +163 -0
- package/src/pr-post.ts +159 -5
- package/src/pr-report-url.ts +1 -2
- package/src/product-subpaths-plain-node.e2e.test.ts +1 -0
- package/src/release-floors.ts +1 -1
- package/src/run-event.ts +1 -2
- package/src/scheduled-op-cloud.ts +68 -0
- package/src/stage-hooks-bundle.test.ts +0 -2
- package/src/workspace/ci-lock-grain.ts +1 -2
- package/src/workspace/ci-run.ts +5 -1
- package/src/workspace/pr-report.schema.json +5 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://intentius.io/chant/schemas/demo/demo-cycle/v1/demo-cycle.schema.json",
|
|
4
|
+
"title": "fan-out demo cycle",
|
|
5
|
+
"description": "One finished cycle of the fan-out demo, published at reset to cycles/latest.json and cycles/<cycle>.json, newest five kept. A cycle with a stalled step is never published, so latest is always a full cycle. Version 1 of the demo contract. Required fields are kept to a minimum: a new field is optional within contract 1, readers ignore fields they do not know, and a rename or removal is contract 2.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"$schema",
|
|
9
|
+
"contract",
|
|
10
|
+
"demo",
|
|
11
|
+
"cycle",
|
|
12
|
+
"steps"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"$schema": {
|
|
16
|
+
"const": "https://intentius.io/chant/schemas/demo/demo-cycle/v1/demo-cycle.schema.json"
|
|
17
|
+
},
|
|
18
|
+
"contract": {
|
|
19
|
+
"const": 1
|
|
20
|
+
},
|
|
21
|
+
"demo": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"repo": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"cycle": {
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"minimum": 0
|
|
30
|
+
},
|
|
31
|
+
"started": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "ISO-8601."
|
|
34
|
+
},
|
|
35
|
+
"ended": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "ISO-8601."
|
|
38
|
+
},
|
|
39
|
+
"steps": {
|
|
40
|
+
"type": "array",
|
|
41
|
+
"description": "Each demo-step record as written, with at.",
|
|
42
|
+
"items": {
|
|
43
|
+
"$ref": "#/$defs/cycleStep"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"reports": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"required": [
|
|
51
|
+
"stage",
|
|
52
|
+
"pr",
|
|
53
|
+
"commit",
|
|
54
|
+
"key"
|
|
55
|
+
],
|
|
56
|
+
"properties": {
|
|
57
|
+
"stage": {
|
|
58
|
+
"enum": [
|
|
59
|
+
"plan",
|
|
60
|
+
"apply"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"pr": {
|
|
64
|
+
"type": "integer",
|
|
65
|
+
"minimum": 1
|
|
66
|
+
},
|
|
67
|
+
"commit": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"pattern": "^[0-9a-f]{40,64}$"
|
|
70
|
+
},
|
|
71
|
+
"key": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"pattern": "^[0-9]+/[0-9a-f]{40,64}$",
|
|
74
|
+
"description": "reportKey(pr, commit)."
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"description": "Every stage of the cycle, as {stage, pr, commit, key}. In the order the stages ran: a writer appends each stage's key when its report is written, so the first apply of a cycle comes before the fix's."
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"$defs": {
|
|
82
|
+
"cycleStep": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"description": "A demo-step record as written (demo-step/v1), with at. step and at are required here; the rest follows demo-step/v1.",
|
|
85
|
+
"required": [
|
|
86
|
+
"step",
|
|
87
|
+
"at"
|
|
88
|
+
],
|
|
89
|
+
"properties": {
|
|
90
|
+
"demo": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "The demo's name, fan-out-estate."
|
|
93
|
+
},
|
|
94
|
+
"repo": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"description": "The forge repository the demo runs on, <org>/<repo>."
|
|
97
|
+
},
|
|
98
|
+
"cycle": {
|
|
99
|
+
"type": "integer",
|
|
100
|
+
"minimum": 0,
|
|
101
|
+
"description": "The cycle the step belongs to."
|
|
102
|
+
},
|
|
103
|
+
"scenario": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "The scenario the cycle plays, fan-out."
|
|
106
|
+
},
|
|
107
|
+
"name": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "The scenario's display name, for example fifteen stacks."
|
|
110
|
+
},
|
|
111
|
+
"title": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"description": "The story's title, shown on every step."
|
|
114
|
+
},
|
|
115
|
+
"step": {
|
|
116
|
+
"enum": [
|
|
117
|
+
"pull-request",
|
|
118
|
+
"planned",
|
|
119
|
+
"waiting",
|
|
120
|
+
"approved",
|
|
121
|
+
"merged",
|
|
122
|
+
"applying",
|
|
123
|
+
"failed",
|
|
124
|
+
"resumed",
|
|
125
|
+
"applied",
|
|
126
|
+
"reset",
|
|
127
|
+
"stalled"
|
|
128
|
+
],
|
|
129
|
+
"description": "Where the cycle stands. A step set gains a value only as an addition within a version."
|
|
130
|
+
},
|
|
131
|
+
"label": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "One line narrating the step."
|
|
134
|
+
},
|
|
135
|
+
"highlight": {
|
|
136
|
+
"description": "A call-out for the step: the thing that just happened worth stopping on, which a viewer may show as a modal. null or absent when the step has none. Optional within contract 1.",
|
|
137
|
+
"oneOf": [
|
|
138
|
+
{
|
|
139
|
+
"type": "null"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "object",
|
|
143
|
+
"required": [
|
|
144
|
+
"title",
|
|
145
|
+
"body"
|
|
146
|
+
],
|
|
147
|
+
"properties": {
|
|
148
|
+
"title": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"minLength": 1
|
|
151
|
+
},
|
|
152
|
+
"body": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"minLength": 1
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
"chapter": {
|
|
161
|
+
"oneOf": [
|
|
162
|
+
{
|
|
163
|
+
"type": "null"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"$ref": "#/$defs/chapter"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"description": "The chapter the step belongs to. null only on the base and on a stall before the first step; a stall otherwise keeps the chapter before it."
|
|
170
|
+
},
|
|
171
|
+
"started_at": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"description": "When the cycle started, ISO-8601."
|
|
174
|
+
},
|
|
175
|
+
"at": {
|
|
176
|
+
"type": "string"
|
|
177
|
+
},
|
|
178
|
+
"next": {
|
|
179
|
+
"type": "object",
|
|
180
|
+
"description": "What the driver does after the hold.",
|
|
181
|
+
"properties": {
|
|
182
|
+
"action": {
|
|
183
|
+
"type": "string"
|
|
184
|
+
},
|
|
185
|
+
"from": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"description": "When the hold began, ISO-8601."
|
|
188
|
+
},
|
|
189
|
+
"at": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "When the next step is due, ISO-8601."
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"pull": {
|
|
196
|
+
"type": [
|
|
197
|
+
"integer",
|
|
198
|
+
"null"
|
|
199
|
+
],
|
|
200
|
+
"minimum": 1,
|
|
201
|
+
"description": "The pull request number the step concerns, null before one exists."
|
|
202
|
+
},
|
|
203
|
+
"commit": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"pattern": "^[0-9a-f]{40,64}$",
|
|
206
|
+
"description": "The commit the step concerns: the head for a plan, the merge commit for an apply."
|
|
207
|
+
},
|
|
208
|
+
"reports": {
|
|
209
|
+
"$ref": "#/$defs/reports"
|
|
210
|
+
},
|
|
211
|
+
"about": {
|
|
212
|
+
"type": "object",
|
|
213
|
+
"description": "The about cards.",
|
|
214
|
+
"properties": {
|
|
215
|
+
"changes": {
|
|
216
|
+
"type": "string"
|
|
217
|
+
},
|
|
218
|
+
"watch": {
|
|
219
|
+
"type": "string"
|
|
220
|
+
},
|
|
221
|
+
"shows": {
|
|
222
|
+
"type": "string"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"$schema": {
|
|
227
|
+
"const": "https://intentius.io/chant/schemas/demo/demo-step/v1/demo-step.schema.json"
|
|
228
|
+
},
|
|
229
|
+
"contract": {
|
|
230
|
+
"const": 1
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"chapter": {
|
|
235
|
+
"type": "object",
|
|
236
|
+
"required": [
|
|
237
|
+
"n",
|
|
238
|
+
"of",
|
|
239
|
+
"headline",
|
|
240
|
+
"short"
|
|
241
|
+
],
|
|
242
|
+
"properties": {
|
|
243
|
+
"n": {
|
|
244
|
+
"type": "integer",
|
|
245
|
+
"minimum": 1
|
|
246
|
+
},
|
|
247
|
+
"of": {
|
|
248
|
+
"type": "integer",
|
|
249
|
+
"minimum": 1
|
|
250
|
+
},
|
|
251
|
+
"headline": {
|
|
252
|
+
"type": "string"
|
|
253
|
+
},
|
|
254
|
+
"short": {
|
|
255
|
+
"type": "string"
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"reports": {
|
|
260
|
+
"type": "object",
|
|
261
|
+
"required": [
|
|
262
|
+
"url"
|
|
263
|
+
],
|
|
264
|
+
"description": "Where chant's own reports for the cycle live. plan and apply are keys in reportKey(pr, commit) form, <pr>/<commit>, below url. The report files are pr-plan.json, pr-apply.json and the matching .events.jsonl.",
|
|
265
|
+
"properties": {
|
|
266
|
+
"url": {
|
|
267
|
+
"type": "string",
|
|
268
|
+
"description": "The --report-url the pipeline uploads to, always s3:// or https://.",
|
|
269
|
+
"pattern": "^(s3|https)://"
|
|
270
|
+
},
|
|
271
|
+
"plan": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"pattern": "^[0-9]+/[0-9a-f]{40,64}$"
|
|
274
|
+
},
|
|
275
|
+
"apply": {
|
|
276
|
+
"type": "string",
|
|
277
|
+
"pattern": "^[0-9]+/[0-9a-f]{40,64}$"
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://intentius.io/chant/schemas/demo/demo-step/v1/demo-step.schema.json",
|
|
4
|
+
"title": "fan-out demo step",
|
|
5
|
+
"description": "The step record of the fan-out demo, written to step.json at every step of a cycle. It narrates; the facts a viewer draws come from chant's own reports named under reports. Version 1 of the demo contract. Required fields are kept to a minimum: a new field is optional within contract 1, readers ignore fields they do not know, and a rename or removal is contract 2.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"$schema",
|
|
9
|
+
"contract",
|
|
10
|
+
"demo",
|
|
11
|
+
"cycle",
|
|
12
|
+
"step"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"$schema": {
|
|
16
|
+
"const": "https://intentius.io/chant/schemas/demo/demo-step/v1/demo-step.schema.json"
|
|
17
|
+
},
|
|
18
|
+
"contract": {
|
|
19
|
+
"const": 1
|
|
20
|
+
},
|
|
21
|
+
"demo": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "The demo's name, fan-out-estate."
|
|
24
|
+
},
|
|
25
|
+
"repo": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "The forge repository the demo runs on, <org>/<repo>."
|
|
28
|
+
},
|
|
29
|
+
"cycle": {
|
|
30
|
+
"type": "integer",
|
|
31
|
+
"minimum": 0,
|
|
32
|
+
"description": "The cycle the step belongs to."
|
|
33
|
+
},
|
|
34
|
+
"scenario": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "The scenario the cycle plays, fan-out."
|
|
37
|
+
},
|
|
38
|
+
"name": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "The scenario's display name, for example fifteen stacks."
|
|
41
|
+
},
|
|
42
|
+
"title": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "The story's title, shown on every step."
|
|
45
|
+
},
|
|
46
|
+
"step": {
|
|
47
|
+
"enum": [
|
|
48
|
+
"pull-request",
|
|
49
|
+
"planned",
|
|
50
|
+
"waiting",
|
|
51
|
+
"approved",
|
|
52
|
+
"merged",
|
|
53
|
+
"applying",
|
|
54
|
+
"failed",
|
|
55
|
+
"resumed",
|
|
56
|
+
"applied",
|
|
57
|
+
"reset",
|
|
58
|
+
"stalled"
|
|
59
|
+
],
|
|
60
|
+
"description": "Where the cycle stands. The enum lists the steps a writer may write in this version; a step can be added within contract 1, so a reader must not reject a step it does not know and treats it as one it cannot classify."
|
|
61
|
+
},
|
|
62
|
+
"label": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "One line narrating the step."
|
|
65
|
+
},
|
|
66
|
+
"highlight": {
|
|
67
|
+
"description": "A call-out for the step: the thing that just happened worth stopping on, which a viewer may show as a modal. null or absent when the step has none. Optional within contract 1.",
|
|
68
|
+
"oneOf": [
|
|
69
|
+
{
|
|
70
|
+
"type": "null"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "object",
|
|
74
|
+
"required": [
|
|
75
|
+
"title",
|
|
76
|
+
"body"
|
|
77
|
+
],
|
|
78
|
+
"properties": {
|
|
79
|
+
"title": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"minLength": 1
|
|
82
|
+
},
|
|
83
|
+
"body": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"minLength": 1
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"chapter": {
|
|
92
|
+
"oneOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": "null"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"$ref": "#/$defs/chapter"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"description": "The chapter the step belongs to. null only on the base and on a stall before the first step; a stall otherwise keeps the chapter before it."
|
|
101
|
+
},
|
|
102
|
+
"started_at": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"description": "When the cycle started, ISO-8601."
|
|
105
|
+
},
|
|
106
|
+
"at": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"description": "When this step was written, ISO-8601."
|
|
109
|
+
},
|
|
110
|
+
"next": {
|
|
111
|
+
"type": "object",
|
|
112
|
+
"description": "What the driver does after the hold.",
|
|
113
|
+
"properties": {
|
|
114
|
+
"action": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"from": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"description": "When the hold began, ISO-8601."
|
|
120
|
+
},
|
|
121
|
+
"at": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"description": "When the next step is due, ISO-8601."
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"pull": {
|
|
128
|
+
"type": [
|
|
129
|
+
"integer",
|
|
130
|
+
"null"
|
|
131
|
+
],
|
|
132
|
+
"minimum": 1,
|
|
133
|
+
"description": "The pull request number the step concerns, null before one exists."
|
|
134
|
+
},
|
|
135
|
+
"commit": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"pattern": "^[0-9a-f]{40,64}$",
|
|
138
|
+
"description": "The commit the step concerns: the head for a plan, the merge commit for an apply."
|
|
139
|
+
},
|
|
140
|
+
"reports": {
|
|
141
|
+
"$ref": "#/$defs/reports"
|
|
142
|
+
},
|
|
143
|
+
"cycle_reports": {
|
|
144
|
+
"type": "array",
|
|
145
|
+
"items": {
|
|
146
|
+
"$ref": "#/$defs/cycleReport"
|
|
147
|
+
},
|
|
148
|
+
"description": "The keys of every stage of this cycle so far, the same shape as demo-cycle's reports, so a reader that starts mid-cycle can find an earlier apply. In the order the stages ran: a writer appends each stage's key when its report is written, so the first apply of a cycle comes before the fix's."
|
|
149
|
+
},
|
|
150
|
+
"about": {
|
|
151
|
+
"type": "object",
|
|
152
|
+
"description": "The about cards.",
|
|
153
|
+
"properties": {
|
|
154
|
+
"changes": {
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
"watch": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
},
|
|
160
|
+
"shows": {
|
|
161
|
+
"type": "string"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"$defs": {
|
|
167
|
+
"chapter": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"required": [
|
|
170
|
+
"n",
|
|
171
|
+
"of",
|
|
172
|
+
"headline",
|
|
173
|
+
"short"
|
|
174
|
+
],
|
|
175
|
+
"properties": {
|
|
176
|
+
"n": {
|
|
177
|
+
"type": "integer",
|
|
178
|
+
"minimum": 1
|
|
179
|
+
},
|
|
180
|
+
"of": {
|
|
181
|
+
"type": "integer",
|
|
182
|
+
"minimum": 1
|
|
183
|
+
},
|
|
184
|
+
"headline": {
|
|
185
|
+
"type": "string"
|
|
186
|
+
},
|
|
187
|
+
"short": {
|
|
188
|
+
"type": "string"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"reports": {
|
|
193
|
+
"type": "object",
|
|
194
|
+
"required": [
|
|
195
|
+
"url"
|
|
196
|
+
],
|
|
197
|
+
"description": "Where chant's own reports for the cycle live. plan and apply are keys in reportKey(pr, commit) form, <pr>/<commit>, below url. The report files are pr-plan.json, pr-apply.json and the matching .events.jsonl.",
|
|
198
|
+
"properties": {
|
|
199
|
+
"url": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"description": "The --report-url the pipeline uploads to, always s3:// or https://.",
|
|
202
|
+
"pattern": "^(s3|https)://"
|
|
203
|
+
},
|
|
204
|
+
"plan": {
|
|
205
|
+
"type": "string",
|
|
206
|
+
"pattern": "^[0-9]+/[0-9a-f]{40,64}$"
|
|
207
|
+
},
|
|
208
|
+
"apply": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"pattern": "^[0-9]+/[0-9a-f]{40,64}$"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"cycleReport": {
|
|
215
|
+
"type": "object",
|
|
216
|
+
"required": [
|
|
217
|
+
"stage",
|
|
218
|
+
"pr",
|
|
219
|
+
"commit",
|
|
220
|
+
"key"
|
|
221
|
+
],
|
|
222
|
+
"properties": {
|
|
223
|
+
"stage": {
|
|
224
|
+
"enum": [
|
|
225
|
+
"plan",
|
|
226
|
+
"apply"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
"pr": {
|
|
230
|
+
"type": "integer",
|
|
231
|
+
"minimum": 1
|
|
232
|
+
},
|
|
233
|
+
"commit": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"pattern": "^[0-9a-f]{40,64}$"
|
|
236
|
+
},
|
|
237
|
+
"key": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"pattern": "^[0-9]+/[0-9a-f]{40,64}$",
|
|
240
|
+
"description": "reportKey(pr, commit)."
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://intentius.io/chant/schemas/e2e-harness/e2e-claim-row/v1/e2e-claim-row.schema.json",
|
|
4
|
+
"title": "e2e harness claim row",
|
|
5
|
+
"description": "One recorded claim of the e2e harness (chant#4587), terragucci's protocol: one claim, a plain run that must pass, a BREAK=1 run that must be caught, one row. The row is the claim outcome of a run record on the ledger (op e2e-claim, chant#4551), and a product's page reads the rows rendered as e2e-claims/v1. A row is only written for a run whose no-real-cloud scan said CLEAN. An engine counts a row only when engine.version is the version its claim is about. Version 1: a field is only ever added within contract 1, and a new field is optional.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["$schema", "contract", "product", "productCommit", "scenario", "claim", "engine", "floci", "date", "plain", "break", "safeRun"],
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"properties": {
|
|
10
|
+
"$schema": { "const": "https://intentius.io/chant/schemas/e2e-harness/e2e-claim-row/v1/e2e-claim-row.schema.json" },
|
|
11
|
+
"contract": { "const": 1 },
|
|
12
|
+
"product": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$", "description": "The product that drove the scenario." },
|
|
13
|
+
"productCommit": { "type": "string", "pattern": "^[0-9a-f]{40}$", "description": "The product's commit, in full." },
|
|
14
|
+
"scenario": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$", "description": "The scenario id." },
|
|
15
|
+
"claim": { "type": "string", "minLength": 1, "description": "The claim id." },
|
|
16
|
+
"engine": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": ["binary", "version"],
|
|
19
|
+
"additionalProperties": false,
|
|
20
|
+
"properties": {
|
|
21
|
+
"binary": { "type": "string", "minLength": 1, "description": "The engine binary the pipeline ran: choudoufu, plunge, tofu, pulumi, yodel, chant." },
|
|
22
|
+
"version": { "type": "string", "minLength": 1, "description": "Its version as it reported it." }
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"floci": { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$", "description": "The floci image digest the run's stack ran." },
|
|
26
|
+
"chant": { "type": "string", "description": "The chant version the harness ran." },
|
|
27
|
+
"date": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$", "description": "The run's date, UTC." },
|
|
28
|
+
"plain": { "enum": ["pass", "fail"], "description": "The plain run: pass when every outcome held." },
|
|
29
|
+
"break": { "enum": ["caught", "missed", "stalled"], "description": "The BREAK run: caught when an outcome did not hold, missed when all held, stalled when a step did not finish." },
|
|
30
|
+
"safeRun": { "const": "CLEAN", "description": "The no-real-cloud scan's verdict. Only CLEAN is ever recorded." },
|
|
31
|
+
"runUrl": { "type": "string", "description": "Where the run's logs are, when it ran in CI." }
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://intentius.io/chant/schemas/e2e-harness/e2e-claims/v1/e2e-claims.schema.json",
|
|
4
|
+
"title": "e2e harness claims of one product",
|
|
5
|
+
"description": "A product's recorded claims (chant#4587), rendered from the e2e-claim run records on its ledger: the newest row per scenario and claim, for the product's page to read, as terragucci's docs-site/src/data/smoke.json is read today. Version 1: a field is only ever added within contract 1, and a new field is optional.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["$schema", "contract", "product", "rows"],
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"properties": {
|
|
10
|
+
"$schema": { "const": "https://intentius.io/chant/schemas/e2e-harness/e2e-claims/v1/e2e-claims.schema.json" },
|
|
11
|
+
"contract": { "const": 1 },
|
|
12
|
+
"product": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$" },
|
|
13
|
+
"rows": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": { "$ref": "https://intentius.io/chant/schemas/e2e-harness/e2e-claim-row/v1/e2e-claim-row.schema.json" }
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|