ausus/runtime-default
Composer 安装命令:
composer require ausus/runtime-default
包简介
L2 Runtime — Invoker, Policy Engine, Workflow runtime, Effect dispatch. Implements RFC-005 §3–§13, RFC-006, RFC-001 §A-1.4 §8.2.1, and the de facto ActionEffect dispatch of RFC-013.
README 文档
README
L2 — the reference Runtime. Implements the Invoker chain, the Policy Engine, the Workflow runtime, and Effect dispatch.
Owned RFC surfaces
- RFC-001 §A-1.4 §8.2.1 — Invoker chain steps 1–5 (Tenant, Policy, Workflow, Effect, Audit).
- RFC-005 §3–§13 — Policy Engine implementation (chain assembly, composition, two-tier cache, failure semantics, side-effect spy).
- RFC-006 — Workflow runtime (state read, guard evaluation, transition validation, state mutation via default Effect).
- RFC-013 —
Effectinterface dispatch +EffectContextconstruction. - Built-in parameterized Policies from RFC-011 §8.3:
RoleRequired,PermissionRequired,RolesRequired. - Built-in default Effects from RFC-011 §8.2:
CreateEffect,TransitionEffect(coversAction::create/Action::transitionsugar).
Allowed dependencies
ausus/kernelonly.illuminate/contracts+illuminate/support(Laravel facades, container — not Eloquent, not HTTP).
Forbidden dependencies
illuminate/database— Persistence is L3.illuminate/http— API Surface is L4.- Any other AUSUS package.
Public surface
Ausus\Runtime\RuntimeServiceProvider(Laravel service provider).- Implementation classes are private; the kernel's contracts are the only public consumption surface.
统计信息
- 总下载量: 242
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-20