mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-03 02:08:18 +00:00
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:
co-authored by
Claude Fable 5.2
parent
3bc7059fd3
commit
b38dcdbc60
+7
-4
@@ -26,6 +26,9 @@
|
|||||||
# Three lines: dspy-driver (driver; it continues hunter-learning-loop), search-with-proof with proof-arm-opencode (proof),
|
# Three lines: dspy-driver (driver; it continues hunter-learning-loop), search-with-proof with proof-arm-opencode (proof),
|
||||||
# pre-push-safety-net (the developer sees it); engine-change-scoped-analysis feeds line 1.
|
# pre-push-safety-net (the developer sees it); engine-change-scoped-analysis feeds line 1.
|
||||||
# The capability entries below with status "review" are still undecided; see "Open for the maintainer".
|
# The capability entries below with status "review" are still undecided; see "Open for the maintainer".
|
||||||
|
# Second decision of 2026-11-30: the kube and AX plane is retired and cut (roadmap C1 to C5);
|
||||||
|
# deferred = search-with-proof waits for a follow-up spec in Docker, opened once dspy-driver E1 is read.
|
||||||
|
# The memory store and the spend meter move out of plane/ and stay.
|
||||||
|
|
||||||
[meta]
|
[meta]
|
||||||
amended = "2026-11-30"
|
amended = "2026-11-30"
|
||||||
@@ -57,14 +60,14 @@ owner = ["src/openultrasast/push"]
|
|||||||
closes = "n/a (active)"
|
closes = "n/a (active)"
|
||||||
|
|
||||||
[spec.search-with-proof]
|
[spec.search-with-proof]
|
||||||
status = "active"
|
status = "deferred" # 2026-11-30, second decision
|
||||||
line = "search-with-proof"
|
line = "search-with-proof"
|
||||||
phase = "tasks-generated (11 of 24 done)"
|
phase = "tasks-generated (11 of 24 done)"
|
||||||
owner = ["src/openultrasast/search", "src/openultrasast/sandbox"]
|
owner = ["src/openultrasast/search", "src/openultrasast/sandbox"]
|
||||||
closes = "n/a (active)"
|
closes = "n/a (active)"
|
||||||
|
|
||||||
[spec.proof-arm-opencode]
|
[spec.proof-arm-opencode]
|
||||||
status = "active"
|
status = "deferred" # 2026-11-30, second decision
|
||||||
line = "search-with-proof"
|
line = "search-with-proof"
|
||||||
phase = "brief"
|
phase = "brief"
|
||||||
owner = ["src/openultrasast/search"]
|
owner = ["src/openultrasast/search"]
|
||||||
@@ -92,7 +95,7 @@ note = "the classifier it built is the second stage of the hunter arm and stays;
|
|||||||
closes = "mark remaining 27 tasks superseded by hunter-learning-loop; no code deletion"
|
closes = "mark remaining 27 tasks superseded by hunter-learning-loop; no code deletion"
|
||||||
|
|
||||||
[spec.plane-on-kubernetes]
|
[spec.plane-on-kubernetes]
|
||||||
status = "parked"
|
status = "superseded" # 2026-11-30, second decision
|
||||||
phase = "implementation (14 of 43 tasks)"
|
phase = "implementation (14 of 43 tasks)"
|
||||||
owner = ["src/openultrasast/plane"]
|
owner = ["src/openultrasast/plane"]
|
||||||
note = "kube move paused after groups 1-2 (2026-10-02); the ax lane is blocked on the gVisor checkpoint path (operator-owned)"
|
note = "kube move paused after groups 1-2 (2026-10-02); the ax lane is blocked on the gVisor checkpoint path (operator-owned)"
|
||||||
@@ -151,7 +154,7 @@ owner = []
|
|||||||
closes = "delete .kiro/specs/ir-consolidation"
|
closes = "delete .kiro/specs/ir-consolidation"
|
||||||
|
|
||||||
[spec.ai-service-plane]
|
[spec.ai-service-plane]
|
||||||
status = "done"
|
status = "retired" # 2026-11-30, second decision
|
||||||
owner = ["src/openultrasast/plane"]
|
owner = ["src/openultrasast/plane"]
|
||||||
|
|
||||||
[spec.model-grounded-detection]
|
[spec.model-grounded-detection]
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"feature_name": "ai-service-plane",
|
"feature_name": "ai-service-plane",
|
||||||
"created_at": "2026-09-29T15:40:00Z",
|
"created_at": "2026-09-29T15:40:00Z",
|
||||||
"updated_at": "2026-10-02T00:00:00Z",
|
"updated_at": "2026-11-30T00:00:00+01:00",
|
||||||
"language": "en",
|
"language": "en",
|
||||||
"phase": "implementation-complete",
|
"phase": "superseded",
|
||||||
"approvals": {
|
"approvals": {
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"generated": true,
|
"generated": true,
|
||||||
@@ -18,5 +18,10 @@
|
|||||||
"approved": true
|
"approved": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ready_for_implementation": true
|
"ready_for_implementation": false,
|
||||||
|
"phase_before_supersession": "implementation-complete",
|
||||||
|
"superseded_on": "2026-11-30",
|
||||||
|
"superseded_by": [],
|
||||||
|
"supersession_note": "This spec was complete. The plane it built is retired; its code is removed by the cut (roadmap step C2). The memory store and the spend meter move out of the plane package first (C1) and stay.",
|
||||||
|
"roadmap_state_2026_11_30": "retired with the kube and AX plane"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
> **RETIRED 2026-11-30** (maintainer decision; `.kiro/steering/roadmap.md`, "Second decision of
|
||||||
|
> 2026-11-30"). No work lands in this spec. The directory stays as history. This spec was complete. The plane it built is retired; its code is removed by the cut (roadmap step C2). The memory store and the spend meter move out of the plane package first (C1) and stay.
|
||||||
|
|
||||||
# Implementation Plan
|
# Implementation Plan
|
||||||
|
|
||||||
Order follows the dependency chain: ax bring-up (parallel with 1-2) -> manifests -> budget -> runner ->
|
Order follows the dependency chain: ax bring-up (parallel with 1-2) -> manifests -> budget -> runner ->
|
||||||
|
|||||||
@@ -128,6 +128,45 @@ Input for the requirements and task phases. The ids are this brief's.
|
|||||||
| D9 | The handoff of the top suspects to the proof arm | `hunter-learning-loop` 7.6 |
|
| D9 | The handoff of the top suspects to the proof arm | `hunter-learning-loop` 7.6 |
|
||||||
| D10 | One read of an accepted program on a held-out pilot, at most once per program | `hunter-learning-loop` 6 |
|
| D10 | One read of an accepted program on a held-out pilot, at most once per program | `hunter-learning-loop` 6 |
|
||||||
|
|
||||||
|
## Memory for the driver (added 2026-11-30)
|
||||||
|
|
||||||
|
The maintainer: "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. dspy has this, but it's missing".
|
||||||
|
|
||||||
|
Read on 2026-11-30:
|
||||||
|
|
||||||
|
- The store exists: `src/openultrasast/plane/memory.py`, a file backend and an S3 backend tested on RustFS,
|
||||||
|
rows per repository and pin, blobs by content (`excerpts/`, `embeddings/<model>/`, `responses/`,
|
||||||
|
`programs/`). `learn/` uses it (7 files). The driver in `hunt/` does not: it has only DSPy's local disk
|
||||||
|
cache. The store sits in the plane package, which is retired; it moves out first (roadmap step C1).
|
||||||
|
- DSPy 3.4.1 as installed exports `configure_cache`, `History`, `Embedder`, `Embeddings`, `KNN`,
|
||||||
|
`KNNFewShot`, `Retrieve` and tools for `ReAct`. It has no long-term memory, no pruning and no memory
|
||||||
|
agent. Those are ours to build.
|
||||||
|
|
||||||
|
Three stages. Each is entered by a result, as Requirement 7 demands; only M1 belongs to stage one.
|
||||||
|
|
||||||
|
| Stage | What the driver gets | Saves or improves | How it is measured |
|
||||||
|
| --- | --- | --- | --- |
|
||||||
|
| M1 Cache | Joern's results keyed by repository, revision, function digest, engine and query version; model answers keyed by the request digest; both in the store, so a second machine or a later session reuses them | saves cycles; changes no answer | run E0 and E1 twice: the second run starts no engine, makes no model call, and gives the same pages |
|
||||||
|
| M2 Case memory | every read example with a verified label becomes a case: its annotation, family, outcome and miss cause. Before answering, the driver retrieves the nearest cases and sees them as demonstrations | may improve | one experiment: with and without retrieval, on repositories the memory holds no case from |
|
||||||
|
| M3 Curator | a step that runs after an experiment, never while the driver answers: it writes cases, merges duplicates, scores each case by what happened when it was retrieved, and prunes | keeps M2 from decaying | one experiment: pruned against unpruned memory on the same held-out examples; pruning is a tombstone first, so it can be undone |
|
||||||
|
|
||||||
|
Rules that hold from M1 on:
|
||||||
|
|
||||||
|
- **Only verified labels enter the case memory:** a label from a fix or, later, from a demonstration. The
|
||||||
|
driver's own unverified answer is never stored as a case, or the memory learns the driver's mistakes.
|
||||||
|
- **Retrieval is held out by repository:** a question never retrieves a case from its own repository, and
|
||||||
|
no case comes from an admission or evaluation population.
|
||||||
|
- **A key carries its versions.** A cached result is void when the code, the engine, the query or the
|
||||||
|
program changed. That is the first pruning rule, and it needs no judgment.
|
||||||
|
- **Pruning reasons are a closed list:** version changed; duplicate of a kept case; contradicted by a later
|
||||||
|
verified label; retrieved often and unhelpful; over the cap for its family and framework.
|
||||||
|
- **The memory agent is a DSPy module of its own**, the curator of M3. Whether the driver also asks the
|
||||||
|
memory through a tool while it works, or receives the cases up front, is experiment E6's question.
|
||||||
|
|
||||||
|
Carried work added: **D11** the cache of M1 through the store (with D3); **D12** the case memory (M2);
|
||||||
|
**D13** the curator and pruning (M3). D12 and D13 have no criteria until E1 is read.
|
||||||
|
|
||||||
## Scope
|
## Scope
|
||||||
|
|
||||||
- **In.** The driver's inputs, signature, module, sampling, compilation and output; the two producers; the
|
- **In.** The driver's inputs, signature, module, sampling, compilation and output; the two producers; the
|
||||||
|
|||||||
@@ -210,3 +210,18 @@ that a good result here can still be tested fairly.
|
|||||||
detection rate of the tool.
|
detection rate of the tool.
|
||||||
4. The driver work shall record every model call with its model, version, sampling settings and cost.
|
4. The driver work shall record every model call with its model, version, sampling settings and cost.
|
||||||
5. While no paid run is in progress, the driver work shall run with both API keys unset.
|
5. While no paid run is in progress, the driver work shall run with both API keys unset.
|
||||||
|
|
||||||
|
## Amendments
|
||||||
|
|
||||||
|
- **2026-11-30, at approval.** The maintainer approved this document ("approved.") and raised memory:
|
||||||
|
"memory is key to save cycles, and it can improve. but we need a memory pruning and memory agent approach
|
||||||
|
here". Two changes. (a) Requirement 2 gains criterion 8 and Requirement 5 criterion 7, below: the cache
|
||||||
|
that saves cycles belongs to stage one. (b) The later stages of Requirement 7.1 gain two: whether
|
||||||
|
retrieval of verified cases from memory improves the driver on repositories the memory holds no case from
|
||||||
|
(M2), and whether a curator that prunes keeps that gain (M3). Like E2 to E6 they have no criteria until
|
||||||
|
the result before them is read. The thresholds of Requirements 5 and 6 are approved as proposed.
|
||||||
|
- Requirement 2, criterion 8: When a producer is asked for a result it already holds for the same
|
||||||
|
repository, revision, function content, engine version and query version, the driver work shall return
|
||||||
|
the stored result and shall record that it did.
|
||||||
|
- Requirement 5, criterion 7: When E0 is run a second time on the unchanged example book, the driver work
|
||||||
|
shall start no engine and shall report the same annotations byte for byte.
|
||||||
|
|||||||
@@ -3,11 +3,12 @@
|
|||||||
"created_at": "2026-11-30T00:00:00+01:00",
|
"created_at": "2026-11-30T00:00:00+01:00",
|
||||||
"updated_at": "2026-11-30T00:00:00+01:00",
|
"updated_at": "2026-11-30T00:00:00+01:00",
|
||||||
"language": "en",
|
"language": "en",
|
||||||
"phase": "requirements-generated",
|
"phase": "requirements-approved",
|
||||||
"approvals": {
|
"approvals": {
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"generated": true,
|
"generated": true,
|
||||||
"approved": false
|
"approved": true,
|
||||||
|
"note": "maintainer 2026-11-30: 'approved.'; thresholds of Requirements 5 and 6 as proposed; memory amendment recorded in requirements.md"
|
||||||
},
|
},
|
||||||
"design": {
|
"design": {
|
||||||
"generated": false,
|
"generated": false,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"created_at": "2026-10-02T20:00:00Z",
|
"created_at": "2026-10-02T20:00:00Z",
|
||||||
"updated_at": "2026-11-30T00:00:00+01:00",
|
"updated_at": "2026-11-30T00:00:00+01:00",
|
||||||
"language": "en",
|
"language": "en",
|
||||||
"phase": "implementation",
|
"phase": "superseded",
|
||||||
"approvals": {
|
"approvals": {
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"generated": true,
|
"generated": true,
|
||||||
@@ -18,6 +18,10 @@
|
|||||||
"approved": true
|
"approved": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ready_for_implementation": true,
|
"ready_for_implementation": false,
|
||||||
"roadmap_state_2026_11_30": "parked; only what search-with-proof needs on kube-ax"
|
"roadmap_state_2026_11_30": "retired with the kube and AX plane",
|
||||||
|
"phase_before_supersession": "implementation",
|
||||||
|
"superseded_on": "2026-11-30",
|
||||||
|
"superseded_by": [],
|
||||||
|
"supersession_note": "No task is carried. The kube and AX plane is retired; its code is removed by the cut (roadmap steps C2 and C3)."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
> **SUPERSEDED 2026-11-30** (maintainer decision; `.kiro/steering/roadmap.md`, "Second decision of
|
||||||
|
> 2026-11-30"). No work lands in this spec. The directory stays as history. No task is carried. The kube and AX plane is retired; its code is removed by the cut (roadmap steps C2 and C3).
|
||||||
|
|
||||||
# Implementation Plan
|
# Implementation Plan
|
||||||
|
|
||||||
> **Status 2026-10-04.** Groups 1-2 are done on kind (records `benchmarks/measurements/2026-10-02-k8s-01-profile/`
|
> **Status 2026-10-04.** Groups 1-2 are done on kind (records `benchmarks/measurements/2026-10-02-k8s-01-profile/`
|
||||||
|
|||||||
@@ -684,7 +684,7 @@ Preserve all completed task evidence below.
|
|||||||
- [ ] 18.1 Advisory suspects from the driver
|
- [ ] 18.1 Advisory suspects from the driver
|
||||||
- The hook consumes the driver's ordered suspects for the pushed change (`dspy-driver` D5) through the consumer contract of the core; each line names the location, the family and what the trace shows; the count per push is bounded and the bound is stated
|
- The hook consumes the driver's ordered suspects for the pushed change (`dspy-driver` D5) through the consumer contract of the core; each line names the location, the family and what the trace shows; the count per push is bounded and the bound is stated
|
||||||
- Done when a push on a development-pool repository prints the suspects, and a push with the driver unavailable prints one operational notice and no suspect
|
- Done when a push on a development-pool repository prints the suspects, and a push with the driver unavailable prints one operational notice and no suspect
|
||||||
- [ ] 18.2 A demonstrated finding in the hook output
|
- [ ] 18.2 A demonstrated finding in the hook output (waits for the follow-up proof spec; second decision of 2026-11-30)
|
||||||
- The hook prints the artifact of `search-with-proof` 7.2 in one bounded block; BLOCK is offered only for a demonstration, and only where the user chose blocking
|
- The hook prints the artifact of `search-with-proof` 7.2 in one bounded block; BLOCK is offered only for a demonstration, and only where the user chose blocking
|
||||||
- Done when the packaged vulnerable push shows the demonstration, and the fixed and the benign push show none
|
- Done when the packaged vulnerable push shows the demonstration, and the fixed and the benign push show none
|
||||||
- [ ] 18.3 Decide the deadline for the model and the search
|
- [ ] 18.3 Decide the deadline for the model and the search
|
||||||
|
|||||||
@@ -20,5 +20,5 @@
|
|||||||
},
|
},
|
||||||
"ready_for_implementation": false,
|
"ready_for_implementation": false,
|
||||||
"summary": "OpenCode-MCP proof-authoring arm for search-with-proof: abliterated/GLM proof model, DSPy-optimized from OpenObserve traces; trust-domain decision (A scoped-key-in-cluster vs B brain-on-VM) must be resolved first. Creds in .env by name.",
|
"summary": "OpenCode-MCP proof-authoring arm for search-with-proof: abliterated/GLM proof model, DSPy-optimized from OpenObserve traces; trust-domain decision (A scoped-key-in-cluster vs B brain-on-VM) must be resolved first. Creds in .env by name.",
|
||||||
"roadmap_state_2026_11_30": "active, line 2, with search-with-proof"
|
"roadmap_state_2026_11_30": "deferred; a follow-up spec opens once dspy-driver E1 is read; Docker on a dedicated runner, no external sandbox"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,5 +26,5 @@
|
|||||||
"false_proofs": 0,
|
"false_proofs": 0,
|
||||||
"exit_remaining": "path family >=5 demonstrations / 0 false proofs (Req 6.2), then >=73-negative BLOCK qualification (Req 6.3)"
|
"exit_remaining": "path family >=5 demonstrations / 0 false proofs (Req 6.2), then >=73-negative BLOCK qualification (Req 6.3)"
|
||||||
},
|
},
|
||||||
"roadmap_state_2026_11_30": "active, line 2 (proof shows them); group 7 added"
|
"roadmap_state_2026_11_30": "deferred; a follow-up spec opens once dspy-driver E1 is read; Docker on a dedicated runner, no external sandbox"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
> **DEFERRED 2026-11-30** (maintainer decision; `.kiro/steering/roadmap.md`, "Second decision of
|
||||||
|
> 2026-11-30"). No work lands here now. Proof becomes a follow-up spec once the driver's baseline
|
||||||
|
> (`dspy-driver`, E1) is read. It will run in Docker on a dedicated runner, with no external sandbox: no AX
|
||||||
|
> task, no gVisor, no cluster. This spec and the code under `src/openultrasast/search/` are its input. Of
|
||||||
|
> the open tasks, 1.1, 1.2, 3.2, 3.3 and 5.3 name the cluster and are dropped; 3.1, 6.2 to 6.4 and group 7
|
||||||
|
> are carried to the follow-up. The amendment of the same morning further down ("the proof arm is active")
|
||||||
|
> is withdrawn by this notice.
|
||||||
|
|
||||||
# Implementation Plan
|
# Implementation Plan
|
||||||
|
|
||||||
Scope: infrastructure probe and feasibility pilot only (Req 6.1-6.2). BLOCK qualification (6.3), the unseen-pool arm
|
Scope: infrastructure probe and feasibility pilot only (Req 6.1-6.2). BLOCK qualification (6.3), the unseen-pool arm
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
|
|
||||||
- **Rule 11 is executed.** The access-control arm is parked since 2026-10-31. Its fallback is now
|
- **Rule 11 is executed.** The access-control arm is parked since 2026-10-31. Its fallback is now
|
||||||
the plan: the driver (`dspy-driver`) finds, `search-with-proof` demonstrates, and a
|
the plan: the driver (`dspy-driver`) finds, `search-with-proof` demonstrates, and a
|
||||||
push is blocked only on a demonstration. `search-with-proof` is active, not parked.
|
push is blocked only on a demonstration. `search-with-proof` is deferred to a follow-up spec, opened once the driver's
|
||||||
|
baseline is read (the second decision of that day); BLOCK still needs its demonstration.
|
||||||
- **Rule 1 is narrowed.** "Recognition, then resolution, then judgment" ordered the deterministic
|
- **Rule 1 is narrowed.** "Recognition, then resolution, then judgment" ordered the deterministic
|
||||||
prover. It does not hold the driver back: the driver reads whatever the trace holds today, and
|
prover. It does not hold the driver back: the driver reads whatever the trace holds today, and
|
||||||
recognition and resolution work is chosen by what the driver's ablation shows missing.
|
recognition and resolution work is chosen by what the driver's ablation shows missing.
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
> **RETIRED 2026-11-30** (maintainer decision; `roadmap.md`, "Second decision of 2026-11-30"). The kube
|
||||||
|
> and AX plane is retired. No workload of this project runs on the cluster. This file is history.
|
||||||
|
|
||||||
# kube-ax operator constraints
|
# kube-ax operator constraints
|
||||||
|
|
||||||
Verified by the operator on 2026-10-05. These constraints apply across all workloads.
|
Verified by the operator on 2026-10-05. These constraints apply across all workloads.
|
||||||
|
|||||||
@@ -8,6 +8,11 @@ Everything below this section is dated history; where it disagrees with this sec
|
|||||||
section). Three lines of work and nothing else: the driver finds the bugs
|
section). Three lines of work and nothing else: the driver finds the bugs
|
||||||
(`dspy-driver`, which continues `hunter-learning-loop`), proof shows them (`search-with-proof`), the developer sees them
|
(`dspy-driver`, which continues `hunter-learning-loop`), proof shows them (`search-with-proof`), the developer sees them
|
||||||
(`pre-push-safety-net`). The benchmark and the core contract are frozen as built.
|
(`pre-push-safety-net`). The benchmark and the core contract are frozen as built.
|
||||||
|
- **Scope cut the same day.** The product is a safety net that produces evidence about a pushed
|
||||||
|
change. One line of work until it is read: the driver, stage one of `dspy-driver`. The kube and AX
|
||||||
|
plane is retired and is cut from the tree (`roadmap.md`, steps C1 to C5). `search-with-proof` is
|
||||||
|
deferred to a follow-up spec in Docker on a dedicated runner, opened once the driver's baseline is
|
||||||
|
read. The RustFS memory store stays and moves out of the plane package.
|
||||||
- **The driver** is the model-driven hunter, a DSPy program. It reads the change together with
|
- **The driver** is the model-driven hunter, a DSPy program. It reads the change together with
|
||||||
what abstract interpretation establishes (the prover's ordered trace, the engine's facts), is
|
what abstract interpretation establishes (the prover's ordered trace, the engine's facts), is
|
||||||
sampled several times per question, and is compiled on training repositories.
|
sampled several times per question, and is compiled on training repositories.
|
||||||
|
|||||||
@@ -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
|
- **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.
|
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
|
### 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) |
|
| `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 |
|
| `access-control-prover` | done | supplies the trace |
|
||||||
| `engine-change-scoped-analysis` | active, line 1 | takes the carried engine tasks (its `brief.md`) |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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
|
- **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.
|
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
|
### Open for the maintainer
|
||||||
|
|
||||||
- The spend ceiling of N3.
|
- 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
|
- 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
|
extensions whose results never reach a finding, `map_gate.py` and `pair_gate.py`, the local kind
|
||||||
executor). Nothing is deleted by this amendment.
|
executor). Nothing is deleted by this amendment.
|
||||||
|
|||||||
+7
-2
@@ -32,8 +32,9 @@ lines:
|
|||||||
operation, and the checks on the way. It is sampled several times per question and is taught on
|
operation, and the checks on the way. It is sampled several times per question and is taught on
|
||||||
training repositories only.
|
training repositories only.
|
||||||
2. **Proof shows them.** The proof arm builds the application and demonstrates a suspect by a
|
2. **Proof shows them.** The proof arm builds the application and demonstrates a suspect by a
|
||||||
differential: the issue triggers on the vulnerable revision and not on the fixed one. It was parked
|
differential: the issue triggers on the vulnerable revision and not on the fixed one. It is a pilot and
|
||||||
on 2026-11-20 and is active again. It is still a pilot.
|
it waits: it comes back as its own piece of work once the driver's first measurement has been
|
||||||
|
read, running in Docker on a dedicated runner.
|
||||||
3. **The developer sees it.** The hook and `ousast scan` show the driver's suspects as advisory, and
|
3. **The developer sees it.** The hook and `ousast scan` show the driver's suspects as advisory, and
|
||||||
a demonstrated finding with its evidence.
|
a demonstrated finding with its evidence.
|
||||||
|
|
||||||
@@ -43,6 +44,10 @@ on a demonstrated proof. The benchmark machinery is kept as built, and the gover
|
|||||||
the driver has shown a gain on training repositories. None of the three lines has a new measurement
|
the driver has shown a gain on training repositories. None of the three lines has a new measurement
|
||||||
yet.
|
yet.
|
||||||
|
|
||||||
|
The same day the scope was cut back to a safety net that produces evidence about a pushed change.
|
||||||
|
The plane on Kubernetes and its task runner are retired and will be removed from the tree; the
|
||||||
|
memory store stays. Until its first measurement is read, the driver is the only line of work.
|
||||||
|
|
||||||
## Where this is going
|
## Where this is going
|
||||||
|
|
||||||
On every push, from a hook or CI, OpenUltraSAST answers for the changed code. It stays advisory for
|
On every push, from a hook or CI, OpenUltraSAST answers for the changed code. It stays advisory for
|
||||||
|
|||||||
Reference in New Issue
Block a user