Repository navigation
Conversation
…stale prior readings ignored; segment-only handoff brief (GSTA-167) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Contributor
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.
Stacked on #3620. Part of GSTA-167 / GST-134. Draft: it folds into one PR with #3625 once #3620 and #3621 land, so /ship runs once.
What changed
check --returned,settle --reading);--finishor a step change settles withUNMEASURED:and teaches nothing. A step's sample excludes the dispatches inside it, so the parent's own calls stay with the step. The budget section asks for one role perDISPATCH:line.--prior-readingolder than the run's last reading is ignored (CALL_UNKNOWN:,call=unknown), and the meter read happens inside the budget command's own program, never as its own call.Why
Replays on gstack-evals #36 and #34: a six-reader batch taught a 2.041 factor and priced the Red Team at 15.17M (false STOP, 14.4M of sub-cap unused); a Red Team interval covering the child's own review taught 1.818; a six-call-old prior reading produced
call=1068386and a falseCONTEXT_HIGH; the child made 11 meter-only calls at ~286k each.Tests
test/ship-budget-reader-drift.test.ts,test/ship-handoff-brief.test.ts(13 new, 11 failed first). Two old-measurement assertions inship-budget-projection.test.tsand onesettleinship-budget.test.tsmove to the new measurement contract.