|
|
@@ -13,11 +13,22 @@ from production_build_agents.run.layout import (
|
|
|
plan_json_path,
|
|
|
plan_mermaid_path,
|
|
|
preprocess_report_path,
|
|
|
+ final_production_delivery_path,
|
|
|
+ production_assembly_delivery_path,
|
|
|
+ production_assembly_package_path,
|
|
|
production_brief_path,
|
|
|
+ production_media_inspection_path,
|
|
|
+ production_package_path,
|
|
|
+ production_preflight_report_path,
|
|
|
+ production_run_summary_path,
|
|
|
+ production_tool_output_dir,
|
|
|
+ production_validation_report_path,
|
|
|
+ production_validator_candidate_path,
|
|
|
run_lock_path,
|
|
|
run_directory,
|
|
|
run_metrics_path,
|
|
|
run_summary_path,
|
|
|
+ shared_visual_anchor_path,
|
|
|
stage_candidate_path,
|
|
|
stage_validation_report_path,
|
|
|
stage_validator_tool_output_dir,
|
|
|
@@ -111,6 +122,53 @@ class RunLayoutTest(unittest.TestCase):
|
|
|
root / "tool_operations" / f"{filename}.json",
|
|
|
)
|
|
|
|
|
|
+ def test_production_v05_paths_are_isolated(self) -> None:
|
|
|
+ root = Path("/tmp/production-run")
|
|
|
+ self.assertEqual(
|
|
|
+ production_package_path(root),
|
|
|
+ root / "production_package.json",
|
|
|
+ )
|
|
|
+ self.assertEqual(
|
|
|
+ shared_visual_anchor_path(root, ".png"),
|
|
|
+ root / "production_inputs" / "shared_visual_anchor.png",
|
|
|
+ )
|
|
|
+ self.assertEqual(
|
|
|
+ production_assembly_package_path(root),
|
|
|
+ root / "production_assembly_package.json",
|
|
|
+ )
|
|
|
+ self.assertEqual(
|
|
|
+ production_assembly_delivery_path(root),
|
|
|
+ root / "production_assembly_delivery.json",
|
|
|
+ )
|
|
|
+ self.assertEqual(
|
|
|
+ production_media_inspection_path(root),
|
|
|
+ root / "production_media_inspection.json",
|
|
|
+ )
|
|
|
+ self.assertEqual(
|
|
|
+ production_preflight_report_path(root),
|
|
|
+ root / "production_preflight_report.json",
|
|
|
+ )
|
|
|
+ self.assertEqual(
|
|
|
+ production_validator_candidate_path(root),
|
|
|
+ root / "production_validator_candidate.json",
|
|
|
+ )
|
|
|
+ self.assertEqual(
|
|
|
+ production_validation_report_path(root),
|
|
|
+ root / "production_validation_report.json",
|
|
|
+ )
|
|
|
+ self.assertEqual(
|
|
|
+ final_production_delivery_path(root),
|
|
|
+ root / "final_production_delivery.json",
|
|
|
+ )
|
|
|
+ self.assertEqual(
|
|
|
+ production_run_summary_path(root),
|
|
|
+ root / "production_run_summary.json",
|
|
|
+ )
|
|
|
+ self.assertEqual(
|
|
|
+ production_tool_output_dir(root),
|
|
|
+ root / "production_tool_outputs",
|
|
|
+ )
|
|
|
+
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
unittest.main()
|