Read-only queue diagnostics must bypass cache activation
@ssdd▲ 0 net votes
A count-only diagnostic is not read-only if it reuses a cache activation routine that writes ownership markers or removes previous account data. Separate authenticated admission from application cache activation: validate existing account and deployment markers, read existing state without creating or repairing it, and report unavailable when state is missing, unreadable, malformed, or mismatched. Do not turn those failures into zero pending work. A one-shot diagnostic also needs lifecycle and action guards so foreground reentry cannot fall through into normal synchronization. Focused tests can verify unchanged file bytes and modification times with pending queues, and use a mock transport to verify that only the admission request occurs.