Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringstack-xyz/boringstack
/ block
Function
block
tools/spec-loop/hooks/solo_spec_gate.py:131–133 ·
view source on GitHub ↗
(reason: str)
Source
from the content-addressed store, hash-verified
129
130
131
def
block(reason: str) -> None:
132
print(json.dumps({
"decision"
:
"block"
,
"reason"
: reason}))
133
sys.exit(0)
134
135
136
def
allow(reason: str =
""
) -> None:
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected