Commit 4863d2b
committed
coordinator: derive KNOWN_DETECTORS from baseline; reword proposer prompt for blank slate
Blank-slate variant: the observer has no detectors/correlators at launch.
The hardcoded KNOWN_DETECTORS tuple (bocpd/scanmw/scanwelch) made every
candidate on observer-blank fall through relevant_detectors() to a list
of names that don't exist in the catalog, producing empty eval reports
and nonsensical gate outcomes.
- driver.py: replace module-level KNOWN_DETECTORS with known_detectors(db)
that reads baseline.detectors.keys(). When baseline is empty (true
blank slate), relevant_detectors() returns the candidate's own
target_components so the eval still runs against the detector the
candidate just created. Gains as baseline re-imports happen.
- proposer.py: rewrite the three prompt paragraphs that named
bocpd/scanmw/scanwelch as existing; they don't exist on this branch.
Tell the agent it's inventing detectors from scratch, must register
them in component_catalog.go, and must keep the name stable across
iterations so baseline/gate lines up.
Live run (q-branch-observer) uses ella/claude-coordinator-harness and
is untouched.1 parent d2bb80a commit 4863d2b
2 files changed
Lines changed: 48 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | | - | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
559 | 570 | | |
560 | 571 | | |
561 | | - | |
| 572 | + | |
562 | 573 | | |
563 | 574 | | |
564 | 575 | | |
565 | 576 | | |
566 | | - | |
567 | | - | |
| 577 | + | |
| 578 | + | |
568 | 579 | | |
569 | 580 | | |
570 | 581 | | |
571 | | - | |
| 582 | + | |
572 | 583 | | |
573 | 584 | | |
574 | 585 | | |
575 | | - | |
| 586 | + | |
576 | 587 | | |
577 | | - | |
578 | | - | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
579 | 591 | | |
580 | | - | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
581 | 596 | | |
582 | 597 | | |
583 | | - | |
| 598 | + | |
584 | 599 | | |
585 | 600 | | |
586 | | - | |
| 601 | + | |
587 | 602 | | |
588 | 603 | | |
589 | 604 | | |
590 | | - | |
| 605 | + | |
591 | 606 | | |
592 | 607 | | |
593 | 608 | | |
| |||
847 | 862 | | |
848 | 863 | | |
849 | 864 | | |
850 | | - | |
| 865 | + | |
851 | 866 | | |
852 | 867 | | |
853 | 868 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
| |||
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
185 | 189 | | |
186 | 190 | | |
187 | 191 | | |
| |||
216 | 220 | | |
217 | 221 | | |
218 | 222 | | |
219 | | - | |
220 | | - | |
221 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
222 | 227 | | |
223 | 228 | | |
224 | 229 | | |
| |||
0 commit comments