[Improve] Stage automation-owned Fast Sessions - #1774
[Improve] Stage automation-owned Fast Sessions#1774roomote-roomote[bot] wants to merge 7 commits into
Conversation
|
No new code issues found. See task
Reviewed 67a4445 |
|
Implemented and hardened the two-release automation-principal rollout through 67a4445. Release N has principal-aware schema/reads but no automation-owned writes; staged automation-owned sessions are admin-visible and strictly read-only in both UI and API, with fail-closed execution. Migration, repository/access/runtime tests, web reply/transcript tests, docs, typechecks, lint, visual proof, and pre-push gates pass. |
|
@roomote-roomote please run a fresh review on the current head ( |
|
@roomote-roomote please run a fresh review on the current head ( |
|
@roomote-roomote please run a fresh review on the current head ( |
What changed
Why this change was made
Automation launch mode should depend on ownership and execution contracts, not on which environment option was selected. The shared policy inventory makes every direct task launcher and its migration blocker explicit instead of implying that only custom automations were considered.
Impact
Owned custom automations are the only current launcher family with a persisted human run-as identity and optional sandbox execution, so they now start Fast-first. The following concrete paths remain sandbox tasks:
Migration
0064_round_surge.sqlmakesuser_idnullable, adds the automation-owner FK/index and an exactly-one-owner check constraint. This release continues writing only user-owned rows, so an N-1 binary never encounters a newly written ownerless Session. Principal-aware repository and admin read paths accept the future shape, while execution fails closed until N+1 ships deployment-principal capability routing. Deterministic manager stats, provider usage alerts, platform issue alerts, and emoji summons do not create automation sandbox tasks and are outside the migration set.Screenshots
The staged automation-owned Fast session is admin-visible but strictly read-only, with no reply or model-setting controls.