Implement Guardian identity + device trust foundations with fail-closed security fallbacks - #6
Closed
AcingTime420 with Copilot wants to merge 3 commits into
Closed
Conversation
Co-authored-by: AcingTime420 <271400013+AcingTime420@users.noreply.github.com>
Co-authored-by: AcingTime420 <271400013+AcingTime420@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement P1 architectural recommendations for Identity and Device Trust
Implement Guardian identity + device trust foundations with fail-closed security fallbacks
Aug 8, 2026
9 tasks
Owner
|
Superseded by #40, which reconstructs the unique identity/device-trust changes on the current validated |
AcingTime420
added a commit
that referenced
this pull request
Aug 11, 2026
Reconstructs the unique PR #6 Guardian identity/trust work on current master with resolved integration conflicts. Repository integrity, security audits, SBOM generation, Kotlin build, backend/frontend validation, and Docker checks passed.
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.
Summary
Implements the P1 foundation gaps called out in the Genesis IRP review by adding concrete Identity and Device Trust service layers and wiring them into Guardian startup. Also adds P2 fail-closed behavior for auth/vault failure paths so security-critical failures degrade safely.
Identity Service (
IdentityService.kt)User,UserRole,Credential,AuthSessionDevice Trust Engine (
DeviceTrustEngine.kt)malwareRisk,anomalyScore,networkRisk,attestationPassed)TrustDecision+ enforcement actions (FULL_ACCESS,RESTRICTED_MODE,MINIMAL_IU,DENY_ACCESS)Guardian fail-closed integration (
GuardianService.kt)SecurityRepository.publishEvent(...)Policy + build wiring
system/security/guardian/policy/policies.jsonwith trust thresholds and minimal-IU enforcement policyidentity/andtrust/Kotlin sourcesType
Validation
dotnet build/dotnet testlocally or CI greenRisk
Checklist