Repository navigation
fix(prompts): clarify Jev reason() invocation in system prompts - #14
Merged
Merged
Conversation
Clarify Python/TypeScript third positional options and reject mode= kwargs. Give bash-only CLI guidance with required --structure; drop JS object hint from bash system prompts. Align runner docs and lock text in prompt tests. Co-authored-by: yao <yaonyan@users.noreply.github.com>
Replace 快速有界判断 in Jev guidance strings across prompts, runner docs, and tests. Call-shape instructions unchanged. Co-authored-by: yao <yaonyan@users.noreply.github.com>
yaonyan
added this pull request to stack #15
October 4, 2026 13:19
yaonyan
marked this pull request as ready for review
October 4, 2026 13:49
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.
Summary
Live bounded-judgment runs showed models mis-calling
reason()on the first try: Python usedmode=kwargs (bridge is positional-only), TypeScript swapped the options object into the example slot, and Bash followed a JavaScript{ mode: "jev" }line from the shared core while inventing unsupported flags.This PR tightens prompt text and matching runner docs/tests only — no API or bash parser changes.
Changes
reason(prompt, example, {"mode": "jev"}), explicit second/third argument order, and thatmode=keyword arguments are invalid.reason --prompt "…" --structure '…' --mode jevwith--structurerequired.one-runner-python.md,one-runner-bash.md, and the brief README note aligned with runtime prompts.prompts.test.tslocks the new strings and asserts bash prompts do not include the Python/TS object wording.Verification
vitest run tests/prompts.test.ts— 42 passedStacked on
feat/one-agent-jev-mode(parent PR #13) so the diff is prompt/doc/test only.