@astrale-os/kernel-dsl 1.0.0-beta.3 → 1.0.0-beta.31
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/v1/addressing/class-key.js +3 -3
- package/dist/v1/addressing/definition-ref.js +21 -37
- package/dist/v1/addressing/domain-dependency.d.ts +0 -6
- package/dist/v1/addressing/domain-dependency.js +1 -6
- package/dist/v1/addressing/key.d.ts +4 -1
- package/dist/v1/addressing/key.js +23 -3
- package/dist/v1/addressing/ordering.d.ts +2 -0
- package/dist/v1/addressing/ordering.js +2 -0
- package/dist/v1/addressing/patterns.d.ts +1 -1
- package/dist/v1/addressing/patterns.js +2 -6
- package/dist/v1/builder/callable/authoring.d.ts +11 -5
- package/dist/v1/builder/callable/authoring.js +2 -0
- package/dist/v1/builder/class/authoring.d.ts +94 -224
- package/dist/v1/builder/class/authoring.js +30 -35
- package/dist/v1/builder/class/handle.d.ts +27 -0
- package/dist/v1/builder/class/handle.js +1 -0
- package/dist/v1/builder/class/input.d.ts +159 -0
- package/dist/v1/builder/class/projection.d.ts +129 -0
- package/dist/v1/builder/class/projection.js +1 -0
- package/dist/v1/builder/class/property.d.ts +3 -9
- package/dist/v1/builder/class/property.js +1 -0
- package/dist/v1/builder/core/authoring.d.ts +1 -1
- package/dist/v1/builder/index.d.ts +10 -2
- package/dist/v1/builder/index.js +2 -0
- package/dist/v1/builder/lowering/callable.js +1 -0
- package/dist/v1/builder/lowering/class.d.ts +9 -1
- package/dist/v1/builder/lowering/class.js +62 -17
- package/dist/v1/builder/lowering/policy.js +6 -24
- package/dist/v1/builder/lowering/property-keys.d.ts +27 -0
- package/dist/v1/builder/lowering/property-keys.js +108 -0
- package/dist/v1/builder/lowering/schema/compile.js +13 -6
- package/dist/v1/builder/lowering/schema/context.d.ts +9 -1
- package/dist/v1/builder/lowering/schema/context.js +36 -7
- package/dist/v1/builder/lowering/schema/lifetime.d.ts +11 -0
- package/dist/v1/builder/lowering/schema/lifetime.js +55 -0
- package/dist/v1/builder/lowering/value/compile.js +29 -22
- package/dist/v1/builder/lowering/value/file.d.ts +7 -0
- package/dist/v1/builder/lowering/value/file.js +14 -0
- package/dist/v1/builder/lowering/value/path.d.ts +1 -1
- package/dist/v1/builder/lowering/value/path.js +2 -4
- package/dist/v1/builder/lowering/value/zod.js +41 -7
- package/dist/v1/builder/policy/authoring.d.ts +80 -9
- package/dist/v1/builder/policy/authoring.js +99 -68
- package/dist/v1/builder/policy/legacy/edge.d.ts +28 -0
- package/dist/v1/builder/policy/legacy/edge.js +16 -0
- package/dist/v1/builder/schema/define.d.ts +0 -1
- package/dist/v1/builder/schema/diagnostic.d.ts +3 -2
- package/dist/v1/builder/schema/diagnostic.js +5 -10
- package/dist/v1/builder/schema/input.d.ts +4 -1
- package/dist/v1/builder/schema/projection/callable.d.ts +7 -5
- package/dist/v1/builder/schema/projection/class.d.ts +78 -16
- package/dist/v1/builder/schema/projection/core-input.d.ts +2 -1
- package/dist/v1/builder/schema/projection/domain.d.ts +13 -2
- package/dist/v1/builder/schema/projection/identity.d.ts +74 -9
- package/dist/v1/builder/schema/projection/model.d.ts +4 -2
- package/dist/v1/builder/schema/projection/property.d.ts +38 -4
- package/dist/v1/builder/schema/projection/resolved-class.d.ts +5 -4
- package/dist/v1/builder/schema/projection.d.ts +1 -1
- package/dist/v1/builder/schema/rule.d.ts +316 -0
- package/dist/v1/builder/schema/rule.js +192 -0
- package/dist/v1/builder/value/file.d.ts +34 -0
- package/dist/v1/builder/value/file.js +77 -0
- package/dist/v1/builder/value/full-match.d.ts +0 -1
- package/dist/v1/builder/value/full-match.js +0 -1
- package/dist/v1/builder/value/path-metadata.d.ts +1 -1
- package/dist/v1/builder/value/path.d.ts +1 -1
- package/dist/v1/bundle/codec.js +55 -74
- package/dist/v1/bundle/diagnostic.d.ts +3 -1
- package/dist/v1/bundle/diagnostic.js +9 -7
- package/dist/v1/bundle/index.d.ts +2 -0
- package/dist/v1/bundle/index.js +1 -0
- package/dist/v1/bundle/model.js +1 -1
- package/dist/v1/bundle/rule.d.ts +14 -0
- package/dist/v1/bundle/rule.js +41 -0
- package/dist/v1/bundle/structure.js +6 -8
- package/dist/v1/compiled/admission/accept.js +9 -15
- package/dist/v1/compiled/admission/closure.js +17 -34
- package/dist/v1/compiled/admission/diagnostic.d.ts +23 -1
- package/dist/v1/compiled/admission/diagnostic.js +40 -3
- package/dist/v1/compiled/admission/revision.d.ts +9 -1
- package/dist/v1/compiled/admission/revision.js +7 -3
- package/dist/v1/compiled/admission/semantics/class.d.ts +4 -1
- package/dist/v1/compiled/admission/semantics/class.js +48 -19
- package/dist/v1/compiled/admission/semantics/core.d.ts +1 -24
- package/dist/v1/compiled/admission/semantics/core.js +56 -24
- package/dist/v1/compiled/admission/semantics/edge.d.ts +2 -4
- package/dist/v1/compiled/admission/semantics/edge.js +6 -65
- package/dist/v1/compiled/admission/semantics/policy/admit.js +4 -19
- package/dist/v1/compiled/admission/semantics/policy/callable.js +2 -5
- package/dist/v1/compiled/admission/semantics/policy/contracts.d.ts +5 -20
- package/dist/v1/compiled/admission/semantics/policy/contracts.js +8 -21
- package/dist/v1/compiled/admission/semantics/policy/parity.js +44 -53
- package/dist/v1/compiled/admission/semantics/policy/pattern.d.ts +4 -1
- package/dist/v1/compiled/admission/semantics/policy/pattern.js +7 -21
- package/dist/v1/compiled/admission/semantics/policy/typing.d.ts +2 -24
- package/dist/v1/compiled/admission/semantics/policy/typing.js +19 -201
- package/dist/v1/compiled/admission/wire/callable.d.ts +5 -2
- package/dist/v1/compiled/admission/wire/callable.js +24 -20
- package/dist/v1/compiled/admission/wire/class.js +79 -30
- package/dist/v1/compiled/admission/wire/entry.d.ts +1 -1
- package/dist/v1/compiled/admission/wire/entry.js +36 -13
- package/dist/v1/compiled/admission/wire/policy.d.ts +4 -3
- package/dist/v1/compiled/admission/wire/policy.js +27 -20
- package/dist/v1/compiled/admission/wire/program.d.ts +13 -3
- package/dist/v1/compiled/admission/wire/program.js +39 -44
- package/dist/v1/compiled/admission/wire/property.d.ts +4 -1
- package/dist/v1/compiled/admission/wire/property.js +8 -5
- package/dist/v1/compiled/admission/wire/value.d.ts +0 -2
- package/dist/v1/compiled/admission/wire/value.js +0 -7
- package/dist/v1/compiled/codec/json.js +4 -3
- package/dist/v1/compiled/compiler/compile.js +15 -33
- package/dist/v1/compiled/diagnostic.d.ts +1 -1
- package/dist/v1/compiled/diagnostic.js +2 -3
- package/dist/v1/compiled/index.d.ts +2 -0
- package/dist/v1/compiled/index.js +1 -0
- package/dist/v1/compiled/loader/load.d.ts +3 -2
- package/dist/v1/compiled/loader/load.js +13 -52
- package/dist/v1/compiled/model/schema.d.ts +3 -0
- package/dist/v1/compiled/rule.d.ts +49 -0
- package/dist/v1/compiled/rule.js +169 -0
- package/dist/v1/domain/create.js +9 -10
- package/dist/v1/domain/model/domain.d.ts +2 -7
- package/dist/v1/domain/model/input.d.ts +19 -10
- package/dist/v1/domain/namespace/member-collection.js +8 -7
- package/dist/v1/domain/projection/classes.js +11 -8
- package/dist/v1/domain/validation/create.d.ts +7 -16
- package/dist/v1/domain/validation/create.js +35 -81
- package/dist/v1/index.d.ts +5 -3
- package/dist/v1/index.js +1 -1
- package/dist/v1/language/.spec/schemas/draft-2020-12.schema.json +462 -0
- package/dist/v1/language/.spec/schemas/value-schema.schema.json +23 -0
- package/dist/v1/language/callable/admission.d.ts +15 -0
- package/dist/v1/language/callable/admission.js +44 -0
- package/dist/v1/language/callable/model/callable.d.ts +10 -0
- package/dist/v1/language/callable/resolved.d.ts +26 -5
- package/dist/v1/language/chain.d.ts +7 -0
- package/dist/v1/language/chain.js +24 -0
- package/dist/v1/language/class/inheritance.d.ts +36 -5
- package/dist/v1/language/class/inheritance.js +85 -1
- package/dist/v1/language/class/lifetime.d.ts +50 -11
- package/dist/v1/language/class/lifetime.js +89 -20
- package/dist/v1/language/class/model/class.d.ts +45 -9
- package/dist/v1/language/class/model/edge.d.ts +31 -2
- package/dist/v1/language/class/model/property.d.ts +16 -7
- package/dist/v1/language/class/property-values.js +2 -4
- package/dist/v1/language/class/resolved.d.ts +9 -4
- package/dist/v1/language/class/unique.d.ts +143 -0
- package/dist/v1/language/class/unique.js +264 -0
- package/dist/v1/language/core/facts.d.ts +85 -0
- package/dist/v1/language/core/facts.js +116 -0
- package/dist/v1/language/cycle.d.ts +10 -0
- package/dist/v1/language/cycle.js +30 -0
- package/dist/v1/language/definition/metadata.d.ts +38 -0
- package/dist/v1/language/definition/metadata.js +51 -0
- package/dist/v1/language/freeze.d.ts +5 -0
- package/dist/v1/{schema/canonical → language}/freeze.js +4 -0
- package/dist/v1/language/index.d.ts +7 -2
- package/dist/v1/language/index.js +5 -1
- package/dist/v1/language/limits.d.ts +83 -0
- package/dist/v1/language/limits.js +77 -0
- package/dist/v1/language/policy/analysis/branches.d.ts +8 -0
- package/dist/v1/language/policy/analysis/branches.js +8 -8
- package/dist/v1/language/policy/analysis/budgets.d.ts +45 -12
- package/dist/v1/language/policy/analysis/budgets.js +140 -20
- package/dist/v1/language/policy/analysis/checks.js +8 -6
- package/dist/v1/language/policy/analysis/composition.d.ts +4 -0
- package/dist/v1/language/policy/analysis/composition.js +11 -0
- package/dist/v1/language/policy/analysis/typing.d.ts +51 -0
- package/dist/v1/language/policy/analysis/typing.js +456 -0
- package/dist/v1/language/policy/model/policy.d.ts +71 -9
- package/dist/v1/language/policy/model/policy.js +42 -4
- package/dist/v1/language/policy/normalization/normalize.d.ts +6 -6
- package/dist/v1/language/policy/normalization/normalize.js +46 -68
- package/dist/v1/language/suspended.d.ts +7 -0
- package/dist/v1/language/suspended.js +23 -0
- package/dist/v1/language/validation/diagnostic.d.ts +15 -1
- package/dist/v1/language/validation/diagnostic.js +21 -0
- package/dist/v1/language/validation/rule.d.ts +45 -0
- package/dist/v1/language/validation/rule.js +109 -0
- package/dist/v1/language/value/compile/fields.js +16 -16
- package/dist/v1/language/value/compile/load.d.ts +5 -0
- package/dist/v1/language/value/compile/load.js +13 -0
- package/dist/v1/language/value/evaluate/assertions.d.ts +5 -1
- package/dist/v1/language/value/evaluate/assertions.js +19 -8
- package/dist/v1/language/value/evaluate/evaluator.js +117 -120
- package/dist/v1/language/value/evaluate/preparation.d.ts +16 -0
- package/dist/v1/language/value/evaluate/preparation.js +100 -47
- package/dist/v1/language/value/evaluate/program.d.ts +2 -1
- package/dist/v1/language/value/evaluate/program.js +6 -6
- package/dist/v1/language/value/evaluate/validate.d.ts +3 -3
- package/dist/v1/language/value/evaluate/validate.js +15 -11
- package/dist/v1/language/value/evaluate/validity.optimization.d.ts +14 -0
- package/dist/v1/language/value/evaluate/validity.optimization.js +338 -0
- package/dist/v1/language/value/files.d.ts +44 -0
- package/dist/v1/language/value/files.js +151 -0
- package/dist/v1/language/value/inclusion/arrays.d.ts +3 -0
- package/dist/v1/language/value/inclusion/arrays.js +85 -0
- package/dist/v1/language/value/inclusion/assertions.d.ts +18 -0
- package/dist/v1/language/value/inclusion/assertions.js +28 -0
- package/dist/v1/language/value/inclusion/combinators.d.ts +3 -0
- package/dist/v1/language/value/inclusion/combinators.js +67 -0
- package/dist/v1/language/value/inclusion/equivalence.d.ts +4 -0
- package/dist/v1/language/value/inclusion/equivalence.js +76 -0
- package/dist/v1/language/value/inclusion/evidence.d.ts +34 -0
- package/dist/v1/language/value/inclusion/evidence.js +140 -0
- package/dist/v1/language/value/inclusion/includes.d.ts +29 -3
- package/dist/v1/language/value/inclusion/includes.js +58 -723
- package/dist/v1/language/value/inclusion/keywords.d.ts +5 -0
- package/dist/v1/language/value/inclusion/keywords.js +31 -0
- package/dist/v1/language/value/inclusion/kinds.d.ts +17 -0
- package/dist/v1/language/value/inclusion/kinds.js +57 -0
- package/dist/v1/language/value/inclusion/location.d.ts +24 -0
- package/dist/v1/language/value/inclusion/location.js +66 -0
- package/dist/v1/language/value/inclusion/numbers.d.ts +3 -0
- package/dist/v1/language/value/inclusion/numbers.js +41 -0
- package/dist/v1/language/value/inclusion/objects.d.ts +3 -0
- package/dist/v1/language/value/inclusion/objects.js +190 -0
- package/dist/v1/language/value/inclusion/strings.d.ts +3 -0
- package/dist/v1/language/value/inclusion/strings.js +29 -0
- package/dist/v1/language/value/inclusion/types.d.ts +3 -0
- package/dist/v1/language/value/inclusion/types.js +34 -0
- package/dist/v1/language/value/model/blob.d.ts +6 -0
- package/dist/v1/language/value/model/blob.js +8 -0
- package/dist/v1/language/value/model/file.d.ts +41 -0
- package/dist/v1/language/value/model/file.js +122 -0
- package/dist/v1/language/value/ordering.d.ts +14 -0
- package/dist/v1/language/value/ordering.js +144 -77
- package/dist/v1/language/value/profile/canonicalize.d.ts +6 -1
- package/dist/v1/language/value/profile/canonicalize.js +67 -87
- package/dist/v1/language/value/profile/json.validate.d.ts +12 -0
- package/dist/v1/language/value/profile/json.validate.js +18 -5
- package/dist/v1/language/value/profile/meta-schema.compiled.d.ts +1 -0
- package/dist/v1/language/value/profile/meta-schema.compiled.js +21 -5
- package/dist/v1/language/value/profile/rules.js +27 -44
- package/dist/v1/language/value/profile/validate.js +1 -10
- package/dist/v1/language/value/profile/vocabulary.d.ts +36 -2
- package/dist/v1/language/value/profile/vocabulary.js +58 -5
- package/dist/v1/language/value/reference/closure.js +6 -6
- package/dist/v1/language/value/reference/recursion.js +9 -48
- package/dist/v1/language/value/reference/references.d.ts +3 -1
- package/dist/v1/language/value/reference/references.js +7 -7
- package/dist/v1/language/value/reference/registry.index.d.ts +2 -0
- package/dist/v1/language/value/reference/registry.index.js +33 -16
- package/dist/v1/language/value/regexp/ast.js +6 -7
- package/dist/v1/language/value/regexp/compile.d.ts +5 -11
- package/dist/v1/language/value/regexp/compile.js +14 -12
- package/dist/v1/language/value/regexp/syntax.js +3 -2
- package/dist/v1/language/value/regexp/unicode.d.ts +1 -1
- package/dist/v1/language/value/regexp/unicode.js +1 -1
- package/dist/v1/language/value/syntax/keywords.d.ts +3 -3
- package/dist/v1/language/value/syntax/keywords.js +4 -20
- package/dist/v1/language/value/syntax/node-path/validate.js +2 -3
- package/dist/v1/language/value/syntax/pointer.d.ts +2 -0
- package/dist/v1/language/value/syntax/pointer.js +5 -2
- package/dist/v1/language/value/syntax/walk.d.ts +9 -0
- package/dist/v1/language/value/syntax/walk.js +37 -20
- package/dist/v1/schema/.spec/schemas/domain-schema.schema.json +2596 -0
- package/dist/v1/schema/admission/accept.d.ts +3 -1
- package/dist/v1/schema/admission/accept.js +6 -14
- package/dist/v1/schema/admission/callable.d.ts +21 -0
- package/dist/v1/schema/admission/callable.js +96 -0
- package/dist/v1/schema/analysis/class.d.ts +4 -0
- package/dist/v1/schema/analysis/class.js +57 -17
- package/dist/v1/schema/canonical/revision.d.ts +4 -1
- package/dist/v1/schema/canonical/revision.js +8 -5
- package/dist/v1/schema/compatibility/api.d.ts +4 -1
- package/dist/v1/schema/compatibility/api.js +2 -0
- package/dist/v1/schema/compatibility/comparators/callables.js +1 -1
- package/dist/v1/schema/compatibility/comparators/classes.d.ts +9 -4
- package/dist/v1/schema/compatibility/comparators/classes.js +50 -29
- package/dist/v1/schema/compatibility/comparators/index.d.ts +1 -1
- package/dist/v1/schema/compatibility/comparators/members.js +1 -1
- package/dist/v1/schema/compatibility/comparators/values.js +2 -2
- package/dist/v1/schema/compatibility/context.d.ts +5 -2
- package/dist/v1/schema/compatibility/context.js +8 -6
- package/dist/v1/schema/compatibility/coordinate.js +3 -3
- package/dist/v1/schema/compatibility/diff.js +2 -4
- package/dist/v1/schema/compatibility/extension.d.ts +11 -0
- package/dist/v1/schema/compatibility/extension.js +22 -0
- package/dist/v1/schema/compatibility/fields.d.ts +20 -4
- package/dist/v1/schema/compatibility/fields.js +13 -3
- package/dist/v1/schema/compatibility/meaning/footprint.js +16 -51
- package/dist/v1/schema/compatibility/model.d.ts +17 -5
- package/dist/v1/schema/compatibility/references.d.ts +0 -3
- package/dist/v1/schema/compatibility/references.js +1 -9
- package/dist/v1/schema/compatibility/report.js +1 -1
- package/dist/v1/schema/compatibility/rule.d.ts +13 -0
- package/dist/v1/schema/compatibility/rule.js +23 -0
- package/dist/v1/schema/compatibility/scope.d.ts +2 -0
- package/dist/v1/schema/compatibility/scope.js +4 -1
- package/dist/v1/schema/compatibility/structure/index.js +6 -4
- package/dist/v1/schema/compatibility/structure/requirements.js +58 -61
- package/dist/v1/schema/compatibility/versioning/index.js +1 -1
- package/dist/v1/schema/compatibility/versioning/surface.d.ts +1 -1
- package/dist/v1/schema/compatibility/versioning/surface.js +30 -2
- package/dist/v1/schema/compatibility/walk.d.ts +17 -0
- package/dist/v1/schema/compatibility/walk.js +41 -0
- package/dist/v1/schema/diagnostic.d.ts +17 -3
- package/dist/v1/schema/diagnostic.js +14 -11
- package/dist/v1/schema/enforcement/changes.d.ts +590 -0
- package/dist/v1/schema/enforcement/changes.js +566 -0
- package/dist/v1/schema/enforcement/derived.d.ts +236 -0
- package/dist/v1/schema/enforcement/derived.js +243 -0
- package/dist/v1/schema/enforcement/dispose.d.ts +308 -0
- package/dist/v1/schema/enforcement/dispose.js +275 -0
- package/dist/v1/schema/enforcement/facts.d.ts +89 -0
- package/dist/v1/schema/enforcement/facts.js +70 -0
- package/dist/v1/schema/enforcement/fields.d.ts +65 -0
- package/dist/v1/schema/enforcement/fields.js +36 -0
- package/dist/v1/schema/enforcement/index.d.ts +39 -0
- package/dist/v1/schema/enforcement/index.js +10 -0
- package/dist/v1/schema/enforcement/install.d.ts +1634 -0
- package/dist/v1/schema/enforcement/install.js +1223 -0
- package/dist/v1/schema/enforcement/lifecycle.d.ts +87 -0
- package/dist/v1/schema/enforcement/lifecycle.js +91 -0
- package/dist/v1/schema/enforcement/model.d.ts +253 -0
- package/dist/v1/schema/enforcement/model.js +1 -0
- package/dist/v1/schema/enforcement/obligations.d.ts +248 -0
- package/dist/v1/schema/enforcement/obligations.js +240 -0
- package/dist/v1/schema/enforcement/write.d.ts +1314 -0
- package/dist/v1/schema/enforcement/write.js +1017 -0
- package/dist/v1/schema/index.d.ts +11 -1
- package/dist/v1/schema/index.js +5 -0
- package/dist/v1/schema/model/schema.d.ts +23 -1
- package/dist/v1/schema/model/schema.js +1 -1
- package/dist/v1/schema/normalization/domain.d.ts +2 -0
- package/dist/v1/schema/normalization/domain.js +50 -13
- package/dist/v1/schema/resolution/closure.js +2 -1
- package/dist/v1/schema/resolution/context.js +17 -18
- package/dist/v1/schema/resolution/domain.d.ts +5 -0
- package/dist/v1/schema/resolution/domain.js +6 -12
- package/dist/v1/schema/resolution/origins.js +6 -8
- package/dist/v1/schema/rule.d.ts +25 -0
- package/dist/v1/schema/rule.js +459 -0
- package/dist/v1/schema/validation/callable.d.ts +35 -2
- package/dist/v1/schema/validation/callable.js +65 -9
- package/dist/v1/schema/validation/class.d.ts +6 -2
- package/dist/v1/schema/validation/class.js +128 -105
- package/dist/v1/schema/validation/core.js +103 -173
- package/dist/v1/schema/validation/domain.js +25 -15
- package/dist/v1/schema/validation/domain.json-schema.d.ts +15 -0
- package/dist/v1/schema/validation/domain.json-schema.js +222 -0
- package/dist/v1/schema/validation/domain.route.d.ts +6 -1
- package/dist/v1/schema/validation/domain.route.js +18 -0
- package/dist/v1/schema/validation/domain.structure.d.ts +7797 -0
- package/dist/v1/schema/validation/domain.structure.js +516 -160
- package/dist/v1/schema/validation/icon.d.ts +4 -0
- package/dist/v1/schema/validation/icon.js +29 -0
- package/dist/v1/schema/validation/json.json-schema.d.ts +40 -0
- package/dist/v1/schema/validation/json.json-schema.js +46 -0
- package/dist/v1/schema/validation/policy/budgets.d.ts +37 -2
- package/dist/v1/schema/validation/policy/budgets.js +94 -121
- package/dist/v1/schema/validation/policy/context.d.ts +6 -5
- package/dist/v1/schema/validation/policy/context.js +7 -10
- package/dist/v1/schema/validation/policy/objects.d.ts +1 -1
- package/dist/v1/schema/validation/policy/objects.js +6 -14
- package/dist/v1/schema/validation/policy/references.js +20 -62
- package/dist/v1/schema/validation/policy/typing.d.ts +3 -18
- package/dist/v1/schema/validation/policy/typing.js +22 -356
- package/dist/v1/schema/validation/policy/uses.d.ts +40 -3
- package/dist/v1/schema/validation/policy/uses.js +63 -91
- package/dist/v1/schema/validation/policy/validate.js +5 -5
- package/dist/v1/schema/validation/value-api.d.ts +27 -1
- package/dist/v1/schema/validation/value-api.js +37 -2
- package/dist/v1/schema/validation/value.d.ts +3 -0
- package/dist/v1/schema/validation/value.js +9 -17
- package/dist/v1/schema/validation/value.json-schema.d.ts +54 -0
- package/dist/v1/schema/validation/value.json-schema.js +163 -0
- package/dist/v1/schema/validation/view.js +4 -8
- package/dist/value/accept.d.ts +9 -3
- package/dist/value/accept.js +25 -1
- package/dist/value/canonical.d.ts +22 -1
- package/dist/value/canonical.js +114 -21
- package/dist/value/decode.d.ts +7 -0
- package/dist/value/decode.js +159 -9
- package/dist/value/equal.d.ts +9 -1
- package/dist/value/equal.js +37 -3
- package/dist/value/immutable.optimization.d.ts +2 -0
- package/dist/value/immutable.optimization.js +4 -0
- package/dist/value/index.d.ts +5 -3
- package/dist/value/index.js +2 -1
- package/dist/value/json.d.ts +2 -2
- package/dist/value/json.js +2 -2
- package/dist/value/limits.d.ts +11 -0
- package/dist/value/rule.d.ts +12 -0
- package/dist/value/rule.js +50 -0
- package/dist/value/types.d.ts +6 -0
- package/dist/value/unicode.d.ts +2 -1
- package/dist/value/unicode.js +2 -0
- package/package.json +15 -4
- package/dist/v1/builder/lowering/core-properties.d.ts +0 -10
- package/dist/v1/builder/lowering/core-properties.js +0 -76
- package/dist/v1/compiled/admission/semantics/cardinality.d.ts +0 -5
- package/dist/v1/compiled/admission/semantics/cardinality.js +0 -113
- package/dist/v1/compiled/admission/semantics/policy/equality.d.ts +0 -8
- package/dist/v1/compiled/admission/semantics/policy/equality.js +0 -27
- package/dist/v1/compiled/admission/semantics/policy/measure.d.ts +0 -9
- package/dist/v1/compiled/admission/semantics/policy/measure.js +0 -81
- package/dist/v1/compiled/admission/semantics/policy/variants.d.ts +0 -10
- package/dist/v1/compiled/admission/semantics/policy/variants.js +0 -65
- package/dist/v1/compiled/admission/wire/pattern.d.ts +0 -12
- package/dist/v1/compiled/admission/wire/pattern.js +0 -111
- package/dist/v1/language/class/index.d.ts +0 -8
- package/dist/v1/language/class/index.js +0 -1
- package/dist/v1/language/core/index.d.ts +0 -2
- package/dist/v1/language/value/index.d.ts +0 -11
- package/dist/v1/language/value/index.js +0 -8
- package/dist/v1/schema/canonical/domain.d.ts +0 -3
- package/dist/v1/schema/canonical/domain.digest.d.ts +0 -3
- package/dist/v1/schema/canonical/domain.digest.js +0 -5
- package/dist/v1/schema/canonical/domain.js +0 -5
- package/dist/v1/schema/canonical/freeze.d.ts +0 -1
- /package/dist/v1/{language/core/index.js → builder/class/input.js} +0 -0
|
@@ -0,0 +1,1634 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Every way the Kernel refuses a schema change, other than the data it stores: `OBLIGATIONS` states
|
|
3
|
+
* those. A refusal of a cutover plan, of a projection or of an installation does not compile without
|
|
4
|
+
* naming its row here, and every other failure of the path maps its code to a row.
|
|
5
|
+
*/
|
|
6
|
+
export declare const INSTALL: Readonly<{
|
|
7
|
+
readonly REQUEST_UNDECODABLE: {
|
|
8
|
+
readonly phase: 'install';
|
|
9
|
+
readonly layer: 'limit';
|
|
10
|
+
readonly subjects: readonly ["install.request"];
|
|
11
|
+
readonly does: 'refuse';
|
|
12
|
+
readonly refusal: {
|
|
13
|
+
readonly code: 'SCHEMA_INPUT_INVALID';
|
|
14
|
+
readonly details: {
|
|
15
|
+
readonly phase: 'input';
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly statement: 'A request decodes: its operation, its Domain entries, its mode and its validation options.';
|
|
19
|
+
readonly laws: readonly ["SY-SCHEMA-INPUT-DECODED"];
|
|
20
|
+
};
|
|
21
|
+
readonly DOMAIN_REPEATED: {
|
|
22
|
+
readonly phase: 'install';
|
|
23
|
+
readonly layer: 'identity';
|
|
24
|
+
readonly subjects: readonly ["install.request"];
|
|
25
|
+
readonly does: 'refuse';
|
|
26
|
+
readonly refusal: {
|
|
27
|
+
readonly code: 'SCHEMA_INPUT_INVALID';
|
|
28
|
+
readonly details: {
|
|
29
|
+
readonly phase: 'input';
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
readonly statement: 'A request names one Domain once.';
|
|
33
|
+
readonly laws: readonly ["INSTALL-FINGERPRINT-CANONICAL"];
|
|
34
|
+
};
|
|
35
|
+
readonly CONSENT_UNUSED: {
|
|
36
|
+
readonly phase: 'install';
|
|
37
|
+
readonly layer: 'identity';
|
|
38
|
+
readonly subjects: readonly ["install.identity"];
|
|
39
|
+
readonly does: 'refuse';
|
|
40
|
+
readonly refusal: {
|
|
41
|
+
readonly code: 'SCHEMA_INPUT_INVALID';
|
|
42
|
+
readonly details: {
|
|
43
|
+
readonly phase: 'input';
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
readonly statement: 'A Domain which changes no installed issuer takes no issuer consent.';
|
|
47
|
+
readonly laws: readonly ["INSTALLATION-CONSENTED-ISSUER-CHANGE"];
|
|
48
|
+
};
|
|
49
|
+
readonly SESSION_NO_CHANGE: {
|
|
50
|
+
readonly phase: 'install';
|
|
51
|
+
readonly layer: 'lifecycle';
|
|
52
|
+
readonly subjects: readonly ["install.session"];
|
|
53
|
+
readonly does: 'refuse';
|
|
54
|
+
readonly refusal: {
|
|
55
|
+
readonly code: 'SCHEMA_INPUT_INVALID';
|
|
56
|
+
readonly details: {
|
|
57
|
+
readonly phase: 'input';
|
|
58
|
+
readonly path: '/domains';
|
|
59
|
+
readonly issue: 'invalid';
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
readonly statement: 'A repair session changes something on its source.';
|
|
63
|
+
readonly laws: readonly ["SESSION-WORKFLOW-OPEN-FAILURE"];
|
|
64
|
+
};
|
|
65
|
+
readonly OPERATION_CONFLICT: {
|
|
66
|
+
readonly phase: 'install';
|
|
67
|
+
readonly layer: 'identity';
|
|
68
|
+
readonly subjects: readonly ["install.request"];
|
|
69
|
+
readonly does: 'refuse';
|
|
70
|
+
readonly refusal: {
|
|
71
|
+
readonly code: 'SCHEMA_OPERATION_CONFLICT';
|
|
72
|
+
};
|
|
73
|
+
readonly statement: 'One principal and operation id name exactly one schema operation: another request answers FUNCTION_CONFLICT, its reason SCHEMA_OPERATION_CONFLICT.';
|
|
74
|
+
readonly laws: readonly ["INSTALL-OPERATION-SCOPE", "INSTALL-REPLAY-INTENT"];
|
|
75
|
+
};
|
|
76
|
+
readonly NO_CHANGE: {
|
|
77
|
+
readonly phase: 'install';
|
|
78
|
+
readonly layer: 'lifecycle';
|
|
79
|
+
readonly subjects: readonly ["install.request"];
|
|
80
|
+
readonly does: 'refuse';
|
|
81
|
+
readonly refusal: {
|
|
82
|
+
readonly code: 'SCHEMA_INTEGRITY_ERROR';
|
|
83
|
+
};
|
|
84
|
+
readonly raised: {
|
|
85
|
+
readonly error: 'plan';
|
|
86
|
+
readonly code: "CUTOVER_NO_CHANGE";
|
|
87
|
+
};
|
|
88
|
+
readonly statement: 'Roots which already match the active Registry plan no change: an install answers it as a no-op, unless `INSTALL.INSTANCE_UNCERTIFIED` holds, and any other path which reaches it is incoherent.';
|
|
89
|
+
readonly laws: readonly ["INSTALL-NOOP-INERT"];
|
|
90
|
+
};
|
|
91
|
+
readonly VALIDATION_QUESTIONS_EXCEEDED: {
|
|
92
|
+
readonly phase: 'install';
|
|
93
|
+
readonly layer: 'limit';
|
|
94
|
+
readonly subjects: readonly ["install.validation"];
|
|
95
|
+
readonly does: 'refuse';
|
|
96
|
+
readonly refusal: {
|
|
97
|
+
readonly code: 'SCHEMA_INPUT_INVALID';
|
|
98
|
+
readonly details: {
|
|
99
|
+
readonly phase: 'input';
|
|
100
|
+
readonly path: '/domains';
|
|
101
|
+
readonly issue: 'invalid';
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
readonly statement: 'One schema change plans at most MAXIMUM_VALIDATION_OBLIGATIONS questions of the store, refused before any read.';
|
|
105
|
+
readonly laws: readonly ["VAL-PLAN-BOUNDED", "INSTALL-WORKFLOW-PLAN-BOUNDED"];
|
|
106
|
+
};
|
|
107
|
+
readonly SOURCE_INVALID: {
|
|
108
|
+
readonly phase: 'install';
|
|
109
|
+
readonly layer: 'source';
|
|
110
|
+
readonly subjects: readonly ["install.source"];
|
|
111
|
+
readonly does: 'refuse';
|
|
112
|
+
readonly refusal: {
|
|
113
|
+
readonly code: 'SCHEMA_ARTIFACT_INVALID';
|
|
114
|
+
};
|
|
115
|
+
readonly statement: 'An install names a source, each one a portable record of a known kind. A local artifact meets its requirements and selects the stored Bundle it names; a token goes only to an authenticated endpoint; a stored release is canonical and within its bound. A release a token cannot fetch for a deterministic reason ends the run with that refusal. A transient or unknown failure of that fetch, or a local artifact whose renewal fails, fails the dispatch and starts no run.';
|
|
116
|
+
readonly laws: readonly ["INSTALLATION-RELEASE-REQUEST", "INSTALLATION-DOMAIN-VIEWS", "SB-LOCAL-REQUIREMENTS"];
|
|
117
|
+
};
|
|
118
|
+
readonly SOURCE_ADDRESS_NOT_PUBLIC: {
|
|
119
|
+
readonly phase: 'install';
|
|
120
|
+
readonly layer: 'source';
|
|
121
|
+
readonly subjects: readonly ["install.source"];
|
|
122
|
+
readonly does: 'refuse';
|
|
123
|
+
readonly refusal: {
|
|
124
|
+
readonly code: 'SCHEMA_DOMAIN_ADDRESS_NOT_PUBLIC';
|
|
125
|
+
};
|
|
126
|
+
readonly statement: 'The Kernel fetches a remote source only at a public address.';
|
|
127
|
+
readonly laws: readonly ["NET-ADDRESS-SCOPE-ENFORCED"];
|
|
128
|
+
};
|
|
129
|
+
readonly SOURCE_UNAVAILABLE: {
|
|
130
|
+
readonly phase: 'install';
|
|
131
|
+
readonly layer: 'source';
|
|
132
|
+
readonly subjects: readonly ["install.source"];
|
|
133
|
+
readonly does: 'refuse';
|
|
134
|
+
readonly refusal: {
|
|
135
|
+
readonly code: 'SCHEMA_ARTIFACT_UNAVAILABLE';
|
|
136
|
+
};
|
|
137
|
+
readonly statement: 'The material a root names is retrievable or retained.';
|
|
138
|
+
readonly laws: readonly ["INSTALL-PINNED-RETAINED", "SESSION-WORKFLOW-TARGET-UNAVAILABLE", "SB-RESTORE-EXACT"];
|
|
139
|
+
};
|
|
140
|
+
readonly SOURCE_POLICY_INCOHERENT: {
|
|
141
|
+
readonly phase: 'install';
|
|
142
|
+
readonly layer: 'defect';
|
|
143
|
+
readonly subjects: readonly ["kernel"];
|
|
144
|
+
readonly does: 'refuse';
|
|
145
|
+
readonly refusal: {
|
|
146
|
+
readonly code: 'SCHEMA_INTEGRITY_ERROR';
|
|
147
|
+
};
|
|
148
|
+
readonly statement: 'The Kernel resolves sources under a coherent retrieval policy.';
|
|
149
|
+
};
|
|
150
|
+
readonly SOURCE_FETCH_FAILED: {
|
|
151
|
+
readonly phase: 'install';
|
|
152
|
+
readonly layer: 'engine';
|
|
153
|
+
readonly subjects: readonly ["install.source"];
|
|
154
|
+
readonly does: 'refuse';
|
|
155
|
+
readonly refusal: {
|
|
156
|
+
readonly code: 'SCHEMA_BACKEND_FAILED';
|
|
157
|
+
};
|
|
158
|
+
readonly statement: 'A fetch that fails at transport proves nothing of the source: the install retries.';
|
|
159
|
+
readonly laws: readonly ["INSTALL-WORKFLOW-FAILURES"];
|
|
160
|
+
};
|
|
161
|
+
readonly SOURCE_AUTHENTICATION_REQUIRED: {
|
|
162
|
+
readonly phase: 'install';
|
|
163
|
+
readonly layer: 'source';
|
|
164
|
+
readonly subjects: readonly ["install.source"];
|
|
165
|
+
readonly does: 'refuse';
|
|
166
|
+
readonly refusal: {
|
|
167
|
+
readonly code: 'SCHEMA_ARTIFACT_INVALID';
|
|
168
|
+
};
|
|
169
|
+
readonly statement: 'A source which requires credentials is requested with them.';
|
|
170
|
+
readonly laws: readonly ["SB-TOKEN"];
|
|
171
|
+
};
|
|
172
|
+
readonly SOURCE_AUTHENTICATION_DENIED: {
|
|
173
|
+
readonly phase: 'install';
|
|
174
|
+
readonly layer: 'source';
|
|
175
|
+
readonly subjects: readonly ["install.source"];
|
|
176
|
+
readonly does: 'refuse';
|
|
177
|
+
readonly refusal: {
|
|
178
|
+
readonly code: 'SCHEMA_ARTIFACT_INVALID';
|
|
179
|
+
};
|
|
180
|
+
readonly statement: 'A source accepts the credentials it is requested with.';
|
|
181
|
+
readonly laws: readonly ["SB-TOKEN"];
|
|
182
|
+
};
|
|
183
|
+
readonly SOURCE_RESPONSE_OUT_OF_LIMITS: {
|
|
184
|
+
readonly phase: 'install';
|
|
185
|
+
readonly layer: 'source';
|
|
186
|
+
readonly subjects: readonly ["install.source"];
|
|
187
|
+
readonly does: 'refuse';
|
|
188
|
+
readonly refusal: {
|
|
189
|
+
readonly code: 'SCHEMA_ARTIFACT_INVALID';
|
|
190
|
+
};
|
|
191
|
+
readonly statement: 'What a source answers stays within the limits of the protocol.';
|
|
192
|
+
readonly laws: readonly ["SB-LIMITS", "SB-RELEASE-FIRST", "SB-PUBLICATION-VERSION"];
|
|
193
|
+
};
|
|
194
|
+
readonly SOURCE_RELEASE_DRIFT: {
|
|
195
|
+
readonly phase: 'install';
|
|
196
|
+
readonly layer: 'source';
|
|
197
|
+
readonly subjects: readonly ["install.source"];
|
|
198
|
+
readonly does: 'refuse';
|
|
199
|
+
readonly refusal: {
|
|
200
|
+
readonly code: 'SCHEMA_ARTIFACT_INVALID';
|
|
201
|
+
};
|
|
202
|
+
readonly statement: 'A source serves the same release to each of the reads of one install.';
|
|
203
|
+
readonly laws: readonly ["INSTALLATION-RELEASE-PIN"];
|
|
204
|
+
};
|
|
205
|
+
readonly SOURCE_ATTESTATION_UNVERIFIED: {
|
|
206
|
+
readonly phase: 'install';
|
|
207
|
+
readonly layer: 'source';
|
|
208
|
+
readonly subjects: readonly ["install.source"];
|
|
209
|
+
readonly does: 'refuse';
|
|
210
|
+
readonly refusal: {
|
|
211
|
+
readonly code: 'SCHEMA_ARTIFACT_INVALID';
|
|
212
|
+
};
|
|
213
|
+
readonly statement: 'A release carries an attestation which verifies under its issuer.';
|
|
214
|
+
readonly laws: readonly ["SB-ATTESTATION"];
|
|
215
|
+
};
|
|
216
|
+
readonly SOURCE_ROOT_REPEATED: {
|
|
217
|
+
readonly phase: 'install';
|
|
218
|
+
readonly layer: 'source';
|
|
219
|
+
readonly subjects: readonly ["install.source"];
|
|
220
|
+
readonly does: 'refuse';
|
|
221
|
+
readonly refusal: {
|
|
222
|
+
readonly code: 'SCHEMA_ARTIFACT_INVALID';
|
|
223
|
+
};
|
|
224
|
+
readonly statement: 'Two sources of one request resolve to two Domains.';
|
|
225
|
+
readonly laws: readonly ["SB-BATCH-COHERENCE"];
|
|
226
|
+
};
|
|
227
|
+
readonly SOURCE_RETIRED: {
|
|
228
|
+
readonly phase: 'install';
|
|
229
|
+
readonly layer: 'source';
|
|
230
|
+
readonly subjects: readonly ["install.source"];
|
|
231
|
+
readonly does: 'refuse';
|
|
232
|
+
readonly refusal: {
|
|
233
|
+
readonly code: 'SCHEMA_ARTIFACT_UNAVAILABLE';
|
|
234
|
+
};
|
|
235
|
+
readonly statement: 'A retired deployment is not installed, and retrying it does not help.';
|
|
236
|
+
readonly laws: readonly ["INSTALLATION-RETIRED-SOURCE", "SB-DEPLOYMENT-RETIRED"];
|
|
237
|
+
};
|
|
238
|
+
readonly BUNDLE_INVALID: {
|
|
239
|
+
readonly phase: 'install';
|
|
240
|
+
readonly layer: 'source';
|
|
241
|
+
readonly subjects: readonly ["install.core"];
|
|
242
|
+
readonly does: 'refuse';
|
|
243
|
+
readonly refusal: {
|
|
244
|
+
readonly code: 'SCHEMA_ARTIFACT_INVALID';
|
|
245
|
+
readonly details: {
|
|
246
|
+
readonly phase: 'bundle';
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
readonly statement: 'The Core graph a release carries decodes against its own Schema, and a Core Node whose Class satisfies Identity authors no `iss` or `sub`.';
|
|
250
|
+
readonly laws: readonly ["KS-CORE-IDENTITY-AUTHENTICATION"];
|
|
251
|
+
};
|
|
252
|
+
readonly RELEASE_INVALID: {
|
|
253
|
+
readonly phase: 'install';
|
|
254
|
+
readonly layer: 'source';
|
|
255
|
+
readonly subjects: readonly ["install.source"];
|
|
256
|
+
readonly does: 'refuse';
|
|
257
|
+
readonly refusal: {
|
|
258
|
+
readonly code: 'SCHEMA_ARTIFACT_INVALID';
|
|
259
|
+
};
|
|
260
|
+
readonly raised: {
|
|
261
|
+
readonly error: 'plan';
|
|
262
|
+
readonly code: "CUTOVER_RELEASE_INVALID";
|
|
263
|
+
};
|
|
264
|
+
readonly statement: 'The release a root is read from is admitted as a release of that Domain.';
|
|
265
|
+
readonly laws: readonly ["CP-GUARDS"];
|
|
266
|
+
};
|
|
267
|
+
readonly RELEASE_GUARD_MISMATCH: {
|
|
268
|
+
readonly phase: 'install';
|
|
269
|
+
readonly layer: 'concurrency';
|
|
270
|
+
readonly subjects: readonly ["install.source"];
|
|
271
|
+
readonly does: 'refuse';
|
|
272
|
+
readonly refusal: {
|
|
273
|
+
readonly code: 'SCHEMA_REVISION_CONFLICT';
|
|
274
|
+
readonly details: {
|
|
275
|
+
readonly phase: 'guard';
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
readonly raised: {
|
|
279
|
+
readonly error: 'plan';
|
|
280
|
+
readonly code: "CUTOVER_RELEASE_DIGEST_CONFLICT";
|
|
281
|
+
};
|
|
282
|
+
readonly statement: 'A release guard equals the digest of the release the root was read from.';
|
|
283
|
+
readonly laws: readonly ["CP-GUARDS"];
|
|
284
|
+
};
|
|
285
|
+
readonly ARTIFACT_INVALID: {
|
|
286
|
+
readonly phase: 'install';
|
|
287
|
+
readonly layer: 'source';
|
|
288
|
+
readonly subjects: readonly ["install.source"];
|
|
289
|
+
readonly does: 'refuse';
|
|
290
|
+
readonly refusal: {
|
|
291
|
+
readonly code: 'SCHEMA_ARTIFACT_INVALID';
|
|
292
|
+
};
|
|
293
|
+
readonly statement: 'The artifact an install selects binds its target to the snapshot it carries.';
|
|
294
|
+
readonly laws: readonly ["SG-SNAPSHOT", "INSTALLATION-READINESS-ADMITTED-ONCE"];
|
|
295
|
+
};
|
|
296
|
+
readonly DEPENDENCY_CYCLE: {
|
|
297
|
+
readonly phase: 'install';
|
|
298
|
+
readonly layer: 'structure';
|
|
299
|
+
readonly subjects: readonly ["install.dependency"];
|
|
300
|
+
readonly does: 'refuse';
|
|
301
|
+
readonly refusal: {
|
|
302
|
+
readonly code: 'SCHEMA_DEPENDENCY_MISSING';
|
|
303
|
+
};
|
|
304
|
+
readonly statement: 'The dependencies a request resolves form no cycle.';
|
|
305
|
+
};
|
|
306
|
+
readonly DEPENDENCY_UNPROVEN: {
|
|
307
|
+
readonly phase: 'install';
|
|
308
|
+
readonly layer: 'structure';
|
|
309
|
+
readonly subjects: readonly ["install.dependency"];
|
|
310
|
+
readonly does: 'refuse';
|
|
311
|
+
readonly refusal: {
|
|
312
|
+
readonly code: 'SCHEMA_DEPENDENCY_MISSING';
|
|
313
|
+
};
|
|
314
|
+
readonly statement: 'A Domain resolves each dependency to one proven ready Installation.';
|
|
315
|
+
readonly laws: readonly ["CP-COHERENCE"];
|
|
316
|
+
};
|
|
317
|
+
readonly DEPENDENCY_INCOHERENT: {
|
|
318
|
+
readonly phase: 'install';
|
|
319
|
+
readonly layer: 'structure';
|
|
320
|
+
readonly subjects: readonly ["install.dependency"];
|
|
321
|
+
readonly does: 'refuse';
|
|
322
|
+
readonly refusal: {
|
|
323
|
+
readonly code: 'SCHEMA_DEPENDENCY_MISSING';
|
|
324
|
+
};
|
|
325
|
+
readonly raised: {
|
|
326
|
+
readonly error: 'plan';
|
|
327
|
+
readonly code: "CUTOVER_DEPENDENCY_MISSING";
|
|
328
|
+
};
|
|
329
|
+
readonly statement: 'The roots of a request produce one dependency-coherent Registry.';
|
|
330
|
+
readonly laws: readonly ["CP-COHERENCE"];
|
|
331
|
+
};
|
|
332
|
+
readonly REGISTRY_DEPENDENCY_MISSING: {
|
|
333
|
+
readonly phase: 'install';
|
|
334
|
+
readonly layer: 'structure';
|
|
335
|
+
readonly subjects: readonly ["install.dependency"];
|
|
336
|
+
readonly does: 'refuse';
|
|
337
|
+
readonly refusal: {
|
|
338
|
+
readonly code: 'SCHEMA_DEPENDENCY_MISSING';
|
|
339
|
+
};
|
|
340
|
+
readonly statement: 'Every Registration of a Registry finds each of its dependencies in it.';
|
|
341
|
+
readonly laws: readonly ["CP-COHERENCE"];
|
|
342
|
+
};
|
|
343
|
+
readonly DEPENDENCY_CAPABILITY_UNDEFINED: {
|
|
344
|
+
readonly phase: 'install';
|
|
345
|
+
readonly layer: 'source';
|
|
346
|
+
readonly subjects: readonly ["install.dependency"];
|
|
347
|
+
readonly does: 'refuse';
|
|
348
|
+
readonly refusal: {
|
|
349
|
+
readonly code: 'SCHEMA_ARTIFACT_INVALID';
|
|
350
|
+
readonly details: {
|
|
351
|
+
readonly phase: 'bundle';
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
readonly statement: 'A capability a Domain declares on a dependency is one that dependency defines.';
|
|
355
|
+
readonly laws: readonly ["INSTALLATION-DEPENDENCY-MEANING"];
|
|
356
|
+
};
|
|
357
|
+
readonly DEPENDENCY_INCOMPATIBLE: {
|
|
358
|
+
readonly phase: 'install';
|
|
359
|
+
readonly layer: 'structure';
|
|
360
|
+
readonly subjects: readonly ["install.dependency"];
|
|
361
|
+
readonly does: 'refuse';
|
|
362
|
+
readonly refusal: {
|
|
363
|
+
readonly code: 'SCHEMA_DEPENDENCY_INCOMPATIBLE';
|
|
364
|
+
};
|
|
365
|
+
readonly statement: 'The dependency a Domain binds still means what the Domain was resolved against, by the structural comparison of the DSL.';
|
|
366
|
+
readonly laws: readonly ["INSTALLATION-DEPENDENCY-MEANING"];
|
|
367
|
+
};
|
|
368
|
+
readonly DEPENDENTS_PRESENT: {
|
|
369
|
+
readonly phase: 'install';
|
|
370
|
+
readonly layer: 'structure';
|
|
371
|
+
readonly subjects: readonly ["install.dependency"];
|
|
372
|
+
readonly does: 'refuse';
|
|
373
|
+
readonly refusal: {
|
|
374
|
+
readonly code: 'SCHEMA_DEPENDENTS_PRESENT';
|
|
375
|
+
};
|
|
376
|
+
readonly raised: {
|
|
377
|
+
readonly error: 'plan';
|
|
378
|
+
readonly code: "CUTOVER_DEPENDENTS_PRESENT";
|
|
379
|
+
};
|
|
380
|
+
readonly statement: 'An uninstall removes no Domain another active Domain depends on.';
|
|
381
|
+
readonly laws: readonly ["CP-UNINSTALL"];
|
|
382
|
+
};
|
|
383
|
+
readonly DEPENDENTS_INCOMPATIBLE: {
|
|
384
|
+
readonly phase: 'install';
|
|
385
|
+
readonly layer: 'structure';
|
|
386
|
+
readonly subjects: readonly ["install.dependency"];
|
|
387
|
+
readonly does: 'refuse';
|
|
388
|
+
readonly refusal: {
|
|
389
|
+
readonly code: 'SCHEMA_DEPENDENTS_INCOMPATIBLE';
|
|
390
|
+
};
|
|
391
|
+
readonly raised: {
|
|
392
|
+
readonly error: 'plan';
|
|
393
|
+
readonly code: "CUTOVER_DEPENDENTS_INCOMPATIBLE";
|
|
394
|
+
};
|
|
395
|
+
readonly statement: 'An upgrade keeps the meaning each unrequested dependent uses, or names that dependent at a revised root.';
|
|
396
|
+
readonly laws: readonly ["CP-CARRIED-DEPENDENTS"];
|
|
397
|
+
};
|
|
398
|
+
readonly DOMAIN_NOT_INSTALLED: {
|
|
399
|
+
readonly phase: 'install';
|
|
400
|
+
readonly layer: 'identity';
|
|
401
|
+
readonly subjects: readonly ["install.request"];
|
|
402
|
+
readonly does: 'refuse';
|
|
403
|
+
readonly refusal: {
|
|
404
|
+
readonly code: 'SCHEMA_NOT_FOUND';
|
|
405
|
+
};
|
|
406
|
+
readonly raised: {
|
|
407
|
+
readonly error: 'plan';
|
|
408
|
+
readonly code: "CUTOVER_DOMAIN_NOT_INSTALLED";
|
|
409
|
+
};
|
|
410
|
+
readonly statement: 'What an uninstall or an introspection names is installed.';
|
|
411
|
+
readonly laws: readonly ["CP-UNINSTALL"];
|
|
412
|
+
};
|
|
413
|
+
readonly KERNEL_RESERVED: {
|
|
414
|
+
readonly phase: 'install';
|
|
415
|
+
readonly layer: 'protection';
|
|
416
|
+
readonly subjects: readonly ["install.request"];
|
|
417
|
+
readonly does: 'refuse';
|
|
418
|
+
readonly refusal: {
|
|
419
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
420
|
+
readonly details: {
|
|
421
|
+
readonly phase: 'upgrade';
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
readonly raised: {
|
|
425
|
+
readonly error: 'plan';
|
|
426
|
+
readonly code: "CUTOVER_KERNEL_RESERVED";
|
|
427
|
+
};
|
|
428
|
+
readonly statement: 'Install and uninstall never name the Kernel: only Boot upgrades it.';
|
|
429
|
+
readonly laws: readonly ["CP-KERNEL-ROUTE"];
|
|
430
|
+
};
|
|
431
|
+
readonly IDENTITY_CHANGED: {
|
|
432
|
+
readonly phase: 'install';
|
|
433
|
+
readonly layer: 'identity';
|
|
434
|
+
readonly subjects: readonly ["install.identity"];
|
|
435
|
+
readonly does: 'refuse';
|
|
436
|
+
readonly refusal: {
|
|
437
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
438
|
+
readonly details: {
|
|
439
|
+
readonly phase: 'upgrade';
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
readonly raised: {
|
|
443
|
+
readonly error: 'plan';
|
|
444
|
+
readonly code: "CUTOVER_UPGRADE_INCOMPATIBLE";
|
|
445
|
+
};
|
|
446
|
+
readonly statement: 'A replacement keeps the Domain principal and its subject.';
|
|
447
|
+
readonly laws: readonly ["CP-IDENTITY"];
|
|
448
|
+
};
|
|
449
|
+
readonly ISSUER_CHANGED: {
|
|
450
|
+
readonly phase: 'install';
|
|
451
|
+
readonly layer: 'identity';
|
|
452
|
+
readonly subjects: readonly ["install.identity"];
|
|
453
|
+
readonly does: 'refuse';
|
|
454
|
+
readonly refusal: {
|
|
455
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
456
|
+
readonly details: {
|
|
457
|
+
readonly phase: 'upgrade';
|
|
458
|
+
readonly issue: 'issuer-changed';
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
readonly raised: {
|
|
462
|
+
readonly error: 'plan';
|
|
463
|
+
readonly code: "CUTOVER_UPGRADE_INCOMPATIBLE";
|
|
464
|
+
};
|
|
465
|
+
readonly statement: 'A replacement keeps its issuer, unless a consent names exactly the installed issuer and the served one, neither of them the Kernel issuer.';
|
|
466
|
+
readonly laws: readonly ["CP-ISSUER-CONSENT", "CHECKPOINT-KERNEL-ISSUER-FIXED", "INSTALLATION-ISSUER-CONSENT"];
|
|
467
|
+
};
|
|
468
|
+
readonly ISSUERS_IN_FLIGHT_EXCEEDED: {
|
|
469
|
+
readonly phase: 'install';
|
|
470
|
+
readonly layer: 'limit';
|
|
471
|
+
readonly subjects: readonly ["install.identity"];
|
|
472
|
+
readonly does: 'refuse';
|
|
473
|
+
readonly refusal: {
|
|
474
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
475
|
+
readonly details: {
|
|
476
|
+
readonly phase: 'upgrade';
|
|
477
|
+
readonly issue: 'in-flight-limit';
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
readonly raised: {
|
|
481
|
+
readonly error: 'plan';
|
|
482
|
+
readonly code: "CUTOVER_UPGRADE_INCOMPATIBLE";
|
|
483
|
+
};
|
|
484
|
+
readonly statement: 'A Domain keeps at most MAXIMUM_IN_FLIGHT_ISSUERS replaced issuers draining.';
|
|
485
|
+
readonly laws: readonly ["CP-IN-FLIGHT-CARRIED", "SG-IN-FLIGHT"];
|
|
486
|
+
};
|
|
487
|
+
readonly IDENTITY_CLASS_REMOVED: {
|
|
488
|
+
readonly phase: 'install';
|
|
489
|
+
readonly layer: 'structure';
|
|
490
|
+
readonly subjects: readonly ["class.extends"];
|
|
491
|
+
readonly does: 'refuse';
|
|
492
|
+
readonly refusal: {
|
|
493
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
494
|
+
readonly details: {
|
|
495
|
+
readonly phase: 'upgrade';
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
readonly raised: {
|
|
499
|
+
readonly error: 'plan';
|
|
500
|
+
readonly code: "CUTOVER_UPGRADE_INCOMPATIBLE";
|
|
501
|
+
};
|
|
502
|
+
readonly statement: 'A Node Class which extends Identity keeps extending it: an Identity never stops being one.';
|
|
503
|
+
readonly laws: readonly ["CP-IDENTITY", "KU-EXECUTABLE-INVARIANTS"];
|
|
504
|
+
};
|
|
505
|
+
readonly CORE_CHANGES_CLASS: {
|
|
506
|
+
readonly phase: 'install';
|
|
507
|
+
readonly layer: 'structure';
|
|
508
|
+
readonly subjects: readonly ["install.core", "fact.node"];
|
|
509
|
+
readonly does: 'refuse';
|
|
510
|
+
readonly refusal: {
|
|
511
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
512
|
+
readonly details: {
|
|
513
|
+
readonly phase: 'upgrade';
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
readonly raised: {
|
|
517
|
+
readonly error: 'projection';
|
|
518
|
+
readonly code: "PROJECTION_NODE_CLASS_CHANGE_UNSUPPORTED";
|
|
519
|
+
};
|
|
520
|
+
readonly statement: 'A stored Node never changes Class: a plan gives a Core Node under another Class another id, and a Core Node retained by its id keeps the Class it has.';
|
|
521
|
+
readonly laws: readonly ["SP-RECONCILIATION", "MUT-NODE-CLASS"];
|
|
522
|
+
};
|
|
523
|
+
readonly CORE_OWNERSHIP_CHANGED: {
|
|
524
|
+
readonly phase: 'install';
|
|
525
|
+
readonly layer: 'structure';
|
|
526
|
+
readonly subjects: readonly ["install.core"];
|
|
527
|
+
readonly does: 'refuse';
|
|
528
|
+
readonly refusal: {
|
|
529
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
530
|
+
readonly details: {
|
|
531
|
+
readonly phase: 'upgrade';
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
readonly raised: {
|
|
535
|
+
readonly error: 'projection';
|
|
536
|
+
readonly code: "PROJECTION_SCOPE_MISMATCH";
|
|
537
|
+
};
|
|
538
|
+
readonly statement: 'A Node a Domain owns stays owned across an upgrade, and a Node it only points at stays so.';
|
|
539
|
+
readonly laws: readonly ["SP-RECONCILIATION"];
|
|
540
|
+
};
|
|
541
|
+
readonly CORE_CONFLICT: {
|
|
542
|
+
readonly phase: 'install';
|
|
543
|
+
readonly layer: 'structure';
|
|
544
|
+
readonly subjects: readonly ["install.core"];
|
|
545
|
+
readonly does: 'refuse';
|
|
546
|
+
readonly refusal: {
|
|
547
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
548
|
+
readonly details: {
|
|
549
|
+
readonly phase: 'upgrade';
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
readonly raised: {
|
|
553
|
+
readonly error: 'projection';
|
|
554
|
+
readonly code: "PROJECTION_CORE_CONFLICT";
|
|
555
|
+
};
|
|
556
|
+
readonly statement: 'The change a target states on a Core fact does not conflict with the change the live graph made to it.';
|
|
557
|
+
readonly laws: readonly ["SP-RECONCILIATION"];
|
|
558
|
+
};
|
|
559
|
+
readonly CORE_WRITE_REFUSED: {
|
|
560
|
+
readonly phase: 'install';
|
|
561
|
+
readonly layer: 'structure';
|
|
562
|
+
readonly subjects: readonly ["install.core", "fact.schema"];
|
|
563
|
+
readonly does: 'refuse';
|
|
564
|
+
readonly refusal: {
|
|
565
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
566
|
+
readonly details: {
|
|
567
|
+
readonly phase: 'upgrade';
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
readonly raised: {
|
|
571
|
+
readonly error: 'projection';
|
|
572
|
+
readonly code: "PROJECTION_MUTATION_REFUSED";
|
|
573
|
+
};
|
|
574
|
+
readonly statement: 'The Core of a target is written under the rules of a projection, which keep a stored value and read no write-once rule: a refusal of its write ends the install for good.';
|
|
575
|
+
readonly divergence: 'No planned Mutation reaches a Core value: every Schema-owned Node and the Schema-managed Edges of the scoped revisions are excluded. A plan below the planner does, and then a recovery keeps the changed value on PostgreSQL and rewrites it on Reference.';
|
|
576
|
+
readonly laws: readonly ["SP-MUTATION-REFUSED", "POSTGRES-SCHEMA-CORE"];
|
|
577
|
+
};
|
|
578
|
+
readonly CORE_KEY_CONFLICT: {
|
|
579
|
+
readonly phase: 'install';
|
|
580
|
+
readonly layer: 'structure';
|
|
581
|
+
readonly subjects: readonly ["install.core", "class.unique"];
|
|
582
|
+
readonly does: 'refuse';
|
|
583
|
+
readonly refusal: {
|
|
584
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
585
|
+
readonly details: {
|
|
586
|
+
readonly phase: 'upgrade';
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
readonly statement: 'The projection of a target writes no two facts with one key under a uniqueness tuple of the target, refused before any read.';
|
|
590
|
+
readonly laws: readonly ["VAL-UNIQUE"];
|
|
591
|
+
};
|
|
592
|
+
readonly UNIQUE_FORM_UNSUPPORTED: {
|
|
593
|
+
readonly phase: 'install';
|
|
594
|
+
readonly layer: 'engine';
|
|
595
|
+
readonly subjects: readonly ["class.unique"];
|
|
596
|
+
readonly does: 'refuse';
|
|
597
|
+
readonly refusal: {
|
|
598
|
+
readonly code: 'BACKEND_FEATURE_UNSUPPORTED';
|
|
599
|
+
};
|
|
600
|
+
readonly statement: 'A target declares only uniqueness tuples of a form the store enforces: refused when the activation prepares, before it asks the store to write. The store was read by then, so refuted data answers first. A store without every lifecycle method, or with a malformed declaration, fails at construction, before any install.';
|
|
601
|
+
readonly laws: readonly ["SA-UNIQUENESS-ENFORCED", "SA-PROVIDER-CAPTURE"];
|
|
602
|
+
};
|
|
603
|
+
readonly DROPPED_VOCABULARY_OCCUPIED: {
|
|
604
|
+
readonly phase: 'install';
|
|
605
|
+
readonly layer: 'structure';
|
|
606
|
+
readonly subjects: readonly ["install.session", "class.ref"];
|
|
607
|
+
readonly does: 'refuse';
|
|
608
|
+
readonly refusal: {
|
|
609
|
+
readonly code: 'SCHEMA_BACKEND_FAILED';
|
|
610
|
+
};
|
|
611
|
+
readonly statement: 'A repair session ends only when no fact of a vocabulary it drops remains: an activation answers TRANSITION_REJECTED, a break-glass release a `refused` result naming at most `MAINTENANCE_OCCUPIED_CLASSES` of the Classes in key order, and a session row transition this row.';
|
|
612
|
+
readonly laws: readonly ["MAINTENANCE-VOCABULARY-DROPPED", "SESSION-WORKFLOW-BREAK-GLASS", "MUT-SESSION-VOCABULARY"];
|
|
613
|
+
readonly divergence: 'At a break-glass release PostgreSQL tracks a staged Class by its kind, so a fact of the kind a Class changes to is occupied. Reference subtracts every Class key the serving Registry holds, so that fact is not.';
|
|
614
|
+
};
|
|
615
|
+
readonly INSTANCE_UNCERTIFIED: {
|
|
616
|
+
readonly phase: 'install';
|
|
617
|
+
readonly layer: 'structure';
|
|
618
|
+
readonly subjects: readonly ["store", "install.validation"];
|
|
619
|
+
readonly does: 'refuse';
|
|
620
|
+
readonly refusal: {
|
|
621
|
+
readonly code: 'DATA_MIGRATION_REQUIRED';
|
|
622
|
+
};
|
|
623
|
+
readonly statement: 'While a break-glass release leaves an Instance uncertified, every install validates all of the stored data whatever scope it asks, one that changes nothing included, and is refused where a rule does not hold. Only a full validation lifts the mark.';
|
|
624
|
+
readonly laws: readonly ["INSTALL-NOOP-INERT", "SESSION-WORKFLOW-MARK", "INSTALL-WORKFLOW-ACTIVATION", "INSTALL-UNCERTIFIED-FULL"];
|
|
625
|
+
};
|
|
626
|
+
readonly DATA_MIGRATION_REQUIRED: {
|
|
627
|
+
readonly phase: 'install';
|
|
628
|
+
readonly layer: 'structure';
|
|
629
|
+
readonly subjects: readonly ["store"];
|
|
630
|
+
readonly does: 'refuse';
|
|
631
|
+
readonly refusal: {
|
|
632
|
+
readonly code: 'DATA_MIGRATION_REQUIRED';
|
|
633
|
+
};
|
|
634
|
+
readonly raised: {
|
|
635
|
+
readonly error: 'projection';
|
|
636
|
+
readonly code: "PROJECTION_DATA_MIGRATION_REQUIRED";
|
|
637
|
+
};
|
|
638
|
+
readonly statement: 'A schema change activates only when each question it asks of the store holds; else it names every requirement its validation found, within MIGRATION_REPORT_LIMITS and with each truncation marked, and nothing changed. A question no read could decide never holds by default: it is a requirement as `validate-existing` and `budget-exceeded`.';
|
|
639
|
+
readonly laws: readonly ["SP-DATA-SAFETY", "INSTALL-WORKFLOW-REFUSAL-COMPLETE", "VAL-NO-SILENT-PASS", "SP-BOUNDS", "VAL-PLAN-CALCULUS", "VAL-BOUNDED-REPORT", "VAL-MIGRATION-MESSAGE", "SP-RETAINED-OBLIGATIONS-EXACT"];
|
|
640
|
+
};
|
|
641
|
+
readonly RECOVERY_BOUND_EXCEEDED: {
|
|
642
|
+
readonly phase: 'install';
|
|
643
|
+
readonly layer: 'limit';
|
|
644
|
+
readonly subjects: readonly ["install.activation"];
|
|
645
|
+
readonly does: 'refuse';
|
|
646
|
+
readonly refusal: {
|
|
647
|
+
readonly code: 'SCHEMA_INTEGRITY_ERROR';
|
|
648
|
+
};
|
|
649
|
+
readonly raised: {
|
|
650
|
+
readonly error: 'projection';
|
|
651
|
+
readonly code: "PROJECTION_BOUND_EXCEEDED";
|
|
652
|
+
};
|
|
653
|
+
readonly statement: 'A recovery observes within the bound the Host configures: past it Boot fails and a settling cutover keeps retrying, and no caller is refused.';
|
|
654
|
+
readonly divergence: 'PostgreSQL holds the bound while it observes and answers ACTIVATION_PLAN_REJECTED. Reference measures what it observed and raises this row.';
|
|
655
|
+
readonly laws: readonly ["SP-RECOVERY", "SP-BOUNDS"];
|
|
656
|
+
};
|
|
657
|
+
readonly REQUIREMENTS_UNSATISFIED: {
|
|
658
|
+
readonly phase: 'install';
|
|
659
|
+
readonly layer: 'authority';
|
|
660
|
+
readonly subjects: readonly ["fact.authority"];
|
|
661
|
+
readonly does: 'refuse';
|
|
662
|
+
readonly refusal: {
|
|
663
|
+
readonly code: 'SCHEMA_REQUIREMENTS_UNSATISFIED';
|
|
664
|
+
};
|
|
665
|
+
readonly statement: 'The installer of a change holds the authority the change newly poses or removes. An install that changes nothing asks none: whoever the install Function admits lifts a break-glass mark, once all of the stored data holds.';
|
|
666
|
+
readonly laws: readonly ["RS-AUTHORITY", "RS-AUTHORITY-EDGES", "INSTALL-NOOP-INERT"];
|
|
667
|
+
};
|
|
668
|
+
readonly CORE_AUTHORITY_EDGE_AUTHORED: {
|
|
669
|
+
readonly phase: 'install';
|
|
670
|
+
readonly layer: 'authority';
|
|
671
|
+
readonly subjects: readonly ["install.core", "fact.authority"];
|
|
672
|
+
readonly does: 'refuse';
|
|
673
|
+
readonly refusal: {
|
|
674
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
675
|
+
readonly details: {
|
|
676
|
+
readonly phase: 'upgrade';
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
readonly raised: {
|
|
680
|
+
readonly error: 'projection';
|
|
681
|
+
readonly code: "PROJECTION_DESIRED_INVALID";
|
|
682
|
+
};
|
|
683
|
+
readonly statement: 'A Core a Domain authors holds no scope or meta-authority Edge: only an installation derives one.';
|
|
684
|
+
};
|
|
685
|
+
readonly AUTHORITY_COLLIDES_WITH_CORE: {
|
|
686
|
+
readonly phase: 'install';
|
|
687
|
+
readonly layer: 'authority';
|
|
688
|
+
readonly subjects: readonly ["fact.authority"];
|
|
689
|
+
readonly does: 'refuse';
|
|
690
|
+
readonly refusal: {
|
|
691
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
692
|
+
readonly details: {
|
|
693
|
+
readonly phase: 'upgrade';
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
readonly raised: {
|
|
697
|
+
readonly error: 'projection';
|
|
698
|
+
readonly code: "PROJECTION_DESIRED_INVALID";
|
|
699
|
+
};
|
|
700
|
+
readonly statement: 'The authority an installation derives does not collide with a Core fact.';
|
|
701
|
+
};
|
|
702
|
+
readonly AUTHORITY_HOLDER_UNRESOLVED: {
|
|
703
|
+
readonly phase: 'install';
|
|
704
|
+
readonly layer: 'authority';
|
|
705
|
+
readonly subjects: readonly ["fact.authority"];
|
|
706
|
+
readonly does: 'refuse';
|
|
707
|
+
readonly refusal: {
|
|
708
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
709
|
+
readonly details: {
|
|
710
|
+
readonly phase: 'upgrade';
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
readonly raised: {
|
|
714
|
+
readonly error: 'projection';
|
|
715
|
+
readonly code: "PROJECTION_DESIRED_INVALID";
|
|
716
|
+
};
|
|
717
|
+
readonly statement: 'A holder is the principal of the installing Domain, or resolves to one Core Identity with a projected id. A holder of a dependency holds only Roles of the installed Domain.';
|
|
718
|
+
readonly laws: readonly ["RS-ROLE-HOLDERS"];
|
|
719
|
+
};
|
|
720
|
+
readonly AUTHORITY_ROLE_UNRESOLVED: {
|
|
721
|
+
readonly phase: 'install';
|
|
722
|
+
readonly layer: 'authority';
|
|
723
|
+
readonly subjects: readonly ["fact.authority"];
|
|
724
|
+
readonly does: 'refuse';
|
|
725
|
+
readonly refusal: {
|
|
726
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
727
|
+
readonly details: {
|
|
728
|
+
readonly phase: 'upgrade';
|
|
729
|
+
};
|
|
730
|
+
};
|
|
731
|
+
readonly raised: {
|
|
732
|
+
readonly error: 'projection';
|
|
733
|
+
readonly code: "PROJECTION_DESIRED_INVALID";
|
|
734
|
+
};
|
|
735
|
+
readonly statement: 'A Role resolves to one Core Node of a Role Class with a projected id.';
|
|
736
|
+
readonly laws: readonly ["KS-AUTHORITY-VOCABULARY", "RS-ROLE-HOLDERS"];
|
|
737
|
+
};
|
|
738
|
+
readonly AUTHORITY_TARGET_UNPROJECTED: {
|
|
739
|
+
readonly phase: 'install';
|
|
740
|
+
readonly layer: 'authority';
|
|
741
|
+
readonly subjects: readonly ["fact.authority"];
|
|
742
|
+
readonly does: 'refuse';
|
|
743
|
+
readonly refusal: {
|
|
744
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
745
|
+
readonly details: {
|
|
746
|
+
readonly phase: 'upgrade';
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
readonly raised: {
|
|
750
|
+
readonly error: 'projection';
|
|
751
|
+
readonly code: "PROJECTION_DESIRED_INVALID";
|
|
752
|
+
};
|
|
753
|
+
readonly statement: 'What a scope grants on has a projected id.';
|
|
754
|
+
readonly laws: readonly ["KS-AUTHORITY-VOCABULARY"];
|
|
755
|
+
};
|
|
756
|
+
readonly AUTHORITY_CAPABILITY_UNRESOLVED: {
|
|
757
|
+
readonly phase: 'install';
|
|
758
|
+
readonly layer: 'authority';
|
|
759
|
+
readonly subjects: readonly ["fact.authority"];
|
|
760
|
+
readonly does: 'refuse';
|
|
761
|
+
readonly refusal: {
|
|
762
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
763
|
+
readonly details: {
|
|
764
|
+
readonly phase: 'upgrade';
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
readonly raised: {
|
|
768
|
+
readonly error: 'projection';
|
|
769
|
+
readonly code: "PROJECTION_DESIRED_INVALID";
|
|
770
|
+
};
|
|
771
|
+
readonly statement: 'A capability of the legacy form names a Core Identity, and a target with a projected id.';
|
|
772
|
+
readonly laws: readonly ["KS-AUTHORITY-VOCABULARY"];
|
|
773
|
+
};
|
|
774
|
+
readonly REVISION_GUARD_MISMATCH: {
|
|
775
|
+
readonly phase: 'install';
|
|
776
|
+
readonly layer: 'concurrency';
|
|
777
|
+
readonly subjects: readonly ["install.revision"];
|
|
778
|
+
readonly does: 'refuse';
|
|
779
|
+
readonly refusal: {
|
|
780
|
+
readonly code: 'SCHEMA_REVISION_CONFLICT';
|
|
781
|
+
readonly details: {
|
|
782
|
+
readonly phase: 'guard';
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
readonly raised: {
|
|
786
|
+
readonly error: 'plan';
|
|
787
|
+
readonly code: "CUTOVER_REVISION_CONFLICT";
|
|
788
|
+
};
|
|
789
|
+
readonly statement: 'A target revision equals the revision the Domain serves, and a current revision the active revision of the Domain it names.';
|
|
790
|
+
readonly laws: readonly ["CP-GUARDS"];
|
|
791
|
+
};
|
|
792
|
+
readonly REVISION_MOVED: {
|
|
793
|
+
readonly phase: 'install';
|
|
794
|
+
readonly layer: 'concurrency';
|
|
795
|
+
readonly subjects: readonly ["install.revision"];
|
|
796
|
+
readonly does: 'refuse';
|
|
797
|
+
readonly refusal: {
|
|
798
|
+
readonly code: 'SCHEMA_REVISION_CONFLICT';
|
|
799
|
+
readonly details: {
|
|
800
|
+
readonly phase: 'registry';
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
readonly statement: 'A change activates on the Registry it was decided on: if another moved it, the install ends and is requested again. The record of an unchanged install and a session whose source moved are retried by their run instead.';
|
|
804
|
+
readonly laws: readonly ["INSTALL-WORKFLOW-BASE"];
|
|
805
|
+
};
|
|
806
|
+
readonly GATE_ACTIVE: {
|
|
807
|
+
readonly phase: 'install';
|
|
808
|
+
readonly layer: 'concurrency';
|
|
809
|
+
readonly subjects: readonly ["install.revision"];
|
|
810
|
+
readonly does: 'refuse';
|
|
811
|
+
readonly refusal: {
|
|
812
|
+
readonly code: 'SCHEMA_REVISION_CONFLICT';
|
|
813
|
+
readonly details: {
|
|
814
|
+
readonly phase: 'gate';
|
|
815
|
+
readonly state: 'active';
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
readonly statement: 'A process holds one change of its snapshot at a time. A request queues only behind another with the same desired Domains and the same dependency meaning, whoever sends it and in whatever order, and judges its guards, readiness and authority against the generation it finds after waiting. A request for another set is refused at once.';
|
|
819
|
+
readonly laws: readonly ["SC-RESERVATION", "SC-CONVERGENCE-RESERVATION", "INSTALLATION-CONVERGENCE-IDENTITY"];
|
|
820
|
+
};
|
|
821
|
+
readonly GATE_STALE: {
|
|
822
|
+
readonly phase: 'install';
|
|
823
|
+
readonly layer: 'concurrency';
|
|
824
|
+
readonly subjects: readonly ["install.revision"];
|
|
825
|
+
readonly does: 'refuse';
|
|
826
|
+
readonly refusal: {
|
|
827
|
+
readonly code: 'SCHEMA_REVISION_CONFLICT';
|
|
828
|
+
readonly details: {
|
|
829
|
+
readonly phase: 'gate';
|
|
830
|
+
readonly state: 'stale';
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
readonly statement: 'A change of the snapshot starts from the snapshot the process serves.';
|
|
834
|
+
readonly laws: readonly ["SG-PUBLICATION"];
|
|
835
|
+
};
|
|
836
|
+
readonly CHANGE_ACTIVE: {
|
|
837
|
+
readonly phase: 'install';
|
|
838
|
+
readonly layer: 'concurrency';
|
|
839
|
+
readonly subjects: readonly ["install.revision"];
|
|
840
|
+
readonly does: 'refuse';
|
|
841
|
+
readonly refusal: {
|
|
842
|
+
readonly code: 'SCHEMA_CHANGE_ACTIVE';
|
|
843
|
+
};
|
|
844
|
+
readonly statement: 'One schema change runs at a time: while a session owns the Instance, another change runs, or an uninstall purges, a new one is refused.';
|
|
845
|
+
readonly laws: readonly ["INSTALL-WORKFLOW-SERIAL", "INSTALL-HOLD-AT-DISPATCH", "UNINSTALL-WORKFLOW-PURGE-LOCK", "INSTALLATION-UNINSTALL-SESSION"];
|
|
846
|
+
};
|
|
847
|
+
readonly PLANNER_INPUT_MALFORMED: {
|
|
848
|
+
readonly phase: 'install';
|
|
849
|
+
readonly layer: 'defect';
|
|
850
|
+
readonly subjects: readonly ["kernel"];
|
|
851
|
+
readonly does: 'refuse';
|
|
852
|
+
readonly refusal: {
|
|
853
|
+
readonly code: 'SCHEMA_REVISION_CONFLICT';
|
|
854
|
+
readonly details: {
|
|
855
|
+
readonly phase: 'registry';
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
readonly raised: {
|
|
859
|
+
readonly error: 'plan';
|
|
860
|
+
readonly code: "CUTOVER_PLAN_INVALID";
|
|
861
|
+
};
|
|
862
|
+
readonly statement: 'The workflow hands the cutover planner canonical origins, roots and an allocator, a consent only where the issuer changes, and for a drain the in-flight entry of the issuer it replaces.';
|
|
863
|
+
readonly laws: readonly ["CP-PURE"];
|
|
864
|
+
};
|
|
865
|
+
readonly ROOT_REPEATED: {
|
|
866
|
+
readonly phase: 'install';
|
|
867
|
+
readonly layer: 'defect';
|
|
868
|
+
readonly subjects: readonly ["kernel"];
|
|
869
|
+
readonly does: 'refuse';
|
|
870
|
+
readonly refusal: {
|
|
871
|
+
readonly code: 'SCHEMA_REVISION_CONFLICT';
|
|
872
|
+
readonly details: {
|
|
873
|
+
readonly phase: 'registry';
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
readonly raised: {
|
|
877
|
+
readonly error: 'plan';
|
|
878
|
+
readonly code: "CUTOVER_ROOT_DUPLICATE";
|
|
879
|
+
};
|
|
880
|
+
readonly statement: 'The workflow hands the cutover planner each root once.';
|
|
881
|
+
readonly laws: readonly ["CP-EXACT-ROOTS"];
|
|
882
|
+
};
|
|
883
|
+
readonly CHANGE_SET_INVALID: {
|
|
884
|
+
readonly phase: 'install';
|
|
885
|
+
readonly layer: 'defect';
|
|
886
|
+
readonly subjects: readonly ["kernel"];
|
|
887
|
+
readonly does: 'refuse';
|
|
888
|
+
readonly refusal: {
|
|
889
|
+
readonly code: 'SCHEMA_REVISION_CONFLICT';
|
|
890
|
+
readonly details: {
|
|
891
|
+
readonly phase: 'registry';
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
readonly raised: {
|
|
895
|
+
readonly error: 'plan';
|
|
896
|
+
readonly code: "CUTOVER_CHANGE_SET_INVALID";
|
|
897
|
+
};
|
|
898
|
+
readonly statement: 'An install only adds or replaces, an uninstall removes at least one Domain, and a bootstrap adds one to an empty Registry.';
|
|
899
|
+
readonly laws: readonly ["CP-EXACT-ROOTS", "CP-UNINSTALL"];
|
|
900
|
+
};
|
|
901
|
+
readonly ID_ALLOCATION_INVALID: {
|
|
902
|
+
readonly phase: 'install';
|
|
903
|
+
readonly layer: 'defect';
|
|
904
|
+
readonly subjects: readonly ["kernel"];
|
|
905
|
+
readonly does: 'refuse';
|
|
906
|
+
readonly refusal: {
|
|
907
|
+
readonly code: 'SCHEMA_REVISION_CONFLICT';
|
|
908
|
+
readonly details: {
|
|
909
|
+
readonly phase: 'registry';
|
|
910
|
+
};
|
|
911
|
+
};
|
|
912
|
+
readonly raised: {
|
|
913
|
+
readonly error: 'plan';
|
|
914
|
+
readonly code: "CUTOVER_ID_ALLOCATION_INVALID";
|
|
915
|
+
};
|
|
916
|
+
readonly statement: 'The allocator gives each new Installation an id no Installation and no projected Path holds.';
|
|
917
|
+
readonly laws: readonly ["CP-PURE"];
|
|
918
|
+
};
|
|
919
|
+
readonly REGISTRY_INVALID: {
|
|
920
|
+
readonly phase: 'install';
|
|
921
|
+
readonly layer: 'defect';
|
|
922
|
+
readonly subjects: readonly ["kernel"];
|
|
923
|
+
readonly does: 'refuse';
|
|
924
|
+
readonly refusal: {
|
|
925
|
+
readonly code: 'SCHEMA_INTEGRITY_ERROR';
|
|
926
|
+
};
|
|
927
|
+
readonly statement: 'A Registry holds one Registration per origin, each with its own principal and ids.';
|
|
928
|
+
};
|
|
929
|
+
readonly RECORD_UNAVAILABLE: {
|
|
930
|
+
readonly phase: 'install';
|
|
931
|
+
readonly layer: 'engine';
|
|
932
|
+
readonly subjects: readonly ["store"];
|
|
933
|
+
readonly does: 'refuse';
|
|
934
|
+
readonly refusal: {
|
|
935
|
+
readonly code: 'SCHEMA_BACKEND_FAILED';
|
|
936
|
+
};
|
|
937
|
+
readonly statement: 'While the system store does not answer, answers outside its contract or declines a terminal record with a refusal every provider shares, nothing is decided: the request is retried. A call that reads a record or the Instance row before it starts hears BACKEND_UNAVAILABLE, or CAPACITY_EXHAUSTED when the store refused for capacity.';
|
|
938
|
+
readonly laws: readonly ["INSTALL-WORKFLOW-FAILURES", "SESSION-WORKFLOW-REPORT-BOUND", "RT-ERROR-INSTALL-RECORD"];
|
|
939
|
+
};
|
|
940
|
+
readonly RECORD_INCOHERENT: {
|
|
941
|
+
readonly phase: 'install';
|
|
942
|
+
readonly layer: 'defect';
|
|
943
|
+
readonly subjects: readonly ["store"];
|
|
944
|
+
readonly does: 'refuse';
|
|
945
|
+
readonly refusal: {
|
|
946
|
+
readonly code: 'SCHEMA_INTEGRITY_ERROR';
|
|
947
|
+
};
|
|
948
|
+
readonly statement: 'A lifecycle record holds what its Execution wrote, once and for ever.';
|
|
949
|
+
readonly laws: readonly ["INSTALL-WORKFLOW-RECORD", "INSTALL-RECORDS-RETAINED", "LIFECYCLE-RECORD-ONCE"];
|
|
950
|
+
};
|
|
951
|
+
readonly ACTIVATION_REFUSED: {
|
|
952
|
+
readonly phase: 'install';
|
|
953
|
+
readonly layer: 'engine';
|
|
954
|
+
readonly subjects: readonly ["install.activation"];
|
|
955
|
+
readonly does: 'refuse';
|
|
956
|
+
readonly refusal: {
|
|
957
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
958
|
+
};
|
|
959
|
+
readonly statement: 'A provider refuses with proof of no effect: CONTINUITY_BROKEN when an observed witness moved and no difference proves its question; TRANSITION_REJECTED when the live checkpoint, a receipt, the installation authority, an owner of a Core fact or the post-state refuses, when the Mutations of the plan state effects that conflict, when a repair finds a target fact held by another owner or Class, a retiring one included, or when another Node holds the issuer and subject a retained principal moves to; REVISION_STALE when the Instance row moved. It also answers the refusals every provider shares: PLAN_UNSUPPORTED when it cannot run what the plan states; RESOURCE_EXHAUSTED when an activation passes a bound of the store, what it carries apart from its plan past SCHEMA_ARTIFACT_LIMITS among them; SNAPSHOT_STALE when another snapshot serves; MAINTENANCE_STALE when the Instance row no longer admits the stamp of the plan; CAPACITY_EXHAUSTED, UNAVAILABLE, CANCELLED and DEADLINE_EXCEEDED when it could not take or finish the work. A preparation or an observation refused in another shape is read as INSTALL.ACTIVATION_STEP_FAILED, an activation as INSTALL.ACTIVATION_RESULT_MISMATCH. An inspection of another plan, or a recovery closure of another checkpoint, is refused here too. PLAN_UNSUPPORTED, RESOURCE_EXHAUSTED and TRANSITION_REJECTED end an install as a refusal. CONTINUITY_BROKEN sends an install or a session to catch up, while an uninstall ends on it. Any other leaves the run to retry and then pause, and a retry after MAINTENANCE_STALE reads the Instance row again, so it runs under the admission the row holds or answers what the row says. The record of an install that changes nothing is decided the same way, REVISION_STALE and a RETIREMENT_PENDING no retirement in the Catalog explains among the refusals that pass by themselves. After the retiring activation of an uninstall, its final record and its purge batches retry and then pause on every refusal: a RETIREMENT_PENDING of the final record purges again, and a MAINTENANCE_STALE is sent again under the row read then.';
|
|
960
|
+
readonly divergence: 'A Domain principal whose stored pair moved answers CONTINUITY_BROKEN on PostgreSQL and TRANSITION_REJECTED on Reference. A replay of a committed activation once the checkpoint moved on answers CONTINUITY_BROKEN on PostgreSQL and TRANSITION_REJECTED on Reference. A recovery of a non-serving checkpoint answers CONTINUITY_BROKEN on both. A question held at a witness that moved commits on PostgreSQL when the difference of a caught-up pre-copy proves it, a count local to one fact or a `values` question, and answers CONTINUITY_BROKEN on Reference, which keeps no difference. A disposal watches the extents of its Node Classes on PostgreSQL, and on Reference only its Edge Classes and the facts it read: a Node of such a Class written since, and at no Edge, answers CONTINUITY_BROKEN on PostgreSQL alone. A recovery that would delete a Node holding an Edge outside what it deletes answers TRANSITION_REJECTED on PostgreSQL, the Node kept, and completes on Reference, the Edge left dangling. PostgreSQL refuses a projection claiming a fact another Domain owns, and Reference reads no owner. A source cannot reach this one: a Core Edge names only Definitions of its own Domain. PostgreSQL alone keeps a target proof, and answers TRANSITION_REJECTED before any effect to an activation whose previous proof holds no entry for a Registration the activation carries unchanged.';
|
|
961
|
+
readonly laws: readonly ["SA-REFUSAL-EVIDENCE", "SCHEMA-ACTIVATION-ADMIT", "SCHEMA-CONTINUITY-UNCHANGED", "VAL-WITNESS-ACTIVATION", "SEXEC-INSPECT-BEFORE-CRITICAL", "SCHEMA-ACTIVATION-IDENTITY-KEY", "POSTGRES-SCHEMA-IDENTITY-KEY", "SCHEMA-ARTIFACT-LIMITS", "POSTGRES-SCHEMA-ACTIVATION-LIMITS", "MNT-STAMP", "INSTALL-WORKFLOW-FAILURES", "UNINSTALL-WORKFLOW-PURGE"];
|
|
962
|
+
};
|
|
963
|
+
readonly ACTIVATION_STEP_FAILED: {
|
|
964
|
+
readonly phase: 'install';
|
|
965
|
+
readonly layer: 'engine';
|
|
966
|
+
readonly subjects: readonly ["install.activation"];
|
|
967
|
+
readonly does: 'refuse';
|
|
968
|
+
readonly refusal: {
|
|
969
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
970
|
+
};
|
|
971
|
+
readonly statement: 'A preparation or an observation that fails answers at once, nothing settled. An activation that throws proves nothing: settlement retries discovery and recovery, whatever fails them and whatever checkpoint of neither generation they prove, unstoppable by its caller, with no new lease until it selects a generation or the Runtime closes.';
|
|
972
|
+
readonly laws: readonly ["SA-SINGLE-SUBMISSION", "SC-FAILURE", "SCHEMA-SETTLEMENT-DETACHED", "SCHEMA-SETTLEMENT-PROOF-SELECTION"];
|
|
973
|
+
};
|
|
974
|
+
readonly ACTIVATION_CHECKPOINT_MALFORMED: {
|
|
975
|
+
readonly phase: 'install';
|
|
976
|
+
readonly layer: 'engine';
|
|
977
|
+
readonly subjects: readonly ["install.activation"];
|
|
978
|
+
readonly does: 'refuse';
|
|
979
|
+
readonly refusal: {
|
|
980
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
981
|
+
};
|
|
982
|
+
readonly statement: 'A checkpoint a provider discovers carries a well-formed ticket and artifact. Discovery compares it with no plan.';
|
|
983
|
+
readonly laws: readonly ["SA-PREPARATION-TARGET"];
|
|
984
|
+
};
|
|
985
|
+
readonly ACTIVATION_RESULT_MISMATCH: {
|
|
986
|
+
readonly phase: 'install';
|
|
987
|
+
readonly layer: 'engine';
|
|
988
|
+
readonly subjects: readonly ["install.activation"];
|
|
989
|
+
readonly does: 'refuse';
|
|
990
|
+
readonly refusal: {
|
|
991
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
992
|
+
};
|
|
993
|
+
readonly statement: 'An outcome names the ticket, state and snapshots of its plan. An activation answering otherwise is read as an unknown outcome, settled on the checkpoint.';
|
|
994
|
+
readonly laws: readonly ["SA-RESULT"];
|
|
995
|
+
};
|
|
996
|
+
readonly ACTIVATION_OUTCOME_UNKNOWN: {
|
|
997
|
+
readonly phase: 'install';
|
|
998
|
+
readonly layer: 'engine';
|
|
999
|
+
readonly subjects: readonly ["install.activation"];
|
|
1000
|
+
readonly does: 'refuse';
|
|
1001
|
+
readonly refusal: {
|
|
1002
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
1003
|
+
};
|
|
1004
|
+
readonly statement: 'A record with an unknown outcome, or a refused one, is settled by reading the record, never assumed. A purge batch with an unknown outcome is sent again, never taken for a refusal.';
|
|
1005
|
+
readonly laws: readonly ["INSTALL-RECORD-IN-COMMIT", "UNINSTALL-WORKFLOW-STORE-UNANSWERED", "INSTALL-WORKFLOW-ACTIVATION", "UNINSTALL-WORKFLOW-PURGE"];
|
|
1006
|
+
};
|
|
1007
|
+
readonly ACTIVATION_WITNESS_LOST: {
|
|
1008
|
+
readonly phase: 'install';
|
|
1009
|
+
readonly layer: 'engine';
|
|
1010
|
+
readonly subjects: readonly ["install.validation"];
|
|
1011
|
+
readonly does: 'refuse';
|
|
1012
|
+
readonly refusal: {
|
|
1013
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
1014
|
+
};
|
|
1015
|
+
readonly statement: 'An install forced to validate from scratch by a lost witness gives up after a bounded number of losses.';
|
|
1016
|
+
readonly laws: readonly ["INSTALL-WORKFLOW-INTERRUPTIONS"];
|
|
1017
|
+
};
|
|
1018
|
+
readonly ACTIVATION_OUTPACED: {
|
|
1019
|
+
readonly phase: 'install';
|
|
1020
|
+
readonly layer: 'limit';
|
|
1021
|
+
readonly subjects: readonly ["install.validation"];
|
|
1022
|
+
readonly does: 'refuse';
|
|
1023
|
+
readonly refusal: {
|
|
1024
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
1025
|
+
};
|
|
1026
|
+
readonly statement: 'An online install whose validation cannot catch up with writes within its bound ends, and is requested in maintenance mode.';
|
|
1027
|
+
readonly laws: readonly ["INSTALL-WORKFLOW-CATCH-UP"];
|
|
1028
|
+
};
|
|
1029
|
+
readonly GATE_UNAVAILABLE: {
|
|
1030
|
+
readonly phase: 'install';
|
|
1031
|
+
readonly layer: 'engine';
|
|
1032
|
+
readonly subjects: readonly ["install.activation"];
|
|
1033
|
+
readonly does: 'refuse';
|
|
1034
|
+
readonly refusal: {
|
|
1035
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
1036
|
+
};
|
|
1037
|
+
readonly statement: 'A snapshot gate which closed or timed out draining decides nothing of the change.';
|
|
1038
|
+
readonly laws: readonly ["SC-SHUTDOWN", "SC-FAILURE"];
|
|
1039
|
+
};
|
|
1040
|
+
readonly STORE_REFUSED: {
|
|
1041
|
+
readonly phase: 'install';
|
|
1042
|
+
readonly layer: 'engine';
|
|
1043
|
+
readonly subjects: readonly ["store"];
|
|
1044
|
+
readonly does: 'refuse';
|
|
1045
|
+
readonly refusal: {
|
|
1046
|
+
readonly code: 'SCHEMA_BACKEND_FAILED';
|
|
1047
|
+
};
|
|
1048
|
+
readonly statement: 'A store which refuses to claim the change or to give it back leaves the run to retry, whichever refusal every provider shares it answers.';
|
|
1049
|
+
readonly laws: readonly ["INSTALL-WORKFLOW-FAILURES"];
|
|
1050
|
+
};
|
|
1051
|
+
readonly PROJECTION_RESULT_INVALID: {
|
|
1052
|
+
readonly phase: 'install';
|
|
1053
|
+
readonly layer: 'engine';
|
|
1054
|
+
readonly subjects: readonly ["install.validation"];
|
|
1055
|
+
readonly does: 'refuse';
|
|
1056
|
+
readonly refusal: {
|
|
1057
|
+
readonly code: 'SCHEMA_BACKEND_FAILED';
|
|
1058
|
+
};
|
|
1059
|
+
readonly raised: {
|
|
1060
|
+
readonly error: 'projection';
|
|
1061
|
+
readonly code: "PROJECTION_RESULT_INVALID";
|
|
1062
|
+
};
|
|
1063
|
+
readonly statement: 'An inspection answers once per item, with its continuity witness.';
|
|
1064
|
+
readonly laws: readonly ["SP-COMPLETE-RESULT"];
|
|
1065
|
+
};
|
|
1066
|
+
readonly PROJECTION_EVIDENCE_INVALID: {
|
|
1067
|
+
readonly phase: 'install';
|
|
1068
|
+
readonly layer: 'engine';
|
|
1069
|
+
readonly subjects: readonly ["install.validation"];
|
|
1070
|
+
readonly does: 'refuse';
|
|
1071
|
+
readonly refusal: {
|
|
1072
|
+
readonly code: 'SCHEMA_BACKEND_FAILED';
|
|
1073
|
+
};
|
|
1074
|
+
readonly raised: {
|
|
1075
|
+
readonly error: 'projection';
|
|
1076
|
+
readonly code: "PROJECTION_EVIDENCE_INVALID";
|
|
1077
|
+
};
|
|
1078
|
+
readonly statement: 'What a provider observes carries evidence of the item it answers.';
|
|
1079
|
+
readonly laws: readonly ["SP-COMPLETE-RESULT"];
|
|
1080
|
+
};
|
|
1081
|
+
readonly PROJECTION_OBSERVATION_INVALID: {
|
|
1082
|
+
readonly phase: 'install';
|
|
1083
|
+
readonly layer: 'engine';
|
|
1084
|
+
readonly subjects: readonly ["install.validation"];
|
|
1085
|
+
readonly does: 'refuse';
|
|
1086
|
+
readonly refusal: {
|
|
1087
|
+
readonly code: 'SCHEMA_BACKEND_FAILED';
|
|
1088
|
+
};
|
|
1089
|
+
readonly raised: {
|
|
1090
|
+
readonly error: 'projection';
|
|
1091
|
+
readonly code: "PROJECTION_OBSERVATION_INVALID";
|
|
1092
|
+
};
|
|
1093
|
+
readonly statement: 'What a provider observes decodes as a Graph within the scope it was asked.';
|
|
1094
|
+
readonly laws: readonly ["SP-COMPLETE-RESULT"];
|
|
1095
|
+
};
|
|
1096
|
+
readonly VALIDATION_EVIDENCE_INVALID: {
|
|
1097
|
+
readonly phase: 'install';
|
|
1098
|
+
readonly layer: 'engine';
|
|
1099
|
+
readonly subjects: readonly ["install.validation"];
|
|
1100
|
+
readonly does: 'refuse';
|
|
1101
|
+
readonly refusal: {
|
|
1102
|
+
readonly code: 'SCHEMA_BACKEND_FAILED';
|
|
1103
|
+
};
|
|
1104
|
+
readonly statement: 'A validation page is well-formed evidence for the request it answers.';
|
|
1105
|
+
readonly laws: readonly ["VAL-NO-SILENT-PASS"];
|
|
1106
|
+
};
|
|
1107
|
+
readonly VALIDATION_REFUSED: {
|
|
1108
|
+
readonly phase: 'install';
|
|
1109
|
+
readonly layer: 'engine';
|
|
1110
|
+
readonly subjects: readonly ["install.validation"];
|
|
1111
|
+
readonly does: 'refuse';
|
|
1112
|
+
readonly refusal: {
|
|
1113
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
1114
|
+
};
|
|
1115
|
+
readonly statement: 'A provider which refuses a read proves that read wrote nothing, and no verdict. Of the refusals every provider shares, PLAN_UNSUPPORTED ends the run as a refusal, RESOURCE_EXHAUSTED ends it too unless a page answers it, which leaves that question undecided, as QUESTION_UNDECIDED says, while SNAPSHOT_STALE, CAPACITY_EXHAUSTED, UNAVAILABLE, CANCELLED, DEADLINE_EXCEEDED and MAINTENANCE_STALE leave it to retry and then pause. The data mark a repair session opens on is such a read: a refusal of it that would come again, WITNESS_UNKNOWN among them, ends the run and reopens the Instance, and one that passes by itself keeps the row `draining`.';
|
|
1116
|
+
readonly laws: readonly ["VAL-NO-SILENT-PASS", "SA-REFUSAL-EVIDENCE", "VAL-STAGED-CLASS-SERVED", "SESSION-WORKFLOW-OPEN-FAILURE"];
|
|
1117
|
+
};
|
|
1118
|
+
readonly VALIDATION_READ_FAILED: {
|
|
1119
|
+
readonly phase: 'install';
|
|
1120
|
+
readonly layer: 'engine';
|
|
1121
|
+
readonly subjects: readonly ["install.validation"];
|
|
1122
|
+
readonly does: 'refuse';
|
|
1123
|
+
readonly refusal: {
|
|
1124
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
1125
|
+
};
|
|
1126
|
+
readonly statement: 'A provider read which throws proves nothing.';
|
|
1127
|
+
readonly laws: readonly ["VAL-NO-SILENT-PASS", "SA-REFUSAL-EVIDENCE"];
|
|
1128
|
+
};
|
|
1129
|
+
readonly VALIDATION_CLOSURE_EXCEEDED: {
|
|
1130
|
+
readonly phase: 'install';
|
|
1131
|
+
readonly layer: 'limit';
|
|
1132
|
+
readonly subjects: readonly ["install.validation"];
|
|
1133
|
+
readonly does: 'refuse';
|
|
1134
|
+
readonly refusal: {
|
|
1135
|
+
readonly code: 'VALIDATION_CLOSURE_EXCEEDED';
|
|
1136
|
+
readonly internal: true;
|
|
1137
|
+
};
|
|
1138
|
+
readonly statement: 'The validation closed inside a cutover stays within its budget: past it the activation keeps the CONTINUITY_BROKEN it was closing, which is INSTALL.ACTIVATION_REFUSED, and no caller receives this row.';
|
|
1139
|
+
readonly laws: readonly ["INSTALL-CUTOVER-BUDGET"];
|
|
1140
|
+
};
|
|
1141
|
+
readonly VALIDATION_FENCED: {
|
|
1142
|
+
readonly phase: 'install';
|
|
1143
|
+
readonly layer: 'concurrency';
|
|
1144
|
+
readonly subjects: readonly ["install.validation"];
|
|
1145
|
+
readonly does: 'refuse';
|
|
1146
|
+
readonly refusal: {
|
|
1147
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
1148
|
+
};
|
|
1149
|
+
readonly statement: 'One driver holds a validation run: a later one takes it, and the former stops.';
|
|
1150
|
+
readonly laws: readonly ["VAL-RESUME"];
|
|
1151
|
+
};
|
|
1152
|
+
readonly VALIDATION_PAUSED: {
|
|
1153
|
+
readonly phase: 'install';
|
|
1154
|
+
readonly layer: 'limit';
|
|
1155
|
+
readonly subjects: readonly ["install.validation"];
|
|
1156
|
+
readonly does: 'refuse';
|
|
1157
|
+
readonly refusal: {
|
|
1158
|
+
readonly code: 'SCHEMA_ACTIVATION_FAILED';
|
|
1159
|
+
};
|
|
1160
|
+
readonly statement: 'A durable run stops between two pages when its window ends, its progress saved.';
|
|
1161
|
+
readonly laws: readonly ["VAL-PAUSE-ADVANCES", "INSTALL-WORKFLOW-WINDOW"];
|
|
1162
|
+
};
|
|
1163
|
+
readonly VALIDATION_DEFECT: {
|
|
1164
|
+
readonly phase: 'install';
|
|
1165
|
+
readonly layer: 'defect';
|
|
1166
|
+
readonly subjects: readonly ["kernel"];
|
|
1167
|
+
readonly does: 'refuse';
|
|
1168
|
+
readonly refusal: {
|
|
1169
|
+
readonly code: 'VALIDATION_PLAN_INVALID';
|
|
1170
|
+
readonly internal: true;
|
|
1171
|
+
};
|
|
1172
|
+
readonly statement: 'The Runtime uses a validation plan, policy and run within their contract.';
|
|
1173
|
+
};
|
|
1174
|
+
readonly PROJECTION_POLICY_INVALID: {
|
|
1175
|
+
readonly phase: 'install';
|
|
1176
|
+
readonly layer: 'defect';
|
|
1177
|
+
readonly subjects: readonly ["kernel"];
|
|
1178
|
+
readonly does: 'refuse';
|
|
1179
|
+
readonly refusal: {
|
|
1180
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
1181
|
+
readonly details: {
|
|
1182
|
+
readonly phase: 'upgrade';
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
readonly raised: {
|
|
1186
|
+
readonly error: 'projection';
|
|
1187
|
+
readonly code: "PROJECTION_POLICY_INVALID";
|
|
1188
|
+
};
|
|
1189
|
+
readonly statement: 'The Kernel composes a projection under a valid policy.';
|
|
1190
|
+
readonly laws: readonly ["SP-ARTIFACT-OBSERVATION-LIMITS"];
|
|
1191
|
+
};
|
|
1192
|
+
readonly PROJECTION_PLAN_INVALID: {
|
|
1193
|
+
readonly phase: 'install';
|
|
1194
|
+
readonly layer: 'defect';
|
|
1195
|
+
readonly subjects: readonly ["kernel"];
|
|
1196
|
+
readonly does: 'refuse';
|
|
1197
|
+
readonly refusal: {
|
|
1198
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
1199
|
+
readonly details: {
|
|
1200
|
+
readonly phase: 'upgrade';
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
readonly raised: {
|
|
1204
|
+
readonly error: 'projection';
|
|
1205
|
+
readonly code: "PROJECTION_PLAN_INVALID";
|
|
1206
|
+
};
|
|
1207
|
+
readonly statement: 'An inspection matches its plan exactly, and a change which narrows retained data has a validation provider.';
|
|
1208
|
+
readonly laws: readonly ["SP-INSPECTION-LIMITS", "SP-SESSION-OBSERVATION", "SP-VALIDATION-DELEGATED"];
|
|
1209
|
+
};
|
|
1210
|
+
readonly PROJECTION_TARGET_INVALID: {
|
|
1211
|
+
readonly phase: 'install';
|
|
1212
|
+
readonly layer: 'defect';
|
|
1213
|
+
readonly subjects: readonly ["kernel"];
|
|
1214
|
+
readonly does: 'refuse';
|
|
1215
|
+
readonly refusal: {
|
|
1216
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
1217
|
+
readonly details: {
|
|
1218
|
+
readonly phase: 'upgrade';
|
|
1219
|
+
};
|
|
1220
|
+
};
|
|
1221
|
+
readonly raised: {
|
|
1222
|
+
readonly error: 'projection';
|
|
1223
|
+
readonly code: "PROJECTION_TARGET_INVALID";
|
|
1224
|
+
};
|
|
1225
|
+
readonly statement: 'A target and its Installation artifact are coherent, and within their limits.';
|
|
1226
|
+
readonly laws: readonly ["SP-TARGET"];
|
|
1227
|
+
};
|
|
1228
|
+
readonly PROJECTION_BINDING_INVALID: {
|
|
1229
|
+
readonly phase: 'install';
|
|
1230
|
+
readonly layer: 'defect';
|
|
1231
|
+
readonly subjects: readonly ["kernel"];
|
|
1232
|
+
readonly does: 'refuse';
|
|
1233
|
+
readonly refusal: {
|
|
1234
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
1235
|
+
readonly details: {
|
|
1236
|
+
readonly phase: 'upgrade';
|
|
1237
|
+
};
|
|
1238
|
+
};
|
|
1239
|
+
readonly raised: {
|
|
1240
|
+
readonly error: 'projection';
|
|
1241
|
+
readonly code: "PROJECTION_BINDING_INVALID";
|
|
1242
|
+
};
|
|
1243
|
+
readonly statement: 'Every Node a projection writes has a Mutation binding and a target id.';
|
|
1244
|
+
};
|
|
1245
|
+
readonly PROJECTION_WITNESS_INVALID: {
|
|
1246
|
+
readonly phase: 'install';
|
|
1247
|
+
readonly layer: 'defect';
|
|
1248
|
+
readonly subjects: readonly ["kernel"];
|
|
1249
|
+
readonly does: 'refuse';
|
|
1250
|
+
readonly refusal: {
|
|
1251
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
1252
|
+
readonly details: {
|
|
1253
|
+
readonly phase: 'upgrade';
|
|
1254
|
+
};
|
|
1255
|
+
};
|
|
1256
|
+
readonly raised: {
|
|
1257
|
+
readonly error: 'projection';
|
|
1258
|
+
readonly code: "PROJECTION_WITNESS_INVALID";
|
|
1259
|
+
};
|
|
1260
|
+
readonly statement: 'A completeness witness was minted by this Runtime for this scope and this Graph.';
|
|
1261
|
+
readonly laws: readonly ["SP-DELETION-WITNESS"];
|
|
1262
|
+
};
|
|
1263
|
+
readonly PROJECTION_AUTO_EVIDENCE_INVALID: {
|
|
1264
|
+
readonly phase: 'install';
|
|
1265
|
+
readonly layer: 'defect';
|
|
1266
|
+
readonly subjects: readonly ["kernel"];
|
|
1267
|
+
readonly does: 'refuse';
|
|
1268
|
+
readonly refusal: {
|
|
1269
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
1270
|
+
readonly details: {
|
|
1271
|
+
readonly phase: 'upgrade';
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
readonly raised: {
|
|
1275
|
+
readonly error: 'projection';
|
|
1276
|
+
readonly code: "PROJECTION_AUTO_EVIDENCE_INVALID";
|
|
1277
|
+
};
|
|
1278
|
+
readonly statement: 'A projection target authors no automatic Property, and an observation binds the automatic values of its contract.';
|
|
1279
|
+
readonly laws: readonly ["SP-AUTO-MUTATION", "SP-AUTO-RECOVERY"];
|
|
1280
|
+
};
|
|
1281
|
+
readonly PROJECTION_DESIRED_INVALID: {
|
|
1282
|
+
readonly phase: 'install';
|
|
1283
|
+
readonly layer: 'defect';
|
|
1284
|
+
readonly subjects: readonly ["kernel"];
|
|
1285
|
+
readonly does: 'refuse';
|
|
1286
|
+
readonly refusal: {
|
|
1287
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
1288
|
+
readonly details: {
|
|
1289
|
+
readonly phase: 'upgrade';
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
readonly raised: {
|
|
1293
|
+
readonly error: 'projection';
|
|
1294
|
+
readonly code: "PROJECTION_DESIRED_INVALID";
|
|
1295
|
+
};
|
|
1296
|
+
readonly statement: 'A desired projection equals its scope, and binds each locator it writes to one Node of its Registry.';
|
|
1297
|
+
readonly laws: readonly ["SP-READS"];
|
|
1298
|
+
};
|
|
1299
|
+
readonly PROJECTION_SCOPE_MISMATCH: {
|
|
1300
|
+
readonly phase: 'install';
|
|
1301
|
+
readonly layer: 'defect';
|
|
1302
|
+
readonly subjects: readonly ["kernel"];
|
|
1303
|
+
readonly does: 'refuse';
|
|
1304
|
+
readonly refusal: {
|
|
1305
|
+
readonly code: 'SCHEMA_UPGRADE_INCOMPATIBLE';
|
|
1306
|
+
readonly details: {
|
|
1307
|
+
readonly phase: 'upgrade';
|
|
1308
|
+
};
|
|
1309
|
+
};
|
|
1310
|
+
readonly raised: {
|
|
1311
|
+
readonly error: 'projection';
|
|
1312
|
+
readonly code: "PROJECTION_SCOPE_MISMATCH";
|
|
1313
|
+
};
|
|
1314
|
+
readonly statement: 'What is observed covers exactly the scope of the same Domain.';
|
|
1315
|
+
readonly laws: readonly ["SP-DELETION-WITNESS"];
|
|
1316
|
+
};
|
|
1317
|
+
readonly RECORDED_STATE_INCOHERENT: {
|
|
1318
|
+
readonly phase: 'install';
|
|
1319
|
+
readonly layer: 'defect';
|
|
1320
|
+
readonly subjects: readonly ["kernel"];
|
|
1321
|
+
readonly does: 'refuse';
|
|
1322
|
+
readonly refusal: {
|
|
1323
|
+
readonly code: 'SCHEMA_INTEGRITY_ERROR';
|
|
1324
|
+
};
|
|
1325
|
+
readonly statement: 'What the Kernel recorded is coherent: its Registry, its Catalog, its checkpoints, its tombstones and its Service generations, and the target a session plans again is the one it declared.';
|
|
1326
|
+
readonly laws: readonly ["SESSION-WORKFLOW-INTEGRITY-REASON"];
|
|
1327
|
+
};
|
|
1328
|
+
readonly SESSION_CLOSED: {
|
|
1329
|
+
readonly phase: 'install';
|
|
1330
|
+
readonly layer: 'lifecycle';
|
|
1331
|
+
readonly subjects: readonly ["install.session"];
|
|
1332
|
+
readonly does: 'refuse';
|
|
1333
|
+
readonly refusal: {
|
|
1334
|
+
readonly code: 'SESSION_CLOSED';
|
|
1335
|
+
};
|
|
1336
|
+
readonly statement: 'A session runs while the Instance row names it.';
|
|
1337
|
+
readonly laws: readonly ["SESSION-WORKFLOW-RELEASED"];
|
|
1338
|
+
};
|
|
1339
|
+
readonly SESSION_EXIT_REFUSED: {
|
|
1340
|
+
readonly phase: 'install';
|
|
1341
|
+
readonly layer: 'lifecycle';
|
|
1342
|
+
readonly subjects: readonly ["install.session"];
|
|
1343
|
+
readonly does: 'refuse';
|
|
1344
|
+
readonly refusal: {
|
|
1345
|
+
readonly code: 'EXECUTION_EXIT_REFUSED';
|
|
1346
|
+
};
|
|
1347
|
+
readonly statement: 'A forced cancel or a delete of the Execution of a live session changes nothing: it leaves by a validated apply, a cooperative cancel, its idle expiry or the Host operator release. A run restarted on another release opens again while the row names it and waits for the next command of Root: what stops that opening is reported `interrupted`, or waited on, with the row in `repair`, and never reopens the Instance; an engine cancellation attempts the return to the source; a store fence behind its terminal record answers that record, and the row keeps naming the session until the Host operator releases it. An attempt that a restarted run finds in progress is reported `interrupted` under the reason SESSION_REHOMED. A forced exit of a run which holds no session writes its terminal record first, as cancelled, so its later writes are fenced, the change it held goes stale and its session can no longer open; a run which already ended keeps its record. A session whose opening from `draining` is refused never lived: the Instance reopens, and the run ends with that refusal.';
|
|
1348
|
+
readonly laws: readonly ["SESSION-WORKFLOW-NO-PUBLIC-BREAK-GLASS", "SESSION-WORKFLOW-REHOMED", "SESSION-WORKFLOW-ROW-MOVES", "SESSION-WORKFLOW-OPEN-FAILURE", "WORKFLOWS-SYSTEM-FORCED-EXIT-RECORDED", "SESSION-WORKFLOW-EXIT", "SESSION-WORKFLOW-CANCEL"];
|
|
1349
|
+
};
|
|
1350
|
+
readonly MAINTENANCE_CALLER_NOT_ROOT: {
|
|
1351
|
+
readonly phase: 'install';
|
|
1352
|
+
readonly layer: 'lifecycle';
|
|
1353
|
+
readonly subjects: readonly ["install.session"];
|
|
1354
|
+
readonly does: 'refuse';
|
|
1355
|
+
readonly refusal: {
|
|
1356
|
+
readonly code: 'FUNCTION_DENIED';
|
|
1357
|
+
};
|
|
1358
|
+
readonly statement: 'Only Root opens a maintenance session: a delegated call is not Root.';
|
|
1359
|
+
readonly laws: readonly ["INSTALL-MAINTENANCE-ROOT-AT-DISPATCH"];
|
|
1360
|
+
};
|
|
1361
|
+
readonly SESSION_RELEASED: {
|
|
1362
|
+
readonly phase: 'install';
|
|
1363
|
+
readonly layer: 'lifecycle';
|
|
1364
|
+
readonly subjects: readonly ["install.session"];
|
|
1365
|
+
readonly does: 'refuse';
|
|
1366
|
+
readonly refusal: {
|
|
1367
|
+
readonly code: 'SESSION_RELEASED';
|
|
1368
|
+
};
|
|
1369
|
+
readonly statement: 'A session a break-glass release closed ends as the record of the release says, `cancelled`, and a run that wakes on a command or its idle bound before that record is written ends with this code. A release retries four times while the Instance row moves, and answers WORKFLOWS_UNAVAILABLE after them, as for any answer which proves no release. A release whose record the store refused is finished by the next release asked for that session or for any, under the operator of the first.';
|
|
1370
|
+
readonly laws: readonly ["SESSION-WORKFLOW-RELEASED", "SESSION-WORKFLOW-BREAK-GLASS"];
|
|
1371
|
+
};
|
|
1372
|
+
readonly SESSION_EXPIRED: {
|
|
1373
|
+
readonly phase: 'install';
|
|
1374
|
+
readonly layer: 'lifecycle';
|
|
1375
|
+
readonly subjects: readonly ["install.session"];
|
|
1376
|
+
readonly does: 'refuse';
|
|
1377
|
+
readonly refusal: {
|
|
1378
|
+
readonly code: 'SESSION_EXPIRED';
|
|
1379
|
+
};
|
|
1380
|
+
readonly statement: 'A session no command reaches within its idle bound attempts the return to its source. Held, it ends with this code. Refuted, it stays in `repair` and writes its report, and no bound applies any more: only a command of Root moves it.';
|
|
1381
|
+
readonly laws: readonly ["SESSION-WORKFLOW-IDLE", "SESSION-WORKFLOW-RETURN"];
|
|
1382
|
+
};
|
|
1383
|
+
readonly SESSION_LIMIT_EXCEEDED: {
|
|
1384
|
+
readonly phase: 'install';
|
|
1385
|
+
readonly layer: 'limit';
|
|
1386
|
+
readonly subjects: readonly ["install.session"];
|
|
1387
|
+
readonly does: 'refuse';
|
|
1388
|
+
readonly refusal: {
|
|
1389
|
+
readonly code: 'SESSION_LIMIT_EXCEEDED';
|
|
1390
|
+
};
|
|
1391
|
+
readonly statement: "A session opens within the bounds of the system store, and a command of Root keeps its mark within them. A refuted attempt removes, in the change that stores its report, every attempt report past the latest 30, so its `state` and `mark` reports and those stay within the bound of 32 whatever the number of attempts. A session that had not opened and whose report a bound refuses ends with this code naming the bound and reopens the Instance. An attempt a deterministic refusal interrupts ends `interrupted` with the row back in `repair` and Root's next command heard, under this code, or under its own reason without a summary when that summary is what the bound refused. A run restarted on another release publishes its `awaiting` without its last report when that report is what the bound refused, and keeps the last one that fit when its declaration alone is refused, with the row in `repair` and Root's next command heard. A request within about 250 bytes of `reportBytes` meets two more answers, against SESSION-WORKFLOW-REPORT-BOUND, its later reports outgrowing the bound once the row left `draining`: a refused `attempting` leaves the row in `attempt` naming the session and ends the run with this code; a refused `awaiting` of a refuted, aborted or cancelled attempt, or of a command the session skips, is retried until the run pauses with the row in `repair`. Only the Host operator release frees either. Past retention a report loses its samples and keeps its summary, on each engine.";
|
|
1392
|
+
readonly laws: readonly ["SESSION-WORKFLOW-ATTEMPT-REPORTS", "SESSION-WORKFLOW-REPORT-BOUND", "LIFECYCLE-LIMITS"];
|
|
1393
|
+
};
|
|
1394
|
+
readonly RECORD_ENDED: {
|
|
1395
|
+
readonly phase: 'install';
|
|
1396
|
+
readonly layer: 'lifecycle';
|
|
1397
|
+
readonly subjects: readonly ["install.session"];
|
|
1398
|
+
readonly does: 'refuse';
|
|
1399
|
+
readonly refusal: {
|
|
1400
|
+
readonly code: 'EXECUTION_TERMINAL';
|
|
1401
|
+
};
|
|
1402
|
+
readonly statement: 'An Execution which holds its terminal record does not run: its record answers.';
|
|
1403
|
+
readonly laws: readonly ["INSTALL-WORKFLOW-RECORD", "LIFECYCLE-RECORD-ONCE", "LIFECYCLE-RECORD-ENDS-EXECUTION", "MAINTENANCE-SESSION-ENDED", "INSTALL-WORKFLOW-REHOMED"];
|
|
1404
|
+
};
|
|
1405
|
+
readonly BOOTSTRAP_NOT_EMPTY: {
|
|
1406
|
+
readonly phase: 'install';
|
|
1407
|
+
readonly layer: 'protection';
|
|
1408
|
+
readonly subjects: readonly ["store"];
|
|
1409
|
+
readonly does: 'refuse';
|
|
1410
|
+
readonly refusal: {
|
|
1411
|
+
readonly code: 'BOOTSTRAP_PREVIOUS_NOT_EMPTY';
|
|
1412
|
+
readonly internal: true;
|
|
1413
|
+
};
|
|
1414
|
+
readonly statement: 'A bootstrap starts from an empty Registry.';
|
|
1415
|
+
readonly laws: readonly ["SN-EMPTY-BASIS"];
|
|
1416
|
+
};
|
|
1417
|
+
readonly BOOTSTRAP_KERNEL_INVALID: {
|
|
1418
|
+
readonly phase: 'install';
|
|
1419
|
+
readonly layer: 'defect';
|
|
1420
|
+
readonly subjects: readonly ["kernel"];
|
|
1421
|
+
readonly does: 'refuse';
|
|
1422
|
+
readonly refusal: {
|
|
1423
|
+
readonly code: 'BOOTSTRAP_KERNEL_INVALID';
|
|
1424
|
+
readonly internal: true;
|
|
1425
|
+
};
|
|
1426
|
+
readonly statement: 'An Edge of the built-in Kernel ends at Nodes the bootstrap creates.';
|
|
1427
|
+
};
|
|
1428
|
+
readonly BOOTSTRAP_ID_ALLOCATION_INVALID: {
|
|
1429
|
+
readonly phase: 'install';
|
|
1430
|
+
readonly layer: 'defect';
|
|
1431
|
+
readonly subjects: readonly ["kernel"];
|
|
1432
|
+
readonly does: 'refuse';
|
|
1433
|
+
readonly refusal: {
|
|
1434
|
+
readonly code: 'BOOTSTRAP_ID_ALLOCATION_INVALID';
|
|
1435
|
+
readonly internal: true;
|
|
1436
|
+
};
|
|
1437
|
+
readonly statement: 'A bootstrap allocates each Node an id of its own.';
|
|
1438
|
+
};
|
|
1439
|
+
readonly BOOTSTRAP_TARGET_INVALID: {
|
|
1440
|
+
readonly phase: 'install';
|
|
1441
|
+
readonly layer: 'defect';
|
|
1442
|
+
readonly subjects: readonly ["kernel"];
|
|
1443
|
+
readonly does: 'refuse';
|
|
1444
|
+
readonly refusal: {
|
|
1445
|
+
readonly code: 'BOOTSTRAP_TARGET_INVALID';
|
|
1446
|
+
readonly internal: true;
|
|
1447
|
+
};
|
|
1448
|
+
readonly statement: 'The Registry a bootstrap targets is one the Registry accepts, and it names the Kernel alone.';
|
|
1449
|
+
readonly laws: readonly ["SN-SINGLETON"];
|
|
1450
|
+
readonly divergence: 'At the port, for a plan the Runtime never builds: Reference refuses a target other than the Kernel alone, and PostgreSQL holds no such check.';
|
|
1451
|
+
};
|
|
1452
|
+
readonly BOOTSTRAP_REFUSED: {
|
|
1453
|
+
readonly phase: 'install';
|
|
1454
|
+
readonly layer: 'identity';
|
|
1455
|
+
readonly subjects: readonly ["kernel"];
|
|
1456
|
+
readonly does: 'refuse';
|
|
1457
|
+
readonly refusal: {
|
|
1458
|
+
readonly code: 'BOOT_RECOVERY_FAILED';
|
|
1459
|
+
readonly internal: true;
|
|
1460
|
+
};
|
|
1461
|
+
readonly statement: 'A store that refuses the first install ends Boot, with no effect and no second attempt, whatever it answers: it holds other state, its substrate is not the expected one, it refuses the transition or the plan, the plan exceeds a bound, or the request was cancelled or past its deadline. Boot ends with that refusal as its cause.';
|
|
1462
|
+
readonly divergence: 'Boot submits once, over a store it found pristine, so no Boot reaches these, at the port: PostgreSQL matches the Properties of a projected Node exactly and Reference as a subset; an exact plan repeated after a Trust replacement is NOT_PRISTINE on PostgreSQL and replayed on Reference; only PostgreSQL answers SUBSTRATE_MISMATCH.';
|
|
1463
|
+
readonly laws: readonly ["BOOT-SCHEMA-BOOTSTRAP-REOBSERVED"];
|
|
1464
|
+
};
|
|
1465
|
+
readonly BOOTSTRAP_INPUT_ABSENT: {
|
|
1466
|
+
readonly phase: 'install';
|
|
1467
|
+
readonly layer: 'identity';
|
|
1468
|
+
readonly subjects: readonly ["kernel"];
|
|
1469
|
+
readonly does: 'refuse';
|
|
1470
|
+
readonly refusal: {
|
|
1471
|
+
readonly code: 'BOOT_BOOTSTRAP_REQUIRED';
|
|
1472
|
+
readonly internal: true;
|
|
1473
|
+
};
|
|
1474
|
+
readonly statement: 'A store with no checkpoint boots only from explicit trusted bootstrap input.';
|
|
1475
|
+
readonly laws: readonly ["BOOT-SCHEMA-PRISTINE-PROOF"];
|
|
1476
|
+
};
|
|
1477
|
+
readonly BOOTSTRAP_INPUT_REFUSED: {
|
|
1478
|
+
readonly phase: 'install';
|
|
1479
|
+
readonly layer: 'identity';
|
|
1480
|
+
readonly subjects: readonly ["kernel"];
|
|
1481
|
+
readonly does: 'refuse';
|
|
1482
|
+
readonly refusal: {
|
|
1483
|
+
readonly code: 'BOOT_INPUT_INVALID';
|
|
1484
|
+
readonly internal: true;
|
|
1485
|
+
};
|
|
1486
|
+
readonly statement: 'A bootstrap its input cannot plan ends Boot before any effect, with the refusal of its plan as its cause: Boot answers every BOOTSTRAP_ code this way.';
|
|
1487
|
+
readonly laws: readonly ["BOOT-SCHEMA-PRISTINE-PROOF"];
|
|
1488
|
+
};
|
|
1489
|
+
readonly BOOTSTRAP_OUTCOME_UNKNOWN: {
|
|
1490
|
+
readonly phase: 'install';
|
|
1491
|
+
readonly layer: 'engine';
|
|
1492
|
+
readonly subjects: readonly ["kernel"];
|
|
1493
|
+
readonly does: 'refuse';
|
|
1494
|
+
readonly refusal: {
|
|
1495
|
+
readonly code: 'BOOT_RECOVERY_FAILED';
|
|
1496
|
+
readonly internal: true;
|
|
1497
|
+
};
|
|
1498
|
+
readonly statement: 'A first install whose outcome is unknown is settled by discovery, with no second submission: Boot goes on from the exact checkpoint of its plan, and without one it ends.';
|
|
1499
|
+
readonly laws: readonly ["BOOT-SCHEMA-BOOTSTRAP-REOBSERVED", "BOOT-SCHEMA-UNCERTAIN-FAILS-CLOSED"];
|
|
1500
|
+
};
|
|
1501
|
+
readonly BOOT_EVIDENCE_UNPROVEN: {
|
|
1502
|
+
readonly phase: 'install';
|
|
1503
|
+
readonly layer: 'defect';
|
|
1504
|
+
readonly subjects: readonly ["kernel", "store"];
|
|
1505
|
+
readonly does: 'refuse';
|
|
1506
|
+
readonly refusal: {
|
|
1507
|
+
readonly code: 'BOOT_RECOVERY_FAILED';
|
|
1508
|
+
readonly internal: true;
|
|
1509
|
+
};
|
|
1510
|
+
readonly statement: 'A stored state, checkpoint, Trust, artifact or bundle that Boot cannot prove ends Boot, and a recovered Registry names exactly one built-in Kernel.';
|
|
1511
|
+
readonly laws: readonly ["BOOT-SCHEMA-RECOVERED-KERNEL", "CHECKPOINT-SCHEMA-ADMISSION"];
|
|
1512
|
+
};
|
|
1513
|
+
readonly BOOT_MAINTENANCE_ACTIVE: {
|
|
1514
|
+
readonly phase: 'install';
|
|
1515
|
+
readonly layer: 'lifecycle';
|
|
1516
|
+
readonly subjects: readonly ["kernel", "install.session"];
|
|
1517
|
+
readonly does: 'refuse';
|
|
1518
|
+
readonly refusal: {
|
|
1519
|
+
readonly code: 'BOOT_MAINTENANCE_ACTIVE';
|
|
1520
|
+
readonly internal: true;
|
|
1521
|
+
};
|
|
1522
|
+
readonly statement: 'A Boot which must write ends while a maintenance session owns the Instance, having activated nothing. One with nothing to converge goes on.';
|
|
1523
|
+
readonly laws: readonly ["MNT-BOOT-RESTORE"];
|
|
1524
|
+
};
|
|
1525
|
+
readonly BOOT_IDENTITY_MISMATCH: {
|
|
1526
|
+
readonly phase: 'install';
|
|
1527
|
+
readonly layer: 'identity';
|
|
1528
|
+
readonly subjects: readonly ["kernel"];
|
|
1529
|
+
readonly does: 'refuse';
|
|
1530
|
+
readonly refusal: {
|
|
1531
|
+
readonly code: 'BOOT_IDENTITY_MISMATCH';
|
|
1532
|
+
readonly internal: true;
|
|
1533
|
+
};
|
|
1534
|
+
readonly statement: 'Before any effect, the recovered Kernel principal is the thumbprint of the configured key, its issuer is the configured one or the source of a declared transition, and a transition finds no other Domain on the configured issuer.';
|
|
1535
|
+
readonly laws: readonly ["BOOT-KERNEL-IDENTITY"];
|
|
1536
|
+
};
|
|
1537
|
+
readonly BOOT_ISSUER_TRANSITION_FAILED: {
|
|
1538
|
+
readonly phase: 'install';
|
|
1539
|
+
readonly layer: 'identity';
|
|
1540
|
+
readonly subjects: readonly ["kernel"];
|
|
1541
|
+
readonly does: 'refuse';
|
|
1542
|
+
readonly refusal: {
|
|
1543
|
+
readonly code: 'BOOT_IDENTITY_TRANSITION_FAILED';
|
|
1544
|
+
readonly internal: true;
|
|
1545
|
+
};
|
|
1546
|
+
readonly statement: 'A declared issuer transition ends Boot before any effect while the workflow engine holds an unfinished run of this Kernel or does not answer, or when a Service on the previous issuer runs a stored artifact, and it ends Boot when it does not reach its exact target. A later Boot takes it once the runs have ended.';
|
|
1547
|
+
readonly laws: readonly ["BOOT-KERNEL-ISSUER-TRANSITION", "BOOT-KERNEL-ISSUER-QUIESCENT"];
|
|
1548
|
+
};
|
|
1549
|
+
readonly BOOT_KERNEL_UPGRADE_FAILED: {
|
|
1550
|
+
readonly phase: 'install';
|
|
1551
|
+
readonly layer: 'identity';
|
|
1552
|
+
readonly subjects: readonly ["kernel"];
|
|
1553
|
+
readonly does: 'refuse';
|
|
1554
|
+
readonly refusal: {
|
|
1555
|
+
readonly code: 'BOOT_KERNEL_UPGRADE_FAILED';
|
|
1556
|
+
readonly internal: true;
|
|
1557
|
+
};
|
|
1558
|
+
readonly statement: 'An upgrade of the Kernel that does not reach its exact recovered target ends Boot: Boot answers each refusal of INSTALL.KERNEL_UPGRADE_SOURCE_INVALID, INSTALL.KERNEL_UPGRADE_TARGET_MISMATCH and INSTALL.KERNEL_UPGRADE_PLAN_INVALID this way.';
|
|
1559
|
+
readonly laws: readonly ["BOOT-SCHEMA-KERNEL-VALIDATED-UPGRADE"];
|
|
1560
|
+
};
|
|
1561
|
+
readonly BOOT_SERVICE_TRANSITION_UNSUPPORTED: {
|
|
1562
|
+
readonly phase: 'install';
|
|
1563
|
+
readonly layer: 'identity';
|
|
1564
|
+
readonly subjects: readonly ["kernel", "install.request"];
|
|
1565
|
+
readonly does: 'refuse';
|
|
1566
|
+
readonly refusal: {
|
|
1567
|
+
readonly code: 'BOOT_SERVICE_TRANSITION_UNSUPPORTED';
|
|
1568
|
+
readonly internal: true;
|
|
1569
|
+
};
|
|
1570
|
+
readonly statement: 'The required Services close to one admitted cutover before the first effect: the Kernel is present, each source has the provenance of a Schema, a replacement names the active revision, no dependency cycles, each dependency is ready or required with them, and this Kernel realizes each on its issuer.';
|
|
1571
|
+
readonly laws: readonly ["BOOT-SERVICE-ONE-PLAN", "BOOT-SERVICE-LOCAL-REPLACEMENT"];
|
|
1572
|
+
};
|
|
1573
|
+
readonly BOOT_SERVICE_MIGRATION_REQUIRED: {
|
|
1574
|
+
readonly phase: 'install';
|
|
1575
|
+
readonly layer: 'structure';
|
|
1576
|
+
readonly subjects: readonly ["kernel", "store"];
|
|
1577
|
+
readonly does: 'refuse';
|
|
1578
|
+
readonly refusal: {
|
|
1579
|
+
readonly code: 'BOOT_SERVICE_MIGRATION_REQUIRED';
|
|
1580
|
+
readonly internal: true;
|
|
1581
|
+
};
|
|
1582
|
+
readonly statement: 'A required Service whose cutover needs a migration of application data ends Boot, which runs none.';
|
|
1583
|
+
readonly laws: readonly ["BOOT-SERVICE-ONE-PLAN"];
|
|
1584
|
+
};
|
|
1585
|
+
readonly BOOT_SERVICE_GENERATION_FAILED: {
|
|
1586
|
+
readonly phase: 'install';
|
|
1587
|
+
readonly layer: 'engine';
|
|
1588
|
+
readonly subjects: readonly ["kernel", "store"];
|
|
1589
|
+
readonly does: 'refuse';
|
|
1590
|
+
readonly refusal: {
|
|
1591
|
+
readonly code: 'BOOT_SERVICE_GENERATION_FAILED';
|
|
1592
|
+
readonly internal: true;
|
|
1593
|
+
};
|
|
1594
|
+
readonly statement: 'A cutover of required Services that does not reach its exact recovered target ends Boot.';
|
|
1595
|
+
readonly laws: readonly ["BOOT-SERVICE-ONE-PLAN"];
|
|
1596
|
+
};
|
|
1597
|
+
readonly KERNEL_UPGRADE_SOURCE_INVALID: {
|
|
1598
|
+
readonly phase: 'install';
|
|
1599
|
+
readonly layer: 'defect';
|
|
1600
|
+
readonly subjects: readonly ["kernel"];
|
|
1601
|
+
readonly does: 'refuse';
|
|
1602
|
+
readonly refusal: {
|
|
1603
|
+
readonly code: 'KERNEL_UPGRADE_SOURCE_INVALID';
|
|
1604
|
+
readonly internal: true;
|
|
1605
|
+
};
|
|
1606
|
+
readonly statement: 'Boot upgrades the Kernel from a source which holds its canonical Registration, another revision, and its Identity Class.';
|
|
1607
|
+
readonly laws: readonly ["CP-KERNEL-ROUTE"];
|
|
1608
|
+
};
|
|
1609
|
+
readonly KERNEL_UPGRADE_TARGET_MISMATCH: {
|
|
1610
|
+
readonly phase: 'install';
|
|
1611
|
+
readonly layer: 'structure';
|
|
1612
|
+
readonly subjects: readonly ["class.extends"];
|
|
1613
|
+
readonly does: 'refuse';
|
|
1614
|
+
readonly refusal: {
|
|
1615
|
+
readonly code: 'KERNEL_UPGRADE_TARGET_MISMATCH';
|
|
1616
|
+
readonly internal: true;
|
|
1617
|
+
};
|
|
1618
|
+
readonly statement: 'A Kernel upgrade targets the built-in revision, and takes Identity from no Node Class.';
|
|
1619
|
+
readonly laws: readonly ["CP-KERNEL-ROUTE", "KU-EXECUTABLE-INVARIANTS"];
|
|
1620
|
+
};
|
|
1621
|
+
readonly KERNEL_UPGRADE_PLAN_INVALID: {
|
|
1622
|
+
readonly phase: 'install';
|
|
1623
|
+
readonly layer: 'defect';
|
|
1624
|
+
readonly subjects: readonly ["kernel"];
|
|
1625
|
+
readonly does: 'refuse';
|
|
1626
|
+
readonly refusal: {
|
|
1627
|
+
readonly code: 'KERNEL_UPGRADE_PLAN_INVALID';
|
|
1628
|
+
readonly internal: true;
|
|
1629
|
+
};
|
|
1630
|
+
readonly statement: 'A Kernel upgrade yields one canonical target Registry plan.';
|
|
1631
|
+
readonly laws: readonly ["CP-KERNEL-ROUTE", "KU-PLAN"];
|
|
1632
|
+
};
|
|
1633
|
+
}>;
|
|
1634
|
+
export type InstallId = keyof typeof INSTALL;
|