What happened
The new ORISO notification composer could render four email designs, but the current producers did not supply their real request facts. A later sender cutover would therefore reject otherwise valid notifications or tempt a placeholder value.
What this changes
New, direct and assigned enquiry notifications now carry the actual tenant, topic, receipt time and postcode data from their Session. The daily digest carries its real count, oldest request age and UTC generation time. Digest recipients and enquiries are checked against the agency tenant, and a tenant URL is resolved from that tenant's configuration. Missing facts are omitted so the composer can reject them explicitly at cutover; no dash or URL is invented. The existing MailService sender remains in place in this slice.
How to test
- Run the five focused producer and replica test suites: 47 passed.
- Merge current
dev and run the full Java 21 unit suite: 5,113 passed, 0 failures, 0 errors, 0 skipped; all 102 Python CI contracts passed. The one English DPA HTML conflict resolves to the exact Frontend Let participating organisations find each other in Internal Chat #1578 generated artifact.
- Review tenant URL and mixed-tenant digest cases in CI.
- After the separate sender cutover merges and deploys, verify real Dev delivery, rendered facts and tenant isolation.
Still open
All 12 current-head GitHub checks are green. Human review, sender cutover, merged dependencies and deployed Dev receipts remain open. This PR does not establish live delivery.
For developers — branch and dependency details:
Base: dev
Head: 12dd28ba8 (current dev merged; one canonical DPA template conflict resolved)
Stack: #1289 (render-only composer) -> #1291 (seven locales) -> this PR.
Related issue: #1288
Other delivery dependencies: UserService #1273/#1283/#1267, TenantService #278/#280, Helm routing, Frontend #1568.
Producer tests: NotificationRequestFactsTest, EmailNotificationFacadeTest, AssignSessionFacadeTest, EnquiryNotificationServiceTest, EnquiryNotificationServiceReplicaTest.
Command: JAVA_HOME=$(/usr/libexec/java_home -v 21) PATH="$(/usr/libexec/java_home -v 21)/bin:$PATH" ./mvnw -q test
Conflict repair — 1 October 2026
GitHub reported a stale conflict even though the current Git merge was clean. The branch now contains the current dev source with no remaining file difference. Its earlier work remains in Git history.
Fixed: the branch is synchronized without restoring old SMTP, URL, branding or resource behavior.
Still open: this is historical work already integrated into the current source, not an extra release package. Human disposition of this open PR and Dev acceptance remain separate.
For developers — conflict repair and local evidence:
Commit: 697ad677d88d490c253502c225f04ac8514264b9
Parents: 12dd28ba8fa9affa5aea260ace64ebdab664d300 + 56137a92630d7081047c4e780be43dfcfc3e876e
Tested/reviewed tree: fff35ef4db0d426abe1c47a9f165110d85ea7112
Whole candidate tree equals fetched dev 56137a92630d7081047c4e780be43dfcfc3e876e.
Root independently verified tree/empty source delta/parents; git diff check passed.
No additional Maven run for a byte-identical historical tree.
Independent source review: PASS. Normal push; no force-push or GitHub merge.
Fresh CI, human review, merge, deployment and received mail are separate gates.