Skip to content

automations: add app-server CRUD handlers - #28614

Closed
eternal-openai wants to merge 1 commit into
codex/automations-05-app-server-protocolfrom
codex/automations-06-app-server-crud
Closed

eternal-openai wants to merge 1 commit into
codex/automations-05-app-server-protocolfrom
codex/automations-06-app-server-crud

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. This PR: automations: add app-server CRUD handlers
  7. #28615 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

The protocol needs server-side enforcement for feature gating and thread ownership before any background dispatch exists. This keeps the user-visible API usable while still preventing cross-thread automation access.

What Changed

  • Adds automation/* request processing in app-server.
  • Gates all automation APIs on Feature::Automations.
  • Scopes automation visibility and mutation to subscribed/owned threads.
  • Validates cron targets against loaded thread context and heartbeat targets against subscribed threads.
  • Adds app-server integration coverage for disabled-feature rejection and CRUD scoping.

Verification

  • env -u CODEX_SQLITE_HOME just test -p codex-app-server suite::v2::automation passed.

@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-05-app-server-protocol branch from 31b9490 to 5f17fb5 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.

@github-actions github-actions Bot closed this Jul 2, 2026
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