Commit abd2215
feat(gnn): thread domain_hints through GnnGuidedSearch — activate weight-guided ranking
Phase 2 of the GNN feedback loop: now that /training/update populates
PROVER_DOMAIN_WEIGHTS in Julia, callers can route goal aspects through
the rank_premises path so Julia's weight-guided multiplier actually
fires (instead of always using the empty-aspects fast path).
- GnnClient::rank_premises_with_aspects(graph, aspects) — new method;
populates GnnRankRequest.domain_hints from the caller's aspect slice.
rank_premises(graph) is now a thin wrapper that passes &[] (no
behaviour change for existing callers).
- GnnGuidedSearch::rank_premises_with_aspects(state, premises, aspects)
— same pattern; rank_premises remains the no-aspect convenience
wrapper. Future agent code passing AgenticGoal.aspects automatically
activates the closed-loop scoring without any further wiring.
- build_request_payload now takes aspects and writes them into
domain_hints; existing tests pass &[].
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 11bc8a6 commit abd2215
2 files changed
Lines changed: 58 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
245 | 262 | | |
246 | 263 | | |
247 | 264 | | |
| |||
253 | 270 | | |
254 | 271 | | |
255 | 272 | | |
256 | | - | |
| 273 | + | |
257 | 274 | | |
258 | 275 | | |
259 | 276 | | |
| |||
269 | 286 | | |
270 | 287 | | |
271 | 288 | | |
272 | | - | |
273 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
274 | 295 | | |
275 | 296 | | |
276 | 297 | | |
| |||
307 | 328 | | |
308 | 329 | | |
309 | 330 | | |
310 | | - | |
| 331 | + | |
311 | 332 | | |
312 | 333 | | |
313 | 334 | | |
| |||
360 | 381 | | |
361 | 382 | | |
362 | 383 | | |
363 | | - | |
| 384 | + | |
364 | 385 | | |
365 | 386 | | |
366 | 387 | | |
| |||
426 | 447 | | |
427 | 448 | | |
428 | 449 | | |
429 | | - | |
| 450 | + | |
430 | 451 | | |
431 | 452 | | |
432 | 453 | | |
433 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
434 | 461 | | |
435 | 462 | | |
436 | 463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
163 | 175 | | |
164 | 176 | | |
165 | 177 | | |
166 | | - | |
| 178 | + | |
| 179 | + | |
167 | 180 | | |
168 | 181 | | |
169 | 182 | | |
170 | 183 | | |
171 | 184 | | |
172 | 185 | | |
| 186 | + | |
| 187 | + | |
173 | 188 | | |
174 | 189 | | |
175 | 190 | | |
176 | | - | |
| 191 | + | |
177 | 192 | | |
178 | 193 | | |
179 | 194 | | |
| 195 | + | |
180 | 196 | | |
181 | 197 | | |
182 | 198 | | |
| |||
187 | 203 | | |
188 | 204 | | |
189 | 205 | | |
190 | | - | |
191 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
192 | 213 | | |
193 | 214 | | |
194 | 215 | | |
| |||
0 commit comments