Skip to content

fix(governance): preserve capability boundaries and valid policy overrides - #135

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/device-governance-readiness
Sep 12, 2026
Merged

fix(governance): preserve capability boundaries and valid policy overrides#135
rldyourmnd merged 1 commit into
mainfrom
fix/device-governance-readiness

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

A private repository on a plan without rulesets could not use any GDS governance operation: the optional ruleset read failed the entire snapshot. Separately, changing a managed field to observed/ignored retained its inherited desired value and produced an invalid compiled contract.

Retain available observations and mark the exact ruleset product restriction explicitly. Authorization errors and rate limits still fail closed, unavailable managed fields refuse planning, and availability participates in the optimistic-concurrency digest without changing old fully observed digests. Remove inherited values and their provenance when a higher policy tier selects observed/ignored.

Validation: both defects reproduced with regression tests before the fix; all Go quick validation passes, relevant compiler/provider/governance race tests pass, app governance tests pass, and all 47 Python tests pass from the hashed test lock. Tests also prove available settings can be applied and read back while unavailable rulesets remain explicit, and historical digest compatibility is preserved.

…rides

Signed-off-by: rldyourmnd <danil@nddev.it.com>
@rldyourmnd
rldyourmnd merged commit 34c77e7 into main Sep 12, 2026
4 of 7 checks passed
@rldyourmnd
rldyourmnd deleted the fix/device-governance-readiness branch September 12, 2026 17:29
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.

1 participant