Skip to content

[feature] Gate ATS execution on exact Agent and ATSv2 contract parity #203

Open

Description

@AetherAI3

Problem

The TypeScript validators and mirrored Python fixtures establish shape-level agreement, but there is no executable CI gate for the Agent to ATSv2 native translation used by an order. The spec says their native vocabularies differ. A matching JSON example alone cannot prove safe account, amount, approval, or retry semantics.

Agent deliverable

  • Add one reproducible cross-repository harness pinned to exact Agent and ATSv2 revisions. Run the same canonical vectors through both languages and the actual gateway translation.
  • Cover connector capability, redacted account binding, delegated grant, model proposal v2, equity intent, review, approval, execution receipt, runtime capability, strategy activation, and agent-browser-ats-order/1 calls/results.
  • Refuse unknown fields, wrong units/environment/generation, unsafe label or ticker, float monetary values, replayed approval, and an ambiguous result marked retryable. Version any changed wire; do not silently widen /1.
  • Keep the current no-order-tool boundary until later gated issues intentionally replace it.

Acceptance

CI fails on a one-field schema, canonical digest, enum, unit, or refusal drift in either language. A single command runs the pinned Node/Python corpus at exact heads, prints the revisions and fixture digests, and proves no order tool is registered.

Evidence and dependency

See docs/specs/2026-09-23-ats-paper-live-execution.md G0 and docs/specs/2026-09-23-ats-agent-browser-remaining-gates-v2.md G0. Current validators and fixtures are in src/core/ats_contracts, test/ats_contracts*.test.ts, and test/fixtures; test/ats_no_order_tool.test.ts enforces the current boundary. Requires a companion ATSv2 parity change before this gate can pass.

Activity

  1. added
    enhancement
    ats
    on Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    atsenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions