Skip to content

OpenAI strict-mode tool schemas + interactive runtime picker - #6

Merged
MrSpacemann merged 1 commit into
mainfrom
kanban/2322c1d5-b93e-4831-b5fd-3e54d2cf57db-take-a-look-at-the-entire-pollys
Jul 2, 2026
Merged

OpenAI strict-mode tool schemas + interactive runtime picker#6
MrSpacemann merged 1 commit into
mainfrom
kanban/2322c1d5-b93e-4831-b5fd-3e54d2cf57db-take-a-look-at-the-entire-pollys

Conversation

@MrSpacemann

Copy link
Copy Markdown
Owner

Implements the two actionable recommendations from the audit (PR #5 follow-up). Reviewed clean by the code-review gate; 130 tests green.

  • tools.json parameters now accept boolean additionalProperties — the key OpenAI strict function calling requires. Pure loosening: every previously-valid tools.json stays valid; the key flows through adapters verbatim (verified end-to-end with a real strict-mode skill build). Server lockstep rule documented in the wiki: publish @polyskill/core, then bump the server's dependency.
  • install prompts to pick a runtime when several are detected on a TTY instead of dead-ending with exit 1. Non-TTY environments (agents, CI, pipes) keep the previous exit + --target hint, so nothing can hang waiting for input.

🤖 Generated with Claude Code

- tools.json parameters now accept boolean additionalProperties (the
  key OpenAI strict function calling requires); TS types updated; the
  key flows through adapters verbatim. Loosening ships client-first —
  wiki entry documents the server lockstep rule for schema changes
- install: when multiple runtimes are detected on a TTY, prompt to pick
  one instead of exiting; non-TTY (agents/CI) keeps the exit-1 +
  "re-run with --target" behavior. resolveTarget is now async

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@MrSpacemann
MrSpacemann merged commit 588af85 into main Jul 2, 2026
4 checks passed
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