Expand description
Wave E4 P2 operations & API/Web extensions per
.spec/sot/serve-operations.sot.md and .spec/sot/rest-api-standards.sot.md:
- O-11: Native SMTP email notification client from
arks serve(ARKS_SMTP_HOST). - O-12: Actions external container-runner typed config (default disabled; zero
unsafe). - O-13: Mirror records, audit retention pruning, RFC 5424 syslog formatter.
- P-8:
Idempotency-Keyreplay cache, CORS allowlist (ARKS_CORS_ORIGINS), minimal i18n catalog (en/de) +<time datetime>helper, Atom feed builder.
Structs§
Functions§
- apply_
cors_ allowlist - Check
Originagainst an exact CORS allowlist (ARKS_CORS_ORIGINS, comma-separated). Never reflects*with credentials; always attachesVary: Origin. - format_
syslog_ rfc5424 - Format an audit event as an RFC 5424 syslog line (
<PRI>1 TS HOST APP PID MSGID - MSG). - lookup_
idempotency - Look up a cached response for
Idempotency-Keyon mutating POST requests (24h TTL). - prune_
audit_ log - Prune audit log entries older than
retention_days(0 = retain forever). - render_
atom_ feed - Build an RFC 4287 Atom 1.0 XML feed for releases or issues.
- render_
time_ el - Render a semantic HTML5
<time datetime="...">element. - send_
smtp_ email - Send a plain-text notification email via minimal RFC 5321 SMTP (
HELO/MAIL/RCPT/DATA/QUIT). - store_
idempotency - Store a response for
Idempotency-Key(24h TTL). - t_label
- Minimal i18n UI catalog (
endefault,desample) + semantic<time datetime="...">helper.