Skip to content

feat(admin)!: use core's engines and authz seeding (plugin-api slice 2) - #14

Closed
zumbrunn wants to merge 1 commit into
feat/plugin-services-slice1from
feat/plugin-services-slice2
Closed

zumbrunn wants to merge 1 commit into
feat/plugin-services-slice1from
feat/plugin-services-slice2

Conversation

@zumbrunn

@zumbrunn zumbrunn commented Nov 4, 2026

Copy link
Copy Markdown
Member

Slice 2 of the @dune/plugin-api extraction (duneorg/dune#64). Stacked on #13 (slice 1); base is that branch. Draft until #12, #13 and core 0.36 are out.

Uses services.engines and services.authz from core (duneorg/dune slice 2) instead of building the engines itself:

  • mod.ts no longer calls createWorkflowEngine, createScheduler, createStagingEngine, createMachineTranslator or new AuditLogger, and no longer imports bootstrapAdminTuples; admin tuples are seeded with services.authz.seedAdminTuples().
  • The audit/MT setup block in setup() is replaced by reading api.services.engines.
  • executeScheduledAction stays here.

Tests and deno task check pass (237) against unreleased core 0.36 (scratch workspace). Not mergeable until @dune/core is bumped to ^0.36.0.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@zumbrunn

Copy link
Copy Markdown
Member Author

Landed in 4.0.0 as part of #26 (one squash of the whole stack: its intermediate commits only type-check against the final contract). Verified against the published @dune/core 0.36.0 and @dune/testing 2.0.0.

@zumbrunn zumbrunn closed this Nov 10, 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