Skip to content

automations: add agent automation_update tool - #28615

Closed
eternal-openai wants to merge 3 commits into
codex/automations-06-app-server-crudfrom
codex/automations-07-extension-tool
Closed

eternal-openai wants to merge 3 commits into
codex/automations-06-app-server-crudfrom
codex/automations-07-extension-tool

Conversation

@eternal-openai

@eternal-openai eternal-openai commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Stack

  1. #28609 automations: add service groundwork and overview
  2. #28610 automations: add durable state store
  3. #28611 automations: add state CRUD and scheduling
  4. #28612 automations: add dispatch claims and leases
  5. #28613 automations: add app-server protocol
  6. #28614 automations: add app-server CRUD handlers
  7. This PR: automations: add agent automation_update tool
  8. #28616 automations: dispatch runNow requests
  9. #28617 automations: add background worker loop
  10. #28618 automations: dispatch scheduled heartbeats
  11. #28619 automations: add dispatch integration coverage
  12. #28620 automations: defer heartbeats for cooldown

Why

Agents still need a way to manage automations, but the new architecture should use the Rust extension mechanism rather than the older codex-apps dynamic-tool path. This keeps the tool installation local to the feature and avoids expanding app-server protocol just for agent self-management.

What Changed

  • Adds the codex-automation-extension crate under codex-rs/ext/automation.
  • Installs the automation_update tool when automations are enabled for a non-ephemeral, non-automation thread with state DB access.
  • Implements list/create/update/delete handling through codex-state.
  • Avoids async_trait by using boxed futures that match the extension API shape.
  • Adds extension tests for feature-gated visibility and thread-owned automation CRUD.

Verification

  • codex-automation-extension tests passed in the focused non-app-server run.
  • just bazel-lock-check passed after adding the crate.

@eternal-openai
eternal-openai force-pushed the codex/automations-06-app-server-crud branch from 4ee6830 to 494f8f0 Compare June 17, 2026 00:14
@eternal-openai
eternal-openai force-pushed the codex/automations-07-extension-tool branch from 440ce3d to 2237726 Compare June 17, 2026 00:14
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 14 days. If you plan to continue working on it, feel free to reopen or open a new PR.

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