MCPcopy Index your code
hub / github.com/codeaashu/claude-code / denySpeculation

Function denySpeculation

src/services/PromptSuggestion/speculation.ts:84–97  ·  view source on GitHub ↗
(
  message: string,
  reason: string,
)

Source from the content-addressed store, hash-verified

82}
83
84function denySpeculation(
85 message: string,
86 reason: string,
87): {
88 behavior: 'deny'
89 message: string
90 decisionReason: { type: 'other'; reason: string }
91} {
92 return {
93 behavior: 'deny',
94 message,
95 decisionReason: { type: 'other', reason },
96 }
97}
98
99async function copyOverlayToMain(
100 overlayPath: string,

Callers 1

startSpeculationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected