Skip to content

fix(sourcehunt): bound deep searches and stall decisions - #244

Open
jorge-garcia-le wants to merge 1 commit into
mainfrom
fix/stalling-searches
Open

jorge-garcia-le wants to merge 1 commit into
mainfrom
fix/stalling-searches

Conversation

@jorge-garcia-le

@jorge-garcia-le jorge-garcia-le commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add bounded repository content and path searches to deep hunters, with explicit empty and truncated results.
  • Guide hunters from search hits to source reads, block shell grep/find searches, and limit search-only stall resets while preserving the eight-step guard.
  • Require a final evidence-based decision for an active potential at the stall boundary.

Verification

  • uv run --group dev pytest -q tests/test_deep_agent_loop.py tests/test_deep_agent_tools.py tests/test_sourcehunt_subsystem.py tests/test_unconstrained_prompt.py — 137 passed.
  • Ruff lint and format checks pass for all changed Python files; git diff --check passes.
  • Repository-wide pytest -q — 3,769 passed, 1 skipped, 3 failed in test_machine_cli.py, test_minimax_compat.py, and test_otel.py (outside the changed files).
  • Repository-wide Ruff checks report existing issues in untouched files.

@jorge-garcia-le
jorge-garcia-le marked this pull request as ready for review September 30, 2026 01:13
@jorge-garcia-le
jorge-garcia-le added this pull request to stack #246 October 1, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant