docs(changelog): add CHANGELOG entry for invariant add scope requirement
CI / lint (pull_request) Successful in 36s
CI / quality (pull_request) Successful in 43s
CI / typecheck (pull_request) Successful in 52s
CI / security (pull_request) Successful in 58s
CI / build (pull_request) Successful in 25s
CI / helm (pull_request) Successful in 26s
CI / push-validation (pull_request) Successful in 21s
CI / e2e_tests (pull_request) Failing after 3m11s
CI / unit_tests (pull_request) Successful in 7m21s
CI / integration_tests (pull_request) Successful in 7m22s
CI / docker (pull_request) Successful in 55s
CI / coverage (pull_request) Successful in 10m52s
CI / status-check (pull_request) Failing after 1s

Document the bug fix for agents invariant add requiring at least one scope flag per spec §17900 (#9002).

ISSUES CLOSED: #9002
This commit is contained in:
2026-04-16 20:00:20 +00:00
parent 1a0590405b
commit 5bf59132a5
+7
View File
@@ -26,6 +26,13 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
crash (unhandled exception) is detected via an all-zero summary and the
captured traceback is always surfaced.
- **Invariant Add Scope Requirement** (#9002): `agents invariant add` now requires at
least one scope flag (`--global`, `--project`, `--plan`, or `--action`) per spec §17900.
Previously, omitting all scope flags silently defaulted to global scope. The
`_resolve_scope()` function now raises `typer.BadParameter` with a clear error message
when no scope flag is provided, failing fast instead of silently applying an unintended
default.
- **Automation Profile Silent Fallback** (#8232): `_resolve_profile_for_plan` in
`PlanLifecycleService` now raises a clear `ValidationError` when a plan's
automation profile name is not a known built-in profile, instead of silently