Skip to content

chore(automation): retire the workflow_rule authoring paradigm (ADR-0018 M5 dropped) - #1578

Merged
xuyushun441-sys merged 1 commit into
mainfrom
chore/retire-workflow-rule-paradigm
Jun 4, 2026
Merged

xuyushun441-sys merged 1 commit into
mainfrom
chore/retire-workflow-rule-paradigm

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Collaborator

What

workflow_rule was already dropped as a concept in ADR-0019 (the Workflow-Rule → Flow compiler was removed; Workflow Rules went away in #1398 and workflow was reclaimed for state machines), but the paradigm tag lingered in ActionParadigmSchema and on every built-in node descriptor. This finishes the cleanup and aligns the ADR-0018 doc to reality.

Changes

  • spec: ActionParadigmSchema → ['flow','approval'] (removed 'workflow_rule')
  • service-automation: http / notify / connector_action descriptors + the deprecated-alias fallback advertise ['flow','approval']
  • tests: builtin descriptor assertions + http-dispatcher ?paradigm filter switched off the retired tag (filter test now uses approval)
  • docs: ADR-0018 status + migration table → M3 shipped, M4 framework-complete, M5 dropped (approval execution convergence is delivered by the ADR-0019 approval Flow node, not a compiler)

Verification

  • @objectstack/service-automation: 158 passed
  • @objectstack/runtime http-dispatcher: 124 passed
  • @objectstack/spec build (incl. DTS typecheck): clean

🤖 Generated with Claude Code

…018 M5 dropped)

ADR-0019 dropped the Workflow-Rule -> Flow compiler, but the `workflow_rule`
paradigm tag lingered in `ActionParadigmSchema` and on every built-in node
descriptor. With no declarative Workflow-Rule authoring view to feed, retire it:

- spec: `ActionParadigmSchema` -> `['flow','approval']`
- service-automation: `http` / `notify` / `connector_action` descriptors and the
  deprecated-alias fallback advertise `['flow','approval']`
- tests: builtin descriptor assertions + http-dispatcher `?paradigm` filter
  switched off the retired tag
- docs: ADR-0018 status + migration table -> M3 shipped, M4 framework-complete,
  M5 dropped (approval convergence delivered by the ADR-0019 approval node)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 4, 2026 12:55pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests tooling size/s labels Jun 4, 2026
@xuyushun441-sys
xuyushun441-sys merged commit bc44195 into main Jun 4, 2026
12 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the chore/retire-workflow-rule-paradigm branch June 4, 2026 13:11

This branch was successfully deployed

1 active deployment
Preview — e3871dbc Deployed Jun 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s tests tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants