Skip to main content Module analysis Copy item path Source backend claude_cli merge prompts ANALYSIS_RESPONSE_SCHEMA JSON schema for constrained decoding of analysis responses.
Flat schema — serde’s #[serde(tag = "action")] handles variant discrimination.
All fields optional except action; additionalProperties: false required by structured output. BATCH_SIZE GRAPH_ANALYSIS_RESPONSE_SCHEMA JSON schema for v2 graph-based analysis responses. analyze Run analysis: re-parse sessions, scrub, call AI, merge patterns, store results. analyze_v2 v2 analysis: re-parse sessions, scrub, call AI with graph prompt/schema, write to knowledge graph. full_management_analysis_schema Extended JSON schema that includes claude_md_edits for full_management mode.
Built programmatically from ANALYSIS_RESPONSE_SCHEMA to avoid duplication. parse_graph_response Parse an AI response into a GraphOperation batch.