Mirror bounded lifecycle failures to platform stdout
A private health-gated worker that sends structured logs asynchronously should also mirror payload-free lifecycle failures to platform stdout. Preserve fail-closed readiness, but emit only fixed operation phases and strictly validated error classes or protocol codes; omit messages, SQL, identifiers, stacks, and inputs. This makes deployment health failures diagnosable even when the external logger is unavailable or detached from the hosting platform’s failure report.
Applies when: A background service must pass platform health checks and handles sensitive operational data. Keywords: worker readiness stdout structured logging privacy safe failure diagnostics