Skip to content

feat: add @executor/plugin-policies for policy CRUD management#200

Draft
RhysSullivan wants to merge 1 commit intors/policy-engine-corefrom
rs/plugin-policies
Draft

feat: add @executor/plugin-policies for policy CRUD management#200
RhysSullivan wants to merge 1 commit intors/policy-engine-corefrom
rs/plugin-policies

Conversation

@RhysSullivan
Copy link
Copy Markdown
Owner

Extracts policy CRUD (list/get/add/update/remove) from core SDK into
a proper plugin following the existing plugin architecture pattern.

  • New package: packages/plugins/policies with sdk/, api/, react/ layers
  • SDK: definePlugin with PolicyStore interface (in-memory, KV, Postgres)
  • API: PoliciesGroup + PoliciesHandlers with full CRUD endpoints
  • React: PoliciesPage, atoms, typed client
  • Wired into both local and cloud apps with routes + nav items

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
🔵 In progress
View logs
executor-marketing a6da073 Apr 11 2026, 09:14 PM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 11, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 6d47542 Apr 11 2026, 09:36 PM

Copy link
Copy Markdown
Owner Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Adds a thin plugin package that provides HTTP API endpoints and a React
page for managing policies. CRUD stays in core (Executor.policies) —
this plugin just exposes it over HTTP and renders the management UI.

- API: PoliciesGroup + PoliciesHandlers (uses ExecutorService directly)
- React: PoliciesPage with create/edit/delete, typed atoms + client
- Both local and cloud apps wired with routes + sidebar nav items
- No SDK plugin needed — handlers read from ExecutorService.policies
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