Repository navigation
feat(session): expose current owned runtime association - #13
Merged
Merged
Conversation
Signed-off-by: James Olds <12104969+oldsj@users.noreply.github.com>
Signed-off-by: James Olds <12104969+oldsj@users.noreply.github.com>
Signed-off-by: James Olds <12104969+oldsj@users.noreply.github.com>
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.
Trusted GetSession returns a current runtime association only after the existing ownership and allowed-Agent checks, fresh Actor observation, and durable Session/generation revalidation. Missing, inactive, revoked or replaced runtime identity yields no positive association. This supplies the identity needed by Mainloop's Git authority adapter.
The field is output-only: it is excluded from input, storage, forks, shares and lists. It exposes generation, Actor identity and active status without tokens or private references. This is a bounded observation; dispatch still needs its own fencing and revalidation.
Validation: 65 Session race tests and 12 selected gRPC/control authorization tests pass, including real PostgreSQL interleavings. Configured lint, vet, formatting, protobuf generation and compatibility checks pass. Fresh Sol max review accepted exact frozen patch085a7f3f with no findings; all source identities stayed unchanged. Exact published-head CI remains required. No Git activation, deployed-runtime or live Actor proof is claimed.