* Benchmark: what a Deep Dream teaches, counted on unseen scenes
scripts/benchmark_dream.py trains the practice scenes of eight lessons for
a coding agent with a shell tool and counts, with a pattern per lesson,
the unseen scenes where the answer follows it: before, with the note the
teacher is shown, and after. It also counts what should not change (still
a tool call, the action at unrelated requests, a lesson applied in another
stack) and sets the gate's judge beside the pattern on every answer.
* Only an empty folder or an earlier run is cleared
run() removed whatever --output named. A slip (--output . from the
repository, --output ~/models) would have deleted it. The folder is
cleared only when it is empty or holds a report.json of this benchmark,
which is now written before the first Dream so a stopped run counts too;
anything else is refused and left as it is.
* e2e: seed practice scenes so the Dreams log stage can train
Under learning="dreams" the train pool is kept practice scenes
from the practice table. The harness recorded exchanges but never
seeded practice rows, so preview() saw train=0 and the log stage
always failed for vLLM. seed_practice() writes the same table
release_dream.py seeds; the log stage now calls it for both the
live and seeded paths.
* Satisfy ruff in the new test
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: zw2700 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
* e2e: expect the proxied reply name in the record stage
ModelRename gives the client back the name it asked for, so the
reply model is config.public_model, never the upstream's served
id. The assert compared against the served id and stopped every
vLLM run at 'Recording used the wrong base'; the stored-row
binding check two lines below still proves the base was used.
* Satisfy ruff in the new test
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: zw2700 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
A local model that learns from how you use it: a proxy that records your
agent's conversations, Quick Dreams that add your preferences to the
model's instructions, and Deep Dreams that train a small adapter on
practice and use it only if it passes its checks.
Co-Authored-By: Claude Opus 5.5 <[email protected]>