🪜 feat: Project Accepted Model Tool Calls - #560
Conversation
|
Review handoff for exact pushed head |
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fd208ff6f8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Review handoff for exact remote head |
|
@codex review the latest head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c26f6dc4b1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Review handoff for exact remote head |
|
@codex review the latest head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 79288adf8d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Review handoff for exact remote head |
|
@codex review the latest head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 557068f6b1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Review handoff for exact remote head |
|
@codex review the latest head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6e0000baad
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Review handoff for exact remote head Invariant-based self-reviewReviewed the source-of-truth path, acceptance and publication ordering, input/result ownership, retries, cancellation, ID allocation, observer composition, subagent forwarding, usage/tracing, resource bounds and rollout compatibility. Codegraph and GitHub agreed on the starting head Found and fixed:
Evidence: eight failing regressions for snapshot/map paths, then three failing real-composition/finalizer regressions before fixes. The final focused run passed 830 tests across 30 suites, including fallback, overflow, cancellation, prepared tools, nested subagent/replay paths and Langfuse callbacks/trace shaping. Real execution suite repeated 3/3 successfully. TypeScript, touched-file zero-warning ESLint, formatting, CJS/ESM build/exports and circular-dependency checks passed. CI and a fresh review must refer to the new commit, not an earlier green head. Limits and next gate:
Local synthetic projector scaling check (10 repetitions after warmup): 64 calls/~250 KB averaged 0.78 ms; 256 calls/~1 MB averaged 2.59 ms; 1024 calls/~4 MB averaged 9.69 ms. Forty near-cap complete/abort cycles had no retained heap growth after explicit GC in this run. This excludes provider execution, graph snapshots, retained observers and HTTP, and is not a production performance guarantee. |
|
@codex review the latest head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9441e860cb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Review handoff: |
|
Exact pushed head: Self-review follow-up: all three reproduced findings are addressed on the head below.
Invariant review covered both graph-created ToolNode variants, observer failure/isolation, provider event spoofing, agent/message collisions, repeated-round buffer release, replay authorization and checkpoint restoration, cancellation, eager execution, fallback/preemption, and tracing. The replay regression caught and eliminated an early observer await before authority restoration. No checkpoint format or authorization rule changed. Hosts still finish only after natural completion and abort on interruption/error; there is no durable wire-delivery guarantee. Verification:
No Codex review covers this new head yet. A maintainer can trigger that review from this exact-head handoff. Nothing has been merged or released. CI at handoff: 12 checks passed, including all four unit shards; Anthropic summarization is still running. No unresolved inline review threads were present. |
|
@codex review the latest head |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1aee7ea211
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Exact pushed head: This head replaces implicit "unclaimed means client" with trusted per-call SDK/provider/client disposition. A pure single-agent handoff requires Validation: 583 passing tests across 25 focused suites (one pre-existing benchmark skipped); |
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Provide an opt-in OpenAI tool-call projector driven by accepted graph results rather than provider fragments. SDK and provider-executed calls never become client instructions, even when the graph bypasses ToolNode. A single-agent host must explicitly configure
clientDelegatedToolNamesto return a valid call to the OpenAI client instead of executing it locally. Mixed client/graph batches fail closed.Design
Usage and limits:
README.md. Proposed decision:docs/adr/0010-project-accepted-model-results.md.Verification
Pushed head
cb66b3f486c336cfc5717e8fba1789b5312734b3: 583 passing tests across 25 focused suites; one existing benchmark skipped. TypeScript typecheck, zero-warning scoped lint, import order, CJS/ESM/declaration build and circular-dependency check pass locally. Regressions cover real graph and SSE output, externally executed server tools, frozen invoke results, explicit client handoff, mixed batches, eager host dispatch, fallback, replay/approval, preemption and tracing. CI for this head is running.Scope
No merge, npm release or LibreChat cutover. The client handoff is deliberately single-agent and rejects mixed client/graph batches. No eager side-effect rollback or durable wire delivery is promised. Live-provider and live-Langfuse-project checks were not run.
Related: LibreChat-AI/LibreChat#13987, LibreChat-AI/LibreChat#16206 and #260.