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]>
1.6 KiB
Requirements Document
Project Description (Input)
Who has the problem. The maintainer, and after them a developer who pushes AI-written web application code (Express/TypeScript, FastAPI/Python) and wants to be told about the access-control and path-traversal bugs in a change before it ships.
Current situation. The driver, the model-driven hunter, is a DSPy program (src/openultrasast/hunt/).
It was measured in October 2026 on inputs that describe the shape of code and cannot decide unsafety. The
abstract interpretation the project has, the access-control prover's ordered trace and Joern's taint and
dominance results, is not connected to it: no module under hunt/ imports cpg, and the trace is not among
the driver's inputs. The choices of the DSPy strategy (one call or a tool loop, how many samples, which
optimiser, which examples) were never settled by measurement.
What should change. The driver becomes the mapped-out core of the engine: it reads a change together with what abstract interpretation establishes about it, is sampled several times and scored by agreement, and is compiled on training repositories only. Every choice in that strategy is made by one experiment on named examples, and a small example book lets the maintainer read, per example, what the driver was given, what it answered and why it missed. Admission populations are never read by this work.
The map of the driving, the method, the ordered experiments E0 to E6 and the carried work D1 to D10 are in
brief.md.