@effectplan/execution
v0.4.1
Published
EffectPlan Governed Execution & Closed-Loop Operations (Phase 15)
Readme
@effectplan/execution
Governed execution coordinator, closed-loop drift reconciliation, and adaptive replanning bridge for external enterprise operations.
# npm
npm install @effectplan/execution
# pnpm
pnpm add @effectplan/executionFeatures
- Governed State Machine: Strictly separates planning, authorization, dispatch, verification, and reconciliation.
- Reference Connectors: Built-in production connectors for Project Management (Jira, Linear) and DevOps pipelines (GitHub Actions, GitLab CI).
- Closed-Loop Reconciliation: Detects state drift between planned and actual outcomes and automatically triggers deterministic replanning.
Usage
import { ExecutionOrchestrator, MockConnector } from "@effectplan/execution";
const orchestrator = new ExecutionOrchestrator();
orchestrator.registerConnector("mock", new MockConnector());
const execution = await orchestrator.executePlan({
planId: "plan_89a1",
actions: [
{ id: "deploy_db", connector: "mock", target: "db_cluster" },
{ id: "migrate_schema", connector: "mock", target: "db_cluster" }
]
});
console.log("Execution status:", execution.state);