Add bounded shared-search observability - #224
Merged
Merged
Conversation
8 tasks
chaoz23
force-pushed
the
agent/long-run-observability-followup
branch
from
August 21, 2026 21:50
e919094 to
dcd8128
Compare
chaoz23
changed the base branch from
agent/pilot-finalization-followup
to
main
August 21, 2026 21:50
chaoz23
force-pushed
the
agent/long-run-observability-followup
branch
from
August 22, 2026 02:55
dcd8128 to
c4b584f
Compare
chaoz23
marked this pull request as ready for review
August 23, 2026 01:51
This was referenced Aug 25, 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.
Why
Long shared-search runs currently expose a final retained-memory high water mark, but not a bounded history of what the engine retained or which kinds of author-relevant evidence each interval produced. That makes long-run diagnosis and later deterministic policy work guesswork.
This is a deliberately partial implementation of #216. Phase 0 corrective PR #222 and the bounded checkpoint prerequisite in #223 are merged, and this draft is restacked directly on current
main. It adds an observation ledger; it does not activate an allocation or stopping policy.What changed
ResourceSampleV1samples at a deterministic transition cadence and terminationrun_end, independent of stderr progress mode, while carrying forward only deterministic logical-accounting bytes for comparisonProcess memory remains live observational data and is excluded from deterministic checkpoint/search identity.
Deliberate partial scope
Issue #216 remains open; this PR covers only the bounded observation-ledger slice. It defers:
Verification
mainlock reported 0 vulnerabilitiesc4b584fin runs 32547578316 and 32547581083c4b584fon current mainf5b051cRelated: #215, #216.