MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / evaluate_cursor_subagent_start

Function evaluate_cursor_subagent_start

src/hooks/cursor.rs:346–349  ·  view source on GitHub ↗

Pure decision logic for Cursor `subagentStart` hook events. Cursor subagents must be allowed to start. Earlier versions denied research/explore subagents in favor of tracedecay MCP tools. In Cursor this can surface as a misleading "bubble creation" timeout, and it prevents explicit user requests to use agents. Keep this handler fail-open so stale installs that still register `subagentStart` do n

(event_json: &str)

Source from the content-addressed store, hash-verified

344/// fail-open so stale installs that still register `subagentStart` do not block
345/// subagent creation.
346pub fn evaluate_cursor_subagent_start(event_json: &str) -> Option<String> {
347 let _ = event_json;
348 None
349}
350
351/// Pure decision logic for Cursor `postToolUse` hook events.
352///

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected