Repository navigation
Description
Problem
The model-order-proposal/2 validator exists only as a contract; ATS chat has no authenticated path from a managed model turn to ATSv2 target/grant/risk review. The model must not choose the broker account, environment, grant, operator, request ID, or approval.
Agent deliverable
- Enroll the actual Agent device/client with ATSv2 for the verified Cloud subject and agent. Show masked target, environment, capability, grant status/revoke, and binding generation through a separate operator flow; credentials stay in ATSv2 custody. Empty/revoked grants permit no execution.
- Register a new versioned proposal tool after the E1 gate. Accept only the closed model-order-proposal/2 shape and map it to server-owned client, target, account, mode, grant, and evidence IDs at the authenticated gateway. Dedupe model tool calls separately from ATS request idempotency.
- Ask ATSv2 for preview only: native risk, quote, grant, and account checks write an immutable expiring preview/reservation. Return a same-DM status and show an authenticated paper review card with exact masked account, symbol, side, size, type/price rule, worst-case exposure, strategy/evidence age, grant/adapter identity, expiry, and Approve once/Reject controls.
- Keep approval outside model tools. A chat acknowledgment, page text, saved preference, or policy receipt cannot approve or submit. Update the no-order-tool test only for this reviewed proposal boundary; retain a negative assertion against model-accessible commit/cancel.
Acceptance
A same-DM model turn creates one previewable proposal and zero browser or broker mutation. Wrong owner/device/account/mode, no grant, changed generation, stale quote, source drift, hostile page text, unsupported instrument, duplicate delivery, and expired preview refuse safely. One pending card per request survives restart and remains visible to its owner.
Evidence and dependency
src/core/ats_contracts/proposal.ts has the strict /2 shape; test/ats_no_order_tool.test.ts currently prevents imports outside contract code. See docs/specs/2026-09-23-ats-paper-live-execution.md G3-G4 and docs/specs/2026-09-23-ats-agent-browser-remaining-gates-v2.md G3. Depends on parity, E1, native activation/evidence, and companion ATSv2 target/grant/review services.
Activity