# Legacy CLI Command Map Source command: `markitect` Successor command: `mkt` This map classifies `markitect-main` commands as migrate, reimplement, defer, or drop for `markitect-tool`. ## Command Policy `mkt` should expose composable syntax-layer operations. It should not expose database lifecycle, platform services, rendering applications, project finance, wishlist, or legacy management commands. ## Core Commands to Reimplement | Legacy command | Future `mkt` shape | Decision | | --- | --- | --- | | `ast-show` | `mkt parse --format tree/json` | Reimplement with new representation. | | `ast-query` | `mkt query ` | Reimplement; selector syntax TBD. | | `ast-stats` | `mkt inspect --stats` | Reimplement if lightweight. | | `metadata` | `mkt matter get ` or parse output field | Reimplement around matter contract. | | `frontmatter-*` | `mkt matter front ...` | Reimplement if matter editing remains in scope. | | `contentmatter-*` | `mkt matter content ...` | Reimplement only if contentmatter is formalized. | | `tailmatter-*` | `mkt matter tail ...` | Reimplement only if tailmatter is formalized. | | `schema-generate` | `mkt schema derive ` | Reimplement. | | `validate` | `mkt validate --schema ` | Reimplement. | | `schema-validate` | `mkt schema validate ` | Reimplement. | | `schema-analyze` | `mkt schema inspect ` | Defer unless needed for MVP. | | `schema-refine` | `mkt schema refine ` | Defer; only deterministic refinements. | | `generate-stub` | `mkt generate stub --schema ` | Reimplement. | | `generate-drafts` | `mkt generate drafts --schema --data ` | Reimplement later. | | `template-render` | `mkt template render