[Feature] Orchestrate resumable Campaign work hand-offs #11

Closed
opened 2026-07-31 01:22:06 +02:00 by zemion · 3 comments
Owner

Split from Campaign #24. Workflow owns orchestration; Campaign exposes typed actions, state, and events through optional capabilities.

Outcome

Support a resumable hand-off in which a workflow guides a user into the required Campaign surface, waits for an authorized outcome, and continues without polling or direct module imports.

Acceptance criteria

  • A Campaign adapter can create/reference a campaign, activate a bounded View/UI step, wait for declared Campaign events, and capture the resulting immutable reference.
  • Human steps distinguish assignment, acceptance, completion, rejection, timeout, cancellation, and reassignment.
  • Correlation, idempotency, authorization, actor provenance, expected revision, and retry behavior survive process restarts.
  • Leaving and returning to the focused UI preserves workflow position and explains unavailable Campaign, Views, Tasks, or Notifications capabilities.
  • Workflow never bypasses Campaign permissions or treats navigation as successful completion.
  • Conformance fixtures cover success, stale revision, revoked access, timeout, duplicate event, and optional-module absence.
> Split from [Campaign #24](https://git.add-ideas.de/GovOPlaN/govoplan-campaign/issues/24). Workflow owns orchestration; Campaign exposes typed actions, state, and events through optional capabilities. ## Outcome Support a resumable hand-off in which a workflow guides a user into the required Campaign surface, waits for an authorized outcome, and continues without polling or direct module imports. ## Acceptance criteria - A Campaign adapter can create/reference a campaign, activate a bounded View/UI step, wait for declared Campaign events, and capture the resulting immutable reference. - Human steps distinguish assignment, acceptance, completion, rejection, timeout, cancellation, and reassignment. - Correlation, idempotency, authorization, actor provenance, expected revision, and retry behavior survive process restarts. - Leaving and returning to the focused UI preserves workflow position and explains unavailable Campaign, Views, Tasks, or Notifications capabilities. - Workflow never bypasses Campaign permissions or treats navigation as successful completion. - Conformance fixtures cover success, stale revision, revoked access, timeout, duplicate event, and optional-module absence.
Author
Owner

This is the resumable hand-off slice split from Campaign #24.

<!-- codex-routing-2026-07-31:campaign-24-handoff --> This is the resumable hand-off slice split from [Campaign #24](https://git.add-ideas.de/GovOPlaN/govoplan-campaign/issues/24).
zemion added
status
in-progress
and removed
status
ready
labels 2026-08-22 01:34:49 +02:00
Author
Owner

Implementation started. This slice will build the resumable Workflow-owned Campaign hand-off against the typed Campaign work/event capabilities, including durable correlation/idempotency/revision state, focused navigation, explicit outcome semantics, optional-capability diagnostics, conformance fixtures, and manifest-driven user/admin documentation.

Implementation started. This slice will build the resumable Workflow-owned Campaign hand-off against the typed Campaign work/event capabilities, including durable correlation/idempotency/revision state, focused navigation, explicit outcome semantics, optional-capability diagnostics, conformance fixtures, and manifest-driven user/admin documentation.
Author
Owner

Implemented and released the resumable Campaign work hand-off slice.

Published:

  • Core a9035c4 / v0.1.28 — typed Campaign work orchestration capability and provider contract.
  • Campaign 1bd24f9 / v0.1.23 — idempotent create/reference provider, accountable assignment state machine, audit/provenance, focused work UI, reusable workflow definition, documentation, and migration.
  • Workflow Engine b0a9dc9 / v0.1.19 — durable external hand-off node, BPMN round-trip, duplicate-safe event correlation, restart/timeout/cancellation behavior, and current authorization/provider/revision rechecks.
  • Workflow 8e5415d / v0.1.20 — focused run-dialog affordances and safe missing-capability behavior.
  • Workspace 6287148 — synchronized release composition.

Verification:

  • Full Campaign suite: 444 passed, 26 subtests.
  • Full Workflow Engine suite: 81 passed, 12 subtests.
  • Full Workflow editor suite: 53 passed, 6 subtests.
  • Core contract tests: 14 passed.
  • Full cross-workspace focused gate passed, including manifest/architecture/dependency checks, unique and smoke-tested migrations, optional-module compositions, UI conformance/accessibility, and Campaign work UI checks.

The acceptance paths now cover successful completion, stale/revoked authorization and revision checks, timeout/cancellation, duplicate delivery, and optional-provider absence without bypassing module boundaries or permissions.

Implemented and released the resumable Campaign work hand-off slice. Published: - Core a9035c4 / v0.1.28 — typed Campaign work orchestration capability and provider contract. - Campaign 1bd24f9 / v0.1.23 — idempotent create/reference provider, accountable assignment state machine, audit/provenance, focused work UI, reusable workflow definition, documentation, and migration. - Workflow Engine b0a9dc9 / v0.1.19 — durable external hand-off node, BPMN round-trip, duplicate-safe event correlation, restart/timeout/cancellation behavior, and current authorization/provider/revision rechecks. - Workflow 8e5415d / v0.1.20 — focused run-dialog affordances and safe missing-capability behavior. - Workspace 6287148 — synchronized release composition. Verification: - Full Campaign suite: 444 passed, 26 subtests. - Full Workflow Engine suite: 81 passed, 12 subtests. - Full Workflow editor suite: 53 passed, 6 subtests. - Core contract tests: 14 passed. - Full cross-workspace focused gate passed, including manifest/architecture/dependency checks, unique and smoke-tested migrations, optional-module compositions, UI conformance/accessibility, and Campaign work UI checks. The acceptance paths now cover successful completion, stale/revoked authorization and revision checks, timeout/cancellation, duplicate delivery, and optional-provider absence without bypassing module boundaries or permissions.
zemion removed the
status
in-progress
label 2026-08-22 02:40:38 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-workflow#11