Skip to content

Fix AI tool prompt alignment and diagnostics - #644

Open
codedogQBY wants to merge 1 commit into
mainfrom
codex/fix-ai-tool-alignment
Open

Fix AI tool prompt alignment and diagnostics#644
codedogQBY wants to merge 1 commit into
mainfrom
codex/fix-ai-tool-alignment

Conversation

@codedogQBY

Copy link
Copy Markdown
Owner

Summary

  • keep AI system workflow instructions aligned with the tools actually registered for the turn
  • add per-tool timeout defaults and concise tool start/end/timeout diagnostics
  • make tool schemas tolerate common JSON object/array and numeric-string arguments
  • make early tool-call UI dedupe match by tool name instead of a raw counter

Verification

  • corepack pnpm --filter @readany/core exec tsc --noEmit
  • corepack pnpm --filter @readany/core exec vitest run src/ai/tests/system-prompt.test.ts src/ai/tests/reading-agent-tools.test.ts src/ai/tests/tool-call-state.test.ts src/ai/tests/tool-result.test.ts

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