Platform Reference
This section documents the internal layers of the strata CLI.
What’s Here
Document |
Contents |
|---|---|
Full CLI command reference — every command group, option, and exit code |
|
End-to-end DevOps workflow guide (init → validate → build → deploy) |
|
Persistent CLI defaults via env vars or workspace config |
|
Multi-repository structure and deployment workflow overview |
|
Exit code definitions and per-command usage table |
|
Pydantic v2 model schema, field constraints, and validation phases |
|
Service layer — BaseService, load/cache lifecycle, two-phase validation |
|
ConfigurationService — load order, repo map, merge strategy |
|
Integration layer — factory, singleton lifecycle, subprocess wrapping |
|
SBOM plugin API — |
|
Build pipeline — PlatformBuilder, TerraformBuilder, artifact output |
|
Deploy pipeline — deployer table, step constants, execution order |
|
Validation pipeline — BaseValidator, PlatformValidator |
|
Policy engine — built-in policy types, configuration, evaluation phases |
|
Lifecycle hooks — phase naming, script execution, env variables |
|
Exception hierarchy — PlatformError subclasses and usage |
|
Structured logging — get_logger, structlog config, YAML config files |
|
Pure utility functions — path resolution, system helpers |