{"version":"2.1.332","anchor":"mods-startup-phases-added-to-timing-marks","canonical_anchor":"mods-startup-phases-added-to-timing-marks","heading":"Startup now measures the mods registration, hook loading and session start phases","tier":"internal","area":"Startup","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/mods-startup-phases-added-to-timing-marks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Startup now measures the mods registration, hook loading and session start phases\n\nStartup timing gains mods_register, mods_hooks_load and mods_session_start phases, with a check after plugin hooks finish loading\n\n**What**\n\nClaude Code records timing marks while it starts, to see how long each step takes. It now tracks the mods runtime, the part that loads plugins and their hooks. Hooks are scripts plugins run at set moments.\n\n- Three new phases each have a start and an end mark: `mods_register`, `mods_hooks_load` and `mods_session_start`.\n\n- Startup now sets `hookRegistrationOwed` first. It then wraps the plugin hook load in a `mods_hooks_load` check that runs once loading is done. Before, `hookRegistrationOwed` was set inside the same expression and there was no check after loading.\n\n**Why**\n\nThe mods and plugin runtime is now a measured part of startup. The change touches the path that loads plugin hooks, so a startup problem involving plugins could show up here.\n\n- Area: Startup\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}