| 31 | |
| 32 | @dataclass |
| 33 | class Platform: |
| 34 | name: str |
| 35 | instruction_path: str # relative to project root |
| 36 | cli_path: str # relative to project root (where CLI gets copied) |
| 37 | state_dir: str # state directory for this platform |
| 38 | format: str # "markdown", "mdc", "append" |
| 39 | mdc_frontmatter: Optional[str] = None # for Cursor's .mdc format |
| 40 | |
| 41 | |
| 42 | PLATFORMS: dict[str, Platform] = { |