Skip to content

Plaintext Problem Report Contract

Date: 2026-06-25 Status: Accepted for the first paid pilot. Roadmap item: EP9-T2.

Decision

Problem reports are plain text. Since the removal of end-to-end encryption (2026-11-08) there is no encrypted variant and no PROBLEM_REPORTS_REQUIRE_ENCRYPTED_CONTENT setting; the message is required (database check chk_problem_reports_content_present).

Contract

Mobile submits:

  • topic
  • plaintext message
  • optional photoAssetId after a private photo upload

Backend accepts plaintext reports by default, trims the description, stores the report as OPEN, and returns the plaintext message in the reporter response.

Evidence

  • Backend config: application.yml.
  • Backend focused test: ProblemReportsIntegrationTest.
  • authenticatedUserCanSubmitPlaintextProblemReportByDefault
  • Mobile focused test: useSubmitReportProblem.
  • submits topic and plaintext message without screenshot;
  • uploads screenshot first, then submits photoAssetId.
  • Live integration mobile pipeline 2629177853 passed:
  • app_test job 15034288293
  • e2e_test job 15034288295
  • The real E2E spec support-problem-report.real.spec.ts covers owner plaintext report submission with screenshot and tenant plaintext report submission without screenshot.

Remaining Boundary

This closes the EP9-T2 plaintext contract gate. The broader maintenance/repair copy audit is closed in Maintenance promise audit.