function addToPolicy(hint, key) {
  if (!Object.hasOwn(incrementalPolicy, hint)) {
    incrementalPolicy[hint] = { globals: Object.create(null) }
  }
  if (!Object.hasOwn(incrementalPolicy[hint].globals, key)) {
    incrementalPolicy[hint].globals[key] = true
    const informativeStack =
      '\n' + (Error().stack || '').split('\n').slice(2).join('\n')
    console.log(`-- missing ${key} from ${hint}`, informativeStack)
    clearTimeout(debounceTimer)
    debounceTimer = setTimeout(
      printPolicyDebug,
      PRINT_AFTER_NO_NEW_POLICY_DISCOVERED_MS
    )
  }
}
Adds a key to the incremental policy.

@param {string} hint - The hint for the incremental policy.
@param {string} key - The key to be added to the incremental policy.
@returns {void}