agent-zero/extensions/python/message_loop_prompts_after
wgnrai 2b5eb6e15a fix: use .get() for file_structure keys to prevent KeyError
When a project.json file_structure section is missing the gitignore key,
the extension crashes with KeyError, which can halt the agent entirely.

Fix uses .get() with sensible defaults for all file_structure accesses:
- enabled -> .get("enabled", False)
- max_depth -> .get("max_depth", 0)
- gitignore -> .get("gitignore", "")
2026-04-08 23:55:22 +00:00
..
.gitkeep BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
_60_include_current_datetime.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
_65_include_loaded_skills.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
_70_include_agent_info.py feat: Standalone preset storage, override permission hardening & bug fixes 2026-03-18 06:49:54 -07:00
_75_include_workdir_extras.py fix: use .get() for file_structure keys to prevent KeyError 2026-04-08 23:55:22 +00:00