Roadmap: build trajectory diagnostics for R agents
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
Start with docs/design/application-diagnostics-direction.md and read the linked delivery issues, especially #41 and #42, because this roadmap assigns acceptance criteria elsewhere. A contributor would need to select one implementation slice and confirm its scope, entry points, tests, and completion criteria with the maintainers; the roadmap alone does not define a standalone change.
Written by the indexing model from the issue text.
Description
Goal
Help an R developer find a real application problem, explain it from captured evidence, turn a reviewed example into a regression case, and compare a proposed change on matched cases.
scans owns post-run diagnosis. vitals owns evaluation execution and scoring. R scripts and the Shiny app use the same calculations.
What has shipped
- Canonical S7 TrajectoryBundle, public source adapters, deterministic scans, and linked evaluations (#10–#27).
- Shiny transcript review, Connect ingestion/deployment, annotations, and loading improvements (#28–#37).
- Application overview and exact-evidence drilldown (#46).
- Shared resource measurements, capture denominators, and the offline support-assistant example (#47, completing #40).
- Writing, test, and helper cleanup (#49–#51, delivered by #53/#54).
- Built-in scanner assessment status (#52, delivered by #55).
- Reproducible investigation save/reopen with opt-in app controls (#57, the first slice of #44).
- Evidence-bound judgments, adjudication, versioned selected examples, and a provider-free Scans/dsprrr/vitals improvement recipe (#41, delivered by #58).
- Investigation navigation improvements (#59) and artifact-only Tempest review schema support (#60/#61).
The reviewed-improvement recipe proves the workflow with mocked provider responses. It does not establish model improvement or production capture completeness.
Current delivery order
- Complete one deployed-application investigation with another R user (#39), coordinating the independent fresh-session onboarding observation in #45.
- Deliver the report consumer and measured 10,000-trajectory profiling remaining in #44.
- Settle the pairing/scorer contract and implement matched comparisons in #42.
- Validate two useful custom scanners through the smallest shared interface in #43.
These are bounded deliveries, not mandatory serial blockers. The pilot can proceed independently. #42 pairing design and #43 domain selection can proceed using the completed #41/#52 contracts. #9 maintains the source integration inventory when an investigation needs additional evidence.
Decisions
- Keep execution findings, resource measurements, and outcome evaluations distinct. Missing capture remains unknown.
- Use optional integrations and public completed producer objects. Do not execute agents or replay tools during inspection.
- Preserve source identities, losses, selected evidence, detector settings, and prior review decisions.
- Export selected examples with inspectable content and redaction policy. Keep detector labels separate from answer-quality targets.
- Keep cohort calculations internal until a second consumer establishes a useful public interface.
- Keep optimization explicit and budgeted, with held-out cases protected.
- Model-backed scanners require a separate scope decision.
Dependencies and remaining acceptance
- #41 and #52 are complete; they no longer block #43. Its two domain problems and reviewed validation cases still need selection and validation.
- #44 save/reopen is complete. The remaining report consumer must agree with the app, and performance decisions must follow measured profiling.
- #42 uses the completed resource and reviewed-example contracts. Pairing/scorer design still needs public vitals fixtures; incompatible scorers and unmatched cases must remain explicit.
- #45 covers first use only. Comparison and custom-scanner recipes belong to #42 and #43.
- Graft #91 tracks migration or retirement of the obsolete Graft calls in the Tempest fixture regeneration script. Existing saved fixtures do not prove current producer compatibility.
Maintenance standard
Remove writing, comments, tests, and helpers that add maintenance without explaining or protecting useful behavior. Every deletion or replacement needs a reason; line reductions and assertion counts are not targets.
Open questions
- Which recurring problem can a second R user identify and explain in a maintained app?
- Which pairing keys and scorer versions support a valid matched comparison?
- Which two domain-specific detectors justify the extension interface?
- Does a supported public shinychat snapshot add useful evidence beyond ellmer? Record the version-specific answer in #9.
Deferred
Generic orchestration, live replay, a telemetry backend, automatic production-to-training pipelines, composite health scores, and a general multi-agent graph.
Application diagnostics direction records durable design decisions. Acceptance and verification remain in the linked delivery issues. Earlier roadmap ordering is superseded by the delivered work recorded above.
- Dominant language
- R
- Stars
- 1
- Forks
- 0
- Avg merge
- 9h 3m
- Merged PRs (30d)
- 28
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JamesHWade/scans
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 38/100
JamesHWade/scans#90 ·
Maintainers usually reply within 1 day
-
documentation enhancement ready-for-human wayfinder:task
Difficulty 4/5 3-5 days Newbie friendliness 57/100
JamesHWade/scans#45 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement needs-triage wayfinder:task
Difficulty 5/5 Over a week Newbie friendliness 30/100
JamesHWade/scans#44 ·
Maintainers usually reply within 1 day
-
enhancement needs-triage wayfinder:task
Difficulty 5/5 Over a week Newbie friendliness 25/100
JamesHWade/scans#43 ·
Maintainers usually reply within 1 day
-
enhancement needs-triage wayfinder:task
Difficulty 5/5 Over a week Newbie friendliness 35/100
JamesHWade/scans#42 ·
Maintainers usually reply within 1 day
All issues in JamesHWade/scans
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug dependencies R
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
JamesHWade/graft#142 ·
Maintainers usually reply within 1 day