Validate consensus summaries, enforce replay/keys, add experiments/tools/tests#66
Open
pdxvoiceteacher wants to merge 1 commit into
Open
Validate consensus summaries, enforce replay/keys, add experiments/tools/tests#66pdxvoiceteacher wants to merge 1 commit into
pdxvoiceteacher wants to merge 1 commit into
Conversation
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.
Motivation
Description
tools/telemetry/ingest_submission.pyincludingvalidate_consensus_summary,inspect_consensus_key_id,_bundle_hash,_check_replay_window,is_consensus_v2_expired, known/revoked key lists, a 24hREPLAY_WINDOW, and artifact boundary inspection that ignorescognition_artifacts.uccruntime behavior inucc/src/ucc/core.pyto populatecontext["metrics"]fromingest_jsoninput and to defaultsections_keyforcoherence_auditsteps.tests/test_consensus_schema_routing.py,tests/test_ingest_consensus_smoke.py, andtests/test_ingest_ignores_cognition_artifacts.pyplus multiple consensus fixture JSON files.experiments/*modules and inputs,tools/telemetry/generate_lambda_spike.py,tools/telemetry/demo_no_teleport.py, new example submissionexamples/submission_lambda_spikewith artifactdrift_series.json, and ucc taskucc/tasks/experiments/lambda_spike_task.json..github/workflows/ingest_smoke.ymlto install test deps and run the new consensus/ingest tests; cleaned minor.gitignoreand normalized example JSON formatting.Testing
python -m pytest -q tests/test_consensus_schema_routing.py tests/test_ingest_consensus_smoke.py tests/test_ingest_ignores_cognition_artifacts.pyand they passed.Codex Task