[Feature] Add scoped Dataflow templates, inheritance, derivation, and reuse provenance #12

Open
opened 2026-07-28 14:02:58 +02:00 by zemion · 1 comment
Owner

Parent: #1

Make Dataflow definitions reusable across governance scopes without losing ownership, immutability, or explainability.

Acceptance criteria:

  • definitions carry system/tenant/group/user scope, flow/template kind, inheritance, run, and reuse grants
  • inherited definitions are visible read-only and every disabled edit/run/reuse action explains the source policy
  • templates are never runnable; they can create a local definition pinned to an immutable source revision
  • reusable complete flows can be derived or referenced only when Policy permits it
  • derived definitions retain source definition, revision, hash, actor, policy decision, and update-available provenance
  • parent changes never silently mutate an active child; rebase/update is explicit and reviewable
  • system and tenant libraries are usable from the graphical editor and API
  • cycles across nested flow references and incompatible input/output contracts are rejected
Parent: https://git.add-ideas.de/GovOPlaN/govoplan-dataflow/issues/1 Make Dataflow definitions reusable across governance scopes without losing ownership, immutability, or explainability. Acceptance criteria: - definitions carry system/tenant/group/user scope, flow/template kind, inheritance, run, and reuse grants - inherited definitions are visible read-only and every disabled edit/run/reuse action explains the source policy - templates are never runnable; they can create a local definition pinned to an immutable source revision - reusable complete flows can be derived or referenced only when Policy permits it - derived definitions retain source definition, revision, hash, actor, policy decision, and update-available provenance - parent changes never silently mutate an active child; rebase/update is explicit and reviewable - system and tenant libraries are usable from the graphical editor and API - cycles across nested flow references and incompatible input/output contracts are rejected
Author
Owner

Governed reusable definitions implemented in govoplan-core@26ae034, govoplan-policy@d6e09fb, and govoplan-dataflow@08ddc8d.

Completed:

  • system/tenant/group/user scope and flow/template kind
  • inheritance, run, reuse, and automation limits with explainable action decisions
  • inherited read-only UI and disabled-action reasons
  • templates cannot execute or receive active automation
  • pinned-copy derivation records source ID/revision/hash/scope, actor, Policy decision, and effective limits
  • ancestor ceilings survive edits and multiple derivation generations
  • system and tenant definitions appear in the API/editor library
  • parent edits never silently mutate a child

Remaining before closure:

  • update-available detection and explicit reviewed rebase
  • reference-based nested flow composition, typed input/output contracts, and cycle rejection

Verification: 35 Dataflow tests plus WebUI and migration checks pass.

Governed reusable definitions implemented in govoplan-core@26ae034, govoplan-policy@d6e09fb, and govoplan-dataflow@08ddc8d. Completed: - system/tenant/group/user scope and flow/template kind - inheritance, run, reuse, and automation limits with explainable action decisions - inherited read-only UI and disabled-action reasons - templates cannot execute or receive active automation - pinned-copy derivation records source ID/revision/hash/scope, actor, Policy decision, and effective limits - ancestor ceilings survive edits and multiple derivation generations - system and tenant definitions appear in the API/editor library - parent edits never silently mutate a child Remaining before closure: - update-available detection and explicit reviewed rebase - reference-based nested flow composition, typed input/output contracts, and cycle rejection Verification: 35 Dataflow tests plus WebUI and migration checks pass.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-dataflow#12
No description provided.