Roadmap: build trajectory diagnostics for R agents

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
r
Domain
ai, data

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

enhancement ready-for-human wayfinder:map

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

  1. Complete one deployed-application investigation with another R user (#39), coordinating the independent fresh-session onboarding observation in #45.
  2. Deliver the report consumer and measured 10,000-trajectory profiling remaining in #44.
  3. Settle the pairing/scorer contract and implement matched comparisons in #42.
  4. 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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JamesHWade/scans

All issues in JamesHWade/scans

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.