|
16 | 16 |
|
17 | 17 |
|
18 | 18 | def _export_evolution(args, result, output_dir: Path): |
19 | | - """Export evolution.yaml format (plain text TOON).""" |
| 19 | + """Export evolution.toon.yaml format (plain text TOON).""" |
20 | 20 | if 'evolution' not in [f.strip() for f in args.format.split(',')] and 'all' not in [f.strip() for f in args.format.split(',')]: |
21 | 21 | return |
22 | 22 | exporter = EvolutionExporter() |
23 | | - filepath = output_dir / 'evolution.yaml' |
| 23 | + filepath = output_dir / 'evolution.toon.yaml' |
24 | 24 | exporter.export(result, str(filepath)) |
25 | 25 | if args.verbose: |
26 | 26 | print(f" - EVOLUTION (refactoring queue): {filepath}") |
@@ -100,16 +100,16 @@ def _run_report(args, project_yaml_path: str, output_dir: Path) -> None: |
100 | 100 | def _export_simple_formats(args, result, output_dir: Path, formats): |
101 | 101 | """Export toon, map, flow, context, yaml, json, project-yaml formats.""" |
102 | 102 | format_map = { |
103 | | - 'toon': (ToonExporter, 'toon.yaml', 'TOON (diagnostics)'), |
104 | | - 'map': (MapExporter, 'map.yaml', 'MAP (structure)'), |
105 | | - 'flow': (FlowExporter, 'flow.yaml', 'FLOW (data-flow)'), |
| 103 | + 'toon': (ToonExporter, 'toon.toon.yaml', 'TOON (diagnostics)'), |
| 104 | + 'map': (MapExporter, 'map.toon.yaml', 'MAP (structure)'), |
| 105 | + 'flow': (FlowExporter, 'flow.toon.yaml', 'FLOW (data-flow)'), |
106 | 106 | 'context': (ContextExporter, 'context.md', 'CONTEXT (LLM narrative)'), |
107 | 107 | } |
108 | 108 |
|
109 | 109 | for fmt, (exporter_cls, filename, label) in format_map.items(): |
110 | 110 | if fmt in formats: |
111 | 111 | exporter = exporter_cls() |
112 | | - # Export as plain text TOON format but with .yaml extension |
| 112 | + # Export as plain text TOON format with .toon.yaml extension |
113 | 113 | filepath = output_dir / filename |
114 | 114 | exporter.export(result, str(filepath)) |
115 | 115 | if args.verbose: |
|
0 commit comments