Skip to content

Commit 9f9e9e6

Browse files
committed
style(extensions): use yaml.safe_dump when writing catalog config
The catalog add/remove handlers wrote the integration catalog config with yaml.dump. Switch to yaml.safe_dump to align with the SafeDumper used by the presets commands and to refuse emitting !!python/object tags if a non-basic value ever reaches the config dict. Output is unchanged for the current basic-type payload (str/int/bool/dict/ list) — this is a defensive/consistency change, not a behavioral fix.
1 parent 8a10168 commit 9f9e9e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_extension_update_hardening.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def mock_download_fail(*args, **kwargs):
111111

112112
def test_extension_update_skills_backup_no_collision(project_dir, monkeypatch):
113113
"""Regression: skills agents name every command file SKILL.md (one per
114-
per-command subdir). Backup must keep the per-command path so rollback
114+
command subdirectory). Backup must keep the per-command path so rollback
115115
restores each skill's own content instead of overwriting them onto a
116116
single backup path."""
117117
monkeypatch.chdir(project_dir)

0 commit comments

Comments
 (0)