Skip to main content

Module overlay

Module overlay 

Source
Expand description

Plugin tighten-only config overlay merge.

Scans every <plugin>/.plugin.toml under the plugins directory, resolves the union / intersection / max of the safelisted overlay keys, and mutates a Config in place.

§Invariants

  • tools.shell.blocked_commands grows monotonically (union across all plugins).
  • tools.shell.allowed_commands never grows beyond the base — an empty base stays empty (plugins cannot re-enable DEFAULT_BLOCKED commands). A non-empty base is narrowed to the intersection with every plugin’s list.
  • skills.disambiguation_threshold only rises (max across all plugins).

Structs§

ResolvedOverlay
Summary of the overlay applied to a Config by apply_plugin_config_overlays.

Functions§

apply_plugin_config_overlays
Apply tighten-only config overlays from every installed plugin to config.