Skip to content

fix(rulesets): compare complete owned check identity and strict policy - #74

Merged
rldyourmnd merged 3 commits into
mainfrom
fix/exact-owned-ruleset-state
Sep 7, 2026
Merged

fix(rulesets): compare complete owned check identity and strict policy#74
rldyourmnd merged 3 commits into
mainfrom
fix/exact-owned-ruleset-state

Conversation

@rldyourmnd

@rldyourmnd rldyourmnd commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

The ruleset planner previously treated desired check names as a subset of observed names. It could report synchronized while retired required checks still blocked delivery, or while the producing integration/strict policy differed.

Compare the complete owned required-check multiset (context + integration ID) and strict policy. Preserve order independence, declared external-context carry-through, unowned rule types and external parameters. No live settings are changed by this patch.

Validation: targeted planner/declaration tests; full go test -race ./core/app ./core/providers/github; go vet for both packages; gofmt and diff checks, all passed on Go 1.26.7. Table regressions cover equal/reordered lists, retired/missing/duplicate contexts, wrong/unbound integrations and strict-policy drift.

Closes #73. This is a correctness prerequisite for policy reconciliation, not the full continuous-development profile or an applied ruleset migration.

The first full CI run exposed stale public-engine projection provenance and automatically produced feedback issue #75. Regenerated the canonical repository projections through the normal plan/apply/verify path (no hand-edited digests); only bundle.lock and generated workflow metadata changed. Repeated generation produced identical candidate digests. Stable final-tree go test ./core/cli ./core/context ./core/projections -count=1 passed, including the unregistered public-engine context checks.

Also fixes #75. No live GitHub settings or installed runtime were modified by the projection refresh.

@rldyourmnd
rldyourmnd merged commit 2ee833d into main Sep 7, 2026
7 checks passed
@rldyourmnd
rldyourmnd deleted the fix/exact-owned-ruleset-state branch September 7, 2026 03:31
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.

[CI feedback] workflow 335589526: run 34078143312/1 Detect exact required-check drift before ruleset reconciliation

1 participant