<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Concepts on kevin</title><link>https://kevin-env.dev/docs/concepts/</link><description>Recent content in Concepts on kevin</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://kevin-env.dev/docs/concepts/index.xml" rel="self" type="application/rss+xml"/><item><title>Architecture</title><link>https://kevin-env.dev/docs/concepts/architecture/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/concepts/architecture/</guid><description>&lt;h1 id="architecture"&gt;Architecture&lt;a class="anchor" href="#architecture"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The parts of kevin and how they connect. The other pages in this section explain each part.&lt;/p&gt;&#10;&lt;pre class="mermaid"&gt;graph TD&#10; CLI[&amp;#34;kevin CLI&amp;#34;]&#10; ENG[engine]&#10; CFG[&amp;#34;Config&amp;#34;]&#10; DAG[&amp;#34;DAG engine&amp;#34;]&#10; HOST[launcher]&#10; CON[console]&#10; CA[&amp;#34;CA&amp;#34;]&#10; MCPN[MCP server]&#10; PLUG[[&amp;#34;plugin process&amp;#34;]]&#10; CRI[&amp;#34;container engine&amp;lt;br/&amp;gt;(docker or podman)&amp;#34;]&#10; PROXY[proxy]&#10; LOOP([&amp;#34;host loopback&amp;#34;])&#10;&#10; subgraph DOCKERNET[&amp;#34;container network&amp;#34;]&#10; RELAY[&amp;#34;relay&amp;lt;br/&amp;gt;(container)&amp;#34;]&#10; STEPC[&amp;#34;step containers&amp;lt;br/&amp;gt;(container/kubernetes)&amp;#34;]&#10; end&#10;&#10; CLI --&amp;gt;|invokes| ENG&#10; ENG --&amp;gt;|loads| CFG&#10; ENG --&amp;gt;|uses| DAG&#10; ENG --&amp;gt;|starts| HOST&#10; ENG --&amp;gt;|drives| CON&#10; ENG --&amp;gt;|creates| CA&#10; CON --&amp;gt;|mounts /_mcp| MCPN&#10; MCPN --&amp;gt;|tool calls, step ops| ENG&#10; HOST -.gRPC.-&amp;gt; PLUG&#10; PLUG --&amp;gt;|shells out| CRI&#10; ENG --&amp;gt;|network, GC| CRI&#10; STEPC -.-&amp;gt;|publishes| LOOP&#10; STEPC -.-&amp;gt;|resolves, forwards| RELAY&#10; RELAY -.-&amp;gt;|dnat capture| STEPC&#10; RELAY -.-&amp;gt;|socks5| LOOP&#10; PROXY -.-&amp;gt;|dials| LOOP&#10; RELAY --&amp;gt;|forwards| PROXY&#10; ENG --&amp;gt;|starts| PROXY&#10; ENG -.-&amp;gt;|RegisterCapture, mTLS| RELAY&#10; CA --&amp;gt;|signs leaf| PROXY&#10; CA -.-&amp;gt;|signs control leaves| RELAY&#10; CRI -.-&amp;gt;|creates, attaches| RELAY&#10; CRI -.-&amp;gt;|creates, attaches| STEPC&#10; RELAY -.-&amp;gt;|socks5 dial| STEPC&#10; PROXY --&amp;gt;|traffic records| ENG&#10;&#10; classDef dashedNode stroke-dasharray: 5 5&#10; class STEPC dashedNode&lt;/pre&gt;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Part&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Responsibility&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;CLI&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Parses the command line.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Engine&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Loads the environment, starts the plugins, walks the DAG.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Configuration&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Reads &lt;code&gt;kevin.cue&lt;/code&gt;. Validates every step before anything runs.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;DAG engine&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Orders the steps. Runs independent steps concurrently, capped by &lt;code&gt;engine.max_parallel&lt;/code&gt;.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Container engine&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Runs the &lt;code&gt;docker&lt;/code&gt; or &lt;code&gt;podman&lt;/code&gt; command.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Plugin host&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Starts the plugin processes and keeps them running.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Plugin SDK&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The public API that a plugin author implements.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Wire contract&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The gRPC service between the engine and a plugin.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Proxy&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Terminates TLS, routes to a workload, controls egress.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Console&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Shows the DAG state, the logs, and the proxy traffic.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;MCP server&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Gives an MCP client, such as a coding agent, access to the running environment, at &lt;code&gt;/_mcp&lt;/code&gt; on the console address.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;CA&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Creates the CA and signs certificates for the proxy and relay.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Relay&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A container on the project network. Answers DNS for the environment domain, sends container traffic to the proxy, and lets the host reach ports inside the network.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;</description></item><item><title>Scopes and providers</title><link>https://kevin-env.dev/docs/concepts/scopes-and-providers/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/concepts/scopes-and-providers/</guid><description>&lt;h1 id="scopes-and-providers"&gt;Scopes and providers&lt;a class="anchor" href="#scopes-and-providers"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;A project directory has an environment file, &lt;code&gt;kevin.cue&lt;/code&gt;, that declares plugins and steps. kevin checks the file against its core schema before anything runs.&lt;/p&gt;&#10;&lt;h2 id="scopes"&gt;Scopes&lt;a class="anchor" href="#scopes"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The environment file holds two independent graphs of steps, called scopes.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: left"&gt;Scope&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: left"&gt;Lifetime&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: left"&gt;Commands&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;setup&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Stays after the command exits.&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;kevin setup&lt;/code&gt;, &lt;code&gt;kevin teardown&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;env&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Removed when &lt;code&gt;kevin run&lt;/code&gt; exits.&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;kevin run&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;&lt;code&gt;setup&lt;/code&gt; holds things that are slow to create and shared by many runs, such as a Kubernetes cluster. &lt;code&gt;env&lt;/code&gt; holds things that are restarted often. Both scopes use the same engine and protocol. An &lt;code&gt;env&lt;/code&gt; step can read the outputs of a &lt;code&gt;setup&lt;/code&gt; step. See &lt;a href="https://kevin-env.dev/docs/concepts/cross-step-values/#crossing-scopes"&gt;Cross-step values&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Cross-step values</title><link>https://kevin-env.dev/docs/concepts/cross-step-values/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/concepts/cross-step-values/</guid><description>&lt;h1 id="cross-step-values"&gt;Cross-step values&lt;a class="anchor" href="#cross-step-values"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;A step publishes outputs, such as the address of a registry or the path of a kubeconfig file. Every step with that step in its &lt;code&gt;needs&lt;/code&gt; gets them.&lt;/p&gt;&#10;&lt;h2 id="two-paths-to-the-outputs"&gt;Two paths to the outputs&lt;a class="anchor" href="#two-paths-to-the-outputs"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;A plugin gets every upstream output in its &lt;code&gt;Up&lt;/code&gt; request, next to the &lt;code&gt;with&lt;/code&gt; block. It also gets the containers of each upstream step, in a separate field (&lt;code&gt;UpRequest.Containers&lt;/code&gt;). &lt;a href="https://kevin-env.dev/docs/reference/steps/fault/"&gt;&lt;code&gt;builtin:fault&lt;/code&gt;&lt;/a&gt; uses this field to find the containers to change, with no &lt;code&gt;${...}&lt;/code&gt; expression.&lt;/p&gt;</description></item><item><title>DAG engine</title><link>https://kevin-env.dev/docs/concepts/dag-engine/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/concepts/dag-engine/</guid><description>&lt;h1 id="dag-engine"&gt;DAG engine&lt;a class="anchor" href="#dag-engine"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The DAG engine holds a map from each step name to the names it needs. It checks the map before anything runs: an unknown name or a cycle is an error.&lt;/p&gt;&#10;&lt;h2 id="starting"&gt;Starting&lt;a class="anchor" href="#starting"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The engine runs each step in its own goroutine. A goroutine waits for the steps it needs, then runs its step. &lt;code&gt;engine.max_parallel&lt;/code&gt; limits how many steps run at once.&lt;/p&gt;&#10;&lt;p&gt;When a step fails, the engine cancels the steps still running. A step whose dependency failed is skipped, not failed, so the error kevin reports is the cause, not a list of failures that follow from it.&lt;/p&gt;</description></item><item><title>Proxy</title><link>https://kevin-env.dev/docs/concepts/proxy/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/concepts/proxy/</guid><description>&lt;h1 id="proxy"&gt;Proxy&lt;a class="anchor" href="#proxy"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;kevin changes no file on your machine: no entry in &lt;code&gt;/etc/hosts&lt;/code&gt;, no file in &lt;code&gt;/etc/resolver&lt;/code&gt;, and no DNS server. Clients on the host reach the environment through the proxy instead, with &lt;code&gt;HTTP_PROXY&lt;/code&gt; and &lt;code&gt;HTTPS_PROXY&lt;/code&gt;, or with the auto-config file at &lt;code&gt;/proxy.pac&lt;/code&gt;.&lt;/p&gt;&#10;&lt;h2 id="names"&gt;Names&lt;a class="anchor" href="#names"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The environment has a base domain, &lt;code&gt;kevin.home&lt;/code&gt; by default. A &lt;a href="https://kevin-env.dev/docs/reference/steps/route/"&gt;&lt;code&gt;builtin:route&lt;/code&gt;&lt;/a&gt; step adds names under it. When a step&amp;rsquo;s &lt;code&gt;Up&lt;/code&gt; returns routes, kevin adds them to the proxy&amp;rsquo;s routing table.&lt;/p&gt;</description></item><item><title>Console</title><link>https://kevin-env.dev/docs/concepts/console/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/concepts/console/</guid><description>&lt;h1 id="console"&gt;Console&lt;a class="anchor" href="#console"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The console renders HTML on the server with templ, and updates the page with htmx over server-sent events (SSE). The scripts are embedded in the &lt;code&gt;kevin&lt;/code&gt; binary, so the console works with no network access.&lt;/p&gt;&#10;&lt;h2 id="one-stream-per-page"&gt;One stream per page&lt;a class="anchor" href="#one-stream-per-page"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The page renders the current state, then opens one event stream. Each change arrives on that stream as an HTML fragment that names the element it replaces. A step row replaces itself with &lt;code&gt;hx-swap-oob&lt;/code&gt;. A log line or a request row arrives in an &lt;code&gt;hx-partial&lt;/code&gt; that names its region and how to insert it.&lt;/p&gt;</description></item><item><title>MCP server</title><link>https://kevin-env.dev/docs/concepts/mcp-server/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/concepts/mcp-server/</guid><description>&lt;h1 id="mcp-server"&gt;MCP server&lt;a class="anchor" href="#mcp-server"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The MCP server gives a coding agent the same view and controls that the console gives a person. It uses &lt;a href="https://modelcontextprotocol.io"&gt;MCP&lt;/a&gt;&amp;rsquo;s Streamable HTTP transport.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: left"&gt;Tool&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: left"&gt;Does&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;list_steps&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Lists steps and their states.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;get_step&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Returns a step&amp;rsquo;s state and logs.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;rerun_step&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Runs a step again.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;export_step&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Returns a step&amp;rsquo;s exported values.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;get_proxy_info&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Returns the proxy address, its routes, and the egress allow list.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;A plugin can add tools for its step types. See &lt;a href="https://kevin-env.dev/docs/extending/writing-a-plugin/#add-mcp-tools"&gt;Writing a plugin&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Certificate authority</title><link>https://kevin-env.dev/docs/concepts/ca/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/concepts/ca/</guid><description>&lt;h1 id="certificate-authority"&gt;Certificate authority&lt;a class="anchor" href="#certificate-authority"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The proxy terminates TLS, so it needs a private key to sign a certificate for each host. kevin creates and holds its CAs itself for this reason. Every key is ECDSA P-256, stored with mode 0600 in a directory with mode 0700.&lt;/p&gt;&#10;&lt;h2 id="two-levels"&gt;Two levels&lt;a class="anchor" href="#two-levels"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: left"&gt;Level&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: left"&gt;Location&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: left"&gt;Subject&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: left"&gt;Signs&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Root&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;~/.kevin/&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;Kevin Local Root CA&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Each project CA.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;Project&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;.kevin/&lt;/code&gt; in the project directory (&lt;code&gt;.kevin/&amp;lt;name&amp;gt;/&lt;/code&gt; for a named environment)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;&lt;code&gt;Kevin Local Intermediate CA - Project &amp;lt;name&amp;gt;&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: left"&gt;A certificate for each host the proxy serves, and the certificates of the relay control channel.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Only the root goes into a trust store, once per machine. A trust store holds one kevin certificate however many projects exist. Each project signs with its own key, which is in the project directory and is deleted with it.&lt;/p&gt;</description></item><item><title>Container engine</title><link>https://kevin-env.dev/docs/concepts/container-engine/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/concepts/container-engine/</guid><description>&lt;h1 id="container-engine"&gt;Container engine&lt;a class="anchor" href="#container-engine"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;kevin controls containers by running the &lt;code&gt;docker&lt;/code&gt; or &lt;code&gt;podman&lt;/code&gt; command and parsing its JSON output. It does not import an SDK.&lt;/p&gt;&#10;&lt;h2 id="why-a-command-not-an-sdk"&gt;Why a command, not an SDK&lt;a class="anchor" href="#why-a-command-not-an-sdk"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The Docker Go module brings a large dependency tree for the few calls kevin makes, and Podman has no comparable Go client. The cost is that kevin parses command output, and needs the command installed.&lt;/p&gt;&#10;&lt;h2 id="selecting-an-engine"&gt;Selecting an engine&lt;a class="anchor" href="#selecting-an-engine"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;The engine is a setting of your machine, not of the project, so the environment file has no field for it. Use &lt;code&gt;--engine&lt;/code&gt; or &lt;code&gt;KEVIN_ENGINE&lt;/code&gt;, with &lt;code&gt;docker&lt;/code&gt; or &lt;code&gt;podman&lt;/code&gt;. With neither, kevin uses the first engine whose daemon answers, and prefers docker.&lt;/p&gt;</description></item><item><title>Relay</title><link>https://kevin-env.dev/docs/concepts/relay/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/concepts/relay/</guid><description>&lt;h1 id="relay"&gt;Relay&lt;a class="anchor" href="#relay"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The relay is a container on the project network. It has four jobs:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Answer DNS for the environment domain, so workloads can resolve route names.&lt;/li&gt;&#10;&lt;li&gt;Send the traffic of containers to the proxy on the host.&lt;/li&gt;&#10;&lt;li&gt;Let the host reach ports inside the project network or a &lt;code&gt;builtin:kubernetes&lt;/code&gt; cluster.&lt;/li&gt;&#10;&lt;li&gt;Apply network faults for &lt;a href="https://kevin-env.dev/docs/reference/steps/fault/"&gt;&lt;code&gt;builtin:fault&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;The relay has no routing table. The proxy is the only place that routes. The relay makes sure traffic reaches the proxy.&lt;/p&gt;</description></item><item><title>Plugin trust</title><link>https://kevin-env.dev/docs/concepts/plugin-trust/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/concepts/plugin-trust/</guid><description>&lt;h1 id="plugin-trust"&gt;Plugin trust&lt;a class="anchor" href="#plugin-trust"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;A plugin is a program that kevin runs on your machine. kevin has three ways to decide whether a downloaded package is the one you meant to run.&lt;/p&gt;&#10;&lt;h2 id="checksums-and-digests"&gt;Checksums and digests&lt;a class="anchor" href="#checksums-and-digests"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;A &lt;code&gt;checksum&lt;/code&gt; on a &lt;code&gt;file&lt;/code&gt; or &lt;code&gt;http&lt;/code&gt; entry, or a digest in an &lt;code&gt;oci&lt;/code&gt; reference, pins the exact bytes of one package. Nothing else can match. The cost is that every new release needs an edit to &lt;code&gt;kevin.cue&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>