Skip to content

Add idempotent runtime tool completion#341

Merged
chubes4 merged 2 commits into
mainfrom
feat/runtime-tool-idempotent-transitions
Jun 18, 2026
Merged

Add idempotent runtime tool completion#341
chubes4 merged 2 commits into
mainfrom
feat/runtime-tool-idempotent-transitions

Conversation

@chubes4

@chubes4 chubes4 commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add storage-neutral lifecycle semantics for completing runtime tool requests only while pending.
  • Return retained prior runtime tool results for duplicate completions when the store exposes them, without re-running continuation.
  • Refuse duplicate completions for terminal records that cannot provide a prior result, before overwriting store data.

Tests

  • composer smoke
  • composer phpstan
  • php tests/tool-runtime-smoke.php

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: implemented and tested runtime tool idempotent transition semantics

@chubes4 chubes4 merged commit 3a68b52 into main Jun 18, 2026
2 checks passed
@chubes4 chubes4 deleted the feat/runtime-tool-idempotent-transitions branch June 18, 2026 12:51
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