[Bounty $3k] Add schema version metadata to analytics dataset exports#3501
Open
Karry2019web wants to merge 1 commit into
Open
[Bounty $3k] Add schema version metadata to analytics dataset exports#3501Karry2019web wants to merge 1 commit into
Karry2019web wants to merge 1 commit into
Conversation
…ration-agent#3498) Add SCHEMA_VERSION, FIELD_DICTIONARY, and apply_export_metadata() to wrap all exported data with schema version, generation timestamp, and field definitions. - MetricsCollector.snapshot() now returns schema-versioned export - AgentExecutor._run_execution() wraps results with schema metadata - validate_schema_version() allows consumers to reject unsupported versions - 15+ deterministic tests covering metadata presence, validation, and rejection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Add schema version metadata to all analytics exports (metrics snapshots and execution results).
Changes
SCHEMA_VERSION,FIELD_DICTIONARY,apply_export_metadata(), andvalidate_schema_version()utility functions.MetricsCollector.snapshot()now wraps raw data with schema version, generation timestamp, and field definitions._run_execution()wraps execution results withapply_export_metadata()so downstream consumers receive versioned, self-describing data.Acceptance Criteria
validate_schema_version()Closes #3498