Paladium Bot v100.3.78 — Test Report
====================================

Feature: manual/file caption placeholder in folder default caption.

Behavior:
- Canonical placeholder: {FILE_CAPTION}
- When {FILE_CAPTION} appears in the effective folder default caption, the manual caption written by a member or manager is inserted exactly at the placeholder position.
- The manual caption is not duplicated separately once the placeholder is consumed.
- When no folder default caption is configured, the manual caption continues to be used automatically.
- Rich1/custom_emoji entities and custom_emoji_id values of both template and manual caption are preserved during replacement.
- Multiple {FILE_CAPTION} placeholders are supported.
- Empty manual caption removes the placeholder rather than sending the literal token to Telegram.
- Folder caption UI documents the placeholder and fallback behavior.
- Publication builder and preview paths were updated to prevent duplicate manual captions.

Validation:
- PHP syntax lint: PASS — all PHP files in package, 0 errors.
- Focused Rich1 placeholder replacement: PASS.
- Custom Emoji ID preservation: PASS.
- Multiple-placeholder replacement: PASS.
- Empty-replacement behavior: PASS.
- Source/version regression checks: PASS.
- ZIP integrity: PASS.

Production limitation:
- Live Telegram/cPanel production delivery was not executable in this environment.
- Local PHP runtime lacks mbstring; the focused Rich test used an isolated UTF-8 polyfill only for the test process. The project itself was not modified to add the polyfill.
