mix mob.regen_plugin_manifest (mob_dev v0.6.16)

Copy Markdown View Source

Regenerates priv/generated/mob_plugins.exs — the host's runtime plugin manifest — from the activated plugins' tier-3/4 manifest sections.

mix mob.regen_plugin_manifest          # regenerate the file
mix mob.regen_plugin_manifest --check  # verify on-disk matches, non-zero on drift

Tiers 3 (multi-screen) and 4 (sub-app) are pure-Elixir and runtime-wired: the on-device Mob.Plugins module reads this file at boot to learn which screens, lifecycle hooks, settings, and notification handlers the activated plugins declared (MobDev.Plugin.activated/0 is compile-time only). Spec-v2 :screens_generators run here, under the host-config audit.

Like mix mob.regen_driver_tab, the output is committed so reviewers see the runtime surface, and the file is regenerated whenever config :mob, :plugins changes. mob.doctor runs --check to report drift.