Build the agent-visible context object for the Credentials dashboard.
Returns a flat key-value object of NON-SENSITIVE metadata only: active tab, its
label, aggregate counts, the loading flag, and BOUNDED credential-type +
category definition names (capped via boundNameList with a companion
truncation flag). Keeping this a pure function (no this) makes the context
shape unit-testable and lets the test assert that no secret-bearing key can
ever appear.
Build the agent-visible context object for the Credentials dashboard.
Returns a flat key-value object of NON-SENSITIVE metadata only: active tab, its label, aggregate counts, the loading flag, and BOUNDED credential-type + category definition names (capped via boundNameList with a companion truncation flag). Keeping this a pure function (no
this) makes the context shape unit-testable and lets the test assert that no secret-bearing key can ever appear.