Build the agent-visible context object for the System Diagnostics dashboard.
Returns a flat key-value object of read-only diagnostic metrics + bounded
shape names only. Name lists are capped (via boundNameList) with a
companion truncation flag. Pure (no this) so the shape is unit-testable and
the test can assert no secret-bearing key can ever appear.
Build the agent-visible context object for the System Diagnostics dashboard.
Returns a flat key-value object of read-only diagnostic metrics + bounded shape names only. Name lists are capped (via boundNameList) with a companion truncation flag. Pure (no
this) so the shape is unit-testable and the test can assert no secret-bearing key can ever appear.