What: string::concat uses a stack-based Formatter<1024> which can overflow or truncate for very large concatenations.
Where: include/webcc/core/string.h and include/webcc/core/format.h
Proposed fix:
- Detect buffer overflow and fallback to a dynamic buffer or incremental allocation.
- Add tests for very large concatenations to validate correctness.
Acceptance criteria:
- Large concatenations do not truncate and pass tests.
- Behavior is documented in the header or docs.