Teach agents to validate calls before fan-out - #837
Closed
yuelgrace1810-ops wants to merge 1 commit into
Closed
Conversation
Owner
|
this should be at the tool layer not the skill (try asking your codex to inspect the validaiton, how it processes the tools) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
In two independent bounded graph-search trajectories, the agent sent eight parallel
graph.search.atlascalls with the same invalidlimit: 2000payload. The contract allows at most 100, so one unvalidated payload mistake became eight identical errors.Solution
Teach the managed Jacobian math Skill to run one representative canary call before repeating a payload shape in parallel, and fan out only after that call succeeds. Keep the repository and packaged Skill byte-identical and within the existing 4 KiB budget.
Evaluation evidence
INVALID_REQUESTdiagnostics.Overlap
PR #786 documents exact contract inspection. It does not address parallel amplification of one unvalidated payload. No open PR or current Skill guidance contains an equivalent canary-before-fan-out rule.
Testing
uv run pytest tests/unit/tooling/test_codex_visibility.py -q— 14 passedquick_validate.py— passedgit diff --check— passedTrust & Compatibility Impact
Instruction-only change. No mathematical capability, verifier, artifact format, public API, or assurance behavior changes.
Checklist