Commit graph

10 commits

Author SHA1 Message Date
oyasumi
00593da239 fix(scope): show host scope in CLI summaries 2026-08-19 00:55:05 +00:00
oyasumi
7b41840e4d fix(scope): render configured URLs as hosts 2026-08-19 00:44:25 +00:00
oyasumi
ee82875ea6 fix(scope): authorize target and instruction hosts 2026-08-18 23:44:38 +00:00
oyasumi
2b31491b10 feat(scope): pass the prompt as the task and inject targets as context, not hard scope
Scope was derived from the extracted targets and enforced in the system prompt:
the SYSTEM-VERIFIED SCOPE / AUTHORIZED TARGETS block told the agent to test only
the listed targets and to ignore any asset named only in the instructions. A
prompt that listed several endpoints in prose therefore had most of them treated
as out of scope, and the agent refused them.

- Remove the SYSTEM-VERIFIED SCOPE / authorized-targets block from the system
  prompt so nothing gates the agent to a target list.
- Rebuild build_root_task: the user's prompt is the task itself (no "Special
  instructions:" framing). When a target is set it is still injected, but below
  the prompt as run context ("informs the task above; not a scope restriction"),
  never as an enforced boundary. On-disk plumbing (repo/workspace paths) and PR
  diff-scope are unchanged; with no prompt, targets stand as the task.
- Drop the now-stale scope-subordination wrapper in
  _compose_root_instructions_override.

build_scope_context still populates authorized_targets for the safety runtime;
it is simply no longer turned into scope-enforcement prompt text.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-18 01:03:42 +00:00
Ahmed Allam
4a455b1e62 fix(core): recover from hallucinated tool names instead of ending the scan
A tool call for a name Strix does not register raised ModelBehaviorError
from the SDK turn resolver, which nothing retries: the root agent's raise
tore down the whole scan and a sub-agent died before its status was set.
Opt into the SDK's tool_not_found_behavior="return_error_to_model" so the
unknown call comes back as a tool result and the agent self-corrects.

The setting landed in openai-agents 0.19.0, which requires openai>=2.45,
so both pins move.
2026-08-04 06:14:54 +03:00
devin-ai-integration[bot]
d4e58b2cd0
fix(llm): pass LLM_EXTRA_HEADERS through ModelSettings so they reach the agent loop (#937) 2026-07-29 19:38:06 -07:00
seanturner83
27f9750cdc
feat(llm): enable Bedrock/Anthropic prompt caching for Claude models (#772)
Co-authored-by: Sean Turner <sean.turner@zerohash.com>
Co-authored-by: Ahmed Allam <ahmed39652003@gmail.com>
2026-07-26 17:12:57 -07:00
yoni-at-strix
cd8270c98b
Sign in with a ChatGPT subscription for inference (#854)
Co-authored-by: Jonathan Singer <jonathansinger@Jonathans-MacBook-Pro.local>
Co-authored-by: Jonathan Singer <jonathansinger@Mac-3004.lan>
Co-authored-by: Ahmed Allam <ahmed39652003@gmail.com>
2026-07-24 15:41:19 -07:00
Ahmed Allam
3bb95ab43d fix(llm): add per-turn model request timeout so stalled streams fail fast and retry 2026-07-17 18:40:23 -07:00
alex s
a5f28c6b4b Add root scan prompt options (#750) 2026-07-12 12:31:15 -04:00