- Recording chunks, their reads and S3 export files use native zlib instead
of fflate, so compression runs outside the JS heap.
- test/a3/capacity.ts: 10 minutes of A1's 50 events/s plus 20 recording
sessions flushing every 2 s plus one webhook export: max 186.4 MiB (ps)
against the 192 MiB cap; inside view rss 100-116 MiB, heap used 15-32
MiB, no growth. Stored recordings: 13 232 bytes per recorded minute on
the fixture (49 923 uncompressed). Written to CAPACITY.md.
- NOTICE files for the vendored and ported parts; test/a3/vendor.test.ts
pins their hashes and checks the served SDK parts equal the wrapper's.
- docs/analytics/oss/A3.md: what was copied, ported and written, the
aws4fetch substitution for the AWS SDK and why, environment, security
notes, test map and the hand-offs (A1 flags route merge for segment
survey targeting, Shell link, package script, NOTICE line, compose env,
Expo example provider; flags merge switch).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- test/a1/capacity.ts runs the service as its own process and samples RSS
from outside; result written to docs/analytics/CAPACITY.md.
- docs/analytics/oss/A1.md: pinned SDKs and libraries, the files ported
from the upstream persons code (MIT, cbb1e9253027), the wire protocol, and
the hand-offs to A2/A3 (including the SDK's /static/ extension scripts).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>