Repository navigation
docs(agent-identity): record which source tiers hold global definitions - #2874
Merged
Merged
Conversation
The broker's definition loader reads only the explicit tier, the directories the operator names with --agents-dir. Record that choice in "Loading definitions" and why the project, user, and driver tiers are not global definition sources. Co-Authored-By: Claude Opus 5.5 <[email protected]>
rdimitrov
marked this pull request as ready for review
November 18, 2026 22:24
ChrisJBurns
approved these changes
Nov 18, 2026
Merged
5 of 12 tasks
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
Records the design decision that #2526 left open: which of the harness's definition source tiers count as the operator's global definitions for the identity broker.
The answer is
explicitonly, which is what the definition loader already reads (#2829). The new paragraph in "Loading definitions" indocs/drafts/agent-identity/agent-definitions.mdsays:explicitis the global source: the directories the operator names with--agents-dir, read in the harness's precedence order. A missing configured directory fails broker startup.projectis excluded because it comes from a repository, and the broker does not load repository definitions (the design already says this).useris excluded because in mecak8s it is the service account's home directory, which the operator does not configure as a definition source.driveris excluded because driver definitions arrive over gRPC without a file, so there are no source bytes for the source content digest.This matches the harness, where only
explicitdefinitions get a ceiling of their own. Adding a tier later is additive.Issue relationship
Closes #2526. Part of #2550.
Type of change
Test plan
task docs)Changes
docs/drafts/agent-identity/agent-definitions.mdUser-facing change
None. This is a design draft; the loader already behaves this way.
Special notes for reviewers
drivershould count, the open part is how its source content digest works without file bytes. That would be a follow-up, not a change to this PR.🤖 Generated with Claude Code