kernl API
    Preparing search index...

    Function describeMitigations

    • Describe every mitigation between an applet and the user, in plain language.

      The list is what the grants panel renders (D-003). Titles and summaries avoid protocol vocabulary: they say network, applet and account. Every mitigation is enabled in every profile; only the limit text changes. Each summary claims only what is enforced where D-020 places it. kernl decides each request before the runtime handles it: a burst above the per-second rate, a request over the smaller unfocused budget and an oversized request are described as refused, and a hidden applet's requests as held until it is visible. Quarantine closes the applet before the request that crossed the limit is handled, so that request is described as dropped.

      Parameters

      • config: GuardConfig

        The guard configuration whose limits appear in the text.

      Returns readonly MitigationDescription[]

      One description per mitigation, in the order the UI shows them.

      const list = describeMitigations(createGuardConfig('strict'));
      list.find((m) => m.id === 'ingress-flood')?.limit; // '8 messages per second, 300 per 10s'