oficina / alta Public

mail/narrow-from

CARLOS platform mail submission, Task 9 follow-up (Paul approved 2026-11-17).

The apps now read only the From for their declared prefix: mail.FromCarlos("CARLOS") for sheets, slides, calendar, calls and memoria, and mail.FromCarlos("DOCS") for Docs. CARLOS delivers <stem>MAILFROM with stem = TrimSuffix(declared prefix, "SMTP"). Alta's PlatformKeys accepted a From under any stem in MailPrefixes, so SLIDESMAILFROM, CALENDARMAILFROM and CALLSMAIL_FROM passed step 7 although no switched binary reads them.

  • App.SubmitPrefix names the one prefix whose From the binary reads (CARLOSSMTP; Docs DOCSSMTP). Any other *MAILFROM is WrongPrefix, so the run fails mail-prefix-<app> (pre-flight, step 7 and audit).
  • SMTP is unchanged: the five are still read under MailPrefixes.
  • Mid-flip (the From and the five both present) is still admitted.
  • The write guard is unchanged: Alta never writes *MAILFROM or CARLOS_MAIL.
  • Tests: unit cases per app plus engine runs for Slides, Calendar and Calls declared under their own prefix and switched; red without the fix.
  • Fable review: no High or Medium; the Low test gaps were added.
  • make ci green; hub CI passed on f337f30.
Human

Step 7 and the audit accept a switched app's From only under the stem its binary reads (CARLOSMAILFROM; Docs DOCSMAILFROM); SLIDES/CALENDAR/CALLSMAILFROM now fail mail-prefix-<app>.

Commits 2
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity