Documentation
¶
Index ¶
- Constants
- func AgentID(toolID, org string) string
- func AgentInstanceID(toolType, location, symbol string, startLine, endLine int) string
- func IsValidState(state string) bool
- func LegacyAgentID(toolType, location, org string) string
- func ToolFamilyID(toolType, org string) string
- func ToolID(toolType, location string) string
- func ToolInstanceID(toolType, repo, location, symbol string, startLine, endLine int) string
Constants ¶
View Source
const ( StateDiscovered = "discovered" StateUnderReview = "under_review" StateApproved = "approved" StateActive = "active" StateDeprecated = "deprecated" StateRevoked = "revoked" )
Variables ¶
This section is empty.
Functions ¶
func AgentInstanceID ¶ added in v1.0.8
AgentInstanceID deterministically derives an instance-level identity component. If symbol/range metadata is unavailable, it falls back to legacy ToolID semantics.
func IsValidState ¶
func LegacyAgentID ¶ added in v1.0.8
LegacyAgentID preserves compatibility with pre-instance identity derivation.
func ToolFamilyID ¶ added in v1.4.0
ToolFamilyID deterministically derives a global family identifier for a tool/framework package independent of repo or path-specific governance.
func ToolInstanceID ¶ added in v1.4.0
ToolInstanceID deterministically derives a repo/location scoped tool instance identifier for governance, ownership, and proof joins.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.