Skip to content

orders: target run feedback and record creators - #3012

Open
santoshkumarradha wants to merge 1 commit into
devfrom
eng/afi-orders
Open

santoshkumarradha wants to merge 1 commit into
devfrom
eng/afi-orders

Conversation

@santoshkumarradha

Copy link
Copy Markdown
Member

Summary

  • orders.change can name a finished run when resetting trust to asks first. The engine validates the run against the order and preserves its outcome and any pending ask. A trust edit without a run behaves as before.
  • New local orders can record created_by. Existing orders with unknown creators omit the field. Organization workstream orders already carry the authenticated creator from their server.

Evidence

  • The run feedback RPC test rejected the old behavior that accepted a waiting run. It now verifies that an earlier finished run can reset trust while its outcome and the waiting ask remain intact.
  • The creator RPC test failed before attribution was stored. It now verifies the create and list replies and confirms legacy orders stay unattributed. The chat and crew tests also check attribution through the proposal and projection.
  • make build, the focused tests, and make pr-ready passed. Two unrelated command tests passed on the gate’s focused reruns.

Merge risk

The wire changes are additive and reversible. The scope is local order attribution and feedback on finished runs.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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