286e723db8
Why: build_auto_load_prompt read config via ambient load_config_readonly() and looked skills up under the ambient SKILLS_DIR. Gateway bot threads lose the HERMES_HOME ContextVar, so a bot profile's pinned skills came from the launch profile — the docs promise profile scoping. _auto_load_parts now passes home_override=_agent_home(agent) and build_auto_load_prompt binds it for config, disabled-list and <home>/skills lookup, the same seam _skills_prompt uses via skills_dir_override. _auto_load_parts was unconditional and injected pinned SKILL.md bytes into delegate children, curator/background_review forks and gateway hygiene agents; it now mirrors _skills_prompt's gate (nothing without the skills toolset) and returns [] when skip_context_files is set. cli.py's HERMES_IGNORE_RULES check used == "1" while system_prompt used is_truthy_value; both use is_truthy_value now. Tests stay at 4: the build test asserts the home-scoped resolution, the ignore-rules test also covers the subagent / no-skills-toolset gates.