refactor: use semantic identity types #20

Merged
day01 merged %!d() commits from %!s() into %!s() 2026-08-24 23:40:48 +00:00
Owner

Introduces distinct domain identifiers for users, teams, organizations, repositories, grants, keys, tokens and agents. Authorization principals and resources can no longer be constructed with interchangeable UUIDs; conversion remains at SQLx and transport adapter boundaries.

Verified with full workspace tests against PostgreSQL 17.10, SQLx offline metadata check, clippy -D warnings, architecture and Rust LOC checks.

Introduces distinct domain identifiers for users, teams, organizations, repositories, grants, keys, tokens and agents. Authorization principals and resources can no longer be constructed with interchangeable UUIDs; conversion remains at SQLx and transport adapter boundaries. Verified with full workspace tests against PostgreSQL 17.10, SQLx offline metadata check, clippy -D warnings, architecture and Rust LOC checks.
day01 added 1 commit 2026-08-24 22:31:55 +00:00
day01 added 1 commit 2026-08-24 23:20:02 +00:00
day01 merged commit 357e76a830 into %!s() 2026-08-24 23:40:48 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: syncode/identity#20