{
"event": "PreToolUse",
"tool_name": "Task",
"tool_input": {
"description": "Check DB schema & scanning",
"prompt": "Check the ki_dev database schema for any existing code_analysis table or similar tables. Use the MCP tools:\n1. mcp__mcp-db__db_tables to list all tables in ki_dev\n2. mcp__mcp-db__db_describe for any code_analysis or similar table if it exists\n3. Look for patterns of how other \"analysis\" or \"scan\" features store data\n\nAlso search the codebase for any existing file scanning functionality.",
"subagent_type": "Explore"
}
}