fix(acms): resolve all reviewer feedback for context policy loader and plan execution integration

Fixed all blocking issues identified in 4 REQUEST_CHANGES reviews:

- Removed broken ContextPolicy import (root cause of all CI failures)
- Fixed all ruff lint violations: deprecated typing aliases, format parameter shadowing built-in, unused imports, imports inside functions, SIM115/SIM102
- Fixed Behave step ambiguity and duplicate step definitions across files
- Fixed context.config collision with Behave's internal config attribute
- Added CHANGELOG entry for the new ACMS context policy feature
- Added CONTRIBUTORS.md entry for HAL9000
- Added performance benchmark file: benchmarks/acms_context_policy_bench.py
- Fixed pre-existing lint errors in scripts/validate_automation_tracking.py
- Wired PlanExecutionACMSIntegration documentation to explain integration point

ISSUES CLOSED: #9584
This commit is contained in:
2026-04-24 21:59:38 +00:00
committed by Forgejo
parent 8a5567f5d8
commit 7faab96582
8 changed files with 338 additions and 179 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ Feature: ACMS Context Policy Configuration Loader
| name | value |
| file_type | python |
| path | src |
When I apply the policy to context with file_type "python" and path "src"
When I apply the policy to context with multiple scopes: file_type "python" path "src"
Then the policy should match the context
Scenario: Policy with list values in scope