1.7 KiB
1.7 KiB
Merged and completed the Intake Pod idle-shutdown behavior.
Summary:
- Ticket role launcher now passes a hidden process-local
--ticket-role <role>marker to Pod runtime for Ticket role Pods. TicketIntakeReadysuccessful tool results schedule transient shutdown-after-idle only for runtime roleintake.- Failed
TicketIntakeReady, non-Intake roles, and other tools do not schedule shutdown. - Controller executes ordinary clean shutdown only after run completion/final response/history+session commit/status transition and only when the Pod is Idle.
- The shutdown request is transient runtime state and does not mutate or remove local Ticket claim/session records.
Merged branch/worktree:
- Branch:
shutdown-intake-pod-after-ready-idle - Commit:
61c3231 pod: stop intake after ready idle - Merge commit on
develop:f7c5060 merge: shutdown intake after ready idle
Validation passed after merge:
cargo test -p pod shutdown_after_idle --libcargo test -p client runtime_args --libcargo test -p client ticket_role --libcargo test -p pod --libcargo check -qcargo fmt --checkgit diff --checkcargo run -q -p yoi -- ticket doctornix build .#yoi
Cleanup completed:
- Stopped coder/reviewer Pods and reclaimed scope.
- Removed
.worktree/shutdown-intake-pod-after-ready-idle. - Deleted branch
shutdown-intake-pod-after-ready-idle.
Residual notes:
- Hidden
--ticket-roleis not an authorization boundary; manual opt-in affects only the current Pod's self-shutdown scheduling and grants no Ticket or Pod-control authority. - Generic restore of an old Intake role session does not automatically regain the process-local role marker unless launched through the Ticket role path; this matches the non-durable shutdown signal boundary.