Skip to content

Guard target selector overrides with action and shape evidence - #128

Open
SonAIengine wants to merge 1 commit into
mainfrom
codex/selector-action-consistency-0.43
Open

Guard target selector overrides with action and shape evidence#128
SonAIengine wants to merge 1 commit into
mainfrom
codex/selector-action-consistency-0.43

Conversation

@SonAIengine

Copy link
Copy Markdown
Owner

Summary

  • preserve an LLM target when a lower-ranked candidate only has surface-term overlap
  • penalize incompatible canonical actions and result shapes during deterministic selection
  • interpret the final requested action/shape for directive queries while preserving terse-query behavior

Real-data validation

  • replayed the five clear target-selection failures from a 1,133-tool XGEN collection
  • all five now select a read/list-compatible target without BO-specific aliases or operation names

Tests

  • poetry run ruff check .
  • poetry run ruff format --check .
  • poetry run pytest tests/ -q (1248 passed, 47 skipped)
  • make quick (270 passed, 3 skipped)

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