- Remove KCL ecosystem (~220 files deleted) - Migrate all infrastructure to Nickel schema system - Consolidate documentation: legacy docs → provisioning/docs/src/ - Add CI/CD workflows (.github/) and Rust build config (.cargo/) - Update core system for Nickel schema parsing - Update README.md and CHANGES.md for v5.0.0 release - Fix pre-commit hooks: end-of-file, trailing-whitespace - Breaking changes: KCL workspaces require migration - Migration bridge available in docs/src/development/
34 lines
925 B
Plaintext
34 lines
925 B
Plaintext
# Commands Contracts - Type definitions for command metadata schemas
|
|
# NO Array constraints - use bare fields for arrays
|
|
# NO circular imports
|
|
|
|
{
|
|
CommandRequirements = {
|
|
interactive | Bool,
|
|
requires_auth | Bool,
|
|
auth_type | [| 'none, 'jwt, 'mfa, 'cedar |],
|
|
requires_workspace | Bool,
|
|
side_effects | Bool,
|
|
side_effect_type | [| 'none, 'create, 'update, 'delete, 'deploy |],
|
|
requires_confirmation | Bool,
|
|
min_permission | [| 'read, 'write, 'admin, 'superadmin |],
|
|
slow_operation | Bool,
|
|
rust_optimizable | Bool,
|
|
},
|
|
|
|
CommandMetadata = {
|
|
name | String,
|
|
domain | [| 'infrastructure, 'orchestration, 'workspace, 'configuration, 'authentication, 'platform, 'utilities, 'development |],
|
|
description | String,
|
|
aliases,
|
|
requirements,
|
|
form_path | String | optional,
|
|
estimated_time | Number,
|
|
},
|
|
|
|
CommandRegistry = {
|
|
version | String,
|
|
commands,
|
|
},
|
|
}
|