CLI and API polish

This commit is contained in:
2026-05-04 21:56:19 +02:00
parent 6744cc66e9
commit 539bb9b754
15 changed files with 2401 additions and 2 deletions

View File

@@ -187,6 +187,18 @@ Extension registries are optimized for common lookup patterns:
Kinds and capabilities are indexed at registration time, so large registries can
avoid repeated full scans for basic discovery.
The same registry is exposed on the CLI for practical discovery:
```bash
mkt extension list
mkt extension inspect memory.context-package
mkt extension commands
```
This makes the extension catalog part of the user-visible contract. When a
capability gains a CLI command, the descriptor should declare that command so
generated docs and audits can compare intent with the live surface.
### Execution Lifecycle
`ExtensionExecutor` wraps a descriptor factory with deterministic lifecycle