honcho/tests/dialectic
Eugene Eisenstein 514233aaef fix(dialectic): record prefetch evidence only once the context is built
The prefetch recorded the rows its searches returned immediately, then went
on to check for an empty result, stamp telemetry and format two markdown
sections. Any failure in that tail is swallowed by the surrounding handler,
which returns None and leaves `_prepare_query` building a prompt with no
prefetch block at all -- so evidence could name conclusions the agent was
never shown.

Move the recording below the formatting, so what is recorded is what the
returned context actually contains.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-03 14:07:37 -04:00
..
__init__.py feat: agentic dreamer and agentic dialectic (#309) 2026-01-12 15:12:17 -05:00
test_evidence.py fix(dialectic): record prefetch evidence only once the context is built 2026-09-03 14:07:37 -04:00
test_model_config_usage.py Refactor clients.py to add modern features and more flexible configuration (#459) 2026-04-20 02:46:37 -04:00
test_scope_preflight.py Scopes Phase 2b: `scope` option on chat, representation, context, and search (#897) 2026-08-12 18:34:55 -04:00
test_structured_output.py feat(dialectic): optional structured outputs with limited schema for Dialectic calls (#896) 2026-07-20 18:46:49 -04:00