Skip to content

Execute Runtime 0.2 workflows with CEL in the Obsidian client - #25

Merged
callumalpass merged 5 commits into
mainfrom
feat/runtime-02-executor
Nov 17, 2026
Merged

callumalpass merged 5 commits into
mainfrom
feat/runtime-02-executor

Conversation

@callumalpass

@callumalpass callumalpass commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Workflows now execute their Runtime 0.2 records directly in the Obsidian client, using CEL for format v2 and the existing evaluator for unmigrated v1 files. Published mdbase-sync API v1/profile 0.1 and stable npm packages replace the dead plugin lookup and vendored prerelease.

Implemented trigger conditions, persistent seven-day run idempotency reservations and minimum intervals, evaluated concurrency groups with skip/queue/replace/allow, trailing debounce, item/deadline/error policies, timezone-aware cron and persisted fire-once catch-up. Interop step keys derive from run idempotency plus step/item. Runtime-shaped run/attempt history retains the existing UI and marks interrupted work without replay. Automatic execution has a device-local switch (desktop on/mobile off); manual runs remain available.

Reviewed migration converts Bases/templates/structured conditions into CEL, disabling unsupported conversions with explanations and preserving backup/apply/rollback. New/migrated notes honor collection type keys; missing runtime types produce a one-time pack hint. TaskNotes v5 task IDs, stable-ID lookups, metadata event shape, time-entry scaffolding, runtime note recognition, English settings text, README, schema and authoring guides are updated. Minimum Obsidian is 1.8.7 for app-local storage; plugin version stays 0.1.6.

Validation: 107 unit tests pass; npm run typecheck, npm run lint, and npm run build pass. Tests include the real InMemoryInteropBridge and canonical runtime history validation. Obsidian is unavailable here; no native reload or shared-vault build was run.

Scope limits: this is a client executor, not a claim of full durable Runtime 0.2 conformance. No distributed leases, transactional event journal, durable queue/checkpoint replay, pack installation, merge, or release. Pending debounce/queues are memory state. Local actions settle before replacement; unknown interop outcomes are indeterminate. CEL workflows open their YAML note instead of the Bases formula editor. Metadata revisions describe metadata snapshots, and type lists include explicit membership only. Bridge invocation identities are provisional until the returned outcome. These limits and migration behavior are documented in docs/workflow-schema.md.

Companion skill update: callumalpass/tasknotes-workflows-skill#1.

@callumalpass
callumalpass merged commit 0245176 into main Nov 17, 2026
2 checks passed
@callumalpass
callumalpass deleted the feat/runtime-02-executor branch November 17, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant