Skip to content

fix(hosted/orchestration): scope turn origin for local-agent spawn so cron tools aren't denied - #5527

Merged
senamakel merged 2 commits into
tinyhumansai:mainfrom
YellowSnnowmann:fix/cron-origin-effect-executor-5508
Aug 13, 2026
Merged

fix(hosted/orchestration): scope turn origin for local-agent spawn so cron tools aren't denied#5527
senamakel merged 2 commits into
tinyhumansai:mainfrom
YellowSnnowmann:fix/cron-origin-effect-executor-5508

Merge remote-tracking branch 'upstream/main' into fix/cron-origin-eff…

4b68c35
Select commit
Loading
Failed to load commit list.
TinySweeper / tinysweeper/description succeeded Aug 13, 2026 in 0s

The PR description accurately and completely describes the diff. The title and b

The PR description accurately and completely describes the diff. The title and body explain the bug (task-local AGENT_TURN_ORIGIN not crossing tokio::spawn at the residual effect_executor.rs spawn site), the fix (wrapping the spawned future in with_origin(AgentTurnOrigin::Cli, ...)), and the accompanying gate-message rewrite. The diff contains exactly those changes plus the tests the checklist claims were added — the turn_origin.rs explicit-Cli-origin test and the gate.rs cron_add-on-turnless-spawn regression test, both spanning a real spawn boundary — and updates the two existing deny-message assertions to the new copy. No unmentioned significant changes, no mismatches. The code index for this repository is cold, so this review saw the diff alone.

No findings.

tinysweeper 0.1.0