fix(chapter-18): bound JSON bodies and log process failures
Chapter: 18 - Operational guardrails. Plain-English map: Reduce the accepted JSON body size and add handlers that log unhandled promise rejections and uncaught exceptions. Why it matters: Large request bodies can create memory pressure. Unexpected crashes should leave useful logs so operators can understand what happened. Principle: Bound inputs and surface failures clearly. Precedent borrowed: The fork report's security-hardening cluster, where many forks added basic abuse and reliability guardrails. Upstream base: willchen96/mike@d39f580. Original local commit: d70fde7.
| Repository | amal66/mike |
|---|---|
| Author | Amal <mamalanand3@gmail.com> |
| Authored | |
| Parents | f38ea30d |
| Stats | 1 file changed , +23 , -1 |
| Part of | Input bounds and resource limits |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-8664afc9.md
from inside the repo you want the change in.