Repository navigation
v0.12.0
Human pick and approve: the person at the keyboard picks the store and approves the total, through portage itself, whether they're at a terminal or an agent is relaying their answer. Under the default policy, buy --yes no longer buys without an approved quote.
- portage-cli 0.9.0 delivers Phases 1-3 of
docs/plans/human-pick-and-approve.md.- Offer refs. Each
findoffer carries anoffer_ref, and each search asearch_id, both saved in history.comparesaves its offers the same way.portage buy --offer REFbuys from a saved offer. - Quotes. A
buy --dry-runthat priced a checkout saves a quote and reportsquote_id.buy --quote QUOTE_ID --yesbuys exactly that quote, capped at the quoted total. If the real checkout costs more, it refuses withquote_changedand charges nothing. Each quote is used once. portage pickreturnsneeds_pickwithchoices[], plus a "Compare an offer across stores" choice.--choose REFrelays an answer,--compare REFcompares first, and at a terminal it asks on/dev/tty.portage approve QUOTE_IDreturnsneeds_approvalwith a summary of the order.--relayed-yesrecords an agent-relayed yes, and a yes typed at a terminal recordsperson.--via auto|tty|agentpicks who is asked.--view REFandv Nat a prompt open the product page, but only on the offer's own store host.policy set --require-approval person|any|off, defaultany. Lowering it needs a yes typed at a terminal. It raises the bar against an agent but isn't a hard guarantee: a process with a shell can edit the policy or quote files.- Upgrade note. Under the default
any, abuy --yeswithout an approved--quotedry-runs and returnsneeds_approvalinstead of buying.portage policy set --require-approval off, run from a terminal, restores the old behaviour.
- Offer refs. Each
buyplugin 0.7.1. The skill's steps 3 and 5 useportage pickandportage approve, and it namesportage-cli0.9.0 as the release that ships them.references/outcomes.mdcovers the new outcomes and exit codes.- Docs.
docs/api/cli-json.md,docs/agentic-flow.md,docs/skills/buy.md,docs/cli-usage-tutorial.mdand both READMEs cover pick, approve, quotes and the approval policy.
The docs-only notes in portage-ucp, portage-ucp-client and portage-ucp-webmcp stay unreleased: no code changed there.