[Feature] Extract/generalize reusable workflow/review patterns into govoplan-workflow #2

Closed
opened 2026-07-10 22:05:27 +02:00 by zemion · 4 comments
Owner

Moved from add-ideas/govoplan-core#120.

Reason: Workflow/review pattern work belongs to the workflow module.

Original issue body:

Imported from a backlog-like text file.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md
  • Line: 314
  • Source kind: product
  • Section: GovOPlaN Split Concept and Action Plan > Product Roadmap > Milestone B: Daily Administrative Work

Imported item:

Extract/generalize reusable workflow/review patterns into `govoplan-workflow`.
Moved from add-ideas/govoplan-core#120. Reason: Workflow/review pattern work belongs to the workflow module. Original issue body: <!-- codex-generic-backlog-fingerprint:b8222f9e27308e0b11bc9bb1 --> Imported from a backlog-like text file. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md` - Line: `314` - Source kind: `product` - Section: `GovOPlaN Split Concept and Action Plan > Product Roadmap > Milestone B: Daily Administrative Work` Imported item: ```text Extract/generalize reusable workflow/review patterns into `govoplan-workflow`. ```
Author
Owner

Roadmap update, 2026-07-20: general Workflow implementation is deliberately postponed while the whole-system interface pattern language and Campaign lifecycle are established. Keep this issue as canonical future scope; do not treat it as part of the current implementation wave.

Roadmap update, 2026-07-20: general Workflow implementation is deliberately postponed while the whole-system interface pattern language and Campaign lifecycle are established. Keep this issue as canonical future scope; do not treat it as part of the current implementation wave.
Author
Owner

Codex State: progress

Implemented the reusable first slice in 85eef00: an executable Workflow
package, versioned node-library discovery, definition validation API, and
Workflow-specific constraints over Core's shared graph contract (8b1910b).
Dataflow uses the same neutral primitives with a different node library and
acyclic constraints.

Persistence, editor UI, instances, transitions, command records, retries, and
audit/event execution remain in
#5.

## Codex State: progress Implemented the reusable first slice in `85eef00`: an executable Workflow package, versioned node-library discovery, definition validation API, and Workflow-specific constraints over Core's shared graph contract (`8b1910b`). Dataflow uses the same neutral primitives with a different node library and acyclic constraints. Persistence, editor UI, instances, transitions, command records, retries, and audit/event execution remain in https://git.add-ideas.de/GovOPlaN/govoplan-workflow/issues/5.
zemion added the source/backlog-import label 2026-07-29 14:15:10 +02:00
Author
Owner

Progress pushed in c505e81.

docs/VISUAL_MODEL.md now records Campaign review as the reference runtime visual language. Workflow instance progress uses the same compact stage-rail vocabulary for current, completed, waiting, failed and unavailable states without importing Campaign code. The editor side panels now use bounded, content-sized rows and independent scrolling like Dataflow instead of stretching controls to full height.

This issue remains open until the stage rail is extracted into a shared Core component and Campaign consumes the shared implementation.

Progress pushed in `c505e81`. `docs/VISUAL_MODEL.md` now records Campaign review as the reference runtime visual language. Workflow instance progress uses the same compact stage-rail vocabulary for current, completed, waiting, failed and unavailable states without importing Campaign code. The editor side panels now use bounded, content-sized rows and independent scrolling like Dataflow instead of stretching controls to full height. This issue remains open until the stage rail is extracted into a shared Core component and Campaign consumes the shared implementation.
Author
Owner

Codex State: done

The final recorded extraction slice is complete in the current working tree.

  • Core now owns a reusable, accessible StageRail with shared state colors, current-step treatment, connector gradients, status copy, locking, and horizontal overflow.
  • Campaign Review & Send consumes the Core rail while preserving its complete/warning/danger/active/locked/running/partial/stale semantics.
  • Workflow instance progress consumes the same component for canonical completed/running/waiting/failed/cancelled/superseded runtime states.
  • Workflow already owns the generalized definition graph, node library, validation, revisions, instances, handoffs, and progress UI tracked by the preceding comments.

Verification: combined Core TypeScript/Vite production build and bundle budgets pass; Workflow backend/runtime suite passes (33 tests).

Implementation is complete locally and will be included in the next repository push.

## Codex State: done The final recorded extraction slice is complete in the current working tree. - Core now owns a reusable, accessible `StageRail` with shared state colors, current-step treatment, connector gradients, status copy, locking, and horizontal overflow. - Campaign Review & Send consumes the Core rail while preserving its complete/warning/danger/active/locked/running/partial/stale semantics. - Workflow instance progress consumes the same component for canonical completed/running/waiting/failed/cancelled/superseded runtime states. - Workflow already owns the generalized definition graph, node library, validation, revisions, instances, handoffs, and progress UI tracked by the preceding comments. Verification: combined Core TypeScript/Vite production build and bundle budgets pass; Workflow backend/runtime suite passes (33 tests). Implementation is complete locally and will be included in the next repository push.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-workflow#2