Repository navigation
fix(governance): reconcile expired released reservation claims - #39
Draft
echoomegaprime wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Terminal reconciliation can release a reservation while retaining its worker claim and lease. Existing recovery skips
RELEASED, leaving historical ownership metadata unresolved. This clears those fields during normal terminal release and adds a tenant/run-scoped reconciliation operation for existing expired residue.The operation uses existing governance authority, rechecks live authorization under the writer lock, requires a released reservation, terminal run and terminal/unclaimed dispatch, and refuses unproven or unexpired leases. It preserves run/outcome, usage credits, dispatch history and unrelated reservations, appends one audit event, and returns an idempotent readback. The SDK mapping reuses
certforge.governance.manageat tier 2; the exact declared SDK set and generated schemas increase from 61 to 62 without applying registration SQL or granting access.Validation:
Source candidate only. No live reconciliation, service installation, SDK registration, queue mutation or quiet-guard change is included. Exact-SHA certification and normal owner release admission remain separate gates.