spec: the scope is cut to a safety net that produces evidence; the plane is retired

The maintainer's second decision of 2026-11-30. The requirements of dspy-driver are
approved, with a memory amendment: a cache in stage one, a case memory and a curator
that prunes as later stages. The kube and AX plane is retired and its removal is
listed as steps C1 to C5 of the roadmap. search-with-proof is deferred to a follow-up
spec in Docker on a dedicated runner, opened once the driver's baseline is read.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Marius Ciepluch
2026-11-30 09:59:56 +01:00
co-authored by Claude Fable 5.2
parent 3bc7059fd3
commit b38dcdbc60
17 changed files with 174 additions and 21 deletions
+61 -3
View File
@@ -102,7 +102,8 @@ before the step starts.
- **N6. Admission, once.** Only after N3 shows a gain: one read on population v4 (11 cases, frozen
2026-11-23) under its protocol, then the governed run 11.6 if its cohorts exist by then.
N1 to N3 and N4 run side by side. N4 does not wait for N3: the proof arm has its own pilot.
Withdrawn the same day: N4 and N5 wait for the follow-up spec of the proof arm, which opens once
N1 is read (see "Second decision of 2026-11-30").
### Rules, as amended
@@ -127,11 +128,12 @@ N1 to N3 and N4 run side by side. N4 does not wait for N3: the proof arm has its
| `hunter-learning-loop` | built; no new work | 4.1, 6 and group 7 moved to `dspy-driver` (D6, D10, D2 to D9) |
| `access-control-prover` | done | supplies the trace |
| `engine-change-scoped-analysis` | active, line 1 | takes the carried engine tasks (its `brief.md`) |
| `search-with-proof`, `proof-arm-opencode` | active, line 2 | all open tasks stay; group 7 added |
| `search-with-proof`, `proof-arm-opencode` | deferred; a follow-up spec opens once E1 is read | Docker on a dedicated runner; cluster tasks dropped; the rest carried to the follow-up |
| `pre-push-safety-net` | active, line 3, narrowed | 8.3 and 16 stay; 18 added; 11.3, 13.2, 13.3 deferred; 15 provisional |
| `valid-detection-benchmark` | frozen as built | 11.6 and 11.7 wait for N6 |
| `detection-core` | frozen as built | group headers unticked, subtasks done; the contract stays |
| `plane-on-kubernetes` | parked | only what `search-with-proof` needs on kube-ax; the operator decides the rest |
| `plane-on-kubernetes` | superseded: the kube and AX plane is retired | none carried; its code goes with the cut (C2, C3) |
| `ai-service-plane` | retired with the plane | was complete; its code goes with the cut (C2) |
| `contributor-scan` | superseded | 2.14, 5.6, 5.12, 7.2, 7.4 to `engine-change-scoped-analysis`; 5.2 to `dspy-driver`; the rest dropped |
| `learned-decision-engine` | superseded | 16 and 17 to `dspy-driver`; 17.3 to `search-with-proof`; 11.1 and 11.2 to `engine-change-scoped-analysis`; the rest dropped |
| `reachability-flow-model` | superseded | 4.1 to `dspy-driver`; the rest is covered by the prover's path records |
@@ -154,9 +156,65 @@ with its lever and number named.
- **Commits:** the amendment goes in as two commits, steering with the public roadmap page, then
the specs with the breadth ledger; not pushed without a word.
### Second decision of 2026-11-30: cut the scope (wins over the text above where they differ)
The maintainer, on approving the requirements of `dspy-driver`:
- "spec bugs imho are a) lack of dspy and driver vs abstract interpetation b) not focused on the task at
hand 'find vulerability'; instead some infrastructure and 'cementing' or systems which have not been
prooven c) the kube / ax plane: retire."
- "search with proof in docker, and simplify: we run this in a dedicated runner setup, so no external
sandbox."
- "I would clean cut the scope back to what we need: a safety net that produces evidence and not security
improvements with unclear risks. search with proof becomes a follow up spec once our abstract
interpetation and dspy core is read. and in order to make space for this we have to cut into the ax,
kube, docker"
- "we have a rustfs memory. how should dspy use it. memory is key to save cycles, and it can improve. but
we need a memory pruning and memory agent approach here."
What follows from it:
- **The product, in one sentence:** a safety net that produces evidence about a pushed change. Read as:
the tool reports what it can show (a trace, later a demonstration) and does not claim to improve the
security of a repository or change its code.
- **One line of work until it is read: the driver** (`dspy-driver`, stage one: the example book, the
wiring of the prover's trace and Joern's results, E0, E1). Its requirements are approved.
- **Proof follows; it does not run beside.** `search-with-proof` is deferred, not parked for good: a
follow-up spec opens once E1 is read. It runs in Docker on a dedicated runner, with no external sandbox
(no AX task, no gVisor, no cluster). The existing spec and code stay as its input and take no work
until then. Steps N4 and N5 above wait for that spec, and the sentence "N4 does not wait" is withdrawn.
- **The kube and AX plane is retired.** `plane-on-kubernetes` is superseded, `ai-service-plane` is marked
retired, `kube-ax.md` is history. No work lands on the cluster, on AX tasks or on the local kind
cluster.
- **The cut is a deletion job, not a spec.** It is done when the checks below hold, and it has no
detection number; the maintainer ordered it to make room.
| Step | What | Read on 2026-11-30 |
| --- | --- | --- |
| C1 | Move what the driver needs out of the plane package: the memory store and the spend meter | `plane/memory.py` (1,050 lines) and `plane/budget.py` are imported by `learn/` (7 files) and `hunt/runner.py` |
| C2 | Delete the plane executor, its task manifests and its commands | `src/openultrasast/plane` 23 files, 7,531 lines; `plane/` 57 files; `ousast plane` in `cli.py`; 45 test files name plane, AX or kube |
| C3 | Delete the AX and kube operations code and the lanes that use it | `ops/ax` 13 files, `ops/k8s` 8 files, `benchmarks/ax` 3 files, the AX and k8s engine-trace lanes in `benchmarks/learn` |
| C4 | One image: Joern and `ousast`, for the scan and the driver | today two build stages on a task base image, and three image workflows |
| C5 | Docs and steering say what is left | `docs/plane.md`, `docs/deployment.md`, the README's AX commands |
Done when no module outside history imports `openultrasast.plane`, the suite is green on GitHub, and the
removed lines are counted in the commit record. C1 comes first, and before the driver's stage one needs
the store. `src/openultrasast/search/` is not cut: five of its files name AX or the cluster, and the
follow-up spec decides what of it stays.
- **Memory for the driver.** The RustFS store stays (`memory.py` after C1; file and S3 backends). The
driver uses it in three stages, each entered by a result (`dspy-driver`, Requirement 7 and its brief):
first a cache that saves cycles (Joern results by revision and query version, model answers by request);
then a case memory of verified examples the driver retrieves from; then a curator that scores, merges and
prunes cases. DSPy 3.4.1 as installed has the parts for the first two (its cache, `KNNFewShot`, an
embedder, tools in a loop) and none for pruning or for a memory agent; that part is this project's to
build and to measure.
### Open for the maintainer
- The spend ceiling of N3.
- The runner of the follow-up proof spec executes repository code and model-written demonstrations
with Docker as its only wall. What that runner may hold (keys, network reach) is the operator's
to state before that spec is written.
- Code that the superseded specs leave without an owner (the ledger's `review` entries: the scan
extensions whose results never reach a finding, `map_gate.py` and `pair_gate.py`, the local kind
executor). Nothing is deleted by this amendment.