MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / hook

Method hook

tools/provenance-eval/run.py:111–116  ·  view source on GitHub ↗
(self, verb, payload)

Source from the content-addressed store, hash-verified

109 return result
110
111 def hook(self, verb, payload):
112 result = self.run("agent", "hooks", "claude-code", verb, "--foreground",
113 payload=encoded(payload))
114 if result.stderr:
115 raise RuntimeError(result.stderr.decode(errors="replace"))
116 return result
117
118 def rpc(self, request):
119 # Match the owner's versioned JSON frame and one connection per RPC.

Callers 7

startMethod · 0.95
workerFunction · 0.95
measure_turnFunction · 0.80
appendFunction · 0.80
verifyFunction · 0.80
measureFunction · 0.80
mainFunction · 0.80

Calls 3

runMethod · 0.95
encodedFunction · 0.85
decodeMethod · 0.45

Tested by

no test coverage detected