Repository navigation
feat(accounting): workflow invocation accounting contract (G-A2.2b1) - #194
Merged
Merged
Conversation
G-A2.2b1. Adds crates/bridge-workflow/src/accounting.rs: explicit workflow accounting ownership binding the accounting service and AttemptIdentity, independent of observers, heartbeat keys and telemetry, reusing slice a's AccountingSelectionV1 / PreparedAccountingTurnV1 / AccountingFailureV1. Adds shared workflow test fixtures and contract tests. Activates no workflow caller (b2 wires the executor). Reviewed by gpt-6-astra (APPROVE, round 1). Local verification: fmt, clippy -D warnings and tests for bridge-workflow and a2a-bridge on macOS. New-module contract only, so there is no pre-change behavior to fail against. CI runs the full workspace. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017izEynabPeSUBT573AtvaZ
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
G-A2.2b1 — first sub-slice of the re-scoped workflow accounting (b1 contract → b2 executor → b3 served/detached/batch → b4 local CLI activation; owner-trimmed, the former b5 construction matrix was dropped).
crates/bridge-workflow/src/accounting.rs: explicit workflow accounting ownership (accounting service +AttemptIdentity), independent of observers/heartbeat/telemetry; reuses slice a's selection/preparation/composite-failure types.bin/a2a-bridge/tests/accounting/workflow_support.rsand contract testsaccounting_workflow_contract.rs.Review: gpt-6-astra APPROVE in round 1.
Verification: macOS fmt, clippy
-D warnings, tests for bridge-workflow and a2a-bridge (0 failed). New-module contract, so there is no pre-change behavior to fail against. CI runs the full workspace.Size: +528 lines, 4 files.
🤖 Generated with Claude Code
https://claude.ai/code/session_017izEynabPeSUBT573AtvaZ