Skip to content

fix(spec-search): use Message objects in run_self_on_task and planner prompt fix#556

Open
gazaille4mila wants to merge 2 commits into
open-jarvis:mainfrom
gazaille4mila:fix-spec-search-run-self-message
Open

fix(spec-search): use Message objects in run_self_on_task and planner prompt fix#556
gazaille4mila wants to merge 2 commits into
open-jarvis:mainfrom
gazaille4mila:fix-spec-search-run-self-message

Conversation

@gazaille4mila

@gazaille4mila gazaille4mila commented Jun 18, 2026

Copy link
Copy Markdown

What does this PR do?

This PR fixes two concrete Spec Search failure modes in diagnose and planner flows.

How was this tested?

Added a regression test asserting Message(role=Role.USER, ...) is passed and output fields are preserved.

Checklist

  • Tests pass (uv run pytest tests/ -v)
    All green except for collecting tests/evals/comparison/test_export_to_table_gen_roundtrip.py failing because of polar import fail (nothing to do with my changes)
  • Linter passes (uv run ruff check src/ tests/)
  • Formatter passes (uv run ruff format --check src/ tests/)
  • New/changed public API has docstrings
    n/a
  • Follows registry pattern (if adding new component)
    n/a
  • Documentation updated (if applicable)
    n/a

@gazaille4mila gazaille4mila changed the title fix(spec-search): use Message objects in run_self_on_task fix(spec-search): use Message objects in run_self_on_task and planner prompt fix Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants