Skip to content

meter/v1 + governance/v1: budget response fields and habit confidence hints#57

Merged
haasonsaas merged 1 commit intomainfrom
jh/proto-budget-and-governance-hints
Apr 14, 2026
Merged

meter/v1 + governance/v1: budget response fields and habit confidence hints#57
haasonsaas merged 1 commit intomainfrom
jh/proto-budget-and-governance-hints

Conversation

@haasonsaas
Copy link
Copy Markdown
Contributor

Two contract additions that support this week's integration work:

meter/v1: IngestWideEventResponse gains budget_exceeded (bool) and budget_message (string) so callers learn immediately if a wide event pushed them over budget. Supports evalops/meter#46 and #49.

governance/v1: ActionEvaluation gains habit_confidence (float) and habit_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).

…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>
@cursor
Copy link
Copy Markdown

cursor bot commented Apr 14, 2026

PR Summary

Low Risk
Additive protobuf contract changes only, but they affect multiple generated client SDKs and any callers that deserialize these responses.

Overview
Adds two wire-compatible protobuf fields to support richer client feedback.

meter.v1.IngestWideEventResponse now returns budget_exceeded and budget_message so ingest callers can immediately see whether the event pushed them over budget.

governance.v1.ActionEvaluation now includes habit_confidence and habit_observation_count to let clients surface approval-habit/trust trajectory hints. All Go/Python/TypeScript generated bindings are regenerated accordingly.

Reviewed by Cursor Bugbot for commit 46e38b1. Bugbot is set up for automated code reviews on this repo. Configure here.

@haasonsaas haasonsaas merged commit 4a41615 into main Apr 14, 2026
9 checks passed
@haasonsaas haasonsaas deleted the jh/proto-budget-and-governance-hints branch April 14, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant