actor.id must be a 15-char user id (stock_ledger.created_by is a relation to users; a non-user id left the cost patched but unaudited). Each updates[i].id is validated, actor.name defaults to the actor id, and the Giellie prompt now says to pass both selling_price and markup on create and to read the item before a partial price change. Adds tests for null / numeric-string prices and the explicit markup:0 default-markup behaviour. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| FEATURE-REQUESTS.md | ||
| po-agent-workflow.test.ts | ||
| route.test.ts | ||
| route.ts | ||