Skip to content

Conversation

@saurabhjain1592
Copy link
Member

Summary

  • Adds policies_evaluated and policies_matched fields to StepGateResponse for policy transparency
  • Adds PolicyMatch class with policy_id, policy_name, action, reason fields
  • Adds PolicyEvaluationResult class for MAP execution with allowed, applied_policies, risk_score
  • Updates CHANGELOG with Issues #1019, #1020, #1021

Related

  • Enterprise: getaxonflow/axonflow-enterprise#1023
  • Docs: getaxonflow/axonflow-docs#191
  • Issue #1019: Workflow Policy Enforcement
  • Issue #1020: MAP Audit Logging
  • Issue #1021: WCP Policy Transparency

Test plan

  • Existing tests pass
  • Types validate with Pydantic
  • Exports available in package

Add new types for MAP and WCP policy enforcement:
- PolicyEvaluationResult: result of policy evaluation with allowed status,
  applied policies, risk score, required actions, and processing time
- StepGateResponse: add policies_evaluated and policies_matched fields
- PlanExecutionResponse: add policy_info field for plan execution results
@saurabhjain1592 saurabhjain1592 merged commit a90eca9 into main Jan 18, 2026
13 checks passed
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.

2 participants