Runtime ladder: add the telemetry_dropped reason and drop internal references - #394
Merged
Merged
Conversation
…ferences Adds `telemetry_dropped` to RUNTIME_REASONS: the agent discarded its own buffered telemetry during the window, so the events that would have shown the code running may never have arrived. It is a fact about the monitored host, distinct from `write_shed`, which is the platform shedding work. No behaviour changes. RUNTIME_REASONS is a reference list rather than a validator — an unrecognized reason is already returned verbatim, never dropped — so the SDK did not break when the backend added the token. The guard test that pins the exact list is what turns the gap in what we can EXPLAIN into a build failure, and it now records that this list has drifted twice. Also removes references to internal repositories, pull requests, issue trackers and planning documents from the runtime-ladder code, tests and user documentation. This is a public repository, and those references pointed readers at material they cannot open. The rules they cited are restated in plain terms instead. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Author
Self-review (this repository does not use an automated reviewer)Reviewed the single commit on the branch head from a clean checkout.
Not in scope and not changed here: two older mentions in |
lcbill
approved these changes
Sep 22, 2026
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.
Two changes to the runtime-package ladder added in #392.
1. The
telemetry_droppedreasonThe backend added a verdict reason after #392 shipped:
telemetry_droppedmeans the agent discarded some of its own buffered telemetry during the window (a load spike on the host), so the process and module events that would have shown the code running may never have arrived. It is a fact about the monitored host, and deliberately distinct fromwrite_shed, which is the platform shedding work — the two have different remediations.No behaviour change.
RUNTIME_REASONSis a reference list, not a validator: an unrecognized reason is already returned verbatim and never dropped, so the SDK did not break when the token appeared. The gap was in what it could explain, and the guard test that pins the exact list is what turns that gap into a build failure. Its docstring now records that the list has drifted twice.2. Internal references removed
This is a public repository. The runtime-ladder code, tests and user documentation from #392 cited internal repositories, pull requests, issue trackers and planning documents that readers cannot open. Those references are removed and the rules they cited are restated in plain terms — for example, "decode legacy
dormantasnot_observedbut never emit it" and "a runtime negative is only reported on a complete window".doc/code-security/runtime-evidence.mdin particular ended with a block of links to internal pages; that block is gone.Wire shape
Unchanged. No envelope field, row field or status token is added, removed or renamed.
Tests
tests/unit/test_sdk_runtime_package_ladder.pyandtests/unit/test_cli_cloudsec.py: 262 passed locally.🤖 Generated with Claude Code