Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ standard library: ten ordinary record contracts and canonical implementing
types, the four canonical record-change events, and inspectable timer-event
and cancellation-action artifacts.
Installing it is passive and grants no execution authority.
Pack 0.2.1 carries record contracts 1.1.0 and canonical types v2, which leave
the type key to the collection like the starters below: the 1.0.0 schemas
required and pinned `type: runtime_*` and rejected other top-level fields, so
runtime records were invalid in collections that declare types with
`mdbase_type`. Every 1.0.0-valid record stays valid under 1.1.0. Pack 0.2.0 is
hidden from the catalog; its artifacts stay byte-identical at their versioned
paths. 0.2.1 also gives every resource an explicit `managed` mode, which 0.2.0
omitted.

The `mdbase.contact` 1.2.0 pack offers one **Person** starter with portable IDs,
editable issuer/subject account associations, and optional contact details. It
Expand Down Expand Up @@ -87,7 +95,9 @@ dist/ deterministic publication artifact

The runtime pack is generated in `mdbase-spec`. Contract and schema artifacts
are imported byte-for-byte; its referenced canonical types are materialized as
editable inline schema snapshots for the catalog:
editable inline schema snapshots under `types/mdbase-runtime/v2/` for the
catalog. The importer adds the current pack version beside earlier ones and
refuses to overwrite a differing existing artifact:

```sh
MDBASE_SPEC_DIR=../mdbase-spec npm run sync:runtime
Expand Down
23 changes: 23 additions & 0 deletions contracts/mdbase.runtime.action-attempt/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.action-attempt
version: 1.1.0
name: Durable action attempt
description: Durable invocation intent and outcome evidence using the shared interoperability envelope.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.action-attempt/1.1.0.schema.json
---

# Durable action attempt

Durable invocation intent and outcome evidence using the shared interoperability envelope.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions contracts/mdbase.runtime.capability-grant/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.capability-grant
version: 1.1.0
name: Capability grant evidence
description: A materialized authorization grant scoped independently from contract conformance.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.capability-grant/1.1.0.schema.json
---

# Capability grant evidence

A materialized authorization grant scoped independently from contract conformance.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions contracts/mdbase.runtime.checkpoint/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.checkpoint
version: 1.1.0
name: Runtime checkpoint
description: A durable, lease-safe workflow continuation.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.checkpoint/1.1.0.schema.json
---

# Runtime checkpoint

A durable, lease-safe workflow continuation.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions contracts/mdbase.runtime.dead-letter/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.dead-letter
version: 1.1.0
name: Runtime dead letter
description: Retained event or action evidence that cannot be processed safely.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.dead-letter/1.1.0.schema.json
---

# Runtime dead letter

Retained event or action evidence that cannot be processed safely.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions contracts/mdbase.runtime.diagnostic/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.diagnostic
version: 1.1.0
name: Runtime diagnostic
description: A machine-readable durable runtime diagnostic.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.diagnostic/1.1.0.schema.json
---

# Runtime diagnostic

A machine-readable durable runtime diagnostic.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions contracts/mdbase.runtime.policy/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.policy
version: 1.1.0
name: Runtime policy
description: Local authorization, executor, limit, and provider-selection policy.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.policy/1.1.0.schema.json
---

# Runtime policy

Local authorization, executor, limit, and provider-selection policy.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions contracts/mdbase.runtime.provider-registration/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.provider-registration
version: 1.1.0
name: Provider registration evidence
description: An optional audit snapshot of a verified interoperability declaration; it never activates code.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.provider-registration/1.1.0.schema.json
---

# Provider registration evidence

An optional audit snapshot of a verified interoperability declaration; it never activates code.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions contracts/mdbase.runtime.run/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.run
version: 1.1.0
name: Durable run
description: The durable state and immutable admitted plan for one workflow execution.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.run/1.1.0.schema.json
---

# Durable run

The durable state and immutable admitted plan for one workflow execution.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions contracts/mdbase.runtime.timer/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.timer
version: 1.1.0
name: Runtime timer
description: A generation-safe one-shot timer that publishes through the interoperability profile.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.timer/1.1.0.schema.json
---

# Runtime timer

A generation-safe one-shot timer that publishes through the interoperability profile.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions contracts/mdbase.runtime.workflow/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.workflow
version: 1.1.0
name: Durable workflow
description: A portable workflow whose event and action references are resolved and pinned at admission.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.workflow/1.1.0.schema.json
---

# Durable workflow

A portable workflow whose event and action references are resolved and pinned at admission.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions dist/artifacts/contracts/mdbase.runtime.action-attempt/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.action-attempt
version: 1.1.0
name: Durable action attempt
description: Durable invocation intent and outcome evidence using the shared interoperability envelope.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.action-attempt/1.1.0.schema.json
---

# Durable action attempt

Durable invocation intent and outcome evidence using the shared interoperability envelope.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions dist/artifacts/contracts/mdbase.runtime.capability-grant/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.capability-grant
version: 1.1.0
name: Capability grant evidence
description: A materialized authorization grant scoped independently from contract conformance.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.capability-grant/1.1.0.schema.json
---

# Capability grant evidence

A materialized authorization grant scoped independently from contract conformance.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions dist/artifacts/contracts/mdbase.runtime.checkpoint/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.checkpoint
version: 1.1.0
name: Runtime checkpoint
description: A durable, lease-safe workflow continuation.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.checkpoint/1.1.0.schema.json
---

# Runtime checkpoint

A durable, lease-safe workflow continuation.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions dist/artifacts/contracts/mdbase.runtime.dead-letter/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.dead-letter
version: 1.1.0
name: Runtime dead letter
description: Retained event or action evidence that cannot be processed safely.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.dead-letter/1.1.0.schema.json
---

# Runtime dead letter

Retained event or action evidence that cannot be processed safely.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
23 changes: 23 additions & 0 deletions dist/artifacts/contracts/mdbase.runtime.diagnostic/1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: mdbase.contract
contract_type: record
id: mdbase.runtime.diagnostic
version: 1.1.0
name: Runtime diagnostic
description: A machine-readable durable runtime diagnostic.
record_schema:
dialect: json-schema-2020-12
ref: ../../schemas/mdbase.runtime.diagnostic/1.1.0.schema.json
---

# Runtime diagnostic

A machine-readable durable runtime diagnostic.

The record's type is declared under the collection's configured explicit type
key, so the schema neither requires nor pins a `type` field and accepts
top-level fields outside this contract. That is the only change from 1.0.0;
every record valid under 1.0.0 is also valid under 1.1.0.

This artifact is passive. Installing it or a type that implements it grants no
authority to execute workflows or invoke providers.
Loading
Loading