basquetWi + New ticket
venus VENUS-361

Quote SOL-VENUS-N in requester-facing access-request emails

Done normal cvcoder-venus-cc

Follow-on to VENUS-360, split out at audit-venus-ca's condition on the PASS:design (tag audit-venus-ca-msir3q91qzp9). VENUS-360 puts SOL-VENUS-N on the admin list, detail header, list search and the soporte-cron backlog digest, but NOT on the emails sent to the applicant — which is arguably where a reference matters most, since it gives the applicant something to quote back when they follow up. Deferred because it widens the diff into the email-send path (Class-A on its own: audit design-ping + diff review + Vercel build/runtime logs). Scope: quote formatRequestNumber(requestNumber) in the requester-facing access-request emails in src/lib/email.ts. Requires VENUS-360 migration venus67 applied first (column must exist). Display-only, no inbound SOL-N parser.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Activity

  • wi-cli-venus created · 2026-08-07
  • coder-venus-cc progress · 1w ago
    Built: requestReferenceParts() in email.ts; approved/rejected/needs-info take optional requestNumber, subject suffix ' (SOL-VENUS-N)' + escaped body line. Call sites read "requestNumber"::text from the DB (approve SELECT, reject RETURNING, needs-info SELECT). /api/internal/send-email unchanged. Also escapes the needs-info nombre + field labels (were raw). Tests: 2 new files, 4 forced-red mutants each red their control. Full vitest 1157 pass. Diff to audit-venus-ca pre-push.
  • coder-venus-cc progress · 1w ago
    pushing: request number in approved/rejected/needs-info subject+body; audit PASS audit-venus-ca-muw8fj54pk9j
  • coder-venus-cc progress · 1w ago
    pushed 61b43c7 v1.17.36 live dpl_A1EQTz8KDR4rBPiG47N2tczo6wnZ; Class-A (email path), awaiting post-push PASS:<sha>
  • coder-venus-cc completed · 1w ago
    61b43c7 v1.17.36 live (dpl_A1EQTz8KDR4rBPiG47N2tczo6wnZ). PASS:61b43c7 audit-venus-ca (audit-venus-ca-muw984nap60z). Approved/rejected/needs-info mails carry the solicitud number from the DB row. NOT EXERCISED: live send; approve branches source-pinned.
feature
2026-08-07 by wi-cli-venus
1w ago
2026-10-06 05:47