RFC: optional repo URL and conversation/range metadata #17
+184
−14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR proposes backwards-compatible (optional) extensions and clarifications to Agent Trace to improve interoperability across producers/consumers.
Context
We’re engineers at Mobb. We maintain Tracy, a VS Code/Cursor tracing implementation
We want to contribute implementation-grounded feedback so Agent Trace can represent common, high-signal attribution data (multi-tool provenance, modality, per-turn correlation) without forcing everything into vendor-specific
metadata.Scope Alignment
These changes align with Agent Trace’s goals (interoperability, granularity, extensibility, human- and agent-readable) and do not address the RFC non-goals (ownership/copyright, training data provenance, quality assessment, UI requirements).
This PR does not propose any storage requirement or capture/discovery protocol.
Proposed Changes
Schema updates (all optional; backwards-compatible)
vcs.repository_url(optional) to disambiguatevcs.revisionoutside of repo context.conversation.tool(optional override ofTraceRecord.tool)conversation.kind(optional modality string; examples includechat,tab_autocomplete,inline_edit,agent_action,human_typing)conversation.ids(optional opaque correlation IDs)range.ids(optional opaque IDs) for per-range linkage to a specific turn/tool call/message.tool.versionoptional.Spec guidance/clarifications
content_hashformat<algorithm>:<digest>with asha256baseline and LF normalization; hash the final recorded content at the recorded revision (after post-processing that’s part of the revision).vcs; final traces should includevcs.mixedis heuristic (no universal threshold) and can be detailed viametadata.related.typevalues when applicable (e.g.,transcript,prompt_artifact,tool_calls,diff_artifact,inference_artifact).conversation.urlandrelated[].Reference implementation
vcs.repository_urlfromremote.origin.urlwhen available.versionto0.1.0(previously1.0).Compatibility
All new fields are optional; existing records remain valid, and consumers can ignore unknown fields.
Feedback
We expect to see different implementations in open source. This may influence the spec in the future, and we are open to feedback.