Repository navigation
Description
Summary
The current documentation describes the individual pieces of rollout evidence, but it does not provide a clear end-to-end explanation of how they work together:
- A Gym Model Server captures model requests and responses as
ng_model_call_capture. - An agent harness independently emits
ng_agent_observations. - Rollout collection correlates those sources and projects them into the normalized
ng_trajectory. ng_trajectoryis then consumed by features such as rollout health checks and performance summaries.
The information needed to reconstruct this flow is spread across multiple pages, and some of it is stale or located under an unexpected section. This makes the trajectory capability matrix difficult to interpret and leaves users unsure which feature to enable, which process produces each attachment, and which artifact should be treated as authoritative.
Related documentation
- Trajectory capability matrix
- Model-call capture
- Rollout health checks
- OpenTelemetry observability overview
nemo_gym.rollout_observabilityAPI reference
Issues
1. There is no conceptual overview of the complete evidence pipeline
The capability matrix begins by saying that ng_trajectory combines model-call capture and agent observations, but it does not explain where each source is produced or when the join occurs. The model-call capture page contains parts of this explanation, while the rollout-health page gives the clearest statement that ng_trajectory is the normalized source consumed downstream.
As a result, a reader must infer the architecture from several pages:
Gym Model Server ──> ng_model_call_capture ──┐
├─> correlation/projection ──> ng_trajectory
Agent harness ─────> ng_agent_observations ──┘
Why this matters:
- Users cannot easily determine which process must be instrumented.
- Custom-agent authors do not get a single contract to implement.
- It is unclear whether source attachments or
ng_trajectoryare authoritative for downstream analysis. - Failure and partial-evidence behavior is hard to understand without reading the health-check documentation.
2. Agent observations are buried inside the model-call capture page
ng_agent_observations is independent of model-call capture, but its only narrative explanation appears under Agent observations on the Model-call capture page in the Model Server section.
That location implies agent observations are produced by the model server or are a subtype of capture. In reality, they are emitted by agent integrations and can include model-visible conversation history, tool-call timing, compaction events, subagent relationships, and sandbox evidence that the model-server boundary cannot observe.
Why this matters:
- Readers looking under Agents or Evaluation are unlikely to find the explanation.
- The information architecture obscures the different trust and observation boundaries.
- Agent implementers may incorrectly assume that routing calls through a Gym Model Server is sufficient to obtain tool and sandbox evidence.
3. The agent-observation coverage statement is stale
The model-call capture page currently says:
Currently, only
claude_code_agentemitsng_agent_observations.
The capability matrix and current implementations show observation support for additional producers, including Hermes, OpenClaw, OpenCode, the sandboxed OpenCode path, and Pi.
Why this matters:
- The narrative guide contradicts the reference matrix.
- Users may avoid supported agents based on outdated guidance.
- Rapidly changing per-agent coverage is likely to drift again if maintained independently in prose and in the matrix.
4. The agent coverage matrix is difficult to interpret and maintain
The matrix is useful in principle, but its current structure makes the coverage claims difficult for users to interpret and difficult for maintainers to keep accurate.
From a usability perspective:
- The C1–C7 column names require readers to repeatedly consult the acceptance-criteria list.
V,O, andXcompress important configuration and path-specific qualifications into single symbols.- The table mixes capabilities provided by model-server capture with capabilities that require agent-side or executor-side observations.
- Important caveats appear after the table, so readers may initially interpret
Vas unconditional support. - The page attempts to serve as both a conceptual introduction and a detailed implementation-status reference.
From a maintenance perspective, the page does not state:
- when the entries were last validated;
- whether they are generated, test-derived, or manually maintained;
- which agent configuration and execution path was tested; or
- who owns updating each row as integrations change.
The stale statement that only claude_code_agent emits ng_agent_observations, discussed above, demonstrates that independently maintained coverage claims have already drifted.
Why this matters:
- Users may select an agent based on coverage that does not apply to their execution path.
- A large manually maintained matrix will become progressively less trustworthy as agents evolve.
- A stale support matrix is potentially more misleading than having no matrix.
- The current table may be better suited to engineering tracking unless its claims can be simplified, qualified, and validated consistently.
5. There is no complete, joined artifact example
The model-call capture page includes examples of ng_model_call_capture, a raw CaptureStore record, and ng_perf. The API reference lists the trajectory model fields. Neither page shows one compact example containing:
- an agent invocation;
- a model call;
- the reference that joins the call to the invocation or turn;
- a tool call and its model-visible output;
- an observation gap; and
- the resulting
ng_trajectory.
Why this matters:
- Field-level API documentation does not demonstrate relationships between records.
- Users cannot readily distinguish capture identity, invocation identity, tool-call identity, and rollout identity.
- Custom integrations lack a concrete example against which to validate output.
6. Correlation and projection behavior is under-explained
The model-call capture page states that observations can join to calls by model_call_id or the exact (model_ref, response_id) pair, but the broader lifecycle is not explicit:
- which component performs the join;
- when
ng_trajectoryis projected; - how concurrent model calls are handled;
- what happens to unmatched, ambiguous, or conflicting references;
- when request and response payloads remain in source attachments; and
- which gaps indicate missing evidence versus contradictory evidence.
The rollout-health page documents some gap semantics, but only in the context of health verdicts.
Why this matters:
- Consumers may guess call ownership from timestamps or list order, which the implementation intentionally avoids.
- Missing evidence can be confused with evidence of failure.
- Users may depend on payload retention behavior that changes after successful projection.
7. “Observability” refers to two independent feature families
The OpenTelemetry documentation uses “observability” for distributed traces, metrics, and logs configured through telemetry.enabled or NEMO_GYM_OTEL_*.
Rollout evidence uses observability_enabled and model_call_capture_dir to enable capture and trajectory-related artifacts. These controls are independent, but the pages do not prominently distinguish them or cross-link to each other.
Why this matters:
- A user can reasonably expect
observability_enabled: trueto enable the documented OpenTelemetry feature. - Enabling OpenTelemetry does not necessarily produce persisted model-call or agent evidence.
- Search results for “Gym observability” lead to two different systems without a shared terminology note.
8. Navigation is organized by implementation boundary rather than user task
Relevant information is currently split across:
- Model Server for capture configuration;
- Reference for producer coverage;
- Evaluation for health-check consumption;
- API reference for schemas; and
- Observability for OpenTelemetry.
There is no task-oriented route for “collect and inspect a complete rollout trajectory” or “add trajectory evidence to a custom agent.”
Why this matters:
- Each individual page is locally reasonable, but the feature is hard to discover end to end.
- The most precise explanation of
ng_trajectorybeing the downstream source of truth appears on the health-check page, which users may never visit.
9. Minor presentation issues reduce confidence
The rendered capability page repeats the “Trajectory capability matrix” heading. The page also introduces internal attachment names immediately, without first defining “model-call evidence,” “agent observation,” and “trajectory” in user-facing terms.
These are small issues, but they reinforce the impression that the page is an implementation-status artifact rather than finished user documentation.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
feat(docs): observability bug, 2891 (NVIDIA-NeMo#3360)