bench(learn): harvest signals for the decision engine (decision-engine task 5)

`ousast plane harvest` (plane/harvest.py) writes two Runs over a label snapshot:
verify a/b + agree on the verify-family units (both sides of each labelled pair as
an opaque files-only Workspace, candidates outside the hunt's root, no declared
sites; v1 and dev-php pins with repo-facts first) and model roles on the candidate
files (pair excerpts grouped, one Task per population pin). Budgets sum under the
ceiling by construction. New roles task template; the generator re-pins it.

Spent by attribution: verify $2.54 (1961 calls, 150 units, 182 hunts per pass),
roles $1.40 (1034 calls, 799 files, 0 unclassified chunks); DeepSeek balance
19.63 -> 18.23. Engine on the pair corpus (benchmarks/learn/engine_pairs.py,
frozen e6ed785, one 3g container) is PARTIAL: 384 of 686 sides at commit, still
running; unfinished sides stay missing. benchmarks/learn/build_features.py built
1712 static+plane records into the memory store; counts-only record under
benchmarks/measurements/2026-10-01-decision-engine-harvest/.

source/roles parts are `none`, not `failed`, for a language without a declaration
pattern (C). ops/ax/README: Substrate golden-actor disk leak and the inline
Workspace limit (~20 KB).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EmM1j46qgKMh3zqD1QMwEo
This commit is contained in:
Marius Ciepluch
2026-10-01 14:04:28 +02:00
co-authored by Claude Opus 5.5
parent e6ed7854bb
commit 34da916030
21 changed files with 1739 additions and 137 deletions
@@ -1,7 +1,7 @@
{
"modules": 143,
"modules": 144,
"counts": {
"load_bearing": 136,
"load_bearing": 137,
"standalone_capability": 7
},
"orphaned": [],
@@ -354,6 +354,7 @@
"cli",
"learn.features",
"learn.roles",
"plane.harvest",
"plane.tasks.features",
"plane.tasks.remember",
"plane.tasks.roles"
@@ -372,13 +373,14 @@
"classification": "load_bearing",
"reason": "reachable from gate, map_gate, pair_gate or the CLI",
"importers": [
"cli"
"cli",
"plane.harvest"
]
},
{
"module": "learn.roles",
"classification": "load_bearing",
"reason": "imported by learn.features, plane.tasks.features, plane.tasks.roles",
"reason": "reachable from gate, map_gate, pair_gate or the CLI",
"importers": [
"learn.features",
"plane.tasks.features",
@@ -709,6 +711,7 @@
"learn.labels",
"model.candidates",
"pair_gate",
"plane.harvest",
"plane.tasks.loop"
]
},
@@ -722,6 +725,7 @@
"plane.egress",
"plane.engine_alerts",
"plane.generate",
"plane.harvest",
"plane.memory",
"plane.reconciler",
"plane.router",
@@ -769,6 +773,15 @@
"module": "plane.generate",
"classification": "load_bearing",
"reason": "ai-service-plane task 7: an increment's Workspaces, per-case Tasks and Run from a recorded set",
"importers": [
"cli",
"plane.harvest"
]
},
{
"module": "plane.harvest",
"classification": "load_bearing",
"reason": "reachable from gate, map_gate, pair_gate or the CLI",
"importers": [
"cli"
]
@@ -780,6 +793,7 @@
"importers": [
"plane.egress",
"plane.generate",
"plane.harvest",
"plane.reconciler",
"plane.router",
"plane.runner",
@@ -803,6 +817,7 @@
"reason": "ai-service-plane Req 3.1-3.5, 7.3: ax-backed Run execution, status attribution and doctor; `ousast plane`",
"importers": [
"plane.generate",
"plane.harvest",
"plane.memory",
"plane.workspaces"
]
@@ -833,6 +848,7 @@
"learn.roles",
"plane.engine_alerts",
"plane.generate",
"plane.harvest",
"plane.memory",
"plane.tasks.agree",
"plane.tasks.alerts",
@@ -888,6 +904,7 @@
"learn.labels",
"learn.roles",
"plane.generate",
"plane.harvest",
"plane.tasks.alerts",
"plane.tasks.features",
"plane.tasks.remember",
@@ -898,7 +915,9 @@
"module": "plane.tasks.roles",
"classification": "load_bearing",
"reason": "learned-decision-engine Req 8.1: model role classification per file chunk (model_sinks.py moved in); its Run template comes with the harvest (task 5)",
"importers": []
"importers": [
"plane.harvest"
]
},
{
"module": "plane.tasks.verify",
@@ -906,6 +925,7 @@
"reason": "ai-service-plane Req 5.3/2.1-2.3/7.2: the batched hunt with known callers, metered and resumable per file hunt",
"importers": [
"plane.generate",
"plane.harvest",
"plane.tasks.agree",
"plane.tasks.roles"
]
@@ -966,6 +986,7 @@
"model.partitions",
"model.scan",
"pairs",
"plane.harvest",
"plane.tasks.alerts",
"plane.tasks.features",
"plane.tasks.repo_facts",