This roadmap focuses on making context-profiler a top-tier open source context analysis harness for LLM agents.
Build reliable turn-to-turn evidence before making strong stale-content claims.
Current and near-term outputs:
- added tokens
- removed tokens
- retained tokens
- top added blocks
- top removed blocks
- top tool additions
- artifact keys
- possible artifact churn
Make tool-driven context pressure obvious.
Current issue codes:
TOOL_USE_DOMINATES_CONTEXTTOP_TOOL_CONTEXT_HOTSPOTREPEATED_CONTENT_BLOCKREPEATED_TOOL_INPUT
Near-term improvements:
- distinguish tool input vs tool result pressure
- suppress low-value repeated-field findings
- improve artifact key extraction
- add stronger evidence for repeated modification loops
Ship a complete analyze-agent-context skill for Cursor, Claude Code, and Open Plugins compatible tools.
The skill should teach agents:
- do not fetch traces unless asked
- validate any trace/loop/transcript before analysis
- use
diagnose --jsonfor machine-readable findings - generate HTML only when useful for the user
- explain confidence and limitations
- OpenTelemetry / OpenInference spans
- LangSmith run trees
- richer Langfuse observation exports
- SWE-agent
.trajfiles - mini-SWE-agent output files
- richer Claude Code subagent linkage
Prefer datasets with real turn-to-turn evolution:
pagarsky/agent-tracecx-cmu/agent_trajectories- SWE-agent trajectories
Toolathlon is not a priority first-class format because its multi-turn structure is less natural for context evolution analysis.
Expose context-profiler as MCP tools after the CLI and skill workflow are stable.
Candidate tools:
validate_tracediagnose_tracegenerate_html_reportdescribe_formatget_schema
Evolve deterministic diff evidence into a graph model:
- repeated content edges
- artifact modification chains
- superseded context hints
- orphaned context hints
- subagent leakage hints
Use GitHub Releases and PyPI Trusted Publishing for versioned releases.
Release checklist:
- update
pyproject.toml - update
CHANGELOG.md - run smoke tests
- build package
- tag release
- publish through CI