Skip to content

Implementation guide ​

  1. Updated 11 October 2026. The module contract is Module Protocol 1 (contracts/module/protocol.yaml) with the accepted operation shape (contracts/module/operations.json): the module implements product.search, product.get, product.list and product.apply on price; the API keeps the write ledger and reconciliation and executes approved changes with a background worker (PLAN.md, iteration 6). REST 1.0 and gateway-v2 were not implemented and are superseded.

  2. Build the module and API adapter against the same contract. Artem owns PHP/module; Yevhen owns API, MCP, app and Agentfy integration.

  3. Prove connection and read-only catalog access before enabling approved writes. Test isolation, revocation, Pause and delegated user authority.

  4. Add the base-price operation with exact approval, conflict detection, durable outcome and recovery. Unknown outcomes must not be reported as success.

Architecture · Agentfy · Module Protocol 1 · Plan