MCPcopy Create free account
hub / github.com/MetapriseAI/OrgKernel / ScopeCheckResult

Class ScopeCheckResult

src/orgkernel/schemas/execution_token.py:84–91  ·  view source on GitHub ↗

Result of a Tool Gateway scope check against an ExecutionToken.

Source from the content-addressed store, hash-verified

82
83
84class ScopeCheckResult(BaseModel):
85 """Result of a Tool Gateway scope check against an ExecutionToken."""
86 passed: bool
87 violations: list[str] = Field(default_factory=list)
88
89 @property
90 def blocked(self) -> bool:
91 return not self.passed
92
93
94class ExecutionToken(BaseModel):

Callers 1

check_scopeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected