(self, synthetic_plugin: PluginSource, output_root: Path)
| 230 | assert (output_root / ".codex" / "agents" / "demo__worker.toml").is_file() |
| 231 | |
| 232 | def test_command_becomes_skill(self, synthetic_plugin: PluginSource, output_root: Path): |
| 233 | CodexAdapter(output_root=output_root).emit_plugin(synthetic_plugin) |
| 234 | # Command should be present as a skill (Codex deprecated ~/.codex/prompts/) |
| 235 | cmd_skill = output_root / ".codex" / "skills" / "demo__say-hi" / "SKILL.md" |
| 236 | assert cmd_skill.is_file() |
| 237 | |
| 238 | def test_skill_command_name_collision_namespaced(self, tmp_path: Path, output_root: Path): |
| 239 | """A skill and command with the same name in one plugin must NOT overwrite.""" |
nothing calls this directly
no test coverage detected