Repository navigation
feat(integriq): build intake-channels-beyond-mail - #3572
Merged
rubenvdlinde merged 4 commits intoNov 17, 2026
Merged
Conversation
A handler assigns a message from the shared intake inbox to a case
(REQ-IC-021): POST /api/intake/messages/{id}/assign behind the new
intake.assign action right. The message records the case, who assigned it
and when (intake_message 1.2.0, status assigned), and the app that owns the
case is handed the message and its attachments through
IntakeMessageAssignedEvent. The inbox shows the case and who assigned it.
Assisted-by: ClaudeCode:claude-opus-5-5
rubenvdlinde
requested review from
Rem-Dam,
SudoThijn,
WilcoLouwerse,
bbrands02,
remko48 and
rjzondervan
as code owners
November 14, 2026 07:39
…p ci] Keeps both sides: the assign endpoint and the rule test / route-again endpoints in IntakeChannelsController and openapi.json, both l10n blocks, and a label and area for intake.assign in the action seed. Assisted-by: ClaudeCode:claude-opus-5-5
…p ci] Resolve conflicts with development: keep both sides' l10n keys and both sides' openapi.json paths (structural merge). IntakeAssignmentService now finds and saves the intake message through openregister main's ObjectFindOptions / ObjectSaveOptions API, as development's object service stubs require; same register, schema and uuid. Assisted-by: ClaudeCode:claude-opus-5-5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds the open code tasks of
openspec/changes/intake-channels-beyond-mail(Task 7, REQ-IC-021: a handler works a message from the shared inbox).Tasks done
POST /api/intake/messages/{id}/assign(IntakeChannelsController::assign()),#[NoAdminRequired]behind the new ADR-023 action rightintake.assign(seeded admin-only, likeintake.reply). The handler id comes from the session, never from the request; the message is read and written as the handler.IntakeAssignmentService: a held, routed or already assigned message getsstatus: assigned,targetRef(the case),assignedByandassignedAt; a message in any other state, or an assign without a case, is refused and nothing is written.IntakeMessageAssignedEvent: the app that owns the case is handed the message and its attachments and media; the answer says whether one took them in (attachmentsLinked). Integriq names no case type.intake_messageschema 1.2.0 (register 1.1.7):assignedBy,assignedAt, statusassigned; inbox columns Case and Assigned by; OpenAPI document; en/nl strings.Tasks left, and why
msg-shared-inbox,msg-reply-channel) and their Playwright test: the inbox is atype: logspage, which declares no row actions, and the app shell passes no ADR-023 action rights to the manifest, so the actions could not yet be hidden from a reader without the right (REQ-IC-021 scenario 3). Noted in tasks.md.case.intakeChannel, the portaliq form definition): not code.IntakeMessageAssignedEventbelongs to that app.Tests added
IntakeAssignmentServiceTest(6 tests): assigning, the hand-off and its attachments, nobody taking it in, no case, each refused state, unknown message.IntakeChannelsControllerAssignTest(5 tests): anonymous, missing right, the case and session user passed on, 404/400/503.IntakeBindingsTestand the registration-order fixture for the new binding.Suite
test:l10n,check:l10n-js,check:manifestOK;check:schema-l10nadds no uncovered strings.Generated by Claude Code