Skip to content

Commit 7c410d0

Browse files
committed
Feat: Implement governance pending mutation lifecycle
Added - Runtime lifecycle manager support for governed mutation requests across pending, approval, cancellation, expiration, superseding, and execution transitions - Governance-specific request exceptions for missing requests and invalid lifecycle transitions - Runnable governance request lifecycle example covering pending queries, approval, cancellation, and expiration sweeps Changed - Request storage contracts now expose pending lookups by state and reason - Example projects are now split between Core and Governance so governance samples live under their own path - Governance runtime storage now follows the same folder-based structure as the rest of src Result Governed requests now exist as first-class deferred runtime objects instead of only immediate execution attempts. Pending request flows can be stored, listed, transitioned, and documented through decision history, with dedicated examples showing how the lifecycle behaves in practice.
1 parent a9521cb commit 7c410d0

62 files changed

Lines changed: 897 additions & 46 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 78 additions & 0 deletions

Docs/Decision/listadr.md

Lines changed: 1 addition & 0 deletions

Examples/BillingQuotas/BillingQuotas.csproj renamed to Examples/Core/BillingQuotas/BillingQuotas.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<ProjectReference Include="..\..\src\ModularityKit.Mutator.csproj" />
11+
<ProjectReference Include="..\..\..\src\ModularityKit.Mutator.csproj" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

Examples/BillingQuotas/Mutations/DecreaseQuotaMutation.cs renamed to Examples/Core/BillingQuotas/Mutations/DecreaseQuotaMutation.cs

File renamed without changes.

Examples/BillingQuotas/Mutations/IncreaseQuotaMutation.cs renamed to Examples/Core/BillingQuotas/Mutations/IncreaseQuotaMutation.cs

File renamed without changes.

Examples/BillingQuotas/Mutations/ResetQuotaMutation.cs renamed to Examples/Core/BillingQuotas/Mutations/ResetQuotaMutation.cs

File renamed without changes.
File renamed without changes.

Examples/BillingQuotas/Policies/PreventNegativeQuotaPolicy.cs renamed to Examples/Core/BillingQuotas/Policies/PreventNegativeQuotaPolicy.cs

File renamed without changes.
Lines changed: 1 addition & 2 deletions

0 commit comments

Comments
 (0)