Skip to content

fix: evaluate API actor hooks with process credentials - #314

Merged
yasyf merged 1 commit into
mainfrom
api-actor-public-20261004
Oct 5, 2026
Merged

yasyf merged 1 commit into
mainfrom
api-actor-public-20261004

Conversation

@yasyf

@yasyf yasyf commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

API-authenticated workers need hook judges to use their process credentials. Route marked actors through a per-event evaluator with an explicit provider, one inference attempt, and a deadline that reserves time for child cleanup. Move credentials out of the evaluator environment before loading hooks, and report typed failure metadata without provider error bodies. Unmarked workers keep the resident route.

Apply the current guard-completion contract to the actor route. An incomplete guard produces the existing skip note, while a settled block, explicit deny envelope, or exit 2 remains authoritative. Preserve the current runtime and wire protocol behavior, including background-hook completion within the event deadline.

Require the published spawnllm 0.16.0. Explicit HTTP judges keep their endpoint authentication while receiving the same attempt, timeout, and error handling. Claude judge models with an effort suffix, including the unset Sonnet xhigh default, are refused because the SDK has no Claude effort channel. A transient provider error ends the single attempt.

Synthetic coverage includes credential isolation, error privacy, one-attempt behavior, cleanup, effort refusal, incomplete guards, and settled blocking verdicts. The source worker passed 26 actor Python tests and 24 scoped Go tests; three mutation checks failed as expected. Additional upstream comparison tests recorded 143 passes and one process-limit failure that also reproduced on a 4980 source copy in the same sandbox. CI grades the full current-main candidate. Real authenticated hook execution remains unverified.

@socket-security

socket-security Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​spawnllm@​0.15.0 ⏵ 0.16.096 +1100100100100

View full report

@yasyf
yasyf force-pushed the api-actor-public-20261004 branch from d84a267 to 1b7ce34 Compare October 5, 2026 07:31
@yasyf
yasyf merged commit e6556d4 into main Oct 5, 2026
25 of 44 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