feat(policy-engine)!: remove the deprecated Decision.applies_effects #4058
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.40) × (1 − Review Confidence (0.41)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 154 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.302
Real PR Conversation Timeline
1 comments
"Review active on #4058"
general
weight: 0.35
david-long1
Refs #4048, item (c).
Decision.applies_effectshas been a deprecated alias ofapplies_transformsince the AGT D1 effects removal, and it emitted aDeprecationWarningon every access. Any consumer suite run with-W error(common in CI) fails on the first code path that still touches it, including third-party code the host does not control; emitting once per process would not change that. The issue offered "drop it" or "warn once"; this PR drops it.Removed the property and its deprecation test, reworded the two comments that referred to it, and recorded the removal in
BREAKING_CHANGES.md(date TBD, as the other entries) and the changelog.applies_transformandpermitsremain the two questions it conflated.python -W error -c "import agent_control_specification"is clean; the fullpytest sdk/pythonrun is unchanged apart from the removed test.This is a Python-only removal. The Node
appliesEffects(JSDoc@deprecated) and .NETAppliesEffects([Obsolete]) aliases are unchanged: neither warns at runtime, so neither can fail a host through code it does not control the way the PythonDeprecationWarningdoes under-W error. Dropping them for cross-SDK parity is a separate maintainer call.