Skip to content

feat(accounting): workflow invocation accounting contract (G-A2.2b1) - #194

Merged
shoedog merged 1 commit into
mainfrom
feat/accounting-workflow-contract
Oct 21, 2026
Merged

shoedog merged 1 commit into
mainfrom
feat/accounting-workflow-contract

Conversation

@shoedog

@shoedog shoedog commented Oct 21, 2026

Copy link
Copy Markdown
Owner

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).

  • New 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.
  • Shared fixtures bin/a2a-bridge/tests/accounting/workflow_support.rs and contract tests accounting_workflow_contract.rs.
  • Activates no workflow caller; existing behavior unchanged.

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

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
@shoedog
shoedog merged commit 0ca4851 into main Oct 21, 2026
9 checks passed
@shoedog
shoedog deleted the feat/accounting-workflow-contract branch October 21, 2026 04:15
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant