meter/v1 + governance/v1: budget response fields and habit confidence hints#57
Merged
haasonsaas merged 1 commit intomainfrom Apr 14, 2026
Merged
Conversation
…d habit confidence hints meter/v1: IngestWideEventResponse now includes budget_exceeded and budget_message so callers know if a wide event pushed them over budget. Supports the budget enforcement work in evalops/meter#46 and #49. governance/v1: ActionEvaluation now includes habit_confidence and habit_observation_count so callers can show trust trajectory to humans (e.g. "94% confidence, 2 more approvals until auto-approve"). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PR SummaryLow Risk Overview
Reviewed by Cursor Bugbot for commit 46e38b1. Bugbot is set up for automated code reviews on this repo. Configure here. |
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 contract additions that support this week's integration work:
meter/v1:
IngestWideEventResponsegainsbudget_exceeded(bool) andbudget_message(string) so callers learn immediately if a wide event pushed them over budget. Supports evalops/meter#46 and #49.governance/v1:
ActionEvaluationgainshabit_confidence(float) andhabit_observation_count(int32) so callers can surface trust trajectory to humans — "94% confidence, 2 more approvals until auto-approve." Links to the approvals auto-approve work (evalops/approvals#15, proto#56).Both are additive wire-compatible changes. All bindings regenerated (Go, Python, TypeScript).