Every engine brings its own assumptions
Without a shared contract, each integration must handle identity, input shape, output expectations, errors, and compatibility in its own way.
KOSTRAL gives independently developed engines a common way to integrate, interact, and operate together. It defines how engines identify themselves, what they may do, how they fit a workflow, and how their results are reported.
Start with Kubernetes pre-deployment intelligence. Build toward a system where engine ownership stays independent while execution remains predictable and governed.
Teams can already run scanners, validators, optimizers, and internal tools in scripts or CI pipelines. The hard part begins when independently maintained components must share inputs, versions, permissions, execution rules, and reporting conventions.
Without a shared contract, each integration must handle identity, input shape, output expectations, errors, and compatibility in its own way.
A read-only check should remain read-only. An optimizer should declare its mutation capability, and changes should be visible and accountable.
Engine order, local or remote invocation, accepted inputs, and reporting should be defined by the workflow—not hidden inside unrelated tools.
KOSTRAL focuses on the system surrounding the engines. Each engine owns its specialized intelligence; KOSTRAL defines the shared rules for participation and execution.
Engine authors can focus on a specific responsibility without embedding every other tool or integration into their own implementation.
KOSTRAL provides a common contract and workflow model so participating engines can be composed with explicit expectations.
For the current Kubernetes focus, the workflow can prepare a manifest, run read-only checks, render the result, and optionally invoke a target.
The workflow determines when engines run. Their responsibilities remain separate: Optimizer may change IR; Validator and Security are read-only in the current model.
$ koss optimize ./examples/demo/bad.yaml --dry-run # Prepare and analyze the resulting state # Review findings, reported optimizations, and output
These are the problems KOSTRAL is designed to address as its contract and engine ecosystem matures. The examples distinguish current mechanisms from the broader direction.
Compose organization-owned validators, optimizers, and security checks without making each team build a different integration protocol.
Architectural use caseDevelop an engine independently, declare its identity and capabilities, and integrate it through defined input, output, and lifecycle expectations.
Direction · ecosystemSeparate engines that detect problems from engines that change state. KOSTRAL currently snapshots observable IR state and rejects changes that violate declared mutation behavior.
Current mechanismRemote clients can verify engine identity, contract version, pinned engine version, accepted Kubernetes kinds, and mutation permission before sending work.
Current remote mechanismKeep engine responsibility separate from where it runs. The current remote example demonstrates HTTP invocation with a static registry.
ExperimentalUse structured reports and manifest output in developer workflows and CI/CD, while preserving a common execution model.
Current capabilityKOSTRAL already has a versioned engine contract, metadata checks, IR mutation verification, and remote descriptor checks. The wider ecosystem remains an architectural direction.
Read the system model, contracts, boundaries, and documented limitations.
Documentation →Analyze and optimize Kubernetes manifests with the supported commands.
CLI reference →Understand engine responsibilities and how contributions fit the current architecture.
Contributor guide →