mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-04 10:48:19 +00:00
spec(dspy-driver): the driver gets its own spec, measured by example
The open work of hunter-learning-loop (4.1, 6 and the group 7 of the same day) moves to dspy-driver as D1 to D10. The brief maps the driving in seven stages and orders the experiments E0 to E6. The abstract interpretation is wired in before anything is measured: the prover's trace and Joern's results are not inputs of the driver today. HarnessX is gone from the tree, and the four plane modules the ledger suspected are still imported. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
1a9865496b
commit
e3f2f608d5
+30
-16
@@ -50,7 +50,9 @@ revision and not on the fixed one.
|
||||
Work lands on these three lines and on nothing else. A session that touches none of them is
|
||||
plumbing and needs the maintainer's word for that session.
|
||||
|
||||
1. **The driver finds the bugs.** Spec: `hunter-learning-loop` (amended 2026-11-30, group 7).
|
||||
1. **The driver finds the bugs.** Spec: `dspy-driver` (opened 2026-11-30; it continues
|
||||
`hunter-learning-loop`, whose open tasks moved there). Its brief maps the driving and orders the
|
||||
experiments E0 to E6; the driver is measured by example.
|
||||
The driver reads the change and the abstract interpretation of it (the prover's trace, the
|
||||
engine's facts) and names suspect locations. It runs as a DSPy program: sampled several times
|
||||
per question, scored by agreement, and compiled on training repositories only. Its facts come
|
||||
@@ -74,17 +76,22 @@ before the step starts.
|
||||
|
||||
- **N0. Close the plumbing.** The record commit for `contributor-scan` item 5b. Item 5c and step 6
|
||||
are not done; they end with the spec (see the spec map). No number.
|
||||
- **N1. Driver baseline on the trace.** Run the driver as it is over
|
||||
`benchmarks/valid/train/pool-train.toml`, once with the trace in its input and once without, the
|
||||
same changes and sampling for both. Number: search recall and suspicions per ordinary push, with
|
||||
intervals. Paid: needs the maintainer's ceiling. (`hunter-learning-loop` 7.1, 7.2.)
|
||||
- **N1. Wire the abstract interpretation into the driver, then take the baseline.** Read on
|
||||
2026-11-30: the driver receives neither the prover's trace nor anything from Joern; no module
|
||||
under `hunt/` imports `cpg`. The maintainer: "that must be done first, otherwise we are testing
|
||||
ghosts". So first the two producers, the prover's trace (access control) and Joern's taint path
|
||||
and dominance results (path traversal), each proving nonzero input (`dspy-driver` D2, D3; a small
|
||||
example book first, D1). Number for the wiring: the share of training-pool changes with a nonempty annotation, per
|
||||
family. Only then the baseline over `benchmarks/valid/train/pool-train.toml`: the same changes
|
||||
and sampling with no annotation, with the trace, and with Joern's results. Number: search recall
|
||||
and suspicions per ordinary push, with intervals. Paid: 10 USD ceiling. (D4, experiment E1.)
|
||||
- **N2. The bugs to avoid, as a training set.** The maintainer names the families and the kind of
|
||||
repository that matter; the training set is sourced apart from every admission population
|
||||
(`hunter-learning-loop` 4.1, with the whole-repository vibe-code pairs carried from
|
||||
(`dspy-driver` D6, with the whole-repository vibe-code pairs carried from
|
||||
`contributor-scan` 5.2). Number: accepted positives per family and language.
|
||||
- **N3. The DSPy loop.** Compile on the compile folds, accept by the rule of task 5.2, pass the
|
||||
reversed-pair probe of `core/probes.py`. Number: the paired gain on held-out folds over N1.
|
||||
(`hunter-learning-loop` 7.3 to 7.5.)
|
||||
(`dspy-driver` D5, D7, D8; experiments E2 to E6.)
|
||||
- **N4. Proof on what the driver finds.** Finish the path family of the pilot (five
|
||||
demonstrations, zero false proofs), then feed the driver's suspects into the search. Number:
|
||||
demonstrated rate, false proofs, cost per search. (`search-with-proof` 6.2 to 6.4, 7.1.)
|
||||
@@ -116,7 +123,8 @@ N1 to N3 and N4 run side by side. N4 does not wait for N3: the proof arm has its
|
||||
|
||||
| Spec | State | What happens to its open tasks |
|
||||
| --- | --- | --- |
|
||||
| `hunter-learning-loop` | active, line 1 | 4.1 and 6 stay; group 7 added |
|
||||
| `dspy-driver` | active, line 1; new 2026-11-30 | brief and requirements input written; requirements, design and tasks to come |
|
||||
| `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 |
|
||||
@@ -124,10 +132,10 @@ N1 to N3 and N4 run side by side. N4 does not wait for N3: the proof arm has its
|
||||
| `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 |
|
||||
| `contributor-scan` | superseded | 2.14, 5.6, 5.12, 7.2, 7.4 to `engine-change-scoped-analysis`; 5.2 to `hunter-learning-loop`; the rest dropped |
|
||||
| `learned-decision-engine` | superseded | 16 and 17 to `hunter-learning-loop`; 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 `hunter-learning-loop`; the rest is covered by the prover's path records |
|
||||
| `authorization-obligations` | superseded | 2.6 to `engine-change-scoped-analysis`; 3.3 to `hunter-learning-loop`; the rest is covered by the prover |
|
||||
| `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 |
|
||||
| `authorization-obligations` | superseded | 2.6 to `engine-change-scoped-analysis`; 3.3 to `dspy-driver`; the rest is covered by the prover |
|
||||
| `finding-feedback-loop`, `flow-aware-ranking`, `zero-with-a-reason`, `ir-consolidation`, `mcp-shift-left-agent` | superseded | none carried |
|
||||
|
||||
A superseded spec keeps its directory as history, with a notice at its top; no work lands there.
|
||||
@@ -149,10 +157,16 @@ with its lever and number named.
|
||||
### Open for the maintainer
|
||||
|
||||
- The spend ceiling of N3.
|
||||
- Code that the superseded specs leave without an owner (the ledger's `review` entries: the plane
|
||||
executor modules of the removed HarnessX loop, 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.
|
||||
- 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.
|
||||
- **HarnessX is not used anymore** (maintainer, 2026-11-30), and the tree agrees: it was removed on
|
||||
2026-09-30, and `tests/test_removed_plane_references.py` fails on any mention outside the
|
||||
retirement notes in `config.py`. No code depends on it. The ledger's suspicion that
|
||||
`plane/engine_alerts.py`, `harvest.py`, `workspaces.py` and `profile.py` served only the HarnessX
|
||||
loop does not hold: read on 2026-11-30, each is imported by `cli.py`, and by `benchmarks/learn`
|
||||
or `ops/ax`. They are plane code and follow the plane's fate, not HarnessX's. What is left of
|
||||
HarnessX is wording: comments that cite the `harnessx-removal` spec, and the superseded specs.
|
||||
- Whether the cohort review of 11.6 gets a second reviewer or a recorded single-maintainer rule.
|
||||
- M2, the 30 second gate: no task owns graph reuse. Either line 3 takes it, or the hook answers in
|
||||
the background and says so.
|
||||
|
||||
Reference in New Issue
Block a user