analyze
Joins measured sessions with integrations and turns them into metrics, outliers and recommendations. Method: METHOD.md.
- Input: records from
../02-measure/, data from../04-auto-analysis/. - Output:
sessions.jsonl,analysis.jsonandreadout.json(pipeline: quality, mcp, orchestration, context, deployments and issues sections) in the data dir (contract:output.md,../02-measure/schemas/), read by../05-dashboards/and../06-optional/mcp-server/. - Data it touches: read-only on inputs. The pipeline's local
quality,mcp,orchestrationandcontextstages read Claude Code transcripts (and MCP config server names) in memory and write only counts (see their AGENTS.md). The pipeline's optionaldeploymentsandissuesstages call GitHub through the user'sghCLI (read-only metadata); off withNETWORK = Falseinpipeline.pyor--no-network. Decision models (../06-optional/decision-models.md) run where the owner chooses; with a local model, nothing leaves the owner's infrastructure.
Files
METHOD.mdanalysis levels, how to read them, and decision points.analyze/events -> sessions, metric catalog, outliers, recommendation candidates.pipeline.pyruns the batch stages in order (normalize, readers, analyze, impact, decide, impact2, quality, mcp, orchestration, context, deployments, issues):python3 03-analyze/pipeline.py [--days N] [--from STAGE | --only STAGE] [--dry-run] [--no-network]. quality, mcp, orchestration, context, deployments and issues are optional: a failure there becomes{"skipped": reason}inreadout.jsonand the pipeline goes on; a failure in the others stops it. deployments and issues are skipped with a log line (and{"skipped": reason}inreadout.json) when network is off,ghis missing or unauthenticated, or there are no repos; they get--repofrom configimpact.repos, else from the repos of sessions impact linked (MAX_REPOS).tests/unit tests for this stage.../06-optional/decide/runs the decision points onanalysis.json(replacesdecision-points.py, now intodelete/).output.mdsummary, outliers andreadout.jsoncontract.../06-optional/decision-models.mdconnector to classification models (optional, owner picks the vendor).../04-auto-analysis/quality.mdsemi-automated checks of security, performance, usability and other software attributes.recommendations.mdchanges to suggest, each with how it was measured; includes harness token configs.