docs(plane-on-kubernetes): the docs say the local kind cluster is stopped and its code stays

The maintainer decided on 2026-11-24: "The local kind cluster is stopped and the
code stays. Whether the executor code is deleted is decided at the plane
re-plan." d45fc98 recorded the decision in the spec's tasks. The documentation
went on calling the cluster the development default, or saying that it runs
today. This is step 3 of the handover: one documentation commit for that
decision, with the two records the same step names.

What changes, by file:

- README.md, tier 3: the cluster is stopped since 2026-11-24, the code stays,
  ops/ax/up.sh recreates the cluster, and the deletion of the executor code is
  decided at the plane re-plan. Tier 4 names the stop where it says that no
  other cluster has received a deployment.
- docs/plane.md: the same under "ax is the only executor"; the Deployment link
  and the profile list no longer say "today".
- docs/deployment.md: a dated paragraph at the top carries the record's own
  facts: the decision, the teardown with ops/ax/down.sh, ops/ax/up.sh, a cold
  bring-up that has not been timed, and that nothing on the product's main line
  used the cluster. The frame sentence, two headings, one table header and the
  sentences that said "today" or "runs" are dated or put in the past.
- .kiro/steering/overview.md, the Engine bullet of the dated section of
  2026-10-04; .kiro/steering/roadmap.md, the Destination list, the
  Infrastructure row and the plane-on-kubernetes row. Each keeps the earlier
  target and adds the dated fact, the form roadmap.md already uses for the
  decisions of 2026-11-24.
- ops/k8s/profiles/kind.toml: the leading comment only. No value changes.
- .kiro/specs/ir-consolidation/brief.md: a dated note. Question 2 is overtaken
  by the maintainer's decision on contributor-scan task 4.1: "C memory-safety
  beyond string-function misuse is out of scope. Record that, and say so per
  corpus slice." Question 1 is not affected.
- .kiro/specs/reachability-flow-model/design.md, Data Models: the run directory
  of a scan since 6edae3a, where the line named the location that ended then.

The roadmap's Position is refreshed (verified 2026-11-25). An open subtask is
an open checkbox whose first token is a task number without a trailing dot;
the group headers end with a dot. valid-detection-benchmark 2 (11.6, 11.7);
contributor-scan 18; plane-on-kubernetes 22; reachability-flow-model 16;
authorization-obligations 18; pre-push-safety-net 4 (8.3, 11.3, 13.2, 13.3);
hunter-learning-loop 1; detection-core 0 (11.4 closed under R0). The new
bullet says what the task boxes show for R1 to R5 and records the stop.

Beyond the handover's line numbers, in files it names: README tier 4 (one
clause), two sentences of docs/plane.md, and in docs/deployment.md the frame
sentence, two headings, one table header and three sentences that said "today"
or "runs". Also roadmap.md's Destination bullet (line 239 before this commit):
the same claim 21 lines above the row the handover names, in steering that
every run loads.

Left as they are and reported, on the maintainer's rule that a fault outside
the chosen tasks is reported and not fixed in passing: docs/ops/ax/README.md:3,
ops/ax/README.md:3 and :20, and docs/where-we-stand.md:184-185, which still say
that the plane runs in the cluster; README.md:270-271, ops/README.md:388 and
docs/index.md:56, "where the plane runs today"; roadmap.md:317, "proof on
kind"; search-with-proof/tasks.md:27; the requirements and design of
plane-on-kubernetes, where a change is a spec amendment; and README tier 4 and
docs/deployment.md naming k3s as production, where the roadmap's spec map says
that the production path was re-scoped to kube-ax.

Evidence:
- tests/test_docs_site.py (the strict site build), test_removed_plane_references.py,
  test_plane_literals.py, test_plane_profile.py and test_obligation_siblings.py:
  exit=0, 40 passed, on the committed tree.
- git diff --check: exit 0. The added lines are ASCII.
- The reviewer counted the open work by a method of its own and found the same
  numbers. It built the site strict into scratch, and measured the host: no
  kind cluster and no kube context.

Review: an independent reviewer approved the change in round 1 (no REQUIRED
finding, two SHOULD FIX) and again in round 2, after those were folded in.
After round 2 its round-2 wordings were applied as proposed: one sentence, one
clause and two table labels. No test pins these sentences. The cluster was not
recreated and ops/ax/up.sh was not run.
This commit is contained in:
Marius Ciepluch
2026-11-25 19:19:46 +01:00
parent 91d305cd3c
commit 3a34929c55
8 changed files with 58 additions and 34 deletions
+4
View File
@@ -4,6 +4,10 @@
**Status:** brief only, unapproved.
> **Overtaken 2026-11-24:** question 2 (the C arithmetic class and a second pipeline) is not pursued. The
> maintainer decided on contributor-scan task 4.1: "C memory-safety beyond string-function misuse is out of
> scope. Record that, and say so per corpus slice." Question 1 is not affected.
## Why now
> "we should make sure our code base here doesn't explode. for example we have a custom IR. maybe vine
@@ -359,7 +359,7 @@ A node dominates a path if every route from that path's entry to its sink passes
## Data Models
Artifacts under `.openultrasast/runs/<id>/`: `callgraph.json`, `paths.json`, `fixpoints.json`. Manifest additions:
Artifacts under the scan's run directory, `~/.cache/openultrasast/runs/<scan-id>/` by default (`$XDG_CACHE_HOME/openultrasast/runs/<scan-id>/` when that variable is set to an absolute path, and the directory `OPENULTRASAST_RUNS_DIR` names when it is set; the scan prints it as `run_dir=<path>`; the old location `.openultrasast/runs/<id>/` ended on 2026-11-24): `callgraph.json`, `paths.json`, `fixpoints.json`. Manifest additions:
```json
{
+3 -2
View File
@@ -67,8 +67,9 @@ direction lives in `roadmap.md`, section of 2026-10-04 (phases G0-G5).
measured yet; the unseen-repository pool (G0, spec `unseen-repo-evaluation`) comes first.
- **Correction, 2026-10-04.** Infrastructure and engine work had drifted from that goal. It is now done only when
it removes a bottleneck for those measurements.
- **Engine.** Joern runs on the operator's kube-ax cluster as AX Tasks, with a VM fallback lane; kind stays the
development profile. It is almost blind to fixes: paths differ between sides in 2 of 105 both-asked pairs.
- **Engine.** Joern runs on the operator's kube-ax cluster as AX Tasks, with a VM fallback lane; kind was the
development profile until its local cluster was stopped on 2026-11-24 (the code stays). It is almost blind
to fixes: paths differ between sides in 2 of 105 both-asked pairs.
- **Decision engine.** Ranks but cannot block (exp-003 to exp-005 inconclusive; 710 fix pairs in memory). Fix
mechanisms is one G2 arm, paused after mining until the pool exists.
- **Hook.** `ousast pre-push` is operational and advisory on any repository; rollout stays NO-GO.
+15 -8
View File
@@ -8,7 +8,7 @@ asked for: every open work stream led milestone by milestone to the narrow advis
acceptance profiles (`pre-push-safety-net/release-milestones.md`) and stop conditions
(`detection-quality.md`) apply unchanged; this ladder sequences work, it lowers no bar.
### Position (2026-11-20)
### Position (2026-11-20; refreshed 2026-11-25)
- M1a/M1b met on fixtures (NodeGoat). M2 measured unmet (engine startup, 2026-09-17). M3
partial (PHP blocked by runtime). M4/M5 pending.
@@ -18,11 +18,17 @@ acceptance profiles (`pre-push-safety-net/release-milestones.md`) and stop condi
arithmetically unreachable at 3/12 in-family pairs.
- Real-world results do not exist yet. That is the gap this ladder closes first: no product
milestone outranks a governed admission number on real repositories.
- Open work by spec (verified 2026-11-20): valid-detection-benchmark 27 subtasks;
contributor-scan 24; plane-on-kubernetes 22 (paused, re-plan); reachability-flow-model 16
- **Refreshed 2026-11-25.** R1 and R2: every subtask is checked (their group headers are not). R3
waits on 11.6, the one governed admission run, and on 11.7 after it. R4: 15.1 and 15.2 are
checked, 15.2 provisionally until 11.6 has been read. R5 is in progress. The local kind cluster
is stopped since 2026-11-24 and its code stays until the plane re-plan decides whether the
executor code is deleted.
- Open work by spec (verified 2026-11-25): valid-detection-benchmark 2 subtasks (11.6, 11.7);
contributor-scan 18; plane-on-kubernetes 22 (paused, re-plan); reachability-flow-model 16
and authorization-obligations 18 (tasks-generated, not yet implementation-ready);
pre-push-safety-net 6; hunter-learning-loop 1 (model lane, proposal-only); detection-core 1
(11.4, closing under R0). access-control-prover subtasks are complete.
pre-push-safety-net 4 (8.3, 11.3, 13.2, 13.3); hunter-learning-loop 1 (model lane,
proposal-only); detection-core 0 (11.4 closed under R0). access-control-prover subtasks are
complete.
### R0 -- Closure (2026-11-20)
@@ -236,7 +242,8 @@ Each environment handles different parts of the work:
No API keys and no store credentials in the cluster; tasks read and write through short-lived presigned links.
- The VM or CI runner handles candidate selection and the decision engine's model calls (DeepSeek). It also hosts
the memory store and the fallback engine lane (2.5 GB heap) for pins that do not fit the cluster's 1.7 GB heap.
- **kind** stays the local development profile, with the same code and manifests.
- **kind** stays the local development profile, with the same code and manifests. **Since 2026-11-24** its local
cluster is stopped; the code stays, and whether it is deleted is decided at the plane re-plan.
### The question everything answers
@@ -257,7 +264,7 @@ Within-pair AUC on known fix pairs answers neither. It stays a development signa
| Pre-push hook | Operational and advisory on any repository | `2026-10-02-pre-push-operational-1/record.json` |
| Labelled data | 710 complete real fix pairs | `2026-10-04-decision-engine-harvest-3/record.json` |
| Engine | Almost blind to fixes (paths differ between sides in 2 of 105 both-asked pairs) | `2026-10-04-joern-slice-leak-audit/record.json` |
| Infrastructure | Engine runs on kube-ax as AX Tasks with a VM fallback; kind for development | memory `kube-ax-cluster` |
| Infrastructure | Engine runs on kube-ax as AX Tasks with a VM fallback; the local kind cluster is stopped since 2026-11-24 and its code stays | memory `kube-ax-cluster`; `plane-on-kubernetes/tasks.md`, section of 2026-11-24 |
Correction recorded 2026-10-04: most work in the previous two days went into infrastructure and engine internals
without improving a generalisation number. Further work on those areas must remove a bottleneck for the
@@ -422,7 +429,7 @@ Population v4 (11 cases, frozen 2026-11-23) is the untouched population held for
| --- | --- | --- |
| `unseen-repo-evaluation` (new) | G0, G1: the pool and the push-level metric | To specify |
| `learned-decision-engine` | G1-G3, G5; fix-mechanisms plan is one G2 arm | Implementation; experiments 3-5 recorded |
| `plane-on-kubernetes` | G4; the engine executors for kube-ax | Groups 1-2 done (kind); production path re-scoped to the operator's kube-ax (AX Tasks), groups 3-8 to re-plan |
| `plane-on-kubernetes` | G4; the engine executors for kube-ax | Groups 1-2 done (kind); local kind cluster stopped 2026-11-24, code stays; production path re-scoped to the operator's kube-ax (AX Tasks), groups 3-8 to re-plan |
| `pre-push-safety-net` | the hook replayed in G0-G1; M4-M5 in G5 | Operational increment 1 done; M4-M5 open |
| `ai-service-plane` | The plane the above runs on | Complete |
+6 -5
View File
@@ -138,8 +138,9 @@ Keys and store settings live in `.env` in the working directory. The file is git
### Tier 3: the plane on ax (maintainers)
Tier 1 and 2 need none of this. The current profile is a single-node kind cluster on the maintainer's
host.
Tier 1 and 2 need none of this. The local profile is a single-node kind cluster on the maintainer's
host. That cluster is stopped since 2026-11-24: the code stays, `ops/ax/up.sh` recreates the
cluster, and whether the executor code is deleted is decided at the plane re-plan.
- `ops/ax/up.sh` needs `docker`, `go`, `kubectl`, `kind`, `ko` and `ax` on the PATH. It refuses to
start when one is missing.
@@ -154,9 +155,9 @@ See [ops/ax/README.md](ops/ax/README.md) for bring-up and doctor instructions, a
### Tier 4: Kubernetes (k3s), planned
Nothing has been deployed to any cluster other than that kind cluster. The target is two profiles
of one code base: `kind` locally and `k3s` in production. The same `ousast plane run` would
submit a Run in a remote execution mode. It needs:
Nothing has been deployed to any cluster other than that kind cluster, stopped on 2026-11-24. The
target is two profiles of one code base: `kind` locally and `k3s` in production. The same `ousast
plane run` would submit a Run in a remote execution mode. It needs:
- a kubeconfig context or the cluster's ingress (and an `imagePullSecret` on the worker
ServiceAccount for a private package);
+17 -8
View File
@@ -1,7 +1,8 @@
# Deployment
This page covers two things. First, how the agentic plane is deployed today. Second, what moving it to a
separate Kubernetes cluster would take. It describes the state as of 2026-10-02 (v2.0.0).
This page covers two things. First, how the agentic plane was deployed on the maintainer's host. Second, what
moving it to a separate Kubernetes cluster would take. It describes the state as of 2026-10-02 (v2.0.0), with
the stop of 2026-11-24 noted below.
A scan needs none of this. `ousast scan` and `ousast pre-push` run from the Python package. Joern runs
from the Docker image (see [Engine and pre-push](ops/README.md)). The plane is the maintainers' tool for
@@ -17,7 +18,12 @@ This page uses two words strictly:
been made.** Section B is guidance, not a record. (kind runs a Kubernetes cluster inside Docker
containers on one machine.)
The kind profile runs on a 7.7 GB server VM. Observability is off by default
**The local kind cluster is stopped (2026-11-24).** The maintainer decided to stop it and to keep the code
until the plane is re-planned. It was torn down with `ops/ax/down.sh`; `ops/ax/up.sh` recreates the cluster,
and a cold bring-up has not been timed. Nothing on the product's main line used the cluster: a scan,
`ousast pre-push` and the MCP server run without it.
The kind profile ran on a 7.7 GB server VM. Observability is off by default
(`kind_observability = false` in `ops/k8s/profiles/kind.toml`). This saves the measured
930 MiB used by `otel-system`, about 40% of the cluster's 2.3 GB. The smoke Run still
completes with those deployments stopped. To enable the stack, run
@@ -32,7 +38,7 @@ collector endpoint and metric timing keys. On an existing cluster, `up.sh` scale
observability deployments to zero, replaces the ConfigMap data and rolls its consumers when
the configuration changes. Opting in restores the upstream ConfigMap and observability manifests.
## What runs where today (implemented)
## What runs where (implemented)
```mermaid
flowchart LR
@@ -371,10 +377,13 @@ This section answers the maintainer's questions from the code and the upstream c
The decisions of 2026-10-02 set the target: **two profiles of one code base**.
- `kind` is this server VM. It stays a first-class local execution mode. Every change is proven here first.
- `kind` is this server VM. It was to be a first-class local execution mode, every change proven here first.
**Stopped 2026-11-24:** the local cluster is down and the code stays; whether the code is deleted is decided
at the plane re-plan.
- `k3s` is production. (k3s is a small Kubernetes distribution.)
Everything marked **planned** is not built. The rest is what runs on this host today.
Everything marked **planned** is not built. The rest has run: the hook runs from the Python package, and the
kind profile ran on this host until 2026-11-24.
```mermaid
flowchart LR
@@ -501,9 +510,9 @@ Substrate ships two scaling aids:
`ops/ax/up.sh` applies neither. The production profile's pool manifests and autoscaling rule are
**planned**.
### The three components that are bound to the host today
### The three components that are bound to the host in the kind profile
| Component | Today (the kind profile) | Production (the k3s profile, planned) |
| Component | The kind profile (stopped 2026-11-24) | Production (the k3s profile, planned) |
| --- | --- | --- |
| Reconciler (`ousast plane run`, `src/openultrasast/plane/reconciler.py`) | a process on the operator's host; calls `ax` and `kubectl` against the profile's `kube_context`, holds the Run's state under `OUSAST_RESULTS` | **the reconciler stays the CLI.** An execution mode `local` or `remote`: in `remote`, the same `ousast plane run` from a laptop or a CI job submits the Run to ax-server in k3s (over the cluster's ingress or a kubeconfig), sends the start requests, then polls the store and prints the same `status` and attribution table. Credentials come from the caller's environment as today (CI secrets in a job; B.8's rule, no value in a manifest). An unattended in-cluster reconciler (a Deployment with a submit API, or a Job per Run) is a **later option**, not the first step |
| Artifact receiver (`plane/egress.py`, the `Receiver` thread inside the reconciler) | reached through the Service `ousast-receiver.ax-system` whose EndpointSlice points at the kind gateway address on the host (`ops/ax/receiver-service.yaml.tmpl`) | **no receiver in remote mode.** Tasks deliver their artifacts and fetch their inputs through presigned URLs on the S3 memory store (B.5, path 3; the store's hostname enters each Task's EgressPolicy, B.7), and the CLI reads completion from the store. The kind profile keeps the receiver thread; an in-cluster receiver Deployment (B.5, path 2) is not the chosen direction |
+7 -6
View File
@@ -11,15 +11,16 @@ Model-driven work over whole repositories runs on a separate agentic plane. The
- A Task carries its own `budget: {usd, calls}`.
ax is the only executor. It is google/ax, Google's controller that runs agent tasks, over Agent Substrate (its
sandboxed actor runtime). It runs in a single-node kind cluster (Kubernetes in Docker) on the maintainer's host.
There is no local subprocess path.
sandboxed actor runtime). It runs in a single-node kind cluster (Kubernetes in Docker) on the maintainer's
host. That cluster is stopped since 2026-11-24: the code stays, `ops/ax/up.sh` recreates the cluster,
and whether the executor code is deleted is decided at the plane re-plan. There is no local subprocess path.
Where to read more:
- Bring-up and the host's lessons are in [ax on this host](ops/ax/README.md).
- [Deployment](deployment.md) shows where each part runs today. The reconciler and the receiver run on the host.
The tasks run in gVisor (a sandboxing kernel) on Agent Substrate. It also covers what a separate Kubernetes
cluster would take (planned).
- [Deployment](deployment.md) shows where each part ran before the cluster was stopped. The reconciler and the
receiver run on the host. The tasks run in gVisor (a sandboxing kernel) on Agent Substrate. It also covers what
a separate Kubernetes cluster would take (planned).
- This page draws the flow.
Sources: `src/openultrasast/plane/reconciler.py`, `router.py`, `egress.py`, `runner.py`,
@@ -140,7 +141,7 @@ flowchart LR
ax is a Kubernetes application over Agent Substrate. Every Task runs the one runner image as an actor. Each actor
occupies a whole worker. This code base targets two profiles:
- `kind` on a server VM (today).
- `kind` on a server VM. Its cluster on the maintainer's host is stopped since 2026-11-24; the code stays.
- `k3s` in production (planned). There the same CLI submits Runs remotely, and the tasks deliver to the S3 store.
[Production topology: ax on a Kubernetes cluster](deployment.md#production-topology-ax-on-a-kubernetes-cluster)
+5 -4
View File
@@ -1,7 +1,8 @@
# The kind profile: the plane on this server VM's single-node kind cluster, which ops/ax/up.sh creates and which is
# the development default (plane-on-kubernetes design section 1). Values only; a credential never goes here
# (keys stay in the environment or .env). Every field is overridable by OUSAST_<FIELD> in the environment, a pool
# by OUSAST_POOL_<NAME>_<FIELD>. This file may name the kind cluster; the code must not (tests/test_plane_literals.py).
# The kind profile: the plane on this server VM's single-node kind cluster, which ops/ax/up.sh creates. That cluster
# is stopped since 2026-11-24 and its code stays until the plane re-plan decides whether that code is deleted
# (plane-on-kubernetes tasks, section of 2026-11-24). Values only; a credential never goes here (keys stay in
# environment or .env). Every field is overridable by OUSAST_<FIELD> in the environment, a pool by
# OUSAST_POOL_<NAME>_<FIELD>. This file may name the kind cluster; the code must not (tests/test_plane_literals.py).
kind_observability = false # opt in with OUSAST_KIND_OBSERVABILITY=1
exec = "local" # the reconciler runs on this host against the cluster below