Skip to content

Harden managed role intent validation - #313

Merged
Ninjonik merged 1 commit into
mainfrom
dev
Nov 16, 2026
Merged

Ninjonik merged 1 commit into
mainfrom
dev

Conversation

@Ninjonik

Copy link
Copy Markdown
Owner

Summary

  • Validate stored managed-role grants and removal scope during every reconciliation.
  • Supersede legacy or mismatched role intents instead of replaying unauthorized changes.
  • Resolve category-less assignments safely and document fresh-save recovery behavior.
  • Add regression coverage for legacy recruit and ambiguous-category intents.

Testing

  • Added Convex infrastructure tests covering legacy role intent rejection.
  • Not run: full test suite and typecheck.

- Supersede stale role operations when derived intent changes
- Resolve category-less assignments safely and document recovery behavior
@Ninjonik
Ninjonik merged commit c150004 into main Nov 16, 2026
2 checks passed
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