diff --git a/00-overview.md b/00-overview.md index 7cc0337..c515dbe 100644 --- a/00-overview.md +++ b/00-overview.md @@ -344,25 +344,20 @@ directly comparable without making one product's internal API normative. ## Versioning This specification uses semantic versioning. The current version is **0.3.0**, -in its sixth release candidate (`0.3.0-rc.6`), which is in draft. +the first stable release, dated 2026-11-15. Collections declare their specification version with `spec_version` in `mdbase.yaml`, which is `0.3.0` for every release candidate. Tools declare the profiles and versions they implement. -rc.6 is the last release candidate that adds or changes behavior. A later -release candidate only confirms or removes a provisional choice, corrects an -error, or adds tests. 0.3.0 is declared stable when both of these hold: +The stable release freezes the rc.6 draft, confirms its provisional choices, +and applies the promised rejection of nondeterministic type matching. New +normative work belongs in backward-compatible 0.3.x errata or 0.4. The +[release record](./release/v0.3.0.md) distinguishes this specification freeze +from implementation qualification: releasing the specification does not assert +that an implementation passes every profile. Implementations declare only +verified conformance claims (Chapter 14). -1. No paragraph marked **Provisional** remains in chapters 00 to 14. Each is - confirmed, by removing its marker, or removed together with the behavior - it describes. -2. The implementations named in the - [release contract](./release/v0.3.0.md) hold verified conformance claims - (Chapter 14) against that release candidate for the profiles of this - specification that the contract lists for them. - -Companion profiles are not part of that gate. They keep their own versions -and can change after 0.3.0 is stable. +Companion profiles keep their own versions and can change independently. Companion profiles, artifacts, and schemas carry their own versions: @@ -388,14 +383,11 @@ through version requirements. The keywords `MUST`, `MUST NOT`, `SHOULD`, `SHOULD NOT`, and `MAY` are to be interpreted as described in RFC 2119. -Draft notes use ordinary prose and are non-normative. A paragraph that begins -with **Provisional (rc.5).** or **Provisional (rc.6).** records a choice made -where the design input left a detail open. It is normative in the release -candidate, and it is confirmed or removed before 0.3.0 is declared stable -(see Versioning). The [release contract](./release/v0.3.0.md) lists every -such paragraph. A companion profile marks such a choice with its own version, -as in **Provisional (0.1).**, and may change it in a later version of the -profile. +Draft notes use ordinary prose and are non-normative. The provisional choices +in the collection specification's release candidates are confirmed in 0.3.0; +the [release record](./release/v0.3.0.md) lists them. A companion profile may +mark a normative choice with its own version, as in **Provisional (0.1).**, +and change it in a later version of that profile. A paragraph that begins with *Note (informative).* is not normative. Where the specification names a library or an implementation, it does so only in diff --git a/02-collection-layout.md b/02-collection-layout.md index 34d5c82..1635c1b 100644 --- a/02-collection-layout.md +++ b/02-collection-layout.md @@ -194,7 +194,7 @@ A tool that reads a collection skips files at such paths as it skips excluded paths. A write that would create one fails with `invalid_request` (`details.reason` names the rule) before any write. -**Provisional (rc.5).** The rule set comes from the +The rule set comes from the review of the first implementation. Earlier drafts let implementations reject such paths optionally; replicating a collection across file systems needs every tool to agree on them. @@ -231,7 +231,7 @@ collides, whatever file system it runs on: code-point order. Core Read alone reads each file as written and computes no path keys. - **Provisional (rc.5).** A tool that keeps records in a log or replicates + A tool that keeps records in a log or replicates them across file systems cannot hold two records with one path key. It MAY resolve a discovered group instead, by the collision rule below: with no other order, the path that is smaller in code-point order keeps it, and @@ -240,11 +240,11 @@ collides, whatever file system it runs on: Path globs (above) remain case-sensitive and match paths as written. -**Provisional (rc.5).** Case folding uses the full mappings, so `ß` and +Case folding uses the full mappings, so `ß` and `ss` collide. This flags more collisions than some file systems would, never fewer. -**Provisional (rc.5).** NFC and case folding use the data of **Unicode +NFC and case folding use the data of **Unicode 17.0.0** (`UnicodeData.txt`, `CompositionExclusions.txt`, `CaseFolding.txt`). Unicode's stability policies keep both stable for assigned characters, but a character assigned in a later version can fold or compose differently once a diff --git a/03-records-and-frontmatter.md b/03-records-and-frontmatter.md index a833988..eea87c5 100644 --- a/03-records-and-frontmatter.md +++ b/03-records-and-frontmatter.md @@ -273,6 +273,6 @@ A writer that has no existing style to keep SHOULD quote a string that a YAML 1.1 parser would read as another type (for example `"yes"` or `"2026-10-01"`), so tools that still use YAML 1.1 read the same value. -**Provisional (rc.5).** This table resolves an ambiguity of earlier release +This table resolves an ambiguity of earlier release candidates, which asked for "a safe YAML parser" without naming a schema. It matches Obsidian and the current engines. diff --git a/04-configuration.md b/04-configuration.md index 777ba2c..cdca74f 100644 --- a/04-configuration.md +++ b/04-configuration.md @@ -140,11 +140,10 @@ always errors. An explicit `validate` operation always performs record validation. At level `off` it reports issues as `warning`. -**Provisional (rc.5).** Data contract view failures are classed as +Data contract view failures are classed as single-record, although a contract view built from collection projections can -depend on other records or on the current time. Such projections are rare in -contract mappings; a later release candidate may move the affected failures to the -cross-record tier. +depend on other records or on the current time. This classification is +confirmed for 0.3.0. ## Runtime Host Config diff --git a/06-json-schema-profile.md b/06-json-schema-profile.md index 2586e74..fd6579f 100644 --- a/06-json-schema-profile.md +++ b/06-json-schema-profile.md @@ -69,7 +69,7 @@ unanchored. A pattern outside the profile, such as one using `\p{L}`, a backreference, or look-around, makes the type file invalid with an `invalid_pattern` diagnostic. -**Provisional (rc.5).** JSON Schema 2020-12 recommends ECMA-262 regular +JSON Schema 2020-12 recommends ECMA-262 regular expressions. The profile departs from it so that one engine serves schema validation, matching, and CEL. The two agree on `\d`, `\w`, and `\b` for patterns without the ECMA-262 `u` flag; they differ on `\s`, which ECMA-262 diff --git a/07-collection-semantics.md b/07-collection-semantics.md index 31f05c3..1dd91ce 100644 --- a/07-collection-semantics.md +++ b/07-collection-semantics.md @@ -151,22 +151,17 @@ the type to match. Type membership drives validation, lifecycle, path policy, and merge, so every tool and every replay MUST compute the same membership for the same record. -`match.expr` SHOULD therefore be deterministic: it SHOULD NOT call `now()` or +`match.expr` MUST therefore be deterministic: it MUST NOT call `now()` or `today()`, read `file.mtime` or `file.ctime`, or use a helper that reads other records, such as `asFile()`, `file.backlinks`, or `file.hasLink()`. Queries, projections, and lifecycle guards MAY use these functions. -A tool that loads a type whose `match.expr` uses one of them MUST report a -`warning` diagnostic with code `nondeterministic_match`, the type name, and -`details.binding` naming the function or field. The type still loads and the -expression is evaluated as before, with `now()` and `today()` reading the -operation's captured instant. Membership of such a type can differ between -tools and over time, so tools that merge or replay edits cannot rely on it. - -In 0.3.0 stable such a `match.expr` is an error: the type is invalid and -reports `nondeterministic_match` with severity `error`. The warning in the -release candidates gives authors a window to move time-dependent or -cross-record logic into queries or collection projections. +A tool that loads a type whose `match.expr` uses one of them MUST report an +`error` diagnostic with code `nondeterministic_match`, the type name, and +`details.binding` naming the function or field. The type is invalid and MUST +NOT participate in matching. Authors must move time-dependent or cross-record +logic into queries or collection projections. Release candidates reported a +warning to give authors a migration window; 0.3.0 enforces this requirement. Implementations compile `match.expr` when loading the type. Parse and type errors invalidate the type definition. A per-record evaluation error reports a @@ -314,7 +309,7 @@ record already violates the rule, for example after an external edit. Edits made by other tools and the results of a merge are never rejected; their violations are reported. -**Provisional (rc.5).** An `enforce: write` rule applies at every +An `enforce: write` rule applies at every validation level, including `off`, because the author opted into it explicitly. @@ -351,7 +346,7 @@ as placeholder delimiters. string is used as written, and a number or boolean uses its JSON representation. A missing or null value produces `path_value_missing`. -**Provisional (rc.5).** The JSON representation of a number is the one RFC +The JSON representation of a number is the one RFC 8785 (JSON Canonicalization Scheme) specifies, which is ECMAScript's `Number.prototype.toString`: an integer-valued number has no fraction (`42.0` gives `42`), and exponents are written `1e+21` and `1e-7`. CEL's @@ -529,7 +524,7 @@ chose: records created concurrently, records copied onto another file system, and merged paths. Its suffix then becomes part of the decoded value, such as `Call Bob (2)`. -**Provisional (rc.6).** Only string fields can be path-stored, and FORMAT +Only string fields can be path-stored, and FORMAT has only the `YYYY`, `MM`, and `DD` tokens. Normalization follows the filename rules TaskNotes applies to titles, made idempotent: removals happen before runs of spaces are collapsed and before the ends are trimmed. diff --git a/10-cel-profile.md b/10-cel-profile.md index a159574..9bff84d 100644 --- a/10-cel-profile.md +++ b/10-cel-profile.md @@ -140,11 +140,21 @@ file.inFolder("tasks") && has(raw.tags) && tags.exists(t, t == "task") Read defaults and projections enter after matching and are absent from this context. -Matching should be deterministic (Chapter 07). Using `now()`, `today()`, +Matching MUST be deterministic (Chapter 07). Using `now()`, `today()`, `file.mtime`, `file.ctime`, or a helper that reads another record, such as `asFile()`, `file.backlinks`, or `file.hasLink()`, in this context reports a -`nondeterministic_match` warning when the type loads. In 0.3.0 stable it is -an error that invalidates the type. +`nondeterministic_match` error when the type loads. The type is invalid and +MUST NOT participate in matching (Chapter 07). + +For type matching, the effective timezone MUST be the collection's configured +`settings.timezone` (Chapter 04). An invocation timezone or a local-runtime +default MUST NOT be used. The timezone-dependent functions are `today()`, +`date(timestamp)`, and `startOfDay(string)`. If `settings.timezone` is absent, +a `match.expr` that uses any of these functions MUST report a +`nondeterministic_match` error when the type loads, with the type name and +`details.binding` naming the function. The type is invalid and MUST NOT +participate in matching. A configured timezone does not permit `today()` in +matching: it still depends on the clock. ### Lifecycle Context @@ -176,7 +186,7 @@ The durable runtime profile defines when each workflow expression is evaluated. ## Record Values -**Provisional (rc.5).** CEL maps are unordered, but comprehensions over a +CEL maps are unordered, but comprehensions over a map (`all`, `exists`, `exists_one`, `map`, `filter`) visit its keys, and `map` and `filter` return lists in that order. Maps iterate in insertion order: frontmatter maps in the order of their keys in the source, map @@ -277,7 +287,9 @@ evaluation error. Callers convert one side explicitly, for example `startOfDay(due) < now()` or `due < date(now())`. Fixed spans use `timestamp ± duration`; calendar spans use the date methods. -The effective timezone is the operation or query timezone defined in +In type matching, the effective timezone is only the collection's configured +`settings.timezone`, subject to the Matching Context rules above. Outside type +matching, the effective timezone is the operation or query timezone defined in Chapter 11 and MUST be declared by every operation or runtime context that evaluates `today()`, `date(timestamp)`, or `startOfDay()`. @@ -301,7 +313,7 @@ profile adds two string methods: Both use the Unicode default full case mappings without locale tailoring, including the context-dependent final sigma rule, from the same Unicode -version as path keys (Chapter 02, provisionally 17.0.0), so +version as path keys (Chapter 02, 17.0.0), so `"Éclair".lower()` is `"éclair"` and `"Straße".upper()` is `"STRASSE"`. A case-insensitive search lowercases the text it searches: diff --git a/11-querying.md b/11-querying.md index 0481b15..29b28de 100644 --- a/11-querying.md +++ b/11-querying.md @@ -49,14 +49,26 @@ The effective query timezone is resolved in this order: 2. the collection's configured timezone 3. the implementation's documented local-runtime default +Type matching is independent of this query-timezone resolution. Its effective +timezone MUST be the collection's configured `settings.timezone` (Chapter 04); +an invocation timezone or a local-runtime default MUST NOT be used. The +timezone-dependent functions are `today()`, `date(timestamp)`, and +`startOfDay(string)`. If `settings.timezone` is absent, a `match.expr` that uses +any of these functions MUST report a `nondeterministic_match` error when the +type loads, with the type name and `details.binding` naming the function. The +type is invalid and MUST NOT participate in matching. A configured timezone +does not permit `today()` in matching: it still depends on the clock +(Chapter 10). + An invalid invocation timezone produces `invalid_timezone` and aborts before candidate evaluation. An implementation MUST NOT silently substitute another timezone for a supplied value. -The execution authority captures the current instant once per query. `now()`, -`today()`, conversion of datetimes to calendar dates, and calendar arithmetic -MUST all use that captured instant and the same effective timezone throughout -the execution. Callers do not supply the current instant through this field. +The execution authority captures the current instant once per query. In query +expressions, `now()`, `today()`, conversion of datetimes to calendar dates, and +calendar arithmetic MUST all use that captured instant and the same effective +timezone throughout the execution. Callers do not supply the current instant +through this field. Interactive callers SHOULD send their current IANA timezone on every temporal query. Headless callers MAY omit it to use the durable collection default. diff --git a/12-operations.md b/12-operations.md index 8c78636..69e5df6 100644 --- a/12-operations.md +++ b/12-operations.md @@ -225,7 +225,7 @@ item appears in both `add` and `remove` for one field, or when an `add` or `remove` value is not a list. List operations work on any list field; they do not require `uniqueItems`. A list emptied by `remove` stays as an empty list. -**Provisional (rc.5).** `add` and `remove` address top-level fields +`add` and `remove` address top-level fields only, like `patch`, because the merge unit is the top-level field. ### Path-stored fields @@ -323,7 +323,7 @@ line-based body merge of the concurrent edits profile: two edits to different wo conflict. A later release may detect conflicts at a finer granularity; that is a compatible refinement, because it only turns some conflicts into merges. -**Provisional (rc.5).** Offsets are Unicode scalar values, the unit that +Offsets are Unicode scalar values, the unit that regular expressions and `.` match over. Byte offsets could fall inside a character, and UTF-16 code units, which JavaScript editors use, are specific to one platform; adapters convert at their boundary. Retaining old diff --git a/13-migrations-and-compatibility.md b/13-migrations-and-compatibility.md index 1617010..0de2b4f 100644 --- a/13-migrations-and-compatibility.md +++ b/13-migrations-and-compatibility.md @@ -45,7 +45,7 @@ worked under rc.4 stops loading. | Rule | How an engine reports a collection that relies on the rc.4 behavior | | --- | --- | -| `match.expr` should not call `now()` or `today()`, read `file.mtime` or `file.ctime`, or follow links (Chapter 07) | the type still loads and its expression is evaluated as before; the engine reports a `warning` with code `nondeterministic_match`, the type name, and `details.binding`. In 0.3.0 stable this becomes an error that invalidates the type, so authors must move such logic before then | +| `match.expr` must not call `now()` or `today()`, read `file.mtime` or `file.ctime`, or follow links (Chapter 07) | the type is invalid and does not participate in matching; the engine reports an `error` with code `nondeterministic_match`, the type name, and `details.binding`. Release candidates warned instead; move such logic into queries or collection projections | | a `collection.path.pattern` value may not contain `/` or `\`, begin with `.`, or be empty (Chapter 07) | existing records are unaffected, whatever their paths; only a create that would derive such a path fails, with `path_value_invalid` naming the field. rc.4 already called such values invalid, but engines created folders from them | | paths equal under case folding and NFC name one record path (Chapter 02) | existing files that collide stay records and each reports a `warning` with code `path_collision` and `details.paths`; an explicit create or rename onto an equivalent path fails with `path_conflict` | | an ambiguous configured ID does not fall back to filename resolution (Chapter 08) | the link resolves to null and the referring record reports an `ambiguous_link` warning with `details.candidates`. rc.4 already required this; engines that fell back are non-conforming | @@ -92,7 +92,8 @@ diverges. ## Changes Since rc.5 -0.3.0-rc.6 (draft) adds path-stored fields (Chapter 07): fields whose values +The rc.6 draft, included in 0.3.0, adds path-stored fields (Chapter 07): +fields whose values live in the record's path, such as a task title kept as the filename or a daily note's date. Collections keep `spec_version: "0.3.0"`. A collection that does not declare `collection.path.fields` behaves as under rc.5, apart from diff --git a/14-conformance.md b/14-conformance.md index a841e66..f36fda2 100644 --- a/14-conformance.md +++ b/14-conformance.md @@ -269,8 +269,8 @@ CEL Match implementations MUST: - combine it with other members of `match` using AND - match only a boolean true result - report per-record evaluation errors and treat that candidate as a non-match -- report `nondeterministic_match` for a `match.expr` that uses a - time-dependent or cross-record binding +- reject a type with an error `nondeterministic_match` for a `match.expr` + that uses a time-dependent or cross-record binding ## Query Requirements diff --git a/CHANGELOG.md b/CHANGELOG.md index 248dc74..47428e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,52 @@ All notable changes to this specification and conformance suite are documented here. -## 0.3.0-rc.6 (draft, untagged) +## 0.3.0 (2026-11-15) + +The first stable specification freezes the rc.6 draft at +`47d257d6a56e34c7279e5ebb959af0b0f49744b2`, with the stable decisions below. +The untagged rc.5 and rc.6 changes are retained in this section. No rc.5 or +rc.6 tag is needed. Collections continue to declare `spec_version: "0.3.0"`. +New normative work belongs in backward-compatible 0.3.x errata or 0.4. + +### Stable decisions + +- Confirm all thirteen provisional choices in chapters 02, 03, 04, 06, 07, + 10, and 12 by removing their markers without changing their rules. The + [release record](./release/v0.3.0.md) lists each choice. +- Apply the promised escalation of nondeterministic `match.expr` from + warning to error. Such types are invalid and do not participate in matching. + Chapters 07, 10, 13, and 14 and both affected conformance cases now require + this. Queries may still use time-dependent bindings. Existing `since:` + markers and case IDs are retained; changed cases use `changed: 0.3.0`. +- Type matching uses only the collection's configured `settings.timezone`, + never an invocation timezone or a local-runtime default. Without a configured + timezone, `today()`, `date(timestamp)`, and `startOfDay(string)` in `match.expr` + produce a `nondeterministic_match` error that invalidates the type and excludes + it from matching. A configured timezone does not permit clock-dependent + `today()`. Chapters 10 and 11 and the matching fixtures make this explicit. +- Prepare `@callumalpass/mdbase-interop`, `@callumalpass/mdbase-testbed`, and + the `mdbase-interop` crate as `0.1.0`. Prepare + `@callumalpass/mdbase-runtime` as `0.2.0`: the reference executor and + TaskNotes Workflows consume it. Contrary to the prior publication + assumption, npm already has `0.2.0-rc.1` under `next`, while `latest` is + `0.1.0-rc.1`. No package is published by this change. +- Defer the former requirement that all ecosystem implementations hold + verified claims before the specification becomes stable. The authoritative + Connect runtime still has conformance gaps; freezing the specification is + not a claim of implementation compliance. Do not weaken tests or promote + its supported version without qualification. The exact revisions, every + failing or unsupported case, and adapter limits are recorded in + [the conformance report](./release/conformance-0.3.0.md). +- Defer ecosystem-wide registry-install, second-implementation, + Linux/macOS/Windows, downstream migration/rollback, live Obsidian, + provider/host, dependency-audit, and performance qualification to the + respective implementation releases. The old ecosystem contract contains + historical evidence for retired implementations and is not current proof + for the Connect runtime. The 2026-11-15 decision separates specification + stability from those product release gates and companion-profile versions. + +### Included rc.6 draft changes The sixth release candidate lets a type store field values in the record's path, so that a task title kept as the filename or a daily note's date is @@ -153,7 +198,7 @@ Eight places where two conforming tools could disagree. See - The fixture set `watch` is renamed `move_detection`. Fixture files keep their paths. -## 0.3.0-rc.5 (draft, untagged) +### Included rc.5 draft changes The fifth release candidate specifies the data semantics that let several tools, devices, and people edit one collection at once: validity is reported @@ -220,7 +265,8 @@ Bases, seed type upgrades, and saved-view identification. without coercion. The default scope is `type`. - A `match.expr` that uses `now()`, `today()`, `file.mtime`, `file.ctime`, or helpers that read other records loads with a `nondeterministic_match` - warning. It becomes an error that invalidates the type in 0.3.0 stable. + warning in that draft. In this stable release it is an error that invalidates + the type, as specified in the stable decisions above. - CEL is the one expression language. Obsidian Bases filters and formulas are an adapter dialect that never affects membership, validation, lifecycle, merge, or portable queries. @@ -246,7 +292,7 @@ Bases, seed type upgrades, and saved-view identification. #### Clarified -- Errata from the first implementation (provisional; details in the release +- Errata from the first implementation (details in the release notes): - YAML 1.2 core scalar resolution; - which lines belong to a frontmatter entry; diff --git a/README.md b/README.md index 45f6fbb..ad01148 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,12 @@ update files safely. The durable data stays in ordinary Markdown files. Collections remain readable in a text editor, reviewable in Git, and usable across conforming tools. -The current specification is **v0.3.0** (release candidate 6, in draft). +The current specification is **v0.3.0**, the first stable release. + +The collection specification is frozen at the rc.6 draft, with the stable-release +decisions recorded in the [changelog](./CHANGELOG.md). New normative work belongs +in backward-compatible 0.3.x errata or 0.4. Implementation conformance and package +releases remain separate; see the [release record](./release/v0.3.0.md). [Read the overview](./00-overview.md) · [Visit mdbase.dev](https://mdbase.dev) · @@ -179,9 +184,11 @@ packages: ```bash python3 scripts/check_v03_tests.py +python3 scripts/check_test_levels.py python3 scripts/prototype_tasknotes_v03_migration.py --check-fixture +npm test --prefix packages/interop npm test --prefix packages/runtime-contracts -cargo test --manifest-path packages/runtime-contracts-rs/Cargo.toml +cargo test --locked --manifest-path packages/interop-rs/Cargo.toml npm test --prefix packages/cel-host npm test --prefix packages/runtime-executor npm test --prefix packages/testbed diff --git a/docs/releases/0.3.0-rc.5.md b/docs/releases/0.3.0-rc.5.md index 23fc3e0..7621c09 100644 --- a/docs/releases/0.3.0-rc.5.md +++ b/docs/releases/0.3.0-rc.5.md @@ -2,6 +2,12 @@ **Status:** draft on branch `spec/v0.3.0-rc.5-draft`; not tagged. +**Historical notes:** rc.5 was folded into [0.3.0](../../CHANGELOG.md), not +tagged separately. That release applies the promised nondeterministic-match +error, confirms the provisional choices, and explicitly defers the former +ecosystem-wide implementation gate. The future-stable language below +describes the draft, not additional outstanding 0.3.0 promises. + These notes describe rc.5 as it was written. In rc.6, Chapter 12A was divided: record identity is in Chapter 03, writer format fidelity is in Chapter 12, and move detection and the three-way merge are the diff --git a/packages/interop-rs/Cargo.lock b/packages/interop-rs/Cargo.lock index 25994e5..e72156c 100644 --- a/packages/interop-rs/Cargo.lock +++ b/packages/interop-rs/Cargo.lock @@ -659,7 +659,7 @@ checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" [[package]] name = "mdbase-interop" -version = "0.1.0-rc.3" +version = "0.1.0" dependencies = [ "hex", "jsonschema", diff --git a/packages/interop-rs/Cargo.toml b/packages/interop-rs/Cargo.toml index b9107a3..48f687a 100644 --- a/packages/interop-rs/Cargo.toml +++ b/packages/interop-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mdbase-interop" -version = "0.1.0-rc.3" +version = "0.1.0" edition = "2021" license = "MIT" description = "Rust models and validation for mdbase event/action interoperability profile 0.1." diff --git a/packages/interop/package-lock.json b/packages/interop/package-lock.json index cda3ec9..7b54f27 100644 --- a/packages/interop/package-lock.json +++ b/packages/interop/package-lock.json @@ -1,12 +1,12 @@ { "name": "@callumalpass/mdbase-interop", - "version": "0.1.0-rc.3", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@callumalpass/mdbase-interop", - "version": "0.1.0-rc.3", + "version": "0.1.0", "license": "MIT", "dependencies": { "ajv": "^8.17.1", diff --git a/packages/interop/package.json b/packages/interop/package.json index 0dd8c1c..ac94b1e 100644 --- a/packages/interop/package.json +++ b/packages/interop/package.json @@ -1,6 +1,6 @@ { "name": "@callumalpass/mdbase-interop", - "version": "0.1.0-rc.3", + "version": "0.1.0", "type": "module", "description": "Portable mdbase event/action contracts, CloudEvents envelopes, and reference bridge.", "license": "MIT", diff --git a/packages/runtime-contracts/package-lock.json b/packages/runtime-contracts/package-lock.json index 6d91353..636d98a 100644 --- a/packages/runtime-contracts/package-lock.json +++ b/packages/runtime-contracts/package-lock.json @@ -1,12 +1,12 @@ { "name": "@callumalpass/mdbase-runtime", - "version": "0.2.0-rc.1", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@callumalpass/mdbase-runtime", - "version": "0.2.0-rc.1", + "version": "0.2.0", "license": "MIT", "dependencies": { "ajv": "^8.17.1", @@ -21,12 +21,12 @@ "typescript": "^6.0.3" }, "peerDependencies": { - "@callumalpass/mdbase-interop": ">=0.1.0-rc.2 <0.2.0" + "@callumalpass/mdbase-interop": ">=0.1.0 <0.2.0" } }, "../interop": { "name": "@callumalpass/mdbase-interop", - "version": "0.1.0-rc.3", + "version": "0.1.0", "dev": true, "license": "MIT", "dependencies": { diff --git a/packages/runtime-contracts/package.json b/packages/runtime-contracts/package.json index 09cc47b..a6a2d47 100644 --- a/packages/runtime-contracts/package.json +++ b/packages/runtime-contracts/package.json @@ -1,6 +1,6 @@ { "name": "@callumalpass/mdbase-runtime", - "version": "0.2.0-rc.1", + "version": "0.2.0", "type": "module", "description": "Durable mdbase workflow admission and runtime record contracts built on mdbase interoperability.", "license": "MIT", @@ -41,7 +41,7 @@ "semver": "^7.8.5" }, "peerDependencies": { - "@callumalpass/mdbase-interop": ">=0.1.0-rc.2 <0.2.0" + "@callumalpass/mdbase-interop": ">=0.1.0 <0.2.0" }, "devDependencies": { "@callumalpass/mdbase-interop": "file:../interop", diff --git a/packages/runtime-executor/package-lock.json b/packages/runtime-executor/package-lock.json index 56e7b8e..a5d1aa2 100644 --- a/packages/runtime-executor/package-lock.json +++ b/packages/runtime-executor/package-lock.json @@ -31,7 +31,7 @@ }, "../interop": { "name": "@callumalpass/mdbase-interop", - "version": "0.1.0-rc.2", + "version": "0.1.0", "license": "MIT", "dependencies": { "ajv": "^8.17.1", @@ -47,7 +47,7 @@ }, "../runtime-contracts": { "name": "@callumalpass/mdbase-runtime", - "version": "0.2.0-rc.1", + "version": "0.2.0", "license": "MIT", "dependencies": { "ajv": "^8.17.1", @@ -62,7 +62,7 @@ "typescript": "^6.0.3" }, "peerDependencies": { - "@callumalpass/mdbase-interop": ">=0.1.0-rc.2 <0.2.0" + "@callumalpass/mdbase-interop": ">=0.1.0 <0.2.0" } }, "node_modules/@callumalpass/mdbase-interop": { diff --git a/packages/testbed/adapters/reference.mjs b/packages/testbed/adapters/reference.mjs index 67855fa..57fbdce 100644 --- a/packages/testbed/adapters/reference.mjs +++ b/packages/testbed/adapters/reference.mjs @@ -1,5 +1,6 @@ #!/usr/bin/env node +import packageJson from "../package.json" with { type: "json" }; import { InMemoryInteropBridge, InteropError, @@ -9,7 +10,7 @@ import { const implementation = { id: "mdbase-interop.typescript.reference", name: "mdbase TypeScript in-memory interoperability bridge", - version: "0.1.0-rc.2", + version: packageJson.version, language: "TypeScript", target: "Node.js" }; diff --git a/packages/testbed/package-lock.json b/packages/testbed/package-lock.json index 1939f13..afd8304 100644 --- a/packages/testbed/package-lock.json +++ b/packages/testbed/package-lock.json @@ -1,12 +1,12 @@ { "name": "@callumalpass/mdbase-testbed", - "version": "0.1.0-rc.3", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@callumalpass/mdbase-testbed", - "version": "0.1.0-rc.3", + "version": "0.1.0", "license": "MIT", "dependencies": { "ajv": "^8.17.1", diff --git a/packages/testbed/package.json b/packages/testbed/package.json index 2b282a9..1da86c2 100644 --- a/packages/testbed/package.json +++ b/packages/testbed/package.json @@ -1,6 +1,6 @@ { "name": "@callumalpass/mdbase-testbed", - "version": "0.1.0-rc.3", + "version": "0.1.0", "type": "module", "description": "Black-box conformance runner and neutral scenarios for mdbase contracts, interoperability, and durable runtimes.", "license": "MIT", diff --git a/packages/testbed/test/testbed.test.mjs b/packages/testbed/test/testbed.test.mjs index b84519e..98e7d9b 100644 --- a/packages/testbed/test/testbed.test.mjs +++ b/packages/testbed/test/testbed.test.mjs @@ -1,5 +1,6 @@ import assert from "node:assert/strict"; import { test } from "node:test"; +import packageJson from "../package.json" with { type: "json" }; import { canonicalJson, describeAdapter, @@ -46,12 +47,17 @@ test("keeps scenarios product-neutral and expected transcripts sequential", () = test("describes and runs the black-box reference adapter", async () => { const description = await describeAdapter("reference"); assert.equal(description.kind, "mdbase.testbed.adapter"); + assert.equal(description.implementation.version, packageJson.version); assert.equal(description.scenarios.length, 9); const run = await runTestbed({ adapter: "reference" }); assert.equal(run.results.length, 9); assert.equal(run.results.every(({ pass }) => pass), true); assert.equal(run.evidence.result, "pass"); + assert.equal(run.evidence.implementation.version, packageJson.version); + for (const result of run.results) { + assert.equal(result.transcript.implementation.version, packageJson.version); + } }); test("can select one scenario and rejects an unsupported requested ring", async () => { diff --git a/release/conformance-0.3.0.md b/release/conformance-0.3.0.md new file mode 100644 index 0000000..cadf36a --- /dev/null +++ b/release/conformance-0.3.0.md @@ -0,0 +1,124 @@ +# 0.3.0 Authoritative Runtime Conformance + +Date: 2026-11-15. No runtime source, expectations, or committed vendor files +were changed, blessed, or pushed. Both audit checkouts are temporary worktrees. + +## Revisions and method + +- Specification main: `47d257d6a56e34c7279e5ebb959af0b0f49744b2`. +- Connect main: `17b79aec9b4ce01bcf7d07220c28e48ec16e6f14`. +- `runtime/conformance/spec/SOURCE` vendors that exact specification commit; + its selected 359 cases are not the full 483-case v0.3 suite. +- `runtime/crates/core/src/semantics.rs` declares sem 1.0 and 1.1 against + `0.3.0-rc.5`, and current sem 1.2 against `0.3.0-rc.6`, not stable 0.3.0. +- Built with `rcargo`, not local cargo. Ran the unchanged vendor ratchet using + `rcargo run --locked -p mdbn-conformance --bin spec-conformance -- --verbose`. +- Pulled that same runner with + `rcargo --pull spec-conformance build --locked -p mdbn-conformance --bin spec-conformance`. + Copied the complete spec-main + `tests/v0.3` and example fixtures into a separate audit root, retained the + original expectations, and ran + `MDBN_REPO_ROOT= target/debug/spec-conformance --verbose`. + Then repeated with only the two + stable-release expectations changed. No adapter or runtime fixes were made. + +## Results + +| Run | Pass | Mismatch | Unsupported operation | Exit | Ratchet violations | +| --- | ---: | ---: | ---: | ---: | ---: | +| Committed vendor subset, spec main | 357 / 359 | 2 | 0 | 0 | 0 | +| All v0.3 cases, spec main | 381 / 483 | 12 | 90 | 1 | 124 unlisted cases | +| All v0.3 cases, prepared stable release | 379 / 483 | 14 | 90 | 1 | 124 unlisted cases + 2 regressions | + +**Full conformance: FAIL.** A successful ratchet exit is not a complete pass: +`paths.discovered_collision` and `collection.unique_collection_scope` are +already recorded as `pending`. The full-suite runner labels all non-passing +outcomes "pending" in its summary, but only those two have an expected-failure +status. The other failures and unsupported operations are unlisted, not +approved expected failures. There are no skips. Companion fixtures are included +in the all-case totals; they do not establish additional collection-profile +obligations or prove runtime behavior for an unsupported adapter operation. + +Some mismatches are adapter-envelope gaps, not demonstrated engine defects. +For example, the filter-warning case has the expected warning in `diagnostics` +but the adapter does not implement `diagnostics_contain`; body filtering omits +`body_returned`; invalid-query cases return `error` instead of the requested +`diagnostics` envelope. The date conversion adapter lacks a timezone context; +context-link evaluation cannot select `lead` from null. The two runtime contract +cases are also outside the committed vendor selection. None of these have been +"fixed" by changing the spec or the ratchet. + +## Every mismatching case + +The IDs ending in `@gN.tN` are the unchanged runner's positional IDs for fixtures +without an explicit ID. They are zero-based group/test indices. + +| Case ID | Status and observation | +| --- | --- | +| `cel.date_timestamp_conversion` | Unlisted: adapter context has no timezone rules; result is null instead of true. | +| `cel_query.filter_error_excludes_record` | Unlisted: `diagnostics_contain` subset assertion is not exposed; actual diagnostics include the expected warning. | +| `cel.query_body_filter` | Unlisted: `body_returned: false` is not exposed. | +| `cel_query.context_links` | Unlisted: `lead` selected from null; expected task is excluded. | +| `cel_match.nondeterministic_match_warning` | Stable-release regression: warning severity, valid catalog, and invalid types retained instead of error severity and exclusion. | +| `cel_match.match_deterministic_ok` | Stable-release regression: matches `[open_task, overdue]` instead of `[open_task]`. | +| `paths.discovered_collision` | Existing expected failure: no `path_collision` warning is returned. | +| `collection.unique_collection_scope` | Existing expected failure: subset assertion is not exposed; the actual result also contains a second duplicate-value issue. | +| `runtime.standard-contract-registry` | Unlisted companion fixture: adapter returns `valid: false`, expected `valid: true`. | +| `runtime.workflow-implementation` | Unlisted companion fixture: adapter returns `valid: false`, expected a valid `mdbase.runtime.workflow` contract at `1.0.0`. | +| `v0.3/views/view-records.yaml@g0.t12` | Unlisted: invalid-query failure is returned as `error`, not the expected `diagnostics`. | +| `v0.3/views/view-records.yaml@g0.t13` | Unlisted: invalid-query failure is returned as `error`, not the expected `diagnostics`. | +| `v0.3/views/view-records.yaml@g0.t15` | Unlisted: invalid-query failure is returned as `error`, not the expected `diagnostics`. | +| `v0.3/views/view-records.yaml@g0.t16` | Unlisted: invalid-query failure is returned as `error`, not the expected `diagnostics`. | + +## Every unsupported case + +These 90 cases return `UnknownOperation` from the existing adapter. This is a +coverage boundary, not evidence that the runtime implements or violates their +semantics. Schema and migration fixtures are independently executable in the +specification's own checker; that is not a runtime conformance claim. + +| Adapter operation | Case IDs | +| --- | --- | +| `embedded_json_schema_validate` | `v0.3/migration/pickle-collection-migration.yaml@g0.t1`, `v0.3/migration/tasknotes-type-migration.yaml@g0.t6`, `v0.3/schema/schema-artifacts.yaml@g0.t10`, `v0.3/schema/schema-artifacts.yaml@g0.t19` | +| `execute_view` | `views.explicit_context`, `views.grouping_summaries`, `v0.3/views/view-records.yaml@g0.t3`, `v0.3/views/view-records.yaml@g0.t4`, `v0.3/views/view-records.yaml@g0.t5`, `v0.3/views/view-records.yaml@g0.t6`, `views.context_shape`, `v0.3/views/view-records.yaml@g0.t8`, `v0.3/views/view-records.yaml@g0.t9`, `v0.3/views/view-records.yaml@g0.t10`, `v0.3/views/view-records.yaml@g0.t11`, `views.contract_execution`, `views.unclaimed_type_value` | +| `inspect_yaml` | `v0.3/migration/pickle-collection-migration.yaml@g0.t2`, `v0.3/migration/pickle-collection-migration.yaml@g0.t3`, `v0.3/migration/tasknotes-type-migration.yaml@g0.t8` | +| `interop_action_cancellation` | `interop-action-cancellation` | +| `interop_action_duplicate` | `v0.3/event-action-interop/event-action-interop.yaml@g2.t2` | +| `interop_action_failures` | `v0.3/event-action-interop/event-action-interop.yaml@g1.t5` | +| `interop_action_indeterminate` | `v0.3/event-action-interop/event-action-interop.yaml@g2.t3` | +| `interop_action_invalid_output` | `interop-action-invalid-output` | +| `interop_action_invoke` | `interop-action-success`, `interop-action-ambiguous`, `v0.3/event-action-interop/event-action-interop.yaml@g1.t2` | +| `interop_action_pin_then_register` | `v0.3/event-action-interop/event-action-interop.yaml@g1.t3` | +| `interop_authorization` | `interop-authorization-default-deny` | +| `interop_client_dispose` | `v0.3/event-action-interop/event-action-interop.yaml@g2.t5` | +| `interop_contract_conflict` | `v0.3/event-action-interop/event-action-interop.yaml@g2.t1` | +| `interop_event_duplicate` | `interop-event-duplicate` | +| `interop_event_multicast` | `interop-event-multicast` | +| `interop_event_publish` | `interop-event-invalid-data`, `v0.3/event-action-interop/event-action-interop.yaml@g0.t2` | +| `interop_transport_requirement` | `interop-transport-capabilities` | +| `json_document_schema_validate` | `v0.3/schema/schema-artifacts.yaml@g2.t1`, `v0.3/schema/schema-artifacts.yaml@g2.t2` | +| `json_document_valid` | `v0.3/migration/pickle-collection-migration.yaml@g0.t4`, `v0.3/migration/tasknotes-type-migration.yaml@g0.t7` | +| `json_schema_meta_validate` | `runtime.standard-pack-schemas`, `v0.3/schema/schema-artifacts.yaml@g0.t0`, `v0.3/schema/schema-artifacts.yaml@g1.t0`, `v0.3/schema/schema-artifacts.yaml@g2.t0` | +| `list_views` | `v0.3/views/view-records.yaml@g0.t0`, `views.contract_discovery` | +| `markdown_frontmatter_schema_validate` | `v0.3/migration/pickle-collection-migration.yaml@g0.t0`, `v0.3/migration/tasknotes-type-migration.yaml@g0.t5`, `runtime.standard-record-types`, `runtime.standard-contract-artifacts`, `v0.3/schema/schema-artifacts.yaml@g0.t1`, `v0.3/schema/schema-artifacts.yaml@g0.t8`, `v0.3/schema/schema-artifacts.yaml@g0.t9`, `v0.3/schema/schema-artifacts.yaml@g0.t13`, `v0.3/schema/schema-artifacts.yaml@g0.t17`, `v0.3/schema/schema-artifacts.yaml@g0.t18`, `v0.3/schema/schema-artifacts.yaml@g1.t1`, `v0.3/schema/schema-artifacts.yaml@g1.t2` | +| `migrate_type` | `v0.3/migration/tasknotes-type-migration.yaml@g0.t0`, `v0.3/migration/tasknotes-type-migration.yaml@g0.t1`, `v0.3/migration/tasknotes-type-migration.yaml@g0.t2`, `v0.3/migration/tasknotes-type-migration.yaml@g0.t3`, `v0.3/migration/tasknotes-type-migration.yaml@g0.t4` | +| `runtime_admit_event` | `workflow.atomic-admission` | +| `runtime_admit_workflow` | `runtime.exact-admission` | +| `runtime_execute_event` | `workflow.deterministic-plan`, `workflow.dispatch-authorization` | +| `runtime_fire_timer` | `workflow.one-shot-timer` | +| `runtime_preflight_workflow` | `runtime.provider-ambiguity`, `runtime.authorization-separate` | +| `runtime_prune_journal` | `workflow.journal-reset` | +| `runtime_race_workers` | `workflow.executor-concurrency` | +| `runtime_recover_dispatch` | `workflow.idempotent-recovery`, `workflow.non-idempotent-recovery` | +| `runtime_transition_run` | `workflow.state-machine` | +| `runtime_validate_record` | `runtime.legacy-parallel-contract` | +| `type_pack_resources_validate` | `runtime.standard-pack-resources`, `v0.3/schema/schema-artifacts.yaml@g0.t12` | +| `yaml_document_schema_validate` | `v0.3/schema/schema-artifacts.yaml@g0.t2`, `v0.3/schema/schema-artifacts.yaml@g0.t3`, `v0.3/schema/schema-artifacts.yaml@g0.t4`, `v0.3/schema/schema-artifacts.yaml@g0.t5`, `v0.3/schema/schema-artifacts.yaml@g0.t6`, `v0.3/schema/schema-artifacts.yaml@g0.t7`, `v0.3/schema/schema-artifacts.yaml@g0.t11`, `v0.3/schema/schema-artifacts.yaml@g0.t14`, `v0.3/schema/schema-artifacts.yaml@g0.t15`, `v0.3/schema/schema-artifacts.yaml@g0.t16`, `v0.3/schema/schema-artifacts.yaml@g1.t3` | + +## Follow-up boundary + +Do not tag or publish Connect from this PR. Its release must address the two +existing expected failures, the nondeterministic-match change, and any claimed +profile's remaining adapter/implementation gaps; re-vendor the exact merged +specification revision and qualify before changing its supported-spec registry. +No deprecated engine evidence is used here. diff --git a/release/v0.3.0.md b/release/v0.3.0.md index eb94cd1..04628a0 100644 --- a/release/v0.3.0.md +++ b/release/v0.3.0.md @@ -1,285 +1,139 @@ -# mdbase v0.3.0 Ecosystem Release Contract +# mdbase v0.3.0 Release Record -## Status +## Status and scope -This is the auditable release contract for the stable mdbase `0.3.0` ecosystem. -It distinguishes required release behavior from useful follow-up work. +On 2026-11-15, Callum selected plain SemVer instead of further release +candidates. Specification 0.3.0 freezes main at +`47d257d6a56e34c7279e5ebb959af0b0f49744b2` (the untagged rc.6 draft), confirms +its provisional choices, and applies the previously promised rejection of +nondeterministic type matching. The rc.5 and rc.6 changelog content is retained +under the dated 0.3.0 release. Collections still use `spec_version: "0.3.0"`. +There will be no intermediate rc.5 or rc.6 release. New normative work belongs +in backward-compatible 0.3.x errata or 0.4. -Current implementation version: `0.3.0-rc.4`. +This is a specification release, not a declaration that the whole ecosystem +is conforming or released. The former ecosystem-wide gates are explicitly +deferred in the changelog. In particular, the deprecated `mdbase-rs` engine is +not an authority or a release gate. The authoritative implementation is +`mdbase-dev/mdbase-connect`'s `runtime/` workspace. Its current gaps, including +adapter limitations, are recorded in [conformance-0.3.0.md](./conformance-0.3.0.md). +It must not claim stable conformance just because this specification is tagged. -Runtime profile version: `0.2`. +Companion profiles keep their own versions: `merge/0.1`, +`move_detection/0.1`, `type_packs/0.1`, `event_action_interop/0.1`, and +`runtime/0.2`. Their independent qualification is not implied by 0.3.0. -Stable `0.3.0` is not complete until every required gate below has evidence. +## Stable promises -Local implementation qualification is complete and the protocol has been -promoted to the repository root. The fourth release candidate applies the -specification review: standard CEL semantics with string dates, `patch` and -`unset` updates, atomic batches, validation levels, portable globs and built-in -exclusions, filename-first link resolution, version requirements, the -`data_contracts` profile, the `type_packs/0.1` companion profile, and configuration migration rules. -Stable remains blocked on registry install verification and completion of -downstream multi-platform qualification. +The thirteen provisional choices are confirmed by removing their markers, +without changing their rules: -## Ownership Decisions - -### Collection Protocol - -`mdbase-spec` owns the normative collection protocol, canonical type, data -contract, and type-pack schemas, profile identifiers, conformance fixtures, and -migration rules. Implementations consume those artifacts; they do not redefine -them. - -The `mdbase-dev/mdbase.dev` repository owns the ecosystem website and its -deployment cadence. It imports the versioned specification reader built here; -a specification tag no longer deploys or replaces the product website. - -### TypeScript Runtime Package - -Generic runtime contracts and the reference in-memory provider host belong in a -small browser-safe package in the mdbase package family. The target package name -is `@callumalpass/mdbase-runtime`, with the current package line implementing -runtime profile `0.2`. - -The package owns: - -- canonical runtime types and schemas -- provider registration and removal -- deterministic contract composition -- preflight and capability-policy checks -- event-envelope validation and delivery -- action input/output validation and dispatch -- platform-neutral host lifecycle -- exact canonical schemas for the declared collection and runtime profile - versions - -Node-specific Markdown loading and materialization, if shipped in the same -package, MUST live behind an explicit `./node` export. Importing the main package -MUST NOT load Node APIs, SQLite, Obsidian APIs, or TaskNotes code. - -Schema access APIs MUST return immutable values or isolated copies. Consumers -MUST be able to validate an in-memory provider from the installed package -without a source checkout or collection filesystem. - -### Rust Runtime Contract Harness - -The v0.3.0 release includes `mdbase-runtime-contracts-rs` as an independent -contract-validation harness. It loads the same canonical schemas and example -collections as the TypeScript runtime package and validates type files, -contract records, and embedded action and event schemas. - -The harness may remain smaller than a runtime host. Its release role is to -exercise the shared contract model from Rust and catch language-specific -assumptions in the schemas and fixtures. - -These TypeScript and Rust package commitments are ecosystem release -requirements. Durable runtime conformance remains defined by the portable -profiles and permits independent implementations and package structures. - -### Platform Host Discovery - -The protocol does not prescribe global process or plugin discovery. Platform -adapters inject or broker one selected host instance. - -For Obsidian, the `mdbase-obsidian` plugin is the selected host adapter. It -exposes the host through its plugin API and owns host disposal with the vault -lifecycle. Independent provider and executor plugins discover that API by the -`mdbase-obsidian` plugin ID. They MUST NOT use TaskNotes as the generic service -locator. A temporary TaskNotes compatibility host MAY exist during alpha -migration, but it MUST be removed before the release candidate. - -### Providers And Executors - -TaskNotes and Canvas Bases are optional providers. Neither owns the generic -runtime contract. TaskNotes Workflows is an optional executor and may remain a -TaskNotes-focused product, but generic event/action preflight and dispatch use -the mdbase runtime package. - -Canvas Bases MUST remain fully usable without TaskNotes. TaskNotes-specific -actions are available only when the `tasknotes` provider is registered and -passes preflight. - -## Required Component Matrix - -| Component | Stable release responsibility | Required claim or evidence | Dependency rule | -| --- | --- | --- | --- | -| `mdbase-spec` | normative prose, schemas, fixtures, migration rules | all artifact and site gates | source of truth | -| `@callumalpass/mdbase-runtime` | durable admission and runtime record validation built on interoperability | `runtime/0.2`; browser package smoke | no TaskNotes/Obsidian/Node dependency in main export | -| `mdbase-runtime-contracts-rs` | independent runtime contract validation harness | canonical schema, example collection, and embedded-schema tests | consume the same versioned artifacts as the TypeScript runtime package | -| `@callumalpass/mdbase` | TypeScript collection and data-contract implementation | `core_read`, `collection_semantics`, `data_contracts`, `cel`, `cel_query`, `links`, `core_write`, `type_packs/0.1`, `lifecycle` | exact compatible spec artifacts | -| native `mdbase` CLI | safe user-facing operations, migration, direct filesystem access, Connect-managed collection access, service management, and profiling | packaged native binaries plus v0.2 migration rehearsals | assembled by `mdbase-connect` from `mdbase-rs`; the former TypeScript `mdbase-cli` is retired | -| `mdbase-rs` | independent Rust collection implementation and separately versioned workflow engine | `core_read`, `collection_semantics`, `data_contracts`, `cel`, `cel_match`, `cel_query`, `links`, `core_write`, `type_packs/0.1`, `lifecycle`, `runtime/0.2`, `watch`; workflow execution remains separately evidenced | claim only verified profiles per artifact | -| `mdbase-lsp` | editor diagnostics from Rust semantics | Rust claim plus LSP diagnostic fixtures | no independent schema dialect | -| `mdbase-obsidian` | selected Obsidian host adapter and collection UI | shared-host, unload, and provider-discovery smoke tests | owns one generic host per loaded vault | -| `@tasknotes/model` | TaskNotes data contract, type pack, domain types, and provider metadata | contract conformance plus ESM/CJS package smoke | generic runtime types come from mdbase runtime package | -| TaskNotes | `tasknotes` provider and domain operations | provider contract, dispatch, event, authorization tests | may host only through generic adapter | -| TaskNotes Workflows | workflow executor and TaskNotes integrations | canonical file generation, legacy migration, registration, policy, and dispatch tests | runtime host is injected, not TaskNotes-owned | -| Canvas Bases | `canvas-bases` provider and `canvas.drop` event | works without TaskNotes; cross-plugin workflow smoke | TaskNotes integration is optional | -| Pickle and `.ops` | representative migrated consumers | checked migration plus collection validation | no silent rewrite | - -## Stable Release Gates - -### Specification - -- [ ] No unresolved normative questions in chapters 00-14, Chapter 05A, and the - companion documents after the spec review cleanup (standard CEL, date - strings, `unset`, batch, validation levels, links, and profile split). -- [ ] `0.3.0-rc.6` is tagged. It is the last release candidate that adds or - changes behavior. -- [ ] No **Provisional** paragraph remains in chapters 00-14. Each one below - is confirmed, by removing its marker, or removed with its behavior: - - [ ] 02: path safety rule set - - [ ] 02: resolving a discovered `path_collision` group by renaming - - [ ] 02: full case folding in path keys - - [ ] 02: Unicode 17.0.0 data for NFC and case folding - - [ ] 03: YAML scalar resolution table - - [ ] 04: data contract view failures classed as single-record - - [ ] 06: `pattern` uses the mdbase regex profile, not ECMA-262 - - [ ] 07: `enforce: write` applies at every validation level - - [ ] 07: JSON representation of numbers in uniqueness keys - - [ ] 07: path-stored fields are strings; FORMAT tokens `YYYY`, `MM`, `DD` - - [ ] 10: map iteration order in CEL comprehensions - - [ ] 12: `add` and `remove` address top-level fields only - - [ ] 12: `body_edits` offsets are Unicode scalar values -- [ ] The implementations in the component matrix hold verified claims - against the final release candidate for the profiles of the collection - specification listed for them. Companion profiles (`merge/0.1`, - `move_detection/0.1`, `type_packs/0.1`, `event_action_interop/0.1`, - `runtime/0.2`) are not part of the stable gate. -- [ ] `mdbase-rs` and `@callumalpass/mdbase` implement the spec review cleanup - and pass the new adapter-target fixtures. -- [x] Every canonical schema validates as Draft 2020-12. -- [x] Data contract, implementation, projection, conflict, digest, and type-pack - fixtures are executable. -- [x] Conformance claims validate against the canonical claim schema. -- [x] Examples and migration fixtures are generated or checked reproducibly. -- [x] The promoted site and archived v0.2 documentation both build. - -### Runtime Ownership - -- [x] The generic TypeScript runtime package is browser-safe and publishable. -- [x] Its main export carries immutable or isolated canonical schemas and the - reference host enforces them for live providers and event envelopes. -- [x] TaskNotes model, TaskNotes Workflows, and Canvas Bases use its canonical - types rather than duplicate generic interfaces. -- [x] The reference host implementation no longer lives in TaskNotes. -- [x] `mdbase-obsidian` exposes the selected host and provider discovery works - without TaskNotes installed. -- [x] Canvas Bases emits `canvas.drop` and runs generic workflows without - TaskNotes. -- [x] TaskNotes actions appear and dispatch only when its provider is available. -- [x] TaskNotes Workflows writes canonical `runtime/0.2` records, registers - them with the selected host, and keeps legacy files read-only until an - explicit backed-up migration is approved. - -### Data Safety And Compatibility - -- [x] v0.2 collections remain readable by transition-capable tools. -- [x] Migration analysis is non-mutating and reproducible. -- [x] Apply requires explicit approval and verifies source hashes. -- [x] Backups, rollback, interruption, stale-report, invalid-record, and partial - migration behavior have fault-injection coverage. -- [x] TaskNotes, Pickle, and one non-Obsidian collection complete migration - rehearsals from copied real-world data. - -### Implementations - -- [ ] At least one adapter passes every required core profile fixture. -- [x] TypeScript and Rust include validated conformance claim documents. -- [x] A second implementation passes shared `core_read` and - `collection_semantics` fixtures. -- [x] LSP diagnostics preserve canonical codes, paths, fields, and schema - locations. -- [x] Unsupported profiles and operational limits are explicit. - -### Release Qualification - -- [ ] Linux, macOS, and Windows CI pass for publishable packages. -- [ ] Fresh tarball/crate installs pass without sibling links. -- [x] Production and development dependency audits have no known high or - critical findings. -- [x] Live Obsidian smoke tests pass for TaskNotes, Workflows, and Canvas Bases. -- [x] Performance baselines pass on representative small and large collections. -- [x] Upgrade, rollback, provider-authoring, and workflow-authoring documentation - is complete. - -## Qualification Evidence - -Evidence collected through 2026-08-07: - -| Surface | Result | +| Chapter | Confirmed choice | | --- | --- | -| v0.3 artifact suite | 51 executable and 93 adapter-target cases pass | -| conformance claims | TypeScript and Rust claims validate against the canonical schema | -| TypeScript core | build and all 1,939 tests pass, including stable-marker and retained alpha-marker compatibility | -| CLI | 265 tests pass, including init, analyzed migration, apply, recovery, stale reports, and partial policy | -| Rust core | fmt, strict clippy, full tests, shared v0.3 fixture, stable-v0.3 init safety, v0.3 profiler smoke, and crate packaging pass | -| LSP | fmt, strict clippy, and 45 tests pass; crate verification waits for the registry core crate | -| runtime package | 20 host/contract tests and browser-entry smoke pass | -| runtime executor / CEL / Rust contract harness | 2 / 6 / 2 tests pass | -| TaskNotes | unit, lint, architecture, typecheck, docs, build, test-vault copy, performance, registration, unload, event, policy, dispatch, schema, and live Obsidian smoke gates pass for the released stable and v5 beta lines | -| TaskNotes Workflows | unit, translation, lint, typecheck, production build, test-vault copy, portable testbed, and live Obsidian cross-plugin smoke gates pass | -| Canvas Bases | unit, lint, typecheck, build, portable testbed, and live Obsidian cross-plugin smoke gates pass without a required TaskNotes dependency | -| Pickle Obsidian | 63 tests plus lint, typecheck, and build pass | -| mdbase-tasknotes | 1,022 tests pass against the v0.3 TypeScript core and v0.3 TaskNotes model | -| additional consumers | Pickle Rust, Pickle Android, workout, mdbase-app, Tauri, and tasknotes-tui checks pass; Rust consumers are fmt/clippy-clean where configured | -| dependency audit | no production findings and no high/critical development findings; only current low-severity esbuild findings remain in affected dev toolchains | -| core performance | 2,001 tasks, 80 projects, 100 rename references: basic query p95 92.5 ms, formula query p95 99.5 ms, update p95 90.7 ms, create p95 100.4 ms, cache rebuild p95 271.5 ms | -| site | current v0.3 and archived v0.2 specification readers build from required file lists and are imported by the independent website | - -The `0.3.0-rc.3` package set is `@callumalpass/mdbase-interop@0.1.0-rc.2`, -`@callumalpass/mdbase-testbed@0.1.0-rc.2`, and -`@callumalpass/mdbase-runtime@0.2.0-rc.1`. The interop tarball is unchanged -from the already-published package; the testbed and runtime packages are -published from this frozen revision. - -The in-app browser bridge and Obsidian CLI attachment were unavailable in this -environment. Build success is not a substitute for those live visual/runtime -smoke gates. - -## Publication Order - -1. Tag the exact spec, schemas, fixtures, and runtime profile artifacts. -2. Publish `@callumalpass/mdbase-interop`, `@callumalpass/mdbase-testbed`, and - `@callumalpass/mdbase-runtime`. -3. Publish `@callumalpass/mdbase`. -4. Publish the Rust interoperability, collection, runtime, and command crates, - then publish `mdbase-lsp`. The supported native `mdbase` executable is - assembled and released by `mdbase-connect`; do not publish the retired - TypeScript CLI. -5. Publish `@tasknotes/model` against the runtime package, then publish - `mdbase-tasknotes` against the registry core and model packages. -6. Release `mdbase-obsidian` as the selected Obsidian host adapter. -7. Release TaskNotes, then TaskNotes Workflows and Canvas Bases. -8. Validate downstream collections before declaring the ecosystem release - complete. - -Every dependent lockfile MUST resolve the published prerelease or stable -artifact, not a sibling link or an older compatibility branch, before its -release is cut. - -The exact upgrade, recovery, provider, workflow, and staged dependency commands -are in [v0.3.0-operator-guide.md](./v0.3.0-operator-guide.md). - -## Downstream Migration Order - -After the specification artifacts are tagged and the required packages are -published, downstream migration proceeds in this order: - -1. shared schemas and runtime contract helper packages -2. TypeScript and Rust core readers -3. native CLI validation and migration dry-run -4. LSP schema and workflow diagnostics -5. TaskNotes generated export -6. TaskNotes workflow and runtime projects -7. Canvas Bases runtime workflow integration -8. Pickle and other mdbase-backed applications - -Generated type files migrate before user-authored vault files. Each stage uses -the published artifacts and validated output from its prerequisites. - -## Prerelease Progression - -- Alpha releases may change schemas and package boundaries. -- Beta begins only after normative schemas and public exports freeze. -- Release candidate begins only after required consumers use the generic host. -- Stable `0.3.0` requires every gate in this document to have durable evidence. +| 02 | Path safety rule set | +| 02 | Resolving a discovered `path_collision` group by renaming | +| 02 | Full case folding in path keys | +| 02 | Unicode 17.0.0 data for NFC and case folding | +| 03 | YAML scalar resolution table | +| 04 | Data contract view failures are single-record failures | +| 06 | JSON Schema `pattern` uses the mdbase regex profile, not ECMA-262 | +| 07 | `enforce: write` applies at every validation level | +| 07 | RFC 8785 JSON number representation in path values and uniqueness keys | +| 07 | Path-stored fields are strings; FORMAT tokens are `YYYY`, `MM`, `DD` | +| 10 | Insertion-order map iteration in CEL comprehensions | +| 12 | `add` and `remove` address top-level fields only | +| 12 | `body_edits` offsets are Unicode scalar values | + +The promised `nondeterministic_match` escalation is applied in chapters 07, +10, 13, and 14 and in `tests/v0.3/cel/match-determinism.yaml`. Invalid types +are excluded from matching. Queries retain time-dependent bindings. The two +changed tests preserve their IDs and original `since:` markers and add +`changed: 0.3.0`; the checker accepts stable release markers. + +Type matching uses only the collection's configured `settings.timezone`, never +an invocation timezone or a local-runtime default. Without a configured timezone, +`today()`, `date(timestamp)`, and `startOfDay(string)` in `match.expr` produce a +`nondeterministic_match` error that invalidates the type and excludes it from +matching. A configured timezone does not permit clock-dependent `today()`. +Chapters 10 and 11 and the matching fixtures record this stable decision. + +The old requirements for verified claims by every named implementation, an +rc.6 tag, registry-install and multi-platform qualification, and a complete +ecosystem rollout are not claimed complete. The changelog explicitly defers +product qualification because the specification freeze and downstream product +releases are now separate. Historical rc.5 release notes are marked as such. + +## Package versions and consumers + +| Package | Prepared version | Registry | +| --- | --- | --- | +| `@callumalpass/mdbase-interop` | `0.1.0` | npm | +| `@callumalpass/mdbase-testbed` | `0.1.0` | npm | +| `mdbase-interop` (`packages/interop-rs`) | `0.1.0` | crates.io | +| `@callumalpass/mdbase-runtime` (`packages/runtime-contracts`) | `0.2.0` | npm | + +`packages/runtime-contracts` is used, not abandoned: the local private +`@mdbase/runtime-executor` imports it, and TaskNotes Workflows main at +`1ebd01305fbd03f873df460c97f38b4c12b8403c` depends on +`file:vendor/callumalpass-mdbase-runtime-0.2.0-rc.1.tgz`. Therefore its current +0.2 line is prepared as 0.2.0, not reset to 0.1.0. Downstream repinning is +outside this PR. + +Registry reads on 2026-11-15 found npm interop `latest=0.1.0-rc.2`, +`next=0.1.0-rc.3`; testbed `latest=0.1.0-rc.1`, `next=0.1.0-rc.3`; and +runtime `latest=0.1.0-rc.1`, `next=0.2.0-rc.1`. In particular, runtime +0.2.0-rc.1 **has already been published**, contrary to the initial assumption. +The private executor and CEL host remain private and unversioned for release. + +## Post-merge tagging and publication + +No tag or registry publication is part of this PR. After merge, use the exact +merged main commit for every tag and package, following the rc.4 release +precedent (version fields and lockfiles committed before tagging): + +1. Create and push `v0.3.0` at the merged release commit. This triggers + `.github/workflows/ci.yml` and `.github/workflows/deploy.yml` ("Build tagged + specification artifact"). The latter uploads + `mdbase-spec-site-v0.3.0`; it does not deploy the product website. + `mdbase-dev/mdbase.dev` owns importing and deploying the reader. +2. Create and push `mdbase-interop-v0.1.0`. The existing + `.github/workflows/publish-npm.yml` validates the tag/version, tests and + inspects the package, checks the version is unpublished, then publishes + `@callumalpass/mdbase-interop@0.1.0` to npm with `--access public --tag latest`. +3. After interoperability publication succeeds, create and push + `mdbase-runtime-v0.2.0` and `mdbase-testbed-v0.1.0` at that same commit. + The same workflow publishes `@callumalpass/mdbase-runtime@0.2.0` and + `@callumalpass/mdbase-testbed@0.1.0` to npm as `latest`. It builds the local + interop dependency before testing either package. Do not tag the private + packages, alter workflow trust, or publish a release candidate. +4. From the same tagged revision, run + `cargo publish --locked --manifest-path packages/interop-rs/Cargo.toml` + to publish `mdbase-interop@0.1.0` to crates.io. There is no crate-publishing + workflow in this repository; the interop tag already identifies its source. + Do not invent another workflow or imply that the npm tag publishes the crate. + +The existing npm workflow selects `latest` for plain versions and `next` for +prereleases; no workflow change is required. Registry credentials and the +protected `npm` environment remain under their existing approval policy. + +## Repository validation + +The release preparation passes the following local Linux checks: + +- `python3 scripts/check_test_levels.py`. +- `python3 scripts/check_v03_tests.py`: 213 executable fixtures and 270 + adapter-target fixtures validated. This does not execute the adapter targets. +- `python3 scripts/prototype_tasknotes_v03_migration.py --check-fixture`. +- `node scripts/build_runtime_pack.mjs`, with no generated-pack drift. +- `npm ci` and `npm test` in interop (11 tests), CEL host (15), runtime + contracts (5), runtime executor (1), and testbed (6). +- `npm pack --dry-run` in all three publishable npm package directories. +- `rcargo test --locked` in `packages/interop-rs`: 5 tests pass. +- `cargo fmt --manifest-path packages/interop-rs/Cargo.toml --check` and + `rcargo package --locked --allow-dirty`: crate packaging and verification pass. +- `npm ci` and `npm run build` in `site`, including the v0.2 archive. + +Generated schemas, testbed assets, and the standard runtime pack remain +unchanged. macOS/Windows, installed-registry smoke tests, downstream live +applications, and complete implementation qualification are not inferred from +these checks; their limits are recorded in the changelog and conformance report. diff --git a/schemas/v0.3/README.md b/schemas/v0.3/README.md index 49018cd..ad343be 100644 --- a/schemas/v0.3/README.md +++ b/schemas/v0.3/README.md @@ -1,6 +1,6 @@ # mdbase v0.3 Schemas -Draft canonical JSON Schemas for the side-by-side v0.3 rewrite. +Canonical JSON Schemas for mdbase v0.3. These schemas validate frontmatter payloads and runtime envelopes. They are not yet published package artifacts. diff --git a/scripts/check_v03_tests.py b/scripts/check_v03_tests.py index ca6f0db..9b4b6c1 100755 --- a/scripts/check_v03_tests.py +++ b/scripts/check_v03_tests.py @@ -67,7 +67,7 @@ "data_contract_registry_validate", } | concurrent_edits_model.FIXTURE_OPERATIONS -RELEASE_MARKER = re.compile(r"^0\.3\.0-rc\.[0-9]+$") +RELEASE_MARKER = re.compile(r"^0\.3\.0(?:-rc\.[0-9]+)?$") CONFORMANCE_PROFILES = { "core_read", @@ -303,7 +303,7 @@ def validate_suite_shape( for marker in ("since", "changed"): if marker in test and not RELEASE_MARKER.match(str(test[marker])): errors.append( - f"{path}: test {test.get('id', test_index)!r} {marker} must name a 0.3.0 release candidate" + f"{path}: test {test.get('id', test_index)!r} {marker} must name 0.3.0 or a 0.3.0 release candidate" ) covers = test.get("covers") if covers is None: diff --git a/site/build.mjs b/site/build.mjs index 0b2baaf..73d971d 100644 --- a/site/build.mjs +++ b/site/build.mjs @@ -248,7 +248,7 @@ function build() { entries: SPEC_FILES, output: 'spec.html', title: 'Specification', - version: 'v0.3.0-rc.5', + version: 'v0.3.0', switchLink: 'v0.2 archive', }); buildSpec({ diff --git a/tests/v0.3/README.md b/tests/v0.3/README.md index b6f7f43..8851d24 100644 --- a/tests/v0.3/README.md +++ b/tests/v0.3/README.md @@ -156,11 +156,14 @@ lifecycle behavior, CEL evaluation, runtime dispatch, and workflow execution use adapters or local prototype implementations. Stable-release adapter gates are tracked in [release/v0.3.0.md](../../release/v0.3.0.md). -## Release-candidate markers +## Release markers Tests added after 0.3.0-rc.4 carry `since: 0.3.0-rc.5`, and tests added after 0.3.0-rc.5 carry `since: 0.3.0-rc.6`. Existing tests whose expected -outcome changed carry `changed:` with the release candidate that changed it. +outcome changed carry `changed:` with the release that changed it. The original +`since:` markers remain historical provenance; 0.3.0 changes use `changed: 0.3.0`. +The legacy ID `cel_match.nondeterministic_match_warning` is retained, but now +asserts error severity and exclusion of invalid types, not a warning. An engine that conforms to rc.4 passes every test without either marker; the release notes in `docs/releases/0.3.0-rc.5.md` list the changed tests. Requirements added in a release candidate are marked with a diff --git a/tests/v0.3/cel/match-determinism.yaml b/tests/v0.3/cel/match-determinism.yaml index 940a5cd..dd01d57 100644 --- a/tests/v0.3/cel/match-determinism.yaml +++ b/tests/v0.3/cel/match-determinism.yaml @@ -1,11 +1,12 @@ # Deterministic matching (Chapters 07 and 10): a match.expr that depends on the -# clock, file timestamps, or other records loads with a nondeterministic_match -# warning. Queries may use those bindings freely. +# clock, file timestamps, other records, or a timezone without settings.timezone +# is invalid with a nondeterministic_match error. Queries may use those bindings +# freely. Type matching never uses an invocation timezone or local-runtime default. name: "deterministic match expressions" spec_version: "0.3.0" fixture_set: cel category: cel -spec_ref: "v0.3/07, v0.3/10" +spec_ref: "v0.3/07, v0.3/10, v0.3/11" groups: - name: "nondeterministic match expressions are reported" @@ -75,38 +76,41 @@ groups: due: "2020-01-01" --- tests: - - name: "nondeterministic match expressions load with a warning" + - name: "nondeterministic match expressions invalidate the type" id: cel_match.nondeterministic_match_warning since: 0.3.0-rc.5 + changed: 0.3.0 covers: [cel_match.deterministic_match] operation: load_types input: {} expect: - valid: true + valid: false + types: [open_task] diagnostics_contain: - code: nondeterministic_match - severity: warning + severity: error type: overdue details: { binding: today } - code: nondeterministic_match - severity: warning + severity: error type: recent details: { binding: file.mtime } - code: nondeterministic_match - severity: warning + severity: error type: child details: { binding: asFile } - - name: "both deterministic and reported match expressions still match" + - name: "only deterministic match expressions participate in matching" id: cel_match.match_deterministic_ok since: 0.3.0-rc.5 + changed: 0.3.0 covers: [cel_match.deterministic_match] operation: get_types input: path: "tasks/a.md" expect: valid: true - types: [open_task, overdue] + types: [open_task] - name: "queries may still use today()" id: cel_match.query_today_allowed @@ -119,3 +123,157 @@ groups: valid: true results: - path: "tasks/a.md" + + - name: "matching uses only the configured collection timezone" + setup: + config: | + spec_version: "0.3.0" + settings: + timezone: America/Los_Angeles + types: + la_day.md: | + --- + kind: mdbase.type + name: la_day + version: 1 + match: + expr: + $expr: 'date(timestamp("2026-11-15T00:30:00Z")) == "2026-11-14" && startOfDay("2026-11-14") == timestamp("2026-11-14T08:00:00Z")' + schema: + dialect: json-schema-2020-12 + value: + type: object + --- + files: + tasks/a.md: | + --- + title: A + --- + tests: + - name: "a configured timezone makes date conversions deterministic" + id: cel_match.configured_timezone_valid + since: 0.3.0 + covers: [cel_match.deterministic_match] + operation: load_types + input: {} + expect: + valid: true + types: [la_day] + diagnostics: [] + + - name: "date conversions use the configured timezone for membership" + id: cel_match.configured_timezone_membership + since: 0.3.0 + covers: [cel_match.deterministic_match] + operation: get_types + input: + path: "tasks/a.md" + expect: + valid: true + types: [la_day] + + - name: "a UTC invocation does not change type membership" + id: cel_match.invocation_timezone_utc_ignored + since: 0.3.0 + covers: [cel_match.deterministic_match] + operation: query + input: + types: [la_day] + timezone: UTC + expect: + valid: true + results: + - path: "tasks/a.md" + + - name: "a Los Angeles invocation has the same deterministic membership" + id: cel_match.invocation_timezone_los_angeles_ignored + since: 0.3.0 + covers: [cel_match.deterministic_match] + operation: query + input: + types: [la_day] + timezone: America/Los_Angeles + expect: + valid: true + results: + - path: "tasks/a.md" + + - name: "timezone-dependent matching requires a configured timezone" + setup: + config: | + spec_version: "0.3.0" + types: + instant_date.md: | + --- + kind: mdbase.type + name: instant_date + version: 1 + match: + expr: + $expr: 'date(timestamp("2026-11-15T00:30:00Z")) == "2026-11-15"' + schema: + dialect: json-schema-2020-12 + value: + type: object + --- + day_start.md: | + --- + kind: mdbase.type + name: day_start + version: 1 + match: + expr: + $expr: 'startOfDay("2026-11-15") == timestamp("2026-11-15T00:00:00Z")' + schema: + dialect: json-schema-2020-12 + value: + type: object + --- + date_literal.md: | + --- + kind: mdbase.type + name: date_literal + version: 1 + match: + expr: + $expr: 'date("2026-11-15") == "2026-11-15"' + schema: + dialect: json-schema-2020-12 + value: + type: object + --- + files: + tasks/a.md: | + --- + title: A + --- + tests: + - name: "a missing collection timezone makes date conversions invalid" + id: cel_match.missing_timezone_error + since: 0.3.0 + covers: [cel_match.deterministic_match] + operation: load_types + input: {} + expect: + valid: false + types: [date_literal] + diagnostics_contain: + - code: nondeterministic_match + severity: error + type: instant_date + details: { binding: date } + - code: nondeterministic_match + severity: error + type: day_start + details: { binding: startOfDay } + + - name: "missing-timezone types are excluded but date strings remain deterministic" + id: cel_match.missing_timezone_excluded + since: 0.3.0 + covers: [cel_match.deterministic_match] + operation: get_types + input: + path: "tasks/a.md" + expect: + valid: true + types: [date_literal]