Skip to content

harness-backed Think: E4 follow-ups (applied rejection reason, model resolved once, tighter race test) - #3448

Closed
mattzcarey wants to merge 1 commit into
mainfrom
slim/harness-e4-followup
Closed

mattzcarey wants to merge 1 commit into
mainfrom
slim/harness-e4-followup

Conversation

@mattzcarey

Copy link
Copy Markdown
Member

This follows up three of E4's (#3351) Devin threads on the harness-backed Think. A rejection now reports the reason it was applied with, read from the call's approval record, so two racing callers get the same reason. The authorizeTurn context resolves a beforeTurn model override once, however often it's read. And the approve/reject race test now requires one answer to state the outcome, not only that neither contradicts it.

These were listed in E4's triage notes for after the merge. The two left, authorizeTurn's trigger and abort signal and a test for a failing getModel() after a restart, come in a second PR.

Validated: harness-actions passes 13 of 13, including the new "reports the reason of the rejection that was applied". The class's code is unchanged.

… grant context's model is resolved once; the race test requires one answer to state the outcome
@changeset-bot

changeset-bot Bot commented Nov 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2105168

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Nov 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@3448

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@3448

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@3448

hono-agents

npm i https://pkg.pr.new/hono-agents@3448

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@3448

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@3448

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@3448

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@3448

commit: 2105168

@agent-think

agent-think Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

✅ agents import sizes: no significant changes (8e57b385 → 21051689, workflow run)

@mattzcarey

Copy link
Copy Markdown
Member Author

Closed to drain open PRs (COMMON, 27 Nov). The branch slim/harness-e4-followup stays; it will be folded with the rest of the E4 follow-ups into one PR later.

@mattzcarey mattzcarey closed this Nov 27, 2026
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