|
|
@@ -46,7 +46,44 @@ same machinery, because there a `*` rule silently granting every mail account
|
|
|
would be a genuine escalation - sending mail as a tenant's owner is not the
|
|
|
same class of act as reading a collection.
|
|
|
|
|
|
-## Decisions that need the product owner, not me
|
|
|
+## DECISIONS TAKEN by the product owner (2026-10-08)
|
|
|
+
|
|
|
+These override the corresponding recommendations below. The agents' reasoning
|
|
|
+is left intact so the trade accepted is visible rather than erased.
|
|
|
+
|
|
|
+1. **VENDOR libcurl from git at the latest stable (8.22.0).** Chosen over
|
|
|
+ linking Debian's 8.14.1, and against Part 2's recommendation. The reasons
|
|
|
+ given are ones the agent did not weigh: a vendored build can be CONFIGURED
|
|
|
+ - drop what we do not need, and enable what we DO need but the distro
|
|
|
+ package omits - and it keeps the door open to other operating systems,
|
|
|
+ which is not planned but is cheap to preserve. Measured for the record:
|
|
|
+ trixie ships 8.14.1 WITH sftp/imap/smtp/pop3/ftps, so vendoring is a
|
|
|
+ choice rather than a necessity.
|
|
|
+ **The obligation accepted with it:** we become the CVE owner for curl, and
|
|
|
+ a static build is invisible to `apt` on a customer box. CLAUDE.md already
|
|
|
+ mandates periodic review of the cpp-httplib pin for this reason; curl needs
|
|
|
+ the same discipline on a larger surface, and the pin comment must say so.
|
|
|
+2. **IN-PROCESS in the runner, and SFTP IS DROPPED.** Chosen over the separate
|
|
|
+ `netd` helper. Dropping SFTP is what makes this defensible: libssh2 was the
|
|
|
+ outlier risk, and Part 3's fallback position was explicitly "no SFTP
|
|
|
+ in-process". Since SFTP is out, build curl without it. The kernel-enforced
|
|
|
+ `IPAddressDeny` that only a separate unit could carry is therefore NOT
|
|
|
+ available, so the egress guard in our own code is the only line of defence
|
|
|
+ and must be treated accordingly.
|
|
|
+3. **Slice 1 is IMAP + SMTP.** POP3 is not wanted. But the surface must ALSO
|
|
|
+ provide helpers for WebDAV, CalDAV and ordinary HTTP-family protocols -
|
|
|
+ the explicit goal being to minimise tenant JavaScript and keep it
|
|
|
+ maintainable. That is a wider mandate than "mail first" and it resolves one
|
|
|
+ apparent conflict in Part 2: a `ctx.dav` built over our EXISTING HTTP
|
|
|
+ client needs no HTTP support in curl at all, so curl can still be built
|
|
|
+ with HTTP disabled while DAV helpers are delivered on top of `ctx.fetch`,
|
|
|
+ whose PROPFIND/REPORT capability is already verified on the wire. Design
|
|
|
+ the DAV helpers that way unless something concrete argues otherwise.
|
|
|
+4. **0.8.2 is committed but not deployed.** Batched with the export route for
|
|
|
+ one later window, rather than a second outage in a week for changes no
|
|
|
+ consumer is waiting on.
|
|
|
+
|
|
|
+## Decisions that needed the product owner (now answered above)
|
|
|
|
|
|
1. **Vendor libcurl, or link Debian's?** The instruction was to vendor from
|
|
|
curl's git at the latest stable. Part 2 recommends AGAINST it and the
|