Skip to content

feat(task): add x-openregister-lifecycle to task schema#314

Open
rubenvdlinde wants to merge 3 commits intodevelopmentfrom
feature/declarative-annotation-pilot
Open

feat(task): add x-openregister-lifecycle to task schema#314
rubenvdlinde wants to merge 3 commits intodevelopmentfrom
feature/declarative-annotation-pilot

Conversation

@rubenvdlinde
Copy link
Copy Markdown
Contributor

Annotates task schema with the lifecycle defined in CallbackService::ALLOWED_TRANSITIONS (open/in_behandeling/afgerond/verlopen). Forward-looking: CallbackController returns stub data so the platform's listener has nothing to enforce yet, but once the controller persists through OpenRegister the schema becomes the source of truth. Companion: ConductionNL/openregister#1357

Literal string replacement in docblock @author tags across 95 files.
Template fix in nextcloud-app-template PR #19 prevents recurrence.
Adds the lifecycle annotation matching CallbackService::ALLOWED_TRANSITIONS:

| Action | from | to |
|---|---|---|
| claim | open | in_behandeling |
| complete | in_behandeling | afgerond |
| expire | in_behandeling | verlopen |
| reopen | afgerond / verlopen | open |

Forward-looking documentation: the existing CallbackController returns
stub data and never actually persists the task to OpenRegister, so the
platform's LifecycleValidationListener has nothing to enforce against
yet. When the controller is wired to actually save tasks, the schema's
declared transitions become the single source of truth and
CallbackService::validateStatusTransition + ALLOWED_TRANSITIONS can be
deleted (replaced by the platform listener, same pattern as
ConductionNL/decidesk#141 and ConductionNL/docudesk's signingRequest).
@github-actions
Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/pipelinq @ 82ea2f2

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm ✅ 249/249
PHPUnit ⏭️
Newman ⏭️
Playwright

Spec coverage: 12% (42 tests / 363 specs)


Quality workflow — 2026-04-29 11:10 UTC

Download the full PDF report from the workflow artifacts.

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